diff --git a/develop/assets/FileSaver.min-4a8e18f2.js b/develop/assets/FileSaver.min-d51f946c.js similarity index 97% rename from develop/assets/FileSaver.min-4a8e18f2.js rename to develop/assets/FileSaver.min-d51f946c.js index 37cd0d1..233f172 100644 --- a/develop/assets/FileSaver.min-4a8e18f2.js +++ b/develop/assets/FileSaver.min-d51f946c.js @@ -1 +1 @@ -import{g as O,c as d}from"./index-cabaae6c.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-42d3d144.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/develop/assets/index-42d3d144.js b/develop/assets/index-42d3d144.js new file mode 100644 index 0000000..dbd6b5c --- /dev/null +++ b/develop/assets/index-42d3d144.js @@ -0,0 +1,200 @@ +var $x=Object.defineProperty;var Qx=(n,e,t)=>e in n?$x(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var _h=(n,e,t)=>(Qx(n,typeof e!="symbol"?e+"":e,t),t);import*as wx from"https://cdn.jsdelivr.net/npm/minizinc/dist/minizinc.mjs";import*as yx 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 hd=n=>n;function vx(n,e){for(const t in e)n[t]=e[t];return n}function Vb(n){return n()}function om(){return Object.create(null)}function Nt(n){n.forEach(Vb)}function Dc(n){return typeof n=="function"}function Ri(n,e){return n!=n?e==e:n!==e||n&&typeof n=="object"||typeof n=="function"}let Sf;function am(n,e){return n===e?!0:(Sf||(Sf=document.createElement("a")),Sf.href=e,n===Sf.href)}function Px(n){return Object.keys(n).length===0}function an(n,e,t,i){if(n){const r=qb(n,e,t,i);return n[0](r)}}function qb(n,e,t,i){return n[1]&&i?vx(t.ctx.slice(),n[1](i(e))):t.ctx}function fn(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(),Od=Eb?n=>requestAnimationFrame(n):We;const kl=new Set;function Db(n){kl.forEach(e=>{e.c(n)||(kl.delete(e),e.f())}),kl.size!==0&&Od(Db)}function zb(n){let e;return kl.size===0&&Od(Db),{promise:new Promise(t=>{kl.add(e={c:n,f:t})}),abort(){kl.delete(e)}}}const kx=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function v(n,e){n.appendChild(e)}function Ib(n){if(!n)return document;const e=n.getRootNode?n.getRootNode():n.ownerDocument;return e&&e.host?e:n.ownerDocument}function _x(n){const e=k("style");return e.textContent="/* empty */",Wx(Ib(n),e),e.sheet}function Wx(n,e){return v(n.head||n,e),e.sheet}function V(n,e,t){n.insertBefore(e,t||null)}function Y(n){n.parentNode&&n.parentNode.removeChild(n)}function vi(n,e){for(let t=0;tn.removeEventListener(e,t,i)}function y(n,e,t){t==null?n.removeAttribute(e):n.getAttribute(e)!==t&&n.setAttribute(e,t)}function Mo(n){return n===""?null:+n}function xx(n){return Array.from(n.childNodes)}function Be(n,e){e=""+e,n.data!==e&&(n.data=e)}function Ni(n,e){n.value=e??""}function cm(n,e,t,i){t==null?n.style.removeProperty(e):n.style.setProperty(e,t,i?"important":"")}function Al(n,e,t){for(let i=0;ie.__value)}function le(n,e,t){n.classList.toggle(e,!!t)}function Nb(n,e,{bubbles:t=!1,cancelable:i=!1}={}){return new CustomEvent(n,{detail:e,bubbles:t,cancelable:i})}const nc=new Map;let rc=0;function Xx(n){let e=5381,t=n.length;for(;t--;)e=(e<<5)-e^n.charCodeAt(t);return e>>>0}function Tx(n,e){const t={stylesheet:_x(e),rules:{}};return nc.set(n,t),t}function cO(n,e,t,i,r,s,l,o=0){const f=16.666/i;let u=`{ +`;for(let Q=0;Q<=1;Q+=f){const _=e+(t-e)*s(Q);u+=Q*100+`%{${l(_,1-_)}} +`}const h=u+`100% {${l(t,1-t)}} +}`,O=`__svelte_${Xx(h)}_${o}`,p=Ib(n),{stylesheet:g,rules:b}=nc.get(p)||Tx(p,n);b[O]||(b[O]=!0,g.insertRule(`@keyframes ${O} ${h}`,g.cssRules.length));const $=n.style.animation||"";return n.style.animation=`${$?`${$}, `:""}${O} ${i}ms linear ${r}ms 1 both`,rc+=1,O}function Lb(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(", "),rc-=r,rc||Zx())}function Zx(){Od(()=>{rc||(nc.forEach(n=>{const{ownerNode:e}=n.stylesheet;e&&Y(e)}),nc.clear())})}function Rx(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=hd,start:f=Mb()+s,end:u=f+l,tick:h=We,css:O}=t(n,{from:e,to:r},i);let p=!0,g=!1,b;function $(){O&&(b=cO(n,0,1,l,s,o,O)),s||(g=!0)}function Q(){O&&Lb(n,b),p=!1}return zb(_=>{if(!g&&_>=f&&(g=!0),g&&_>=u&&(h(1,0),Q()),!p)return!1;if(g){const x=_-f,Z=0+1*o(x/l);h(Z,1-Z)}return!0}),$(),h(0,1),Q}function Ax(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,Ux(n,r)}}function Ux(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 Do;function Zo(n){Do=n}function Bb(){if(!Do)throw new Error("Function called outside component initialization");return Do}function zc(n){Bb().$$.on_mount.push(n)}function Fn(){const n=Bb();return(e,t,{cancelable:i=!1}={})=>{const r=n.$$.callbacks[e];if(r){const s=Nb(e,t,{cancelable:i});return r.slice().forEach(l=>{l.call(n,s)}),!s.defaultPrevented}return!0}}function hm(n,e){const t=n.$$.callbacks[e.type];t&&t.slice().forEach(i=>i.call(this,e))}const Sl=[],ui=[];let Wl=[];const uO=[],jb=Promise.resolve();let hO=!1;function Fb(){hO||(hO=!0,jb.then(Gb))}function ds(){return Fb(),jb}function ar(n){Wl.push(n)}function Ro(n){uO.push(n)}const Wh=new Set;let gl=0;function Gb(){if(gl!==0)return;const n=Do;do{try{for(;gln.indexOf(i)===-1?e.push(i):t.push(i)),t.forEach(i=>i()),Wl=e}let mo;function qx(){return mo||(mo=Promise.resolve(),mo.then(()=>{mo=null})),mo}function xh(n,e,t){n.dispatchEvent(Nb(`${e?"intro":"outro"}${t}`))}const If=new Set;let Ir;function tt(){Ir={r:0,c:[],p:Ir}}function it(){Ir.r||Nt(Ir.c),Ir=Ir.p}function D(n,e){n&&n.i&&(If.delete(n),n.i(e))}function F(n,e,t,i){if(n&&n.o){if(If.has(n))return;If.add(n),Ir.c.push(()=>{If.delete(n),i&&(t&&n.d(1),i())}),n.o(e)}else i&&i()}const Ex={duration:0};function Ql(n,e,t,i){let s=e(n,t,{direction:"both"}),l=i?0:1,o=null,f=null,u=null,h;function O(){u&&Lb(n,u)}function p(b,$){const Q=b.b-l;return $*=Math.abs(Q),{a:l,b:b.b,d:Q,duration:$,start:b.start,end:b.start+$,group:b.group}}function g(b){const{delay:$=0,duration:Q=300,easing:_=hd,tick:x=We,css:Z}=s||Ex,C={start:Mb()+$,b};b||(C.group=Ir,Ir.r+=1),"inert"in n&&(b?h!==void 0&&(n.inert=h):(h=n.inert,n.inert=!0)),o||f?f=C:(Z&&(O(),u=cO(n,l,b,Q,$,_,Z)),b&&x(0,1),o=p(C,Q),ar(()=>xh(n,b,"start")),zb(X=>{if(f&&X>f.start&&(o=p(f,Q),f=null,xh(n,o.b,"start"),Z&&(O(),u=cO(n,l,o.b,o.duration,0,_,s.css))),o){if(X>=o.end)x(l=o.b,1-l),xh(n,o.b,"end"),f||(o.b?O():--o.group.r||Nt(o.group.c)),o=null;else if(X>=o.start){const R=X-o.start;l=o.a+o.d*_(R/o.duration),x(l,1-l)}}return!!(o||f)}))}return{run(b){Dc(s)?qx().then(()=>{s=s({direction:b?"in":"out"}),g(b)}):g(b)},end(){O(),o=f=null}}}function nt(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function Mx(n,e){F(n,1,1,()=>{e.delete(n.key)})}function Dx(n,e){n.f(),Mx(n,e)}function zx(n,e,t,i,r,s,l,o,f,u,h,O){let p=n.length,g=s.length,b=p;const $={};for(;b--;)$[n[b].key]=b;const Q=[],_=new Map,x=new Map,Z=[];for(b=g;b--;){const I=O(r,s,b),q=t(I);let B=l.get(q);B?i&&Z.push(()=>B.p(I,e)):(B=u(q,I),B.c()),_.set(q,Q[b]=B),q in $&&x.set(q,Math.abs(b-$[q]))}const C=new Set,X=new Set;function R(I){D(I,1),I.m(o,h),l.set(I.key,I),h=I.first,g--}for(;p&&g;){const I=Q[g-1],q=n[p-1],B=I.key,z=q.key;I===q?(h=I.first,p--,g--):_.has(z)?!l.has(B)||C.has(B)?R(I):X.has(z)?p--:x.get(B)>x.get(z)?(X.add(B),R(I)):(C.add(z),p--):(f(q,l),p--)}for(;p--;){const I=n[p];_.has(I.key)||f(I,l)}for(;g;)R(Q[g-1]);return Nt(Z),Q}function Ao(n,e,t){const i=n.$$.props[e];i!==void 0&&(n.$$.bound[i]=t,t(n.$$.ctx[i]))}function Ve(n){n&&n.c()}function Ue(n,e,t){const{fragment:i,after_update:r}=n.$$;i&&i.m(e,t),ar(()=>{const s=n.$$.on_mount.map(Vb).filter(Dc);n.$$.on_destroy?n.$$.on_destroy.push(...s):Nt(s),n.$$.on_mount=[]}),r.forEach(ar)}function Ye(n,e){const t=n.$$;t.fragment!==null&&(Vx(t.after_update),Nt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Ix(n,e){n.$$.dirty[0]===-1&&(Sl.push(n),Fb(),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&&Ix(n,O)),p}):[],u.update(),h=!0,Nt(u.before_update),u.fragment=i?i(u.ctx):!1,e.target){if(e.hydrate){const O=xx(e.target);u.fragment&&u.fragment.l(O),O.forEach(Y)}else u.fragment&&u.fragment.c();e.intro&&D(n.$$.fragment),Ue(n,e.target,e.anchor),Gb()}Zo(f)}class Ui{constructor(){_h(this,"$$");_h(this,"$$set")}$destroy(){Ye(this,1),this.$destroy=We}$on(e,t){if(!Dc(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&&!Px(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Nx="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Nx);const Lx="modulepreload",Bx=function(n){return"/develop/"+n},Om={},dm=function(e,t,i){if(!t||t.length===0)return e();const r=document.getElementsByTagName("link");return Promise.all(t.map(s=>{if(s=Bx(s),s in Om)return;Om[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":Lx,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 mt{constructor(){}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),$r.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),$r.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 Uo(this),s=new Uo(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 Uo(this,e)}iterRange(e,t=this.length){return new Hb(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 Kb(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}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 ai(e):$r.from(ai.split(e,[]))}}class ai extends mt{constructor(e,t=jx(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 Fx(r,o,i,l);r=o+1,i++}}decompose(e,t,i,r){let s=e<=0&&t>=this.length?this:new ai(pm(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(r&1){let l=i.pop(),o=Nf(s.text,l.text.slice(),0,s.length);if(o.length<=32)i.push(new ai(o,l.length+s.length));else{let f=o.length>>1;i.push(new ai(o.slice(0,f)),new ai(o.slice(f)))}}else i.push(s)}replace(e,t,i){if(!(i instanceof ai))return super.replace(e,t,i);let r=Nf(this.text,Nf(i.text,pm(this.text,0,e)),t),s=this.length+i.length-(t-e);return r.length<=32?new ai(r,s):$r.from(ai.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=f+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 ai(i,r)),i=[],r=-1);return r>-1&&t.push(new ai(i,r)),t}}class $r 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,f=i+l.lines-1;if((t?f:o)>=e)return l.lineInner(e,t,i,r);r=o+1,i=f+1}}decompose(e,t,i,r){for(let s=0,l=0;l<=t&&s=l){let u=r&((l<=e?1:0)|(f>=t?2:0));l>=e&&f<=t&&!u?i.push(o):o.decompose(e-l,t-l,i,u)}l=f+1}}replace(e,t,i){if(i.lines=s&&t<=o){let f=l.replace(e-s,t-s,i),u=this.lines-l.lines+f.lines;if(f.lines>5-1&&f.lines>u>>5+1){let h=this.children.slice();return h[r]=f,new $r(h,this.length-(t-e)+i.length)}return super.replace(s,o,f)}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=f+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof $r))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 f=this.children[r],u=e.children[s];if(f!=u)return i+f.scanIdentical(u,t);i+=f.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 ai(g,t)}let r=Math.max(32,i>>5),s=r<<1,l=r>>1,o=[],f=0,u=-1,h=[];function O(g){let b;if(g.lines>s&&g instanceof $r)for(let $ of g.children)O($);else g.lines>l&&(f>l||!f)?(p(),o.push(g)):g instanceof ai&&f&&(b=h[h.length-1])instanceof ai&&g.lines+b.lines<=32?(f+=g.lines,u+=g.length+1,h[h.length-1]=new ai(b.text.concat(g.text),b.length+1+g.length)):(f+g.lines>r&&p(),f+=g.lines,u+=g.length+1,h.push(g))}function p(){f!=0&&(o.push(h.length==1?h[0]:$r.from(h,u)),u=-1,f=h.length=0)}for(let g of e)O(g);return p(),o.length==1?o[0]:new $r(o,t)}}mt.empty=new ai([""],0);function jx(n){let e=-1;for(let t of n)e+=t.length+1;return e}function Nf(n,e,t=0,i=1e9){for(let r=0,s=0,l=!0;s=t&&(f>i&&(o=o.slice(0,i-r)),r0?1:(e instanceof ai?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 ai?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 ai){let f=r.text[l+(t<0?-1:0)];if(this.offsets[i]+=t,f.length>Math.max(0,e))return this.value=e==0?f:t>0?f.slice(e):f.slice(0,f.length-e),this;e-=f.length}else{let f=r.children[l+(t<0?-1:0)];e>f.length?(e-=f.length,this.offsets[i]+=t):(t<0&&this.offsets[i]--,this.nodes.push(f),this.offsets.push(t>0?1:(f instanceof ai?f.text.length:f.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class Hb{constructor(e,t,i){this.value="",this.done=!1,this.cursor=new Uo(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 Kb{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()},Uo.prototype[Symbol.iterator]=Hb.prototype[Symbol.iterator]=Kb.prototype[Symbol.iterator]=function(){return this});class Fx{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 xl="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,,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(n,36):1);for(let n=1;nn)return xl[e-1]<=n;return!1}function gm(n){return n>=127462&&n<=127487}const mm=8205;function Li(n,e,t=!0,i=!0){return(t?Jb:Hx)(n,e,i)}function Jb(n,e,t){if(e==n.length)return e;e&&e$(n.charCodeAt(e))&&t$(n.charCodeAt(e-1))&&e--;let i=Xi(n,e);for(e+=Pn(i);e=0&&gm(Xi(n,l));)s++,l-=2;if(s%2==0)break;e+=2}else break}return e}function Hx(n,e,t){for(;e>0;){let i=Jb(n,e-2,t);if(i=56320&&n<57344}function t$(n){return n>=55296&&n<56320}function Xi(n,e){let t=n.charCodeAt(e);if(!t$(t)||e+1==n.length)return t;let i=n.charCodeAt(e+1);return e$(i)?(t-55296<<10)+(i-56320)+65536:t}function dd(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}function Pn(n){return n<65536?1:2}const OO=/\r\n?|\n/;var Zi=function(n){return n[n.Simple=0]="Simple",n[n.TrackDel=1]="TrackDel",n[n.TrackBefore=2]="TrackBefore",n[n.TrackAfter=3]="TrackAfter",n}(Zi||(Zi={}));class Pr{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return s+(e-r);s+=o}else{if(i!=Zi.Simple&&u>=e&&(i==Zi.TrackDel&&re||i==Zi.TrackBefore&&re))return null;if(u>e||u==e&&t<0&&!o)return e==r||t<0?s:s+f;s+=f}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 Pr(e)}static create(e){return new Pr(e)}}class Si extends Pr{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 dO(this,(t,i,r,s,l)=>e=e.replace(r,r+(i-t),l),!1),e}mapDesc(e,t=!1){return pO(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 f=r>>1;for(;i.length0&&gs(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 f(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||OO)):g:mt.empty,$=b.length;if(O==p&&$==0)return;Ol&&zi(r,O-l,-1),zi(r,p-O,$),gs(s,r,b),l=p}}return u(e),f(!o),o}static empty(e){return new Si(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 gs(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++],f=n.sections[l++];e(r,u,s,h,O),r=u,s=h}}}function pO(n,e,t,i=!1){let r=[],s=i?[]:null,l=new zo(n),o=new zo(e);for(let f=-1;;)if(l.ins==-1&&o.ins==-1){let u=Math.min(l.len,o.len);zi(r,u,-1),l.forward(u),o.forward(u)}else if(o.ins>=0&&(l.ins<0||f==l.i||l.off==0&&(o.len=0&&f=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.lenf||l.ins>=0&&l.len>f)&&(o||i.length>u),s.forward2(f),l.forward(f)}}}}class zo{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 Ns{constructor(e,t,i){this.from=e,this.to=t,this.flags=i}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let e=this.flags&3;return e==3?null:e}get goalColumn(){let e=this.flags>>5;return e==33554431?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 Ns(i,r,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return K.range(e,t);let i=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return K.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 K.range(e.anchor,e.head)}static create(e,t,i){return new Ns(e,t,i)}}class K{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:K.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 K(e.ranges.map(t=>Ns.fromJSON(t)),e.main)}static single(e,t=e){return new K([K.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?4: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?K.range(f,o):K.range(o,f))}}return new K(e,t)}}function n$(n,e){for(let t of n.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let pd=0;class ve{constructor(e,t,i,r,s){this.combine=e,this.compareInput=t,this.compare=i,this.isStatic=r,this.id=pd++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}static define(e={}){return new ve(e.combine||(t=>t),e.compareInput||((t,i)=>t===i),e.compare||(e.combine?(t,i)=>t===i:gd),!!e.static,e.enables)}of(e){return new Lf([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Lf(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Lf(e,this,2,t)}from(e,t){return t||(t=i=>i),this.compute([e],i=>t(i.field(e)))}}function gd(n,e){return n==e||n.length==e.length&&n.every((t,i)=>t===e[i])}class Lf{constructor(e,t,i,r){this.dependencies=e,this.facet=t,this.type=i,this.value=r,this.id=pd++}dynamicSlot(e){var t;let i=this.value,r=this.facet.compareInput,s=this.id,l=e[s]>>1,o=this.type==2,f=!1,u=!1,h=[];for(let O of this.dependencies)O=="doc"?f=!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(f&&p.docChanged||u&&(p.docChanged||p.selection)||gO(O,h)){let g=i(O);if(o?!Sm(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 $=lc(p,b);if(this.dependencies.every(Q=>Q instanceof ve?p.facet(Q)===O.facet(Q):Q instanceof $i?p.field(Q,!1)==O.field(Q,!1):!0)||(o?Sm(g=i(O),$,r):r(g=i(O),$)))return O.values[l]=$,0}else g=i(O);return O.values[l]=g,1}}}}function Sm(n,e,t){if(n.length!=e.length)return!1;for(let i=0;in[f.id]),r=t.map(f=>f.type),s=i.filter(f=>!(f&1)),l=n[e.id]>>1;function o(f){let u=[];for(let h=0;hi===r),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(bm).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,bm.of({field:this,create:e})]}get extension(){return this}}const Ds={lowest:4,low:3,default:2,high:1,highest:0};function So(n){return e=>new r$(e,n)}const Hs={highest:So(Ds.highest),high:So(Ds.high),default:So(Ds.default),low:So(Ds.low),lowest:So(Ds.lowest)};class r${constructor(e,t){this.inner=e,this.prec=t}}class Il{of(e){return new mO(this,e)}reconfigure(e){return Il.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class mO{constructor(e,t){this.compartment=e,this.inner=t}}class sc{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 Jx(e,t,l))p instanceof $i?r.push(p):(s[p.facet.id]||(s[p.facet.id]=[])).push(p);let o=Object.create(null),f=[],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,$=h&&h[p]||[];if(g.every(Q=>Q.type==0))if(o[b.id]=f.length<<1|1,gd($,g))f.push(i.facet(b));else{let Q=b.combine(g.map(_=>_.value));f.push(i&&b.compare(Q,i.facet(b))?i.facet(b):Q)}else{for(let Q of g)Q.type==0?(o[Q.id]=f.length<<1|1,f.push(Q.value)):(o[Q.id]=u.length<<1,u.push(_=>Q.dynamicSlot(_)));o[b.id]=u.length<<1,u.push(Q=>Kx(Q,b,g))}}let O=u.map(p=>p(o));return new sc(e,l,O,o,f,s)}}function Jx(n,e,t){let i=[[],[],[],[],[]],r=new Map;function s(l,o){let f=r.get(l);if(f!=null){if(f<=o)return;let u=i[f].indexOf(l);u>-1&&i[f].splice(u,1),l instanceof mO&&t.delete(l.compartment)}if(r.set(l,o),Array.isArray(l))for(let u of l)s(u,o);else if(l instanceof mO){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 r$)s(l.inner,l.prec);else if(l instanceof $i)i[o].push(l),l.provides&&s(l.provides,o);else if(l instanceof Lf)i[o].push(l),l.facet.extensions&&s(l.facet.extensions,Ds.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,Ds.default),i.reduce((l,o)=>l.concat(o))}function Yo(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 lc(n,e){return e&1?n.config.staticValues[e>>1]:n.values[e>>1]}const s$=ve.define(),l$=ve.define({combine:n=>n.some(e=>e),static:!0}),o$=ve.define({combine:n=>n.length?n[0]:void 0,static:!0}),a$=ve.define(),f$=ve.define(),c$=ve.define(),u$=ve.define({combine:n=>n.length?n[0]:!1});class Fr{constructor(e,t){this.type=e,this.value=t}static define(){return new e3}}class e3{of(e){return new Fr(this,e)}}class t3{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 t3(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 bi{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&&n$(i,t.newLength),s.some(o=>o.type==bi.time)||(this.annotations=s.concat(bi.time.of(Date.now())))}static create(e,t,i,r,s,l){return new bi(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(bi.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}bi.time=Fr.define();bi.userEvent=Fr.define();bi.addToHistory=Fr.define();bi.remote=Fr.define();function i3(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 bi?n=s:Array.isArray(s)&&s.length==1&&s[0]instanceof bi?n=s[0]:n=O$(e,Cl(s),!1)}return n}function r3(n){let e=n.startState,t=e.facet(c$),i=n;for(let r=t.length-1;r>=0;r--){let s=t[r](n);s&&Object.keys(s).length&&(i=h$(i,SO(e,s,n.changes.newLength),!0))}return i==n?n:bi.create(e,n.changes,n.selection,i.effects,i.annotations,i.scrollIntoView)}const s3=[];function Cl(n){return n==null?s3:Array.isArray(n)?n:[n]}var It=function(n){return n[n.Word=0]="Word",n[n.Space=1]="Space",n[n.Other=2]="Other",n}(It||(It={}));const l3=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let bO;try{bO=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function o3(n){if(bO)return bO.test(n);for(let e=0;e"€"&&(t.toUpperCase()!=t.toLowerCase()||l3.test(t)))return!0}return!1}function a3(n){return e=>{if(!/\S/.test(e))return It.Space;if(o3(e))return It.Word;for(let t=0;t-1)return It.Word;return It.Other}}class ft{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(f,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=Cl(i).concat(l.value));let s;t?s=e.startState.values.slice():(t=sc.resolve(i,r,this),s=new ft(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(o,f)=>f.reconfigure(o,this),null).values),new ft(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:K.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=Cl(i.effects);for(let o=1;ol.spec.fromJSON(o,f)))}}return ft.create({doc:e.doc,selection:K.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=sc.resolve(e.extensions||[],new Map),i=e.doc instanceof mt?e.doc:mt.of((e.doc||"").split(t.staticFacet(ft.lineSeparator)||OO)),r=e.selection?e.selection instanceof K?e.selection:K.single(e.selection.anchor,e.selection.head):K.single(0);return n$(r,i.length),t.staticFacet(l$)||(r=r.asSingle()),new ft(t,i,r,t.dynamicSlots.map(()=>null),(s,l)=>l.create(s),null)}get tabSize(){return this.facet(ft.tabSize)}get lineBreak(){return this.facet(ft.lineSeparator)||` +`}get readOnly(){return this.facet(u$)}phrase(e,...t){for(let i of this.facet(ft.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(s$))for(let l of s(this,t,i))Object.prototype.hasOwnProperty.call(l,e)&&r.push(l[e]);return r}charCategorizer(e){return a3(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 f=Li(t,l,!1);if(s(t.slice(f,l))!=It.Word)break;l=f}for(;on.length?n[0]:4});ft.lineSeparator=o$;ft.readOnly=u$;ft.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])}});ft.languageData=s$;ft.changeFilter=a$;ft.transactionFilter=f$;ft.transactionExtender=c$;Il.reconfigure=qe.define();function _r(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 js{eq(e){return this==e}range(e,t=e){return $O.create(e,t,this)}}js.prototype.startSide=js.prototype.endSide=0;js.prototype.point=!1;js.prototype.mapMode=Zi.TrackDel;let $O=class d${constructor(e,t,i){this.from=e,this.to=t,this.value=i}static create(e,t,i){return new d$(e,t,i)}};function QO(n,e){return n.from-e.from||n.value.startSide-e.value.startSide}class md{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 f=l+o>>1,u=s[f]-e||(i?this.value[f].endSide:this.value[f].startSide)-t;if(f==l)return u>=0?l:o;u>=0?o=f:l=f+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 md(r,s,i,o):null,pos:l}}}class Qt{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 Qt(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(QO)),this.isEmpty)return t.length?Qt.of(t):this;let o=new p$(this,null,-1).goto(0),f=0,u=[],h=new Qs;for(;o.value||f=0){let O=t[f++];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 Io.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return Io.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),f=$m(l,o,i),u=new bo(l,f,s),h=new bo(o,f,s);i.iterGaps((O,p,g)=>Qm(u,O,h,p,g,r)),i.empty&&i.length==0&&Qm(u,0,h,0,0,r)}static eq(e,t,i=0,r){r==null&&(r=1e9-1);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=$m(s,l),f=new bo(s,o,0).goto(i),u=new bo(l,o,0).goto(i);for(;;){if(f.to!=u.to||!wO(f.active,u.active)||f.point&&(!u.point||!f.point.eq(u.point)))return!1;if(f.to>r)return!0;f.next(),u.next()}}static spans(e,t,i,r,s=-1){let l=new bo(e,null,s).goto(t),o=t,f=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,f),f=l.openEnd(u));if(l.to>i)return f+(l.point&&l.to>i?1:0);o=l.to,l.next()}}static of(e,t=!1){let i=new Qs;for(let r of e instanceof $O?[e]:t?f3(e):e)i.add(r.from,r.to,r.value);return i.finish()}}Qt.empty=new Qt([],[],null,-1);function f3(n){if(n.length>1)for(let e=n[0],t=1;t0)return n.slice().sort(QO);e=i}return n}Qt.empty.nextLayer=Qt.empty;class Qs{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(e){this.chunks.push(new md(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}add(e,t,i){this.addInner(e,t,i)||(this.nextLayer||(this.nextLayer=new Qs)).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(Qt.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=Qt.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function $m(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 p$(l,t,i,s));return r.length==1?r[0]:new Io(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--)Ch(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--)Ch(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(),Ch(this.heap,0)}}}function Ch(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 bo{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=Io.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){bf(this.active,e),bf(this.activeTo,e),bf(this.activeRank,e),this.minActive=wm(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&&bf(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 Qm(n,e,t,i,r,s){n.goto(e),t.goto(i);let l=i+r,o=i,f=i-e;for(;;){let u=n.to+f-t.to||n.endSide-t.endSide,h=u<0?n.to+f: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))&&wO(n.activeForPoint(n.to+f),t.activeForPoint(t.to))||s.comparePoint(o,O,n.point,t.point):O>o&&!wO(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 wO(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 wm(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=Li(n,r)}return i===!0?-1:n.length}const vO="ͼ",ym=typeof Symbol>"u"?"__"+vO:Symbol.for(vO),PO=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),vm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class ws{constructor(e,t){this.rules=[];let{finish:i}=t||{};function r(l){return/^@/.test(l)?[l]:l.split(/,\s*/)}function s(l,o,f,u){let h=[],O=/^@(\w+)\b/.exec(l[0]),p=O&&O[1]=="keyframes";if(O&&o==null)return f.push(l[0]+";");for(let g in o){let b=o[g];if(/&/.test(g))s(g.split(/,\s*/).map($=>l.map(Q=>$.replace(/&/,Q))).reduce(($,Q)=>$.concat(Q)),b,f);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,$=>"-"+$.toLowerCase())+": "+b+";")}(h.length||p)&&f.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=vm[ym]||1;return vm[ym]=e+1,vO+e.toString(36)}static mount(e,t,i){let r=e[PO],s=i&&i.nonce;r?s&&r.setNonce(s):r=new c3(e,s),r.mount(Array.isArray(t)?t:[t])}}let Pm=new Map;class c3{constructor(e,t){let i=e.ownerDocument||e,r=i.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let s=Pm.get(i);if(s)return e.adoptedStyleSheets=[s.sheet,...e.adoptedStyleSheets],e[PO]=s;this.sheet=new r.CSSStyleSheet,e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets],Pm.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[PO]=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 f=0;f",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},km=typeof navigator<"u"&&/Chrome\/(\d+)/.exec(navigator.userAgent),u3=typeof navigator<"u"&&/Mac/.test(navigator.platform),h3=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),O3=u3||km&&+km[1]<57;for(var Ti=0;Ti<10;Ti++)ys[48+Ti]=ys[96+Ti]=String(Ti);for(var Ti=1;Ti<=24;Ti++)ys[Ti+111]="F"+Ti;for(var Ti=65;Ti<=90;Ti++)ys[Ti]=String.fromCharCode(Ti+32),No[Ti]=String.fromCharCode(Ti);for(var Xh in ys)No.hasOwnProperty(Xh)||(No[Xh]=ys[Xh]);function d3(n){var e=O3&&(n.ctrlKey||n.altKey||n.metaKey)||h3&&n.shiftKey&&n.key&&n.key.length==1||n.key=="Unidentified",t=!e&&n.key||(n.shiftKey?No:ys)[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 oc(n){let e;return n.nodeType==11?e=n.getSelection?n:n.ownerDocument:e=n,e.getSelection()}function kO(n,e){return e?n==e||n.contains(e.nodeType!=1?e.parentNode:e):!1}function p3(n){let e=n.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function Bf(n,e){if(!e.anchorNode)return!1;try{return kO(n,e.anchorNode)}catch{return!1}}function Lo(n){return n.nodeType==3?Fs(n,0,n.nodeValue.length).getClientRects():n.nodeType==1?n.getClientRects():[]}function ac(n,e,t,i){return t?_m(n,e,t,i,-1)||_m(n,e,t,i,1):!1}function fc(n){for(var e=0;;e++)if(n=n.previousSibling,!n)return e}function _m(n,e,t,i,r){for(;;){if(n==t&&e==i)return!0;if(e==(r<0?0:vs(n))){if(n.nodeName=="DIV")return!1;let s=n.parentNode;if(!s||s.nodeType!=1)return!1;e=fc(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?vs(n):0}else return!1}}function vs(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function Sd(n,e){let t=e?n.left:n.right;return{left:t,right:t,top:n.top,bottom:n.bottom}}function g3(n){return{left:0,right:n.innerWidth,top:0,bottom:n.innerHeight}}function m3(n,e,t,i,r,s,l,o){let f=n.ownerDocument,u=f.defaultView||window;for(let h=n,O=!1;h&&!O;)if(h.nodeType==1){let p,g=h==f.body,b=1,$=1;if(g)p=g3(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 x=h.getBoundingClientRect();b=x.width/h.offsetWidth,$=x.height/h.offsetHeight,p={left:x.left,right:x.left+h.clientWidth*b,top:x.top,bottom:x.top+h.clientHeight*$}}let Q=0,_=0;if(r=="nearest")e.top0&&e.bottom>p.bottom+_&&(_=e.bottom-p.bottom+_+l)):e.bottom>p.bottom&&(_=e.bottom-p.bottom+l,t<0&&e.top-_0&&e.right>p.right+Q&&(Q=e.right-p.right+Q+s)):e.right>p.right&&(Q=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 b3{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?vs(t):0),i,Math.min(e.focusOffset,i?vs(i):0))}set(e,t,i,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=i,this.focusOffset=r}}let ml=null;function g$(n){if(n.setActive)return n.setActive();if(ml)return n.focus(ml);let e=[];for(let t=n;t&&(e.push(t,t.scrollTop,t.scrollLeft),t!=t.ownerDocument);t=t.parentNode);if(n.focus(ml==null?{get preventScroll(){return ml={preventScroll:!0},!0}}:void 0),!ml){ml=!1;for(let t=0;tMath.max(1,n.scrollHeight-n.clientHeight-4)}class Ii{constructor(e,t,i=!0){this.node=e,this.offset=t,this.precise=i}static before(e,t){return new Ii(e.parentNode,fc(e),t)}static after(e,t){return new Ii(e.parentNode,fc(e)+1,t)}}const bd=[];class Yt{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=Yt.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=xm(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=xm(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=vs(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&&!Yt.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 f=0,u=i,h=i;ft)return O.domBoundsAround(e,t,u);if(p>=e&&r==-1&&(r=f,s=u),u>t&&O.dom.parentNode==this.dom){l=f,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=bd){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,f){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,f))){if(i0&&(!l&&s.length&&h.merge(t,h.length,s[0],!1,o,0)?h.breakAfter=s.shift().breakAfter:(t2);var Pe={mac:Tm||/Mac/.test(kn.platform),windows:/Win/.test(kn.platform),linux:/Linux|X11/.test(kn.platform),ie:Ic,ie_version:w$?_O.documentMode||6:xO?+xO[1]:WO?+WO[1]:0,gecko:Cm,gecko_version:Cm?+(/Firefox\/(\d+)/.exec(kn.userAgent)||[0,0])[1]:0,chrome:!!Th,chrome_version:Th?+Th[1]:0,ios:Tm,android:/Android\b/.test(kn.userAgent),webkit:Xm,safari:y$,webkit_version:Xm?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:_O.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const w3=256;class Lr extends Yt{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 Lr)||this.length-(t-e)+i.length>w3||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 Lr(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 Ii(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 y3(this.dom,e,t)}}class Br extends Yt{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(m$(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 Br&&i.mark.eq(this.mark))||e&&s<=0||te&&t.push(i=e&&(r=s),i=f,s++}let l=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new Br(this.mark,t,l)}domAtPos(e){return v$(this,e)}coordsAt(e,t){return k$(this,e,t)}}function y3(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&&f.width==0&&(f=Array.prototype.find.call(o,u=>u.width)||f),l?Sd(f,l<0):f||null}class ms extends Yt{static create(e,t,i){return new ms(e,t,i)}constructor(e,t,i){super(),this.widget=e,this.length=t,this.side=i,this.prevWidget=null}split(e){let t=ms.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 ms)||!this.widget.compare(i.widget)||e>0&&s<=0||t0)?Ii.before(this.dom):Ii.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?Ii.before(this.dom):Ii.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return mt.empty}get isHidden(){return!0}}Lr.prototype.children=ms.prototype.children=Ul.prototype.children=bd;function v$(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 Br&&r.length&&(i=r[r.length-1])instanceof Br&&i.mark.eq(e.mark)?P$(i,e.children[0],t-1):(r.push(e),e.setParent(n)),n.length+=e.length}function k$(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 XO(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 P3(n){let e=Object.create(null);for(let t=0;t0?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}=_$(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 la(e)}static set(e,t=!1){return Qt.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}Ze.none=Qt.empty;class sa extends Ze{constructor(e){let{start:t,end:i}=_$(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 sa&&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)}}sa.prototype.point=!1;class la extends Ze{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof la&&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)}}la.prototype.mapMode=Zi.TrackBefore;la.prototype.point=!0;class Ps extends Ze{constructor(e,t,i,r,s,l){super(t,i,s,e),this.block=r,this.isReplace=l,this.mapMode=r?t<=0?Zi.TrackBefore:Zi.TrackAfter:Zi.TrackDel}get type(){return this.startSide=5||this.widget.lineBreaks>0)}eq(e){return e instanceof Ps&&k3(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 _$(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 k3(n,e){return n==e||!!(n&&e&&n.compare(e))}function TO(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 Ci extends Yt{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,i,r,s,l){if(i){if(!(i instanceof Ci))return!1;this.dom||i.transferDOM(this)}return r&&this.setDeco(i?i.attrs:null),Q$(this,e,t,i?i.children:[],s,l),!0}split(e){let t=new Ci;if(t.breakAfter=this.breakAfter,this.length==0)return t;let{i,off:r}=this.childPos(e);r&&(t.append(this.children[i].split(r),0),this.children[i].merge(r,this.children[i].length,null,!1,0,0),i++);for(let s=i;s0&&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){P$(this,e,t)}addLineDeco(e){let t=e.spec.attributes,i=e.spec.class;t&&(this.attrs=CO(t,this.attrs||{})),i&&(this.attrs=CO({class:i},this.attrs||{}))}domAtPos(e){return v$(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,t){var i;this.dom?this.flags&4&&(m$(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&&(XO(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&&Yt.get(r)instanceof Br;)r=r.lastChild;if(!r||!this.length||r.nodeName!="BR"&&((i=Yt.get(r))===null||i===void 0?void 0:i.isEditable)==!1&&(!Pe.ios||!this.children.some(s=>s instanceof Lr))){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 Lr)||/[^ -~]/.test(i.text))return null;let r=Lo(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=k$(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 Ci)return s;if(l>t)break}r=l+s.breakAfter}return null}}class Bs extends Yt{constructor(e,t,i){super(),this.widget=e,this.length=t,this.type=i,this.breakAfter=0,this.prevWidget=null}merge(e,t,i,r,s,l){return i&&(!(i instanceof Bs)||!this.widget.compare(i.widget)||e>0&&s<=0||t0;){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(Qf(new Lr(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){let{type:f}=i;f==Kt.WidgetAfter&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Bs(i.widget||new Rm("div"),o,f))}else{let f=ms.create(i.widget||new Rm("span"),o,o?0:i.startSide),u=this.atCursorPos&&!f.isEditable&&s<=r.length&&(e0),h=!f.isEditable&&(er.length||i.startSide<=0),O=this.getLine();this.pendingBuffer==2&&!u&&!f.isEditable&&(this.pendingBuffer=0),this.flushBuffer(r),u&&(O.append(Qf(new Ul(1),r),s),s=r.length+Math.max(0,s-r.length)),O.append(Qf(f,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=Qt.spans(r,t,i,l),l.openStart<0&&(l.openStart=l.openEnd),l.finish(l.openEnd),l}}function Qf(n,e){for(let t of e)n=new Br(t,[n],n.length);return n}class Rm extends xs{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 W$=ve.define(),x$=ve.define(),C$=ve.define(),X$=ve.define(),ZO=ve.define(),T$=ve.define(),Z$=ve.define(),R$=ve.define({combine:n=>n.some(e=>e)}),A$=ve.define({combine:n=>n.some(e=>e)});class cc{constructor(e,t="nearest",i="nearest",r=5,s=5){this.range=e,this.y=t,this.x=i,this.yMargin=r,this.xMargin=s}map(e){return e.empty?this:new cc(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const Am=qe.define({map:(n,e)=>n.map(e)});function Wn(n,e,t){let i=n.facet(X$);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 Nc=ve.define({combine:n=>n.length?n[0]:!0});let _3=0;const _o=ve.define();class Oi{constructor(e,t,i,r){this.id=e,this.create=t,this.domEventHandlers=i,this.extension=r(this)}static define(e,t){const{eventHandlers:i,provide:r,decorations:s}=t||{};return new Oi(_3++,e,i,l=>{let o=[_o.of(l)];return s&&o.push(Bo.of(f=>{let u=f.plugin(l);return u?s(u):Ze.none})),r&&o.push(r(l)),o})}static fromClass(e,t){return Oi.define(i=>new e(i),t)}}class Zh{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(Wn(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){Wn(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){Wn(e.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const U$=ve.define(),Qd=ve.define(),Bo=ve.define(),wd=ve.define(),Y$=ve.define();function Um(n,e,t){let i=n.state.facet(Y$);if(!i.length)return i;let r=i.map(l=>l instanceof Function?l(n):l),s=[];return Qt.spans(r,e,t,{point(){},span(l,o,f,u){let h=s;for(let O=f.length-1;O>=0;O--,u--){let p=f[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 V$=ve.define();function q$(n){let e=0,t=0,i=0,r=0;for(let s of n.state.facet(V$)){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 Wo=ve.define();class Ln{constructor(e,t,i,r){this.fromA=e,this.toA=t,this.fromB=i,this.toB=r}join(e){return new Ln(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(!f)return i;new Ln(f.fromA,f.toA,f.fromB,f.toB).addToSet(i),l=f.toA,o=f.toB}}}class uc{constructor(e,t,i){this.view=e,this.state=t,this.transactions=i,this.flags=0,this.startState=e.state,this.changes=Si.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,f)=>r.push(new Ln(s,l,o,f))),this.changedRanges=r}static create(e,t,i){return new uc(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 Gt=function(n){return n[n.LTR=0]="LTR",n[n.RTL=1]="RTL",n}(Gt||(Gt={}));const jo=Gt.LTR,E$=Gt.RTL;function M$(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 D$(n,e){if(n.length!=e.length)return!1;for(let t=0;t=0;$-=3)if(dr[$+1]==-g){let Q=dr[$+2],_=Q&2?r:Q&4?Q&1?s:r:0;_&&(_t[O]=_t[dr[$]]=_),o=$;break}}else{if(dr.length==189)break;dr[o++]=O,dr[o++]=p,dr[o++]=f}else if((b=_t[O])==2||b==1){let $=b==r;f=$?0:1;for(let Q=o-3;Q>=0;Q-=3){let _=dr[Q+2];if(_&2)break;if($)dr[Q+2]|=2;else{if(_&4)break;dr[Q+2]|=4}}}}}function R3(n,e,t,i){for(let r=0,s=i;r<=t.length;r++){let l=r?t[r-1].to:n,o=rf;)b==Q&&(b=t[--$].from,Q=$?t[$-1].to:n),_t[--b]=g;f=h}else s=u,f++}}}function AO(n,e,t,i,r,s,l){let o=i%2?2:1;if(i%2==r%2)for(let f=e,u=0;ff&&l.push(new Ss(f,$.from,g));let Q=$.direction==jo!=!(g%2);UO(n,Q?i+1:i,r,$.inner,$.from,$.to,l),f=$.to}b=$.to}else{if(b==t||(h?_t[b]!=o:_t[b]==o))break;b++}p?AO(n,f,b,i+1,r,p,l):fe;){let h=!0,O=!1;if(!u||f>s[u-1].to){let $=_t[f-1];$!=o&&(h=!1,O=$==16)}let p=!h&&o==1?[]:null,g=h?i:i+1,b=f;e:for(;;)if(u&&b==s[u-1].to){if(O)break e;let $=s[--u];if(!h)for(let Q=$.from,_=u;;){if(Q==e)break e;if(_&&s[_-1].to==Q)Q=s[--_].from;else{if(_t[Q-1]==o)break e;break}}if(p)p.push($);else{$.to_t.length;)_t[_t.length]=256;let i=[],r=e==jo?0:1;return UO(n,r,r,t,0,n.length,i),i}function z$(n){return[new Ss(0,n,0)]}let I$="";function U3(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=Ss.find(e,l,(s=i.bidiLevel)!==null&&s!==void 0?s:-1,i.assoc));let f=e[o];l==f.side(r,t)&&(f=e[o+=r?1:-1],l=f.side(!r,t));let u=r==(f.dir==t),h=Li(n.text,l,u);if(I$=n.text.slice(Math.min(l,h),Math.max(l,h)),h!=f.side(r,t))return K.cursor(h+n.from,u?-1:1,f.level);let O=o==(r?e.length-1:0)?null:e[o+(r?1:-1)];return!O&&f.level!=t?K.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:!z3(e.changes,this.hasComposition)&&!e.selectionSet&&(r=e.state.selection.main.head));let s=r>-1?V3(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:u,to:h}=this.hasComposition;i=new Ln(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(),f=M3(l,o,e.changes);return i=Ln.extendWithRanges(i,f),!(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:f,toA:u,fromB:h,toB:O}=o,p,g,b,$;if(i&&i.range.fromBh){let C=Vo.build(this.view.state.doc,h,i.range.fromB,this.decorations,this.dynamicDecorationMap),X=Vo.build(this.view.state.doc,i.range.toB,O,this.decorations,this.dynamicDecorationMap);g=C.breakAtStart,b=C.openStart,$=X.openEnd;let R=this.compositionView(i);X.breakAtStart?R.breakAfter=1:X.content.length&&R.merge(R.length,R.length,X.content[0],!1,X.openStart,0)&&(R.breakAfter=X.content[0].breakAfter,X.content.shift()),C.content.length&&R.merge(0,0,C.content[C.content.length-1],!0,0,C.openEnd)&&C.content.pop(),p=C.content.concat(R).concat(X.content)}else({content:p,breakAtStart:g,openStart:b,openEnd:$}=Vo.build(this.view.state.doc,h,O,this.decorations,this.dynamicDecorationMap));let{i:Q,off:_}=s.findPos(u,1),{i:x,off:Z}=s.findPos(f,-1);$$(this,x,Z,Q,_,p,g,b,$)}i&&this.fixCompositionDOM(i)}compositionView(e){let t=new Lr(e.text.nodeValue);t.flags|=8;for(let{deco:r}of e.marks)t=new Br(r,[t],t.length);let i=new Ci;return i.append(t,0),i}fixCompositionDOM(e){let t=(s,l)=>{l.flags|=8|(l.children.some(f=>f.flags&7)?1:0),this.markedForComposition.add(l);let o=Yt.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&&Bf(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,f=this.moveToLine(this.domAtPos(o.anchor)),u=o.empty?f:this.moveToLine(this.domAtPos(o.head));if(Pe.gecko&&o.empty&&!this.hasComposition&&Y3(f)){let O=document.createTextNode("");this.view.observer.ignore(()=>f.node.insertBefore(O,f.node.childNodes[f.offset]||null)),f=u=new Ii(O,0),l=!0}let h=this.view.observer.selectionRange;(l||!h.focusNode||!ac(f.node,f.offset,h.anchorNode,h.anchorOffset)||!ac(u.node,u.offset,h.focusNode,h.focusOffset))&&(this.view.observer.ignore(()=>{Pe.android&&Pe.chrome&&this.dom.contains(h.focusNode)&&D3(h.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let O=oc(this.view.root);if(O)if(o.empty){if(Pe.gecko){let p=q3(f.node,f.offset);if(p&&p!=3){let g=L$(f.node,f.offset,p==1?1:-1);g&&(f=new Ii(g.node,g.offset))}}O.collapse(f.node,f.offset),o.bidiLevel!=null&&O.caretBidiLevel!==void 0&&(O.caretBidiLevel=o.bidiLevel)}else if(O.extend){O.collapse(f.node,f.offset);try{O.extend(u.node,u.offset)}catch{}}else{let p=document.createRange();o.anchor>o.head&&([f,u]=[u,f]),p.setEnd(u.node,u.offset),p.setStart(f.node,f.offset),O.removeAllRanges(),O.addRange(p)}s&&this.view.root.activeElement==this.dom&&(this.dom.blur(),i&&i.focus())}),this.view.observer.setSelectionRange(f,u)),this.impreciseAnchor=f.precise?null:new Ii(h.anchorNode,h.anchorOffset),this.impreciseHead=u.precise?null:new Ii(h.focusNode,h.focusOffset)}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,i=oc(e.root),{anchorNode:r,anchorOffset:s}=e.observer.selectionRange;if(!i||!t.empty||!t.assoc||!i.modify)return;let l=Ci.find(this,t.head);if(!l)return;let o=l.posAtStart;if(t.head==o||t.head==o+l.length)return;let f=this.coordsAt(t.head,-1),u=this.coordsAt(t.head,1);if(!f||!u||f.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=Yt.get(t.childNodes[r]);s instanceof Ci&&(i=s.domAtPos(s.length))}return i?new Ii(i.node,i.offset,!0):e}nearest(e){for(let t=e;t;){let i=Yt.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(;tl||e==l&&s.type!=Kt.WidgetBefore&&s.type!=Kt.WidgetAfter&&(!r||t==2||this.children[r-1].breakAfter||this.children[r-1].type==Kt.WidgetBefore&&t>-2))return s.coordsAt(e-l,t);i=l}}coordsForChar(e){let{i:t,off:i}=this.childPos(e,1),r=this.children[t];if(!(r instanceof Ci))return null;for(;r.children.length;){let{i:o,off:f}=r.childPos(i,1);for(;;o++){if(o==r.children.length)return null;if((r=r.children[o]).length)break}i=f}if(!(r instanceof Lr))return null;let s=Li(r.text,i);if(s==i)return null;let l=Fs(r.dom,i,s).getClientRects();return!l.length||l[0].top>=l[0].bottom?null:l[0]}measureVisibleLineHeights(e){let t=[],{from:i,to:r}=e,s=this.view.contentDOM.clientWidth,l=s>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,f=this.view.textDirection==Gt.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,$=b?Lo(b):[];if($.length){let Q=$[$.length-1],_=f?Q.right-g.left:g.right-Q.left;_>o&&(o=_,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"?Gt.RTL:Gt.LTR}measureTextSize(){for(let s of this.children)if(s instanceof Ci){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=Lo(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 b$(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(Ze.replace({widget:new Vm(o),block:!0,inclusive:!0,isBlockGap:!0}).range(i,l))}if(!s)break;i=s.to+1}return Ze.set(e)}updateDeco(){let e=this.view.state.facet(Bo).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};m3(this.view.scrollDOM,l,t.head0)i=i.childNodes[r-1],r=vs(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 q3(n,e){return n.nodeType!=1?0:(e&&n.childNodes[e-1].contentEditable=="false"?1:0)|(e{ie.from&&(t=!0)}),t}function I3(n,e,t=1){let i=n.charCategorizer(e),r=n.doc.lineAt(e),s=e-r.from;if(r.length==0)return K.cursor(e);s==0?t=1:s==r.length&&(t=-1);let l=s,o=s;t<0?l=Li(r.text,s,!1):o=Li(r.text,s);let f=i(r.text.slice(l,o));for(;l>0;){let u=Li(r.text,l,!1);if(i(r.text.slice(u,l))!=f)break;l=u}for(;on?e.left-n:Math.max(0,n-e.right)}function L3(n,e){return e.top>n?e.top-n:Math.max(0,n-e.bottom)}function Rh(n,e){return n.tope.top+1}function qm(n,e){return en.bottom?{top:n.top,left:n.left,right:n.right,bottom:e}:n}function YO(n,e,t){let i,r,s,l,o=!1,f,u,h,O;for(let b=n.firstChild;b;b=b.nextSibling){let $=Lo(b);for(let Q=0;Q<$.length;Q++){let _=$[Q];r&&Rh(r,_)&&(_=qm(Em(_,r.bottom),r.top));let x=N3(e,_),Z=L3(t,_);if(x==0&&Z==0)return b.nodeType==3?Mm(b,e,t):YO(b,e,t);if(!i||l>Z||l==Z&&s>x){i=b,r=_,s=x,l=Z;let C=Z?t<_.top?-1:1:x?e<_.left?-1:1:0;o=!C||(C>0?Q<$.length-1:Q>0)}x==0?t>_.bottom&&(!h||h.bottom<_.bottom)?(f=b,h=_):t<_.top&&(!O||O.top>_.top)&&(u=b,O=_):h&&Rh(h,_)?h=Em(h,_.bottom):O&&Rh(O,_)&&(O=qm(O,_.top))}}if(h&&h.bottom>=t?(i=f,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 Mm(i,p,t);if(o&&i.contentEditable!="false")return YO(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 Mm(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)&&Fs(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 B$(n,e,t,i=-1){var r,s;let l=n.contentDOM.getBoundingClientRect(),o=l.top+n.viewState.paddingTop,f,{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 C=n.viewState.heightOracle.textHeight/2,X=!1;f=n.elementAtHeight(p),f.type!=Kt.Text;)for(;p=i>0?f.bottom+C:f.top-C,!(p>=0&&p<=u);){if(X)return t?null:0;X=!0,i=-i}O=o+p;let g=f.from;if(gn.viewport.to)return n.viewport.to==n.state.doc.length?n.state.doc.length:t?null:Dm(n,l,f,h,O);let b=n.dom.ownerDocument,$=n.root.elementFromPoint?n.root:b,Q=$.elementFromPoint(h,O);Q&&!n.contentDOM.contains(Q)&&(Q=null),Q||(h=Math.max(l.left+1,Math.min(l.right-1,h)),Q=$.elementFromPoint(h,O),Q&&!n.contentDOM.contains(Q)&&(Q=null));let _,x=-1;if(Q&&((r=n.docView.nearest(Q))===null||r===void 0?void 0:r.isEditable)!=!1){if(b.caretPositionFromPoint){let C=b.caretPositionFromPoint(h,O);C&&({offsetNode:_,offset:x}=C)}else if(b.caretRangeFromPoint){let C=b.caretRangeFromPoint(h,O);C&&({startContainer:_,startOffset:x}=C,(!n.contentDOM.contains(_)||Pe.safari&&B3(_,x,h)||Pe.chrome&&j3(_,x,h))&&(_=void 0))}}if(!_||!n.docView.dom.contains(_)){let C=Ci.find(n.docView,g);if(!C)return p>f.top+f.height/2?f.to:f.from;({node:_,offset:x}=YO(C.dom,h,O))}let Z=n.docView.nearest(_);if(!Z)return null;if(Z.isWidget&&((s=Z.dom)===null||s===void 0?void 0:s.nodeType)==1){let C=Z.dom.getBoundingClientRect();return e.yn.defaultLineHeight*1.5){let o=n.viewState.heightOracle.textHeight,f=Math.floor((r-t.top-(n.defaultLineHeight-o)*.5)/o);s+=f*n.viewState.heightOracle.lineLength}let l=n.state.sliceDoc(t.from,t.to);return t.from+yO(l,s,n.state.tabSize)}function B3(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 Fs(n,i-1,i).getBoundingClientRect().left>t}function j3(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():Fs(n,0,Math.max(n.nodeValue.length,1)).getBoundingClientRect();return t-i.left>5}function VO(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==Kt.Text))return i}return t}function F3(n,e,t,i){let r=VO(n,e.head),s=!i||r.type!=Kt.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),f=n.posAtCoords({x:t==(o==Gt.LTR)?l.right-1:l.left+1,y:(s.top+s.bottom)/2});if(f!=null)return K.cursor(f,t?-1:1)}return K.cursor(t?r.to:r.from,t?-1:1)}function zm(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,f=null;;){let u=U3(r,s,l,o,t),h=I$;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=K.cursor(t?r.from:r.to)}if(f){if(!f(h))return o}else{if(!i)return u;f=i(h)}o=u}}function G3(n,e,t){let i=n.state.charCategorizer(e),r=i(t);return s=>{let l=i(s);return r==It.Space&&(r=l),r==l}}function H3(n,e,t,i){let r=e.head,s=t?1:-1;if(r==(t?n.state.doc.length:0))return K.cursor(r,e.assoc);let l=e.goalColumn,o,f=n.contentDOM.getBoundingClientRect(),u=n.coordsAtPos(r),h=n.documentTop;if(u)l==null&&(l=u.left-f.left),o=s<0?u.top:u.bottom;else{let g=n.viewState.lineBlockAt(r);l==null&&(l=Math.min(f.right-f.left,n.defaultCharacterWidth*(r-g.from))),o=(s<0?g.top:g.bottom)+h}let O=f.left+l,p=i??n.viewState.heightOracle.textHeight>>1;for(let g=0;;g+=10){let b=o+(p+g)*s,$=B$(n,{x:O,y:b},!1,s);if(bf.bottom||(s<0?$r))return K.cursor($,e.assoc,void 0,l)}}function jf(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:K.cursor(i,i{this.ignoreDuringComposition(r)||r.type=="keydown"&&this.keydown(e,r)||(this.mustFlushObserver(r)&&e.observer.forceFlush(),this.runCustomHandlers(r.type,e,r)?r.preventDefault():i(e,r))};for(let i in hi){let r=hi[i];e.contentDOM.addEventListener(i,s=>{Im(e,s)&&t(r,s)},qO[i]),this.registeredEvents.push(i)}e.scrollDOM.addEventListener("mousedown",i=>{if(i.target==e.scrollDOM&&i.clientY>e.contentDOM.getBoundingClientRect().bottom&&(t(hi.mousedown,i),!i.defaultPrevented&&i.button==2)){let r=e.contentDOM.style.minHeight;e.contentDOM.style.minHeight="100%",setTimeout(()=>e.contentDOM.style.minHeight=r,200)}}),e.scrollDOM.addEventListener("drop",i=>{i.target==e.scrollDOM&&i.clientY>e.contentDOM.getBoundingClientRect().bottom&&t(hi.drop,i)}),Pe.chrome&&Pe.chrome_version==102&&e.scrollDOM.addEventListener("wheel",()=>{this.chromeScrollHack<0?e.contentDOM.style.pointerEvents="none":window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout(()=>{this.chromeScrollHack=-1,e.contentDOM.style.pointerEvents=""},100)},{passive:!0}),this.notifiedFocused=e.hasFocus,Pe.safari&&e.contentDOM.addEventListener("input",()=>null),Pe.gecko&&hC(e.contentDOM.ownerDocument)}ensureHandlers(e,t){var i;let r;this.customHandlers=[];for(let s of t)if(r=(i=s.update(e).spec)===null||i===void 0?void 0:i.domEventHandlers){this.customHandlers.push({plugin:s.value,handlers:r});for(let l in r)this.registeredEvents.indexOf(l)<0&&l!="scroll"&&(this.registeredEvents.push(l),e.contentDOM.addEventListener(l,o=>{Im(e,o)&&this.runCustomHandlers(l,e,o)&&o.preventDefault()}))}}runCustomHandlers(e,t,i){for(let r of this.customHandlers){let s=r.handlers[e];if(s)try{if(s.call(r.plugin,i,t)||i.defaultPrevented)return!0}catch(l){Wn(t.state,l)}}return!1}runScrollHandlers(e,t){this.lastScrollTop=e.scrollDOM.scrollTop,this.lastScrollLeft=e.scrollDOM.scrollLeft;for(let i of this.customHandlers){let r=i.handlers.scroll;if(r)try{r.call(i.plugin,t,e)}catch(s){Wn(e.state,s)}}}keydown(e,t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&Date.now()r.keyCode==t.keyCode))&&!t.ctrlKey||J3.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=i||t,setTimeout(()=>this.flushIOSKey(e),250),!0):!1}flushIOSKey(e){let t=this.pendingIOSKey;return t?(this.pendingIOSKey=void 0,Xl(e.contentDOM,t.key,t.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}mustFlushObserver(e){return e.type=="keydown"&&e.keyCode!=229}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const j$=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],J3="dthko",F$=[16,17,18,20,91,92,224,225],wf=6;function yf(n){return Math.max(0,n)*.7+8}function eC(n,e){return Math.max(Math.abs(n.clientX-e.clientX),Math.abs(n.clientY-e.clientY))}class tC{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=S3(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(ft.allowMultipleSelections)&&iC(e,t),this.dragging=rC(e,t)&&J$(t)==1?null:!1}start(e){this.dragging===!1&&(e.preventDefault(),this.select(e))}move(e){var t;if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&eC(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+wf?i=-yf(s.left-e.clientX):e.clientX+l.right>=s.right-wf&&(i=yf(e.clientX-s.right)),e.clientY-l.top<=s.top+wf?r=-yf(s.top-e.clientY):e.clientY+l.bottom>=s.bottom-wf&&(r=yf(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=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 iC(n,e){let t=n.state.facet(W$);return t.length?t[0](e):Pe.mac?e.metaKey:e.ctrlKey}function nC(n,e){let t=n.state.facet(x$);return t.length?t[0](e):Pe.mac?!e.altKey:!e.ctrlKey}function rC(n,e){let{main:t}=n.state.selection;if(t.empty)return!1;let i=oc(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 Im(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=Yt.get(t))&&i.ignoreEvent(e))return!1;return!0}const hi=Object.create(null),qO=Object.create(null),G$=Pe.ie&&Pe.ie_version<15||Pe.ios&&Pe.webkit_version<604;function sC(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(),H$(n,t.value)},50)}function H$(n,e){let{state:t}=n,i,r=1,s=t.toText(e),l=s.lines==t.selection.ranges.length;if(EO!=null&&t.selection.ranges.every(f=>f.empty)&&EO==s.toString()){let f=-1;i=t.changeByRange(u=>{let h=t.doc.lineAt(u.from);if(h.from==f)return{range:u};f=h.from;let O=t.toText((l?s.line(r++).text:e)+t.lineBreak);return{changes:{from:h.from,insert:O},range:K.cursor(u.from+O.length)}})}else l?i=t.changeByRange(f=>{let u=s.line(r++);return{changes:{from:f.from,to:f.to,insert:u.text},range:K.cursor(f.from+u.length)}}):i=t.replaceSelection(s);n.dispatch(i,{userEvent:"input.paste",scrollIntoView:!0})}hi.keydown=(n,e)=>{n.inputState.setSelectionOrigin("select"),e.keyCode==27&&(n.inputState.lastEscPress=Date.now())};hi.touchstart=(n,e)=>{n.inputState.lastTouchTime=Date.now(),n.inputState.setSelectionOrigin("select.pointer")};hi.touchmove=n=>{n.inputState.setSelectionOrigin("select.pointer")};qO.touchstart=qO.touchmove={passive:!0};hi.mousedown=(n,e)=>{if(n.observer.flush(),n.inputState.lastTouchTime>Date.now()-2e3)return;let t=null;for(let i of n.state.facet(C$))if(t=i(n,e),t)break;if(!t&&e.button==0&&(t=aC(n,e)),t){let i=!n.hasFocus;n.inputState.startMouseSelection(new tC(n,e,t,i)),i&&n.observer.ignore(()=>g$(n.contentDOM)),n.inputState.mouseSelection&&n.inputState.mouseSelection.start(e)}};function Nm(n,e,t,i){if(i==1)return K.cursor(e,t);if(i==2)return I3(n.state,e,t);{let r=Ci.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,Lm=(n,e,t)=>K$(e,t)&&n>=t.left&&n<=t.right;function lC(n,e,t,i){let r=Ci.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&&Lm(t,i,l))return-1;let o=r.coordsAt(s,1);return o&&Lm(t,i,o)?1:l&&K$(i,l)?-1:1}function Bm(n,e){let t=n.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:lC(n,t,e.clientX,e.clientY)}}const oC=Pe.ie&&Pe.ie_version<=11;let jm=null,Fm=0,Gm=0;function J$(n){if(!oC)return n.detail;let e=jm,t=Gm;return jm=n,Gm=Date.now(),Fm=!e||t>Date.now()-400&&Math.abs(e.clientX-n.clientX)<2&&Math.abs(e.clientY-n.clientY)<2?(Fm+1)%3:1}function aC(n,e){let t=Bm(n,e),i=J$(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 f=Bm(n,s),u,h=Nm(n,f.pos,f.bias,i);if(t.pos!=f.pos&&!l){let O=Nm(n,t.pos,t.bias,i),p=Math.min(O.from,h.from),g=Math.max(O.to,h.to);h=p1&&(u=fC(r,f.pos))?u:o?r.addRange(h):K.create([h])}}}function fC(n,e){for(let t=0;t=e)return K.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}hi.dragstart=(n,e)=>{let{selection:{main:t}}=n.state,{mouseSelection:i}=n.inputState;i&&(i.dragging=t),e.dataTransfer&&(e.dataTransfer.setData("Text",n.state.sliceDoc(t.from,t.to)),e.dataTransfer.effectAllowed="copyMove")};function Hm(n,e,t,i){if(!t)return;let r=n.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:s}=n.inputState,l=i&&s&&s.dragging&&nC(n,e)?{from:s.dragging.from,to:s.dragging.to}:null,o={from:r,insert:t},f=n.state.changes(l?[l,o]:o);n.focus(),n.dispatch({changes:f,selection:{anchor:f.mapPos(r,-1),head:f.mapPos(r,1)},userEvent:l?"move.drop":"input.drop"})}hi.drop=(n,e)=>{if(!e.dataTransfer)return;if(n.state.readOnly)return e.preventDefault();let t=e.dataTransfer.files;if(t&&t.length){e.preventDefault();let i=Array(t.length),r=0,s=()=>{++r==t.length&&Hm(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])}}else Hm(n,e,e.dataTransfer.getData("Text"),!0)};hi.paste=(n,e)=>{if(n.state.readOnly)return e.preventDefault();n.observer.flush();let t=G$?null:e.clipboardData;t?(H$(n,t.getData("text/plain")||t.getData("text/uri-text")),e.preventDefault()):sC(n)};function cC(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 uC(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 EO=null;hi.copy=hi.cut=(n,e)=>{let{text:t,ranges:i,linewise:r}=uC(n.state);if(!t&&!r)return;EO=r?t:null;let s=G$?null:e.clipboardData;s?(e.preventDefault(),s.clearData(),s.setData("text/plain",t)):cC(n,t),e.type=="cut"&&!n.state.readOnly&&n.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"})};const eQ=Fr.define();function tQ(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:eQ.of(!0)}):null}function iQ(n){setTimeout(()=>{let e=n.hasFocus;if(e!=n.inputState.notifiedFocused){let t=tQ(n.state,e);t?n.dispatch(t):n.update([])}},10)}hi.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),iQ(n)};hi.blur=n=>{n.observer.clearSelectionRange(),iQ(n)};hi.compositionstart=hi.compositionupdate=n=>{n.inputState.compositionFirstChange==null&&(n.inputState.compositionFirstChange=!0),n.inputState.composing<0&&(n.inputState.composing=0)};hi.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)};hi.contextmenu=n=>{n.inputState.lastContextMenu=Date.now()};hi.beforeinput=(n,e)=>{var t;let i;if(Pe.chrome&&Pe.android&&(i=j$.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)}};const Km=new Set;function hC(n){Km.has(n)||(Km.add(n),n.addEventListener("copy",()=>{}),n.addEventListener("cut",()=>{}))}const Jm=["pre-wrap","normal","pre-line","break-spaces"];class OC{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 Jm.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let i=0;i-1,f=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,f){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)>Ff&&(e.heightChanged=!0),this.height=t)}replace(e,t,i){return Ki.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:f,toA:u,fromB:h,toB:O}=r[o],p=s.lineAt(f,At.ByPosNoHeight,i.setDoc(t),0,0),g=p.to>=u?p:s.lineAt(u,At.ByPosNoHeight,i,0,0);for(O+=g.to-u,u=g.to;o>0&&p.from<=r[o-1].toA;)f=r[o-1].fromA,h=r[o-1].fromB,o--,fs*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 vn extends nQ{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,i,r){return new Qr(r,this.length,i,this.height,this.breaks)}replace(e,t,i){let r=i[0];return i.length==1&&(r instanceof vn||r instanceof xi&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof xi?r=new vn(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):Ki.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 xi extends Ki{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 f=Math.min(this.height,e.lineHeight*s);l=f/s,this.length>s+1&&(o=(this.height-f)/(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:f}=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*f,p=Math.max(i,e-O/2);return new Qr(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 Qr(h,O,i+o*u,o,0)}}lineAt(e,t,i,r,s){if(t==At.ByHeight)return this.blockAt(e,i,r,s);if(t==At.ByPosNoHeight){let{from:g,to:b}=i.doc.lineAt(e);return new Qr(g,b-g,0,0,0)}let{firstLine:l,perLine:o,perChar:f}=this.heightMetrics(i,s),u=i.doc.lineAt(e),h=o+u.length*f,O=u.number-l,p=r+o*O+f*(u.from-s-O);return new Qr(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:f,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+=f*b+u*(e-s-b)}let g=f+u*p.length;l(new Qr(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 xi?i[i.length-1]=new xi(s.length+r):i.push(null,new xi(r-1))}if(e>0){let s=i[0];s instanceof xi?i[0]=new xi(e+s.length):i.unshift(new xi(e-1),null)}return Ki.of(i)}decomposeLeft(e,t){t.push(new xi(e-1),null)}decomposeRight(e,t){t.push(null,new xi(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),f=-1;for(r.from>t&&l.push(new xi(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++];f==-1?f=O:Math.abs(O-f)>=Ff&&(f=-2);let p=new vn(h,O);p.outdated=!1,l.push(p),o+=h+1}o<=s&&l.push(null,new xi(s-o).updateHeight(e,o));let u=Ki.of(l);return(f<0||Math.abs(u.height-this.height)>=Ff||Math.abs(f-this.heightMetrics(e,t).perLine)>=Ff)&&(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 pC extends Ki{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==At.ByPosNoHeight?At.ByPosNoHeight:At.ByPos;return f?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,f=s+this.left.length+this.break;if(this.break)e=f&&this.right.forEachLine(e,t,i,o,f,l);else{let u=this.lineAt(f,At.ByPos,i,r,s);e=e&&u.from<=t&&l(u),t>u.to&&this.right.forEachLine(u.to+1,t,i,o,f,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&&e1(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?Ki.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,f=null;return r&&r.from<=t+s.length&&r.more?f=s=s.updateHeight(e,t,i,r):s.updateHeight(e,t,i),r&&r.from<=o+l.length&&r.more?f=l=l.updateHeight(e,o,i,r):l.updateHeight(e,o,i),f?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 e1(n,e){let t,i;n[e]==null&&(t=n[e-1])instanceof xi&&(i=n[e+1])instanceof xi&&n.splice(e-1,3,new xi(t.length+1+i.length))}const gC=5;class yd{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 vn?r.length+=i-this.pos:(i>this.pos||!this.isCovered)&&this.nodes.push(new vn(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=gC)&&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 vn(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let i=new xi(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 vn)return e;let t=new vn(0,-1);return this.nodes.push(t),t}addBlock(e){var t;this.enterLine();let i=(t=e.deco)===null||t===void 0?void 0:t.type;i==Kt.WidgetAfter&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,i!=Kt.WidgetBefore&&(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 vn)&&!this.isCovered?this.nodes.push(new vn(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),f=u==n.parentNode?p.bottom:Math.min(f,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,f)-(t.top+e)}}function $C(n,e){let t=n.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class Uh{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 OC(t),this.stateDeco=e.facet(Bo).filter(i=>typeof i!="function"),this.heightMap=Ki.empty().applyChanges(this.stateDeco,mt.empty,this.heightOracle.setDoc(e.doc),[new Ln(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Ze.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 vf(s,l))}}this.viewports=e.sort((i,r)=>i.from-r.from),this.scaler=this.heightMap.height<=7e6?i1:new vC(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:xo(e,this.scaler))})}update(e,t=null){this.state=e.state;let i=this.stateDeco;this.stateDeco=this.state.facet(Bo).filter(h=>typeof h!="function");let r=e.changedRanges,s=Ln.extendWithRanges(r,mC(i,this.stateDeco,e?e.changes:Si.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 f=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.headf.to)||!this.viewportIsAppropriate(f))&&(f=this.getViewport(0,t));let u=!e.changes.empty||e.flags&2||f.from!=this.viewport.from||f.to!=this.viewport.to;this.viewport=f,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(A$)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,i=window.getComputedStyle(t),r=this.heightOracle,s=i.whiteSpace;this.defaultTextDirection=i.direction=="rtl"?Gt.RTL:Gt.LTR;let l=this.heightOracle.mustRefreshForWrapping(s),o=t.getBoundingClientRect(),f=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 C=o.width/t.offsetWidth,X=o.height/t.offsetHeight;C>.995&&C<1.005&&(C=1),X>.995&&X<1.005&&(X=1),(this.scaleX!=C||this.scaleY!=X)&&(this.scaleX=C,this.scaleY=X,u|=8,l=f=!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&&(f=!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=S$(e.scrollDOM);let b=(this.printing?$C:bC)(t,this.paddingTop),$=b.top-this.pixelViewport.top,Q=b.bottom-this.pixelViewport.bottom;this.pixelViewport=b;let _=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(_!=this.inView&&(this.inView=_,_&&(f=!0)),!this.inView&&!this.scrollTarget)return 0;let x=o.width;if((this.contentDOMWidth!=x||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=o.width,this.editorHeight=e.scrollDOM.clientHeight,u|=8),f){let C=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(C)&&(l=!0),l||r.lineWrapping&&Math.abs(x-this.contentDOMWidth)>r.charWidth){let{lineHeight:X,charWidth:R,textHeight:I}=e.docView.measureTextSize();l=X>0&&r.refresh(s,X,R,I,x/R,C),l&&(e.docView.minWidth=0,u|=8)}$>0&&Q>0?h=Math.max($,Q):$<0&&Q<0&&(h=Math.min($,Q)),r.heightChanged=!1;for(let X of this.viewports){let R=X.from==this.viewport.from?C:e.docView.measureVisibleLineHeights(X);this.heightMap=(l?Ki.empty().applyChanges(this.stateDeco,mt.empty,this.heightOracle,[new Ln(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,l,new dC(X.from,R))}r.heightChanged&&(u|=2)}let Z=!this.viewportIsAppropriate(this.viewport,h)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return Z&&(this.viewport=this.getViewport(h,this.scrollTarget)),this.updateForViewport(),(u&2||Z)&&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,f=new vf(r.lineAt(l-i*1e3,At.ByHeight,s,0,0).from,r.lineAt(o+(1-i)*1e3,At.ByHeight,s,0,0).to);if(t){let{head:u}=t.range;if(uf.to){let h=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),O=r.lineAt(u,At.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!=Gt.LTR&&!i)return[];let o=[],f=(u,h,O,p)=>{if(h-uu&&QQ.from>=O.from&&Q.to<=O.to&&Math.abs(Q.from-u)Q.from<_&&Q.to>_));if(!$){if(hQ.from<=h&&Q.to>=h)){let Q=t.moveToLineBoundary(K.cursor(h),!1,!0).head;Q>u&&(h=Q)}$=new Uh(u,h,this.gapSize(O,u,h,p))}o.push($)};for(let u of this.viewportLines){if(u.lengthu.from&&f(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=[];Qt.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)||xo(this.heightMap.lineAt(e,At.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return xo(this.heightMap.lineAt(this.scaler.fromDOM(e),At.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 xo(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 vf{constructor(e,t){this.from=e,this.to=t}}function wC(n,e,t){let i=[],r=n,s=0;return Qt.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 kf(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 yC(n,e){for(let t of n)if(e(t))return t}const i1={toDOM(n){return n},fromDOM(n){return n},scale:1};class vC{constructor(e,t,i){let r=0,s=0,l=0;this.viewports=i.map(({from:o,to:f})=>{let u=t.lineAt(o,At.ByPos,e,0,0).top,h=t.lineAt(f,At.ByPos,e,0,0).bottom;return r+=h-u,{from:o,to:f,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=txo(r,e)):n._content)}const _f=ve.define({combine:n=>n.join(" ")}),MO=ve.define({combine:n=>n.indexOf(!0)>-1}),DO=ws.newName(),rQ=ws.newName(),sQ=ws.newName(),lQ={"&light":"."+rQ,"&dark":"."+sQ};function zO(n,e,t){return new ws(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 PC=zO("."+DO,{"&":{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",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"}},lQ),Co="￿";class kC{constructor(e,t){this.points=e,this.text="",this.lineSeparator=t.facet(ft.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=Co}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=Yt.get(r),f=Yt.get(l);(o&&f?o.breakAfter:(o?o.breakAfter:n1(r))||n1(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 f of this.points)f.node==e&&f.pos>this.text.length&&(f.pos-=l-1);i=s+l}}readNode(e){if(e.cmIgnore)return;let t=Yt.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+Math.min(t,i.offset))}}function n1(n){return n.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(n.nodeName)}class r1{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class _C{constructor(e,t,i,r){this.typeOver=r,this.bounds=null,this.text="";let{impreciseHead:s,impreciseAnchor:l}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,i,0))){let o=s||l?[]:CC(e),f=new kC(o,e.state);f.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=f.text,this.newSel=XC(o,this.bounds.from)}else{let o=e.observer.selectionRange,f=s&&s.node==o.focusNode&&s.offset==o.focusOffset||!kO(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||!kO(e.contentDOM,o.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(o.anchorNode,o.anchorOffset);this.newSel=K.single(u,f)}}}function oQ(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,f=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=K.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=K.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(n)||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,f=()=>o||(o=WC(n,t,i));return n.state.facet(T$).some(u=>u(n,t.from,t.to,l,f))||n.dispatch(f()),!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 WC(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)+f))}else{let o=r.changes(e),f=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&&N$(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:f||b.map(o)};let $=b.to-p,Q=$-u.length;if(b.to-b.from!=g||n.state.sliceDoc(Q,$)!=u||b.to>=h.from&&b.from<=h.to)return{range:b};let _=r.changes({from:Q,to:$,insert:e.insert}),x=b.to-s.to;return{changes:_,range:f?K.range(Math.max(0,f.anchor+x),Math.max(0,f.head+x)):b.map(_)}})}else i={changes:o,selection:f&&r.selection.replaceRange(f)}}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 xC(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 f=Math.max(0,s-Math.min(l,o));t-=l+f-s}if(l=l?s-t:0;s-=f,o=s+(o-l),l=s}else if(o=o?s-t:0;s-=f,l=s+(l-o),o=s}return{from:s,toA:l,toB:o}}function CC(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 r1(t,i)),(r!=t||s!=i)&&e.push(new r1(r,s))),e}function XC(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?K.single(t+e,i+e):null}const TC={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Yh=Pe.ie&&Pe.ie_version<=11;class ZC{constructor(e){this.view=e,this.active=!1,this.selectionRange=new b3,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.resizeContent=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()}),Yh&&(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.view.requestMeasure()),this.resizeContent.observe(e.contentDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(t=>{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.runScrollHandlers(this.view,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(Nc)?i.root.activeElement!=this.dom:!Bf(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&&ac(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&&p3(this.dom.ownerDocument)==this.dom&&RC(this.view)||oc(e.root);if(!t||this.selectionRange.eq(t))return!1;let i=Bf(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&&Bf(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 _C(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!1;let i=this.view.state,r=oQ(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=s1(t,e.previousSibling||e.target.previousSibling,-1),r=s1(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,r;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(),(r=this.resizeContent)===null||r===void 0||r.disconnect();for(let s of this.scrollTargets)s.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 s1(n,e,t){for(;e;){let i=Yt.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 RC(n){let e=null;function t(f){f.preventDefault(),f.stopImmediatePropagation(),e=f.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 ac(o.node,o.offset,s,l)&&([i,r,s,l]=[s,l,i,r]),{anchorNode:i,anchorOffset:r,focusNode:s,focusOffset:l}}class me{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||$3(e.parent)||document,this.viewState=new t1(e.state||ft.create(e)),this.plugins=this.state.facet(_o).map(i=>new Zh(i));for(let i of this.plugins)i.update(this);this.observer=new ZC(this),this.inputState=new K3(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new Ym(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 bi?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,f=null;e.some(p=>p.annotation(eQ))?(this.inputState.notifiedFocused=l,o=1):l!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=l,f=tQ(s,l),f||(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(ft.phrases)!=this.state.facet(ft.phrases))return this.setState(s);r=uc.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 cc(g.empty?g:K.cursor(g.head,g.head>g.anchor?-1:1))}for(let g of p.effects)g.is(Am)&&(O=g.value)}this.viewState.update(r,O),this.bidiCache=hc.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),t=this.docView.update(r),this.state.facet(Wo)!=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(_f)!=r.state.facet(_f)&&(this.viewState.mustMeasureContent=!0),(t||i||O||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!r.empty)for(let p of this.state.facet(ZO))p(r);(f||h)&&Promise.resolve().then(()=>{f&&this.state==f.startState&&this.dispatch(f),h&&!oQ(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 t1(e),this.plugins=e.facet(_o).map(i=>new Zh(i)),this.pluginMap.clear();for(let i of this.plugins)i.update(this);this.docView=new Ym(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(_o),i=e.state.facet(_o);if(t!=i){let r=[];for(let s of i){let l=t.indexOf(s);if(l<0)r.push(new Zh(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(),this.inputState.ensureHandlers(this,this.plugins)}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(S$(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 f=this.viewState.measure(this);if(!f&&!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=[];f&4||([this.measureRequests,u]=[u,this.measureRequests]);let h=u.map(g=>{try{return g.read(this)}catch(b){return Wn(this.state,b),l1}}),O=uc.create(this,this.state,[]),p=!1;O.flags|=f,t?t.flags|=f: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(ZO))o(t)}get themeClasses(){return DO+" "+(this.state.facet(MO)?sQ:rQ)+" "+this.state.facet(_f)}updateAttrs(){let e=o1(this,U$,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Nc)?"true":"false",class:"cm-content",style:`${Pe.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),o1(this,Qd,t);let i=this.observer.ignore(()=>{let r=XO(this.contentDOM,this.contentAttrs,t),s=XO(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(me.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(Wo);let e=this.state.facet(me.cspNonce);ws.mount(this.root,this.styleModules.concat(PC).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 Ah(this,e,zm(this,e,t,i))}moveByGroup(e,t){return Ah(this,e,zm(this,e,t,i=>G3(this,e.head,i)))}moveToLineBoundary(e,t,i=!0){return F3(this,e,t,i)}moveVertically(e,t,i){return Ah(this,e,H3(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(),B$(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[Ss.find(s,e-r.from,-1,t)];return Sd(i,l.dir==Gt.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(R$)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>AC)return z$(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||D$(s.isolates,i=Um(this,e.from,e.to))))return s.order;i||(i=Um(this,e.from,e.to));let r=A3(e.text,t,i);return this.bidiCache.push(new hc(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(()=>{g$(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 Am.of(new cc(typeof e=="number"?K.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}static domEventHandlers(e){return Oi.define(()=>({}),{eventHandlers:e})}static theme(e,t){let i=ws.newName(),r=[_f.of(i),Wo.of(zO(`.${i}`,e))];return t&&t.dark&&r.push(MO.of(!0)),r}static baseTheme(e){return Hs.lowest(Wo.of(zO("."+DO,e,lQ)))}static findFromDOM(e){var t;let i=e.querySelector(".cm-content"),r=i&&Yt.get(i)||Yt.get(e);return((t=r==null?void 0:r.rootView)===null||t===void 0?void 0:t.view)||null}}me.styleModule=Wo;me.inputHandler=T$;me.focusChangeEffect=Z$;me.perLineTextDirection=R$;me.exceptionSink=X$;me.updateListener=ZO;me.editable=Nc;me.mouseSelectionStyle=C$;me.dragMovesSelection=x$;me.clickAddsSelectionRange=W$;me.decorations=Bo;me.atomicRanges=wd;me.bidiIsolatedRanges=Y$;me.scrollMargins=V$;me.darkTheme=MO;me.cspNonce=ve.define({combine:n=>n.length?n[0]:""});me.contentAttributes=Qd;me.editorAttributes=U$;me.lineWrapping=me.contentAttributes.of({class:"cm-lineWrapping"});me.announce=qe.define();const AC=4096,l1={};class hc{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:Gt.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&&CO(l,t)}return t}const UC=Pe.mac?"mac":Pe.windows?"win":Pe.linux?"linux":"key";function YC(n,e){const t=n.split(/-(?!$)/);let i=t[t.length-1];i=="Space"&&(i=" ");let r,s,l,o;for(let f=0;fi.concat(r),[]))),t}function qC(n,e,t){return fQ(aQ(n.state),e,n,t)}let ps=null;const EC=4e3;function MC(n,e=UC){let t=Object.create(null),i=Object.create(null),r=(l,o)=>{let f=i[l];if(f==null)i[l]=o;else if(f!=o)throw new Error("Key binding "+l+" is used both as a regular binding and as a multi-stroke prefix")},s=(l,o,f,u,h)=>{var O,p;let g=t[l]||(t[l]=Object.create(null)),b=o.split(/ (?!$)/).map(_=>YC(_,e));for(let _=1;_{let C=ps={view:Z,prefix:x,scope:l};return setTimeout(()=>{ps==C&&(ps=null)},EC),!0}]})}let $=b.join(" ");r($,!1);let Q=g[$]||(g[$]={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())||[]});f&&Q.run.push(f),u&&(Q.preventDefault=!0),h&&(Q.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 f=l[e]||l.key;if(f)for(let u of o)s(u,f,l.run,l.preventDefault,l.stopPropagation),l.shift&&s(u,"Shift-"+f,l.shift,l.preventDefault,l.stopPropagation)}return t}function fQ(n,e,t,i){let r=d3(e),s=Xi(r,0),l=Pn(s)==r.length&&r!=" ",o="",f=!1,u=!1,h=!1;ps&&ps.view==t&&ps.scope==i&&(o=ps.prefix+" ",F$.indexOf(e.keyCode)<0&&(u=!0,ps=null));let O=new Set,p=Q=>{if(Q){for(let _ of Q.run)if(!O.has(_)&&(O.add(_),_(t,e)))return Q.stopPropagation&&(h=!0),!0;Q.preventDefault&&(Q.stopPropagation&&(h=!0),u=!0)}return!1},g=n[i],b,$;return g&&(p(g[o+Wf(r,e,!l)])?f=!0:l&&(e.altKey||e.metaKey||e.ctrlKey)&&!(Pe.windows&&e.ctrlKey&&e.altKey)&&(b=ys[e.keyCode])&&b!=r?(p(g[o+Wf(b,e,!0)])||e.shiftKey&&($=No[e.keyCode])!=r&&$!=b&&p(g[o+Wf($,e,!1)]))&&(f=!0):l&&e.shiftKey&&p(g[o+Wf(r,e,!0)])&&(f=!0),!f&&p(g._any)&&(f=!0)),u&&(f=!0),f&&h&&e.stopPropagation(),f}class aa{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=cQ(e);return[new aa(t,r.left-s.left,r.top-s.top,null,r.bottom-r.top)]}else return DC(e,t,i)}}function cQ(n){let e=n.scrollDOM.getBoundingClientRect();return{left:(n.textDirection==Gt.LTR?e.left:e.right-n.scrollDOM.clientWidth*n.scaleX)-n.scrollDOM.scrollLeft*n.scaleX,top:e.top-n.scrollDOM.scrollTop*n.scaleY}}function f1(n,e,t){let i=K.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:Kt.Text}}function DC(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==Gt.LTR,l=n.contentDOM,o=l.getBoundingClientRect(),f=cQ(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=VO(n,i),b=VO(n,r),$=g.type==Kt.Text?g:null,Q=b.type==Kt.Text?b:null;if($&&(n.lineWrapping||g.widgetLineBreaks)&&($=f1(n,i,$)),Q&&(n.lineWrapping||b.widgetLineBreaks)&&(Q=f1(n,r,Q)),$&&Q&&$.from==Q.from)return x(Z(t.from,t.to,$));{let X=$?Z(t.from,null,$):C(g,!1),R=Q?Z(null,t.to,Q):C(b,!0),I=[];return($||g).to<(Q||b).from-($&&Q?1:0)||g.widgetLineBreaks>1&&X.bottom+n.defaultLineHeight/2de&&ye.from=pe)break;Ne>Ee&&oe(Math.max(Me,Ee),X==null&&Me<=de,Math.min(Ne,pe),R==null&&Ne>=xe,Xe.dir)}if(Ee=fe.to+1,Ee>=pe)break}return z.length==0&&oe(de,X==null,xe,R==null,n.textDirection),{top:q,bottom:B,horizontal:z}}function C(X,R){let I=o.top+(R?X.top:X.bottom);return{top:I,bottom:I,horizontal:[]}}}function zC(n,e){return n.constructor==e.constructor&&n.eq(e)}class IC{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(Gf)!=e.state.facet(Gf)&&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(Gf);for(;t!zC(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 Gf=ve.define();function uQ(n){return[Oi.define(e=>new IC(e,n)),Gf.of(n)]}const hQ=!Pe.ios,Fo=ve.define({combine(n){return _r(n,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}});function NC(n={}){return[Fo.of(n),LC,BC,jC,A$.of(!0)]}function OQ(n){return n.startState.facet(Fo)!=n.state.facet(Fo)}const LC=uQ({above:!0,markers(n){let{state:e}=n,t=e.facet(Fo),i=[];for(let r of e.selection.ranges){let s=r==e.selection.main;if(r.empty?!s||hQ:t.drawRangeCursor){let l=s?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",o=r.empty?r:K.cursor(r.head,r.head>r.anchor?-1:1);for(let f of aa.forRange(n,l,o))i.push(f)}}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=OQ(n);return t&&c1(n.state,e),n.docChanged||n.selectionSet||t},mount(n,e){c1(e.state,n)},class:"cm-cursorLayer"});function c1(n,e){e.style.animationDuration=n.facet(Fo).cursorBlinkRate+"ms"}const BC=uQ({above:!1,markers(n){return n.state.selection.ranges.map(e=>e.empty?[]:aa.forRange(n,"cm-selectionBackground",e)).reduce((e,t)=>e.concat(t))},update(n,e){return n.docChanged||n.selectionSet||n.viewportChanged||OQ(n)},class:"cm-selectionLayer"}),dQ={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};hQ&&(dQ[".cm-line"].caretColor="transparent !important");const jC=Hs.highest(me.theme(dQ)),pQ=qe.define({map(n,e){return n==null?null:e.mapPos(n)}}),Xo=$i.define({create(){return null},update(n,e){return n!=null&&(n=e.changes.mapPos(n)),e.effects.reduce((t,i)=>i.is(pQ)?i.value:t,n)}}),FC=Oi.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:pQ.of(n)})}},{eventHandlers:{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 GC(){return[Xo,FC]}function u1(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 HC(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 KC{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,f,u,h)=>r(h,u,u+o[0].length,o,f);else if(typeof i=="function")this.addMatch=(o,f,u,h)=>{let O=i(o,f,u);O&&h(u,u+o[0].length,O)};else if(i)this.addMatch=(o,f,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 Qs,i=t.add.bind(t);for(let{from:r,to:s}of HC(e,this.maxLength))u1(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,f)=>{f>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 f=e.state.doc.lineAt(l),u=f.tof.from;l--)if(this.boundary.test(f.text[l-1-f.from])){h=l;break}for(;op.push(_.range($,Q));if(f==u)for(this.regexp.lastIndex=h-f.from;(g=this.regexp.exec(f.text))&&g.indexthis.addMatch(Q,e,$,b));t=t.update({filterFrom:h,filterTo:O,filter:($,Q)=>$O,add:p})}}return t}}const IO=/x/.unicode!=null?"gu":"g",JC=new RegExp(`[\0-\b +--Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,IO),e5={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 Vh=null;function t5(){var n;if(Vh==null&&typeof document<"u"&&document.body){let e=document.body.style;Vh=((n=e.tabSize)!==null&&n!==void 0?n:e.MozTabSize)!=null}return Vh||!1}const Hf=ve.define({combine(n){let e=_r(n,{render:null,specialChars:JC,addSpecialChars:null});return(e.replaceTabs=!t5())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,IO)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,IO)),e}});function i5(n={}){return[Hf.of(n),n5()]}let h1=null;function n5(){return h1||(h1=Oi.fromClass(class{constructor(n){this.view=n,this.decorations=Ze.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(n.state.facet(Hf)),this.decorations=this.decorator.createDeco(n)}makeDecorator(n){return new KC({regexp:n.specialChars,decoration:(e,t,i)=>{let{doc:r}=t.state,s=Xi(e[0],0);if(s==9){let l=r.lineAt(i),o=t.state.tabSize,f=ra(l.text,o,i-l.from);return Ze.replace({widget:new o5((o-f%o)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[s]||(this.decorationCache[s]=Ze.replace({widget:new l5(n,s)}))},boundary:n.replaceTabs?void 0:/[^]/})}update(n){let e=n.state.facet(Hf);n.startState.facet(Hf)!=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 r5="•";function s5(n){return n>=32?r5:n==10?"␤":String.fromCharCode(9216+n)}class l5 extends xs{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=s5(this.code),i=e.state.phrase("Control character")+" "+(e5[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 o5 extends xs{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 a5(){return c5}const f5=Ze.line({class:"cm-activeLine"}),c5=Oi.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(f5.range(r.from)),e=r.from)}return Ze.set(t)}},{decorations:n=>n.decorations}),NO=2e3;function u5(n,e,t){let i=Math.min(e.line,t.line),r=Math.max(e.line,t.line),s=[];if(e.off>NO||t.off>NO||e.col<0||t.col<0){let l=Math.min(e.off,t.off),o=Math.max(e.off,t.off);for(let f=i;f<=r;f++){let u=n.doc.line(f);u.length<=o&&s.push(K.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 f=i;f<=r;f++){let u=n.doc.line(f),h=yO(u.text,l,n.tabSize,!0);if(h<0)s.push(K.cursor(u.to));else{let O=yO(u.text,o,n.tabSize);s.push(K.range(u.from+h,u.from+O))}}}return s}function h5(n,e){let t=n.coordsAtPos(n.viewport.from);return t?Math.round(Math.abs((t.left-e)/n.defaultCharacterWidth)):-1}function O1(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>NO?-1:r==i.length?h5(n,e.clientX):ra(i.text,n.state.tabSize,t-i.from);return{line:i.number,col:s,off:r}}function O5(n,e){let t=O1(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=O1(n,r);if(!o)return i;let f=u5(n.state,t,o);return f.length?l?K.create(f.concat(i.ranges)):K.create(f):i}}:null}function d5(n){let e=(n==null?void 0:n.eventFilter)||(t=>t.altKey&&t.button==0);return me.mouseSelectionStyle.of((t,i)=>e(i)?O5(t,i):null)}const p5={Alt:[18,n=>!!n.altKey],Control:[17,n=>!!n.ctrlKey],Shift:[16,n=>!!n.shiftKey],Meta:[91,n=>!!n.metaKey]},g5={style:"cursor: crosshair"};function m5(n={}){let[e,t]=p5[n.key||"Alt"],i=Oi.fromClass(class{constructor(r){this.view=r,this.isDown=!1}set(r){this.isDown!=r&&(this.isDown=r,this.view.update([]))}},{eventHandlers:{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,me.contentAttributes.of(r=>{var s;return!((s=r.plugin(i))===null||s===void 0)&&s.isDown?g5:null})]}const xf="-10000px";class gQ{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){var t;let i=e.state.facet(this.facet),r=i.filter(l=>l);if(i===this.input){for(let l of this.tooltipViews)l.update&&l.update(e);return!1}let s=[];for(let l=0;l{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)||S5}}}),d1=new WeakMap,mQ=Oi.fromClass(class{constructor(n){this.view=n,this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=n.state.facet(qh);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 gQ(n,vd,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);e&&this.observeIntersection();let t=e||n.geometryChanged,i=n.state.facet(qh);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=xf,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);(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"){let r=this.manager.tooltipViews;i=r.length>0&&r[0].dom.offsetParent!=this.container.ownerDocument.body}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(qh).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=xf;continue}let g=f.arrow?u.dom.querySelector(".cm-tooltip-arrow"):null,b=g?7:0,$=p.right-p.left,Q=(e=d1.get(u))!==null&&e!==void 0?e:p.bottom-p.top,_=u.offset||$5,x=this.view.textDirection==Gt.LTR,Z=p.width>i.right-i.left?x?i.left:i.right-p.width:x?Math.min(O.left-(g?14:0)+_.x,i.right-$):Math.max(i.left,O.left-$+(g?14:0)-_.x),C=!!f.above;!f.strictSide&&(C?O.top-(p.bottom-p.top)-_.yi.bottom)&&C==i.bottom-O.bottom>O.top-i.top&&(C=!C);let X=(C?O.top-i.top:i.bottom-O.bottom)-b;if(XZ&&q.topR&&(R=C?q.top-Q-2-b:q.bottom+b+2);if(this.position=="absolute"?(h.style.top=(R-n.parent.top)/s+"px",h.style.left=(Z-n.parent.left)/r+"px"):(h.style.top=R/s+"px",h.style.left=Z/r+"px"),g){let q=O.left+(x?_.x:-_.x)-(Z+14-7);g.style.left=q/r+"px"}u.overlap!==!0&&l.push({left:Z,top:R,right:I,bottom:R+Q}),h.classList.toggle("cm-tooltip-above",C),h.classList.toggle("cm-tooltip-below",!C),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=xf}},{eventHandlers:{scroll(){this.maybeMeasure()}}}),b5=me.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"}}}),$5={x:0,y:0},vd=ve.define({enables:[mQ,b5]}),Oc=ve.define();class Pd{static create(e){return new Pd(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new gQ(e,Oc,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)}}const Q5=vd.compute([Oc],n=>{let e=n.facet(Oc).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:Pd.create,above:e[0].above,arrow:e.some(t=>t.arrow)}});class w5{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 f=e.bidiSpans(e.state.doc.lineAt(r)).find(h=>h.from<=r&&h.to>=r),u=f&&f.dir==Gt.RTL?-1:1;s=t.x{this.pending==o&&(this.pending=null,f&&e.dispatch({effects:this.setHover.of(f)}))},f=>Wn(e.state,f,"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&&!p1(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:!y5(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&&!p1(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 p1(n){for(let e=n;e;e=e.parentNode)if(e.nodeType==1&&e.classList.contains("cm-tooltip"))return!0;return!1}function y5(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&&f<=t}function v5(n,e={}){let t=qe.define(),i=$i.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,Zi.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(k5)&&(r=null);return r},provide:r=>Oc.from(r)});return[i,Oi.define(r=>new w5(r,n,i,t,e.hoverTime||300)),Q5]}function P5(n,e){let t=n.plugin(mQ);if(!t)return null;let i=t.manager.tooltips.indexOf(e);return i<0?null:t.manager.tooltipViews[i]}const k5=qe.define(),g1=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 Go(n,e){let t=n.plugin(SQ),i=t?t.specs.indexOf(e):-1;return i>-1?t.panels[i]:null}const SQ=Oi.fromClass(class{constructor(n){this.input=n.state.facet(Ho),this.specs=this.input.filter(t=>t),this.panels=this.specs.map(t=>t(n));let e=n.state.facet(g1);this.top=new Cf(n,!0,e.topContainer),this.bottom=new Cf(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(g1);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new Cf(n.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new Cf(n.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let t=n.state.facet(Ho);if(t!=this.input){let i=t.filter(f=>f),r=[],s=[],l=[],o=[];for(let f of i){let u=this.specs.indexOf(f),h;u<0?(h=f(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 f of o)f.dom.classList.add("cm-panel"),f.mount&&f.mount()}else for(let i of this.panels)i.update&&i.update(n)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:n=>me.scrollMargins.of(e=>{let t=e.plugin(n);return t&&{top:t.top.scrollMargin(),bottom:t.bottom.scrollMargin()}})});class Cf{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=m1(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=m1(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 m1(n){let e=n.nextSibling;return n.remove(),e}const Ho=ve.define({enables:SQ});class jr extends js{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}jr.prototype.elementClass="";jr.prototype.toDOM=void 0;jr.prototype.mapMode=Zi.TrackBefore;jr.prototype.startSide=jr.prototype.endSide=-1;jr.prototype.point=!0;const Kf=ve.define(),_5={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>Qt.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},qo=ve.define();function W5(n){return[bQ(),qo.of(Object.assign(Object.assign({},_5),n))]}const LO=ve.define({combine:n=>n.some(e=>e)});function bQ(n){let e=[x5];return n&&n.fixed===!1&&e.push(LO.of(!0)),e}const x5=Oi.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(qo).map(e=>new b1(n,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!n.state.facet(LO),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(LO)!=!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=Qt.iter(this.view.state.facet(Kf),this.view.viewport.from),i=[],r=this.gutters.map(s=>new C5(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==Kt.Text&&l){BO(t,i,o.from);for(let f of r)f.line(this.view,o,i);l=!1}else if(o.widget)for(let f of r)f.widget(this.view,o)}else if(s.type==Kt.Text){BO(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(qo),t=n.state.facet(qo),i=n.docChanged||n.heightChanged||n.viewportChanged||!Qt.eq(n.startState.facet(Kf),n.state.facet(Kf),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 b1(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=>me.scrollMargins.of(e=>{let t=e.plugin(n);return!t||t.gutters.length==0||!t.fixed?null:e.textDirection==Gt.LTR?{left:t.dom.offsetWidth*e.scaleX}:{right:t.dom.offsetWidth*e.scaleX}})});function S1(n){return Array.isArray(n)?n:[n]}function BO(n,e,t){for(;n.value&&n.from<=t;)n.from==t&&e.push(n.value),n.next()}class C5{constructor(e,t,i){this.gutter=e,this.height=i,this.i=0,this.cursor=Qt.iter(e.markers,t.from)}addElement(e,t,i){let{gutter:r}=this,s=t.top-this.height;if(this.i==r.elements.length){let l=new $Q(e,t.height,s,i);r.elements.push(l),r.dom.appendChild(l.dom)}else r.elements[this.i].update(e,t.height,s,i);this.height=t.bottom,this.i++}line(e,t,i){let r=[];BO(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 b1{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 f=s.getBoundingClientRect();l=(f.top+f.bottom)/2}else l=r.clientY;let o=e.lineBlockAtHeight(l-e.documentTop);t.domEventHandlers[i](e,o,r)&&r.preventDefault()});this.markers=S1(t.markers(e)),t.initialSpacer&&(this.spacer=new $Q(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=S1(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!Qt.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 $Q{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/e.scaleY+"px"),this.above!=i&&(this.dom.style.marginTop=(this.above=i)?i/e.scaleY+"px":""),X5(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,f=ss(o,f,u)||l(o,f,u):l}return i}})}});class Eh extends jr{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function Mh(n,e){return n.state.facet(wl).formatNumber(e,n.state)}const Z5=qo.compute([wl],n=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(T5)},lineMarker(e,t,i){return i.some(r=>r.toDOM)?null:new Eh(Mh(e,e.state.doc.lineAt(t.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet(wl)!=e.state.facet(wl),initialSpacer(e){return new Eh(Mh(e,$1(e.state.doc.lines)))},updateSpacer(e,t){let i=Mh(t.view,$1(t.view.state.doc.lines));return i==e.number?e:new Eh(i)},domEventHandlers:n.facet(wl).domEventHandlers}));function R5(n={}){return[wl.of(n),bQ(),Z5]}function $1(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(A5.range(r)))}return Qt.of(e)});function Y5(){return U5}function V5(n){let e;return{c(){e=k("div"),y(e,"class","mzn-editor svelte-1fycn7h")},m(t,i){V(t,e,i),n[7](e)},p:We,i:We,o:We,d(t){t&&Y(e),n[7](null)}}}function q5(n,e,t){let{state:i}=e,r,s;zc(()=>{t(6,s=new me({parent:r})),s.focus()});function l(){return s||null}function o(){return s?s.state:null}async function f(O){s&&(await ds(),s.dispatch({selection:{anchor:O}}))}function u(){s.focus()}function h(O){ui[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,f,u,s,h]}class E5 extends Ui{constructor(e){super(),Ai(this,e,q5,V5,Ri,{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 Mn=typeof window<"u"?window:null,kd=Mn===null,Ko=kd?void 0:Mn.document,ir="addEventListener",nr="removeEventListener",Dh="getBoundingClientRect",$o="_a",rr="_b",Dr="_c",Xf="horizontal",sr=function(){return!1},M5=kd?"calc":["","-webkit-","-moz-","-o-"].filter(function(n){var e=Ko.createElement("div");return e.style.cssText="width:"+n+"calc(9px)",!!e.style.length}).shift()+"calc",QQ=function(n){return typeof n=="string"||n instanceof String},Q1=function(n){if(QQ(n)){var e=Ko.querySelector(n);if(!e)throw new Error("Selector "+n+" did not match a DOM element");return e}return n},Di=function(n,e,t){var i=n[e];return i!==void 0?i:t},Tf=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},D5=function(n,e){var t=Ko.createElement("div");return t.className="gutter gutter-"+e,t},z5=function(n,e,t){var i={};return QQ(e)?i[n]=e:i[n]=M5+"("+e+"% - "+t+"px)",i},I5=function(n,e){var t;return t={},t[n]=e+"px",t},N5=function(n,e){if(e===void 0&&(e={}),kd)return{};var t=n,i,r,s,l,o,f;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=Di(e,"sizes")||t.map(function(){return 100/t.length}),b=Di(e,"minSize",100),$=Array.isArray(b)?b:t.map(function(){return b}),Q=Di(e,"maxSize",1/0),_=Array.isArray(Q)?Q:t.map(function(){return Q}),x=Di(e,"expandToMin",!1),Z=Di(e,"gutterSize",10),C=Di(e,"gutterAlign","center"),X=Di(e,"snapOffset",30),R=Array.isArray(X)?X:t.map(function(){return X}),I=Di(e,"dragInterval",1),q=Di(e,"direction",Xf),B=Di(e,"cursor",q===Xf?"col-resize":"row-resize"),z=Di(e,"gutter",D5),oe=Di(e,"elementStyle",z5),de=Di(e,"gutterStyle",I5);q===Xf?(i="width",r="clientX",s="left",l="right",o="clientWidth"):q==="vertical"&&(i="height",r="clientY",s="top",l="bottom",o="clientHeight");function xe(te,H,ie,ae){var Ke=oe(i,H,ie,ae);Object.keys(Ke).forEach(function(Je){te.style[Je]=Ke[Je]})}function ye(te,H,ie){var ae=de(i,H,ie);Object.keys(ae).forEach(function(Ke){te.style[Ke]=ae[Ke]})}function Ee(){return f.map(function(te){return te.size})}function pe(te){return"touches"in te?te.touches[0][r]:te[r]}function fe(te){var H=f[this.a],ie=f[this.b],ae=H.size+ie.size;H.size=te/this.size*ae,ie.size=ae-te/this.size*ae,xe(H.element,H.size,this[rr],H.i),xe(ie.element,ie.size,this[Dr],ie.i)}function Xe(te){var H,ie=f[this.a],ae=f[this.b];this.dragging&&(H=pe(te)-this.start+(this[rr]-this.dragOffset),I>1&&(H=Math.round(H/I)*I),H<=ie.minSize+ie.snapOffset+this[rr]?H=ie.minSize+this[rr]:H>=this.size-(ae.minSize+ae.snapOffset+this[Dr])&&(H=this.size-(ae.minSize+this[Dr])),H>=ie.maxSize-ie.snapOffset+this[rr]?H=ie.maxSize+this[rr]:H<=this.size-(ae.maxSize-ae.snapOffset+this[Dr])&&(H=this.size-(ae.maxSize+this[Dr])),fe.call(this,H),Di(e,"onDrag",sr)(Ee()))}function Me(){var te=f[this.a].element,H=f[this.b].element,ie=te[Dh](),ae=H[Dh]();this.size=ie[i]+ae[i]+this[rr]+this[Dr],this.start=ie[s],this.end=ie[l]}function Ne(te){if(!getComputedStyle)return null;var H=getComputedStyle(te);if(!H)return null;var ie=te[o];return ie===0?null:(q===Xf?ie-=parseFloat(H.paddingLeft)+parseFloat(H.paddingRight):ie-=parseFloat(H.paddingTop)+parseFloat(H.paddingBottom),ie)}function pt(te){var H=Ne(h);if(H===null||$.reduce(function(Je,ot){return Je+ot},0)>H)return te;var ie=0,ae=[],Ke=te.map(function(Je,ot){var Ot=H*Je/100,et=Tf(Z,ot===0,ot===te.length-1,C),se=$[ot]+et;return Ot0&&ae[ot]-ie>0){var et=Math.min(ie,ae[ot]-ie);ie-=et,Ot=Je-et}return Ot/H*100})}function Lt(){var te=this,H=f[te.a].element,ie=f[te.b].element;te.dragging&&Di(e,"onDragEnd",sr)(Ee()),te.dragging=!1,Mn[nr]("mouseup",te.stop),Mn[nr]("touchend",te.stop),Mn[nr]("touchcancel",te.stop),Mn[nr]("mousemove",te.move),Mn[nr]("touchmove",te.move),te.stop=null,te.move=null,H[nr]("selectstart",sr),H[nr]("dragstart",sr),ie[nr]("selectstart",sr),ie[nr]("dragstart",sr),H.style.userSelect="",H.style.webkitUserSelect="",H.style.MozUserSelect="",H.style.pointerEvents="",ie.style.userSelect="",ie.style.webkitUserSelect="",ie.style.MozUserSelect="",ie.style.pointerEvents="",te.gutter.style.cursor="",te.parent.style.cursor="",Ko.body.style.cursor=""}function ti(te){if(!("button"in te&&te.button!==0)){var H=this,ie=f[H.a].element,ae=f[H.b].element;H.dragging||Di(e,"onDragStart",sr)(Ee()),te.preventDefault(),H.dragging=!0,H.move=Xe.bind(H),H.stop=Lt.bind(H),Mn[ir]("mouseup",H.stop),Mn[ir]("touchend",H.stop),Mn[ir]("touchcancel",H.stop),Mn[ir]("mousemove",H.move),Mn[ir]("touchmove",H.move),ie[ir]("selectstart",sr),ie[ir]("dragstart",sr),ae[ir]("selectstart",sr),ae[ir]("dragstart",sr),ie.style.userSelect="none",ie.style.webkitUserSelect="none",ie.style.MozUserSelect="none",ie.style.pointerEvents="none",ae.style.userSelect="none",ae.style.webkitUserSelect="none",ae.style.MozUserSelect="none",ae.style.pointerEvents="none",H.gutter.style.cursor=B,H.parent.style.cursor=B,Ko.body.style.cursor=B,Me.call(H),H.dragOffset=pe(te)-H.end}}g=pt(g);var xt=[];f=t.map(function(te,H){var ie={element:Q1(te),size:g[H],minSize:$[H],maxSize:_[H],snapOffset:R[H],i:H},ae;if(H>0&&(ae={a:H-1,b:H,dragging:!1,direction:q,parent:h},ae[rr]=Tf(Z,H-1===0,!1,C),ae[Dr]=Tf(Z,!1,H===t.length-1,C),p==="row-reverse"||p==="column-reverse")){var Ke=ae.a;ae.a=ae.b,ae.b=Ke}if(H>0){var Je=z(H,q,ie.element);ye(Je,Z,H),ae[$o]=ti.bind(ae),Je[ir]("mousedown",ae[$o]),Je[ir]("touchstart",ae[$o]),h.insertBefore(Je,ie.element),ae.gutter=Je}return xe(ie.element,ie.size,Tf(Z,H===0,H===t.length-1,C),H),H>0&&xt.push(ae),ie});function Ct(te){var H=te.i===xt.length,ie=H?xt[te.i-1]:xt[te.i];Me.call(ie);var ae=H?ie.size-te.minSize-ie[Dr]:te.minSize+ie[rr];fe.call(ie,ae)}f.forEach(function(te){var H=te.element[Dh]()[i];H0){var Ke=xt[ae-1],Je=f[Ke.a],ot=f[Ke.b];Je.size=H[ae-1],ot.size=ie,xe(Je.element,Je.size,Ke[rr],Je.i),xe(ot.element,ot.size,Ke[Dr],ot.i)}})}function be(te,H){xt.forEach(function(ie){if(H!==!0?ie.parent.removeChild(ie.gutter):(ie.gutter[nr]("mousedown",ie[$o]),ie.gutter[nr]("touchstart",ie[$o])),te!==!0){var ae=oe(i,ie.a.size,ie[rr]);Object.keys(ae).forEach(function(Ke){f[ie.a].element.style[Ke]="",f[ie.b].element.style[Ke]=""})}})}return{setSizes:Zt,getSizes:Ee,collapse:function(H){Ct(f[H])},destroy:be,parent:h,pairs:xt}};const L5=n=>({}),w1=n=>({}),B5=n=>({}),y1=n=>({});function j5(n){let e,t,i,r,s;const l=n[6].panelA,o=an(l,n,n[5],y1),f=n[6].panelB,u=an(f,n,n[5],w1);return{c(){e=k("div"),t=k("div"),o&&o.c(),i=N(),r=k("div"),u&&u.c(),y(t,"class","split-panel svelte-e8t4e8"),le(t,"no-splitter",n[1]!=="all"),le(t,"is-hidden",!Zf("a",n[1])),y(r,"class","split-panel svelte-e8t4e8"),le(r,"no-splitter",n[1]!=="all"),le(r,"is-hidden",!Zf("b",n[1])),y(e,"class","split svelte-e8t4e8"),le(e,"horizontal",n[0]==="horizontal")},m(h,O){V(h,e,O),v(e,t),o&&o.m(t,null),n[7](t),v(e,i),v(e,r),u&&u.m(r,null),n[8](r),s=!0},p(h,[O]){o&&o.p&&(!s||O&32)&&cn(o,l,h,h[5],s?fn(l,h[5],O,B5):un(h[5]),y1),(!s||O&2)&&le(t,"no-splitter",h[1]!=="all"),(!s||O&2)&&le(t,"is-hidden",!Zf("a",h[1])),u&&u.p&&(!s||O&32)&&cn(u,f,h,h[5],s?fn(f,h[5],O,L5):un(h[5]),w1),(!s||O&2)&&le(r,"no-splitter",h[1]!=="all"),(!s||O&2)&&le(r,"is-hidden",!Zf("b",h[1])),(!s||O&1)&&le(e,"horizontal",h[0]==="horizontal")},i(h){s||(D(o,h),D(u,h),s=!0)},o(h){F(o,h),F(u,h),s=!1},d(h){h&&Y(e),o&&o.d(h),n[7](null),u&&u.d(h),n[8](null)}}}function Zf(n,e){return e==="all"||e===n}function F5(n,e,t){let{$$slots:i={},$$scope:r}=e,{direction:s="horizontal"}=e,{split:l=50}=e,{showPanels:o="all"}=e,f,u,h=null;function O(Q,_){p(),_==="all"&&f&&u&&(console.log(Q),h=N5([f,u],{direction:Q,minSize:0,sizes:[l,100-l],onDragEnd(x){t(4,l=x[0])}}))}function p(){h&&(h.destroy(),h=null)}function g(Q){h&&h.getSizes()[0]!==Q&&h.setSizes([Q,100-Q])}zc(()=>(O(s,o),p));function b(Q){ui[Q?"unshift":"push"](()=>{f=Q,t(2,f)})}function $(Q){ui[Q?"unshift":"push"](()=>{u=Q,t(3,u)})}return n.$$set=Q=>{"direction"in Q&&t(0,s=Q.direction),"split"in Q&&t(4,l=Q.split),"showPanels"in Q&&t(1,o=Q.showPanels),"$$scope"in Q&&t(5,r=Q.$$scope)},n.$$.update=()=>{n.$$.dirty&3&&O(s,o),n.$$.dirty&16&&g(l)},[s,o,f,u,l,r,i,b,$]}class G5 extends Ui{constructor(e){super(),Ai(this,e,F5,j5,Ri,{direction:0,split:4,showPanels:1})}}const Rf=parseFloat;function jO(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 H5(n,e,t,i){let r,s;const l="1em";let o,f,u,h="-.125em";const O="visible";return i&&(u="center",s="1.25em"),t&&(r=t),e&&(e=="lg"?(f="1.33333em",o=".75em",h="-.225em"):e=="xs"?f=".75em":e=="sm"?f=".875em":f=e.replace("x","em")),jO([jO({float:r,width:s,height:l,"line-height":o,"font-size":f,"text-align":u,"vertical-align":h,"transform-origin":"center",overflow:O}),n])}function K5(n,e,t,i,r,s=1,l="",o=""){let f=1,u=1;return r&&(r=="horizontal"?f=-1:r=="vertical"?u=-1:f=u=-1),jO([`translate(${Rf(e)*s}${l},${Rf(t)*s}${l})`,`scale(${f*Rf(n)},${u*Rf(n)})`,i&&`rotate(${i}${o})`]," ")}function v1(n){let e,t,i,r,s,l,o,f;function u(p,g){return typeof p[10][4]=="string"?e4:J5}let h=u(n),O=h(n);return{c(){e=_l("svg"),t=_l("g"),i=_l("g"),O.c(),y(i,"transform",n[12]),y(t,"transform",r="translate("+n[10][0]/2+" "+n[10][1]/2+")"),y(t,"transform-origin",s=n[10][0]/4+" 0"),y(e,"id",l=n[1]||void 0),y(e,"class",o="svelte-fa "+n[0]+" svelte-1cj2gr0"),y(e,"style",n[11]),y(e,"viewBox",f="0 0 "+n[10][0]+" "+n[10][1]),y(e,"aria-hidden","true"),y(e,"role","img"),y(e,"xmlns","http://www.w3.org/2000/svg"),le(e,"pulse",n[4]),le(e,"spin",n[3])},m(p,g){V(p,e,g),v(e,t),v(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&&y(i,"transform",p[12]),g&1024&&r!==(r="translate("+p[10][0]/2+" "+p[10][1]/2+")")&&y(t,"transform",r),g&1024&&s!==(s=p[10][0]/4+" 0")&&y(t,"transform-origin",s),g&2&&l!==(l=p[1]||void 0)&&y(e,"id",l),g&1&&o!==(o="svelte-fa "+p[0]+" svelte-1cj2gr0")&&y(e,"class",o),g&2048&&y(e,"style",p[11]),g&1024&&f!==(f="0 0 "+p[10][0]+" "+p[10][1])&&y(e,"viewBox",f),g&17&&le(e,"pulse",p[4]),g&9&&le(e,"spin",p[3])},d(p){p&&Y(e),O.d()}}}function J5(n){let e,t,i,r,s,l,o,f,u,h;return{c(){e=_l("path"),l=_l("path"),y(e,"d",t=n[10][4][0]),y(e,"fill",i=n[6]||n[2]||"currentColor"),y(e,"fill-opacity",r=n[9]!=!1?n[7]:n[8]),y(e,"transform",s="translate("+n[10][0]/-2+" "+n[10][1]/-2+")"),y(l,"d",o=n[10][4][1]),y(l,"fill",f=n[5]||n[2]||"currentColor"),y(l,"fill-opacity",u=n[9]!=!1?n[8]:n[7]),y(l,"transform",h="translate("+n[10][0]/-2+" "+n[10][1]/-2+")")},m(O,p){V(O,e,p),V(O,l,p)},p(O,p){p&1024&&t!==(t=O[10][4][0])&&y(e,"d",t),p&68&&i!==(i=O[6]||O[2]||"currentColor")&&y(e,"fill",i),p&896&&r!==(r=O[9]!=!1?O[7]:O[8])&&y(e,"fill-opacity",r),p&1024&&s!==(s="translate("+O[10][0]/-2+" "+O[10][1]/-2+")")&&y(e,"transform",s),p&1024&&o!==(o=O[10][4][1])&&y(l,"d",o),p&36&&f!==(f=O[5]||O[2]||"currentColor")&&y(l,"fill",f),p&896&&u!==(u=O[9]!=!1?O[8]:O[7])&&y(l,"fill-opacity",u),p&1024&&h!==(h="translate("+O[10][0]/-2+" "+O[10][1]/-2+")")&&y(l,"transform",h)},d(O){O&&(Y(e),Y(l))}}}function e4(n){let e,t,i,r;return{c(){e=_l("path"),y(e,"d",t=n[10][4]),y(e,"fill",i=n[2]||n[5]||"currentColor"),y(e,"transform",r="translate("+n[10][0]/-2+" "+n[10][1]/-2+")")},m(s,l){V(s,e,l)},p(s,l){l&1024&&t!==(t=s[10][4])&&y(e,"d",t),l&36&&i!==(i=s[2]||s[5]||"currentColor")&&y(e,"fill",i),l&1024&&r!==(r="translate("+s[10][0]/-2+" "+s[10][1]/-2+")")&&y(e,"transform",r)},d(s){s&&Y(e)}}}function t4(n){let e,t=n[10][4]&&v1(n);return{c(){t&&t.c(),e=fi()},m(i,r){t&&t.m(i,r),V(i,e,r)},p(i,[r]){i[10][4]?t?t.p(i,r):(t=v1(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:We,o:We,d(i){i&&Y(e),t&&t.d(i)}}}function i4(n,e,t){let{class:i=""}=e,{id:r=""}=e,{style:s=""}=e,{icon:l}=e,{size:o=""}=e,{color:f=""}=e,{fw:u=!1}=e,{pull:h=""}=e,{scale:O=1}=e,{translateX:p=0}=e,{translateY:g=0}=e,{rotate:b=""}=e,{flip:$=!1}=e,{spin:Q=!1}=e,{pulse:_=!1}=e,{primaryColor:x=""}=e,{secondaryColor:Z=""}=e,{primaryOpacity:C=1}=e,{secondaryOpacity:X=.4}=e,{swapOpacity:R=!1}=e,I,q,B;return n.$$set=z=>{"class"in z&&t(0,i=z.class),"id"in z&&t(1,r=z.id),"style"in z&&t(13,s=z.style),"icon"in z&&t(14,l=z.icon),"size"in z&&t(15,o=z.size),"color"in z&&t(2,f=z.color),"fw"in z&&t(16,u=z.fw),"pull"in z&&t(17,h=z.pull),"scale"in z&&t(18,O=z.scale),"translateX"in z&&t(19,p=z.translateX),"translateY"in z&&t(20,g=z.translateY),"rotate"in z&&t(21,b=z.rotate),"flip"in z&&t(22,$=z.flip),"spin"in z&&t(3,Q=z.spin),"pulse"in z&&t(4,_=z.pulse),"primaryColor"in z&&t(5,x=z.primaryColor),"secondaryColor"in z&&t(6,Z=z.secondaryColor),"primaryOpacity"in z&&t(7,C=z.primaryOpacity),"secondaryOpacity"in z&&t(8,X=z.secondaryOpacity),"swapOpacity"in z&&t(9,R=z.swapOpacity)},n.$$.update=()=>{n.$$.dirty&16384&&t(10,I=l&&l.icon||[0,0,"",[],""]),n.$$.dirty&237568&&t(11,q=H5(s,o,h,u)),n.$$.dirty&8126464&&t(12,B=K5(O,p,g,b,$,512))},[i,r,f,Q,_,x,Z,C,X,R,I,q,B,s,l,o,u,h,O,p,g,b,$]}class n4 extends Ui{constructor(e){super(),Ai(this,e,i4,t4,Ri,{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 Wt=n4;var FO={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"]},wQ={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"]},P1={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"]},r4={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"]},s4={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"]},yQ={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"]},k1={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"]},l4={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"]},_1={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"]},vQ={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"]},o4={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"]},PQ=o4,a4={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"]},f4={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"]},c4={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"]},u4={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"]},h4={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"]},O4={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"]},kQ={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"]},_Q={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"]},d4={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"]},WQ={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 p4(n){let e,t,i,r,s,l,o,f,u=n[0]&&!n[3]&&W1(n);return{c(){e=k("span"),t=$e(n[1]),i=$e(n[2]),r=N(),u&&u.c(),s=fi(),y(e,"class","filename svelte-1ul6ap")},m(h,O){V(h,e,O),v(e,t),v(e,i),V(h,r,O),u&&u.m(h,O),V(h,s,O),l=!0,o||(f=re(e,"click",n[8]),o=!0)},p(h,O){(!l||O&2)&&Be(t,h[1]),(!l||O&4)&&Be(i,h[2]),h[0]&&!h[3]?u?(u.p(h,O),O&9&&D(u,1)):(u=W1(h),u.c(),D(u,1),u.m(s.parentNode,s)):u&&(tt(),F(u,1,1,()=>{u=null}),it())},i(h){l||(D(u),l=!0)},o(h){F(u),l=!1},d(h){h&&(Y(e),Y(r),Y(s)),u&&u.d(h),o=!1,f()}}}function g4(n){let e,t,i,r,s;return{c(){e=k("input"),i=$e(n[2]),y(e,"size",t=n[4].length||n[1].length),y(e,"placeholder",n[1])},m(l,o){V(l,e,o),n[11](e),Ni(e,n[4]),V(l,i,o),r||(s=[re(e,"input",n[12]),re(e,"blur",n[10]),re(e,"keyup",n[9])],r=!0)},p(l,o){o&18&&t!==(t=l[4].length||l[1].length)&&y(e,"size",t),o&2&&y(e,"placeholder",l[1]),o&16&&e.value!==l[4]&&Ni(e,l[4]),o&4&&Be(i,l[2])},i:We,o:We,d(l){l&&(Y(e),Y(i)),n[11](null),r=!1,Nt(s)}}}function W1(n){let e,t,i,r,s;return t=new Wt({props:{icon:_Q}}),{c(){e=k("span"),Ve(t.$$.fragment),y(e,"class","close-tab svelte-1ul6ap")},m(l,o){V(l,e,o),Ue(t,e,null),i=!0,r||(s=re(e,"click",n[13]),r=!0)},p:We,i(l){i||(D(t.$$.fragment,l),i=!0)},o(l){F(t.$$.fragment,l),i=!1},d(l){l&&Y(e),Ye(t),r=!1,s()}}}function m4(n){let e,t,i,r,s,l;const o=[g4,p4],f=[];function u(h,O){return h[5]?0:1}return t=u(n),i=f[t]=o[t](n),{c(){e=k("a"),i.c(),y(e,"class","filename-link svelte-1ul6ap"),le(e,"active",n[0]),le(e,"readonly",n[3])},m(h,O){V(h,e,O),f[t].m(e,null),r=!0,s||(l=re(e,"click",n[14]),s=!0)},p(h,[O]){let p=t;t=u(h),t===p?f[t].p(h,O):(tt(),F(f[p],1,1,()=>{f[p]=null}),it(),i=f[t],i?i.p(h,O):(i=f[t]=o[t](h),i.c()),D(i,1),i.m(e,null)),(!r||O&1)&&le(e,"active",h[0]),(!r||O&8)&&le(e,"readonly",h[3])},i(h){r||(D(i),r=!0)},o(h){F(i),r=!1},d(h){h&&Y(e),f[t].d(),s=!1,l()}}}function S4(n,e,t){let{active:i=!1}=e,{name:r="Untitled"}=e,{suffix:s=".mzn"}=e,{readonly:l=!1}=e;const o=Fn();let f=!1,u,h="";async function O(){!i||l||(t(5,f=!0),t(4,h=r),await ds(),u.focus())}function p(x){x.key==="Enter"?(x.preventDefault(),g()):x.key==="Escape"&&t(5,f=!1)}function g(){t(5,f=!1),h.length>0&&o("rename",{name:h,suffix:s})}function b(x){ui[x?"unshift":"push"](()=>{u=x,t(6,u)})}function $(){h=this.value,t(4,h)}const Q=()=>o("close"),_=()=>{f||o("click")};return n.$$set=x=>{"active"in x&&t(0,i=x.active),"name"in x&&t(1,r=x.name),"suffix"in x&&t(2,s=x.suffix),"readonly"in x&&t(3,l=x.readonly)},n.$$.update=()=>{n.$$.dirty&16&&/[\/\\\.]/.test(h)&&t(4,h=h.replaceAll(/[\/\\\.]/g,""))},[i,r,s,l,h,f,u,o,O,p,g,b,$,Q,_]}class b4 extends Ui{constructor(e){super(),Ai(this,e,S4,m4,Ri,{active:0,name:1,suffix:2,readonly:3})}}function xQ(n){const e=n-1;return e*e*e+1}function $4(n,{from:e,to:t},i={}){const r=getComputedStyle(n),s=r.transform==="none"?"":r.transform,[l,o]=r.transformOrigin.split(" ").map(parseFloat),f=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=xQ}=i;return{delay:h,duration:Dc(O)?O(Math.sqrt(f*f+u*u)):O,easing:p,css:(g,b)=>{const $=b*f,Q=b*u,_=g+b*e.width/t.width,x=g+b*e.height/t.height;return`transform: ${s} translate(${$}px, ${Q}px) scale(${_}, ${x});`}}}function x1(n,e,t){const i=n.slice();return i[19]=e[t],i}function C1(n,e){let t,i,r,s=We,l,o,f;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 b4({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=k("li"),Ve(i.$$.fragment),y(t,"draggable",!0),le(t,"is-active",e[0]===e[19].index),this.first=t},m(b,$){V(b,t,$),Ue(i,t,null),l=!0,o||(f=[re(t,"dragstart",p),re(t,"dragover",e[7]),re(t,"drop",g)],o=!0)},p(b,$){e=b;const Q={};$&4&&(Q.name=e[19].stem),$&4&&(Q.suffix=e[19].suffix),$&5&&(Q.active=e[0]===e[19].index),$&6&&(Q.readonly=e[1]||e[19].readonlyTab),i.$set(Q),(!l||$&5)&&le(t,"is-active",e[0]===e[19].index)},r(){r=t.getBoundingClientRect()},f(){Ax(t),s()},a(){s(),s=Rx(t,r,$4,{duration:200})},i(b){l||(D(i.$$.fragment,b),l=!0)},o(b){F(i.$$.fragment,b),l=!1},d(b){b&&Y(t),Ye(i),o=!1,Nt(f)}}}function X1(n){let e,t,i,r,s,l,o,f,u,h,O,p;return r=new Wt({props:{icon:kQ}}),u=new Wt({props:{icon:a4}}),{c(){e=k("li"),t=k("a"),i=k("span"),Ve(r.$$.fragment),s=N(),l=k("li"),o=k("button"),f=k("span"),Ve(u.$$.fragment),y(i,"class","icon add-icon svelte-7ub6h4"),y(t,"title","Add new file"),y(f,"class","icon"),y(o,"class","button is-small"),y(o,"title","Manage files"),y(l,"class","right svelte-7ub6h4")},m(g,b){V(g,e,b),v(e,t),v(t,i),Ue(r,i,null),V(g,s,b),V(g,l,b),v(l,o),v(o,f),Ue(u,f,null),h=!0,O||(p=[re(t,"click",n[16]),re(o,"click",n[17])],O=!0)},p:We,i(g){h||(D(r.$$.fragment,g),D(u.$$.fragment,g),h=!0)},o(g){F(r.$$.fragment,g),F(u.$$.fragment,g),h=!1},d(g){g&&(Y(e),Y(s),Y(l)),Ye(r),Ye(u),O=!1,Nt(p)}}}function Q4(n){let e,t,i=[],r=new Map,s,l,o=nt(n[2]);const f=h=>h[19].name;for(let h=0;h{u=null}),it()):u?(u.p(h,O),O&2&&D(u,1)):(u=X1(h),u.c(),D(u,1),u.m(t,null))},i(h){if(!l){for(let O=0;Of(R.index),Q=(R,I)=>u(I,R.index),_=(R,I)=>b(R.index),x=(R,I)=>O(I,R.index),Z=(R,I)=>g(I,R.index),C=()=>o("newFile"),X=()=>o("manageFiles");return n.$$set=R=>{"files"in R&&t(10,r=R.files),"currentIndex"in R&&t(0,s=R.currentIndex),"readonly"in R&&t(1,l=R.readonly)},n.$$.update=()=>{n.$$.dirty&1024&&t(2,i=r.map((R,I)=>{const q=R.name.endsWith(".mzc.mzn")?R.name.length-8:R.name.lastIndexOf(".");return{...R,stem:R.name.substring(0,q),suffix:R.name.substring(q),index:I}}).filter(R=>!R.hidden))},[s,l,i,o,f,u,O,p,g,b,r,$,Q,_,x,Z,C,X]}class y4 extends Ui{constructor(e){super(),Ai(this,e,w4,Q4,Ri,{files:10,currentIndex:0,readonly:1})}}function T1(n,{delay:e=0,duration:t=400,easing:i=hd}={}){const r=+getComputedStyle(n).opacity;return{delay:e,duration:t,easing:i,css:s=>`opacity: ${s*r}`}}function dc(n,{delay:e=0,duration:t=400,easing:i=xQ,x:r=0,y:s=0,opacity:l=0}={}){const o=getComputedStyle(n),f=+o.opacity,u=o.transform==="none"?"":o.transform,h=f*(1-l),[O,p]=fm(r),[g,b]=fm(s);return{delay:e,duration:t,easing:i,css:($,Q)=>` + transform: ${u} translate(${(1-$)*O}${p}, ${(1-$)*g}${b}); + opacity: ${f-h*Q}`}}const v4=n=>({}),Z1=n=>({});function R1(n){let e,t,i,r,s,l,o,f,u,h,O,p,g,b,$,Q,_,x;const Z=n[4].default,C=an(Z,n,n[3],null),X=n[4].footer,R=an(X,n,n[3],Z1),I=R||P4(n);return{c(){e=k("div"),t=k("div"),i=N(),r=k("div"),s=k("header"),l=k("p"),o=$e(n[0]),f=N(),u=k("button"),h=N(),O=k("section"),C&&C.c(),p=N(),g=k("footer"),I&&I.c(),y(t,"class","modal-background"),y(l,"class","modal-card-title"),y(u,"class","delete"),y(u,"aria-label","close"),y(s,"class","modal-card-head"),y(O,"class","modal-card-body"),y(g,"class","modal-card-foot"),y(r,"class","modal-card"),y(e,"class","modal is-active")},m(q,B){V(q,e,B),v(e,t),v(e,i),v(e,r),v(r,s),v(s,l),v(l,o),v(s,f),v(s,u),v(r,h),v(r,O),C&&C.m(O,null),v(r,p),v(r,g),I&&I.m(g,null),Q=!0,_||(x=[re(t,"click",n[2]),re(u,"click",n[2])],_=!0)},p(q,B){(!Q||B&1)&&Be(o,q[0]),C&&C.p&&(!Q||B&8)&&cn(C,Z,q,q[3],Q?fn(Z,q[3],B,null):un(q[3]),null),R&&R.p&&(!Q||B&8)&&cn(R,X,q,q[3],Q?fn(X,q[3],B,v4):un(q[3]),Z1)},i(q){Q||(D(C,q),D(I,q),q&&ar(()=>{Q&&(b||(b=Ql(r,dc,{y:-200,duration:200},!0)),b.run(1))}),q&&ar(()=>{Q&&($||($=Ql(e,T1,{duration:200},!0)),$.run(1))}),Q=!0)},o(q){F(C,q),F(I,q),q&&(b||(b=Ql(r,dc,{y:-200,duration:200},!1)),b.run(0)),q&&($||($=Ql(e,T1,{duration:200},!1)),$.run(0)),Q=!1},d(q){q&&Y(e),C&&C.d(q),I&&I.d(q),q&&b&&b.end(),q&&$&&$.end(),_=!1,Nt(x)}}}function P4(n){let e,t,i;return{c(){e=k("button"),e.textContent="Cancel",y(e,"class","button")},m(r,s){V(r,e,s),t||(i=re(e,"click",n[2]),t=!0)},p:We,d(r){r&&Y(e),t=!1,i()}}}function k4(n){let e,t,i=n[1]&&R1(n);return{c(){i&&i.c(),e=fi()},m(r,s){i&&i.m(r,s),V(r,e,s),t=!0},p(r,[s]){r[1]?i?(i.p(r,s),s&2&&D(i,1)):(i=R1(r),i.c(),D(i,1),i.m(e.parentNode,e)):i&&(tt(),F(i,1,1,()=>{i=null}),it())},i(r){t||(D(i),t=!0)},o(r){F(i),t=!1},d(r){r&&Y(e),i&&i.d(r)}}}function _4(n,e,t){let{$$slots:i={},$$scope:r}=e,{title:s}=e,{active:l=!1}=e;const o=Fn();function f(){o("cancel")}return n.$$set=u=>{"title"in u&&t(0,s=u.title),"active"in u&&t(1,l=u.active),"$$scope"in u&&t(3,r=u.$$scope)},[s,l,f,r,i]}class Yl extends Ui{constructor(e){super(),Ai(this,e,_4,k4,Ri,{title:0,active:1})}}const CQ=1024;let W4=0;class In{constructor(e,t){this.from=e,this.to=t}}class Fe{constructor(e={}){this.id=W4++,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=Ji.match(e)),t=>{let i=e(t);return i===void 0?null:[this,i]}}}Fe.closedBy=new Fe({deserialize:n=>n.split(" ")});Fe.openedBy=new Fe({deserialize:n=>n.split(" ")});Fe.group=new Fe({deserialize:n=>n.split(" ")});Fe.contextHash=new Fe({perNode:!0});Fe.lookAhead=new Fe({perNode:!0});Fe.mounted=new Fe({perNode:!0});class x4{constructor(e,t,i){this.tree=e,this.overlay=t,this.parser=i}}const C4=Object.create(null);class Ji{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):C4,i=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new Ji(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(Fe.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(Fe.group),s=-1;s<(r?r.length:0);s++){let l=t[s<0?i.name:r[s]];if(l)return l}}}}Ji.none=new Ji("",Object.create(null),0,8);class _d{constructor(e){this.types=e;for(let t=0;t=r&&(l.type.isAnonymous||t(l)!==!1)){if(l.firstChild())continue;o=!0}for(;o&&i&&!l.type.isAnonymous&&i(l),!l.nextSibling();){if(!l.parent())return;o=!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:Cd(Ji.none,this.children,this.positions,0,this.children.length,0,this.length,(t,i,r)=>new Ht(this.type,t,i,r,this.propValues),e.makeTree||((t,i,r)=>new Ht(Ji.none,t,i,r)))}static build(e){return T4(e)}}Ht.empty=new Ht(Ji.none,[],[],0);class Wd{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 Wd(this.buffer,this.index)}}class Ks{constructor(e,t,i){this.buffer=e,this.length=t,this.set=i}get type(){return Ji.none}toString(){let e=[];for(let t=0;t0));f=l[f+3]);return o}slice(e,t,i){let r=this.buffer,s=new Uint16Array(t-e),l=0;for(let o=e,f=0;o=e&&te;case 1:return t<=e&&i>e;case 2:return i>e;case 4:return!0}}function TQ(n,e){let t=n.childBefore(e);for(;t;){let i=t.lastChild;if(!i||i.to!=t.to)break;i.type.isError&&i.from==i.to?(n=t,t=i.prevSibling):t=i}return n}function Vl(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=f[e]+l.from;if(XQ(r,i,O,O+h.length)){if(h instanceof Ks){if(s&Ut.ExcludeBuffers)continue;let p=h.findChild(0,h.buffer.length,t,i-O,r);if(p>-1)return new wr(new X4(l,h,e,O),null,p)}else if(s&Ut.IncludeAnonymous||!h.type.isAnonymous||xd(h)){let p;if(!(s&Ut.IgnoreMounts)&&h.props&&(p=h.prop(Fe.mounted))&&!p.overlay)return new Bn(p.tree,O,e,l);let g=new Bn(h,O,e,l);return s&Ut.IncludeAnonymous||!g.type.isAnonymous?g:g.nextChild(t<0?h.children.length-1:0,t,i,r)}}}if(s&Ut.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&Ut.IgnoreOverlays)&&(r=this._tree.prop(Fe.mounted))&&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 Bn(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}cursor(e=0){return new Jo(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return Vl(this,e,t,!1)}resolveInner(e,t=0){return Vl(this,e,t,!0)}enterUnfinishedNodesBefore(e){return TQ(this,e)}getChild(e,t=null,i=null){let r=pc(this,e,t,i);return r.length?r[0]:null}getChildren(e,t=null,i=null){return pc(this,e,t,i)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return gc(this,e)}}function pc(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 gc(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 X4{constructor(e,t,i,r){this.parent=e,this.buffer=t,this.index=i,this.start=r}}class wr{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){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 wr(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&Ut.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 wr(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 wr(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 wr(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new Jo(this,e)}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 Ht(this.type,e,t,this.to-this.from)}resolve(e,t=0){return Vl(this,e,t,!1)}resolveInner(e,t=0){return Vl(this,e,t,!0)}enterUnfinishedNodesBefore(e){return TQ(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,i=null){let r=pc(this,e,t,i);return r.length?r[0]:null}getChildren(e,t=null,i=null){return pc(this,e,t,i)}get node(){return this}matchContext(e){return gc(this,e)}}class Jo{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 Bn)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 Bn?(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&Ut.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,i))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Ut.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Ut.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&Ut.IncludeAnonymous||o instanceof Ks||!o.type.isAnonymous||xd(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 gc(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 xd(n){return n.children.some(e=>e instanceof Ks||!e.type.isAnonymous||xd(e))}function T4(n){var e;let{buffer:t,nodeSet:i,maxBufferLength:r=CQ,reused:s=[],minRepeatType:l=i.types.length}=n,o=Array.isArray(t)?new Wd(t,t.length):t,f=i.types,u=0,h=0;function O(C,X,R,I,q){let{id:B,start:z,end:oe,size:de}=o,xe=h;for(;de<0;)if(o.next(),de==-1){let Xe=s[B];R.push(Xe),I.push(z-C);return}else if(de==-3){u=B;return}else if(de==-4){h=B;return}else throw new RangeError(`Unrecognized record size: ${de}`);let ye=f[B],Ee,pe,fe=z-C;if(oe-z<=r&&(pe=$(o.pos-X,q))){let Xe=new Uint16Array(pe.size-pe.skip),Me=o.pos-pe.size,Ne=Xe.length;for(;o.pos>Me;)Ne=Q(pe.start,Xe,Ne);Ee=new Ks(Xe,oe-pe.start,i),fe=pe.start-C}else{let Xe=o.pos-de;o.next();let Me=[],Ne=[],pt=B>=l?B:-1,Lt=0,ti=oe;for(;o.pos>Xe;)pt>=0&&o.id==pt&&o.size>=0?(o.end<=ti-r&&(g(Me,Ne,z,Lt,o.end,ti,pt,xe),Lt=Me.length,ti=o.end),o.next()):O(z,Xe,Me,Ne,pt);if(pt>=0&&Lt>0&&Lt-1&&Lt>0){let xt=p(ye);Ee=Cd(ye,Me,Ne,0,Me.length,0,oe-z,xt,xt)}else Ee=b(ye,Me,Ne,oe-z,xe-oe)}R.push(Ee),I.push(fe)}function p(C){return(X,R,I)=>{let q=0,B=X.length-1,z,oe;if(B>=0&&(z=X[B])instanceof Ht){if(!B&&z.type==C&&z.length==I)return z;(oe=z.prop(Fe.lookAhead))&&(q=R[B]+z.length+oe)}return b(C,X,R,I,q)}}function g(C,X,R,I,q,B,z,oe){let de=[],xe=[];for(;C.length>I;)de.push(C.pop()),xe.push(X.pop()+R-q);C.push(b(i.types[z],de,xe,B-q,oe-B)),X.push(q-R)}function b(C,X,R,I,q=0,B){if(u){let z=[Fe.contextHash,u];B=B?[z].concat(B):[z]}if(q>25){let z=[Fe.lookAhead,q];B=B?[z].concat(B):[z]}return new Ht(C,X,R,I,B)}function $(C,X){let R=o.fork(),I=0,q=0,B=0,z=R.end-r,oe={size:0,start:0,skip:0};e:for(let de=R.pos-C;R.pos>de;){let xe=R.size;if(R.id==X&&xe>=0){oe.size=I,oe.start=q,oe.skip=B,B+=4,I+=4,R.next();continue}let ye=R.pos-xe;if(xe<0||ye=l?4:0,pe=R.start;for(R.next();R.pos>ye;){if(R.size<0)if(R.size==-3)Ee+=4;else break e;else R.id>=l&&(Ee+=4);R.next()}q=pe,I+=xe,B+=Ee}return(X<0||I==C)&&(oe.size=I,oe.start=q,oe.skip=B),oe.size>4?oe:void 0}function Q(C,X,R){let{id:I,start:q,end:B,size:z}=o;if(o.next(),z>=0&&I4){let de=o.pos-(z-4);for(;o.pos>de;)R=Q(C,X,R)}X[--R]=oe,X[--R]=B-C,X[--R]=q-C,X[--R]=I}else z==-3?u=I:z==-4&&(h=I);return R}let _=[],x=[];for(;o.pos>0;)O(n.start||0,n.bufferStart||0,_,x,-1);let Z=(e=n.length)!==null&&e!==void 0?e:_.length?x[0]+_[0].length:0;return new Ht(f[n.topID],_.reverse(),x.reverse(),Z)}const U1=new WeakMap;function Jf(n,e){if(!n.isAnonymous||e instanceof Ks||e.type!=n)return 1;let t=U1.get(e);if(t==null){t=1;for(let i of e.children){if(i.type!=n||!(i instanceof Ht)){t=1;break}t+=Jf(n,i)}U1.set(e,t)}return t}function Cd(n,e,t,i,r,s,l,o,f){let u=0;for(let b=i;b=h)break;R+=I}if(Z==C+1){if(R>h){let I=b[C];g(I.children,I.positions,0,I.children.length,$[C]+x);continue}O.push(b[C])}else{let I=$[Z-1]+b[Z-1].length-X;O.push(Cd(n,b,$,C,Z,X,I,null,f))}p.push(X+x-s)}}return g(e,t,i,r,0),(o||f)(O,p,l)}class ZQ{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 wr?this.setBuffer(e.context.buffer,e.index,t):e instanceof Bn&&this.map.set(e.tree,t)}get(e){return e instanceof wr?this.getBuffer(e.context.buffer,e.index):e instanceof Bn?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 Nr{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 Nr(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,f=0,u=0;;o++){let h=o=i)for(;l&&l.from=p.from||O<=p.to||u){let g=Math.max(p.from,f)-u,b=Math.min(p.to,O)-u;p=g>=b?null:new Nr(g,b,p.tree,p.offset+u,o>0,!!h)}if(p&&r.push(p),l.to>O)break;l=snew In(r.from,r.to)):[new In(0,0)]:[new In(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 Z4{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 R4(n){return(e,t,i,r)=>new U4(e,n,t,i,r)}class Y1{constructor(e,t,i,r,s){this.parser=e,this.parse=t,this.overlay=i,this.target=r,this.ranges=s}}class A4{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 GO=new Fe({perNode:!0});class U4{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 Ht(i.type,i.children,i.positions,i.length,i.propValues.concat([[GO,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[Fe.mounted.id]=new x4(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;th.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=Y4(i.ranges,r.from,r.to)))o=l!=2;else if(!r.type.isAnonymous&&r.fromnew In(O.from-r.from,O.to-r.from)):null,r.tree,h)),s.overlay?h.length&&(i={ranges:h,depth:0,prev:i}):o=!1}}else t&&(f=t.predicate(r))&&(f===!0&&(f=new In(r.from,r.to)),f.fromnew In(h.from-t.start,h.to-t.start)),t.target,u)),t=t.prev}i&&!--i.depth&&(i=i.prev)}}}}function Y4(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 V1(n,e,t,i,r,s){if(e=e.to);i++);let l=r.children[i],o=l.buffer;function f(u,h,O,p,g){let b=u;for(;o[b+2]+s<=e.from;)b=o[b+3];let $=[],Q=[];V1(l,u,b,$,Q,p);let _=o[b+1],x=o[b+2],Z=_+s==e.from&&x+s==e.to&&o[b]==e.type.id;return $.push(Z?e.toTree():f(b+4,o[b+3],l.set.types[o[b]],_,x-_)),Q.push(_-p),V1(l,o[b+3],h,$,Q,p),new Ht(O,$,Q,g)}r.children[i]=f(0,o.length,Ji.none,0,l.length);for(let u=0;u<=t;u++)n.childAfter(e.from)}class q1{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(Ut.IncludeAnonymous|Ut.IgnoreMounts)}moveTo(e){let{cursor:t}=this,i=e-this.offset;for(;!this.done&&t.from=e&&t.enter(i,1,Ut.IgnoreOverlays|Ut.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 Ht)t=t.children[0];else break}return!1}}let q4=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(GO))!==null&&t!==void 0?t:i.to,this.inner=new q1(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(GO))!==null&&e!==void 0?e:t.to,this.inner=new q1(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(Fe.mounted);if(l&&l.parser==t)for(let o=this.fragI;o=s.to)break;f.tree==this.curFrag.tree&&r.push({frag:f,pos:s.from-f.offset,mount:l})}}}return r}};function E1(n,e){let t=null,i=e;for(let r=1,s=0;r=o)break;f.to<=l||(t||(i=t=e.slice()),f.fromo&&t.splice(s+1,0,new In(o,f.to))):f.to>o?t[s--]=new In(o,f.to):t.splice(s--,1))}}return i}function E4(n,e,t,i){let r=0,s=0,l=!1,o=!1,f=-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(f,t),g=Math.min(h,O,i);pnew In(p.from+i,p.to+i)),O=E4(e,h,f,u);for(let p=0,g=f;;p++){let b=p==O.length,$=b?u:O[p].from;if($>g&&t.push(new Nr(g,$,r.tree,-l,s.from>=g||s.openStart,s.to<=$||s.openEnd)),b)break;g=O[p].to}}else t.push(new Nr(f,u,r.tree,-l,s.from>=l||s.openStart,s.to<=o||s.openEnd))}return t}class mc{constructor(e,t,i,r,s,l,o,f,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=f,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 mc(e,[],t,i,i,0,[],0,r?new D1(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)&&(f==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSizeo;)this.stack.pop();this.reduceContext(r,f)}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){let r=this.pos;if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=i,this.shiftContext(t,r),t<=this.p.parser.maxNode&&this.buffer.push(t,r,i,4);else{let s=e,{parser:l}=this.p;(i>this.pos||t<=l.maxNode)&&(this.pos=i,l.stateFlag(s,1)||(this.reducePos=i)),this.pushState(s,r),this.shiftContext(t,r),t<=l.maxNode&&this.buffer.push(t,r,i,4)}}apply(e,t,i){e&65536?this.reduce(e):this.shift(e,t,i)}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 mc(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 M4(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;sf&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 f=l&65535,u=this.stack.length-o*3;if(u>=0&&e.getGoto(this.stack[u],f,!1)>=0)return o<<19|65536|f}}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.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 D1{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class M4{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 Sc{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 Sc(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 Sc(this.stack,this.pos,this.index)}}function To(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 f=l-32;if(f>=46&&(f-=46,o=!0),s+=f,o)break;s*=46}t?t[r++]=s:t=new e(s)}return t}class ec{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const z1=new ec;class D4{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=z1,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=z1,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 Tl{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:i}=t.p;AQ(this.data,e,t,this.id,i.data,i.tokenPrecTable)}}Tl.prototype.contextual=Tl.prototype.fallback=Tl.prototype.extend=!1;class HO{constructor(e,t,i){this.precTable=t,this.elseToken=i,this.data=typeof e=="string"?To(e):e}token(e,t){let i=e.pos,r=0;for(;;){let s=e.next<0,l=e.resolveOffset(1,1);if(AQ(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))}}HO.prototype.contextual=Tl.prototype.fallback=Tl.prototype.extend=!1;class Wr{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function AQ(n,e,t,i,r,s){let l=0,o=1<0){let b=n[g];if(f.allows(b)&&(e.token.value==-1||e.token.value==b||z4(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&&n[u+p*3-3]==65535){l=n[u+p*3-1];continue e}for(;O>1,b=u+g+(g<<1),$=n[b],Q=n[b+1]||65536;if(h<$)p=g;else if(h>=Q)O=g+1;else{l=n[b+2],e.advance();continue e}}break}}function I1(n,e,t){for(let i=e,r;(r=n[i])!=65535;i++)if(r==t)return i-e;return-1}function z4(n,e,t,i){let r=I1(t,i,e);return r<0||I1(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 I4{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?N1(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?N1(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 Ht){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 N4{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(i=>new ec)}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,f=0;for(let u=0;uO.end+25&&(f=Math.max(O.lookAhead,f)),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 f&&e.setLookAhead(f),!i&&e.pos==this.stream.end&&(i=new ec,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 ec,{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 I4(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 f=this.tokens.getMainToken(o);s.push(f.value,f.end)}}break}}if(!i.length){let l=r&&j4(r);if(l)return Qn&&console.log("Finish with "+this.stackID(l)),this.stackToTree(l);if(this.parser.strict)throw Qn&&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 Qn&&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,f)=>f.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(f--,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(Fe.contextHash)||0)==h))return e.useNode(O,p),Qn&&console.log(l+this.stackID(e)+` (via reuse of ${s.getName(O.type.id)})`),!0;if(!(O instanceof Ht)||O.children.length==0||O.positions[0]>0)break;let g=O.children[0];if(g instanceof Ht&&O.positions[0]==0)O=g;else break}}let o=s.stateSlot(e.state,4);if(o>0)return e.reduce(o),Qn&&console.log(l+this.stackID(e)+` (via always-reduce ${s.getName(o&65535)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let f=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 L1(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(),Qn&&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&&(Qn&&console.log(p+this.stackID(O)+" (via force-reduce)"),!this.advanceFully(O,i));g++)Qn&&(p=this.stackID(O)+" -> ");for(let g of o.recoverByInsert(f))Qn&&console.log(h+this.stackID(g)+" (via recover-insert)"),this.advanceFully(g,i);this.stream.end>o.pos?(u==o.pos&&(u++,f=0),o.recoverByDelete(f,u),Qn&&console.log(h+this.stackID(o)+` (via recover-delete ${this.parser.getName(f)})`),L1(o,i)):(!r||r.scoren;class UQ{constructor(e){this.start=e.start,this.shift=e.shift||Ih,this.reduce=e.reduce||Ih,this.reuse=e.reuse||Ih,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class ks extends RQ{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,f,o[u++]);else{let O=o[u+-h];for(let p=-h;p>0;p--)s(o[u++],f,O);u++}}}this.nodeSet=new _d(t.map((o,f)=>Ji.define({name:f>=this.minRepeatTerm?void 0:o,id:f,props:r[f],top:i.indexOf(f)>-1,error:f==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(f)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=CQ;let l=To(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 Tl(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 L4(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,f=r[s++];if(o&&i)return f;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(ks.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]=B1(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 F4={__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},G4=ks.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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*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%&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#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=>F4[n]||-1}],tokenPrec:0});let H4=0;class br{constructor(e,t,i){this.set=e,this.base=t,this.modified=i,this.id=H4++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let t=new br([],null,[]);if(t.set.push(t),e)for(let i of e.set)t.set.push(i);return t}static defineModifier(){let e=new bc;return t=>t.modified.indexOf(e)>-1?t:bc.get(t.base||t,t.modified.concat(e).sort((i,r)=>i.id-r.id))}}let K4=0;class bc{constructor(){this.instances=[],this.id=K4++}static get(e,t){if(!t.length)return e;let i=t[0].instances.find(o=>o.base==e&&J4(t,o.modified));if(i)return i;let r=[],s=new br(r,e,t);for(let o of t)o.instances.push(s);let l=eX(t);for(let o of e.set)if(!o.modified.length)for(let f of l)r.push(bc.get(o,f));return s}}function J4(n,e){return n.length==e.length&&n.every((t,i)=>t==e[i])}function eX(n){let e=[[]];for(let t=0;ti.length-t.length)}function Nl(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 f=s.length-1,u=s[f];if(!u)throw new RangeError("Invalid path: "+r);let h=new $c(i,l,f>0?s.slice(0,f):null);e[u]=h.sort(e[u])}}return YQ.add(e)}const YQ=new Fe;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 f of o.set){let u=t[f.id];if(u){l=l?l+" "+u:u;break}}return l},scope:i}}function tX(n,e){let t=null;for(let i of n){let r=i.style(e);r&&(t=t?t+" "+r:r)}return t}function iX(n,e,t,i=0,r=n.length){let s=new nX(i,Array.isArray(e)?e:[e],t);s.highlightRange(n.cursor(),i,r,"",s.highlighters),s.flush(r)}class nX{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:f}=e;if(o>=i||f<=t)return;l.isTop&&(s=this.highlighters.filter(g=>!g.scope||g.scope(l)));let u=r,h=rX(e)||$c.empty,O=tX(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(Fe.mounted);if(p&&p.overlay){let g=e.node.enter(p.overlay[0].from+o,1),b=this.highlighters.filter(Q=>!Q.scope||Q.scope(p.tree.type)),$=e.firstChild();for(let Q=0,_=o;;Q++){let x=Q=Z||!e.nextSibling())););if(!x||Z>i)break;_=x.to+o,_>t&&(this.highlightRange(g.cursor(),Math.max(t,x.from+o),Math.min(i,_),"",b),this.startSpan(Math.min(i,_),u))}$&&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 rX(n){let e=n.type.prop(YQ);for(;e&&e.context&&!n.matchContext(e.context);)e=e.next;return e||null}const he=br.define,Uf=he(),hs=he(),j1=he(hs),F1=he(hs),Os=he(),Yf=he(Os),Nh=he(Os),mr=he(),Ms=he(mr),pr=he(),gr=he(),KO=he(),Qo=he(KO),Vf=he(),S={comment:Uf,lineComment:he(Uf),blockComment:he(Uf),docComment:he(Uf),name:hs,variableName:he(hs),typeName:j1,tagName:he(j1),propertyName:F1,attributeName:he(F1),className:he(hs),labelName:he(hs),namespace:he(hs),macroName:he(hs),literal:Os,string:Yf,docString:he(Yf),character:he(Yf),attributeValue:he(Yf),number:Nh,integer:he(Nh),float:he(Nh),bool:he(Os),regexp:he(Os),escape:he(Os),color:he(Os),url:he(Os),keyword:pr,self:he(pr),null:he(pr),atom:he(pr),unit:he(pr),modifier:he(pr),operatorKeyword:he(pr),controlKeyword:he(pr),definitionKeyword:he(pr),moduleKeyword:he(pr),operator:gr,derefOperator:he(gr),arithmeticOperator:he(gr),logicOperator:he(gr),bitwiseOperator:he(gr),compareOperator:he(gr),updateOperator:he(gr),definitionOperator:he(gr),typeOperator:he(gr),controlOperator:he(gr),punctuation:KO,separator:he(KO),bracket:Qo,angleBracket:he(Qo),squareBracket:he(Qo),paren:he(Qo),brace:he(Qo),content:mr,heading:Ms,heading1:he(Ms),heading2:he(Ms),heading3:he(Ms),heading4:he(Ms),heading5:he(Ms),heading6:he(Ms),contentSeparator:he(mr),list:he(mr),quote:he(mr),emphasis:he(mr),strong:he(mr),link:he(mr),monospace:he(mr),strikethrough:he(mr),inserted:he(),deleted:he(),changed:he(),invalid:he(),meta:Vf,documentMeta:he(Vf),annotation:he(Vf),processingInstruction:he(Vf),definition:br.defineModifier(),constant:br.defineModifier(),function:br.defineModifier(),standard:br.defineModifier(),local:br.defineModifier(),special:br.defineModifier()};VQ([{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 Lh;const yl=new Fe;function qQ(n){return ve.define({combine:n?e=>e.concat(n):void 0})}const Xd=new Fe;class or{constructor(e,t,i=[],r=""){this.data=e,this.name=r,ft.prototype.hasOwnProperty("tree")||Object.defineProperty(ft.prototype,"tree",{get(){return ei(this)}}),this.parser=t,this.extension=[Ws.of(this),ft.languageData.of((s,l,o)=>{let f=G1(s,l,o),u=f.type.prop(yl);if(!u)return[];let h=s.facet(u),O=f.type.prop(Xd);if(O){let p=f.resolve(l-f.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 G1(e,t,i).type.prop(yl)==this.data}findRegions(e){let t=e.facet(Ws);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(Fe.mounted);if(o){if(o.tree.prop(yl)==this.data){if(o.overlay)for(let f of o.overlay)i.push({from:f.from+l,to:f.to+l});else i.push({from:l,to:l+s.length});return}else if(o.overlay){let f=i.length;if(r(o.tree,o.overlay[0].from+l),i.length>f)return}}for(let f=0;fi.isTop?t:void 0)]}),e.name)}configure(e,t){return new _s(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function ei(n){let e=n.field(or.state,!1);return e?e.tree:Ht.empty}class sX{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 wo=null;class Qc{constructor(e,t,i=[],r,s,l,o,f){this.parser=e,this.state=t,this.fragments=i,this.tree=r,this.treeLen=s,this.viewport=l,this.skipped=o,this.scheduleOn=f,this.parse=null,this.tempSkipped=[]}static create(e,t,i){return new Qc(e,t,[],Ht.empty,0,i,[],null)}startParse(){return this.parser.startParse(new sX(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=Ht.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(Nr.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=wo;wo=this;try{return e()}finally{wo=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=H1(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 f=[];if(e.iterChangedRanges((u,h,O,p)=>f.push({fromA:u,toA:h,fromB:O,toB:p})),i=Nr.applyChanges(i,f),r=Ht.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=H1(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 RQ{createParse(t,i,r){let s=r[0].from,l=r[r.length-1].to;return{parsedPos:s,advance(){let f=wo;if(f){for(let u of r)f.tempSkipped.push(u);e&&(f.scheduleOn=f.scheduleOn?Promise.all([f.scheduleOn,e]):e)}return this.parsedPos=l,new Ht(Ji.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 wo}}function H1(n,e,t){return Nr.applyChanges(n,[{fromA:e,toA:t,fromB:e,toB:t}])}class ql{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 ql(t)}static init(e){let t=Math.min(3e3,e.doc.length),i=Qc.create(e.facet(Ws).parser,e,{from:0,to:t});return i.work(20,t)||i.takeTree(),new ql(i)}}or.state=$i.define({create:ql.init,update(n,e){for(let t of e.effects)if(t.is(or.setState))return t.value;return e.startState.facet(Ws)!=e.state.facet(Ws)?ql.init(e.state):n.apply(e)}});let EQ=n=>{let e=setTimeout(()=>n(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(EQ=n=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(n,{timeout:500-100})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const Bh=typeof navigator<"u"&&(!((Lh=navigator.scheduling)===null||Lh===void 0)&&Lh.isInputPending)?()=>navigator.scheduling.isInputPending():null,lX=Oi.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(or.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(or.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=EQ(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndr+1e3,f=s.context.work(()=>Bh&&Bh()||Date.now()>l,r+(o?0:1e5));this.chunkBudget-=Date.now()-t,(f||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:or.setState.of(new ql(s.context))})),this.chunkBudget>0&&!(f&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>Wn(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()}}}),Ws=ve.define({combine(n){return n.length?n[0]:null},enables:n=>[or.state,lX,me.contentAttributes.compute([n],e=>{let t=e.facet(n);return t&&t.name?{"data-language":t.name}:{}})]});class fa{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}const oX=ve.define(),Lc=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 wc(n){let e=n.facet(Lc);return e.charCodeAt(0)==9?n.tabSize*e.length:e.length}function ea(n,e){let t="",i=n.tabSize,r=n.facet(Lc)[0];if(r==" "){for(;e>=i;)t+=" ",e-=i;r=" "}for(let s=0;s=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 ra(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 Ll=new Fe;function aX(n,e,t){return MQ(e.resolveInner(t).enterUnfinishedNodesBefore(t),t,n)}function fX(n){return n.pos==n.options.simulateBreak&&n.options.simulateDoubleBreak}function cX(n){let e=n.type.prop(Ll);if(e)return e;let t=n.firstChild,i;if(t&&(i=t.type.prop(Fe.closedBy))){let r=n.lastChild,s=r&&i.indexOf(r.name)>-1;return l=>DQ(l,!0,1,void 0,s&&!fX(l)?r.from:void 0)}return n.parent==null?uX:null}function MQ(n,e,t){for(;n;n=n.parent){let i=cX(n);if(i)return i(Zd.create(t,e,n))}return null}function uX(){return 0}class Zd extends Bc{constructor(e,t,i){super(e.state,e.options),this.base=e,this.pos=t,this.node=i}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(hX(i,e))break;t=this.state.doc.lineAt(i.from)}return this.lineIndent(t.from)}continue(){let e=this.node.parent;return e?MQ(e,this.pos,this.base):0}}function hX(n,e){for(let t=e;t;t=t.parent)if(n==t)return!0;return!1}function OX(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 f=e.childAfter(o);if(!f||f==i)return null;if(!f.type.isSkipped)return f.fromDQ(i,e,t,n)}function DQ(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,f=e?OX(n):null;return f?o?n.column(f.from):n.column(f.to):n.baseIndent+(o?0:n.unit*t)}const dX=n=>n.baseIndent;function Zl({except:n,units:e=1}={}){return t=>{let i=n&&n.test(t.textAfter);return t.baseIndent+(i?0:e*t.unit)}}const pX=200;function gX(){return ft.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+pX)return n;let s=t.sliceString(r.from,i);if(!e.some(u=>u.test(s)))return n;let{state:l}=n,o=-1,f=[];for(let{head:u}of l.selection.ranges){let h=l.doc.lineAt(u);if(h.from==o)continue;o=h.from;let O=Td(l,h.from);if(O==null)continue;let p=/^\s*/.exec(h.text)[0],g=ea(l,O);p!=g&&f.push({from:h.from,to:h.from+p.length,insert:g})}return f.length?[n,{changes:f,sequential:!0}]:n})}const mX=ve.define(),Bl=new Fe;function Sr(n){let e=n.firstChild,t=n.lastChild;return e&&e.tot)continue;if(s&&l.from=e&&f.to>t&&(s=f)}}return s}function bX(n){let e=n.lastChild;return e&&e.to==n.to&&e.type.isError}function yc(n,e,t){for(let i of n.facet(mX)){let r=i(n,e,t);if(r)return r}return SX(n,e,t)}function zQ(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 jc=qe.define({map:zQ}),ca=qe.define({map:zQ});function IQ(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 Gs=$i.define({create(){return Ze.none},update(n,e){n=n.map(e.changes);for(let t of e.effects)t.is(jc)&&!$X(n,t.value.from,t.value.to)?n=n.update({add:[K1.range(t.value.from,t.value.to)]}):t.is(ca)&&(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=>me.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 $X(n,e,t){let i=!1;return n.between(e,e,(r,s)=>{r==e&&s==t&&(i=!0)}),i}function NQ(n,e){return n.field(Gs,!1)?e:e.concat(qe.appendConfig.of(jQ()))}const QX=n=>{for(let e of IQ(n)){let t=yc(n.state,e.from,e.to);if(t)return n.dispatch({effects:NQ(n.state,[jc.of(t),LQ(n,t)])}),!0}return!1},wX=n=>{if(!n.state.field(Gs,!1))return!1;let e=[];for(let t of IQ(n)){let i=vc(n.state,t.from,t.to);i&&e.push(ca.of(i),LQ(n,i,!1))}return e.length&&n.dispatch({effects:e}),e.length>0};function LQ(n,e,t=!0){let i=n.state.doc.lineAt(e.from).number,r=n.state.doc.lineAt(e.to).number;return me.announce.of(`${n.state.phrase(t?"Folded lines":"Unfolded lines")} ${i} ${n.state.phrase("to")} ${r}.`)}const yX=n=>{let{state:e}=n,t=[];for(let i=0;i{let e=n.state.field(Gs,!1);if(!e||!e.size)return!1;let t=[];return e.between(0,n.state.doc.length,(i,r)=>{t.push(ca.of({from:i,to:r}))}),n.dispatch({effects:t}),!0},PX=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:QX},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:wX},{key:"Ctrl-Alt-[",run:yX},{key:"Ctrl-Alt-]",run:vX}],kX={placeholderDOM:null,placeholderText:"…"},BQ=ve.define({combine(n){return _r(n,kX)}});function jQ(n){let e=[Gs,xX];return n&&e.push(BQ.of(n)),e}const K1=Ze.replace({widget:new class extends xs{toDOM(n){let{state:e}=n,t=e.facet(BQ),i=s=>{let l=n.lineBlockAt(n.posAtDOM(s.target)),o=vc(n.state,l.from,l.to);o&&n.dispatch({effects:ca.of(o)}),s.preventDefault()};if(t.placeholderDOM)return t.placeholderDOM(n,i);let r=document.createElement("span");return r.textContent=t.placeholderText,r.setAttribute("aria-label",e.phrase("folded code")),r.title=e.phrase("unfold"),r.className="cm-foldPlaceholder",r.onclick=i,r}}}),_X={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class jh extends jr{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 WX(n={}){let e=Object.assign(Object.assign({},_X),n),t=new jh(e,!0),i=new jh(e,!1),r=Oi.fromClass(class{constructor(l){this.from=l.viewport.from,this.markers=this.buildMarkers(l)}update(l){(l.docChanged||l.viewportChanged||l.startState.facet(Ws)!=l.state.facet(Ws)||l.startState.field(Gs,!1)!=l.state.field(Gs,!1)||ei(l.startState)!=ei(l.state)||e.foldingChanged(l))&&(this.markers=this.buildMarkers(l.view))}buildMarkers(l){let o=new Qs;for(let f of l.viewportLineBlocks){let u=vc(l.state,f.from,f.to)?i:yc(l.state,f.from,f.to)?t:null;u&&o.add(f.from,f.from,u)}return o.finish()}}),{domEventHandlers:s}=e;return[r,W5({class:"cm-foldGutter",markers(l){var o;return((o=l.plugin(r))===null||o===void 0?void 0:o.markers)||Qt.empty},initialSpacer(){return new jh(e,!1)},domEventHandlers:Object.assign(Object.assign({},s),{click:(l,o,f)=>{if(s.click&&s.click(l,o,f))return!0;let u=vc(l.state,o.from,o.to);if(u)return l.dispatch({effects:ca.of(u)}),!0;let h=yc(l.state,o.from,o.to);return h?(l.dispatch({effects:jc.of(h)}),!0):!1}})}),jQ()]}const xX=me.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 ua{constructor(e,t){this.specs=e;let i;function r(o){let f=ws.newName();return(i||(i=Object.create(null)))["."+f]=o,f}const s=typeof t.all=="string"?t.all:t.all?r(t.all):void 0,l=t.scope;this.scope=l instanceof or?o=>o.prop(yl)==l.data:l?o=>o==l:void 0,this.style=VQ(e.map(o=>({tag:o.tag,class:o.class||r(Object.assign({},o,{tag:null}))})),{all:s}).style,this.module=i?new ws(i):null,this.themeType=t.themeType}static define(e,t){return new ua(e,t||{})}}const JO=ve.define(),FQ=ve.define({combine(n){return n.length?[n[0]]:null}});function Fh(n){let e=n.facet(JO);return e.length?e:n.facet(FQ)}function GQ(n,e){let t=[XX],i;return n instanceof ua&&(n.module&&t.push(me.styleModule.of(n.module)),i=n.themeType),e!=null&&e.fallback?t.push(FQ.of(n)):i?t.push(JO.computeN([me.darkTheme],r=>r.facet(me.darkTheme)==(i=="dark")?[n]:[])):t.push(JO.of(n)),t}class CX{constructor(e){this.markCache=Object.create(null),this.tree=ei(e.state),this.decorations=this.buildDeco(e,Fh(e.state))}update(e){let t=ei(e.state),i=Fh(e.state),r=i!=Fh(e.startState);t.length{i.add(l,o,this.markCache[f]||(this.markCache[f]=Ze.mark({class:f})))},r,s);return i.finish()}}const XX=Hs.high(Oi.fromClass(CX,{decorations:n=>n.decorations})),TX=ua.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"}]),ZX=me.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),HQ=1e4,KQ="()[]{}",JQ=ve.define({combine(n){return _r(n,{afterCursor:!0,brackets:KQ,maxScanDistance:HQ,renderMatch:UX})}}),RX=Ze.mark({class:"cm-matchingBracket"}),AX=Ze.mark({class:"cm-nonmatchingBracket"});function UX(n){let e=[],t=n.matched?RX:AX;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 YX=$i.define({create(){return Ze.none},update(n,e){if(!e.docChanged&&!e.selection)return n;let t=[],i=e.state.facet(JQ);for(let r of e.state.selection.ranges){if(!r.empty)continue;let s=yr(e.state,r.head,-1,i)||r.head>0&&yr(e.state,r.head-1,1,i)||i.afterCursor&&(yr(e.state,r.head,1,i)||r.headme.decorations.from(n)}),VX=[YX,ZX];function qX(n={}){return[JQ.of(n),VX]}const ew=new Fe;function ed(n,e,t){let i=n.prop(e<0?Fe.openedBy:Fe.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 td(n){let e=n.type.prop(ew);return e?e(n.node):n}function yr(n,e,t,i={}){let r=i.maxScanDistance||HQ,s=i.brackets||KQ,l=ei(n),o=l.resolveInner(e,t);for(let f=o;f;f=f.parent){let u=ed(f.type,t,s);if(u&&f.from0?e>=h.from&&eh.from&&e<=h.to))return EX(n,e,t,f,h,u,s)}}return MX(n,e,t,l,o.type,r,s)}function EX(n,e,t,i,r,s,l){let o=i.parent,f={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 $=t>0?0:g.length-1,Q=t>0?g.length:-1;$!=Q;$+=t){let _=l.indexOf(g[$]);if(!(_<0||i.resolveInner(b+$,1).type!=r))if(_%2==0==t>0)O++;else{if(O==1)return{start:u,end:{from:b+$,to:b+$+1},matched:_>>1==f>>1};O--}}t>0&&(p+=g.length)}return h.done?{start:u,matched:!1}:null}const DX=Object.create(null),J1=[Ji.none],e0=[],zX=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"]])zX[n]=IX(DX,e);function Gh(n,e){e0.indexOf(n)>-1||(e0.push(n),console.warn(e))}function IX(n,e){let t=null;for(let s of e.split(".")){let l=n[s]||S[s];l?typeof l=="function"?t?t=l(t):Gh(s,`Modifier ${s} used at start of tag`):t?Gh(s,`Tag ${s} used as modifier`):t=l:Gh(s,`Unknown highlighting tag ${s}`)}if(!t)return 0;let i=e.replace(/ /g,"_"),r=Ji.define({id:J1.length,name:i,props:[Nl({[i]:t})]});return J1.push(r),r.id}const NX=n=>{let e=Ad(n.state);return e.line?LX(n):e.block?jX(n):!1};function Rd(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 LX=Rd(HX,0),BX=Rd(tw,0),jX=Rd((n,e)=>tw(n,e,GX(e)),0);function Ad(n,e=n.selection.main.head){let t=n.languageDataAt("commentTokens",e);return t.length?t[0]:{}}const yo=50;function FX(n,{open:e,close:t},i,r){let s=n.sliceDoc(i-yo,i),l=n.sliceDoc(r,r+yo),o=/\s*$/.exec(s)[0].length,f=/^\s*/.exec(l)[0].length,u=s.length-o;if(s.slice(u-e.length,u)==e&&l.slice(f,f+t.length)==t)return{open:{pos:i-o,margin:o&&1},close:{pos:r+f,margin:f&&1}};let h,O;r-i<=2*yo?h=O=n.sliceDoc(i,r):(h=n.sliceDoc(i,i+yo),O=n.sliceDoc(r-yo,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 GX(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,to:r.to})}return e}function tw(n,e,t=e.selection.ranges){let i=t.map(s=>Ad(e,s.from).block);if(!i.every(s=>s))return null;let r=t.map((s,l)=>FX(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>h.from)){r=h.from;let O=Ad(e,u).line;if(!O)continue;let p=/^\s*/.exec(h.text)[0].length,g=p==h.length,b=h.text.slice(p,p+O.length)==O?p:-1;ps.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:o,token:f,indent:u,empty:h,single:O}of i)(O||!h)&&s.push({from:o.from+u,insert:f+" "});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:f}of i)if(o>=0){let u=l.from+o,h=u+f.length;l.text[h-l.from]==" "&&h++,s.push({from:u,to:h})}return{changes:s}}return null}const id=Fr.define(),KX=Fr.define(),JX=ve.define(),iw=ve.define({combine(n){return _r(n,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}});function eT(n){let e=0;return n.iterChangedRanges((t,i)=>e=i),e}const nw=$i.define({create(){return vr.empty},update(n,e){let t=e.state.facet(iw),i=e.annotation(id);if(i){let f=e.docChanged?K.single(eT(e.changes)):void 0,u=On.fromTransaction(e,f),h=i.side,O=h==0?n.undone:n.done;return u?O=Pc(O,O.length,t.minDepth,u):O=lw(O,e.startState.selection),new vr(h==0?i.rest:O,h==0?O:i.rest)}let r=e.annotation(KX);if((r=="full"||r=="before")&&(n=n.isolate()),e.annotation(bi.addToHistory)===!1)return e.changes.empty?n:n.addMapping(e.changes.desc);let s=On.fromTransaction(e),l=e.annotation(bi.time),o=e.annotation(bi.userEvent);return s?n=n.addChanges(s,l,o,t.newGroupDelay,t.minDepth):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 vr(n.done.map(On.fromJSON),n.undone.map(On.fromJSON))}});function tT(n={}){return[nw,iw.of(n),me.domEventHandlers({beforeinput(e,t){let i=e.inputType=="historyUndo"?rw:e.inputType=="historyRedo"?nd:null;return i?(e.preventDefault(),i(t)):!1}})]}function Fc(n,e){return function({state:t,dispatch:i}){if(!e&&t.readOnly)return!1;let r=t.field(nw,!1);if(!r)return!1;let s=r.pop(n,t,e);return s?(i(s),!0):!1}}const rw=Fc(0,!1),nd=Fc(1,!1),iT=Fc(0,!0),nT=Fc(1,!0);class On{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 On(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 On(e.changes&&Si.fromJSON(e.changes),[],e.mapped&&Pr.fromJSON(e.mapped),e.startSelection&&K.fromJSON(e.startSelection),e.selectionsAfter.map(K.fromJSON))}static fromTransaction(e,t){let i=Nn;for(let r of e.startState.facet(JX)){let s=r(e);s.length&&(i=i.concat(s))}return!i.length&&e.changes.empty?null:new On(e.changes.invert(e.startState.doc),i,void 0,t||e.startState.selection,Nn)}static selection(e){return new On(void 0,Nn,void 0,void 0,e)}}function Pc(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 rT(n,e){let t=[],i=!1;return n.iterChangedRanges((r,s)=>t.push(r,s)),e.iterChangedRanges((r,s,l,o)=>{for(let f=0;f=u&&l<=h&&(i=!0)}}),i}function sT(n,e){return n.ranges.length==e.ranges.length&&n.ranges.filter((t,i)=>t.empty!=e.ranges[i].empty).length===0}function sw(n,e){return n.length?e.length?n.concat(e):n:e}const Nn=[],lT=200;function lw(n,e){if(n.length){let t=n[n.length-1],i=t.selectionsAfter.slice(Math.max(0,t.selectionsAfter.length-lT));return i.length&&i[i.length-1].eq(e)?n:(i.push(e),Pc(n,n.length-1,1e9,t.setSelAfter(i)))}else return[On.selection([e])]}function oT(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 Hh(n,e){if(!n.length)return n;let t=n.length,i=Nn;for(;t;){let r=aT(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?[On.selection(i)]:Nn}function aT(n,e,t){let i=sw(n.selectionsAfter.length?n.selectionsAfter.map(o=>o.map(e)):Nn,t);if(!n.changes)return On.selection(i);let r=n.changes.map(e),s=e.mapDesc(n.changes,!0),l=n.mapped?n.mapped.composeDesc(s):s;return new On(r,qe.mapEffects(n.effects,e),l,n.startSelection.map(s),i)}const fT=/^(input\.type|delete)($|\.)/;class vr{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 vr(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||fT.test(i))&&(!o.selectionsAfter.length&&t-this.prevTime0&&t-this.prevTimet.empty?n.moveByChar(t,e):Gc(t,e))}function Bi(n){return n.textDirectionAt(n.state.selection.main.head)==Gt.LTR}const aw=n=>ow(n,!Bi(n)),fw=n=>ow(n,Bi(n));function cw(n,e){return fr(n,t=>t.empty?n.moveByGroup(t,e):Gc(t,e))}const uT=n=>cw(n,!Bi(n)),hT=n=>cw(n,Bi(n));function OT(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 Hc(n,e,t){let i=ei(n).resolveInner(e.head),r=t?Fe.closedBy:Fe.openedBy;for(let f=e.head;;){let u=t?i.childAfter(f):i.childBefore(f);if(!u)break;OT(n,u,r)?i=u:f=t?u.to:u.from}let s=i.type.prop(r),l,o;return s&&(l=t?yr(n,i.from,1):yr(n,i.to,-1))&&l.matched?o=t?l.end.to:l.end.from:o=t?i.to:i.from,K.cursor(o,t?-1:1)}const dT=n=>fr(n,e=>Hc(n.state,e,!Bi(n))),pT=n=>fr(n,e=>Hc(n.state,e,Bi(n)));function uw(n,e){return fr(n,t=>{if(!t.empty)return Gc(t,e);let i=n.moveVertically(t,e);return i.head!=t.head?i:n.moveToLineBoundary(t,e)})}const hw=n=>uw(n,!1),Ow=n=>uw(n,!0);function dw(n){return Math.max(n.defaultLineHeight,Math.min(n.dom.clientHeight,innerHeight)-5)}function pw(n,e){let{state:t}=n,i=jl(t.selection,o=>o.empty?n.moveVertically(o,e,dw(n)):Gc(o,e));if(i.eq(t.selection))return!1;let r=n.coordsAtPos(t.selection.main.head),s=n.scrollDOM.getBoundingClientRect(),l;return r&&r.top>s.top&&r.bottompw(n,!1),rd=n=>pw(n,!0);function Cs(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=K.cursor(i.from+s))}return r}const gT=n=>fr(n,e=>Cs(n,e,!0)),mT=n=>fr(n,e=>Cs(n,e,!1)),ST=n=>fr(n,e=>Cs(n,e,!Bi(n))),bT=n=>fr(n,e=>Cs(n,e,Bi(n))),$T=n=>fr(n,e=>K.cursor(n.lineBlockAt(e.head).from,1)),QT=n=>fr(n,e=>K.cursor(n.lineBlockAt(e.head).to,-1));function wT(n,e,t){let i=!1,r=jl(n.selection,s=>{let l=yr(n,s.head,-1)||yr(n,s.head,1)||s.head>0&&yr(n,s.head-1,1)||s.headwT(n,e,!1);function Gn(n,e){let t=jl(n.state.selection,i=>{let r=e(i);return K.range(i.anchor,r.head,r.goalColumn,r.bidiLevel||void 0)});return t.eq(n.state.selection)?!1:(n.dispatch(xr(n.state,t)),!0)}function gw(n,e){return Gn(n,t=>n.moveByChar(t,e))}const mw=n=>gw(n,!Bi(n)),Sw=n=>gw(n,Bi(n));function bw(n,e){return Gn(n,t=>n.moveByGroup(t,e))}const vT=n=>bw(n,!Bi(n)),PT=n=>bw(n,Bi(n)),kT=n=>Gn(n,e=>Hc(n.state,e,!Bi(n))),_T=n=>Gn(n,e=>Hc(n.state,e,Bi(n)));function $w(n,e){return Gn(n,t=>n.moveVertically(t,e))}const Qw=n=>$w(n,!1),ww=n=>$w(n,!0);function yw(n,e){return Gn(n,t=>n.moveVertically(t,e,dw(n)))}const i0=n=>yw(n,!1),n0=n=>yw(n,!0),WT=n=>Gn(n,e=>Cs(n,e,!0)),xT=n=>Gn(n,e=>Cs(n,e,!1)),CT=n=>Gn(n,e=>Cs(n,e,!Bi(n))),XT=n=>Gn(n,e=>Cs(n,e,Bi(n))),TT=n=>Gn(n,e=>K.cursor(n.lineBlockAt(e.head).from)),ZT=n=>Gn(n,e=>K.cursor(n.lineBlockAt(e.head).to)),r0=({state:n,dispatch:e})=>(e(xr(n,{anchor:0})),!0),s0=({state:n,dispatch:e})=>(e(xr(n,{anchor:n.doc.length})),!0),l0=({state:n,dispatch:e})=>(e(xr(n,{anchor:n.selection.main.anchor,head:0})),!0),o0=({state:n,dispatch:e})=>(e(xr(n,{anchor:n.selection.main.anchor,head:n.doc.length})),!0),RT=({state:n,dispatch:e})=>(e(n.update({selection:{anchor:0,head:n.doc.length},userEvent:"select"})),!0),AT=({state:n,dispatch:e})=>{let t=Jc(n).map(({from:i,to:r})=>K.range(i,Math.min(r+1,n.doc.length)));return e(n.update({selection:K.create(t),userEvent:"select"})),!0},UT=({state:n,dispatch:e})=>{let t=jl(n.selection,i=>{var r;let s=ei(n).resolveInner(i.head,1);for(;!(s.from=i.to||s.to>i.to&&s.from<=i.from||!(!((r=s.parent)===null||r===void 0)&&r.parent));)s=s.parent;return K.range(s.to,s.from)});return e(xr(n,t)),!0},YT=({state:n,dispatch:e})=>{let t=n.selection,i=null;return t.ranges.length>1?i=K.create([t.main]):t.main.empty||(i=K.create([K.cursor(t.main.head)])),i?(e(xr(n,i)),!0):!1};function Kc(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 f=e(l);fl&&(t="delete.forward",f=qf(n,f,!0)),l=Math.min(l,f),o=Math.max(o,f)}else l=qf(n,l,!1),o=qf(n,o,!0);return l==o?{range:s}:{changes:{from:l,to:o},range:K.cursor(l)}});return r.changes.empty?!1:(n.dispatch(i.update(r,{scrollIntoView:!0,userEvent:t,effects:t=="delete.selection"?me.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function qf(n,e,t){if(n instanceof me)for(let i of n.state.facet(me.atomicRanges).map(r=>r(n)))i.between(e,e,(r,s)=>{re&&(e=t?s:r)});return e}const vw=(n,e)=>Kc(n,t=>{let{state:i}=n,r=i.doc.lineAt(t),s,l;if(!e&&t>r.from&&tvw(n,!1),Pw=n=>vw(n,!0),kw=(n,e)=>Kc(n,t=>{let i=t,{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&&s.number!=(e?r.doc.lines:1)&&(i+=e?1:-1);break}let f=Li(s.text,i-s.from,e)+s.from,u=s.text.slice(Math.min(i,f)-s.from,Math.max(i,f)-s.from),h=l(u);if(o!=null&&h!=o)break;(u!=" "||i!=t)&&(o=h),i=f}return i}),_w=n=>kw(n,!1),VT=n=>kw(n,!0),Ww=n=>Kc(n,e=>{let t=n.lineBlockAt(e).to;return eKc(n,e=>{let t=n.lineBlockAt(e).from;return e>t?t:Math.max(0,e-1)}),ET=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let t=n.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:mt.of(["",""])},range:K.cursor(i.from)}));return e(n.update(t,{scrollIntoView:!0,userEvent:"input"})),!0},MT=({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:Li(s.text,r-s.from,!1)+s.from,o=r==s.to?r+1:Li(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:K.cursor(o)}});return t.changes.empty?!1:(e(n.update(t,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function Jc(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 xw(n,e,t){if(n.readOnly)return!1;let i=[],r=[];for(let s of Jc(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 f of s.ranges)r.push(K.range(Math.min(n.doc.length,f.anchor+o),Math.min(n.doc.length,f.head+o)))}else{i.push({from:l.from,to:s.from},{from:s.to,insert:n.lineBreak+l.text});for(let f of s.ranges)r.push(K.range(f.anchor-o,f.head-o))}}return i.length?(e(n.update({changes:i,scrollIntoView:!0,selection:K.create(r,n.selection.mainIndex),userEvent:"move.line"})),!0):!1}const DT=({state:n,dispatch:e})=>xw(n,e,!1),zT=({state:n,dispatch:e})=>xw(n,e,!0);function Cw(n,e,t){if(n.readOnly)return!1;let i=[];for(let r of Jc(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 IT=({state:n,dispatch:e})=>Cw(n,e,!1),NT=({state:n,dispatch:e})=>Cw(n,e,!0),LT=n=>{if(n.state.readOnly)return!1;let{state:e}=n,t=e.changes(Jc(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 BT(n,e){if(/\(\)|\[\]|\{\}/.test(n.sliceDoc(e-1,e+1)))return{from:e,to:e};let t=ei(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(Fe.closedBy))&&s.indexOf(r.name)>-1&&n.doc.lineAt(i.to).from==n.doc.lineAt(r.from).from?{from:i.to,to:r.from}:null}const jT=Xw(!1),FT=Xw(!0);function Xw(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),f=!n&&s==l&&BT(e,s);n&&(s=l=(l<=o.to?o:e.doc.lineAt(l)).to);let u=new Bc(e,{simulateBreak:s,simulateDoubleBreak:!!f}),h=Td(u,s);for(h==null&&(h=/^\s*/.exec(e.doc.lineAt(s).text)[0].length);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:K.range(s.mapPos(i.anchor,1),s.mapPos(i.head,1))}})}const GT=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let t=Object.create(null),i=new Bc(n,{overrideIndentation:s=>{let l=t[s];return l??-1}}),r=Ud(n,(s,l,o)=>{let f=Td(i,s.from);if(f==null)return;/\S/.test(s.text)||(f=0);let u=/^\s*/.exec(s.text)[0],h=ea(n,f);(u!=h||o.fromn.readOnly?!1:(e(n.update(Ud(n,(t,i)=>{i.push({from:t.from,insert:n.facet(Lc)})}),{userEvent:"input.indent"})),!0),Zw=({state:n,dispatch:e})=>n.readOnly?!1:(e(n.update(Ud(n,(t,i)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let s=ra(r,n.tabSize),l=0,o=ea(n,Math.max(0,s-wc(n)));for(;l({mac:n.key,run:n.run,shift:n.shift}))),JT=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:dT,shift:kT},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:pT,shift:_T},{key:"Alt-ArrowUp",run:DT},{key:"Shift-Alt-ArrowUp",run:IT},{key:"Alt-ArrowDown",run:zT},{key:"Shift-Alt-ArrowDown",run:NT},{key:"Escape",run:YT},{key:"Mod-Enter",run:FT},{key:"Alt-l",mac:"Ctrl-l",run:AT},{key:"Mod-i",run:UT,preventDefault:!0},{key:"Mod-[",run:Zw},{key:"Mod-]",run:Tw},{key:"Mod-Alt-\\",run:GT},{key:"Shift-Mod-k",run:LT},{key:"Shift-Mod-\\",run:yT},{key:"Mod-/",run:NX},{key:"Alt-A",run:BX}].concat(KT),eZ={key:"Tab",run:Tw,shift:Zw};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 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(a0(o)):a0,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 Xi(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=dd(e),i=this.bufferStart+this.bufferPos;this.bufferPos+=Pn(e);let r=this.normalize(t);for(let s=0,l=i;;s++){let o=r.charCodeAt(s),f=this.match(o,l);if(f)return this.value=f,this;if(s==r.length-1)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=kc(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 Rl(t,e.sliceString(t,i));return Kh.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=kc(this.text,r+(i==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Rl.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(Uw.prototype[Symbol.iterator]=Yw.prototype[Symbol.iterator]=function(){return this});function tZ(n){try{return new RegExp(n,Yd),!0}catch{return!1}}function kc(n,e){if(e>=n.length)return e;let t=n.lineAt(e),i;for(;e=56320&&i<57344;)e++;return e}function ld(n){let e=Tt("input",{class:"cm-textfield",name:"line"}),t=Tt("form",{class:"cm-gotoLine",onkeydown:r=>{r.keyCode==27?(r.preventDefault(),n.dispatch({effects:_c.of(!1)}),n.focus()):r.keyCode==13&&(r.preventDefault(),i())},onsubmit:r=>{r.preventDefault(),i()}},Tt("label",n.state.phrase("Go to line"),": ",e)," ",Tt("button",{class:"cm-button",type:"submit"},n.state.phrase("go")));function i(){let r=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(e.value);if(!r)return;let{state:s}=n,l=s.doc.lineAt(s.selection.main.head),[,o,f,u,h]=r,O=u?+u.slice(1):0,p=f?+f:l.number;if(f&&h){let b=p/100;o&&(b=b*(o=="-"?-1:1)+l.number/s.doc.lines),p=Math.round(s.doc.lines*b)}else f&&o&&(p=p*(o=="-"?-1:1)+l.number);let g=s.doc.line(Math.max(1,Math.min(s.doc.lines,p)));n.dispatch({effects:_c.of(!1),selection:K.cursor(g.from+Math.max(0,Math.min(O,g.length))),scrollIntoView:!0}),n.focus()}return{dom:t}}const _c=qe.define(),f0=$i.define({create(){return!0},update(n,e){for(let t of e.effects)t.is(_c)&&(n=t.value);return n},provide:n=>Ho.from(n,e=>e?ld:null)}),iZ=n=>{let e=Go(n,ld);if(!e){let t=[_c.of(!0)];n.state.field(f0,!1)==null&&t.push(qe.appendConfig.of([f0,nZ])),n.dispatch({effects:t}),e=Go(n,ld)}return e&&e.dom.querySelector("input").focus(),!0},nZ=me.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),rZ={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},Vw=ve.define({combine(n){return _r(n,rZ,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function sZ(n){let e=[cZ,fZ];return n&&e.push(Vw.of(n)),e}const lZ=Ze.mark({class:"cm-selectionMatch"}),oZ=Ze.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function c0(n,e,t,i){return(t==0||n(e.sliceDoc(t-1,t))!=It.Word)&&(i==e.doc.length||n(e.sliceDoc(i,i+1))!=It.Word)}function aZ(n,e,t,i){return n(e.sliceDoc(t,t+1))==It.Word&&n(e.sliceDoc(i-1,i))==It.Word}const fZ=Oi.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(Vw),{state:t}=n,i=t.selection;if(i.ranges.length>1)return Ze.none;let r=i.main,s,l=null;if(r.empty){if(!e.highlightWordAroundCursor)return Ze.none;let f=t.wordAt(r.head);if(!f)return Ze.none;l=t.charCategorizer(r.head),s=t.sliceDoc(f.from,f.to)}else{let f=r.to-r.from;if(f200)return Ze.none;if(e.wholeWords){if(s=t.sliceDoc(r.from,r.to),l=t.charCategorizer(r.head),!(c0(l,t,r.from,r.to)&&aZ(l,t,r.from,r.to)))return Ze.none}else if(s=t.sliceDoc(r.from,r.to).trim(),!s)return Ze.none}let o=[];for(let f of n.visibleRanges){let u=new El(t.doc,s,f.from,f.to);for(;!u.next().done;){let{from:h,to:O}=u.value;if((!l||c0(l,t,h,O))&&(r.empty&&h<=r.from&&O>=r.to?o.push(oZ.range(h,O)):(h>=r.to||O<=r.from)&&o.push(lZ.range(h,O)),o.length>e.maxMatches))return Ze.none}}return Ze.set(o)}},{decorations:n=>n.decorations}),cZ=me.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),uZ=({state:n,dispatch:e})=>{let{selection:t}=n,i=K.create(t.ranges.map(r=>n.wordAt(r.head)||K.cursor(r.head)),t.mainIndex);return i.eq(t)?!1:(e(n.update({selection:i})),!0)};function hZ(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(f=>f.from==o.value.from))continue;if(s){let f=n.wordAt(o.value.from);if(!f||f.from!=o.value.from||f.to!=o.value.to)continue}return o.value}}const OZ=({state:n,dispatch:e})=>{let{ranges:t}=n.selection;if(t.some(s=>s.from===s.to))return uZ({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=hZ(n,i);return r?(e(n.update({selection:n.selection.addRange(K.range(r.from,r.to),!1),effects:me.scrollIntoView(r.to)})),!0):!1},Vd=ve.define({combine(n){return _r(n,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:e=>new PZ(e)})}});class qw{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||tZ(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 mZ(this):new pZ(this)}getCursor(e,t=0,i){let r=e.doc?e:ft.create({doc:e});return i==null&&(i=r.doc.length),this.regexp?$l(this,r,t,i):bl(this,r,t,i)}}class Ew{constructor(e){this.spec=e}}function bl(n,e,t,i){return new El(e.doc,n.unquoted,t,i,n.caseSensitive?void 0:r=>r.toLowerCase(),n.wholeWord?dZ(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function dZ(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=bl(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 $l(n,e,t,i){return new Uw(e.doc,n.search,{ignoreCase:!n.caseSensitive,test:n.wholeWord?gZ(e.charCategorizer(e.selection.main.head)):void 0},t,i)}function Wc(n,e){return n.slice(Li(n,e,!1),e)}function xc(n,e){return n.slice(e,Li(n,e))}function gZ(n){return(e,t,i)=>!i[0].length||(n(Wc(i.input,i.index))!=It.Word||n(xc(i.input,i.index))!=It.Word)&&(n(xc(i.input,i.index+i[0].length))!=It.Word||n(Wc(i.input,i.index+i[0].length))!=It.Word)}class mZ extends Ew{nextMatch(e,t,i){let r=$l(this.spec,e,i,e.doc.length).next();return r.done&&(r=$l(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=$l(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=$l(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 ta=qe.define(),qd=qe.define(),bs=$i.define({create(n){return new Jh(od(n).create(),null)},update(n,e){for(let t of e.effects)t.is(ta)?n=new Jh(t.value.create(),n.panel):t.is(qd)&&(n=new Jh(n.query,t.value?Ed:null));return n},provide:n=>Ho.from(n,e=>e.panel)});class Jh{constructor(e,t){this.query=e,this.panel=t}}const SZ=Ze.mark({class:"cm-searchMatch"}),bZ=Ze.mark({class:"cm-searchMatch cm-searchMatch-selected"}),$Z=Oi.fromClass(class{constructor(n){this.view=n,this.decorations=this.highlight(n.state.field(bs))}update(n){let e=n.state.field(bs);(e!=n.startState.field(bs)||n.docChanged||n.selectionSet||n.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:n,panel:e}){if(!e||!n.spec.valid)return Ze.none;let{view:t}=this,i=new Qs;for(let r=0,s=t.visibleRanges,l=s.length;rs[r+1].from-2*250;)f=s[++r].to;n.highlight(t.state,o,f,(u,h)=>{let O=t.state.selection.ranges.some(p=>p.from==u&&p.to==h);i.add(u,h,O?bZ:SZ)})}return i.finish()}},{decorations:n=>n.decorations});function ha(n){return e=>{let t=e.state.field(bs,!1);return t&&t.query.spec.valid?n(e,t):Mw(e)}}const Cc=ha((n,{query:e})=>{let{to:t}=n.state.selection.main,i=e.nextMatch(n.state,t,t);return i?(n.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:Md(n,i),userEvent:"select.search"}),!0):!1}),Xc=ha((n,{query:e})=>{let{state:t}=n,{from:i}=t.selection.main,r=e.prevMatch(t,i,i);return r?(n.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:Md(n,r),userEvent:"select.search"}),!0):!1}),QZ=ha((n,{query:e})=>{let t=e.matchAll(n.state,1e3);return!t||!t.length?!1:(n.dispatch({selection:K.create(t.map(i=>K.range(i.from,i.to))),userEvent:"select.search.matches"}),!0)}),wZ=({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(K.range(o.value.from,o.value.to))}return e(n.update({selection:K.create(s,l),userEvent:"select.search.matches"})),!0},u0=ha((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,f,u=[];if(s.from==i&&s.to==r&&(f=t.toText(e.getReplacement(s)),l.push({from:s.from,to:s.to,insert:f}),s=e.nextMatch(t,s.from,s.to),u.push(me.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-f.length;o={anchor:s.from-h,head:s.to-h},u.push(Md(n,s))}return n.dispatch({changes:l,selection:o,scrollIntoView:!!o,effects:u,userEvent:"input.replace"}),!0}),yZ=ha((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:me.announce.of(i),userEvent:"input.replace.all"}),!0});function Ed(n){return n.state.facet(Vd).createPanel(n)}function od(n,e){var t,i,r,s;let l=n.selection.main,o=l.empty||l.to>l.from+100?"":n.sliceDoc(l.from,l.to);if(e&&!o)return e;let f=n.facet(Vd);return new qw({search:((t=e==null?void 0:e.literal)!==null&&t!==void 0?t:f.literal)?o:o.replace(/\n/g,"\\n"),caseSensitive:(i=e==null?void 0:e.caseSensitive)!==null&&i!==void 0?i:f.caseSensitive,literal:(r=e==null?void 0:e.literal)!==null&&r!==void 0?r:f.literal,wholeWord:(s=e==null?void 0:e.wholeWord)!==null&&s!==void 0?s:f.wholeWord})}const Mw=n=>{let e=n.state.field(bs,!1);if(e&&e.panel){let t=Go(n,Ed);if(!t)return!1;let i=t.dom.querySelector("[main-field]");if(i&&i!=n.root.activeElement){let r=od(n.state,e.query.spec);r.valid&&n.dispatch({effects:ta.of(r)}),i.focus(),i.select()}}else n.dispatch({effects:[qd.of(!0),e?ta.of(od(n.state,e.query.spec)):qe.appendConfig.of(_Z)]});return!0},Dw=n=>{let e=n.state.field(bs,!1);if(!e||!e.panel)return!1;let t=Go(n,Ed);return t&&t.dom.contains(n.root.activeElement)&&n.focus(),n.dispatch({effects:qd.of(!1)}),!0},vZ=[{key:"Mod-f",run:Mw,scope:"editor search-panel"},{key:"F3",run:Cc,shift:Xc,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:Cc,shift:Xc,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:Dw,scope:"editor search-panel"},{key:"Mod-Shift-l",run:wZ},{key:"Alt-g",run:iZ},{key:"Mod-d",run:OZ,preventDefault:!0}];class PZ{constructor(e){this.view=e;let t=this.query=e.state.field(bs).query.spec;this.commit=this.commit.bind(this),this.searchField=Tt("input",{value:t.search,placeholder:wn(e,"Find"),"aria-label":wn(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:wn(e,"Replace"),"aria-label":wn(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",()=>Cc(e),[wn(e,"next")]),i("prev",()=>Xc(e),[wn(e,"previous")]),i("select",()=>QZ(e),[wn(e,"all")]),Tt("label",null,[this.caseField,wn(e,"match case")]),Tt("label",null,[this.reField,wn(e,"regexp")]),Tt("label",null,[this.wordField,wn(e,"by word")]),...e.state.readOnly?[]:[Tt("br"),this.replaceField,i("replace",()=>u0(e),[wn(e,"replace")]),i("replaceAll",()=>yZ(e),[wn(e,"replace all")])],Tt("button",{name:"close",onclick:()=>Dw(e),"aria-label":wn(e,"close"),type:"button"},["×"])])}commit(){let e=new qw({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:ta.of(e)}))}keydown(e){qC(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?Xc:Cc)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),u0(this.view))}update(e){for(let t of e.transactions)for(let i of t.effects)i.is(ta)&&!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(Vd).top}}function wn(n,e){return n.state.phrase(e)}const Ef=30,Mf=/[\s\.,:;?!]/;function Md(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-Ef),l=Math.min(r,t+Ef),o=n.state.sliceDoc(s,l);if(s!=i.from){for(let f=0;fo.length-Ef;f--)if(!Mf.test(o[f-1])&&Mf.test(o[f])){o=o.slice(0,f);break}}return me.announce.of(`${n.state.phrase("current match")}. ${o} ${n.state.phrase("on line")} ${i.number}.`)}const kZ=me.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"}}),_Z=[bs,Hs.lowest($Z),kZ];class zw{constructor(e,t,i){this.state=e,this.pos=t,this.explicit=i,this.abortListeners=[]}tokenBefore(e){let t=ei(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(Nw(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 h0(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 WZ(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+$/]:WZ(e);return r=>{let s=r.matchBefore(i);return s||r.explicit?{from:s?s.from:r.pos,options:e,validFor:t}:null}}function xZ(n,e){return t=>{for(let i=ei(t.state).resolveInner(t.pos,-1);i;i=i.parent)if(n.indexOf(i.name)>-1)return null;return e(t)}}class O0{constructor(e,t,i){this.completion=e,this.source=t,this.match=i}}function $s(n){return n.selection.main.head}function Nw(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 CZ=Fr.define();function XZ(n,e,t,i){return Object.assign(Object.assign({},n.changeByRange(r=>{if(r==n.selection.main)return{changes:{from:t,to:i,insert:e},range:K.cursor(t+e.length)};let s=i-t;return!r.empty||s&&n.sliceDoc(r.from-s,r.from)!=n.sliceDoc(t,i)?{range:r}:{changes:{from:r.from-s,to:r.from,insert:e},range:K.cursor(r.from-s+e.length)}})),{userEvent:"input.complete"})}function Lw(n,e){const t=e.completion.apply||e.completion.label;let i=e.source;typeof t=="string"?n.dispatch(Object.assign(Object.assign({},XZ(n.state,t,i.from,i.to)),{annotations:CZ.of(e.completion)})):t(n,e.completion,i.from,i.to)}const d0=new WeakMap;function TZ(n){if(!Array.isArray(n))return n;let e=d0.get(n);return e||d0.set(n,e=Iw(n)),e}class ZZ{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let t=0;t=48&&X<=57||X>=97&&X<=122?2:X>=65&&X<=90?1:0:(R=dd(X))!=R.toLowerCase()?1:R!=R.toUpperCase()?2:0;(!x||I==1&&Q||C==0&&I!=0)&&(t[O]==X||i[O]==X&&(p=!0)?l[O++]=x:l.length&&(_=!1)),C=I,x+=Pn(X)}return O==f&&l[0]==0&&_?this.result(-100+(p?-200:0),l,e):g==f&&b==0?[-200-e.length,0,$]:o>-1?[-700-e.length,o,o+this.pattern.length]:g==f?[-200+-700-e.length,b,$]:O==f?this.result(-100+(p?-200:0)+-700+(_?0:-1100),l,e):t.length==2?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,i){let r=[e-i.length],s=1;for(let l of t){let o=l+(this.astral?Pn(Xi(i,l)):1);s>1&&r[s-1]==l?r[s-1]=o:(r[s++]=l,r[s++]=o)}return r}}const jn=ve.define({combine(n){return _r(n,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>i=>p0(e(i),t(i)),optionClass:(e,t)=>i=>p0(e(i),t(i)),addToOptions:(e,t)=>e.concat(t)})}});function p0(n,e){return n?e?n+" "+e:n:e}function RZ(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){let s=document.createElement("span");s.className="cm-completionLabel";let{label:l}=t,o=0;for(let f=1;fo&&s.appendChild(document.createTextNode(l.slice(o,u)));let O=s.appendChild(document.createElement("span"));O.appendChild(document.createTextNode(l.slice(u,h))),O.className="cm-completionMatchedText",o=h}return ot.position-i.position).map(t=>t.render)}function g0(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 AZ{constructor(e,t){this.view=e,this.stateField=t,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:o=>this.positionInfo(o),key:this},this.space=null,this.currentClass="";let i=e.state.field(t),{options:r,selected:s}=i.open,l=e.state.facet(jn);this.optionContent=RZ(l),this.optionClass=l.optionClass,this.tooltipClass=l.tooltipClass,this.range=g0(r.length,s,l.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",o=>{for(let f=o.target,u;f&&f!=this.dom;f=f.parentNode)if(f.nodeName=="LI"&&(u=/-(\d+)$/.exec(f.id))&&+u[1]{this.info&&this.view.requestMeasure(this.placeInfo)})}mount(){this.updateSel()}update(e){var t,i,r;let s=e.state.field(this.stateField),l=e.startState.field(this.stateField);this.updateTooltipClass(e.state),s!=l&&(this.updateSel(),((t=s.open)===null||t===void 0?void 0:t.disabled)!=((i=l.open)===null||i===void 0?void 0:i.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!(!((r=s.open)===null||r===void 0)&&r.disabled)))}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.placeInfo)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=g0(t.options.length,t.selected,this.view.state.facet(jn).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfo)})),this.updateSelectedOption(t.selected)){this.info&&(this.info.remove(),this.info=null);let{completion: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)}).catch(l=>Wn(this.view.state,l,"completion info")):this.addInfoPane(s)}}addInfoPane(e){let t=this.info=document.createElement("div");t.className="cm-tooltip cm-completionInfo",t.appendChild(e),this.dom.appendChild(t),this.view.requestMeasure(this.placeInfo)}updateSelectedOption(e){let t=null;for(let i=this.list.firstChild,r=this.range.from;i;i=i.nextSibling,r++)r==e?i.hasAttribute("aria-selected")||(i.setAttribute("aria-selected","true"),t=i):i.hasAttribute("aria-selected")&&i.removeAttribute("aria-selected");return t&&YZ(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 b=this.dom.ownerDocument.defaultView||window;s={left:0,top:0,right:b.innerWidth,bottom:b.innerHeight}}if(r.top>Math.min(s.bottom,t.bottom)-10||r.bottom=i.height||b>t.top?h=r.bottom-t.top+"px":O=t.bottom-r.top+"px"}return{top:h,bottom:O,maxWidth:u,class:f?l?"left-narrow":"right-narrow":o?"left":"right"}}positionInfo(e){this.info&&(e?(this.info.style.top=e.top,this.info.style.bottom=e.bottom,this.info.style.maxWidth=e.maxWidth,this.info.className="cm-tooltip cm-completionInfo cm-completionInfo-"+e.class):this.info.style.top="-1e6px")}createListBox(e,t,i){const r=document.createElement("ul");r.id=t,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),r.setAttribute("aria-label",this.view.state.phrase("Completions"));for(let s=i.from;snew AZ(e,n)}function YZ(n,e){let t=n.getBoundingClientRect(),i=e.getBoundingClientRect();i.topt.bottom&&(n.scrollTop+=i.bottom-t.bottom)}function m0(n){return(n.boost||0)*100+(n.apply?10:0)+(n.info?5:0)+(n.type?1:0)}function VZ(n,e){let t=[],i=0;for(let o of n)if(o.hasResult())if(o.result.filter===!1){let f=o.result.getMatch;for(let u of o.result.options){let h=[1e9-i++];if(f)for(let O of f(u))h.push(O);t.push(new O0(u,o,h))}}else{let f=new ZZ(e.sliceDoc(o.from,o.to)),u;for(let h of o.result.options)(u=f.match(h.label))&&(h.boost!=null&&(u[0]+=h.boost),t.push(new O0(h,o,u)))}let r=[],s=null,l=e.facet(jn).compareCompletions;for(let o of t.sort((f,u)=>u.match[0]-f.match[0]||l(f.completion,u.completion)))!s||s.label!=o.completion.label||s.detail!=o.completion.detail||s.type!=null&&o.completion.type!=null&&s.type!=o.completion.type||s.apply!=o.completion.apply?r.push(o):m0(o.completion)>m0(s)&&(r[r.length-1]=o),s=o.completion;return r}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,S0(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,i,r,s){let l=VZ(e,t);if(!l.length)return r&&e.some(f=>f.state==1)?new vl(r.options,r.attrs,r.tooltip,r.timestamp,r.selected,!0):null;let o=t.facet(jn).selectOnOpen?0:-1;if(r&&r.selected!=o&&r.selected!=-1){let f=r.options[r.selected].completion;for(let u=0;uu.hasResult()?Math.min(f,u.from):f,1e8),create:UZ(zn),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 Tc{constructor(e,t,i){this.active=e,this.id=t,this.open=i}static start(){return new Tc(MZ,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:t}=e,i=t.facet(jn),s=(i.override||t.languageDataAt("autocomplete",$s(t)).map(TZ)).map(o=>(this.active.find(u=>u.source==o)||new hn(o,this.active.some(u=>u.state!=0)?1:0)).update(e,i));s.length==this.active.length&&s.every((o,f)=>o==this.active[f])&&(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))||!qZ(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 hn(o.source,0):o));for(let o of e.effects)o.is(jw)&&(l=l&&l.setSelected(o.value,this.id));return s==this.active&&l==this.open?this:new Tc(s,this.id,l)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:EZ}}function qZ(n,e){if(n==e)return!0;for(let t=0,i=0;;){for(;t-1&&(t["aria-activedescendant"]=n+"-"+e),t}const MZ=[];function ad(n){return n.isUserEvent("input.type")?"input":n.isUserEvent("delete.backward")?"delete":null}class hn{constructor(e,t,i=-1){this.source=e,this.state=t,this.explicitPos=i}hasResult(){return!1}update(e,t){let i=ad(e),r=this;i?r=r.handleUserEvent(e,i,t):e.docChanged?r=r.handleChange(e):e.selection&&r.state!=0&&(r=new hn(r.source,0));for(let s of e.effects)if(s.is(Dd))r=new hn(r.source,1,s.value?$s(e.state):-1);else if(s.is(Zc))r=new hn(r.source,0);else if(s.is(Bw))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 hn(this.source,1)}handleChange(e){return e.changes.touchesRange($s(e.startState))?new hn(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new hn(this.source,this.state,e.mapPos(this.explicitPos))}}class Eo extends hn{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=$s(e.state);if((this.explicitPos<0?o<=s:ol||t=="delete"&&$s(e.startState)==this.from)return new hn(this.source,t=="input"&&i.activateOnTyping?1:0);let f=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),u;return DZ(this.result.validFor,e.state,s,l)?new Eo(this.source,f,this.result,s,l):this.result.update&&(u=this.result.update(this.result,s,l,new zw(e.state,o,f>=0)))?new Eo(this.source,f,u,u.from,(r=u.to)!==null&&r!==void 0?r:$s(e.state)):new hn(this.source,1,f)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new hn(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new Eo(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function DZ(n,e,t,i){if(!n)return!1;let r=e.sliceDoc(t,i);return typeof n=="function"?n(r,t,i,e):Nw(n,!0).test(r)}const Dd=qe.define(),Zc=qe.define(),Bw=qe.define({map(n,e){return n.map(t=>t.map(e))}}),jw=qe.define(),zn=$i.define({create(){return Tc.start()},update(n,e){return n.update(e)},provide:n=>[vd.from(n,e=>e.tooltip),me.contentAttributes.from(n,e=>e.attrs)]});function Df(n,e="option"){return t=>{let i=t.state.field(zn,!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:jw.of(o)}),!0}}const zZ=n=>{let e=n.state.field(zn,!1);return n.state.readOnly||!e||!e.open||e.open.selected<0||Date.now()-e.open.timestampn.state.field(zn,!1)?(n.dispatch({effects:Dd.of(!0)}),!0):!1,NZ=n=>{let e=n.state.field(zn,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(n.dispatch({effects:Zc.of(null)}),!0)};class LZ{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const b0=50,BZ=50,jZ=1e3,FZ=Oi.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(zn).active)e.state==1&&this.startQuery(e)}update(n){let e=n.state.field(zn);if(!n.selectionSet&&!n.docChanged&&n.startState.field(zn)==e)return;let t=n.transactions.some(i=>(i.selection||i.docChanged)&&!ad(i));for(let i=0;iBZ&&Date.now()-r.time>jZ){for(let s of r.context.abortListeners)try{s()}catch(l){Wn(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(),b0):-1,this.composing!=0)for(let i of n.transactions)ad(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(zn);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=$s(e),i=new zw(e,t,n.explicitPos==t),r=new LZ(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:Zc.of(null)}),Wn(this.view.state,s)})}scheduleAccept(){this.running.every(n=>n.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),b0))}accept(){var n;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(jn);for(let i=0;il.source==r.active.source);if(s&&s.state==1)if(r.done==null){let l=new hn(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:Bw.of(e)})}},{eventHandlers:{blur(){let n=this.view.state.field(zn,!1);n&&n.tooltip&&this.view.state.facet(jn).closeOnBlur&&this.view.dispatch({effects:Zc.of(null)})},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:Dd.of(!1)}),20),this.composing=0}}}),Fw=me.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":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&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 GZ{constructor(e,t,i,r){this.field=e,this.line=t,this.from=i,this.to=r}}class zd{constructor(e,t,i){this.field=e,this.from=t,this.to=i}map(e){let t=e.mapPos(this.from,-1,Zi.TrackDel),i=e.mapPos(this.to,1,Zi.TrackDel);return t==null||i==null?null:new zd(this.field,t,i)}}class Id{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 f of this.lines){if(i.length){let u=l,h=/^\t*/.exec(f)[0].length;for(let O=0;Onew zd(f.field,r[f.line]+f.from,r[f.line]+f.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,f=s[2]||s[3]||"",u=-1;for(let h=0;h=u&&O.field++}r.push(new GZ(u,i.length,s.index,s.index+f.length)),l=l.slice(0,s.index)+f+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 f of r)f.line==i.length&&f.from>o.index&&(f.from--,f.to--)}i.push(l)}return new Id(i,r)}}let HZ=Ze.widget({widget:new class extends xs{toDOM(){let n=document.createElement("span");return n.className="cm-snippetFieldPosition",n}ignoreEvent(){return!1}}}),KZ=Ze.mark({class:"cm-snippetField"});class Fl{constructor(e,t){this.ranges=e,this.active=t,this.deco=Ze.set(e.map(i=>(i.from==i.to?HZ:KZ).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 Oa=qe.define({map(n,e){return n&&n.map(e)}}),JZ=qe.define(),ia=$i.define({create(){return null},update(n,e){for(let t of e.effects){if(t.is(Oa))return t.value;if(t.is(JZ)&&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=>me.decorations.from(n,e=>e?e.deco:Ze.none)});function Nd(n,e){return K.create(n.filter(t=>t.field==e).map(t=>K.range(t.from,t.to)))}function eR(n){let e=Id.parse(n);return(t,i,r,s)=>{let{text:l,ranges:o}=e.instantiate(t.state,r),f={changes:{from:r,to:s,insert:mt.of(l)},scrollIntoView:!0};if(o.length&&(f.selection=Nd(o,0)),o.length>1){let u=new Fl(o,0),h=f.effects=[Oa.of(u)];t.state.field(ia,!1)===void 0&&h.push(qe.appendConfig.of([ia,sR,lR,Fw]))}t.dispatch(t.state.update(f))}}function Gw(n){return({state:e,dispatch:t})=>{let i=e.field(ia,!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:Nd(i.ranges,r),effects:Oa.of(s?null:new Fl(i.ranges,r))})),!0}}const tR=({state:n,dispatch:e})=>n.field(ia,!1)?(e(n.update({effects:Oa.of(null)})),!0):!1,iR=Gw(1),nR=Gw(-1),rR=[{key:"Tab",run:iR,shift:nR},{key:"Escape",run:tR}],$0=ve.define({combine(n){return n.length?n[0]:rR}}),sR=Hs.highest(oa.compute([$0],n=>n.facet($0)));function lr(n,e){return Object.assign(Object.assign({},e),{apply:eR(n)})}const lR=me.domEventHandlers({mousedown(n,e){let t=e.state.field(ia,!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:Nd(t.ranges,r.field),effects:Oa.of(t.ranges.some(s=>s.field>r.field)?new Fl(t.ranges,r.field):null)}),!0)}}),na={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Ls=qe.define({map(n,e){let t=e.mapPos(n,-1,Zi.TrackAfter);return t??void 0}}),Ld=qe.define({map(n,e){return e.mapPos(n)}}),Bd=new class extends js{};Bd.startSide=1;Bd.endSide=-1;const Hw=$i.define({create(){return Qt.empty},update(n,e){if(e.selection){let t=e.state.doc.lineAt(e.selection.main.head).from,i=e.startState.doc.lineAt(e.startState.selection.main.head).from;t!=e.changes.mapPos(i,-1)&&(n=Qt.empty)}n=n.map(e.changes);for(let t of e.effects)t.is(Ls)?n=n.update({add:[Bd.range(t.value,t.value+1)]}):t.is(Ld)&&(n=n.update({filter:i=>i!=t.value}));return n}});function oR(){return[fR,Hw]}const eO="()[]{}<>";function Kw(n){for(let e=0;e{if((aR?n.composing:n.compositionStarted)||n.state.readOnly)return!1;let r=n.state.selection.main;if(i.length>2||i.length==2&&Pn(Xi(i,0))==1||e!=r.from||t!=r.to)return!1;let s=hR(n.state,i);return s?(n.dispatch(s),!0):!1}),cR=({state:n,dispatch:e})=>{if(n.readOnly)return!1;let i=Jw(n,n.selection.main.head).brackets||na.brackets,r=null,s=n.changeByRange(l=>{if(l.empty){let o=OR(n.doc,l.head);for(let f of i)if(f==o&&eu(n.doc,l.head)==Kw(Xi(f,0)))return{changes:{from:l.head-f.length,to:l.head+f.length},range:K.cursor(l.head-f.length)}}return{range:r=l}});return r||e(n.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!r},uR=[{key:"Backspace",run:cR}];function hR(n,e){let t=Jw(n,n.selection.main.head),i=t.brackets||na.brackets;for(let r of i){let s=Kw(Xi(r,0));if(e==r)return s==r?gR(n,r,i.indexOf(r+r+r)>-1,t):dR(n,r,s,t.before||na.before);if(e==s&&ey(n,n.selection.main.from))return pR(n,r,s)}return null}function ey(n,e){let t=!1;return n.field(Hw).between(0,n.doc.length,i=>{i==e&&(t=!0)}),t}function eu(n,e){let t=n.sliceString(e,e+2);return t.slice(0,Pn(Xi(t,0)))}function OR(n,e){let t=n.sliceString(e-2,e);return Pn(Xi(t,0))==t.length?t:t.slice(1)}function dR(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:Ls.of(l.to+e.length),range:K.range(l.anchor+e.length,l.head+e.length)};let o=eu(n.doc,l.head);return!o||/\s/.test(o)||i.indexOf(o)>-1?{changes:{insert:e+t,from:l.head},effects:Ls.of(l.head+e.length),range:K.cursor(l.head+e.length)}:{range:r=l}});return r?null:n.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function pR(n,e,t){let i=null,r=n.selection.ranges.map(s=>s.empty&&eu(n.doc,s.head)==t?K.cursor(s.head+t.length):i=s);return i?null:n.update({selection:K.create(r,n.selection.mainIndex),scrollIntoView:!0,effects:n.selection.ranges.map(({from:s})=>Ld.of(s))})}function gR(n,e,t,i){let r=i.stringPrefixes||na.stringPrefixes,s=null,l=n.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:e,from:o.to}],effects:Ls.of(o.to+e.length),range:K.range(o.anchor+e.length,o.head+e.length)};let f=o.head,u=eu(n.doc,f),h;if(u==e){if(Q0(n,f))return{changes:{insert:e+e,from:f},effects:Ls.of(f+e.length),range:K.cursor(f+e.length)};if(ey(n,f)){let O=t&&n.sliceDoc(f,f+e.length*3)==e+e+e;return{range:K.cursor(f+e.length*(O?3:1)),effects:Ld.of(f)}}}else{if(t&&n.sliceDoc(f-2*e.length,f)==e+e&&(h=w0(n,f-2*e.length,r))>-1&&Q0(n,h))return{changes:{insert:e+e+e+e,from:f},effects:Ls.of(f+e.length),range:K.cursor(f+e.length)};if(n.charCategorizer(f)(u)!=It.Word&&w0(n,f,r)>-1&&!mR(n,f,e,r))return{changes:{insert:e+e,from:f},effects:Ls.of(f+e.length),range:K.cursor(f+e.length)}}return{range:s=o}});return s?null:n.update(l,{scrollIntoView:!0,userEvent:"input.type"})}function Q0(n,e){let t=ei(n).resolveInner(e+1);return t.parent&&t.from==e}function mR(n,e,t,i){let r=ei(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)),f=o.indexOf(t);if(!f||f>-1&&i.indexOf(o.slice(0,f))>-1){let h=r.firstChild;for(;h&&h.from==r.from&&h.to-h.from>t.length+f;){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 w0(n,e,t){let i=n.charCategorizer(e);if(i(n.sliceDoc(e-1,e))!=It.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))!=It.Word)return s}return-1}function SR(n={}){return[zn,jn.of(n),FZ,bR,Fw]}const ty=[{key:"Ctrl-Space",run:IZ},{key:"Escape",run:NZ},{key:"ArrowDown",run:Df(!0)},{key:"ArrowUp",run:Df(!1)},{key:"PageDown",run:Df(!0,"page")},{key:"PageUp",run:Df(!1,"page")},{key:"Enter",run:zZ}],bR=Hs.highest(oa.computeN([jn],n=>n.facet(jn).defaultKeymap?[ty]:[]));class $R{constructor(e,t,i){this.from=e,this.to=t,this.diagnostic=i}}class zs{constructor(e,t,i){this.diagnostics=e,this.panel=t,this.selected=i}static init(e,t,i){let r=e,s=i.facet(Pl).markerFilter;s&&(r=s(r));let l=Ze.set(r.map(o=>o.from==o.to||o.from==o.to-1&&i.doc.lineAt(o.from).to==o.from?Ze.widget({widget:new CR(o),diagnostic:o}).range(o.from):Ze.mark({attributes:{class:"cm-lintRange cm-lintRange-"+o.severity},diagnostic:o}).range(o.from,o.to)),!0);return new zs(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 $R(r,s,l.diagnostic),!1}),i}function QR(n,e){return!!(n.effects.some(t=>t.is(jd))||n.changes.touchesRange(e.pos))}function iy(n,e){return n.field(_n,!1)?e:e.concat(qe.appendConfig.of([_n,me.decorations.compute([_n],t=>{let{selected:i,panel:r}=t.field(_n);return!i||!r||i.from==i.to?Ze.none:Ze.set([yR.range(i.from,i.to)])}),v5(vR,{hideOn:QR}),TR]))}function wR(n,e){return{effects:iy(n,[jd.of(e)])}}const jd=qe.define(),Fd=qe.define(),ny=qe.define(),_n=$i.define({create(){return new zs(Ze.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 zs(t,n.panel,i)}for(let t of e.effects)t.is(jd)?n=zs.init(t.value,n.panel,e.state):t.is(Fd)?n=new zs(n.diagnostics,t.value?tu.open:null,n.selected):t.is(ny)&&(n=new zs(n.diagnostics,n.panel,t.value));return n},provide:n=>[Ho.from(n,e=>e.panel),me.decorations.from(n,e=>e.diagnostics)]}),yR=Ze.mark({class:"cm-lintRange cm-lintRange-active"});function vR(n,e,t){let{diagnostics:i}=n.state.field(_n),r=[],s=2e8,l=0;i.between(e-(t<0?1:0),e+(t>0?1:0),(f,u,{spec:h})=>{e>=f&&e<=u&&(f==u||(e>f||t>0)&&(esy(n,t,!1)))}const kR=n=>{let e=n.state.field(_n,!1);(!e||!e.panel)&&n.dispatch({effects:iy(n.state,[Fd.of(!0)])});let t=Go(n,tu.open);return t&&t.dom.querySelector(".cm-panel-lint ul").focus(),!0},y0=n=>{let e=n.state.field(_n,!1);return!e||!e.panel?!1:(n.dispatch({effects:Fd.of(!1)}),!0)},_R=n=>{let e=n.state.field(_n,!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)},WR=[{key:"Mod-Shift-m",run:kR,preventDefault:!0},{key:"F8",run:_R}],xR=Oi.fromClass(class{constructor(n){this.view=n,this.timeout=-1,this.set=!0;let{delay:e}=n.state.facet(Pl);this.lintTime=Date.now()+e,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,e)}run(){let n=Date.now();if(nPromise.resolve(i(this.view)))).then(i=>{let r=i.reduce((s,l)=>s.concat(l));this.view.state.doc==e.doc&&this.view.dispatch(wR(this.view.state,r))},i=>{Wn(this.view.state,i)})}}update(n){let e=n.state.facet(Pl);(n.docChanged||e!=n.startState.facet(Pl))&&(this.lintTime=Date.now()+e.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,e.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),Pl=ve.define({combine(n){return Object.assign({sources:n.map(e=>e.source)},_r(n.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null}))},enables:xR});function ry(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 sy(n,e,t){var i;let r=t?ry(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=O=>{O.preventDefault();let p=Ml(n.state.field(_n).diagnostics,e);p&&s.apply(n,p.from,p.to)},{name:f}=s,u=r[l]?f.indexOf(r[l]):-1,h=u<0?f:[f.slice(0,u),Tt("u",f.slice(u,u+1)),f.slice(u+1)];return Tt("button",{type:"button",class:"cm-diagnosticAction",onclick:o,onmousedown:o,"aria-label":` Action: ${f}${u<0?"":` (access key "${r[l]})"`}.`},h)}),e.source&&Tt("div",{class:"cm-diagnosticSource"},e.source))}class CR extends xs{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 v0{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=sy(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class tu{constructor(e){this.view=e,this.items=[];let t=r=>{if(r.keyCode==27)y0(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=ry(s.actions);for(let o=0;o{for(let s=0;sy0(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(_n).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})=>{l.topo.bottom&&(this.list.scrollTop+=l.bottom-o.bottom)}})):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(_n),i=Ml(t.diagnostics,this.items[e].diagnostic);i&&this.view.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:ny.of(i)})}static open(e){return new tu(e)}}function XR(n,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(n)}')`}function tO(n){return XR(``,'width="6" height="3"')}const TR=me.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:tO("#d11")},".cm-lintRange-warning":{backgroundImage:tO("orange")},".cm-lintRange-info":{backgroundImage:tO("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),ZR=(()=>[R5(),Y5(),i5(),tT(),WX(),NC(),GC(),ft.allowMultipleSelections.of(!0),gX(),GQ(TX,{fallback:!0}),qX(),oR(),SR(),d5(),m5(),a5(),sZ(),oa.of([...uR,...JT,...vZ,...cT,...PX,...ty,...WR])])(),Pi=({variant:n,settings:e,styles:t})=>{const i=me.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=ua.define(t);return[i,GQ(r)]};Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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 RR=Nl({String:S.string,Number:S.number,"True False":S.bool,PropertyName:S.propertyName,Null:S.null,",":S.separator,"[ ]":S.squareBracket,"{ }":S.brace}),AR=ks.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:[RR],skippedNodes:[0],repeatNodeCount:2,tokenData:"(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOe~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOh~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!O%w!Q![%}~%zP!Q![%}~&SPT~!Q![%}~&[ST~!O!P%V!Q![&V!g!h%k#X#Y%k~&mOg~~&rO]~~&wO[~~&zP#T#U&}~'QP#`#a'T~'WP#g#h'Z~'^P#X#Y'a~'fOR~~'iP#i#j'l~'oP#`#a'r~'uP#`#a'x~'}OS~~(QP#f#g(T~(WP#i#j(Z~(^P#X#Y(a~(fOQ~~(kOW~~(pOV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),UR=_s.define({name:"json",parser:AR.configure({props:[Ll.add({Object:Zl({except:/^\s*\}/}),Array:Zl({except:/^\s*\]/})}),Bl.add({"Object Array":Sr})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function YR(){return new fa(UR)}const VR=54,qR=1,ER=55,MR=2,DR=56,zR=3,P0=4,IR=5,Rc=6,ly=7,oy=8,ay=9,fy=10,NR=11,LR=12,BR=13,iO=57,jR=14,k0=58,cy=20,FR=22,uy=23,GR=24,fd=26,hy=27,HR=28,KR=31,JR=34,eA=36,tA=37,iA=0,nA=1,rA={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},sA={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},_0={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 lA(n){return n==45||n==46||n==58||n>=65&&n<=90||n==95||n>=97&&n<=122||n>=161}function Oy(n){return n==9||n==10||n==13||n==32}let W0=null,x0=null,C0=0;function cd(n,e){let t=n.pos+e;if(C0==t&&x0==n)return W0;let i=n.peek(e);for(;Oy(i);)i=n.peek(++e);let r="";for(;lA(i);)r+=String.fromCharCode(i),i=n.peek(++e);return x0=n,C0=t,W0=r?r.toLowerCase():i==oA||i==aA?void 0:null}const dy=60,Ac=62,Gd=47,oA=63,aA=33,fA=45;function X0(n,e){this.name=n,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t-1?new X0(cd(i,1)||"",n):n},reduce(n,e){return e==cy&&n?n.parent:n},reuse(n,e,t,i){let r=e.type.id;return r==Rc||r==eA?new X0(cd(i,1)||"",n):n},hash(n){return n?n.hash:0},strict:!1}),hA=new Wr((n,e)=>{if(n.next!=dy){n.next<0&&e.context&&n.acceptToken(iO);return}n.advance();let t=n.next==Gd;t&&n.advance();let i=cd(n,0);if(i===void 0)return;if(!i)return n.acceptToken(t?jR:Rc);let r=e.context?e.context.name:null;if(t){if(i==r)return n.acceptToken(NR);if(r&&sA[r])return n.acceptToken(iO,-2);if(e.dialectEnabled(iA))return n.acceptToken(LR);for(let s=e.context;s;s=s.parent)if(s.name==i)return;n.acceptToken(BR)}else{if(i=="script")return n.acceptToken(ly);if(i=="style")return n.acceptToken(oy);if(i=="textarea")return n.acceptToken(ay);if(rA.hasOwnProperty(i))return n.acceptToken(fy);r&&_0[r]&&_0[r][i]?n.acceptToken(iO,-1):n.acceptToken(Rc)}},{contextual:!0}),OA=new Wr(n=>{for(let e=0,t=0;;t++){if(n.next<0){t&&n.acceptToken(k0);break}if(n.next==fA)e++;else if(n.next==Ac&&e>=2){t>3&&n.acceptToken(k0,-2);break}else e=0;n.advance()}});function dA(n){for(;n;n=n.parent)if(n.name=="svg"||n.name=="math")return!0;return!1}const pA=new Wr((n,e)=>{if(n.next==Gd&&n.peek(1)==Ac){let t=e.dialectEnabled(nA)||dA(e.context);n.acceptToken(t?IR:P0,2)}else n.next==Ac&&n.acceptToken(P0,1)});function Hd(n,e,t){let i=2+n.length;return new Wr(r=>{for(let s=0,l=0,o=0;;o++){if(r.next<0){o&&r.acceptToken(e);break}if(s==0&&r.next==dy||s==1&&r.next==Gd||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 gA=Hd("script",VR,qR),mA=Hd("style",ER,MR),SA=Hd("textarea",DR,zR),bA=Nl({"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}),$A=ks.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`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!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:uA,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:[bA],skippedNodes:[0],repeatNodeCount:9,tokenData:"#%g!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs4ysv-_vw5iwxJ^x}-_}!OKP!O!P-_!P!Q$q!Q![-_![!]!!O!]!^-_!^!_!&W!_!`#$o!`!a&X!a!c-_!c!}!!O!}#R-_#R#S!!O#S#T3V#T#o!!O#o#s-_#s$f$q$f%W-_%W%o!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l!Nc!V##^chS!a`!cpOq!G_qr!Eyrs!HUsv!Eyvw!Ncwx!Jvx!P!Ey!P!Q!G_!Q!_!Ey!_!`!G_!`!a!Mm!a#s!Ey#s$f!G_$f;'S!Ey;'S;=`#$i<%l?Ah!Ey?Ah?BY!G_?BY?Mn!Ey?MnO!G_!V#$lP;=`<%l!Ey!V#$zXiS`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[gA,mA,SA,pA,hA,OA,0,1,2,3,4,5],topRules:{Document:[0,15]},dialects:{noMatch:0,selfClosing:485},tokenPrec:487});function py(n,e){let t=Object.create(null);for(let i of n.getChildren(uy)){let r=i.getChild(GR),s=i.getChild(fd)||i.getChild(hy);r&&(t[e.read(r.from,r.to)]=s?s.type.id==fd?e.read(s.from+1,s.to-1):e.read(s.from,s.to):"")}return t}function T0(n,e){let t=n.getChild(FR);return t?e.read(t.from,t.to):" "}function nO(n,e,t){let i;for(let r of t)if(!r.attrs||r.attrs(i||(i=py(n.node.parent.firstChild,e))))return{parser:r.parser};return null}function gy(n=[],e=[]){let t=[],i=[],r=[],s=[];for(let o of n)(o.tag=="script"?t:o.tag=="style"?i:o.tag=="textarea"?r:s).push(o);let l=e.length?Object.create(null):null;for(let o of e)(l[o.name]||(l[o.name]=[])).push(o);return R4((o,f)=>{let u=o.type.id;if(u==HR)return nO(o,f,t);if(u==KR)return nO(o,f,i);if(u==JR)return nO(o,f,r);if(u==cy&&s.length){let h=o.node,O=h.firstChild,p=O&&T0(O,f),g;if(p){for(let b of s)if(b.tag==p&&(!b.attrs||b.attrs(g||(g=py(h,f))))){let $=h.lastChild;return{parser:b.parser,overlay:[{from:O.to,to:$.type.id==tA?$.from:h.to}]}}}}if(l&&u==uy){let h=o.node,O;if(O=h.firstChild){let p=l[f.read(O.from,O.to)];if(p)for(let g of p){if(g.tagName&&g.tagName!=T0(h.parent,f))continue;let b=h.lastChild;if(b.type.id==fd){let $=b.from+1,Q=b.lastChild,_=b.to-(Q&&Q.isError?0:1);if(_>$)return{parser:g.parser,overlay:[{from:$,to:_}]}}else if(b.type.id==hy)return{parser:g.parser,overlay:[{from:b.from,to:b.to}]}}}}return null})}const QA=95,Z0=1,wA=96,yA=97,R0=2,my=[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,PA=40,Sy=95,kA=91,tc=45,_A=46,WA=35,xA=37;function Uc(n){return n>=65&&n<=90||n>=97&&n<=122||n>=161}function CA(n){return n>=48&&n<=57}const XA=new Wr((n,e)=>{for(let t=!1,i=0,r=0;;r++){let{next:s}=n;if(Uc(s)||s==tc||s==Sy||t&&CA(s))!t&&(s!=tc||r>0)&&(t=!0),i===r&&s==tc&&i++,n.advance();else{t&&n.acceptToken(s==PA?wA:i==2&&e.canShift(R0)?R0:yA);break}}}),TA=new Wr(n=>{if(my.includes(n.peek(-1))){let{next:e}=n;(Uc(e)||e==Sy||e==WA||e==_A||e==kA||e==vA||e==tc)&&n.acceptToken(QA)}}),ZA=new Wr(n=>{if(!my.includes(n.peek(-1))){let{next:e}=n;if(e==xA&&(n.advance(),n.acceptToken(Z0)),Uc(e)){do n.advance();while(Uc(n.next));n.acceptToken(Z0)}}}),RA=Nl({"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}),AA={__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},UA={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},YA={__proto__:null,not:128,only:128},VA=ks.deserialize({version:14,states:"8`QYQ[OOO#_Q[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO#fQ[O'#CfO$YQXO'#CaO$aQ[O'#ChO$lQ[O'#DPO$qQ[O'#DTOOQP'#Ee'#EeO$vQdO'#DeO%bQ[O'#DrO$vQdO'#DtO%sQ[O'#DvO&OQ[O'#DyO&WQ[O'#EPO&fQ[O'#EROOQS'#Ed'#EdOOQS'#ET'#ETQYQ[OOO&mQXO'#CdO'bQWO'#DaO'gQWO'#EkO'rQ[O'#EkQOQWOOOOQP'#Cg'#CgOOQP,59Q,59QO#fQ[O,59QO'|Q[O'#EWO(hQWO,58{O(pQ[O,59SO$lQ[O,59kO$qQ[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)SQWO,59SO)XQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO)^Q`O,59oOOQS'#Cp'#CpO$vQdO'#CqO)fQvO'#CsO*sQtO,5:POOQO'#Cx'#CxO)XQWO'#CwO+XQWO'#CyOOQS'#Eh'#EhOOQO'#Dh'#DhO+^Q[O'#DoO+lQWO'#ElO&WQ[O'#DmO+zQWO'#DpOOQO'#Em'#EmO(kQWO,5:^O,PQpO,5:`OOQS'#Dx'#DxO,XQWO,5:bO,^Q[O,5:bOOQO'#D{'#D{O,fQWO,5:eO,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WOy%^z#W%^#W#XJf#X;'S%^;'S;=`%o<%lO%^XJmS!`PoWOy%^z;'S%^;'S;=`%o<%lO%^XJ|UOy%^z#f%^#f#gJf#g;'S%^;'S;=`%o<%lO%^ZKeS!RROy%^z;'S%^;'S;=`%o<%lO%^_KvS!QVOy%^z;'S%^;'S;=`%o<%lO%^ZLXU!PPOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^WLnP;=`<%l$}",tokenizers:[TA,ZA,XA,0,1,2,3],topRules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:96,get:n=>AA[n]||-1},{term:56,get:n=>UA[n]||-1},{term:97,get:n=>YA[n]||-1}],tokenPrec:1142});let rO=null;function sO(){if(!rO&&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)));rO=e.sort().map(i=>({type:"property",label:i}))}return rO||[]}const A0=["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})),U0=["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}))),qA=["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})),cs=/^(\w[\w-]*|-\w[\w-]*|)$/,EA=/^-(-[\w-]*)?$/;function MA(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 Y0=new ZQ,DA=["Declaration"];function zA(n){for(let e=n;;){if(e.type.isTop)return e;if(!(e=e.parent))return n}}function by(n,e,t){if(e.to-e.from>4096){let i=Y0.get(e);if(i)return i;let r=[],s=new Set,l=e.cursor(Ut.IncludeAnonymous);if(l.firstChild())do for(let o of by(n,l.node,t))s.has(o.label)||(s.add(o.label),r.push(o));while(l.nextSibling());return Y0.set(e,r),r}else{let i=[],r=new Set;return e.cursor().iterate(s=>{var l;if(t(s)&&s.matchContext(DA)&&((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 IA=n=>e=>{let{state:t,pos:i}=e,r=ei(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:sO(),validFor:cs};if(r.name=="ValueName")return{from:r.from,options:U0,validFor:cs};if(r.name=="PseudoClassName")return{from:r.from,options:A0,validFor:cs};if(n(r)||(e.explicit||s)&&MA(r,t.doc))return{from:n(r)||s?r.from:i,options:by(t.doc,zA(r),n),validFor:EA};if(r.name=="TagName"){for(let{parent:f}=r;f;f=f.parent)if(f.name=="Block")return{from:r.from,options:sO(),validFor:cs};return{from:r.from,options:qA,validFor:cs}}if(!e.explicit)return null;let l=r.resolve(i),o=l.childBefore(i);return o&&o.name==":"&&l.name=="PseudoClassSelector"?{from:i,options:A0,validFor:cs}:o&&o.name==":"&&l.name=="Declaration"||l.name=="ArgList"?{from:i,options:U0,validFor:cs}:l.name=="Block"||l.name=="Styles"?{from:i,options:sO(),validFor:cs}:null},NA=IA(n=>n.name=="VariableName"),Yc=_s.define({name:"css",parser:VA.configure({props:[Ll.add({Declaration:Zl()}),Bl.add({Block:Sr})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function LA(){return new fa(Yc,Yc.data.of({autocomplete:NA}))}const V0=302,q0=1,BA=2,E0=303,jA=305,FA=306,GA=3,HA=4,KA=[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],$y=125,JA=59,M0=47,e9=42,t9=43,i9=45,n9=new UQ({start:!1,shift(n,e){return e==GA||e==HA||e==jA?n:e==FA},strict:!1}),r9=new Wr((n,e)=>{let{next:t}=n;(t==$y||t==-1||e.context)&&e.canShift(E0)&&n.acceptToken(E0)},{contextual:!0,fallback:!0}),s9=new Wr((n,e)=>{let{next:t}=n,i;KA.indexOf(t)>-1||t==M0&&((i=n.peek(1))==M0||i==e9)||t!=$y&&t!=JA&&t!=-1&&!e.context&&e.canShift(V0)&&n.acceptToken(V0)},{contextual:!0}),l9=new Wr((n,e)=>{let{next:t}=n;if((t==t9||t==i9)&&(n.advance(),t==n.next)){n.advance();let i=!e.context&&e.canShift(q0);n.acceptToken(i?q0:BA)}},{contextual:!0}),o9=Nl({"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 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: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)}),a9={__proto__:null,export:14,as:19,from:27,default:30,async:35,function:36,extends:46,this:50,true:58,false:58,null:70,void:74,typeof:78,super:96,new:130,delete:146,yield:155,await:159,class:164,public:221,private:221,protected:221,readonly:223,instanceof:242,satisfies:245,in:246,const:248,import:280,keyof:335,unique:339,infer:345,is:381,abstract:401,implements:403,type:405,let:408,var:410,interface:417,enum:421,namespace:427,module:429,declare:433,global:437,for:456,of:465,while:468,with:472,do:476,if:480,else:482,switch:486,case:492,try:498,catch:502,finally:506,return:510,throw:514,break:518,continue:522,debugger:526},f9={__proto__:null,async:117,get:119,set:121,declare:181,public:183,private:183,protected:183,static:185,abstract:187,override:189,readonly:195,accessor:197,new:385},c9={__proto__:null,"<":137},u9=ks.deserialize({version:14,states:"$6[O`QUOOO%QQUOOO'TQWOOP(bOSOOO*pQ(CjO'#CfO*wOpO'#CgO+VO!bO'#CgO+eO07`O'#DZO-vQUO'#DaO.WQUO'#DlO%QQUO'#DvO0[QUO'#EOOOQ(CY'#EW'#EWO0uQSO'#ETOOQO'#Ei'#EiOOQO'#Ib'#IbO0}QSO'#GkO1YQSO'#EhO1_QSO'#EhO3aQ(CjO'#JcO6QQ(CjO'#JdO6nQSO'#FWO6sQ#tO'#FoOOQ(CY'#F`'#F`O7OO&jO'#F`O7^Q,UO'#FvO8tQSO'#FuOOQ(CY'#Jd'#JdO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ineComment BlockComment Script 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 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:364,context:n9,nodeProps:[["group",-26,6,14,16,62,199,203,206,207,209,212,215,225,227,233,235,237,239,242,248,254,256,258,260,262,264,265,"Statement",-32,10,11,25,28,29,35,45,48,49,51,56,64,72,76,78,80,81,103,104,113,114,131,134,136,137,138,139,141,142,162,163,165,"Expression",-23,24,26,30,34,36,38,166,168,170,171,173,174,175,177,178,179,181,182,183,193,195,197,198,"Type",-3,84,96,102,"ClassItem"],["openedBy",31,"InterpolationStart",50,"[",54,"{",69,"(",143,"JSXStartTag",155,"JSXStartTag JSXStartCloseTag"],["closedBy",33,"InterpolationEnd",44,"]",55,"}",70,")",144,"JSXSelfCloseEndTag JSXEndTag",160,"JSXEndTag"]],propSources:[o9],skippedNodes:[0,3,4,268],repeatNodeCount:33,tokenData:"$>y(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tu>PuvBavwDxwxGgxyMvyz! Qz{!![{|!%O|}!&]}!O!%O!O!P!'g!P!Q!1w!Q!R#0t!R![#3T![!]#@T!]!^#Aa!^!_#Bk!_!`#GS!`!a#In!a!b#N{!b!c$$z!c!}>P!}#O$&U#O#P$'`#P#Q$,w#Q#R$.R#R#S>P#S#T$/`#T#o$0j#o#p$4z#p#q$5p#q#r$7Q#r#s$8^#s$f%Z$f$g+g$g#BY>P#BY#BZ$9h#BZ$IS>P$IS$I_$9h$I_$I|>P$I|$I}$P$JT$JU$9h$JU$KV>P$KV$KW$9h$KW&FU>P&FU&FV$9h&FV;'S>P;'S;=`BZ<%l?HT>P?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V>P$KV$KW$9h$KW&FU>P&FU&FV$9h&FV;'S>P;'S;=`BZ<%l?HT>P?HT?HU$9h?HUO>P(CS$=Uk$d&j'wp'z!b'n(;d(U!LY't&;d$W#tOY%ZYZ&cZr%Zrs&}st%Ztu>Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$g%Z$g;'S>P;'S;=`BZ<%lO>P",tokenizers:[s9,l9,2,3,4,5,6,7,8,9,10,11,12,13,r9,new HO("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOq~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!O~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(T~~",141,326),new HO("j~RQYZXz{^~^O'q~~aP!P!Qd~iO'r~~",25,308)],topRules:{Script:[0,5],SingleExpression:[1,266],SingleClassItem:[2,267]},dialects:{jsx:12686,ts:12688},dynamicPrecedences:{76:1,78:1,163:1,191:1},specialized:[{term:312,get:n=>a9[n]||-1},{term:328,get:n=>f9[n]||-1},{term:67,get:n=>c9[n]||-1}],tokenPrec:12712}),h9=[lr("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),lr("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),lr("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),lr("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),lr("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),lr(`try { + \${} +} catch (\${error}) { + \${} +}`,{label:"try",detail:"/ catch block",type:"keyword"}),lr("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),lr(`if (\${}) { + \${} +} else { + \${} +}`,{label:"if",detail:"/ else block",type:"keyword"}),lr(`class \${name} { + constructor(\${params}) { + \${} + } +}`,{label:"class",detail:"definition",type:"keyword"}),lr('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),lr('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],D0=new ZQ,Qy=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function vo(n){return(e,t)=>{let i=e.node.getChild("VariableDefinition");return i&&t(i,n),!0}}const O9=["FunctionDeclaration"],d9={FunctionDeclaration:vo("function"),ClassDeclaration:vo("class"),ClassExpression:()=>!0,EnumDeclaration:vo("constant"),TypeAliasDeclaration:vo("type"),NamespaceDeclaration:vo("namespace"),VariableDefinition(n,e){n.matchContext(O9)||e(n,"variable")},TypeDefinition(n,e){e(n,"type")},__proto__:null};function wy(n,e){let t=D0.get(e);if(t)return t;let i=[],r=!0;function s(l,o){let f=n.sliceString(l.from,l.to);i.push({label:f,type:o})}return e.cursor(Ut.IncludeAnonymous).iterate(l=>{if(r)r=!1;else if(l.name){let o=d9[l.name];if(o&&o(l,s)||Qy.has(l.name))return!1}else if(l.to-l.from>8192){for(let o of wy(n,l.node))i.push(o);return!1}}),D0.set(e,i),i}const z0=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,yy=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function p9(n){let e=ei(n.state).resolveInner(n.pos,-1);if(yy.indexOf(e.name)>-1)return null;let t=e.name=="VariableName"||e.to-e.from<20&&z0.test(n.state.sliceDoc(e.from,e.to));if(!t&&!n.explicit)return null;let i=[];for(let r=e;r;r=r.parent)Qy.has(r.name)&&(i=i.concat(wy(n.state.doc,r)));return{options:i,from:t?e.from:n.pos,validFor:z0}}const kr=_s.define({name:"javascript",parser:u9.configure({props:[Ll.add({IfStatement:Zl({except:/^\s*({|else\b)/}),TryStatement:Zl({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:dX,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:us({closing:"}"}),ArrowFunction:n=>n.baseIndent+n.unit,"TemplateString BlockComment":()=>null,"Statement Property":Zl({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}}),Bl.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":Sr,BlockComment(n){return{from:n.from+2,to:n.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),vy={test:n=>/^JSX/.test(n.name),facet:qQ({commentTokens:{block:{open:"{/*",close:"*/}"}}})},Py=kr.configure({dialect:"ts"},"typescript"),ky=kr.configure({dialect:"jsx",props:[Xd.add(n=>n.isTop?[vy]:void 0)]}),_y=kr.configure({dialect:"jsx ts",props:[Xd.add(n=>n.isTop?[vy]:void 0)]},"typescript"),g9="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(n=>({label:n,type:"keyword"}));function m9(n={}){let e=n.jsx?n.typescript?_y:ky:n.typescript?Py:kr;return new fa(e,[kr.data.of({autocomplete:xZ(yy,Iw(h9.concat(g9)))}),kr.data.of({autocomplete:p9}),n.jsx?Q9:[]])}function S9(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 I0(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""}function b9(n){return n&&(n.name=="JSXEndTag"||n.name=="JSXSelfCloseEndTag")}const $9=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),Q9=me.inputHandler.of((n,e,t,i)=>{if(($9?n.composing:n.compositionStarted)||n.state.readOnly||e!=t||i!=">"&&i!="/"||!kr.isActiveAt(n.state,e,-1))return!1;let{state:r}=n,s=r.changeByRange(l=>{var o;let{head:f}=l,u=ei(r).resolveInner(f,-1),h;if(u.name=="JSXStartTag"&&(u=u.parent),!(u.name=="JSXAttributeValue"&&u.to>f)){if(i==">"&&u.name=="JSXFragmentTag")return{range:K.cursor(f+1),changes:{from:f,insert:">"}};if(i=="/"&&u.name=="JSXFragmentTag"){let O=u.parent,p=O==null?void 0:O.parent;if(O.from==f-1&&((o=p.lastChild)===null||o===void 0?void 0:o.name)!="JSXEndTag"&&(h=I0(r.doc,p==null?void 0:p.firstChild,f))){let g=`/${h}>`;return{range:K.cursor(f+g.length),changes:{from:f,insert:g}}}}else if(i==">"){let O=S9(u);if(O&&!b9(O.lastChild)&&r.sliceDoc(f,f+2)!="`}}}}return{range:l}});return s.changes.empty?!1:(n.dispatch(s,{userEvent:"input.type",scrollIntoView:!0}),!0)}),Po=["_blank","_self","_top","_parent"],lO=["ascii","utf-8","utf-16","latin1","latin1"],oO=["get","post","put","delete"],aO=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],yn=["true","false"],_e={},w9={a:{attrs:{href:null,ping:null,type:null,media:null,target:Po,hreflang:null}},abbr:_e,address:_e,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:_e,aside:_e,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:_e,base:{attrs:{href:null,target:Po}},bdi:_e,bdo:_e,blockquote:{attrs:{cite:null}},body:_e,br:_e,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:aO,formmethod:oO,formnovalidate:["novalidate"],formtarget:Po,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:_e,center:_e,cite:_e,code:_e,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:_e,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:_e,div:_e,dl:_e,dt:_e,em:_e,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:_e,figure:_e,footer:_e,form:{attrs:{action:null,name:null,"accept-charset":lO,autocomplete:["on","off"],enctype:aO,method:oO,novalidate:["novalidate"],target:Po}},h1:_e,h2:_e,h3:_e,h4:_e,h5:_e,h6:_e,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:_e,hgroup:_e,hr:_e,html:{attrs:{manifest:null}},i:_e,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:aO,formmethod:oO,formnovalidate:["novalidate"],formtarget:Po,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:_e,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:_e,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:_e,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:lO,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:_e,noscript:_e,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:_e,param:{attrs:{name:null,value:null}},pre:_e,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:_e,rt:_e,ruby:_e,samp:_e,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:lO}},section:_e,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:_e,source:{attrs:{src:null,type:null,media:null}},span:_e,strong:_e,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:_e,summary:_e,sup:_e,table:_e,tbody:_e,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:_e,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:_e,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:_e,time:{attrs:{datetime:null}},title:_e,tr:_e,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:_e,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:_e},Wy={accesskey:null,class:null,contenteditable:yn,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:yn,autocorrect:yn,autocapitalize:yn,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":yn,"aria-autocomplete":["inline","list","both","none"],"aria-busy":yn,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":yn,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":yn,"aria-hidden":yn,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":yn,"aria-multiselectable":yn,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":yn,"aria-relevant":null,"aria-required":yn,"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},xy="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 xy)Wy[n]=null;class Vc{constructor(e,t){this.tags=Object.assign(Object.assign({},w9),e),this.globalAttrs=Object.assign(Object.assign({},Wy),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}Vc.default=new Vc;function Dl(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 zl(n,e=!1){for(;n;n=n.parent)if(n.name=="Element")if(e)e=!1;else return n;return null}function Cy(n,e,t){let i=t.tags[Dl(n,zl(e))];return(i==null?void 0:i.children)||t.allTags}function Kd(n,e){let t=[];for(let i=zl(e);i&&!i.type.isTop;i=zl(i.parent)){let r=Dl(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 Xy=/^[:\-\.\w\u00b7-\uffff]*$/;function N0(n,e,t,i,r){let s=/\s*>/.test(n.sliceDoc(r,r+5))?"":">",l=zl(t,!0);return{from:i,to:r,options:Cy(n.doc,l,e).map(o=>({label:o,type:"type"})).concat(Kd(n.doc,t).map((o,f)=>({label:"/"+o,apply:"/"+o+s,type:"type",boost:99-f}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function L0(n,e,t,i){let r=/\s*>/.test(n.sliceDoc(i,i+5))?"":">";return{from:t,to:i,options:Kd(n.doc,e).map((s,l)=>({label:s,apply:s+r,type:"type",boost:99-l})),validFor:Xy}}function y9(n,e,t,i){let r=[],s=0;for(let l of Cy(n.doc,t,e))r.push({label:"<"+l,type:"type"});for(let l of Kd(n.doc,t))r.push({label:"",type:"type",boost:99-s++});return{from:i,to:i,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function v9(n,e,t,i,r){let s=zl(t),l=s?e.tags[Dl(n.doc,s)]:null,o=l&&l.attrs?Object.keys(l.attrs):[],f=l&&l.globalAttrs===!1?o:o.length?o.concat(e.globalAttrNames):e.globalAttrNames;return{from:i,to:r,options:f.map(u=>({label:u,type:"property"})),validFor:Xy}}function P9(n,e,t,i,r){var s;let l=(s=t.parent)===null||s===void 0?void 0:s.getChild("AttributeName"),o=[],f;if(l){let u=n.sliceDoc(l.from,l.to),h=e.globalAttrs[u];if(!h){let O=zl(t),p=O?e.tags[Dl(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)?(f=O[0]=='"'?/^[^"]*$/:/^[^']*$/,p="",g=n.sliceDoc(r,r+1)==O[0]?"":O[0],O=O.slice(1),i++):f=/^[^\s<>='"]*$/;for(let b of h)o.push({label:b,apply:p+b+g,type:"constant"})}}return{from:i,to:r,options:o,validFor:f}}function k9(n,e){let{state:t,pos:i}=e,r=ei(t).resolveInner(i,-1),s=r.resolve(i);for(let l=i,o;s==r&&(o=r.childBefore(l));){let f=o.lastChild;if(!f||!f.type.isError||f.fromk9(i,r)}const W9=kr.parser.configure({top:"SingleExpression"}),Ty=[{tag:"script",attrs:n=>n.type=="text/typescript"||n.lang=="ts",parser:Py.parser},{tag:"script",attrs:n=>n.type=="text/babel"||n.type=="text/jsx",parser:ky.parser},{tag:"script",attrs:n=>n.type=="text/typescript-jsx",parser:_y.parser},{tag:"script",attrs:n=>n.type=="importmap"||n.type=="speculationrules",parser:W9},{tag:"script",attrs(n){return!n.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(n.type)},parser:kr.parser},{tag:"style",attrs(n){return(!n.lang||n.lang=="css")&&(!n.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(n.type))},parser:Yc.parser}],Zy=[{name:"style",parser:Yc.parser.configure({top:"Styles"})}].concat(xy.map(n=>({name:n,parser:kr.parser}))),Ry=_s.define({name:"html",parser:$A.configure({props:[Ll.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:"-._"}}),ic=Ry.configure({wrap:gy(Ty,Zy)});function x9(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=gy((n.nestedLanguages||[]).concat(Ty),(n.nestedAttributes||[]).concat(Zy)));let i=t?Ry.configure({wrap:t,dialect:e}):e?ic.configure({dialect:e}):ic;return new fa(i,[ic.data.of({autocomplete:_9(n)}),n.autoCloseTags!==!1?C9:[],m9().support,LA().support])}const B0=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),C9=me.inputHandler.of((n,e,t,i,r)=>{if(n.composing||n.state.readOnly||e!=t||i!=">"&&i!="/"||!ic.isActiveAt(n.state,e,-1))return!1;let s=r(),{state:l}=s,o=l.changeByRange(f=>{var u,h,O;let p=l.doc.sliceString(f.from-1,f.to)==i,{head:g}=f,b=ei(l).resolveInner(g-1,-1),$;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"&&($=Dl(l.doc,b.parent,g))&&!B0.has($)){let Q=g+(l.doc.sliceString(g,g+1)===">"?1:0),_=``;return{range:f,changes:{from:g,to:Q,insert:_}}}}else if(p&&i=="/"&&b.name=="IncompleteCloseTag"){let Q=b.parent;if(b.from==g-2&&((O=Q.lastChild)===null||O===void 0?void 0:O.name)!="CloseTag"&&($=Dl(l.doc,Q,g))&&!B0.has($)){let _=g+(l.doc.sliceString(g,g+1)===">"?1:0),x=`${$}>`;return{range:K.cursor(g+x.length,-1),changes:{from:g,to:_,insert:x}}}}return{range:f}});return o.changes.empty?!1:(n.dispatch([s,l.update(o,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});var ko=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function W6(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var qc={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 + */qc.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`",f="__lodash_hash_undefined__",u=500,h="__lodash_placeholder__",O=1,p=2,g=4,b=1,$=2,Q=1,_=2,x=4,Z=8,C=16,X=32,R=64,I=128,q=256,B=512,z=30,oe="...",de=800,xe=16,ye=1,Ee=2,pe=3,fe=1/0,Xe=9007199254740991,Me=17976931348623157e292,Ne=0/0,pt=4294967295,Lt=pt-1,ti=pt>>>1,xt=[["ary",I],["bind",Q],["bindKey",_],["curry",Z],["curryRight",C],["flip",B],["partial",X],["partialRight",R],["rearg",q]],Ct="[object Arguments]",Zt="[object Array]",be="[object AsyncFunction]",te="[object Boolean]",H="[object Date]",ie="[object DOMException]",ae="[object Error]",Ke="[object Function]",Je="[object GeneratorFunction]",ot="[object Map]",Ot="[object Number]",et="[object Null]",se="[object Object]",Qi="[object Promise]",Rt="[object Proxy]",ct="[object RegExp]",ze="[object Set]",St="[object String]",dt="[object Symbol]",Ge="[object Undefined]",ut="[object WeakMap]",wt="[object WeakSet]",ii="[object ArrayBuffer]",rt="[object DataView]",xn="[object Float32Array]",ci="[object Float64Array]",di="[object Int8Array]",en="[object Int16Array]",Cn="[object Int32Array]",ni="[object Uint8Array]",gt="[object Uint8ClampedArray]",cr="[object Uint16Array]",pi="[object Uint32Array]",wi=/\b__p \+= '';/g,Gr=/\b(__p \+=) '' \+/g,Yi=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Vt=/&(?:amp|lt|gt|quot|#39);/g,Cr=/[&<>"']/g,ri=RegExp(Vt.source),Hr=RegExp(Cr.source),ji=/<%-([\s\S]+?)%>/g,qt=/<%([\s\S]+?)%>/g,Et=/<%=([\s\S]+?)%>/g,Bt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vt=/^\w*$/,Vi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Mt=/[\\^$.*+?()[\]{}|]/g,Dt=RegExp(Mt.source),Xt=/^\s+/,jt=/\s/,Pt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,dn=/\{\n\/\* \[wrapped with (.+)\] \*/,ki=/,? & /,Kr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Js=/[()=,{}\[\]\/\s]/,el=/\\(\\)?/g,L=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ce=/\w*$/,Jr=/^[-+]0x[0-9a-f]+$/i,Xr=/^0b[01]+$/i,Xs=/^\[object .+?Constructor\]$/,Tr=/^0o[0-7]+$/i,tl=/^(?:0|[1-9]\d*)$/,qi=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,tn=/($^)/,Xn=/['\n\r\u2028\u2029\\]/g,Hn="\\ud800-\\udfff",iu="\\u0300-\\u036f",nu="\\ufe20-\\ufe2f",ru="\\u20d0-\\u20ff",da=iu+nu+ru,pa="\\u2700-\\u27bf",ga="a-z\\xdf-\\xf6\\xf8-\\xff",su="\\xac\\xb1\\xd7\\xf7",lu="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ou="\\u2000-\\u206f",au=" \\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",ma="A-Z\\xc0-\\xd6\\xd8-\\xde",Sa="\\ufe0e\\ufe0f",ba=su+lu+ou+au,Gl="['’]",fu="["+Hn+"]",$a="["+ba+"]",il="["+da+"]",Qa="\\d+",cu="["+pa+"]",wa="["+ga+"]",ya="[^"+Hn+ba+Qa+pa+ga+ma+"]",Hl="\\ud83c[\\udffb-\\udfff]",uu="(?:"+il+"|"+Hl+")",va="[^"+Hn+"]",Kl="(?:\\ud83c[\\udde6-\\uddff]){2}",Jl="[\\ud800-\\udbff][\\udc00-\\udfff]",es="["+ma+"]",Pa="\\u200d",ka="(?:"+wa+"|"+ya+")",hu="(?:"+es+"|"+ya+")",_a="(?:"+Gl+"(?:d|ll|m|re|s|t|ve))?",Wa="(?:"+Gl+"(?:D|LL|M|RE|S|T|VE))?",xa=uu+"?",Ca="["+Sa+"]?",Ou="(?:"+Pa+"(?:"+[va,Kl,Jl].join("|")+")"+Ca+xa+")*",du="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",pu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Xa=Ca+xa+Ou,gu="(?:"+[cu,Kl,Jl].join("|")+")"+Xa,mu="(?:"+[va+il+"?",il,Kl,Jl,fu].join("|")+")",Su=RegExp(Gl,"g"),bu=RegExp(il,"g"),eo=RegExp(Hl+"(?="+Hl+")|"+mu+Xa,"g"),$u=RegExp([es+"?"+wa+"+"+_a+"(?="+[$a,es,"$"].join("|")+")",hu+"+"+Wa+"(?="+[$a,es+ka,"$"].join("|")+")",es+"?"+ka+"+"+_a,es+"+"+Wa,pu,du,Qa,gu].join("|"),"g"),U=RegExp("["+Pa+Hn+da+Sa+"]"),ue=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Se=["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"],Ce=-1,ge={};ge[xn]=ge[ci]=ge[di]=ge[en]=ge[Cn]=ge[ni]=ge[gt]=ge[cr]=ge[pi]=!0,ge[Ct]=ge[Zt]=ge[ii]=ge[te]=ge[rt]=ge[H]=ge[ae]=ge[Ke]=ge[ot]=ge[Ot]=ge[se]=ge[ct]=ge[ze]=ge[St]=ge[ut]=!1;var Qe={};Qe[Ct]=Qe[Zt]=Qe[ii]=Qe[rt]=Qe[te]=Qe[H]=Qe[xn]=Qe[ci]=Qe[di]=Qe[en]=Qe[Cn]=Qe[ot]=Qe[Ot]=Qe[se]=Qe[ct]=Qe[ze]=Qe[St]=Qe[dt]=Qe[ni]=Qe[gt]=Qe[cr]=Qe[pi]=!0,Qe[ae]=Qe[Ke]=Qe[ut]=!1;var st={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C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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"},nn={"&":"&","<":"<",">":">",'"':""","'":"'"},si={"&":"&","<":"<",">":">",""":'"',"'":"'"},Qu={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ey=parseFloat,My=parseInt,ep=typeof ko=="object"&&ko&&ko.Object===Object&&ko,Dy=typeof self=="object"&&self&&self.Object===Object&&self,_i=ep||Dy||Function("return this")(),wu=e&&!e.nodeType&&e,Ts=wu&&!0&&n&&!n.nodeType&&n,tp=Ts&&Ts.exports===wu,yu=tp&&ep.process,Tn=function(){try{var E=Ts&&Ts.require&&Ts.require("util").types;return E||yu&&yu.binding&&yu.binding("util")}catch{}}(),ip=Tn&&Tn.isArrayBuffer,np=Tn&&Tn.isDate,rp=Tn&&Tn.isMap,sp=Tn&&Tn.isRegExp,lp=Tn&&Tn.isSet,op=Tn&&Tn.isTypedArray;function pn(E,G,j){switch(j.length){case 0:return E.call(G);case 1:return E.call(G,j[0]);case 2:return E.call(G,j[0],j[1]);case 3:return E.call(G,j[0],j[1],j[2])}return E.apply(G,j)}function zy(E,G,j,we){for(var De=-1,bt=E==null?0:E.length;++De-1}function vu(E,G,j){for(var we=-1,De=E==null?0:E.length;++we-1;);return j}function pp(E,G){for(var j=E.length;j--&&nl(G,E[j],0)>-1;);return j}function Ky(E,G){for(var j=E.length,we=0;j--;)E[j]===G&&++we;return we}var Jy=Wu(st),ev=Wu(nn);function tv(E){return"\\"+Qu[E]}function iv(E,G){return E==null?t:E[G]}function rl(E){return U.test(E)}function nv(E){return ue.test(E)}function rv(E){for(var G,j=[];!(G=E.next()).done;)j.push(G.value);return j}function Tu(E){var G=-1,j=Array(E.size);return E.forEach(function(we,De){j[++G]=[De,we]}),j}function gp(E,G){return function(j){return E(G(j))}}function ns(E,G){for(var j=-1,we=E.length,De=0,bt=[];++j-1}function Nv(a,c){var d=this.__data__,m=Fa(d,a);return m<0?(++this.size,d.push([a,c])):d[m][1]=c,this}Zr.prototype.clear=Mv,Zr.prototype.delete=Dv,Zr.prototype.get=zv,Zr.prototype.has=Iv,Zr.prototype.set=Nv;function Rr(a){var c=-1,d=a==null?0:a.length;for(this.clear();++c=c?a:c)),a}function Un(a,c,d,m,w,W){var T,A=c&O,M=c&p,J=c&g;if(d&&(T=w?d(a,m,w,W):d(a)),T!==t)return T;if(!Ft(a))return a;var ee=Ie(a);if(ee){if(T=FP(a),!A)return rn(a,T)}else{var ne=Mi(a),Oe=ne==Ke||ne==Je;if(fs(a))return Kp(a,A);if(ne==se||ne==Ct||Oe&&!w){if(T=M||Oe?{}:mg(a),!A)return M?VP(a,oP(T,a)):YP(a,Wp(T,a))}else{if(!Qe[ne])return w?a:{};T=GP(a,ne,A)}}W||(W=new Jn);var ke=W.get(a);if(ke)return ke;W.set(a,T),Lg(a)?a.forEach(function(Ae){T.add(Un(Ae,c,d,Ae,a,W))}):Ig(a)&&a.forEach(function(Ae,lt){T.set(lt,Un(Ae,c,d,lt,a,W))});var Re=J?M?rh:nh:M?ln:yi,je=ee?t:Re(a);return Zn(je||a,function(Ae,lt){je&&(lt=Ae,Ae=a[lt]),oo(T,lt,Un(Ae,c,d,lt,a,W))}),T}function aP(a){var c=yi(a);return function(d){return xp(d,a,c)}}function xp(a,c,d){var m=d.length;if(a==null)return!m;for(a=kt(a);m--;){var w=d[m],W=c[w],T=a[w];if(T===t&&!(w in a)||!W(T))return!1}return!0}function Cp(a,c,d){if(typeof a!="function")throw new Rn(l);return po(function(){a.apply(t,d)},c)}function ao(a,c,d,m){var w=-1,W=Ta,T=!0,A=a.length,M=[],J=c.length;if(!A)return M;d&&(c=zt(c,gn(d))),m?(W=vu,T=!1):c.length>=r&&(W=to,T=!1,c=new As(c));e:for(;++ww?0:w+d),m=m===t||m>w?w:Le(m),m<0&&(m+=w),m=d>m?0:jg(m);d0&&d(A)?c>1?Wi(A,c-1,d,m,w):is(w,A):m||(w[w.length]=A)}return w}var qu=rg(),Zp=rg(!0);function ur(a,c){return a&&qu(a,c,yi)}function Eu(a,c){return a&&Zp(a,c,yi)}function Ha(a,c){return ts(c,function(d){return qr(a[d])})}function Ys(a,c){c=os(c,a);for(var d=0,m=c.length;a!=null&&dc}function uP(a,c){return a!=null&&yt.call(a,c)}function hP(a,c){return a!=null&&c in kt(a)}function OP(a,c,d){return a>=Ei(c,d)&&a=120&&ee.length>=120)?new As(T&&ee):t}ee=a[0];var ne=-1,Oe=A[0];e:for(;++ne-1;)A!==a&&Da.call(A,M,1),Da.call(a,M,1);return a}function Ip(a,c){for(var d=a?c.length:0,m=d-1;d--;){var w=c[d];if(d==m||w!==W){var W=w;Vr(w)?Da.call(a,w,1):Gu(a,w)}}return a}function Bu(a,c){return a+Na(vp()*(c-a+1))}function kP(a,c,d,m){for(var w=-1,W=mi(Ia((c-a)/(d||1)),0),T=j(W);W--;)T[m?W:++w]=a,a+=d;return T}function ju(a,c){var d="";if(!a||c<1||c>Xe)return d;do c%2&&(d+=a),c=Na(c/2),c&&(a+=a);while(c);return d}function He(a,c){return uh($g(a,c,on),a+"")}function _P(a){return _p(pl(a))}function WP(a,c){var d=pl(a);return ff(d,Us(c,0,d.length))}function uo(a,c,d,m){if(!Ft(a))return a;c=os(c,a);for(var w=-1,W=c.length,T=W-1,A=a;A!=null&&++ww?0:w+c),d=d>w?w:d,d<0&&(d+=w),w=c>d?0:d-c>>>0,c>>>=0;for(var W=j(w);++m>>1,T=a[W];T!==null&&!Sn(T)&&(d?T<=c:T=r){var J=c?null:DP(a);if(J)return Ra(J);T=!1,w=to,M=new As}else M=c?[]:A;e:for(;++m=m?a:Yn(a,c,d)}var Hp=bv||function(a){return _i.clearTimeout(a)};function Kp(a,c){if(c)return a.slice();var d=a.length,m=bp?bp(d):new a.constructor(d);return a.copy(m),m}function eh(a){var c=new a.constructor(a.byteLength);return new Ea(c).set(new Ea(a)),c}function ZP(a,c){var d=c?eh(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function RP(a){var c=new a.constructor(a.source,ce.exec(a));return c.lastIndex=a.lastIndex,c}function AP(a){return lo?kt(lo.call(a)):{}}function Jp(a,c){var d=c?eh(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function eg(a,c){if(a!==c){var d=a!==t,m=a===null,w=a===a,W=Sn(a),T=c!==t,A=c===null,M=c===c,J=Sn(c);if(!A&&!J&&!W&&a>c||W&&T&&M&&!A&&!J||m&&T&&M||!d&&M||!w)return 1;if(!m&&!W&&!J&&a=A)return M;var J=d[m];return M*(J=="desc"?-1:1)}}return a.index-c.index}function tg(a,c,d,m){for(var w=-1,W=a.length,T=d.length,A=-1,M=c.length,J=mi(W-T,0),ee=j(M+J),ne=!m;++A1?d[w-1]:t,T=w>2?d[2]:t;for(W=a.length>3&&typeof W=="function"?(w--,W):t,T&&Gi(d[0],d[1],T)&&(W=w<3?t:W,w=1),c=kt(c);++m-1?w[W?c[T]:T]:t}}function og(a){return Yr(function(c){var d=c.length,m=d,w=An.prototype.thru;for(a&&c.reverse();m--;){var W=c[m];if(typeof W!="function")throw new Rn(l);if(w&&!T&&of(W)=="wrapper")var T=new An([],!0)}for(m=T?m:d;++m1&&ht.reverse(),ee&&MA))return!1;var J=W.get(a),ee=W.get(c);if(J&&ee)return J==c&&ee==a;var ne=-1,Oe=!0,ke=d&$?new As:t;for(W.set(a,c),W.set(c,a);++ne1?"& ":"")+c[m],c=c.join(d>2?", ":" "),a.replace(Pt,`{ +/* [wrapped with `+c+`] */ +`)}function KP(a){return Ie(a)||Es(a)||!!(wp&&a&&a[wp])}function Vr(a,c){var d=typeof a;return c=c??Xe,!!c&&(d=="number"||d!="symbol"&&tl.test(a))&&a>-1&&a%1==0&&a0){if(++c>=de)return arguments[0]}else c=0;return a.apply(t,arguments)}}function ff(a,c){var d=-1,m=a.length,w=m-1;for(c=c===t?m:c;++d1?a[c-1]:t;return d=typeof d=="function"?(a.pop(),d):t,Tg(a,d)});function Zg(a){var c=P(a);return c.__chain__=!0,c}function fk(a,c){return c(a),a}function cf(a,c){return c(a)}var ck=Yr(function(a){var c=a.length,d=c?a[0]:0,m=this.__wrapped__,w=function(W){return Vu(W,a)};return c>1||this.__actions__.length||!(m instanceof at)||!Vr(d)?this.thru(w):(m=m.slice(d,+d+(c?1:0)),m.__actions__.push({func:cf,args:[w],thisArg:t}),new An(m,this.__chain__).thru(function(W){return c&&!W.length&&W.push(t),W}))});function uk(){return Zg(this)}function hk(){return new An(this.value(),this.__chain__)}function Ok(){this.__values__===t&&(this.__values__=Bg(this.value()));var a=this.__index__>=this.__values__.length,c=a?t:this.__values__[this.__index__++];return{done:a,value:c}}function dk(){return this}function pk(a){for(var c,d=this;d instanceof ja;){var m=kg(d);m.__index__=0,m.__values__=t,c?w.__wrapped__=m:c=m;var w=m;d=d.__wrapped__}return w.__wrapped__=a,c}function gk(){var a=this.__wrapped__;if(a instanceof at){var c=a;return this.__actions__.length&&(c=new at(this)),c=c.reverse(),c.__actions__.push({func:cf,args:[hh],thisArg:t}),new An(c,this.__chain__)}return this.thru(hh)}function mk(){return Fp(this.__wrapped__,this.__actions__)}var Sk=tf(function(a,c,d){yt.call(a,d)?++a[d]:Ar(a,d,1)});function bk(a,c,d){var m=Ie(a)?ap:fP;return d&&Gi(a,c,d)&&(c=t),m(a,Te(c,3))}function $k(a,c){var d=Ie(a)?ts:Tp;return d(a,Te(c,3))}var Qk=lg(_g),wk=lg(Wg);function yk(a,c){return Wi(uf(a,c),1)}function vk(a,c){return Wi(uf(a,c),fe)}function Pk(a,c,d){return d=d===t?1:Le(d),Wi(uf(a,c),d)}function Rg(a,c){var d=Ie(a)?Zn:ss;return d(a,Te(c,3))}function Ag(a,c){var d=Ie(a)?Iy:Xp;return d(a,Te(c,3))}var kk=tf(function(a,c,d){yt.call(a,d)?a[d].push(c):Ar(a,d,[c])});function _k(a,c,d,m){a=sn(a)?a:pl(a),d=d&&!m?Le(d):0;var w=a.length;return d<0&&(d=mi(w+d,0)),gf(a)?d<=w&&a.indexOf(c,d)>-1:!!w&&nl(a,c,d)>-1}var Wk=He(function(a,c,d){var m=-1,w=typeof c=="function",W=sn(a)?j(a.length):[];return ss(a,function(T){W[++m]=w?pn(c,T,d):fo(T,c,d)}),W}),xk=tf(function(a,c,d){Ar(a,d,c)});function uf(a,c){var d=Ie(a)?zt:Vp;return d(a,Te(c,3))}function Ck(a,c,d,m){return a==null?[]:(Ie(c)||(c=c==null?[]:[c]),d=m?t:d,Ie(d)||(d=d==null?[]:[d]),Dp(a,c,d))}var Xk=tf(function(a,c,d){a[d?0:1].push(c)},function(){return[[],[]]});function Tk(a,c,d){var m=Ie(a)?Pu:hp,w=arguments.length<3;return m(a,Te(c,4),d,w,ss)}function Zk(a,c,d){var m=Ie(a)?Ny:hp,w=arguments.length<3;return m(a,Te(c,4),d,w,Xp)}function Rk(a,c){var d=Ie(a)?ts:Tp;return d(a,df(Te(c,3)))}function Ak(a){var c=Ie(a)?_p:_P;return c(a)}function Uk(a,c,d){(d?Gi(a,c,d):c===t)?c=1:c=Le(c);var m=Ie(a)?rP:WP;return m(a,c)}function Yk(a){var c=Ie(a)?sP:CP;return c(a)}function Vk(a){if(a==null)return 0;if(sn(a))return gf(a)?sl(a):a.length;var c=Mi(a);return c==ot||c==ze?a.size:Iu(a).length}function qk(a,c,d){var m=Ie(a)?ku:XP;return d&&Gi(a,c,d)&&(c=t),m(a,Te(c,3))}var Ek=He(function(a,c){if(a==null)return[];var d=c.length;return d>1&&Gi(a,c[0],c[1])?c=[]:d>2&&Gi(c[0],c[1],c[2])&&(c=[c[0]]),Dp(a,Wi(c,1),[])}),hf=$v||function(){return _i.Date.now()};function Mk(a,c){if(typeof c!="function")throw new Rn(l);return a=Le(a),function(){if(--a<1)return c.apply(this,arguments)}}function Ug(a,c,d){return c=d?t:c,c=a&&c==null?a.length:c,Ur(a,I,t,t,t,t,c)}function Yg(a,c){var d;if(typeof c!="function")throw new Rn(l);return a=Le(a),function(){return--a>0&&(d=c.apply(this,arguments)),a<=1&&(c=t),d}}var dh=He(function(a,c,d){var m=Q;if(d.length){var w=ns(d,Ol(dh));m|=X}return Ur(a,m,c,d,w)}),Vg=He(function(a,c,d){var m=Q|_;if(d.length){var w=ns(d,Ol(Vg));m|=X}return Ur(c,m,a,d,w)});function qg(a,c,d){c=d?t:c;var m=Ur(a,Z,t,t,t,t,t,c);return m.placeholder=qg.placeholder,m}function Eg(a,c,d){c=d?t:c;var m=Ur(a,C,t,t,t,t,t,c);return m.placeholder=Eg.placeholder,m}function Mg(a,c,d){var m,w,W,T,A,M,J=0,ee=!1,ne=!1,Oe=!0;if(typeof a!="function")throw new Rn(l);c=qn(c)||0,Ft(d)&&(ee=!!d.leading,ne="maxWait"in d,W=ne?mi(qn(d.maxWait)||0,c):W,Oe="trailing"in d?!!d.trailing:Oe);function ke(oi){var tr=m,Mr=w;return m=w=t,J=oi,T=a.apply(Mr,tr),T}function Re(oi){return J=oi,A=po(lt,c),ee?ke(oi):T}function je(oi){var tr=oi-M,Mr=oi-J,lm=c-tr;return ne?Ei(lm,W-Mr):lm}function Ae(oi){var tr=oi-M,Mr=oi-J;return M===t||tr>=c||tr<0||ne&&Mr>=W}function lt(){var oi=hf();if(Ae(oi))return ht(oi);A=po(lt,je(oi))}function ht(oi){return A=t,Oe&&m?ke(oi):(m=w=t,T)}function bn(){A!==t&&Hp(A),J=0,m=M=w=A=t}function Hi(){return A===t?T:ht(hf())}function $n(){var oi=hf(),tr=Ae(oi);if(m=arguments,w=this,M=oi,tr){if(A===t)return Re(M);if(ne)return Hp(A),A=po(lt,c),ke(M)}return A===t&&(A=po(lt,c)),T}return $n.cancel=bn,$n.flush=Hi,$n}var Dk=He(function(a,c){return Cp(a,1,c)}),zk=He(function(a,c,d){return Cp(a,qn(c)||0,d)});function Ik(a){return Ur(a,B)}function Of(a,c){if(typeof a!="function"||c!=null&&typeof c!="function")throw new Rn(l);var d=function(){var m=arguments,w=c?c.apply(this,m):m[0],W=d.cache;if(W.has(w))return W.get(w);var T=a.apply(this,m);return d.cache=W.set(w,T)||W,T};return d.cache=new(Of.Cache||Rr),d}Of.Cache=Rr;function df(a){if(typeof a!="function")throw new Rn(l);return function(){var c=arguments;switch(c.length){case 0:return!a.call(this);case 1:return!a.call(this,c[0]);case 2:return!a.call(this,c[0],c[1]);case 3:return!a.call(this,c[0],c[1],c[2])}return!a.apply(this,c)}}function Nk(a){return Yg(2,a)}var Lk=TP(function(a,c){c=c.length==1&&Ie(c[0])?zt(c[0],gn(Te())):zt(Wi(c,1),gn(Te()));var d=c.length;return He(function(m){for(var w=-1,W=Ei(m.length,d);++w=c}),Es=Ap(function(){return arguments}())?Ap:function(a){return Jt(a)&&yt.call(a,"callee")&&!Qp.call(a,"callee")},Ie=j.isArray,o_=ip?gn(ip):pP;function sn(a){return a!=null&&pf(a.length)&&!qr(a)}function li(a){return Jt(a)&&sn(a)}function a_(a){return a===!0||a===!1||Jt(a)&&Fi(a)==te}var fs=wv||kh,f_=np?gn(np):gP;function c_(a){return Jt(a)&&a.nodeType===1&&!go(a)}function u_(a){if(a==null)return!0;if(sn(a)&&(Ie(a)||typeof a=="string"||typeof a.splice=="function"||fs(a)||dl(a)||Es(a)))return!a.length;var c=Mi(a);if(c==ot||c==ze)return!a.size;if(Oo(a))return!Iu(a).length;for(var d in a)if(yt.call(a,d))return!1;return!0}function h_(a,c){return co(a,c)}function O_(a,c,d){d=typeof d=="function"?d:t;var m=d?d(a,c):t;return m===t?co(a,c,t,d):!!m}function gh(a){if(!Jt(a))return!1;var c=Fi(a);return c==ae||c==ie||typeof a.message=="string"&&typeof a.name=="string"&&!go(a)}function d_(a){return typeof a=="number"&&yp(a)}function qr(a){if(!Ft(a))return!1;var c=Fi(a);return c==Ke||c==Je||c==be||c==Rt}function zg(a){return typeof a=="number"&&a==Le(a)}function pf(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=Xe}function Ft(a){var c=typeof a;return a!=null&&(c=="object"||c=="function")}function Jt(a){return a!=null&&typeof a=="object"}var Ig=rp?gn(rp):SP;function p_(a,c){return a===c||zu(a,c,lh(c))}function g_(a,c,d){return d=typeof d=="function"?d:t,zu(a,c,lh(c),d)}function m_(a){return Ng(a)&&a!=+a}function S_(a){if(t2(a))throw new De(s);return Up(a)}function b_(a){return a===null}function $_(a){return a==null}function Ng(a){return typeof a=="number"||Jt(a)&&Fi(a)==Ot}function go(a){if(!Jt(a)||Fi(a)!=se)return!1;var c=Ma(a);if(c===null)return!0;var d=yt.call(c,"constructor")&&c.constructor;return typeof d=="function"&&d instanceof d&&Ya.call(d)==gv}var mh=sp?gn(sp):bP;function Q_(a){return zg(a)&&a>=-Xe&&a<=Xe}var Lg=lp?gn(lp):$P;function gf(a){return typeof a=="string"||!Ie(a)&&Jt(a)&&Fi(a)==St}function Sn(a){return typeof a=="symbol"||Jt(a)&&Fi(a)==dt}var dl=op?gn(op):QP;function w_(a){return a===t}function y_(a){return Jt(a)&&Mi(a)==ut}function v_(a){return Jt(a)&&Fi(a)==wt}var P_=lf(Nu),k_=lf(function(a,c){return a<=c});function Bg(a){if(!a)return[];if(sn(a))return gf(a)?Kn(a):rn(a);if(io&&a[io])return rv(a[io]());var c=Mi(a),d=c==ot?Tu:c==ze?Ra:pl;return d(a)}function Er(a){if(!a)return a===0?a:0;if(a=qn(a),a===fe||a===-fe){var c=a<0?-1:1;return c*Me}return a===a?a:0}function Le(a){var c=Er(a),d=c%1;return c===c?d?c-d:c:0}function jg(a){return a?Us(Le(a),0,pt):0}function qn(a){if(typeof a=="number")return a;if(Sn(a))return Ne;if(Ft(a)){var c=typeof a.valueOf=="function"?a.valueOf():a;a=Ft(c)?c+"":c}if(typeof a!="string")return a===0?a:+a;a=Op(a);var d=Xr.test(a);return d||Tr.test(a)?My(a.slice(2),d?2:8):Jr.test(a)?Ne:+a}function Fg(a){return hr(a,ln(a))}function __(a){return a?Us(Le(a),-Xe,Xe):a===0?a:0}function $t(a){return a==null?"":mn(a)}var W_=ul(function(a,c){if(Oo(c)||sn(c)){hr(c,yi(c),a);return}for(var d in c)yt.call(c,d)&&oo(a,d,c[d])}),Gg=ul(function(a,c){hr(c,ln(c),a)}),mf=ul(function(a,c,d,m){hr(c,ln(c),a,m)}),x_=ul(function(a,c,d,m){hr(c,yi(c),a,m)}),C_=Yr(Vu);function X_(a,c){var d=cl(a);return c==null?d:Wp(d,c)}var T_=He(function(a,c){a=kt(a);var d=-1,m=c.length,w=m>2?c[2]:t;for(w&&Gi(c[0],c[1],w)&&(m=1);++d1),W}),hr(a,rh(a),d),m&&(d=Un(d,O|p|g,zP));for(var w=c.length;w--;)Gu(d,c[w]);return d});function G_(a,c){return Kg(a,df(Te(c)))}var H_=Yr(function(a,c){return a==null?{}:vP(a,c)});function Kg(a,c){if(a==null)return{};var d=zt(rh(a),function(m){return[m]});return c=Te(c),zp(a,d,function(m,w){return c(m,w[0])})}function K_(a,c,d){c=os(c,a);var m=-1,w=c.length;for(w||(w=1,a=t);++mc){var m=a;a=c,c=m}if(d||a%1||c%1){var w=vp();return Ei(a+w*(c-a+Ey("1e-"+((w+"").length-1))),c)}return Bu(a,c)}var fW=hl(function(a,c,d){return c=c.toLowerCase(),a+(d?tm(c):c)});function tm(a){return $h($t(a).toLowerCase())}function im(a){return a=$t(a),a&&a.replace(qi,Jy).replace(bu,"")}function cW(a,c,d){a=$t(a),c=mn(c);var m=a.length;d=d===t?m:Us(Le(d),0,m);var w=d;return d-=c.length,d>=0&&a.slice(d,w)==c}function uW(a){return a=$t(a),a&&Hr.test(a)?a.replace(Cr,ev):a}function hW(a){return a=$t(a),a&&Dt.test(a)?a.replace(Mt,"\\$&"):a}var OW=hl(function(a,c,d){return a+(d?"-":"")+c.toLowerCase()}),dW=hl(function(a,c,d){return a+(d?" ":"")+c.toLowerCase()}),pW=sg("toLowerCase");function gW(a,c,d){a=$t(a),c=Le(c);var m=c?sl(a):0;if(!c||m>=c)return a;var w=(c-m)/2;return sf(Na(w),d)+a+sf(Ia(w),d)}function mW(a,c,d){a=$t(a),c=Le(c);var m=c?sl(a):0;return c&&m>>0,d?(a=$t(a),a&&(typeof c=="string"||c!=null&&!mh(c))&&(c=mn(c),!c&&rl(a))?as(Kn(a),0,d):a.split(c,d)):[]}var vW=hl(function(a,c,d){return a+(d?" ":"")+$h(c)});function PW(a,c,d){return a=$t(a),d=d==null?0:Us(Le(d),0,a.length),c=mn(c),a.slice(d,d+c.length)==c}function kW(a,c,d){var m=P.templateSettings;d&&Gi(a,c,d)&&(c=t),a=$t(a),c=mf({},c,m,hg);var w=mf({},c.imports,m.imports,hg),W=yi(w),T=Xu(w,W),A,M,J=0,ee=c.interpolate||tn,ne="__p += '",Oe=Zu((c.escape||tn).source+"|"+ee.source+"|"+(ee===Et?L:tn).source+"|"+(c.evaluate||tn).source+"|$","g"),ke="//# sourceURL="+(yt.call(c,"sourceURL")?(c.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ce+"]")+` +`;a.replace(Oe,function(Ae,lt,ht,bn,Hi,$n){return ht||(ht=bn),ne+=a.slice(J,$n).replace(Xn,tv),lt&&(A=!0,ne+=`' + +__e(`+lt+`) + +'`),Hi&&(M=!0,ne+=`'; +`+Hi+`; +__p += '`),ht&&(ne+=`' + +((__t = (`+ht+`)) == null ? '' : __t) + +'`),J=$n+Ae.length,Ae}),ne+=`'; +`;var Re=yt.call(c,"variable")&&c.variable;if(!Re)ne=`with (obj) { +`+ne+` +} +`;else if(Js.test(Re))throw new De(o);ne=(M?ne.replace(wi,""):ne).replace(Gr,"$1").replace(Yi,"$1;"),ne="function("+(Re||"obj")+`) { +`+(Re?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(A?", __e = _.escape":"")+(M?`, __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +`:`; +`)+ne+`return __p +}`;var je=rm(function(){return bt(W,ke+"return "+ne).apply(t,T)});if(je.source=ne,gh(je))throw je;return je}function _W(a){return $t(a).toLowerCase()}function WW(a){return $t(a).toUpperCase()}function xW(a,c,d){if(a=$t(a),a&&(d||c===t))return Op(a);if(!a||!(c=mn(c)))return a;var m=Kn(a),w=Kn(c),W=dp(m,w),T=pp(m,w)+1;return as(m,W,T).join("")}function CW(a,c,d){if(a=$t(a),a&&(d||c===t))return a.slice(0,mp(a)+1);if(!a||!(c=mn(c)))return a;var m=Kn(a),w=pp(m,Kn(c))+1;return as(m,0,w).join("")}function XW(a,c,d){if(a=$t(a),a&&(d||c===t))return a.replace(Xt,"");if(!a||!(c=mn(c)))return a;var m=Kn(a),w=dp(m,Kn(c));return as(m,w).join("")}function TW(a,c){var d=z,m=oe;if(Ft(c)){var w="separator"in c?c.separator:w;d="length"in c?Le(c.length):d,m="omission"in c?mn(c.omission):m}a=$t(a);var W=a.length;if(rl(a)){var T=Kn(a);W=T.length}if(d>=W)return a;var A=d-sl(m);if(A<1)return m;var M=T?as(T,0,A).join(""):a.slice(0,A);if(w===t)return M+m;if(T&&(A+=M.length-A),mh(w)){if(a.slice(A).search(w)){var J,ee=M;for(w.global||(w=Zu(w.source,$t(ce.exec(w))+"g")),w.lastIndex=0;J=w.exec(ee);)var ne=J.index;M=M.slice(0,ne===t?A:ne)}}else if(a.indexOf(mn(w),A)!=A){var Oe=M.lastIndexOf(w);Oe>-1&&(M=M.slice(0,Oe))}return M+m}function ZW(a){return a=$t(a),a&&ri.test(a)?a.replace(Vt,av):a}var RW=hl(function(a,c,d){return a+(d?" ":"")+c.toUpperCase()}),$h=sg("toUpperCase");function nm(a,c,d){return a=$t(a),c=d?t:c,c===t?nv(a)?uv(a):jy(a):a.match(c)||[]}var rm=He(function(a,c){try{return pn(a,t,c)}catch(d){return gh(d)?d:new De(d)}}),AW=Yr(function(a,c){return Zn(c,function(d){d=Or(d),Ar(a,d,dh(a[d],a))}),a});function UW(a){var c=a==null?0:a.length,d=Te();return a=c?zt(a,function(m){if(typeof m[1]!="function")throw new Rn(l);return[d(m[0]),m[1]]}):[],He(function(m){for(var w=-1;++wXe)return[];var d=pt,m=Ei(a,pt);c=Te(c),a-=pt;for(var w=Cu(m,c);++d0||c<0)?new at(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),c!==t&&(c=Le(c),d=c<0?d.dropRight(-c):d.take(c-a)),d)},at.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},at.prototype.toArray=function(){return this.take(pt)},ur(at.prototype,function(a,c){var d=/^(?:filter|find|map|reject)|While$/.test(c),m=/^(?:head|last)$/.test(c),w=P[m?"take"+(c=="last"?"Right":""):c],W=m||/^find/.test(c);w&&(P.prototype[c]=function(){var T=this.__wrapped__,A=m?[1]:arguments,M=T instanceof at,J=A[0],ee=M||Ie(T),ne=function(lt){var ht=w.apply(P,is([lt],A));return m&&Oe?ht[0]:ht};ee&&d&&typeof J=="function"&&J.length!=1&&(M=ee=!1);var Oe=this.__chain__,ke=!!this.__actions__.length,Re=W&&!Oe,je=M&&!ke;if(!W&&ee){T=je?T:new at(this);var Ae=a.apply(T,A);return Ae.__actions__.push({func:cf,args:[ne],thisArg:t}),new An(Ae,Oe)}return Re&&je?a.apply(this,A):(Ae=this.thru(ne),Re?m?Ae.value()[0]:Ae.value():Ae)})}),Zn(["pop","push","shift","sort","splice","unshift"],function(a){var c=Aa[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",m=/^(?:pop|shift)$/.test(a);P.prototype[a]=function(){var w=arguments;if(m&&!this.__chain__){var W=this.value();return c.apply(Ie(W)?W:[],w)}return this[d](function(T){return c.apply(Ie(T)?T:[],w)})}}),ur(at.prototype,function(a,c){var d=P[c];if(d){var m=d.name+"";yt.call(fl,m)||(fl[m]=[]),fl[m].push({name:c,func:d})}}),fl[nf(t,_).name]=[{name:"wrapper",func:t}],at.prototype.clone=Zv,at.prototype.reverse=Rv,at.prototype.value=Av,P.prototype.at=ck,P.prototype.chain=uk,P.prototype.commit=hk,P.prototype.next=Ok,P.prototype.plant=pk,P.prototype.reverse=gk,P.prototype.toJSON=P.prototype.valueOf=P.prototype.value=mk,P.prototype.first=P.prototype.head,io&&(P.prototype[io]=dk),P},ll=hv();Ts?((Ts.exports=ll)._=ll,wu._=ll):_i._=ll}).call(ko)})(qc,qc.exports);var X9=qc.exports;const T9=_s.define({parser:G4.configure({props:[Ll.add({ParenthesisedExpression:us({closing:")",align:!1}),Application:us({closing:")",align:!1}),GeneratorCallGenerators:us({closing:")",align:!1}),LetItems:us({closing:"}",align:!1}),ArrayLiteral:us({closing:"]",align:!1}),ArrayLiteral2d:us({closing:"|]",align:!1}),SetLiteral:us({closing:"}",align:!1})}),Bl.add({ParenthesisedExpression:Sr,Application:Sr,GeneratorCallGenerators:Sr,LetItems:Sr,ArrayLiteral:Sr,ArrayLiteral2d:Sr,SetLiteral:Sr}),Nl({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 j0(){return new fa(T9)}const Ay=Pi({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"}]}),Uy=Pi({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"}]}),Jd=new Il,Is=new Il,Z9=Is.reconfigure(me.editable.of(!1)),R9=Is.reconfigure(me.editable.of(!0)),A9=Jd.reconfigure(Ay),U9=Jd.reconfigure(Uy);function zf(n,e,t,i=!1){const r=[ZR,oa.of([eZ]),Jd.of(t?Uy:Ay),me.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,Is.of(me.editable.of(!i)),YR()]:n===".mzc"?[...r,Is.of(me.editable.of(!1))]:n===".dzn"?[...r,Is.of(me.editable.of(!i)),j0()]:n===".html"?[...r,Is.of(me.editable.of(!i)),x9()]:[...r,Is.of(me.editable.of(!i)),j0(),me.updateListener.of(X9.debounce(e,250))]}function F0(n,e,t){const i=n.slice();return i[4]=e[t],i}function G0(n,e,t){const i=n.slice();return i[7]=e[t],i}function H0(n,e,t){const i=n.slice();return i[10]=e[t],i[12]=t,i}function Y9(n){let e,t,i=Ec(n[0].location)+"",r,s,l,o,f,u,h;return{c(){e=k("pre"),t=k("a"),r=$e(i),l=$e(":"),o=N(),f=k("br"),y(t,"class",s="mzn-link mzn-"+n[0].type+" svelte-w513p9"),y(e,"class","svelte-w513p9")},m(O,p){V(O,e,p),v(e,t),v(t,r),v(e,l),V(O,o,p),V(O,f,p),u||(h=re(t,"click",n[3]),u=!0)},p(O,p){p&1&&i!==(i=Ec(O[0].location)+"")&&Be(r,i),p&1&&s!==(s="mzn-link mzn-"+O[0].type+" svelte-w513p9")&&y(t,"class",s)},d(O){O&&(Y(e),Y(o),Y(f)),u=!1,h()}}}function V9(n){let e,t=nt(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 Yy extends Ui{constructor(e){super(),Ai(this,e,I9,z9,Ri,{msg:0})}}function rS(n,e,t){const i=n.slice();return i[40]=e[t],i}function sS(n,e,t){const i=n.slice();return i[43]=e[t],i}function lS(n,e,t){const i=n.slice();return i[52]=e[t],i}function oS(n,e,t){const i=n.slice();return i[49]=e[t],i}function aS(n,e,t){const i=n.slice();return i[46]=e[t],i}const N9=n=>({}),fS=n=>({});function cS(n,e,t){const i=n.slice();return i[46]=e[t],i}function uS(n){let e,t,i,r,s,l,o,f,u,h,O,p,g;function b(q,B){return q[13].length===0?B9:L9}let $=b(n),Q=$(n),_=nt(n[14]),x=[];for(let q=0;q<_.length;q+=1)x[q]=hS(cS(n,_,q));let Z=n[19]&&OS(n),C=n[18]&&dS(n),X=n[17]&&pS(n),R=n[16]&&gS(n),I=n[15]&&mS(n);return{c(){e=k("button"),Q.c(),i=N();for(let q=0;q{o=null}),it()),u[2]?f?(f.p(u,h),h[0]&4&&D(f,1)):(f=$S(u),f.c(),D(f,1),f.m(e,null)):f&&(tt(),F(f,1,1,()=>{f=null}),it())},i(u){r||(D(l,u),D(o),D(f),r=!0)},o(u){F(l,u),F(o),F(f),r=!1},d(u){u&&Y(e),l&&l.d(u),o&&o.d(),f&&f.d()}}}function bS(n){let e,t,i,r,s,l,o;return r=new Wt({props:{icon:h4}}),{c(){e=k("p"),t=k("button"),i=k("span"),Ve(r.$$.fragment),y(i,"class","icon"),y(t,"class","button is-small"),y(t,"title","Clear output on each run"),le(t,"is-primary",n[0]),le(t,"is-light",!n[0]),y(e,"class","control")},m(f,u){V(f,e,u),v(e,t),v(t,i),Ue(r,i,null),s=!0,l||(o=re(t,"click",n[33]),l=!0)},p(f,u){(!s||u[0]&1)&&le(t,"is-primary",f[0]),(!s||u[0]&1)&&le(t,"is-light",!f[0])},i(f){s||(D(r.$$.fragment,f),s=!0)},o(f){F(r.$$.fragment,f),s=!1},d(f){f&&Y(e),Ye(r),l=!1,o()}}}function $S(n){let e,t,i,r,s,l,o;return r=new Wt({props:{icon:vQ}}),{c(){e=k("p"),t=k("button"),i=k("span"),Ve(r.$$.fragment),y(i,"class","icon"),y(t,"class","button is-small is-danger"),y(t,"title","Clear output"),y(e,"class","control")},m(f,u){V(f,e,u),v(e,t),v(t,i),Ue(r,i,null),s=!0,l||(o=re(t,"click",n[34]),l=!0)},p:We,i(f){s||(D(r.$$.fragment,f),s=!0)},o(f){F(r.$$.fragment,f),s=!1},d(f){f&&Y(e),Ye(r),l=!1,o()}}}function j9(n){let e;return{c(){e=$e("Running")},m(t,i){V(t,e,i)},d(t){t&&Y(e)}}}function F9(n){let e;return{c(){e=$e("Compiling")},m(t,i){V(t,e,i)},d(t){t&&Y(e)}}}function G9(n){let e,t,i,r=Mc(n[43].runTime)+"",s,l,o=n[43].code&&QS(n);return{c(){o&&o.c(),e=N(),t=k("pre"),i=$e("Finished in "),s=$e(r),l=$e("."),y(t,"class","mzn-runtime")},m(f,u){o&&o.m(f,u),V(f,e,u),V(f,t,u),v(t,i),v(t,s),v(t,l)},p(f,u){f[43].code?o?o.p(f,u):(o=QS(f),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),u[0]&2&&r!==(r=Mc(f[43].runTime)+"")&&Be(s,r)},i:We,o:We,d(f){f&&(Y(e),Y(t)),o&&o.d(f)}}}function H9(n){let e,t,i=(n[43].type==="error"&&n[12]||n[43].type==="warning"&&n[11])&&wS(n);return{c(){i&&i.c(),e=fi()},m(r,s){i&&i.m(r,s),V(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=wS(r),i.c(),D(i,1),i.m(e.parentNode,e)):i&&(tt(),F(i,1,1,()=>{i=null}),it())},i(r){t||(D(i),t=!0)},o(r){F(i),t=!1},d(r){r&&Y(e),i&&i.d(r)}}}function K9(n){let e,t=n[23][n[43].status]+"",i,r,s;return{c(){e=k("pre"),i=$e(t),r=N(),s=k("br")},m(l,o){V(l,e,o),v(e,i),V(l,r,o),V(l,s,o)},p(l,o){o[0]&2&&t!==(t=l[23][l[43].status]+"")&&Be(i,t)},i:We,o:We,d(l){l&&(Y(e),Y(r),Y(s))}}}function J9(n){let e,t,i;return{c(){e=k("pre"),e.textContent="Stopped.",t=N(),i=k("br"),y(e,"class","mzn-runtime")},m(r,s){V(r,e,s),V(r,t,s),V(r,i,s)},p:We,i:We,o:We,d(r){r&&(Y(e),Y(t),Y(i))}}}function e8(n){let e,t=n[8]&&yS(n);return{c(){t&&t.c(),e=fi()},m(i,r){t&&t.m(i,r),V(i,e,r)},p(i,r){i[8]?t?t.p(i,r):(t=yS(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:We,o:We,d(i){i&&Y(e),t&&t.d(i)}}}function t8(n){let e,t=n[9]&&PS(n);return{c(){t&&t.c(),e=fi()},m(i,r){t&&t.m(i,r),V(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&&Y(e),t&&t.d(i)}}}function i8(n){let e,t=n[43].comment+"",i;return{c(){e=k("pre"),i=$e(t),y(e,"class","mzn-comment")},m(r,s){V(r,e,s),v(e,i)},p(r,s){s[0]&2&&t!==(t=r[43].comment+"")&&Be(i,t)},i:We,o:We,d(r){r&&Y(e)}}}function n8(n){let e=n[13].indexOf(n[43].section)===-1&&n[43].section!=="vis_json",t,i=e&&kS(n);return{c(){i&&i.c(),t=fi()},m(r,s){i&&i.m(r,s),V(r,t,s)},p(r,s){s[0]&8194&&(e=r[13].indexOf(r[43].section)===-1&&r[43].section!=="vis_json"),e?i?i.p(r,s):(i=kS(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:We,o:We,d(r){r&&Y(t),i&&i.d(r)}}}function r8(n){let e,t=n[10]&&_S(n);return{c(){t&&t.c(),e=fi()},m(i,r){t&&t.m(i,r),V(i,e,r)},p(i,r){i[10]?t?t.p(i,r):(t=_S(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:We,o:We,d(i){i&&Y(e),t&&t.d(i)}}}function s8(n){let e,t,i,r,s,l,o,f=nt(RS(n[43],n[13])),u=[];for(let O=0;OF(u[O],1,1,()=>{u[O]=null});return{c(){e=k("span"),t=k("pre"),t.textContent="% Solution checker report:",i=N(),r=k("br"),s=N();for(let O=0;O%%%mzn-stat-end',i=N(),r=k("br")},m(o,f){for(let u=0;u{i=null}),it())},i(r){t||(D(i),t=!0)},o(r){F(i),t=!1},d(r){r&&Y(e),i&&i.d(r)}}}function c8(n){let e,t=n[49].message+"",i;return{c(){e=k("pre"),i=$e(t)},m(r,s){V(r,e,s),v(e,i)},p(r,s){s[0]&8194&&t!==(t=r[49].message+"")&&Be(i,t)},i:We,o:We,d(r){r&&Y(e)}}}function WS(n){let e,t;return e=new Yy({props:{msg:n[49]}}),e.$on("goto",n[35]),{c(){Ve(e.$$.fragment)},m(i,r){Ue(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){F(e.$$.fragment,i),t=!1},d(i){Ye(e,i)}}}function xS(n){let e,t,i,r;const s=[c8,f8],l=[];function o(f,u){return f[49].type==="text"?0:f[49].type==="error"||f[49].type==="warning"?1:-1}return~(e=o(n))&&(t=l[e]=s[e](n)),{c(){t&&t.c(),i=fi()},m(f,u){~e&&l[e].m(f,u),V(f,i,u),r=!0},p(f,u){let h=e;e=o(f),e===h?~e&&l[e].p(f,u):(t&&(tt(),F(l[h],1,1,()=>{l[h]=null}),it()),~e?(t=l[e],t?t.p(f,u):(t=l[e]=s[e](f),t.c()),D(t,1),t.m(i.parentNode,i)):t=null)},i(f){r||(D(t),r=!0)},o(f){F(t),r=!1},d(f){f&&Y(i),~e&&l[e].d(f)}}}function CS(n){let e,t;function i(l,o){if(o[0]&2&&(e=null),e==null&&(e=!!(l[46]==="json"||l[46].endsWith("_json"))),e)return h8;if(l[46]!=="raw")return u8}let r=i(n,[-1,-1]),s=r&&r(n);return{c(){s&&s.c(),t=fi()},m(l,o){s&&s.m(l,o),V(l,t,o)},p(l,o){r===(r=i(l,o))&&s?s.p(l,o):(s&&s.d(1),s=r&&r(l),s&&(s.c(),s.m(t.parentNode,t)))},d(l){l&&Y(t),s&&s.d(l)}}}function u8(n){let e,t=n[43].output[n[46]]+"",i;return{c(){e=k("pre"),i=$e(t)},m(r,s){V(r,e,s),v(e,i)},p(r,s){s[0]&2&&t!==(t=r[43].output[r[46]]+"")&&Be(i,t)},d(r){r&&Y(e)}}}function h8(n){let e,t=JSON.stringify(n[43].output[n[46]],null,2)+"",i,r,s;return{c(){e=k("pre"),i=$e(t),r=N(),s=k("br")},m(l,o){V(l,e,o),v(e,i),V(l,r,o),V(l,s,o)},p(l,o){o[0]&2&&t!==(t=JSON.stringify(l[43].output[l[46]],null,2)+"")&&Be(i,t)},d(l){l&&(Y(e),Y(r),Y(s))}}}function XS(n){let e=n[13].indexOf(n[46])===-1&&n[46]!=="vis_json",t,i=e&&CS(n);return{c(){i&&i.c(),t=fi()},m(r,s){i&&i.m(r,s),V(r,t,s)},p(r,s){s[0]&8194&&(e=r[13].indexOf(r[46])===-1&&r[46]!=="vis_json"),e?i?i.p(r,s):(i=CS(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(r){r&&Y(t),i&&i.d(r)}}}function TS(n){let e,t,i,r;const s=[l8,s8,r8,n8,i8,t8,e8,J9,K9,H9,G9],l=[];function o(f,u){return f[43].type==="solution"?0:f[43].type==="checker"?1:f[43].type==="time"?2:f[43].type==="trace"?3:f[43].type==="comment"?4:f[43].type==="stderr"?5:f[43].type==="statistics"?6:f[43].type==="cancel"?7:f[43].type==="status"?8:f[43].type==="error"||f[43].type==="warning"?9:f[43].type==="exit"?10:-1}return~(e=o(n))&&(t=l[e]=s[e](n)),{c(){t&&t.c(),i=fi()},m(f,u){~e&&l[e].m(f,u),V(f,i,u),r=!0},p(f,u){let h=e;e=o(f),e===h?~e&&l[e].p(f,u):(t&&(tt(),F(l[h],1,1,()=>{l[h]=null}),it()),~e?(t=l[e],t?t.p(f,u):(t=l[e]=s[e](f),t.c()),D(t,1),t.m(i.parentNode,i)):t=null)},i(f){r||(D(t),r=!0)},o(f){F(t),r=!1},d(f){f&&Y(i),~e&&l[e].d(f)}}}function ZS(n){let e,t,i,r=n[40].files.join(", ")+"",s,l,o,f,u;function h(Q,_){return Q[40].isCompile?F9:j9}let O=h(n),p=O(n),g=nt(n[40].output),b=[];for(let Q=0;QF(b[Q],1,1,()=>{b[Q]=null});return{c(){e=k("details"),t=k("summary"),p.c(),i=N(),s=$e(r),l=N(),o=k("div");for(let Q=0;QF(O[g],1,1,()=>{O[g]=null});return{c(){e=k("div"),t=k("div"),f&&f.c(),i=N(),u&&u.c(),r=N(),s=k("div"),l=k("div");for(let g=0;g{u=null}),it()),(!o||b[0]&48)&&le(t,"is-empty",!g[4]&&!g[5]),(!o||b[0]&64)&&le(t,"is-tab",g[6]),b[0]&8404738){h=nt(g[1]);let $;for($=0;$0&&(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 RS(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&&i.push(n.output[s]);r()}return t}function d8(n,e,t){let i,r,s,l,o,f,{$$slots:u={},$$scope:h}=e;const O=Fn();let{output:p}=e,{autoClearOutput:g=!1}=e,{showClearOutput:b=!0}=e,{showAutoClearOutput:$=!0}=e,{showSectionToggles:Q=!0}=e,{showRightControls:_=!0}=e,{isTab:x=!1}=e,Z,C=!0,X=!0,R=!0,I=!0,q=!0;function B(be){const te=be.flatMap(ae=>ae.output),H=new Set([...te.filter(ae=>ae.type==="solution"||ae.type==="checker").flatMap(ae=>ae.sections.filter(Ke=>ae.output[Ke].length>0)),...te.filter(ae=>ae.type==="trace").map(ae=>ae.section)]);H.delete("raw"),H.delete("vis_json");const ie=[...H.values()];return ie.sort(),t(13,de=de.filter(ae=>H.has(ae))),ie}function z(be){de.indexOf(be)===-1?t(13,de=[...de,be]):t(13,de=de.filter(te=>te!==be))}function oe(){de.length===0?t(13,de=[...f]):t(13,de=[])}let de=[];const xe={ALL_SOLUTIONS:"==========",OPTIMAL_SOLUTION:"==========",UNSATISFIABLE:"=====UNSATISFIABLE=====",UNSAT_OR_UNBOUNDED:"=====UNSATorUNBOUNDED=====",UNBOUNDED:"=====UNBOUNDED=====",UNKNOWN:"=====UNKNOWN=====",ERROR:"=====ERROR====="};async function ye(be){Z&&(await ds(),Z.scrollTo(0,Z.scrollHeight))}const Ee=()=>oe(),pe=be=>z(be),fe=()=>t(8,C=!C),Xe=()=>t(9,X=!X),Me=()=>t(10,R=!R),Ne=()=>t(11,I=!I),pt=()=>t(12,q=!q),Lt=()=>t(0,g=!g),ti=()=>O("clear");function xt(be){hm.call(this,n,be)}function Ct(be){hm.call(this,n,be)}function Zt(be){ui[be?"unshift":"push"](()=>{Z=be,t(7,Z)})}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,$=be.showAutoClearOutput),"showSectionToggles"in be&&t(4,Q=be.showSectionToggles),"showRightControls"in be&&t(5,_=be.showRightControls),"isTab"in be&&t(6,x=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(te=>te.type==="statistics"))),n.$$.dirty[0]&2&&t(18,r=p.some(be=>be.output.some(te=>te.type==="stderr"))),n.$$.dirty[0]&2&&t(17,s=p.some(be=>be.output.some(te=>te.type==="time"))),n.$$.dirty[0]&2&&t(16,l=p.some(be=>be.output.some(te=>te.type==="warning"||te.type==="checker"&&te.messages&&te.messages.some(H=>H.type==="warning")))),n.$$.dirty[0]&2&&t(15,o=p.some(be=>be.output.some(te=>te.type==="error"||te.type==="checker"&&te.messages&&te.messages.some(H=>H.type==="error")))),n.$$.dirty[0]&2&&t(14,f=B(p)),n.$$.dirty[0]&2&&ye()},[g,p,b,$,Q,_,x,Z,C,X,R,I,q,de,f,o,l,s,r,i,O,z,oe,xe,h,u,Ee,pe,fe,Xe,Me,Ne,pt,Lt,ti,xt,Ct,Zt]}class p8 extends Ui{constructor(e){super(),Ai(this,e,d8,O8,Ri,{output:1,autoClearOutput:0,showClearOutput:2,showAutoClearOutput:3,showSectionToggles:4,showRightControls:5,isTab:6},null,[-1,-1])}}const g8=`const MiniZincIDE = (() => { + const callbacks = {}; + const responses = []; + const freeSlots = []; + let userData; + + window.addEventListener('message', (e) => { + switch (e.data.event) { + case 'response': { + resolveResponse(e.data.id, e.data.payload); + break; + } + case 'error': { + rejectResponse(e.data.id, e.data.message); + break; + } + default: + if (e.data.event in callbacks) { + callbacks[e.data.event].forEach((callback) => { + callback(e.data.payload); + }); + } + break; + } + }); + + function resolveResponse(index, payload) { + const { resolve } = responses[index]; + resolve(payload); + responses[index] = null; + freeSlots.push(index); + } + + function rejectResponse(index, message) { + const { reject } = responses[index]; + reject(message); + responses[index] = null; + freeSlots.push(index); + } + + function createPromise(message) { + return new Promise((resolve, reject) => { + const id = + freeSlots.length > 0 ? freeSlots.pop() : responses.length; + responses[id] = { resolve, reject }; + window.parent.postMessage( + { + ...message, + id, + }, + '*' + ); + }); + } + + function on(event, callback) { + if (!(event in callbacks)) { + callbacks[event] = new Set(); + } + callbacks[event].add(callback); + } + function off(event, callback) { + if (event in callbacks) { + callbacks[event].delete(callback); + } + } + function getUserData() { + return new Promise((resolve, reject) => { + if (userData === undefined) { + on('init', (data) => { + userData = data; + resolve(userData); + }); + } else { + resolve(userData); + } + }); + } + function goToSolution(idx) { + window.parent.postMessage( + { + event: 'rebroadcast', + message: { + event: 'goToSolution', + payload: idx, + }, + }, + '*' + ); + } + function solve(modelFile, dataFiles, options) { + window.parent.postMessage( + { + event: 'solve', + modelFile, + dataFiles, + options, + }, + '*' + ); + } + function getNumSolutions() { + return createPromise({ + event: 'getNumSolutions', + }); + } + function getSolution(index) { + return createPromise({ + event: 'getSolution', + index, + }); + } + function getAllSolutions() { + return createPromise({ + event: 'getAllSolutions', + }); + } + function getStatus() { + return createPromise({ + event: 'getStatus', + }); + } + function getFinishTime() { + return createPromise({ + event: 'getFinishTime', + }); + } + + return { + getUserData, + on, + off, + goToSolution, + solve, + getNumSolutions, + getSolution, + getAllSolutions, + getStatus, + getFinishTime, + }; +})(); +`;function AS(n,e,t){const i=n.slice();return i[22]=e[t],i[23]=e,i[24]=t,i}function US(n){let e,t,i,r,s,l,o,f,u,h,O,p,g,b,$,Q,_,x,Z;return Q=new Wt({props:{icon:l4}}),{c(){e=k("div"),t=k("div"),t.innerHTML="Solution:",i=N(),r=k("div"),s=k("input"),o=N(),f=k("div"),u=k("input"),O=N(),p=k("div"),g=k("p"),b=k("button"),$=k("span"),Ve(Q.$$.fragment),y(t,"class","solution-label svelte-152bhkz"),y(s,"class","input is-small"),y(s,"type","number"),y(s,"min",l=n[2]>0?1:0),y(s,"max",n[2]),y(u,"type","range"),y(u,"min",h=n[2]>0?1:0),y(u,"max",n[2]),y(u,"class","svelte-152bhkz"),y(f,"class","solution-slider svelte-152bhkz"),y($,"class","icon"),y(b,"class","button is-small"),y(b,"title","Follow latest solution"),le(b,"is-primary",n[0]),le(b,"is-light",!n[0]),y(g,"class","control"),y(p,"class","field has-addons svelte-152bhkz"),y(e,"class","top svelte-152bhkz")},m(C,X){V(C,e,X),v(e,t),v(e,i),v(e,r),v(r,s),Ni(s,n[1]),v(e,o),v(e,f),v(f,u),Ni(u,n[1]),v(e,O),v(e,p),v(p,g),v(g,b),v(b,$),Ue(Q,$,null),_=!0,x||(Z=[re(s,"input",n[11]),re(u,"change",n[12]),re(u,"input",n[12]),re(b,"click",n[13])],x=!0)},p(C,X){(!_||X&4&&l!==(l=C[2]>0?1:0))&&y(s,"min",l),(!_||X&4)&&y(s,"max",C[2]),X&2&&Mo(s.value)!==C[1]&&Ni(s,C[1]),(!_||X&4&&h!==(h=C[2]>0?1:0))&&y(u,"min",h),(!_||X&4)&&y(u,"max",C[2]),X&2&&Ni(u,C[1]),(!_||X&1)&&le(b,"is-primary",C[0]),(!_||X&1)&&le(b,"is-light",!C[0])},i(C){_||(D(Q.$$.fragment,C),_=!0)},o(C){F(Q.$$.fragment,C),_=!1},d(C){C&&Y(e),Ye(Q),x=!1,Nt(Z)}}}function YS(n){let e,t,i=n[23],r=n[24],s,l;const o=()=>n[14](e,i,r),f=()=>n[14](null,i,r);function u(...h){return n[15](n[22],...h)}return{c(){e=k("iframe"),y(e,"class","vis-window svelte-152bhkz"),am(e.src,t=n[22].url)||y(e,"src",t),y(e,"title","Visualisation")},m(h,O){V(h,e,O),o(),s||(l=re(e,"load",u),s=!0)},p(h,O){n=h,O&8&&!am(e.src,t=n[22].url)&&y(e,"src",t),(i!==n[23]||r!==n[24])&&(f(),i=n[23],r=n[24],o())},d(h){h&&Y(e),f(),s=!1,l()}}}function m8(n){let e,t,i,r,s,l,o,f=n[2]>0&&US(n),u=nt(n[3]),h=[];for(let O=0;O0?f?(f.p(O,p),p&4&&D(f,1)):(f=US(O),f.c(),D(f,1),f.m(e,t)):f&&(tt(),F(f,1,1,()=>{f=null}),it()),p&8){u=nt(O[3]);let g;for(g=0;g{oe=ye});de.then(ye=>{ye.contentWindow.postMessage({event:"init",payload:z},"*")});const xe=URL.createObjectURL(new Blob([B.replace("/minizinc-ide.js",S8)],{type:"text/html; charset=utf-8"}));t(3,h=[...h,{url:xe,makeReady:oe,ready:de,solutions:[],element:null}])}function $(B,z){for(let oe=0;oede.element.contentWindow===B.source);switch(z.event){case"rebroadcast":for(const xe of h)En(z.message,xe);z.message.event==="goToSolution"&&(s=z.message.payload===-1,t(0,l=z.message.payload===-1),o=z.message.payload+1,t(1,f=z.message.payload+1));break;case"solve":r("solve",{modelFile:z.modelFile,dataFiles:z.dataFiles,options:z.options});break;case"getNumSolutions":En({event:"response",id:z.id,payload:oe.solutions.length},oe);break;case"getSolution":const de=z.index<0?z.index+oe.solutions.length:z.index;if(de<0||de>=oe.solutions.length)En({event:"error",id:z.id,message:"Solution index out of range"},oe);else{En({event:"response",id:z.id,payload:oe.solutions[z.index===-1?oe.solutions.length-1:z.index]},oe);break}case"getAllSolutions":En({event:"response",id:z.id,payload:oe.solutions},oe);break;case"getStatus":En({event:"response",id:z.id,payload:O},oe);break;case"getFinishTime":En({event:"response",id:z.id,payload:p},oe);break}}function Z(B,z,oe){if(l&&o===f&&(o=u,t(1,f=u)),l!==s){s=l;for(const de of h)En({event:"goToSolution",payload:l?-1:f-1},de)}if(o!==f){o=f,s=!1,t(0,l=!1);for(const de of h)En({event:"goToSolution",payload:f-1},de)}}function C(){f=Mo(this.value),t(1,f)}function X(){f=Mo(this.value),t(1,f)}const R=()=>t(0,l=!l);function I(B,z,oe){ui[B?"unshift":"push"](()=>{z[oe].element=B,t(3,h)})}const q=(B,z)=>B.makeReady(z.target);return n.$$.update=()=>{n.$$.dirty&8&&t(4,i=Math.ceil(Math.sqrt(h.length))),n.$$.dirty&7&&Z()},[l,f,u,h,i,x,g,b,$,Q,_,C,X,R,I,q]}class $8 extends Ui{constructor(e){super(),Ai(this,e,b8,m8,Ri,{reset:6,addVisualisation:7,addSolution:8,status:9,finish:10})}get reset(){return this.$$.ctx[6]}get addVisualisation(){return this.$$.ctx[7]}get addSolution(){return this.$$.ctx[8]}get status(){return this.$$.ctx[9]}get finish(){return this.$$.ctx[10]}}function Q8(n){let e,t,i,r,s,l,o,f,u,h,O,p,g,b,$,Q,_,x,Z,C,X,R,I,q,B,z,oe,de,xe,ye,Ee,pe;return{c(){e=k("aside"),t=k("p"),t.textContent="Model",i=N(),r=k("ul"),s=k("li"),l=k("a"),l.textContent="Model file (.mzn)",o=N(),f=k("li"),u=k("a"),u.textContent="Solution checker model (.mzc.mzn)",h=N(),O=k("p"),O.textContent="Data",p=N(),g=k("ul"),b=k("li"),$=k("a"),$.textContent="Data file (.dzn)",Q=N(),_=k("li"),x=k("a"),x.textContent="JSON data file (.json)",Z=N(),C=k("p"),C.textContent="Visualisation",X=N(),R=k("ul"),I=k("li"),q=k("a"),q.textContent="Custom visualisation (.html)",B=N(),z=k("p"),z.textContent="Import",oe=N(),de=k("ul"),xe=k("li"),ye=k("a"),ye.textContent="Upload file(s)",y(t,"class","menu-label"),y(r,"class","menu-list"),y(O,"class","menu-label"),y(g,"class","menu-list"),y(C,"class","menu-label"),y(R,"class","menu-list"),y(z,"class","menu-label"),y(de,"class","menu-list"),y(e,"class","menu")},m(fe,Xe){V(fe,e,Xe),v(e,t),v(e,i),v(e,r),v(r,s),v(s,l),v(r,o),v(r,f),v(f,u),v(e,h),v(e,O),v(e,p),v(e,g),v(g,b),v(b,$),v(g,Q),v(g,_),v(_,x),v(e,Z),v(e,C),v(e,X),v(e,R),v(R,I),v(I,q),v(e,B),v(e,z),v(e,oe),v(e,de),v(de,xe),v(xe,ye),Ee||(pe=[re(l,"click",n[5]),re(u,"click",n[6]),re($,"click",n[7]),re(x,"click",n[8]),re(q,"click",n[9]),re(ye,"click",n[10])],Ee=!0)},p:We,d(fe){fe&&Y(e),Ee=!1,Nt(pe)}}}function w8(n){let e,t,i,r,s,l;return e=new Yl({props:{active:n[0],title:"Create new file",$$slots:{default:[Q8]},$$scope:{ctx:n}}}),e.$on("cancel",n[11]),{c(){Ve(e.$$.fragment),t=N(),i=k("input"),y(i,"class","is-hidden svelte-1surl6b"),y(i,"type","file"),i.multiple=!0,y(i,"accept",".mzn,.mzc,.dzn,.json,.html")},m(o,f){Ue(e,o,f),V(o,t,f),V(o,i,f),n[12](i),r=!0,s||(l=[re(i,"change",n[13]),re(i,"change",n[4])],s=!0)},p(o,[f]){const u={};f&1&&(u.active=o[0]),f&16386&&(u.$$scope={dirty:f,ctx:o}),e.$set(u)},i(o){r||(D(e.$$.fragment,o),r=!0)},o(o){F(e.$$.fragment,o),r=!1},d(o){o&&(Y(t),Y(i)),Ye(e,o),n[12](null),s=!1,Nt(l)}}}function y8(n,e,t){let{active:i=!1}=e;const r=Fn();let s,l;async function o(){const _=[];for(const Z of l)_.push(new Promise((C,X)=>{const R=new FileReader;R.onload=()=>{C({name:Z.name,contents:R.result})},R.onerror=I=>X(I),R.readAsText(Z)}));const x=await Promise.all(_);r("open",{files:x})}const f=()=>r("new",{type:".mzn"}),u=()=>r("new",{type:".mzc.mzn"}),h=()=>r("new",{type:".dzn"}),O=()=>r("new",{type:".json"}),p=()=>r("new",{type:".html"}),g=()=>s.click(),b=()=>r("cancel");function $(_){ui[_?"unshift":"push"](()=>{s=_,t(1,s)})}function Q(){l=this.files,t(2,l)}return n.$$set=_=>{"active"in _&&t(0,i=_.active)},[i,s,l,r,o,f,u,h,O,p,g,b,$,Q]}class v8 extends Ui{constructor(e){super(),Ai(this,e,y8,w8,Ri,{active:0})}}function VS(n,e,t){const i=n.slice();return i[15]=e[t],i}function qS(n,e,t){const i=n.slice();return i[18]=e[t].file,i[19]=e[t].index,i}function P8(n){let e,t,i,r,s,l,o;i=new Wt({props:{icon:n[18].readOnly?FO:k1}});function f(){return n[11](n[19],n[18])}return{c(){e=k("button"),t=k("span"),Ve(i.$$.fragment),y(t,"class","icon"),y(e,"class","button is-small"),y(e,"title",r="Click to "+(n[18].readOnly?"unlock":"lock")+" this file for editing"),le(e,"is-primary",!n[18].readOnly),le(e,"is-light",n[18].readOnly)},m(u,h){V(u,e,h),v(e,t),Ue(i,t,null),s=!0,l||(o=re(e,"click",f),l=!0)},p(u,h){n=u;const O={};h&2&&(O.icon=n[18].readOnly?FO:k1),i.$set(O),(!s||h&2&&r!==(r="Click to "+(n[18].readOnly?"unlock":"lock")+" this file for editing"))&&y(e,"title",r),(!s||h&2)&&le(e,"is-primary",!n[18].readOnly),(!s||h&2)&&le(e,"is-light",n[18].readOnly)},i(u){s||(D(i.$$.fragment,u),s=!0)},o(u){F(i.$$.fragment,u),s=!1},d(u){u&&Y(e),Ye(i),l=!1,o()}}}function k8(n){let e,t,i,r;return i=new Wt({props:{icon:FO}}),{c(){e=k("button"),t=k("span"),Ve(i.$$.fragment),y(t,"class","icon"),y(e,"class","button is-small is-light"),y(e,"title","Compiled checkers are read only"),e.disabled=!0},m(s,l){V(s,e,l),v(e,t),Ue(i,t,null),r=!0},p:We,i(s){r||(D(i.$$.fragment,s),r=!0)},o(s){F(i.$$.fragment,s),r=!1},d(s){s&&Y(e),Ye(i)}}}function ES(n){let e,t,i=n[18].name+"",r,s,l,o,f,u,h,O,p,g,b,$,Q,_,x,Z,C,X,R,I,q,B,z;p=new Wt({props:{icon:n[18].hidden?P1:_1}});function oe(){return n[10](n[19],n[18])}const de=[k8,P8],xe=[];function ye(pe,fe){return fe&2&&(Q=null),Q==null&&(Q=!!pe[18].name.endsWith(".mzc")),Q?0:1}_=ye(n,-1),x=xe[_]=de[_](n),I=new Wt({props:{icon:vQ}});function Ee(){return n[12](n[19])}return{c(){e=k("tr"),t=k("td"),r=$e(i),s=N(),l=k("td"),o=k("div"),f=k("div"),u=k("p"),h=k("button"),O=k("span"),Ve(p.$$.fragment),b=N(),$=k("p"),x.c(),Z=N(),C=k("p"),X=k("button"),R=k("span"),Ve(I.$$.fragment),y(O,"class","icon"),y(h,"class","button is-small"),y(h,"title",g="Click to "+(n[18].hidden?"show":"hide")+" this file"),le(h,"is-primary",!n[18].hidden),le(h,"is-light",n[18].hidden),y(u,"class","control"),y($,"class","control"),y(R,"class","icon"),y(X,"class","button is-small is-danger"),y(X,"title","Delete this file"),y(C,"class","control"),y(f,"class","field is-grouped"),y(o,"class","tool-buttons svelte-1bgv9sn")},m(pe,fe){V(pe,e,fe),v(e,t),v(t,r),v(e,s),v(e,l),v(l,o),v(o,f),v(f,u),v(u,h),v(h,O),Ue(p,O,null),v(f,b),v(f,$),xe[_].m($,null),v(f,Z),v(f,C),v(C,X),v(X,R),Ue(I,R,null),q=!0,B||(z=[re(h,"click",oe),re(X,"click",Ee)],B=!0)},p(pe,fe){n=pe,(!q||fe&2)&&i!==(i=n[18].name+"")&&Be(r,i);const Xe={};fe&2&&(Xe.icon=n[18].hidden?P1:_1),p.$set(Xe),(!q||fe&2&&g!==(g="Click to "+(n[18].hidden?"show":"hide")+" this file"))&&y(h,"title",g),(!q||fe&2)&&le(h,"is-primary",!n[18].hidden),(!q||fe&2)&&le(h,"is-light",n[18].hidden);let Me=_;_=ye(n,fe),_===Me?xe[_].p(n,fe):(tt(),F(xe[Me],1,1,()=>{xe[Me]=null}),it(),x=xe[_],x?x.p(n,fe):(x=xe[_]=de[_](n),x.c()),D(x,1),x.m($,null))},i(pe){q||(D(p.$$.fragment,pe),D(x),D(I.$$.fragment,pe),q=!0)},o(pe){F(p.$$.fragment,pe),F(x),F(I.$$.fragment,pe),q=!1},d(pe){pe&&Y(e),Ye(p),xe[_].d(),Ye(I),B=!1,Nt(z)}}}function MS(n){let e,t=n[15].label+"",i,r,s,l,o=nt(n[15].files),f=[];for(let h=0;hF(f[h],1,1,()=>{f[h]=null});return{c(){e=k("p"),i=$e(t),r=N(),s=k("table");for(let h=0;hF(p[b],1,1,()=>{p[b]=null});return s=new Wt({props:{icon:kQ}}),{c(){for(let b=0;bO("close"),g=(x,Z)=>O("modifyFile",{index:x,options:{hidden:!Z.hidden}}),b=(x,Z)=>O("modifyFile",{index:x,options:{readOnly:!Z.readOnly}}),$=x=>O("delete",{index:x}),Q=()=>O("newFile"),_=()=>O("close");return n.$$set=x=>{"active"in x&&t(0,u=x.active),"files"in x&&t(3,h=x.files)},n.$$.update=()=>{n.$$.dirty&8&&t(8,i=h.map((x,Z)=>({file:x,index:Z}))),n.$$.dirty&256&&t(7,r=i.filter(x=>x.file.name.endsWith(".mzn")&&!x.file.name.endsWith(".mzc.mzn")).sort((x,Z)=>x.file.name.localeCompare(Z.file.name))),n.$$.dirty&256&&t(6,s=i.filter(x=>x.file.name.endsWith(".dzn")||x.file.name.endsWith(".json")).sort((x,Z)=>x.file.name.localeCompare(Z.file.name))),n.$$.dirty&256&&t(5,l=i.filter(x=>x.file.name.endsWith(".mzc")||x.file.name.endsWith(".mzc.mzn")).sort((x,Z)=>x.file.name.localeCompare(Z.file.name))),n.$$.dirty&256&&t(4,o=i.filter(x=>!x.file.name.endsWith(".mzn")&&!x.file.name.endsWith(".mzc")&&!x.file.name.endsWith(".dzn")&&!x.file.name.endsWith(".json")).sort((x,Z)=>x.file.name.localeCompare(Z.file.name))),n.$$.dirty&240&&t(1,f=[{label:"Model files",files:r},{label:"Data files",files:s},{label:"Solution checkers",files:l},{label:"Other files",files:o}].filter(x=>x.files.length>0))},[u,f,O,h,o,l,s,r,i,p,g,b,$,Q,_]}class X8 extends Ui{constructor(e){super(),Ai(this,e,C8,x8,Ri,{active:0,files:3})}}function DS(n,e,t){const i=n.slice();return i[9]=e[t],i}function zS(n){let e,t=n[9]+"",i,r;return{c(){e=k("option"),i=$e(t),e.__value=r=n[9],Ni(e,e.__value)},m(s,l){V(s,e,l),v(e,i)},p(s,l){l&1&&t!==(t=s[9]+"")&&Be(i,t),l&1&&r!==(r=s[9])&&(e.__value=r,Ni(e,e.__value))},d(s){s&&Y(e)}}}function T8(n){let e,t,i,r,s=nt(n[0]),l=[];for(let o=0;on[6].call(t)),y(e,"class","select is-fullwidth")},m(o,f){V(o,e,f),v(e,t);for(let u=0;u0&&t(2,l=p[0])}function f(){i("accept",{modelFile:l})}const u=()=>i("cancel");function h(){l=fO(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,f,u,h,O]}class U8 extends Ui{constructor(e){super(),Ai(this,e,A8,R8,Ri,{modelFiles:0,active:1})}}function IS(n,e,t){const i=n.slice();return i[20]=e[t],i[21]=e,i[22]=t,i}function NS(n,e,t){const i=n.slice();return i[17]=e[t],i}function LS(n){let e,t,i,r,s,l,o,f,u;return{c(){e=k("div"),t=k("ul"),i=k("li"),r=k("a"),r.textContent="Enter parameters",s=N(),l=k("li"),o=k("a"),o.textContent="Select data file",le(i,"is-active",!n[2]),le(l,"is-active",n[2]),y(e,"class","tabs")},m(h,O){V(h,e,O),v(e,t),v(t,i),v(i,r),v(t,s),v(t,l),v(l,o),f||(u=[re(r,"click",n[11]),re(o,"click",n[12])],f=!0)},p(h,O){O&4&&le(i,"is-active",!h[2]),O&4&&le(l,"is-active",h[2])},d(h){h&&Y(e),f=!1,Nt(u)}}}function Y8(n){let e,t=nt(n[5]),i=[];for(let r=0;rn[13].call(t)),y(e,"class","select is-fullwidth is-multiple")},m(o,f){V(o,e,f),v(e,t);for(let u=0;uC[X]===void 0?{name:X,value:""}:{name:X,value:C[X]}))}function g(){r?s("accept",{dataFiles:h}):s("accept",{parameters:O.reduce((C,X)=>({...C,[X.name]:X.value}),{})})}const b=()=>s("cancel"),$=()=>t(2,u=!1),Q=()=>t(2,u=!0);function _(){h=Cx(this),t(4,h),t(1,f)}function x(C,X){C[X].value=this.value,t(5,O)}const Z=()=>s("cancel");return n.$$set=C=>{"active"in C&&t(0,l=C.active),"parameters"in C&&t(9,o=C.parameters),"dataFiles"in C&&t(1,f=C.dataFiles)},n.$$.update=()=>{n.$$.dirty&512&&p(o),n.$$.dirty&2&&t(3,i=f.length>0),n.$$.dirty&12&&t(6,r=i&&u)},[l,f,u,i,h,O,r,s,g,o,b,$,Q,_,x,Z]}class z8 extends Ui{constructor(e){super(),Ai(this,e,D8,M8,Ri,{active:0,parameters:9,dataFiles:1})}}function FS(n){let e,t,i,r,s,l,o,f,u,h,O,p,g,b,$,Q,_,x=Dn(n[1],"-a"),Z,C=Dn(n[1],"-f"),X,R,I,q,B,z,oe,de,xe,ye=Dn(n[1],"-v"),Ee,pe,fe,Xe,Me,Ne,pt,Lt=Dn(n[1],"-s"),ti,xt,Ct,Zt,be,te,H,ie,ae,Ke,Je,ot,Ot,et,se,Qi,Rt;r=new Wt({props:{icon:_Q}});let ct=x&&GS(n),ze=C&&HS(n),St=ye&&KS(n),dt=Lt&&JS(n);return{c(){e=k("div"),t=k("button"),i=k("span"),Ve(r.$$.fragment),s=N(),l=k("h5"),l.textContent="Solving options",o=N(),f=k("div"),u=k("p"),h=k("input"),O=N(),p=k("label"),p.textContent="Time limit (s)",g=N(),b=k("p"),$=k("input"),_=N(),ct&&ct.c(),Z=N(),ze&&ze.c(),X=N(),R=k("h5"),R.textContent="Output options",I=N(),q=k("div"),B=k("p"),z=k("input"),oe=N(),de=k("label"),de.textContent="Verbose compilation",xe=N(),St&&St.c(),Ee=N(),pe=k("div"),fe=k("p"),Xe=k("input"),Me=N(),Ne=k("label"),Ne.textContent="Compilation statistics",pt=N(),dt&&dt.c(),ti=N(),xt=k("div"),Ct=k("p"),Zt=k("input"),be=N(),te=k("label"),te.textContent="Timing information",H=N(),ie=k("div"),ae=k("p"),Ke=k("button"),Ke.textContent="Accept",Je=N(),ot=k("p"),Ot=k("button"),Ot.textContent="Reset to defaults",y(i,"class","icon"),y(t,"class","button is-text is-small exit-button svelte-1uq9463"),y(l,"class","title is-5"),y(h,"id","enable-timelimit"),y(h,"type","checkbox"),y(h,"class","svelte-1uq9463"),y(p,"for","enable-timelimit"),y(p,"class","svelte-1uq9463"),y(u,"class","control checkbox-control svelte-1uq9463"),y($,"class","input is-fullwidth"),y($,"type","number"),y($,"step","1"),y($,"min",0),$.disabled=Q=!n[3],y(b,"class","control is-expanded"),y(f,"class","field is-grouped"),y(R,"class","title is-5"),y(z,"id","enable-verbose-compile"),y(z,"type","checkbox"),y(z,"class","svelte-1uq9463"),y(de,"for","enable-verbose-compile"),y(de,"class","svelte-1uq9463"),y(B,"class","control checkbox-control svelte-1uq9463"),y(q,"class","field"),y(Xe,"id","enable-compilation-satistics"),y(Xe,"type","checkbox"),y(Xe,"class","svelte-1uq9463"),y(Ne,"for","enable-compilation-satistics"),y(Ne,"class","svelte-1uq9463"),y(fe,"class","control checkbox-control svelte-1uq9463"),y(pe,"class","field"),y(Zt,"id","enable-timing-information"),y(Zt,"type","checkbox"),y(Zt,"class","svelte-1uq9463"),y(te,"for","enable-timing-information"),y(te,"class","svelte-1uq9463"),y(Ct,"class","control checkbox-control svelte-1uq9463"),y(xt,"class","field"),y(Ke,"class","button is-primary"),y(ae,"class","control"),y(Ot,"class","button is-danger"),y(ot,"class","control"),y(ie,"class","field is-grouped bottom-buttons svelte-1uq9463"),y(e,"class","config-window svelte-1uq9463")},m(Ge,ut){V(Ge,e,ut),v(e,t),v(t,i),Ue(r,i,null),v(e,s),v(e,l),v(e,o),v(e,f),v(f,u),v(u,h),h.checked=n[3],v(u,O),v(u,p),v(f,g),v(f,b),v(b,$),Ni($,n[2]),v(e,_),ct&&ct.m(e,null),v(e,Z),ze&&ze.m(e,null),v(e,X),v(e,R),v(e,I),v(e,q),v(q,B),v(B,z),z.checked=n[5],v(B,oe),v(B,de),v(e,xe),St&&St.m(e,null),v(e,Ee),v(e,pe),v(pe,fe),v(fe,Xe),Xe.checked=n[7],v(fe,Me),v(fe,Ne),v(e,pt),dt&&dt.m(e,null),v(e,ti),v(e,xt),v(xt,Ct),v(Ct,Zt),Zt.checked=n[9],v(Ct,be),v(Ct,te),v(e,H),v(e,ie),v(ie,ae),v(ae,Ke),v(ie,Je),v(ie,ot),v(ot,Ot),se=!0,Qi||(Rt=[re(t,"click",n[17]),re(h,"change",n[18]),re($,"input",n[19]),re(z,"change",n[22]),re(Xe,"change",n[24]),re(Zt,"change",n[26]),re(Ke,"click",n[27]),re(Ot,"click",n[12])],Qi=!0)},p(Ge,ut){ut&8&&(h.checked=Ge[3]),(!se||ut&8&&Q!==(Q=!Ge[3]))&&($.disabled=Q),ut&4&&Mo($.value)!==Ge[2]&&Ni($,Ge[2]),ut&2&&(x=Dn(Ge[1],"-a")),x?ct?ct.p(Ge,ut):(ct=GS(Ge),ct.c(),ct.m(e,Z)):ct&&(ct.d(1),ct=null),ut&2&&(C=Dn(Ge[1],"-f")),C?ze?ze.p(Ge,ut):(ze=HS(Ge),ze.c(),ze.m(e,X)):ze&&(ze.d(1),ze=null),ut&32&&(z.checked=Ge[5]),ut&2&&(ye=Dn(Ge[1],"-v")),ye?St?St.p(Ge,ut):(St=KS(Ge),St.c(),St.m(e,Ee)):St&&(St.d(1),St=null),ut&128&&(Xe.checked=Ge[7]),ut&2&&(Lt=Dn(Ge[1],"-s")),Lt?dt?dt.p(Ge,ut):(dt=JS(Ge),dt.c(),dt.m(e,ti)):dt&&(dt.d(1),dt=null),ut&512&&(Zt.checked=Ge[9])},i(Ge){se||(D(r.$$.fragment,Ge),Ge&&ar(()=>{se&&(et||(et=Ql(e,dc,{x:100,duration:200},!0)),et.run(1))}),se=!0)},o(Ge){F(r.$$.fragment,Ge),Ge&&(et||(et=Ql(e,dc,{x:100,duration:200},!1)),et.run(0)),se=!1},d(Ge){Ge&&Y(e),Ye(r),ct&&ct.d(),ze&&ze.d(),St&&St.d(),dt&&dt.d(),Ge&&et&&et.end(),Qi=!1,Nt(Rt)}}}function GS(n){let e,t,i,r,s,l,o;return{c(){e=k("div"),t=k("p"),i=k("input"),r=N(),s=k("label"),s.textContent="All solutions (for satisfication problems)",y(i,"id","enable-all-solutions"),y(i,"type","checkbox"),y(i,"class","svelte-1uq9463"),y(s,"for","enable-all-solutions"),y(s,"class","svelte-1uq9463"),y(t,"class","control checkbox-control svelte-1uq9463"),y(e,"class","field")},m(f,u){V(f,e,u),v(e,t),v(t,i),i.checked=n[4],v(t,r),v(t,s),l||(o=re(i,"change",n[20]),l=!0)},p(f,u){u&16&&(i.checked=f[4])},d(f){f&&Y(e),l=!1,o()}}}function HS(n){let e,t,i,r,s,l,o;return{c(){e=k("div"),t=k("p"),i=k("input"),r=N(),s=k("label"),s.textContent="Free search",y(i,"id","enable-free-search"),y(i,"type","checkbox"),y(i,"class","svelte-1uq9463"),y(s,"for","enable-free-search"),y(s,"class","svelte-1uq9463"),y(t,"class","control checkbox-control svelte-1uq9463"),y(e,"class","field")},m(f,u){V(f,e,u),v(e,t),v(t,i),i.checked=n[10],v(t,r),v(t,s),l||(o=re(i,"change",n[21]),l=!0)},p(f,u){u&1024&&(i.checked=f[10])},d(f){f&&Y(e),l=!1,o()}}}function KS(n){let e,t,i,r,s,l,o;return{c(){e=k("div"),t=k("p"),i=k("input"),r=N(),s=k("label"),s.textContent="Verbose solving",y(i,"id","enable-verbose-solve"),y(i,"type","checkbox"),y(i,"class","svelte-1uq9463"),y(s,"for","enable-verbose-solve"),y(s,"class","svelte-1uq9463"),y(t,"class","control checkbox-control svelte-1uq9463"),y(e,"class","field")},m(f,u){V(f,e,u),v(e,t),v(t,i),i.checked=n[6],v(t,r),v(t,s),l||(o=re(i,"change",n[23]),l=!0)},p(f,u){u&64&&(i.checked=f[6])},d(f){f&&Y(e),l=!1,o()}}}function JS(n){let e,t,i,r,s,l,o;return{c(){e=k("div"),t=k("p"),i=k("input"),r=N(),s=k("label"),s.textContent="Solving statistics",y(i,"id","enable-solving-satistics"),y(i,"type","checkbox"),y(i,"class","svelte-1uq9463"),y(s,"for","enable-solving-satistics"),y(s,"class","svelte-1uq9463"),y(t,"class","control checkbox-control svelte-1uq9463"),y(e,"class","field")},m(f,u){V(f,e,u),v(e,t),v(t,i),i.checked=n[8],v(t,r),v(t,s),l||(o=re(i,"change",n[25]),l=!0)},p(f,u){u&256&&(i.checked=f[8])},d(f){f&&Y(e),l=!1,o()}}}function I8(n){let e,t,i=n[0]&&FS(n);return{c(){i&&i.c(),e=fi()},m(r,s){i&&i.m(r,s),V(r,e,s),t=!0},p(r,[s]){r[0]?i?(i.p(r,s),s&1&&D(i,1)):(i=FS(r),i.c(),D(i,1),i.m(e.parentNode,e)):i&&(tt(),F(i,1,1,()=>{i=null}),it())},i(r){t||(D(i),t=!0)},o(r){F(i),t=!1},d(r){r&&Y(e),i&&i.d(r)}}}function Dn(n,e){return n.indexOf(e)!==-1}function N8(n,e,t){const i=Fn();let{active:r}=e,{stdFlags:s=[]}=e,l=!1,o=1,f=!1,u=!1,h=!1,O=!1,p=!1,g=!1,b=!1;function $(pe){const fe=pe*1e3;fe!==Math.floor(fe)&&t(2,o=Math.floor(fe)/1e3)}function Q(){t(3,l=!1),t(2,o=1),t(4,f=!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 _(pe){t(3,l=pe.enableTimeLimit),t(2,o=pe.timeLimit),t(4,f=pe.allSolutions),t(5,u=pe.verboseCompilation),t(6,h=pe.verboseSolving),t(7,O=pe.compilerStatistics),t(8,p=pe.solvingStatistics),t(9,g=pe.outputTime),t(10,b=pe.freeSearch)}function x(){return{enableTimeLimit:l,timeLimit:o,allSolutions:f,verboseCompilation:u,verboseSolving:h,compilerStatistics:O,solvingStatistics:p,outputTime:g,freeSearch:b}}function Z(pe){const fe={solver:pe};return l&&o>0&&(fe["time-limit"]=o*1e3),f&&Dn(s,"-a")&&(fe["all-satisfaction"]=!0),u&&(fe["verbose-compilation"]=!0),h&&Dn(s,"-v")&&(fe["verbose-solving"]=!0),O&&(fe["compiler-statistics"]=!0),p&&Dn(s,"-s")&&(fe["solver-statistics"]=!0),g&&(fe["output-time"]=!0),b&&Dn(s,"-f")&&(fe["free-search"]=!0),fe}function C(pe){const fe={solver:pe};return u&&(fe["verbose-compilation"]=!0),O&&(fe["compiler-statistics"]=!0),fe}const X=()=>i("close");function R(){l=this.checked,t(3,l)}function I(){o=Mo(this.value),t(2,o)}function q(){f=this.checked,t(4,f)}function B(){b=this.checked,t(10,b)}function z(){u=this.checked,t(5,u)}function oe(){h=this.checked,t(6,h)}function de(){O=this.checked,t(7,O)}function xe(){p=this.checked,t(8,p)}function ye(){g=this.checked,t(9,g)}const Ee=()=>i("close");return n.$$set=pe=>{"active"in pe&&t(0,r=pe.active),"stdFlags"in pe&&t(1,s=pe.stdFlags)},n.$$.update=()=>{n.$$.dirty&4&&$(o)},[r,s,o,l,f,u,h,O,p,g,b,i,Q,_,x,Z,C,X,R,I,q,B,z,oe,de,xe,ye,Ee]}class L8 extends Ui{constructor(e){super(),Ai(this,e,N8,I8,Ri,{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 eb(n,e,t){const i=n.slice();return i[13]=e[t],i}const B8=n=>({item:n&2}),tb=n=>({item:n[13]}),j8=n=>({item:n&4}),ib=n=>({item:n[2]});function nb(n){let e;const t=n[8].selected,i=an(t,n,n[7],ib),r=i||F8(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)&&cn(i,t,s,s[7],e?fn(t,s[7],l,j8):un(s[7]),ib):r&&r.p&&(!e||l&4)&&r.p(s,e?l:-1)},i(s){e||(D(r,s),e=!0)},o(s){F(r,s),e=!1},d(s){r&&r.d(s)}}}function F8(n){let e=n[2].label+"",t;return{c(){t=$e(e)},m(i,r){V(i,t,r)},p(i,r){r&4&&e!==(e=i[2].label+"")&&Be(t,e)},d(i){i&&Y(t)}}}function G8(n){let e=n[13].label+"",t;return{c(){t=$e(e)},m(i,r){V(i,t,r)},p(i,r){r&2&&e!==(e=i[13].label+"")&&Be(t,e)},d(i){i&&Y(t)}}}function rb(n){let e,t,i,r,s;const l=n[8].item,o=an(l,n,n[7],tb),f=o||G8(n);function u(){return n[10](n[13])}return{c(){e=k("a"),f&&f.c(),t=N(),y(e,"href","javascript:void(0);"),y(e,"class","dropdown-item"),le(e,"is-active",n[2]===n[13])},m(h,O){V(h,e,O),f&&f.m(e,null),v(e,t),i=!0,r||(s=re(e,"click",u),r=!0)},p(h,O){n=h,o?o.p&&(!i||O&130)&&cn(o,l,n,n[7],i?fn(l,n[7],O,B8):un(n[7]),tb):f&&f.p&&(!i||O&2)&&f.p(n,i?O:-1),(!i||O&6)&&le(e,"is-active",n[2]===n[13])},i(h){i||(D(f,h),i=!0)},o(h){F(f,h),i=!1},d(h){h&&Y(e),f&&f.d(h),r=!1,s()}}}function H8(n){let e,t,i,r,s,l,o,f,u,h,O,p,g,b,$=n[2]&&nb(n);f=new Wt({props:{icon:u4}});let Q=nt(n[1]),_=[];for(let Z=0;ZF(_[Z],1,1,()=>{_[Z]=null});return{c(){e=N(),t=k("div"),i=k("div"),r=k("button"),s=k("span"),$&&$.c(),l=N(),o=k("span"),Ve(f.$$.fragment),u=N(),h=k("div"),O=k("div");for(let Z=0;Z<_.length;Z+=1)_[Z].c();y(o,"class","icon is-small"),y(r,"class","button"),r.disabled=n[3],y(i,"class","dropdown-trigger"),y(O,"class","dropdown-content"),y(h,"class","dropdown-menu"),y(t,"class","dropdown"),le(t,"is-active",n[0])},m(Z,C){V(Z,e,C),V(Z,t,C),v(t,i),v(i,r),v(r,s),$&&$.m(s,null),v(r,l),v(r,o),Ue(f,o,null),v(t,u),v(t,h),v(h,O);for(let X=0;X<_.length;X+=1)_[X]&&_[X].m(O,null);n[11](t),p=!0,g||(b=[re(document.body,"click",n[6]),re(r,"click",n[9])],g=!0)},p(Z,[C]){if(Z[2]?$?($.p(Z,C),C&4&&D($,1)):($=nb(Z),$.c(),D($,1),$.m(s,null)):$&&(tt(),F($,1,1,()=>{$=null}),it()),(!p||C&8)&&(r.disabled=Z[3]),C&166){Q=nt(Z[1]);let X;for(X=0;Xt(0,f=!f),b=Q=>O(Q);function $(Q){ui[Q?"unshift":"push"](()=>{h=Q,t(4,h)})}return n.$$set=Q=>{"items"in Q&&t(1,l=Q.items),"currentItem"in Q&&t(2,o=Q.currentItem),"active"in Q&&t(0,f=Q.active),"disabled"in Q&&t(3,u=Q.disabled),"$$scope"in Q&&t(7,r=Q.$$scope)},[f,l,o,u,h,O,p,r,i,g,b,$]}class J8 extends Ui{constructor(e){super(),Ai(this,e,K8,H8,Ri,{items:1,currentItem:2,active:0,disabled:3})}}const Vy=qe.define({map:(n,e)=>({from:e.mapPos(n.from),to:e.mapPos(n.to),msg:n.msg,type:n.type})}),qy=qe.define(),sb=$i.define({create(){return Ze.none},update(n,e){n=n.map(e.changes);for(const t of e.effects)t.is(qy)&&(n=Ze.none),t.is(Vy)&&(n=n.update({add:[Ze.mark({class:`cm-mzn-underline-${t.value.type}`,attributes:{title:t.value.msg}}).range(t.value.from,t.value.to)]}));return n},provide:n=>me.decorations.from(n)});function ud(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 e6(n,e,t){const i=e.map(r=>Vy.of({from:ud(r.location.firstLine,r.location.firstColumn,n),to:ud(r.location.lastLine,r.location.lastColumn,n)+1,msg:`${r.type==="error"?"Error":"Warning"}: ${r.what}: ${r.message}`,type:r.type}));t.state.field(sb,!1)||i.push(qe.appendConfig.of([sb])),t.dispatch({effects:[qy.of(null),...i]})}const t6=n=>({}),lb=n=>({}),i6=n=>({}),ob=n=>({}),n6=n=>({}),ab=n=>({}),r6=n=>({}),fb=n=>({});function cb(n,e,t){const i=n.slice();return i[149]=e[t],i[151]=t,i}const s6=n=>({}),ub=n=>({});function hb(n,e,t){const i=n.slice();return i[149]=e[t],i[151]=t,i}const l6=n=>({}),Ob=n=>({}),o6=n=>({}),db=n=>({});function a6(n){let e,t,i,r,s,l,o,f,u;return s=new Wt({props:{icon:O4}}),{c(){e=k("button"),t=k("span"),t.textContent="Run",i=N(),r=k("span"),Ve(s.$$.fragment),y(r,"class","icon"),y(e,"class","button is-primary"),y(e,"title","Run the current file"),e.disabled=l=!n[49]},m(h,O){V(h,e,O),v(e,t),v(e,i),v(e,r),Ue(s,r,null),o=!0,f||(u=re(e,"click",n[60]),f=!0)},p(h,O){(!o||O[1]&262144&&l!==(l=!h[49]))&&(e.disabled=l)},i(h){o||(D(s.$$.fragment,h),o=!0)},o(h){F(s.$$.fragment,h),o=!1},d(h){h&&Y(e),Ye(s),f=!1,u()}}}function f6(n){let e,t,i,r,s,l,o,f;return s=new Wt({props:{icon:c4}}),{c(){e=k("button"),t=k("span"),t.textContent="Stop",i=N(),r=k("span"),Ve(s.$$.fragment),y(r,"class","icon"),y(e,"class","button is-danger"),y(e,"title","Cancel solving")},m(u,h){V(u,e,h),v(e,t),v(e,i),v(e,r),Ue(s,r,null),l=!0,o||(f=re(e,"click",n[62]),o=!0)},p:We,i(u){l||(D(s.$$.fragment,u),l=!0)},o(u){F(s.$$.fragment,u),l=!1},d(u){u&&Y(e),Ye(s),o=!1,f()}}}function pb(n){let e,t,i,r,s,l;return{c(){e=k("div"),t=k("button"),i=k("span"),i.textContent="Compile",y(t,"class","button"),y(t,"title","Compile the current file and show the resultant FlatZinc"),t.disabled=r=n[46]||!n[48],y(e,"class","control is-hidden-mobile")},m(o,f){V(o,e,f),v(e,t),v(t,i),s||(l=re(t,"click",n[61]),s=!0)},p(o,f){f[1]&163840&&r!==(r=o[46]||!o[48])&&(t.disabled=r)},d(o){o&&Y(e),s=!1,l()}}}function gb(n){let e,t,i;return t=new J8({props:{items:n[51],currentItem:n[0]?n[18].edge:n[18].latest,disabled:n[46],$$slots:{item:[c6,({item:r})=>({153:r}),({item:r})=>[0,0,0,0,r?536870912:0]]},$$scope:{ctx:n}}}),t.$on("selectItem",n[69]),{c(){e=k("div"),Ve(t.$$.fragment),y(e,"class","control is-hidden-mobile")},m(r,s){V(r,e,s),Ue(t,e,null),i=!0},p(r,s){const l={};s[1]&1048576&&(l.items=r[51]),s[0]&262145&&(l.currentItem=r[0]?r[18].edge:r[18].latest),s[1]&32768&&(l.disabled=r[46]),s[4]&536871168&&(l.$$scope={dirty:s,ctx:r}),t.$set(l)},i(r){i||(D(t.$$.fragment,r),i=!0)},o(r){F(t.$$.fragment,r),i=!1},d(r){r&&Y(e),Ye(t)}}}function c6(n){let e,t=n[153].label+"",i,r,s=n[153].detail+"",l,o;return{c(){e=k("span"),i=$e(t),r=$e(" ("),l=$e(s),o=$e(")"),y(e,"slot","item")},m(f,u){V(f,e,u),v(e,i),v(e,r),v(e,l),v(e,o)},p(f,u){u[4]&536870912&&t!==(t=f[153].label+"")&&Be(i,t),u[4]&536870912&&s!==(s=f[153].detail+"")&&Be(l,s)},d(f){f&&Y(e)}}}function mb(n){let e,t,i,r,s,l=nt(n[23]),o=[];for(let f=0;fn[88].call(i)),y(t,"class","select is-fullwidth"),y(e,"class","control is-expanded is-hidden-tablet")},m(f,u){V(f,e,u),v(e,t),v(t,i);for(let h=0;hSolver:',r=N(),s=k("div"),l=k("div"),o=k("select");for(let $=0;$n[89].call(o)),y(l,"class","select is-fullwidth"),y(s,"class","control is-expanded"),y(t,"class","field has-addons"),y(e,"class","navbar-item is-hidden-mobile")},m($,Q){V($,e,Q),v(e,t),v(t,i),v(t,r),v(t,s),v(s,l),v(l,o);for(let _=0;_{b=null}),it())},i($){u||(D(b),u=!0)},o($){F(b),u=!1},d($){$&&Y(e),vi(g,$),b&&b.d(),h=!1,O()}}}function $b(n){let e,t=n[149].name+"",i,r,s=n[149].version+"",l,o;return{c(){e=k("option"),i=$e(t),r=N(),l=$e(s),o=N(),e.__value=n[151],Ni(e,e.__value)},m(f,u){V(f,e,u),v(e,i),v(e,r),v(e,l),v(e,o)},p(f,u){u[0]&8388608&&t!==(t=f[149].name+"")&&Be(i,t),u[0]&8388608&&s!==(s=f[149].version+"")&&Be(l,s)},d(f){f&&Y(e)}}}function Qb(n){let e,t,i,r,s,l,o;return r=new Wt({props:{icon:PQ}}),{c(){e=k("div"),t=k("button"),i=k("span"),Ve(r.$$.fragment),y(i,"class","icon"),y(t,"class","button is-primary"),y(e,"class","control")},m(f,u){V(f,e,u),v(e,t),v(t,i),Ue(r,i,null),s=!0,l||(o=re(t,"click",n[52]),l=!0)},p:We,i(f){s||(D(r.$$.fragment,f),s=!0)},o(f){F(r.$$.fragment,f),s=!1},d(f){f&&Y(e),Ye(r),l=!1,o()}}}function wb(n){let e,t,i,r,s,l,o,f;return r=new Wt({props:{icon:wQ}}),{c(){e=k("div"),t=k("button"),i=k("span"),Ve(r.$$.fragment),y(i,"class","icon"),y(t,"class","button is-primary"),y(t,"title","Share"),t.disabled=s=n[17]!==0,y(e,"class","control")},m(u,h){V(u,e,h),v(e,t),v(t,i),Ue(r,i,null),l=!0,o||(f=re(t,"click",n[91]),o=!0)},p(u,h){(!l||h[0]&131072&&s!==(s=u[17]!==0))&&(t.disabled=s)},i(u){l||(D(r.$$.fragment,u),l=!0)},o(u){F(r.$$.fragment,u),l=!1},d(u){u&&Y(e),Ye(r),o=!1,f()}}}function yb(n){let e,t,i,r,s,l,o,f;return r=new Wt({props:{icon:f4}}),{c(){e=k("div"),t=k("button"),i=k("span"),Ve(r.$$.fragment),y(i,"class","icon"),y(t,"class","button"),y(t,"title","Download project"),t.disabled=s=n[36]||n[17]!==0,y(e,"class","control")},m(u,h){V(u,e,h),v(e,t),v(t,i),Ue(r,i,null),l=!0,o||(f=re(t,"click",n[92]),o=!0)},p(u,h){(!l||h[0]&131072|h[1]&32&&s!==(s=u[36]||u[17]!==0))&&(t.disabled=s)},i(u){l||(D(r.$$.fragment,u),l=!0)},o(u){F(r.$$.fragment,u),l=!1},d(u){u&&Y(e),Ye(r),o=!1,f()}}}function vb(n){let e,t,i,r,s,l,o,f;return r=new Wt({props:{icon:yQ}}),{c(){e=k("div"),t=k("button"),i=k("span"),Ve(r.$$.fragment),y(i,"class","icon"),y(t,"class","button is-primary"),y(t,"title","Open in playground"),t.disabled=s=n[17]!==0,y(e,"class","control")},m(u,h){V(u,e,h),v(e,t),v(t,i),Ue(r,i,null),l=!0,o||(f=re(t,"click",n[66]),o=!0)},p(u,h){(!l||h[0]&131072&&s!==(s=u[17]!==0))&&(t.disabled=s)},i(u){l||(D(r.$$.fragment,u),l=!0)},o(u){F(r.$$.fragment,u),l=!1},d(u){u&&Y(e),Ye(r),o=!1,f()}}}function Pb(n){let e,t,i,r,s,l,o,f;return i=new Wt({props:{icon:d4}}),{c(){e=k("a"),t=k("span"),Ve(i.$$.fragment),r=N(),s=k("span"),s.textContent="Compile current file",y(t,"class","icon svelte-1llogi3"),y(e,"class","navbar-item is-hidden-tablet mobile-menu-item svelte-1llogi3"),y(e,"href","javascript:void(0);")},m(u,h){V(u,e,h),v(e,t),Ue(i,t,null),v(e,r),v(e,s),l=!0,o||(f=re(e,"click",n[93]),o=!0)},p:We,i(u){l||(D(i.$$.fragment,u),l=!0)},o(u){F(i.$$.fragment,u),l=!1},d(u){u&&Y(e),Ye(i),o=!1,f()}}}function kb(n){let e,t,i,r,s,l,o,f;return i=new Wt({props:{icon:PQ}}),{c(){e=k("a"),t=k("span"),Ve(i.$$.fragment),r=N(),s=k("span"),s.textContent="Solver configuration",y(t,"class","icon svelte-1llogi3"),y(e,"class","navbar-item is-hidden-tablet mobile-menu-item svelte-1llogi3"),y(e,"href","javascript:void(0);")},m(u,h){V(u,e,h),v(e,t),Ue(i,t,null),v(e,r),v(e,s),l=!0,o||(f=re(e,"click",n[94]),o=!0)},p:We,i(u){l||(D(i.$$.fragment,u),l=!0)},o(u){F(i.$$.fragment,u),l=!1},d(u){u&&Y(e),Ye(i),o=!1,f()}}}function _b(n){let e,t,i,r,s,l,o=n[0]?"latest":"edge",f,u,h,O,p;return i=new Wt({props:{icon:r4}}),{c(){e=k("a"),t=k("span"),Ve(i.$$.fragment),r=N(),s=k("span"),l=$e("Switch to the "),f=$e(o),u=$e(" version of MiniZinc"),y(t,"class","icon svelte-1llogi3"),y(e,"class","navbar-item is-hidden-tablet mobile-menu-item svelte-1llogi3"),y(e,"href","javascript:void(0);")},m(g,b){V(g,e,b),v(e,t),Ue(i,t,null),v(e,r),v(e,s),v(s,l),v(s,f),v(s,u),h=!0,O||(p=re(e,"click",n[95]),O=!0)},p(g,b){(!h||b[0]&1)&&o!==(o=g[0]?"latest":"edge")&&Be(f,o)},i(g){h||(D(i.$$.fragment,g),h=!0)},o(g){F(i.$$.fragment,g),h=!1},d(g){g&&Y(e),Ye(i),O=!1,p()}}}function Wb(n){let e,t,i,r,s,l,o,f;return i=new Wt({props:{icon:wQ}}),{c(){e=k("a"),t=k("span"),Ve(i.$$.fragment),r=N(),s=k("span"),s.textContent="Share this project",y(t,"class","icon svelte-1llogi3"),y(e,"class","navbar-item is-hidden-tablet mobile-menu-item svelte-1llogi3"),y(e,"href","javascript:void(0);")},m(u,h){V(u,e,h),v(e,t),Ue(i,t,null),v(e,r),v(e,s),l=!0,o||(f=re(e,"click",n[96]),o=!0)},p:We,i(u){l||(D(i.$$.fragment,u),l=!0)},o(u){F(i.$$.fragment,u),l=!1},d(u){u&&Y(e),Ye(i),o=!1,f()}}}function xb(n){let e,t,i,r,s,l,o,f;return i=new Wt({props:{icon:yQ}}),{c(){e=k("a"),t=k("span"),Ve(i.$$.fragment),r=N(),s=k("span"),s.textContent="Open in MiniZinc Playground",y(t,"class","icon svelte-1llogi3"),y(e,"class","navbar-item is-hidden-tablet mobile-menu-item svelte-1llogi3"),y(e,"href","javascript:void(0);")},m(u,h){V(u,e,h),v(e,t),Ue(i,t,null),v(e,r),v(e,s),l=!0,o||(f=re(e,"click",n[97]),o=!0)},p:We,i(u){l||(D(i.$$.fragment,u),l=!0)},o(u){F(i.$$.fragment,u),l=!1},d(u){u&&Y(e),Ye(i),o=!1,f()}}}function Cb(n){let e,t,i={state:n[50]};return e=new E5({props:i}),n[110](e),{c(){Ve(e.$$.fragment)},m(r,s){Ue(e,r,s),t=!0},p(r,s){const l={};s[1]&524288&&(l.state=r[50]),e.$set(l)},i(r){t||(D(e.$$.fragment,r),t=!0)},o(r){F(e.$$.fragment,r),t=!1},d(r){n[110](null),Ye(e,r)}}}function u6(n){let e,t,i,r,s,l;i=new y4({props:{files:n[19],currentIndex:n[20],readonly:!n[6]}}),i.$on("selectTab",n[105]),i.$on("reorder",n[106]),i.$on("newFile",n[107]),i.$on("rename",n[56]),i.$on("close",n[108]),i.$on("manageFiles",n[109]);let o=n[50]&&Cb(n);return{c(){e=k("div"),t=k("div"),Ve(i.$$.fragment),r=N(),s=k("div"),o&&o.c(),y(t,"class","top svelte-1llogi3"),y(s,"class","grow svelte-1llogi3"),y(e,"class","panel stack svelte-1llogi3"),y(e,"slot","panelA")},m(f,u){V(f,e,u),v(e,t),Ue(i,t,null),v(e,r),v(e,s),o&&o.m(s,null),l=!0},p(f,u){const h={};u[0]&524288&&(h.files=f[19]),u[0]&1048576&&(h.currentIndex=f[20]),u[0]&64&&(h.readonly=!f[6]),i.$set(h),f[50]?o?(o.p(f,u),u[1]&524288&&D(o,1)):(o=Cb(f),o.c(),D(o,1),o.m(s,null)):o&&(tt(),F(o,1,1,()=>{o=null}),it())},i(f){l||(D(i.$$.fragment,f),D(o),l=!0)},o(f){F(i.$$.fragment,f),F(o),l=!1},d(f){f&&Y(e),Ye(i),o&&o.d()}}}function Xb(n){let e,t,i,r,s,l,o,f,u,h,O,p,g=n[12]&&Tb(n);return{c(){e=k("div"),t=k("div"),i=k("ul"),r=k("li"),s=k("a"),s.textContent="Output",l=N(),o=k("li"),f=k("a"),f.textContent="Visualisation",u=N(),g&&g.c(),y(s,"href","javascript:void(0);"),le(r,"is-active",!n[42]),y(f,"href","javascript:void(0);"),le(o,"is-active",n[42]),y(t,"class","tabs is-boxed"),y(e,"class","top svelte-1llogi3")},m(b,$){V(b,e,$),v(e,t),v(t,i),v(i,r),v(r,s),v(i,l),v(i,o),v(o,f),v(i,u),g&&g.m(i,null),h=!0,O||(p=[re(s,"click",n[98]),re(f,"click",n[99])],O=!0)},p(b,$){(!h||$[1]&2048)&&le(r,"is-active",!b[42]),(!h||$[1]&2048)&&le(o,"is-active",b[42]),b[12]?g?(g.p(b,$),$[0]&4096&&D(g,1)):(g=Tb(b),g.c(),D(g,1),g.m(i,null)):g&&(tt(),F(g,1,1,()=>{g=null}),it())},i(b){h||(D(g),h=!0)},o(b){F(g),h=!1},d(b){b&&Y(e),g&&g.d(),O=!1,Nt(p)}}}function Tb(n){let e,t,i,r,s,l,o;return r=new Wt({props:{icon:WQ}}),{c(){e=k("li"),t=k("button"),i=k("span"),Ve(r.$$.fragment),y(i,"class","icon"),y(t,"class","button is-small"),y(t,"title","Switch orientation"),y(e,"class","tab-end svelte-1llogi3")},m(f,u){V(f,e,u),v(e,t),v(t,i),Ue(r,i,null),s=!0,l||(o=re(t,"click",n[68]),l=!0)},p:We,i(f){s||(D(r.$$.fragment,f),s=!0)},o(f){F(r.$$.fragment,f),s=!1},d(f){f&&Y(e),Ye(r),l=!1,o()}}}function Zb(n){let e,t,i,r,s,l;return i=new Wt({props:{icon:WQ}}),{c(){e=k("button"),t=k("span"),Ve(i.$$.fragment),y(t,"class","icon"),y(e,"class","button is-small"),y(e,"title","Switch orientation")},m(o,f){V(o,e,f),v(e,t),Ue(i,t,null),r=!0,s||(l=re(e,"click",n[68]),s=!0)},p:We,i(o){r||(D(i.$$.fragment,o),r=!0)},o(o){F(i.$$.fragment,o),r=!1},d(o){o&&Y(e),Ye(i),s=!1,l()}}}function h6(n){let e,t,i=n[12]&&!n[41]&&Zb(n);return{c(){e=k("p"),i&&i.c(),y(e,"class","control"),y(e,"slot","before-right-controls")},m(r,s){V(r,e,s),i&&i.m(e,null),t=!0},p(r,s){r[12]&&!r[41]?i?(i.p(r,s),s[0]&4096|s[1]&1024&&D(i,1)):(i=Zb(r),i.c(),D(i,1),i.m(e,null)):i&&(tt(),F(i,1,1,()=>{i=null}),it())},i(r){t||(D(i),t=!0)},o(r){F(i),t=!1},d(r){r&&Y(e),i&&i.d()}}}function O6(n){let e,t,i,r,s,l,o,f,u,h,O=n[41]&&Xb(n),p={};s=new $8({props:p}),n[100](s),s.$on("solve",n[101]);function g($){n[102]($)}let b={output:n[32],showClearOutput:n[13],showAutoClearOutput:n[14],showSectionToggles:n[15],showRightControls:n[16],isTab:n[41],$$slots:{"before-right-controls":[h6]},$$scope:{ctx:n}};return n[1]!==void 0&&(b.autoClearOutput=n[1]),f=new p8({props:b}),ui.push(()=>Ao(f,"autoClearOutput",g)),f.$on("clear",n[103]),f.$on("goto",n[104]),{c(){e=k("div"),O&&O.c(),t=N(),i=k("div"),r=k("div"),Ve(s.$$.fragment),l=N(),o=k("div"),Ve(f.$$.fragment),y(r,"class","tab-window svelte-1llogi3"),le(r,"visible",n[42]),y(o,"class","tab-window svelte-1llogi3"),le(o,"visible",!n[41]||!n[42]),y(i,"class","grow svelte-1llogi3"),y(e,"class","panel stack svelte-1llogi3"),y(e,"slot","panelB")},m($,Q){V($,e,Q),O&&O.m(e,null),v(e,t),v(e,i),v(i,r),Ue(s,r,null),v(i,l),v(i,o),Ue(f,o,null),h=!0},p($,Q){$[41]?O?(O.p($,Q),Q[1]&1024&&D(O,1)):(O=Xb($),O.c(),D(O,1),O.m(e,t)):O&&(tt(),F(O,1,1,()=>{O=null}),it());const _={};s.$set(_),(!h||Q[1]&2048)&&le(r,"visible",$[42]);const x={};Q[1]&2&&(x.output=$[32]),Q[0]&8192&&(x.showClearOutput=$[13]),Q[0]&16384&&(x.showAutoClearOutput=$[14]),Q[0]&32768&&(x.showSectionToggles=$[15]),Q[0]&65536&&(x.showRightControls=$[16]),Q[1]&1024&&(x.isTab=$[41]),Q[0]&4096|Q[1]&1024|Q[4]&256&&(x.$$scope={dirty:Q,ctx:$}),!u&&Q[0]&2&&(u=!0,x.autoClearOutput=$[1],Ro(()=>u=!1)),f.$set(x),(!h||Q[1]&3072)&&le(o,"visible",!$[41]||!$[42])},i($){h||(D(O),D(s.$$.fragment,$),D(f.$$.fragment,$),h=!0)},o($){F(O),F(s.$$.fragment,$),F(f.$$.fragment,$),h=!1},d($){$&&Y(e),O&&O.d(),n[100](null),Ye(s),Ye(f)}}}function d6(n){let e,t,i,r=n[19][n[28]].name+"",s,l,o,f;return{c(){e=k("p"),t=$e("Are you sure you wish to delete "),i=k("code"),s=$e(r),l=$e("?"),o=N(),f=k("p"),f.textContent="This cannot be undone."},m(u,h){V(u,e,h),v(e,t),v(e,i),v(i,s),v(e,l),V(u,o,h),V(u,f,h)},p(u,h){h[0]&268959744&&r!==(r=u[19][u[28]].name+"")&&Be(s,r)},d(u){u&&(Y(e),Y(o),Y(f))}}}function p6(n){let e,t,i,r,s,l;return{c(){e=k("div"),t=k("button"),t.textContent="Delete",i=N(),r=k("button"),r.textContent="Cancel",y(t,"class","button is-danger"),y(r,"class","button"),y(e,"slot","footer")},m(o,f){V(o,e,f),v(e,t),v(e,i),v(e,r),s||(l=[re(t,"click",n[121]),re(r,"click",n[122])],s=!0)},p:We,d(o){o&&Y(e),s=!1,Nt(l)}}}function g6(n){let e,t,i,r,s,l,o,f,u,h,O;return f=new Wt({props:{icon:s4}}),{c(){e=k("div"),t=k("p"),i=k("input"),r=N(),s=k("p"),l=k("button"),o=k("span"),Ve(f.$$.fragment),y(i,"class","input"),y(i,"type","text"),i.value=n[38],i.readOnly=!0,y(t,"class","control is-expanded"),y(o,"class","icon"),y(l,"class","button"),le(l,"is-primary",!n[39]),le(l,"is-success",n[39]),y(s,"class","control"),y(e,"class","field has-addons")},m(p,g){V(p,e,g),v(e,t),v(t,i),n[129](i),v(e,r),v(e,s),v(s,l),v(l,o),Ue(f,o,null),u=!0,h||(O=[re(i,"click",n[130]),re(l,"click",n[65])],h=!0)},p(p,g){(!u||g[1]&128&&i.value!==p[38])&&(i.value=p[38]),(!u||g[1]&256)&&le(l,"is-primary",!p[39]),(!u||g[1]&256)&&le(l,"is-success",p[39])},i(p){u||(D(f.$$.fragment,p),u=!0)},o(p){F(f.$$.fragment,p),u=!1},d(p){p&&Y(e),n[129](null),Ye(f),h=!1,Nt(O)}}}function m6(n){let e,t,i,r;return{c(){e=k("div"),t=k("button"),t.textContent="Done",y(t,"class","button is-primary"),y(e,"slot","footer")},m(s,l){V(s,e,l),v(e,t),i||(r=re(t,"click",n[128]),i=!0)},p:We,d(s){s&&Y(e),i=!1,r()}}}function S6(n){let e,t,i,r,s,l,o,f,u,h,O,p,g,b,$,Q,_,x,Z,C,X,R,I,q,B,z,oe,de,xe,ye,Ee,pe,fe,Xe,Me,Ne,pt,Lt,ti,xt,Ct,Zt,be,te,H,ie,ae,Ke,Je,ot,Ot,et,se,Qi,Rt,ct,ze,St,dt,Ge,ut,wt,ii,rt;const xn=n[87]["navbar-before-run-buttons"],ci=an(xn,n,n[132],db),di=[f6,a6],en=[];function Cn(L,ce){return L[46]?0:1}h=Cn(n),O=en[h]=di[h](n);let ni=n[7]&&pb(n),gt=n[4]&&gb(n);const cr=n[87]["navbar-run-buttons"],pi=an(cr,n,n[132],Ob);let wi=n[5]&&n[23].length>0&&mb(n);const Gr=n[87]["navbar-after-run-buttons"],Yi=an(Gr,n,n[132],ub);let Vt=n[5]&&n[23].length>0&&bb(n);const Cr=n[87]["navbar-after-solver-selector"],ri=an(Cr,n,n[132],fb),Hr=n[87]["navbar-before-share-buttons"],ji=an(Hr,n,n[132],ab);let qt=n[9]&&wb(n),Et=n[10]&&yb(n),Bt=n[11]&&vb(n);const vt=n[87]["navbar-share-buttons"],Vi=an(vt,n,n[132],ob);let Mt=n[7]&&!n[46]&&n[48]&&Pb(n),Dt=n[8]&&n[5]&&n[23].length>0&&kb(n),Xt=n[4]&&!n[46]&&_b(n),jt=n[9]&&n[17]===0&&Wb(n),Pt=n[11]&&n[17]===0&&xb(n);const dn=n[87]["navbar-after-share-buttons"],ki=an(dn,n,n[132],lb);function Kr(L){n[111](L)}let Js={direction:n[2],showPanels:n[47],$$slots:{panelB:[O6],panelA:[u6]},$$scope:{ctx:n}};n[3]!==void 0&&(Js.split=n[3]),ie=new G5({props:Js}),ui.push(()=>Ao(ie,"split",Kr));let el={active:n[34],stdFlags:n[44]};return Je=new L8({props:el}),n[112](Je),Je.$on("close",n[113]),Ot=new X8({props:{active:n[29],files:n[19]}}),Ot.$on("close",n[114]),Ot.$on("delete",n[115]),Ot.$on("modifyFile",n[116]),Ot.$on("newFile",n[117]),se=new v8({props:{active:n[27]}}),se.$on("cancel",n[118]),se.$on("new",n[119]),se.$on("open",n[120]),Rt=new Yl({props:{active:n[28]!==null,title:"Delete file",$$slots:{footer:[p6],default:[d6]},$$scope:{ctx:n}}}),Rt.$on("cancel",n[123]),ze=new U8({props:{active:n[30],modelFiles:n[43]}}),ze.$on("accept",n[124]),ze.$on("cancel",n[125]),dt=new z8({props:{active:n[31],dataFiles:n[45],parameters:n[33]}}),dt.$on("accept",n[126]),dt.$on("cancel",n[127]),ut=new Yl({props:{active:n[38],title:"Share this project",$$slots:{footer:[m6],default:[g6]},$$scope:{ctx:n}}}),ut.$on("cancel",n[131]),{c(){e=k("div"),t=k("div"),i=k("div"),r=k("nav"),s=k("div"),ci&&ci.c(),l=N(),o=k("div"),f=k("div"),u=k("div"),O.c(),p=N(),ni&&ni.c(),g=N(),gt&>.c(),b=N(),pi&&pi.c(),$=N(),wi&&wi.c(),Q=N(),Yi&&Yi.c(),_=N(),Vt&&Vt.c(),x=N(),ri&&ri.c(),Z=N(),C=k("a"),X=k("span"),R=N(),I=k("span"),q=N(),B=k("span"),z=N(),oe=k("div"),de=k("div"),xe=N(),ye=k("div"),ji&&ji.c(),Ee=N(),pe=k("div"),fe=k("div"),qt&&qt.c(),Xe=N(),Et&&Et.c(),Me=N(),Bt&&Bt.c(),Ne=N(),Vi&&Vi.c(),pt=N(),Mt&&Mt.c(),Lt=N(),Dt&&Dt.c(),ti=N(),Xt&&Xt.c(),xt=N(),jt&&jt.c(),Ct=N(),Pt&&Pt.c(),Zt=N(),ki&&ki.c(),be=N(),te=k("div"),H=k("div"),Ve(ie.$$.fragment),Ke=N(),Ve(Je.$$.fragment),ot=N(),Ve(Ot.$$.fragment),et=N(),Ve(se.$$.fragment),Qi=N(),Ve(Rt.$$.fragment),ct=N(),Ve(ze.$$.fragment),St=N(),Ve(dt.$$.fragment),Ge=N(),Ve(ut.$$.fragment),y(u,"class","control"),y(f,"class","field has-addons navbar-run-buttons svelte-1llogi3"),y(o,"class","navbar-item is-expanded"),y(X,"aria-hidden","true"),y(I,"aria-hidden","true"),y(B,"aria-hidden","true"),y(C,"role","button"),y(C,"class","navbar-burger"),y(C,"aria-label","menu"),y(C,"aria-expanded",n[25]),le(C,"is-active",n[25]),y(s,"class","navbar-brand"),y(de,"class","navbar-start is-hidden-tablet"),y(fe,"class","field has-addons"),y(pe,"class","navbar-item is-hidden-mobile"),y(ye,"class","navbar-end"),y(oe,"class","navbar-menu"),le(oe,"is-active",n[25]),y(r,"class","navbar"),y(i,"class","top svelte-1llogi3"),y(H,"class","left svelte-1llogi3"),y(te,"class","grow main-panel svelte-1llogi3"),y(t,"class","stack svelte-1llogi3"),y(e,"class","mzn-playground svelte-1llogi3"),le(e,"is-dark",n[22])},m(L,ce){V(L,e,ce),v(e,t),v(t,i),v(i,r),v(r,s),ci&&ci.m(s,null),v(s,l),v(s,o),v(o,f),v(f,u),en[h].m(u,null),v(f,p),ni&&ni.m(f,null),v(f,g),gt&>.m(f,null),v(f,b),pi&&pi.m(f,null),v(f,$),wi&&wi.m(f,null),v(s,Q),Yi&&Yi.m(s,null),v(s,_),Vt&&Vt.m(s,null),v(s,x),ri&&ri.m(s,null),v(s,Z),v(s,C),v(C,X),v(C,R),v(C,I),v(C,q),v(C,B),v(r,z),v(r,oe),v(oe,de),v(oe,xe),v(oe,ye),ji&&ji.m(ye,null),v(ye,Ee),v(ye,pe),v(pe,fe),qt&&qt.m(fe,null),v(fe,Xe),Et&&Et.m(fe,null),v(fe,Me),Bt&&Bt.m(fe,null),v(fe,Ne),Vi&&Vi.m(fe,null),v(ye,pt),Mt&&Mt.m(ye,null),v(ye,Lt),Dt&&Dt.m(ye,null),v(ye,ti),Xt&&Xt.m(ye,null),v(ye,xt),jt&&jt.m(ye,null),v(ye,Ct),Pt&&Pt.m(ye,null),v(ye,Zt),ki&&ki.m(ye,null),v(t,be),v(t,te),v(te,H),Ue(ie,H,null),v(te,Ke),Ue(Je,te,null),v(e,ot),Ue(Ot,e,null),v(e,et),Ue(se,e,null),v(e,Qi),Ue(Rt,e,null),v(e,ct),Ue(ze,e,null),v(e,St),Ue(dt,e,null),v(e,Ge),Ue(ut,e,null),wt=!0,ii||(rt=re(C,"click",n[90]),ii=!0)},p(L,ce){ci&&ci.p&&(!wt||ce[4]&256)&&cn(ci,xn,L,L[132],wt?fn(xn,L[132],ce,o6):un(L[132]),db);let Jr=h;h=Cn(L),h===Jr?en[h].p(L,ce):(tt(),F(en[Jr],1,1,()=>{en[Jr]=null}),it(),O=en[h],O?O.p(L,ce):(O=en[h]=di[h](L),O.c()),D(O,1),O.m(u,null)),L[7]?ni?ni.p(L,ce):(ni=pb(L),ni.c(),ni.m(f,g)):ni&&(ni.d(1),ni=null),L[4]?gt?(gt.p(L,ce),ce[0]&16&&D(gt,1)):(gt=gb(L),gt.c(),D(gt,1),gt.m(f,b)):gt&&(tt(),F(gt,1,1,()=>{gt=null}),it()),pi&&pi.p&&(!wt||ce[4]&256)&&cn(pi,cr,L,L[132],wt?fn(cr,L[132],ce,l6):un(L[132]),Ob),L[5]&&L[23].length>0?wi?wi.p(L,ce):(wi=mb(L),wi.c(),wi.m(f,null)):wi&&(wi.d(1),wi=null),Yi&&Yi.p&&(!wt||ce[4]&256)&&cn(Yi,Gr,L,L[132],wt?fn(Gr,L[132],ce,s6):un(L[132]),ub),L[5]&&L[23].length>0?Vt?(Vt.p(L,ce),ce[0]&8388640&&D(Vt,1)):(Vt=bb(L),Vt.c(),D(Vt,1),Vt.m(s,x)):Vt&&(tt(),F(Vt,1,1,()=>{Vt=null}),it()),ri&&ri.p&&(!wt||ce[4]&256)&&cn(ri,Cr,L,L[132],wt?fn(Cr,L[132],ce,r6):un(L[132]),fb),(!wt||ce[0]&33554432)&&y(C,"aria-expanded",L[25]),(!wt||ce[0]&33554432)&&le(C,"is-active",L[25]),ji&&ji.p&&(!wt||ce[4]&256)&&cn(ji,Hr,L,L[132],wt?fn(Hr,L[132],ce,n6):un(L[132]),ab),L[9]?qt?(qt.p(L,ce),ce[0]&512&&D(qt,1)):(qt=wb(L),qt.c(),D(qt,1),qt.m(fe,Xe)):qt&&(tt(),F(qt,1,1,()=>{qt=null}),it()),L[10]?Et?(Et.p(L,ce),ce[0]&1024&&D(Et,1)):(Et=yb(L),Et.c(),D(Et,1),Et.m(fe,Me)):Et&&(tt(),F(Et,1,1,()=>{Et=null}),it()),L[11]?Bt?(Bt.p(L,ce),ce[0]&2048&&D(Bt,1)):(Bt=vb(L),Bt.c(),D(Bt,1),Bt.m(fe,Ne)):Bt&&(tt(),F(Bt,1,1,()=>{Bt=null}),it()),Vi&&Vi.p&&(!wt||ce[4]&256)&&cn(Vi,vt,L,L[132],wt?fn(vt,L[132],ce,i6):un(L[132]),ob),L[7]&&!L[46]&&L[48]?Mt?(Mt.p(L,ce),ce[0]&128|ce[1]&163840&&D(Mt,1)):(Mt=Pb(L),Mt.c(),D(Mt,1),Mt.m(ye,Lt)):Mt&&(tt(),F(Mt,1,1,()=>{Mt=null}),it()),L[8]&&L[5]&&L[23].length>0?Dt?(Dt.p(L,ce),ce[0]&8388896&&D(Dt,1)):(Dt=kb(L),Dt.c(),D(Dt,1),Dt.m(ye,ti)):Dt&&(tt(),F(Dt,1,1,()=>{Dt=null}),it()),L[4]&&!L[46]?Xt?(Xt.p(L,ce),ce[0]&16|ce[1]&32768&&D(Xt,1)):(Xt=_b(L),Xt.c(),D(Xt,1),Xt.m(ye,xt)):Xt&&(tt(),F(Xt,1,1,()=>{Xt=null}),it()),L[9]&&L[17]===0?jt?(jt.p(L,ce),ce[0]&131584&&D(jt,1)):(jt=Wb(L),jt.c(),D(jt,1),jt.m(ye,Ct)):jt&&(tt(),F(jt,1,1,()=>{jt=null}),it()),L[11]&&L[17]===0?Pt?(Pt.p(L,ce),ce[0]&133120&&D(Pt,1)):(Pt=xb(L),Pt.c(),D(Pt,1),Pt.m(ye,Zt)):Pt&&(tt(),F(Pt,1,1,()=>{Pt=null}),it()),ki&&ki.p&&(!wt||ce[4]&256)&&cn(ki,dn,L,L[132],wt?fn(dn,L[132],ce,t6):un(L[132]),lb),(!wt||ce[0]&33554432)&&le(oe,"is-active",L[25]);const Xr={};ce[0]&4&&(Xr.direction=L[2]),ce[1]&65536&&(Xr.showPanels=L[47]),ce[0]&958001218|ce[1]&527874|ce[4]&256&&(Xr.$$scope={dirty:ce,ctx:L}),!ae&&ce[0]&8&&(ae=!0,Xr.split=L[3],Ro(()=>ae=!1)),ie.$set(Xr);const Xs={};ce[1]&8&&(Xs.active=L[34]),ce[1]&8192&&(Xs.stdFlags=L[44]),Je.$set(Xs);const Tr={};ce[0]&536870912&&(Tr.active=L[29]),ce[0]&524288&&(Tr.files=L[19]),Ot.$set(Tr);const tl={};ce[0]&134217728&&(tl.active=L[27]),se.$set(tl);const qi={};ce[0]&268435456&&(qi.active=L[28]!==null),ce[0]&268959744|ce[4]&256&&(qi.$$scope={dirty:ce,ctx:L}),Rt.$set(qi);const tn={};ce[0]&1073741824&&(tn.active=L[30]),ce[1]&4096&&(tn.modelFiles=L[43]),ze.$set(tn);const Xn={};ce[1]&1&&(Xn.active=L[31]),ce[1]&16384&&(Xn.dataFiles=L[45]),ce[1]&4&&(Xn.parameters=L[33]),dt.$set(Xn);const Hn={};ce[1]&128&&(Hn.active=L[38]),ce[1]&448|ce[4]&256&&(Hn.$$scope={dirty:ce,ctx:L}),ut.$set(Hn),(!wt||ce[0]&4194304)&&le(e,"is-dark",L[22])},i(L){wt||(D(ci,L),D(O),D(gt),D(pi,L),D(Yi,L),D(Vt),D(ri,L),D(ji,L),D(qt),D(Et),D(Bt),D(Vi,L),D(Mt),D(Dt),D(Xt),D(jt),D(Pt),D(ki,L),D(ie.$$.fragment,L),D(Je.$$.fragment,L),D(Ot.$$.fragment,L),D(se.$$.fragment,L),D(Rt.$$.fragment,L),D(ze.$$.fragment,L),D(dt.$$.fragment,L),D(ut.$$.fragment,L),wt=!0)},o(L){F(ci,L),F(O),F(gt),F(pi,L),F(Yi,L),F(Vt),F(ri,L),F(ji,L),F(qt),F(Et),F(Bt),F(Vi,L),F(Mt),F(Dt),F(Xt),F(jt),F(Pt),F(ki,L),F(ie.$$.fragment,L),F(Je.$$.fragment,L),F(Ot.$$.fragment,L),F(se.$$.fragment,L),F(Rt.$$.fragment,L),F(ze.$$.fragment,L),F(dt.$$.fragment,L),F(ut.$$.fragment,L),wt=!1},d(L){L&&Y(e),ci&&ci.d(L),en[h].d(),ni&&ni.d(),gt&>.d(),pi&&pi.d(L),wi&&wi.d(),Yi&&Yi.d(L),Vt&&Vt.d(),ri&&ri.d(L),ji&&ji.d(L),qt&&qt.d(),Et&&Et.d(),Bt&&Bt.d(),Vi&&Vi.d(L),Mt&&Mt.d(),Dt&&Dt.d(),Xt&&Xt.d(),jt&&jt.d(),Pt&&Pt.d(),ki&&ki.d(L),Ye(ie),n[112](null),Ye(Je),Ye(Ot),Ye(se),Ye(Rt),Ye(ze),Ye(dt),Ye(ut),ii=!1,rt()}}}function Rb(n,e){n.effects=n.effects?[...n.effects,e]:[e]}function b6(n,e,t){let i,r,s,l,o,f,u,h,O,p,g,b,$,Q,_,x,Z,{$$slots:C={},$$scope:X}=e,{showVersionSwitcher:R=!0}=e,{showSolverDropdown:I=!0}=e,{edgeMiniZinc:q=!1}=e,{autoClearOutput:B=!1}=e,{canEditTabs:z=!0}=e,{compilationEnabled:oe=!0}=e,{project:de}=e,{enabledSolvers:xe=null}=e,{canEditSolverSettings:ye=!0}=e,{showShareButton:Ee=!0}=e,{showDownloadButton:pe=!0}=e,{externalPlaygroundURL:fe=null}=e,{splitterDirection:Xe="vertical"}=e,{splitterSize:Me=75}=e,{canSwitchOrientation:Ne=!0}=e,{showClearOutput:pt=!0}=e,{showAutoClearOutput:Lt=!0}=e,{showOutputSectionToggles:ti=!0}=e,{showOutputRightControls:xt=!0}=e,{theme:Ct="auto"}=e,{hideOutputOnStartup:Zt=!0}=e,be=0,te=[],H,ie,ae={latest:{label:"Latest",detail:"stable"},edge:{label:"Edge",detail:"development"}};function Ke(U){const ue=q?yx:wx;if(ie!==ue){t(17,be++,be);const Se=H;H=new Promise(async(Ce,ge)=>{Se&&await Se,ie&&ie.shutdown(),ie=ue,ie.shutdown(),await ie.init();const[Qe]=/version \d+\.\d+\.\d+(?:, build .*)?$/m.exec(await ie.version()),st=q?"edge":"latest";t(18,ae={...ae,[st]:{...ae[st],detail:Qe}}),t(78,te=await ie.solvers()),await ds(),t(17,be--,be),Ce()})}return H}const Je=new Promise((U,ue)=>{zc(()=>{Ke(),U();const Se=window.matchMedia("(prefers-color-scheme: dark)"),Ce=()=>{t(81,Tr=window.matchMedia("(prefers-color-scheme: dark)").matches)};return Ce(),Se.addEventListener("change",Ce),()=>Se.removeEventListener("change",Ce)})});async function ot(U){t(0,q=U.minizincVersion==="edge"),await Je,t(19,se=[]),pi(U.files),t(20,Rt=U.tab||0),U.solverId&&(await Ke(),t(21,di=Q.findIndex(ue=>ue.id===U.solverId))),U.solverConfig&&ct.load(U.solverConfig)}function Ot(){return se.length>0}let et,se=[],Qi=!1,Rt=0,ct,ze=!1,St=null,dt=!1,Ge=!1,ut=null,wt=!1,ii=[],rt=null,xn=[],ci={},di=-1;async function en(U,ue){if(await Ke(),di<0||di>=Q.length){const Se=Q.findIndex(Ce=>Ce.extraInfo&&Ce.extraInfo.isDefault);Se!==-1&&t(21,di=Se)}}let Cn=!1;function ni(){t(34,Cn=!Cn)}async function gt(U){for(et&&Rt=0&&se[U].hidden;)U--;U===-1&&(U=se.findIndex(ue=>!ue.hidden)),t(20,Rt=U),await ds(),et&&h&&(et.focus(),h.scrollTop!==void 0&&et.getView().requestMeasure({read(ue){ue.scrollDOM.scrollTo(h.scrollLeft,h.scrollTop)}}))}function cr(U){let ue=`Untitled${U}`,Se=2;for(;se.find(Ce=>Ce.name===ue);)ue=`Untitled-${Se++}${U}`;t(19,se=[...se,{name:ue,state:ft.create({extensions:zf(U,ce,Z)})}]),gt(se.length-1),t(27,ze=!1)}function pi(U){let ue=[];for(const Se of U){const Ce=Se.name.endsWith(".mzc.mzn")?Se.name.length-8:Se.name.lastIndexOf("."),ge=Se.name.substring(0,Ce).replaceAll(/[\/\\\.]/g,""),Qe=Se.name.substring(Ce);let st=`${ge}${Qe}`,nn=2;for(;se.find(Qu=>Qu.name===st);)st=`${ge}-${nn++}${Qe}`;const si=zf(Qe,ce,Z,Se.readOnly);ue.push({...Se,hidden:Se.hidden||Qe===".mzc",name:st,state:ft.create({doc:Se.contents,extensions:si,selection:{anchor:Se.anchor||0}})})}t(19,se=[...se,...ue]),gt(se.length-1),t(27,ze=!1)}function wi(U){const{index:ue,name:Se,suffix:Ce}=U.detail;let ge=Se,Qe=2;for(;se.some(st=>st===ge+Ce);)ge=`${Se}-${Qe++}`;h&&t(83,h.state=et.getState(),h),t(19,se=[...se.slice(0,ue),{...se[ue],name:Se+Ce},...se.slice(ue+1)])}function Gr(U){const ue=r===1&&!se[U].hidden;t(19,se=[...se.slice(0,U),...se.slice(U+1),...ue?[{name:"Untitled.mzn",state:ft.create({extensions:zf(".mzn",ce,Z)})}]:[]]),Rt>=se.length?gt(se.length-1):gt(Rt),t(28,St=null)}function Yi(U,ue){h&&t(83,h.state=et.getState(),h);const Se={...se[U],...ue};"readOnly"in ue&&Rb(Se,ue.readOnly?Z9:R9),t(19,se=[...se.slice(0,U),Se,...se.slice(U+1)]),gt(Rt)}function Vt(U,ue){let Se;U0){await ds();const ue=et.getView();ue&&ue.state===U.state&&(ue.dispatch({effects:U.effects}),U.effects=[])}}let ri=null;async function Hr(U){t(17,be++,be),t(83,h.state=et.getState(),h);let ue=O?h:null;if(!ue){if(b.length===0)return t(17,be--,be),!1;if(b.length===1)ue=se.find(ge=>ge.name===b[0]);else try{const ge=await new Promise((Qe,st)=>{t(35,ri=Qe),t(30,Ge=!0)});if(!ge)return t(17,be--,be),!1;ue=se.find(Qe=>Qe.name===ge.modelFile)}finally{t(30,Ge=!1)}}const Se=new ie.Model,Ce=[ue.name];if(U){const ge=ue.name.substring(0,ue.name.length-4),Qe=se.find(st=>st.name===`${ge}.mzc`||st.name===`${ge}.mzc.mzn`);Qe&&Ce.push(Qe.name)}ue!==h&&Ce.push(h.name);for(const ge of se)Se.addFile(ge.name,ge.state.doc.toString(),Ce.indexOf(ge.name)!==-1);try{const{input:ge}=await Se.interface({options:ct.getCompilationConfiguration(_.id)});if(Object.keys(ge).length>0){const Qe={};for(const st in ge)Qe[st]=ci[st];t(33,ci=Qe),p&&xn.indexOf(h.name)===-1&&(xn=[...xn,h.name]);try{const st=await new Promise((nn,si)=>{t(35,ri=nn),t(31,ut=!0)});if(!st)return t(17,be--,be),!1;if(st.parameters){let nn="";for(const si in st.parameters)st.parameters[si].trim().length>0&&(nn+=`${si} = ${st.parameters[si]}; +`);Se.addDznString(nn),t(33,ci=st.parameters)}else{for(const nn of st.dataFiles)Ce.indexOf(nn)===-1&&(Se.addFile(nn),Ce.push(nn));xn=st.dataFiles}}finally{t(31,ut=!1)}}}catch(ge){console.error(ge)}return t(17,be--,be),{model:Se,fileList:Ce}}async function ji(){if(g){const ge=new ie.Model;ge.addFile(h.name,h.state.doc.toString());const Qe=[h.name],st=ct.getSolvingConfiguration(_.id);await qt(ge,Qe,st);return}const U=await Hr(!0);if(!U)return;const{model:ue,fileList:Se}=U,Ce=ct.getSolvingConfiguration(_.id);await qt(ue,Se,Ce)}async function qt(U,ue,Se){t(79,wt=!0);const Ce=Date.now();B&&t(32,ii=[]),t(32,ii=[...ii,{files:ue,output:[]}]),t(80,rt=U.solve({options:Se,jsonOutput:!1})),Vi(),rt.on("error",vt),rt.on("warning",vt),rt.on("solution",ge=>vt(ge,Date.now()-Ce)),rt.on("status",ge=>vt(ge,Date.now()-Ce)),rt.on("statistics",vt),rt.on("trace",ge=>vt(ge,Date.now()-Ce)),rt.on("statistics",vt),rt.on("comment",vt),rt.on("time",vt),rt.on("checker",vt),rt.on("stderr",vt);try{await rt,vt({type:"exit",code:0,runTime:Date.now()-Ce})}catch(ge){vt({type:"exit",code:ge.code,runTime:Date.now()-Ce})}t(80,rt=null)}async function Et(){t(79,wt=!0);const U=await Hr(!0);if(!U)return;Vi();const{model:ue,fileList:Se}=U,Ce=Se[0],ge=Date.now();B&&t(32,ii=[]),t(32,ii=[...ii,{files:Se,isCompile:!0,output:[]}]),t(80,rt=ue.compile({options:ct.getCompilationConfiguration(_.id)})),rt.on("error",vt),rt.on("warning",vt),rt.on("statistics",vt),rt.on("trace",vt),rt.on("statistics",vt),rt.on("stderr",vt);try{const Qe=await rt;t(19,se=[...se,{name:`${Ce.substring(0,Ce.indexOf("."))}.fzn`,state:ft.create({extensions:zf(".fzn",ce,Z),doc:Qe})}]),gt(se.length-1),vt({type:"exit",code:0,runTime:Date.now()-ge})}catch(Qe){vt({type:"exit",code:Qe.code,runTime:Date.now()-ge})}t(80,rt=null)}function Bt(){vt({type:"cancel"}),rt.cancel()}function vt(U,ue){Mt(U,ue),ii[ii.length-1].output.push(U),t(32,ii)}function Vi(){qi&&qi.reset(),t(41,tn=!1),t(42,Xn=!1)}async function Mt(U,ue){if(U.type==="trace"&&U.section==="vis_json"){tn||(t(41,tn=!0),t(42,Xn=!0)),await ds();const Se=se.find(ge=>ge.name===U.message.url);let Ce=null;if(Se)Ce=Se.state.doc.toString();else try{Ce=await ie.readStdlibFileContents(U.message.url)}catch(ge){console.error(ge);return}if(Ce===null){console.error(`Failed to get visualisation file ${U.message.url}`);return}qi.addVisualisation(Ce,U.message.userData);return}if(tn){for(;!qi;)await ds();switch(U.type){case"solution":qi.addSolution(U.output.vis_json,"time"in U?U.time:ue);break;case"status":qi.status(U.status,"time"in U?U.time:ue);break;case"exit":qi.status("time"in U?U.time:ue);break}}}function Dt(){return h&&t(83,h.state=et.getState(),h),{files:se.map(U=>({name:U.name,contents:U.state.doc.toString(),...U.hidden?{hidden:!0}:{},...U.readOnly?{readOnly:!0}:{}})),tab:Rt,solverId:_.id,solverConfig:ct.save(),minizincVersion:q?"edge":"latest"}}let Xt=!1;async function jt(){t(36,Xt=!0);try{const U=(await dm(()=>import("./jszip.min-19e8762f.js").then(si=>si.j),[])).default,ue=(await dm(()=>import("./FileSaver.min-d51f946c.js").then(si=>si.F),[])).default,Se=Dt(),Ce=se.map(si=>si.name),ge=se.filter(si=>!si.hidden).map(si=>si.name);let Qe=_.id;Qe==="org.minizinc.gecode_presolver"?Qe="org.gecode.gecode":Qe==="org.minizinc.chuffed"&&(Qe="org.chuffed.chuffed");const st=new U;for(const si of Se.files)st.file(si.name,si.contents);st.file("Project.mzp",JSON.stringify({version:105,projectFiles:Ce,openFiles:ge,openTab:Se.tab,selectedBuiltinConfigId:Qe,selectedBuiltinConfigVersion:"default"}));const nn=await st.generateAsync({type:"blob"});ue.saveAs(nn,"Project.zip")}catch(U){console.error(U)}finally{t(36,Xt=!1)}}let Pt,dn=null,ki=!1;function Kr(U){const ue=Dt(),Se=new URL(U);return Se.hash=`#project=${encodeURIComponent(JSON.stringify(ue))}`,t(39,ki=!1),Se.toString()}function Js(){Pt.select(),Pt.setSelectionRange(0,dn.length),navigator.clipboard.writeText(dn),t(39,ki=!0)}function el(){fe&&window.open(Kr(fe),"_blank").focus()}let L=null;async function ce(U){const ue=U.view;if(!(be!==0||!_||!h||!h.name.endsWith(".mzn")))try{const Se=ue.state.doc.toString();if(Se===L)return;L=Se;const Ce=new ie.Model;for(const st of se)Ce.addFile(st.name,st.state.doc.toString(),!1);const ge=Ce.addString(Se),Qe=await Ce.check({options:ct.getCompilationConfiguration(_.id)});if(ue.state.doc.toString()!==Se)return;e6(Se,Qe.filter(st=>st.location.filename===ge),ue)}catch(Se){console.error(Se)}}function Jr(U){const ue=se.findIndex(Se=>Se.name===U.filename);if(ue!==-1){gt(ue);const Se=se[ue].state.doc.toString(),Ce=ud(U.firstLine,U.firstColumn,Se);et.focus(),et.setCursor(Ce)}}function Xr(){Xe==="horizontal"?t(2,Xe="vertical"):t(2,Xe="horizontal")}function Xs(U){t(0,q=U.detail.item===ae.edge)}let Tr=!1;function tl(U){h&&t(83,h.state=et.getState(),h),se.forEach(ue=>Rb(ue,U?U9:A9)),Cr(h)}let qi,tn=!1,Xn=!1;function Hn(U){rt&&Bt();const ue=[U.modelFile],Se=U.modelFile.substring(0,U.modelFile.length-4),Ce=se.find(Qe=>Qe.name===`${Se}.mzc`||Qe.name===`${Se}.mzc.mzn`);if(Ce&&ue.push(Ce.name),U.dataFiles)for(const Qe of U.dataFiles)ue.push(Qe);const ge=new ie.Model;for(const Qe of se)ge.addFile(Qe.name,Qe.state.doc.toString(),ue.indexOf(Qe.name)!==-1);qt(ge,ue,U.options||ct.getSolvingConfiguration(_.id))}function iu(){di=fO(this),t(21,di)}function nu(){di=fO(this),t(21,di)}const ru=()=>{t(25,Qi=!Qi),t(34,Cn=!1)},da=()=>t(38,dn=Kr(window.location.href)),pa=()=>jt(),ga=()=>{Et(),t(25,Qi=!1)},su=()=>{ni(),t(25,Qi=!1)},lu=()=>{t(0,q=!q),t(25,Qi=!1)},ou=()=>{t(38,dn=Kr(window.location.href)),t(25,Qi=!1)},au=()=>{el(),t(25,Qi=!1)},ma=()=>{t(42,Xn=!1)},Sa=()=>{t(42,Xn=!0)};function ba(U){ui[U?"unshift":"push"](()=>{qi=U,t(40,qi)})}const Gl=U=>Hn(U.detail);function fu(U){B=U,t(1,B)}const $a=()=>t(32,ii=[]),il=U=>Jr(U.detail.location),Qa=U=>gt(U.detail.index),cu=U=>Vt(U.detail.src,U.detail.dest),wa=()=>t(27,ze=!0),ya=U=>t(28,St=U.detail.index),Hl=()=>t(29,dt=!0);function uu(U){ui[U?"unshift":"push"](()=>{et=U,t(24,et)})}function va(U){Me=U,t(3,Me)}function Kl(U){ui[U?"unshift":"push"](()=>{ct=U,t(26,ct)})}const Jl=()=>t(34,Cn=!1),es=()=>t(29,dt=!1),Pa=U=>t(28,St=U.detail.index),ka=U=>Yi(U.detail.index,U.detail.options),hu=()=>t(27,ze=!0),_a=()=>t(27,ze=!1),Wa=U=>cr(U.detail.type),xa=U=>pi(U.detail.files),Ca=()=>Gr(St),Ou=()=>t(28,St=null),du=()=>t(28,St=null),pu=U=>ri(U.detail),Xa=()=>ri(!1),gu=U=>ri(U.detail),mu=()=>ri(!1),Su=()=>t(38,dn=null);function bu(U){ui[U?"unshift":"push"](()=>{Pt=U,t(37,Pt)})}const eo=()=>Pt.select(),$u=()=>t(38,dn=null);return n.$$set=U=>{"showVersionSwitcher"in U&&t(4,R=U.showVersionSwitcher),"showSolverDropdown"in U&&t(5,I=U.showSolverDropdown),"edgeMiniZinc"in U&&t(0,q=U.edgeMiniZinc),"autoClearOutput"in U&&t(1,B=U.autoClearOutput),"canEditTabs"in U&&t(6,z=U.canEditTabs),"compilationEnabled"in U&&t(7,oe=U.compilationEnabled),"project"in U&&t(71,de=U.project),"enabledSolvers"in U&&t(72,xe=U.enabledSolvers),"canEditSolverSettings"in U&&t(8,ye=U.canEditSolverSettings),"showShareButton"in U&&t(9,Ee=U.showShareButton),"showDownloadButton"in U&&t(10,pe=U.showDownloadButton),"externalPlaygroundURL"in U&&t(11,fe=U.externalPlaygroundURL),"splitterDirection"in U&&t(2,Xe=U.splitterDirection),"splitterSize"in U&&t(3,Me=U.splitterSize),"canSwitchOrientation"in U&&t(12,Ne=U.canSwitchOrientation),"showClearOutput"in U&&t(13,pt=U.showClearOutput),"showAutoClearOutput"in U&&t(14,Lt=U.showAutoClearOutput),"showOutputSectionToggles"in U&&t(15,ti=U.showOutputSectionToggles),"showOutputRightControls"in U&&t(16,xt=U.showOutputRightControls),"theme"in U&&t(73,Ct=U.theme),"hideOutputOnStartup"in U&&t(74,Zt=U.hideOutputOnStartup),"$$scope"in U&&t(132,X=U.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&262144&&t(51,i=[ae.latest,ae.edge]),n.$$.dirty[0]&1&&Ke(),n.$$.dirty[2]&512&&ot(de),n.$$.dirty[0]&524288&&(r=se.filter(U=>!U.hidden).length),n.$$.dirty[0]&1572864&&t(83,h=Rtxe.indexOf(U.id)!==-1):te),n.$$.dirty[0]&10485760&&t(82,_=di>=0&&diU.name.endsWith(".mzn")&&!U.name.endsWith(".mzc.mzn")).map(U=>U.name)),n.$$.dirty[0]&524288&&t(45,$=se.filter(U=>U.name.endsWith(".dzn")||U.name.endsWith(".json")).map(U=>U.name)),n.$$.dirty[0]&10485760&&en(),n.$$.dirty[2]&1048576&&t(44,x=_?_.stdFlags:[]),n.$$.dirty[2]&2097152&&Cr(h),n.$$.dirty[2]&526336&&t(22,Z={dark:!0,light:!1,auto:Tr}[Ct]),n.$$.dirty[0]&4194304&&tl(Z)},[q,B,Xe,Me,R,I,z,oe,ye,Ee,pe,fe,Ne,pt,Lt,ti,xt,be,ae,se,Rt,di,Z,Q,et,Qi,ct,ze,St,dt,Ge,ut,ii,ci,Cn,ri,Xt,Pt,dn,ki,qi,tn,Xn,b,x,$,u,f,o,l,s,i,ni,gt,cr,pi,wi,Gr,Yi,Vt,ji,Et,Bt,jt,Kr,Js,el,Jr,Xr,Xs,Hn,de,xe,Ct,Zt,ot,Ot,Dt,te,wt,rt,Tr,_,h,g,p,O,C,iu,nu,ru,da,pa,ga,su,lu,ou,au,ma,Sa,ba,Gl,fu,$a,il,Qa,cu,wa,ya,Hl,uu,va,Kl,Jl,es,Pa,ka,hu,_a,Wa,xa,Ca,Ou,du,pu,Xa,gu,mu,Su,bu,eo,$u,X]}class $6 extends Ui{constructor(e){super(),Ai(this,e,b6,S6,Ri,{showVersionSwitcher:4,showSolverDropdown:5,edgeMiniZinc:0,autoClearOutput:1,canEditTabs:6,compilationEnabled:7,project:71,enabledSolvers:72,canEditSolverSettings:8,showShareButton:9,showDownloadButton:10,externalPlaygroundURL:11,splitterDirection:2,splitterSize:3,canSwitchOrientation:12,showClearOutput:13,showAutoClearOutput:14,showOutputSectionToggles:15,showOutputRightControls:16,theme:73,hideOutputOnStartup:74,loadProject:75,hasFiles:76,getProject:77},null,[-1,-1,-1,-1,-1])}get loadProject(){return this.$$.ctx[75]}get hasFiles(){return this.$$.ctx[76]}get getProject(){return this.$$.ctx[77]}}const{window:Ab}=kx;function Q6(n){let e,t,i,r,s,l,o,f;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 $6({props:p}),n[5](t),ui.push(()=>Ao(t,"autoClearOutput",u)),ui.push(()=>Ao(t,"splitterDirection",h)),ui.push(()=>Ao(t,"splitterSize",O)),{c(){e=k("div"),Ve(t.$$.fragment),y(e,"class","playground-app svelte-tuc1wl")},m(g,b){V(g,e,b),Ue(t,e,null),l=!0,o||(f=[re(Ab,"beforeunload",n[4]),re(Ab,"hashchange",n[3])],o=!0)},p(g,[b]){const $={};b&2&&($.project=g[1]),!i&&b&4&&(i=!0,$.autoClearOutput=g[2].autoClearOutput,Ro(()=>i=!1)),!r&&b&4&&(r=!0,$.splitterDirection=g[2].splitterDirection,Ro(()=>r=!1)),!s&&b&4&&(s=!0,$.splitterSize=g[2].splitterSize,Ro(()=>s=!1)),t.$set($)},i(g){l||(D(t.$$.fragment,g),l=!0)},o(g){F(t.$$.fragment,g),l=!1},d(g){g&&Y(e),n[5](null),Ye(t),o=!1,Nt(f)}}}const Ub=`% Use this editor as a MiniZinc scratch book +`,Yb="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";function w6(n,e,t){let i,r={files:[]},s={autoClearOutput:!1,splitterDirection:"vertical",splitterSize:75,sessions:{}};try{const $=localStorage.getItem("mznPlayground");$&&$.length>0&&(s={...s,...JSON.parse($)})}catch($){console.error($)}let l;function o(){if(Object.keys(s.sessions).length>=5){const x=Object.keys(s.sessions).map(Z=>({key:Z,value:s.sessions[Z]}));x.sort((Z,C)=>C.value.timestamp-Z.value.timestamp),t(2,s.sessions=x.slice(0,5-1).reduce((Z,C)=>({...Z,[C.key]:C.value}),{}),s)}const Q=()=>Array(6).fill(0).map(()=>Yb[Math.floor(Math.random()*Yb.length)]).join("");let _=Q();for(;_ in s.sessions;)_=Q();return _}function f($){return $.solverId||($.solver===0?$.solverId="org.minizinc.gecode_presolver":r.solver===1&&($.solverId="org.minizinc.mip.coin-bc")),$}function u(){if(l&&i.hasFiles()){const Q=i.getProject();t(2,s.sessions[l]=Q,s)}if(window.location.hash.startsWith("#project="))try{const Q=decodeURIComponent(window.location.hash.substring(9));t(1,r=f(JSON.parse(Q))),l=o(),window.history.replaceState(void 0,void 0,`#session=${l}`);return}catch(Q){console.error(Q)}if(window.location.hash.startsWith("#code="))try{const Q=decodeURIComponent(window.location.hash.substring(6));t(1,r={files:[{name:"Playground.mzn",contents:Q,anchor:Q.length}]}),l=o(),window.history.replaceState(void 0,void 0,`#session=${l}`)}catch(Q){console.error(Q)}window.location.hash.startsWith("#session=")||window.history.replaceState(void 0,void 0,`#session=${o()}`);const $=window.location.hash.substring(9);if($!==l&&s.sessions&&s.sessions[$])try{t(1,r=f(s.sessions[$])),l=$}catch(Q){console.error(Q)}r.files.length===0&&t(1,r={files:[{name:"Playground.mzn",contents:Ub,anchor:Ub.length}]}),l=$}zc(()=>u());function h(){const $=i.getProject();t(2,s.sessions[l]={...$,timestamp:Date.now()},s),localStorage.setItem("mznPlayground",JSON.stringify(s))}function O($){ui[$?"unshift":"push"](()=>{i=$,t(0,i)})}function p($){n.$$.not_equal(s.autoClearOutput,$)&&(s.autoClearOutput=$,t(2,s))}function g($){n.$$.not_equal(s.splitterDirection,$)&&(s.splitterDirection=$,t(2,s))}function b($){n.$$.not_equal(s.splitterSize,$)&&(s.splitterSize=$,t(2,s))}return[i,r,s,u,h,O,p,g,b]}class y6 extends Ui{constructor(e){super(),Ai(this,e,w6,Q6,Ri,{})}}new y6({target:document.getElementById("app")});export{ko as c,W6 as g}; diff --git a/develop/assets/index-c43b57c6.css b/develop/assets/index-c43b57c6.css deleted file mode 100644 index 11568e7..0000000 --- a/develop/assets/index-c43b57c6.css +++ /dev/null @@ -1 +0,0 @@ -.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 .select select,.mzn-playground.is-dark .button,.mzn-playground .file-cta,.mzn-playground .file-name,.mzn-playground.is-dark .select select,.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(even){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(even){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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 767px){.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: 768px){.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 .select select,.mzn-playground.is-dark .button,.mzn-playground.is-dark .select select{-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(even){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(even){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,.mzn-playground.is-dark .select select{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,.mzn-playground.is-dark .select select::-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,.mzn-playground.is-dark .select select::-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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 767px){.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: 768px){.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:0px;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-18n2mkw.svelte-18n2mkw{display:flex;flex-direction:column;height:100%}.stack.svelte-18n2mkw>.grow.svelte-18n2mkw{flex:1 1 auto;overflow:hidden}.stack.svelte-18n2mkw>.top.svelte-18n2mkw{flex:0 0 auto;display:flex;padding:.5rem;border-bottom:solid 1px var(--mzn-playground-border)}.stack.svelte-18n2mkw>.top.is-empty.svelte-18n2mkw{padding:0}.stack.svelte-18n2mkw>.top.is-empty.is-tab.svelte-18n2mkw{border-bottom:0}.top.svelte-18n2mkw>.field.svelte-18n2mkw{margin-bottom:0}.grow.svelte-18n2mkw.svelte-18n2mkw{background-color:var(--mzn-playground-input-background-color)}.spacer.svelte-18n2mkw.svelte-18n2mkw{flex:1 1 auto}.section-toggle.svelte-18n2mkw.svelte-18n2mkw{margin-right:.5rem}.output-window.svelte-18n2mkw.svelte-18n2mkw{height:100%;overflow:auto;padding:.5rem}details.svelte-18n2mkw.svelte-18n2mkw{margin-bottom:.5rem}.messages.svelte-18n2mkw.svelte-18n2mkw{padding-left:.5rem;line-height:1.25}.mzn-checker.svelte-18n2mkw.svelte-18n2mkw{display:block}.stack.svelte-1x11i8k.svelte-1x11i8k{display:flex;flex-direction:column;height:100%}.stack.svelte-1x11i8k>.grow.svelte-1x11i8k{flex:1 1 auto;overflow:hidden}.stack.svelte-1x11i8k>.top.svelte-1x11i8k{flex:0 0 auto;display:flex;padding:.5rem;border-bottom:solid 1px var(--mzn-playground-border)}.top.svelte-1x11i8k>.field.svelte-1x11i8k{margin-bottom:0}.vis-grid.svelte-1x11i8k.svelte-1x11i8k{width:100%;height:100%;display:grid;grid-auto-rows:auto;gap:1px;background:var(--mzn-playground-border)}.vis-window.svelte-1x11i8k.svelte-1x11i8k{background:#fff;border:0;width:100%;height:100%}.solution-slider.svelte-1x11i8k.svelte-1x11i8k{flex:1 1 auto;padding:0 1rem;display:flex;align-items:center}.solution-label.svelte-1x11i8k.svelte-1x11i8k{display:flex;align-items:center;padding-right:1rem}.solution-slider.svelte-1x11i8k>input.svelte-1x11i8k{width:100%}.is-hidden.svelte-1surl6b{display:none}.tool-buttons.svelte-1bgv9sn{display:flex;align-items:center;justify-content:flex-end}.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-nni2dr.svelte-nni2dr{height:100%}.stack.svelte-nni2dr.svelte-nni2dr{display:flex;flex-direction:column;height:100%}.stack.svelte-nni2dr>.grow.svelte-nni2dr{flex:1 1 auto;overflow:hidden}.main-panel.svelte-nni2dr.svelte-nni2dr{display:flex}.main-panel.svelte-nni2dr>.svelte-nni2dr{height:100%;overflow:hidden}.main-panel.svelte-nni2dr>.left.svelte-nni2dr{flex:1 1 auto}.stack.svelte-nni2dr>.top.svelte-nni2dr{flex:0 0 auto}.panel.svelte-nni2dr.svelte-nni2dr{height:100%}.tab-end.svelte-nni2dr.svelte-nni2dr{flex:1 1 auto;display:flex!important;justify-content:flex-end;padding-right:.5rem}.tab-window.svelte-nni2dr.svelte-nni2dr{display:none;height:100%}.tab-window.visible.svelte-nni2dr.svelte-nni2dr{display:block}.mobile-menu-item.svelte-nni2dr.svelte-nni2dr{display:flex;align-items:center}.mobile-menu-item.svelte-nni2dr .icon.svelte-nni2dr:first-child{margin-right:.5rem}.mobile-menu-item.svelte-nni2dr .icon.svelte-nni2dr:last-child{margin-left:.5rem}@media only screen and (max-width: 768px){.navbar-run-buttons.svelte-nni2dr.svelte-nni2dr{flex-grow:1;flex-shrink:1}}.playground-app.svelte-tuc1wl{height:100vh} diff --git a/develop/assets/index-cabaae6c.js b/develop/assets/index-cabaae6c.js deleted file mode 100644 index e756664..0000000 --- a/develop/assets/index-cabaae6c.js +++ /dev/null @@ -1,200 +0,0 @@ -var Ox=Object.defineProperty;var dx=(i,e,t)=>e in i?Ox(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Ph=(i,e,t)=>(dx(i,typeof e!="symbol"?e+"":e,t),t);import*as px from"https://cdn.jsdelivr.net/npm/minizinc/dist/minizinc.mjs";import*as gx 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"]'))n(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"&&n(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 n(r){if(r.ep)return;r.ep=!0;const s=t(r);fetch(r.href,s)}})();function Ce(){}const ad=i=>i;function mx(i,e){for(const t in e)i[t]=e[t];return i}function Zb(i){return i()}function nm(){return Object.create(null)}function Nt(i){i.forEach(Zb)}function qc(i){return typeof i=="function"}function Zi(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let gf;function rm(i,e){return i===e?!0:(gf||(gf=document.createElement("a")),gf.href=e,i===gf.href)}function Sx(i){return Object.keys(i).length===0}function an(i,e,t,n){if(i){const r=Rb(i,e,t,n);return i[0](r)}}function Rb(i,e,t,n){return i[1]&&n?mx(t.ctx.slice(),i[1](n(e))):t.ctx}function fn(i,e,t,n){if(i[2]&&n){const r=i[2](n(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=i.ctx.length/32;for(let n=0;nwindow.performance.now():()=>Date.now(),fd=Ab?i=>requestAnimationFrame(i):Ce;const vl=new Set;function Yb(i){vl.forEach(e=>{e.c(i)||(vl.delete(e),e.f())}),vl.size!==0&&fd(Yb)}function Vb(i){let e;return vl.size===0&&fd(Yb),{promise:new Promise(t=>{vl.add(e={c:i,f:t})}),abort(){vl.delete(e)}}}const bx=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function v(i,e){i.appendChild(e)}function qb(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function $x(i){const e=k("style");return e.textContent="/* empty */",Qx(qb(i),e),e.sheet}function Qx(i,e){return v(i.head||i,e),e.sheet}function V(i,e,t){i.insertBefore(e,t||null)}function Y(i){i.parentNode&&i.parentNode.removeChild(i)}function vi(i,e){for(let t=0;ti.removeEventListener(e,t,n)}function y(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function Eo(i){return i===""?null:+i}function wx(i){return Array.from(i.childNodes)}function Le(i,e){e=""+e,i.data!==e&&(i.data=e)}function zi(i,e){i.value=e??""}function lm(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function Rl(i,e,t){for(let n=0;ne.__value)}function le(i,e,t){i.classList.toggle(e,!!t)}function Eb(i,e,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(i,{detail:e,bubbles:t,cancelable:n})}const ec=new Map;let tc=0;function vx(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function Px(i,e){const t={stylesheet:$x(e),rules:{}};return ec.set(i,t),t}function aO(i,e,t,n,r,s,l,o=0){const f=16.666/n;let u=`{ -`;for(let Q=0;Q<=1;Q+=f){const W=e+(t-e)*s(Q);u+=Q*100+`%{${l(W,1-W)}} -`}const h=u+`100% {${l(t,1-t)}} -}`,O=`__svelte_${vx(h)}_${o}`,p=qb(i),{stylesheet:g,rules:b}=ec.get(p)||Px(p,i);b[O]||(b[O]=!0,g.insertRule(`@keyframes ${O} ${h}`,g.cssRules.length));const $=i.style.animation||"";return i.style.animation=`${$?`${$}, `:""}${O} ${n}ms linear ${r}ms 1 both`,tc+=1,O}function Mb(i,e){const t=(i.style.animation||"").split(", "),n=t.filter(e?s=>s.indexOf(e)<0:s=>s.indexOf("__svelte")===-1),r=t.length-n.length;r&&(i.style.animation=n.join(", "),tc-=r,tc||kx())}function kx(){fd(()=>{tc||(ec.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&Y(e)}),ec.clear())})}function _x(i,e,t,n){if(!e)return Ce;const r=i.getBoundingClientRect();if(e.left===r.left&&e.right===r.right&&e.top===r.top&&e.bottom===r.bottom)return Ce;const{delay:s=0,duration:l=300,easing:o=ad,start:f=Ub()+s,end:u=f+l,tick:h=Ce,css:O}=t(i,{from:e,to:r},n);let p=!0,g=!1,b;function $(){O&&(b=aO(i,0,1,l,s,o,O)),s||(g=!0)}function Q(){O&&Mb(i,b),p=!1}return Vb(W=>{if(!g&&W>=f&&(g=!0),g&&W>=u&&(h(1,0),Q()),!p)return!1;if(g){const x=W-f,Z=0+1*o(x/l);h(Z,1-Z)}return!0}),$(),h(0,1),Q}function Wx(i){const e=getComputedStyle(i);if(e.position!=="absolute"&&e.position!=="fixed"){const{width:t,height:n}=e,r=i.getBoundingClientRect();i.style.position="absolute",i.style.width=t,i.style.height=n,xx(i,r)}}function xx(i,e){const t=i.getBoundingClientRect();if(e.left!==t.left||e.top!==t.top){const n=getComputedStyle(i),r=n.transform==="none"?"":n.transform;i.style.transform=`${r} translate(${e.left-t.left}px, ${e.top-t.top}px)`}}let Mo;function Zo(i){Mo=i}function Db(){if(!Mo)throw new Error("Function called outside component initialization");return Mo}function Ec(i){Db().$$.on_mount.push(i)}function Bn(){const i=Db();return(e,t,{cancelable:n=!1}={})=>{const r=i.$$.callbacks[e];if(r){const s=Eb(e,t,{cancelable:n});return r.slice().forEach(l=>{l.call(i,s)}),!s.defaultPrevented}return!0}}function am(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const gl=[],ui=[];let kl=[];const fO=[],zb=Promise.resolve();let cO=!1;function Ib(){cO||(cO=!0,zb.then(Nb))}function hs(){return Ib(),zb}function or(i){kl.push(i)}function Ro(i){fO.push(i)}const kh=new Set;let dl=0;function Nb(){if(dl!==0)return;const i=Mo;do{try{for(;dli.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),kl=e}let So;function Tx(){return So||(So=Promise.resolve(),So.then(()=>{So=null})),So}function _h(i,e,t){i.dispatchEvent(Eb(`${e?"intro":"outro"}${t}`))}const Df=new Set;let zr;function et(){zr={r:0,c:[],p:zr}}function tt(){zr.r||Nt(zr.c),zr=zr.p}function D(i,e){i&&i.i&&(Df.delete(i),i.i(e))}function G(i,e,t,n){if(i&&i.o){if(Df.has(i))return;Df.add(i),zr.c.push(()=>{Df.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}const Zx={duration:0};function bl(i,e,t,n){let s=e(i,t,{direction:"both"}),l=n?0:1,o=null,f=null,u=null,h;function O(){u&&Mb(i,u)}function p(b,$){const Q=b.b-l;return $*=Math.abs(Q),{a:l,b:b.b,d:Q,duration:$,start:b.start,end:b.start+$,group:b.group}}function g(b){const{delay:$=0,duration:Q=300,easing:W=ad,tick:x=Ce,css:Z}=s||Zx,X={start:Ub()+$,b};b||(X.group=zr,zr.r+=1),"inert"in i&&(b?h!==void 0&&(i.inert=h):(h=i.inert,i.inert=!0)),o||f?f=X:(Z&&(O(),u=aO(i,l,b,Q,$,W,Z)),b&&x(0,1),o=p(X,Q),or(()=>_h(i,b,"start")),Vb(T=>{if(f&&T>f.start&&(o=p(f,Q),f=null,_h(i,o.b,"start"),Z&&(O(),u=aO(i,l,o.b,o.duration,0,W,s.css))),o){if(T>=o.end)x(l=o.b,1-l),_h(i,o.b,"end"),f||(o.b?O():--o.group.r||Nt(o.group.c)),o=null;else if(T>=o.start){const U=T-o.start;l=o.a+o.d*W(U/o.duration),x(l,1-l)}}return!!(o||f)}))}return{run(b){qc(s)?Tx().then(()=>{s=s({direction:b?"in":"out"}),g(b)}):g(b)},end(){O(),o=f=null}}}function it(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function Rx(i,e){G(i,1,1,()=>{e.delete(i.key)})}function Ax(i,e){i.f(),Rx(i,e)}function Ux(i,e,t,n,r,s,l,o,f,u,h,O){let p=i.length,g=s.length,b=p;const $={};for(;b--;)$[i[b].key]=b;const Q=[],W=new Map,x=new Map,Z=[];for(b=g;b--;){const L=O(r,s,b),E=t(L);let j=l.get(E);j?n&&Z.push(()=>j.p(L,e)):(j=u(E,L),j.c()),W.set(E,Q[b]=j),E in $&&x.set(E,Math.abs(b-$[E]))}const X=new Set,T=new Set;function U(L){D(L,1),L.m(o,h),l.set(L.key,L),h=L.first,g--}for(;p&&g;){const L=Q[g-1],E=i[p-1],j=L.key,z=E.key;L===E?(h=L.first,p--,g--):W.has(z)?!l.has(j)||X.has(j)?U(L):T.has(z)?p--:x.get(j)>x.get(z)?(T.add(j),U(L)):(X.add(z),p--):(f(E,l),p--)}for(;p--;){const L=i[p];W.has(L.key)||f(L,l)}for(;g;)U(Q[g-1]);return Nt(Z),Q}function Ao(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function Ve(i){i&&i.c()}function Ue(i,e,t){const{fragment:n,after_update:r}=i.$$;n&&n.m(e,t),or(()=>{const s=i.$$.on_mount.map(Zb).filter(qc);i.$$.on_destroy?i.$$.on_destroy.push(...s):Nt(s),i.$$.on_mount=[]}),r.forEach(or)}function Ye(i,e){const t=i.$$;t.fragment!==null&&(Xx(t.after_update),Nt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Yx(i,e){i.$$.dirty[0]===-1&&(gl.push(i),Ib(),i.$$.dirty.fill(0)),i.$$.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&&Yx(i,O)),p}):[],u.update(),h=!0,Nt(u.before_update),u.fragment=n?n(u.ctx):!1,e.target){if(e.hydrate){const O=wx(e.target);u.fragment&&u.fragment.l(O),O.forEach(Y)}else u.fragment&&u.fragment.c();e.intro&&D(i.$$.fragment),Ue(i,e.target,e.anchor),Nb()}Zo(f)}class Ai{constructor(){Ph(this,"$$");Ph(this,"$$set")}$destroy(){Ye(this,1),this.$destroy=Ce}$on(e,t){if(!qc(t))return Ce;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const r=n.indexOf(t);r!==-1&&n.splice(r,1)}}$set(e){this.$$set&&!Sx(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Vx="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Vx);const qx="modulepreload",Ex=function(i){return"/develop/"+i},fm={},cm=function(e,t,n){if(!t||t.length===0)return e();const r=document.getElementsByTagName("link");return Promise.all(t.map(s=>{if(s=Ex(s),s in fm)return;fm[s]=!0;const l=s.endsWith(".css"),o=l?'[rel="stylesheet"]':"";if(!!n)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":qx,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())};class gt{constructor(){}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,n){let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),br.from(r,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let n=[];return this.decompose(e,t,n,0),br.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new Uo(this),s=new Uo(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>=n)return!0}}iter(e=1){return new Uo(this,e)}iterRange(e,t=this.length){return new Lb(this,e,t)}iterLines(e,t){let n;if(e==null)n=this.iter();else{t==null&&(t=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new Bb(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?gt.empty:e.length<=32?new ai(e):br.from(ai.split(e,[]))}}class ai extends gt{constructor(e,t=Mx(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,r){for(let s=0;;s++){let l=this.text[s],o=r+l.length;if((t?n:o)>=e)return new Dx(r,o,n,l);r=o+1,n++}}decompose(e,t,n,r){let s=e<=0&&t>=this.length?this:new ai(um(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(r&1){let l=n.pop(),o=zf(s.text,l.text.slice(),0,s.length);if(o.length<=32)n.push(new ai(o,l.length+s.length));else{let f=o.length>>1;n.push(new ai(o.slice(0,f)),new ai(o.slice(f)))}}else n.push(s)}replace(e,t,n){if(!(n instanceof ai))return super.replace(e,t,n);let r=zf(this.text,zf(n.text,um(this.text,0,e)),t),s=this.length+n.length-(t-e);return r.length<=32?new ai(r,s):br.from(ai.split(r,[]),s)}sliceString(e,t=this.length,n=` -`){let r="";for(let s=0,l=0;s<=t&&le&&l&&(r+=n),es&&(r+=o.slice(Math.max(0,e-s),t-s)),s=f+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],r=-1;for(let s of e)n.push(s),r+=s.length+1,n.length==32&&(t.push(new ai(n,r)),n=[],r=-1);return r>-1&&t.push(new ai(n,r)),t}}class br extends gt{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,t,n,r){for(let s=0;;s++){let l=this.children[s],o=r+l.length,f=n+l.lines-1;if((t?f:o)>=e)return l.lineInner(e,t,n,r);r=o+1,n=f+1}}decompose(e,t,n,r){for(let s=0,l=0;l<=t&&s=l){let u=r&((l<=e?1:0)|(f>=t?2:0));l>=e&&f<=t&&!u?n.push(o):o.decompose(e-l,t-l,n,u)}l=f+1}}replace(e,t,n){if(n.lines=s&&t<=o){let f=l.replace(e-s,t-s,n),u=this.lines-l.lines+f.lines;if(f.lines>5-1&&f.lines>u>>5+1){let h=this.children.slice();return h[r]=f,new br(h,this.length-(t-e)+n.length)}return super.replace(s,o,f)}s=o+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n=` -`){let r="";for(let s=0,l=0;se&&s&&(r+=n),el&&(r+=o.sliceString(e-l,t-l,n)),l=f+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof br))return 0;let n=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 n;let f=this.children[r],u=e.children[s];if(f!=u)return n+f.scanIdentical(u,t);n+=f.length+1}}static from(e,t=e.reduce((n,r)=>n+r.length+1,-1)){let n=0;for(let g of e)n+=g.lines;if(n<32){let g=[];for(let b of e)b.flatten(g);return new ai(g,t)}let r=Math.max(32,n>>5),s=r<<1,l=r>>1,o=[],f=0,u=-1,h=[];function O(g){let b;if(g.lines>s&&g instanceof br)for(let $ of g.children)O($);else g.lines>l&&(f>l||!f)?(p(),o.push(g)):g instanceof ai&&f&&(b=h[h.length-1])instanceof ai&&g.lines+b.lines<=32?(f+=g.lines,u+=g.length+1,h[h.length-1]=new ai(b.text.concat(g.text),b.length+1+g.length)):(f+g.lines>r&&p(),f+=g.lines,u+=g.length+1,h.push(g))}function p(){f!=0&&(o.push(h.length==1?h[0]:br.from(h,u)),u=-1,f=h.length=0)}for(let g of e)O(g);return p(),o.length==1?o[0]:new br(o,t)}}gt.empty=new ai([""],0);function Mx(i){let e=-1;for(let t of i)e+=t.length+1;return e}function zf(i,e,t=0,n=1e9){for(let r=0,s=0,l=!0;s=t&&(f>n&&(o=o.slice(0,n-r)),r0?1:(e instanceof ai?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],s=this.offsets[n],l=s>>1,o=r instanceof ai?r.text.length:r.children.length;if(l==(t>0?o:0)){if(n==0)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(t>0?0:1)){if(this.offsets[n]+=t,e==0)return this.lineBreak=!0,this.value=` -`,this;e--}else if(r instanceof ai){let f=r.text[l+(t<0?-1:0)];if(this.offsets[n]+=t,f.length>Math.max(0,e))return this.value=e==0?f:t>0?f.slice(e):f.slice(0,f.length-e),this;e-=f.length}else{let f=r.children[l+(t<0?-1:0)];e>f.length?(e-=f.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(f),this.offsets.push(t>0?1:(f instanceof ai?f.text.length:f.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class Lb{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new Uo(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class Bb{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:r}=this.inner.next(e);return t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(gt.prototype[Symbol.iterator]=function(){return this.iter()},Uo.prototype[Symbol.iterator]=Lb.prototype[Symbol.iterator]=Bb.prototype[Symbol.iterator]=function(){return this});class Dx{constructor(e,t,n,r){this.from=e,this.to=t,this.number=n,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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e=1;e<_l.length;e+=2)if(_l[e]>i)return _l[e-1]<=i;return!1}function hm(i){return i>=127462&&i<=127487}const Om=8205;function Fi(i,e,t=!0,n=!0){return(t?jb:Ix)(i,e,n)}function jb(i,e,t){if(e==i.length)return e;e&&Gb(i.charCodeAt(e))&&Fb(i.charCodeAt(e-1))&&e--;let n=Ci(i,e);for(e+=vn(n);e=0&&hm(Ci(i,l));)s++,l-=2;if(s%2==0)break;e+=2}else break}return e}function Ix(i,e,t){for(;e>0;){let n=jb(i,e-2,t);if(n=56320&&i<57344}function Fb(i){return i>=55296&&i<56320}function Ci(i,e){let t=i.charCodeAt(e);if(!Fb(t)||e+1==i.length)return t;let n=i.charCodeAt(e+1);return Gb(n)?(t-55296<<10)+(n-56320)+65536:t}function cd(i){return i<=65535?String.fromCharCode(i):(i-=65536,String.fromCharCode((i>>10)+55296,(i&1023)+56320))}function vn(i){return i<65536?1:2}const uO=/\r\n?|\n/;var Ti=function(i){return i[i.Simple=0]="Simple",i[i.TrackDel=1]="TrackDel",i[i.TrackBefore=2]="TrackBefore",i[i.TrackAfter=3]="TrackAfter",i}(Ti||(Ti={}));class yr{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return s+(e-r);s+=o}else{if(n!=Ti.Simple&&u>=e&&(n==Ti.TrackDel&&re||n==Ti.TrackBefore&&re))return null;if(u>e||u==e&&t<0&&!o)return e==r||t<0?s:s+f;s+=f}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 n=0,r=0;n=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 yr(e)}static create(e){return new yr(e)}}class mi extends yr{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 hO(this,(t,n,r,s,l)=>e=e.replace(r,r+(n-t),l),!1),e}mapDesc(e,t=!1){return OO(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let r=0,s=0;r=0){t[r]=o,t[r+1]=l;let f=r>>1;for(;n.length0&&ds(n,t,s.text),s.forward(h),o+=h}let u=e[l++];for(;o>1].toJSON()))}return e}static of(e,t,n){let r=[],s=[],l=0,o=null;function f(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"?gt.of(g.split(n||uO)):g:gt.empty,$=b.length;if(O==p&&$==0)return;Ol&&Di(r,O-l,-1),Di(r,p-O,$),ds(s,r,b),l=p}}return u(e),f(!o),o}static empty(e){return new mi(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];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(;n.length=0&&t<=0&&t==i[r+1]?i[r]+=e:e==0&&i[r]==0?i[r+1]+=t:n?(i[r]+=e,i[r+1]+=t):i.push(e,t)}function ds(i,e,t){if(t.length==0)return;let n=e.length-2>>1;if(n>1])),!(t||l==i.sections.length||i.sections[l+1]<0);)o=i.sections[l++],f=i.sections[l++];e(r,u,s,h,O),r=u,s=h}}}function OO(i,e,t,n=!1){let r=[],s=n?[]:null,l=new Do(i),o=new Do(e);for(let f=-1;;)if(l.ins==-1&&o.ins==-1){let u=Math.min(l.len,o.len);Di(r,u,-1),l.forward(u),o.forward(u)}else if(o.ins>=0&&(l.ins<0||f==l.i||l.off==0&&(o.len=0&&f=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.lenf||l.ins>=0&&l.len>f)&&(o||n.length>u),s.forward2(f),l.forward(f)}}}}class Do{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?gt.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?gt.empty:t[n].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,n){this.from=e,this.to=t,this.flags=n}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let e=this.flags&3;return e==3?null:e}get goalColumn(){let e=this.flags>>5;return e==33554431?void 0:e}map(e,t=-1){let n,r;return this.empty?n=r=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new zs(n,r,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return K.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return K.range(this.anchor,n)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return K.range(e.anchor,e.head)}static create(e,t,n){return new zs(e,t,n)}}class K{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:K.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;te.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new K(e.ranges.map(t=>zs.fromJSON(t)),e.main)}static single(e,t=e){return new K([K.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 n=0,r=0;re?4:0)|s)}static normalized(e,t=0){let n=e[t];e.sort((r,s)=>r.from-s.from),t=e.indexOf(n);for(let r=1;rs.head?K.range(f,o):K.range(o,f))}}return new K(e,t)}}function Kb(i,e){for(let t of i.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let ud=0;class Pe{constructor(e,t,n,r,s){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=ud++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}static define(e={}){return new Pe(e.combine||(t=>t),e.compareInput||((t,n)=>t===n),e.compare||(e.combine?(t,n)=>t===n:hd),!!e.static,e.enables)}of(e){return new If([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new If(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new If(e,this,2,t)}from(e,t){return t||(t=n=>n),this.compute([e],n=>t(n.field(e)))}}function hd(i,e){return i==e||i.length==e.length&&i.every((t,n)=>t===e[n])}class If{constructor(e,t,n,r){this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=ud++}dynamicSlot(e){var t;let n=this.value,r=this.facet.compareInput,s=this.id,l=e[s]>>1,o=this.type==2,f=!1,u=!1,h=[];for(let O of this.dependencies)O=="doc"?f=!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]=n(O),1},update(O,p){if(f&&p.docChanged||u&&(p.docChanged||p.selection)||dO(O,h)){let g=n(O);if(o?!dm(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 $=nc(p,b);if(this.dependencies.every(Q=>Q instanceof Pe?p.facet(Q)===O.facet(Q):Q instanceof $i?p.field(Q,!1)==O.field(Q,!1):!0)||(o?dm(g=n(O),$,r):r(g=n(O),$)))return O.values[l]=$,0}else g=n(O);return O.values[l]=g,1}}}}function dm(i,e,t){if(i.length!=e.length)return!1;for(let n=0;ni[f.id]),r=t.map(f=>f.type),s=n.filter(f=>!(f&1)),l=i[e.id]>>1;function o(f){let u=[];for(let h=0;hn===r),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(pm).find(n=>n.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:n=>(n.values[t]=this.create(n),1),update:(n,r)=>{let s=n.values[t],l=this.updateF(s,r);return this.compareF(s,l)?0:(n.values[t]=l,1)},reconfigure:(n,r)=>r.config.address[this.id]!=null?(n.values[t]=r.field(this),0):(n.values[t]=this.create(n),1)}}init(e){return[this,pm.of({field:this,create:e})]}get extension(){return this}}const Es={lowest:4,low:3,default:2,high:1,highest:0};function bo(i){return e=>new Jb(e,i)}const Gs={highest:bo(Es.highest),high:bo(Es.high),default:bo(Es.default),low:bo(Es.low),lowest:bo(Es.lowest)};class Jb{constructor(e,t){this.inner=e,this.prec=t}}class Nl{of(e){return new pO(this,e)}reconfigure(e){return Nl.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class pO{constructor(e,t){this.compartment=e,this.inner=t}}class ic{constructor(e,t,n,r,s,l){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=s,this.facets=l,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let r=[],s=Object.create(null),l=new Map;for(let p of Lx(e,t,l))p instanceof $i?r.push(p):(s[p.facet.id]||(s[p.facet.id]=[])).push(p);let o=Object.create(null),f=[],u=[];for(let p of r)o[p.id]=u.length<<1,u.push(g=>p.slot(g));let h=n==null?void 0:n.config.facets;for(let p in s){let g=s[p],b=g[0].facet,$=h&&h[p]||[];if(g.every(Q=>Q.type==0))if(o[b.id]=f.length<<1|1,hd($,g))f.push(n.facet(b));else{let Q=b.combine(g.map(W=>W.value));f.push(n&&b.compare(Q,n.facet(b))?n.facet(b):Q)}else{for(let Q of g)Q.type==0?(o[Q.id]=f.length<<1|1,f.push(Q.value)):(o[Q.id]=u.length<<1,u.push(W=>Q.dynamicSlot(W)));o[b.id]=u.length<<1,u.push(Q=>Nx(Q,b,g))}}let O=u.map(p=>p(o));return new ic(e,l,O,o,f,s)}}function Lx(i,e,t){let n=[[],[],[],[],[]],r=new Map;function s(l,o){let f=r.get(l);if(f!=null){if(f<=o)return;let u=n[f].indexOf(l);u>-1&&n[f].splice(u,1),l instanceof pO&&t.delete(l.compartment)}if(r.set(l,o),Array.isArray(l))for(let u of l)s(u,o);else if(l instanceof pO){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 Jb)s(l.inner,l.prec);else if(l instanceof $i)n[o].push(l),l.provides&&s(l.provides,o);else if(l instanceof If)n[o].push(l),l.facet.extensions&&s(l.facet.extensions,Es.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(i,Es.default),n.reduce((l,o)=>l.concat(o))}function Yo(i,e){if(e&1)return 2;let t=e>>1,n=i.status[t];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;i.status[t]=4;let r=i.computeSlot(i,i.config.dynamicSlots[t]);return i.status[t]=2|r}function nc(i,e){return e&1?i.config.staticValues[e>>1]:i.values[e>>1]}const e$=Pe.define(),t$=Pe.define({combine:i=>i.some(e=>e),static:!0}),i$=Pe.define({combine:i=>i.length?i[0]:void 0,static:!0}),n$=Pe.define(),r$=Pe.define(),s$=Pe.define(),l$=Pe.define({combine:i=>i.length?i[0]:!1});class _s{constructor(e,t){this.type=e,this.value=t}static define(){return new Bx}}class Bx{of(e){return new _s(this,e)}}class jx{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 jx(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let r of e){let s=r.map(t);s&&n.push(s)}return n}}qe.reconfigure=qe.define();qe.appendConfig=qe.define();class Si{constructor(e,t,n,r,s,l){this.startState=e,this.changes=t,this.selection=n,this.effects=r,this.annotations=s,this.scrollIntoView=l,this._doc=null,this._state=null,n&&Kb(n,t.newLength),s.some(o=>o.type==Si.time)||(this.annotations=s.concat(Si.time.of(Date.now())))}static create(e,t,n,r,s,l){return new Si(e,t,n,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(Si.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}Si.time=_s.define();Si.userEvent=_s.define();Si.addToHistory=_s.define();Si.remote=_s.define();function Gx(i,e){let t=[];for(let n=0,r=0;;){let s,l;if(n=i[n]))s=i[n++],l=i[n++];else if(r=0;r--){let s=n[r](i);s instanceof Si?i=s:Array.isArray(s)&&s.length==1&&s[0]instanceof Si?i=s[0]:i=a$(e,Wl(s),!1)}return i}function Hx(i){let e=i.startState,t=e.facet(s$),n=i;for(let r=t.length-1;r>=0;r--){let s=t[r](i);s&&Object.keys(s).length&&(n=o$(n,gO(e,s,i.changes.newLength),!0))}return n==i?i:Si.create(e,i.changes,i.selection,n.effects,n.annotations,n.scrollIntoView)}const Kx=[];function Wl(i){return i==null?Kx:Array.isArray(i)?i:[i]}var It=function(i){return i[i.Word=0]="Word",i[i.Space=1]="Space",i[i.Other=2]="Other",i}(It||(It={}));const Jx=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let mO;try{mO=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function e3(i){if(mO)return mO.test(i);for(let e=0;e"€"&&(t.toUpperCase()!=t.toLowerCase()||Jx.test(t)))return!0}return!1}function t3(i){return e=>{if(!/\S/.test(e))return It.Space;if(e3(e))return It.Word;for(let t=0;t-1)return It.Word;return It.Other}}class at{constructor(e,t,n,r,s,l){this.config=e,this.doc=t,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=s,l&&(l._state=this);for(let o=0;or.set(f,o)),t=null),r.set(l.value.compartment,l.value.extension)):l.is(qe.reconfigure)?(t=null,n=l.value):l.is(qe.appendConfig)&&(t=null,n=Wl(n).concat(l.value));let s;t?s=e.startState.values.slice():(t=ic.resolve(n,r,this),s=new at(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(o,f)=>f.reconfigure(o,this),null).values),new at(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:K.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),s=[n.range],l=Wl(n.effects);for(let o=1;ol.spec.fromJSON(o,f)))}}return at.create({doc:e.doc,selection:K.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=ic.resolve(e.extensions||[],new Map),n=e.doc instanceof gt?e.doc:gt.of((e.doc||"").split(t.staticFacet(at.lineSeparator)||uO)),r=e.selection?e.selection instanceof K?e.selection:K.single(e.selection.anchor,e.selection.head):K.single(0);return Kb(r,n.length),t.staticFacet(t$)||(r=r.asSingle()),new at(t,n,r,t.dynamicSlots.map(()=>null),(s,l)=>l.create(s),null)}get tabSize(){return this.facet(at.tabSize)}get lineBreak(){return this.facet(at.lineSeparator)||` -`}get readOnly(){return this.facet(l$)}phrase(e,...t){for(let n of this.facet(at.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(n,r)=>{if(r=="$")return"$";let s=+(r||1);return!s||s>t.length?n:t[s-1]})),e}languageDataAt(e,t,n=-1){let r=[];for(let s of this.facet(e$))for(let l of s(this,t,n))Object.prototype.hasOwnProperty.call(l,e)&&r.push(l[e]);return r}charCategorizer(e){return t3(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:n,length:r}=this.doc.lineAt(e),s=this.charCategorizer(e),l=e-n,o=e-n;for(;l>0;){let f=Fi(t,l,!1);if(s(t.slice(f,l))!=It.Word)break;l=f}for(;oi.length?i[0]:4});at.lineSeparator=i$;at.readOnly=l$;at.phrases=Pe.define({compare(i,e){let t=Object.keys(i),n=Object.keys(e);return t.length==n.length&&t.every(r=>i[r]==e[r])}});at.languageData=e$;at.changeFilter=n$;at.transactionFilter=r$;at.transactionExtender=s$;Nl.reconfigure=qe.define();function kr(i,e,t={}){let n={};for(let r of i)for(let s of Object.keys(r)){let l=r[s],o=n[s];if(o===void 0)n[s]=l;else if(!(o===l||l===void 0))if(Object.hasOwnProperty.call(t,s))n[s]=t[s](o,l);else throw new Error("Config merge conflict for field "+s)}for(let r in e)n[r]===void 0&&(n[r]=e[r]);return n}class Ls{eq(e){return this==e}range(e,t=e){return SO.create(e,t,this)}}Ls.prototype.startSide=Ls.prototype.endSide=0;Ls.prototype.point=!1;Ls.prototype.mapMode=Ti.TrackDel;let SO=class f${constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new f$(e,t,n)}};function bO(i,e){return i.from-e.from||i.value.startSide-e.value.startSide}class Od{constructor(e,t,n,r){this.from=e,this.to=t,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,r=0){let s=n?this.to:this.from;for(let l=r,o=s.length;;){if(l==o)return l;let f=l+o>>1,u=s[f]-e||(n?this.value[f].endSide:this.value[f].startSide)-t;if(f==l)return u>=0?l:o;u>=0?o=f:l=f+1}}between(e,t,n,r){for(let s=this.findIndex(t,-1e9,!0),l=this.findIndex(n,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)),n.push(u),r.push(p-l),s.push(g-l))}return{mapped:n.length?new Od(r,s,n,o):null,pos:l}}}class yt{constructor(e,t,n,r){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}static create(e,t,n,r){return new yt(e,t,n,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:n=!1,filterFrom:r=0,filterTo:s=this.length}=e,l=e.filter;if(t.length==0&&!l)return this;if(n&&(t=t.slice().sort(bO)),this.isEmpty)return t.length?yt.of(t):this;let o=new c$(this,null,-1).goto(0),f=0,u=[],h=new $s;for(;o.value||f=0){let O=t[f++];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,n)===!1)return}this.nextLayer.between(e,t,n)}}iter(e=0){return zo.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return zo.from(e).goto(t)}static compare(e,t,n,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),f=gm(l,o,n),u=new $o(l,f,s),h=new $o(o,f,s);n.iterGaps((O,p,g)=>mm(u,O,h,p,g,r)),n.empty&&n.length==0&&mm(u,0,h,0,0,r)}static eq(e,t,n=0,r){r==null&&(r=1e9-1);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=gm(s,l),f=new $o(s,o,0).goto(n),u=new $o(l,o,0).goto(n);for(;;){if(f.to!=u.to||!$O(f.active,u.active)||f.point&&(!u.point||!f.point.eq(u.point)))return!1;if(f.to>r)return!0;f.next(),u.next()}}static spans(e,t,n,r,s=-1){let l=new $o(e,null,s).goto(t),o=t,f=l.openStart;for(;;){let u=Math.min(l.to,n);if(l.point){let h=l.activeForPoint(l.to),O=l.pointFromo&&(r.span(o,u,l.active,f),f=l.openEnd(u));if(l.to>n)return f+(l.point&&l.to>n?1:0);o=l.to,l.next()}}static of(e,t=!1){let n=new $s;for(let r of e instanceof SO?[e]:t?i3(e):e)n.add(r.from,r.to,r.value);return n.finish()}}yt.empty=new yt([],[],null,-1);function i3(i){if(i.length>1)for(let e=i[0],t=1;t0)return i.slice().sort(bO);e=n}return i}yt.empty.nextLayer=yt.empty;class $s{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(e){this.chunks.push(new Od(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new $s)).add(e,t,n)}addInner(e,t,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||n.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=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((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 n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(yt.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=yt.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function gm(i,e,t){let n=new Map;for(let s of i)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=n&&r.push(new c$(l,t,n,s));return r.length==1?r[0]:new zo(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let n=this.heap.length>>1;n>=0;n--)Wh(this.heap,n);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let n=this.heap.length>>1;n>=0;n--)Wh(this.heap,n);(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(),Wh(this.heap,0)}}}function Wh(i,e){for(let t=i[e];;){let n=(e<<1)+1;if(n>=i.length)break;let r=i[n];if(n+1=0&&(r=i[n+1],n++),t.compare(r)<0)break;i[n]=t,i[e]=r,e=n}}class $o{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=zo.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){mf(this.active,e),mf(this.activeTo,e),mf(this.activeRank,e),this.minActive=Sm(this.active,this.activeTo)}addActive(e){let t=0,{value:n,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),n&&mf(n,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(n),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from=0&&n[r]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function mm(i,e,t,n,r,s){i.goto(e),t.goto(n);let l=n+r,o=n,f=n-e;for(;;){let u=i.to+f-t.to||i.endSide-t.endSide,h=u<0?i.to+f:t.to,O=Math.min(h,l);if(i.point||t.point?i.point&&t.point&&(i.point==t.point||i.point.eq(t.point))&&$O(i.activeForPoint(i.to+f),t.activeForPoint(t.to))||s.comparePoint(o,O,i.point,t.point):O>o&&!$O(i.active,t.active)&&s.compareRange(o,O,i.active,t.active),h>l)break;o=h,u<=0&&i.next(),u>=0&&t.next()}}function $O(i,e){if(i.length!=e.length)return!1;for(let t=0;t=e;n--)i[n+1]=i[n];i[e]=t}function Sm(i,e){let t=-1,n=1e9;for(let r=0;r=e)return r;if(r==i.length)break;s+=i.charCodeAt(r)==9?t-s%t:1,r=Fi(i,r)}return n===!0?-1:i.length}const wO="ͼ",bm=typeof Symbol>"u"?"__"+wO:Symbol.for(wO),yO=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),$m=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Qs{constructor(e,t){this.rules=[];let{finish:n}=t||{};function r(l){return/^@/.test(l)?[l]:l.split(/,\s*/)}function s(l,o,f,u){let h=[],O=/^@(\w+)\b/.exec(l[0]),p=O&&O[1]=="keyframes";if(O&&o==null)return f.push(l[0]+";");for(let g in o){let b=o[g];if(/&/.test(g))s(g.split(/,\s*/).map($=>l.map(Q=>$.replace(/&/,Q))).reduce(($,Q)=>$.concat(Q)),b,f);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,$=>"-"+$.toLowerCase())+": "+b+";")}(h.length||p)&&f.push((n&&!O&&!u?l.map(n):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=$m[bm]||1;return $m[bm]=e+1,wO+e.toString(36)}static mount(e,t){(e[yO]||new n3(e)).mount(Array.isArray(t)?t:[t])}}let bf=null;class n3{constructor(e){if(!e.head&&e.adoptedStyleSheets&&typeof CSSStyleSheet<"u"){if(bf)return e.adoptedStyleSheets=[bf.sheet].concat(e.adoptedStyleSheets),e[yO]=bf;this.sheet=new CSSStyleSheet,e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets),bf=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let t=e.head||e;t.insertBefore(this.styleTag,t.firstChild)}this.modules=[],e[yO]=this}mount(e){let t=this.sheet,n=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 f=0;f",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Qm=typeof navigator<"u"&&/Chrome\/(\d+)/.exec(navigator.userAgent),r3=typeof navigator<"u"&&/Mac/.test(navigator.platform),s3=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),l3=r3||Qm&&+Qm[1]<57;for(var Xi=0;Xi<10;Xi++)ws[48+Xi]=ws[96+Xi]=String(Xi);for(var Xi=1;Xi<=24;Xi++)ws[Xi+111]="F"+Xi;for(var Xi=65;Xi<=90;Xi++)ws[Xi]=String.fromCharCode(Xi+32),Io[Xi]=String.fromCharCode(Xi);for(var xh in ws)Io.hasOwnProperty(xh)||(Io[xh]=ws[xh]);function o3(i){var e=l3&&(i.ctrlKey||i.altKey||i.metaKey)||s3&&i.shiftKey&&i.key&&i.key.length==1||i.key=="Unidentified",t=!e&&i.key||(i.shiftKey?Io:ws)[i.keyCode]||i.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 rc(i){let e;return i.nodeType==11?e=i.getSelection?i:i.ownerDocument:e=i,e.getSelection()}function Al(i,e){return e?i==e||i.contains(e.nodeType!=1?e.parentNode:e):!1}function a3(i){let e=i.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function Nf(i,e){if(!e.anchorNode)return!1;try{return Al(i,e.anchorNode)}catch{return!1}}function No(i){return i.nodeType==3?Ul(i,0,i.nodeValue.length).getClientRects():i.nodeType==1?i.getClientRects():[]}function sc(i,e,t,n){return t?wm(i,e,t,n,-1)||wm(i,e,t,n,1):!1}function lc(i){for(var e=0;;e++)if(i=i.previousSibling,!i)return e}function wm(i,e,t,n,r){for(;;){if(i==t&&e==n)return!0;if(e==(r<0?0:Lo(i))){if(i.nodeName=="DIV")return!1;let s=i.parentNode;if(!s||s.nodeType!=1)return!1;e=lc(i)+(r<0?0:1),i=s}else if(i.nodeType==1){if(i=i.childNodes[e+(r<0?-1:0)],i.nodeType==1&&i.contentEditable=="false")return!1;e=r<0?Lo(i):0}else return!1}}function Lo(i){return i.nodeType==3?i.nodeValue.length:i.childNodes.length}const u$={left:0,right:0,top:0,bottom:0};function dd(i,e){let t=e?i.left:i.right;return{left:t,right:t,top:i.top,bottom:i.bottom}}function f3(i){return{left:0,right:i.innerWidth,top:0,bottom:i.innerHeight}}function c3(i,e,t,n,r,s,l,o){let f=i.ownerDocument,u=f.defaultView||window;for(let h=i;h;)if(h.nodeType==1){let O,p=h==f.body;if(p)O=f3(u);else{if(h.scrollHeight<=h.clientHeight&&h.scrollWidth<=h.clientWidth){h=h.assignedSlot||h.parentNode;continue}let $=h.getBoundingClientRect();O={left:$.left,right:$.left+h.clientWidth,top:$.top,bottom:$.top+h.clientHeight}}let g=0,b=0;if(r=="nearest")e.top0&&e.bottom>O.bottom+b&&(b=e.bottom-O.bottom+b+l)):e.bottom>O.bottom&&(b=e.bottom-O.bottom+l,t<0&&e.top-b0&&e.right>O.right+g&&(g=e.right-O.right+g+s)):e.right>O.right&&(g=e.right-O.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 h3{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){this.set(e.anchorNode,e.anchorOffset,e.focusNode,e.focusOffset)}set(e,t,n,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=r}}let pl=null;function h$(i){if(i.setActive)return i.setActive();if(pl)return i.focus(pl);let e=[];for(let t=i;t&&(e.push(t,t.scrollTop,t.scrollLeft),t!=t.ownerDocument);t=t.parentNode);if(i.focus(pl==null?{get preventScroll(){return pl={preventScroll:!0},!0}}:void 0),!pl){pl=!1;for(let t=0;tt)return O.domBoundsAround(e,t,u);if(p>=e&&r==-1&&(r=f,s=u),u>t&&O.dom.parentNode==this.dom){l=f,o=h;break}h=p,u=p+O.breakAfter}return{from:s,to:o<0?n+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.dirty|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.dirty|=2),t.dirty&1)return;t.dirty|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.dirty&&this.markParentsDirty(!0))}setDOM(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,n=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 n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function p$(i,e,t,n,r,s,l,o,f){let{children:u}=i,h=u.length?u[e]:null,O=s.length?s[s.length-1]:null,p=O?O.breakAfter:l;if(!(e==n&&h&&!l&&!p&&s.length<2&&h.merge(t,r,s.length?O:null,t==0,o,f))){if(n0&&(!l&&s.length&&h.merge(t,h.length,s[0],!1,o,0)?h.breakAfter=s.shift().breakAfter:(t2);var ve={mac:_m||/Mac/.test(Pn.platform),windows:/Win/.test(Pn.platform),linux:/Linux|X11/.test(Pn.platform),ie:Mc,ie_version:m$?vO.documentMode||6:kO?+kO[1]:PO?+PO[1]:0,gecko:Pm,gecko_version:Pm?+(/Firefox\/(\d+)/.exec(Pn.userAgent)||[0,0])[1]:0,chrome:!!Ch,chrome_version:Ch?+Ch[1]:0,ios:_m,android:/Android\b/.test(Pn.userAgent),webkit:km,safari:S$,webkit_version:km?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:vO.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const p3=256;class ys extends Yt{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(e&&e.node==this.dom&&(e.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,t,n){return n&&(!(n instanceof ys)||this.length-(t-e)+n.length>p3)?!1:(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(t),this.markDirty(),!0)}split(e){let t=new ys(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new Ii(this.dom,e)}domBoundsAround(e,t,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return _O(this.dom,e,t)}}class Pr extends Yt{constructor(e,t=[],n=0){super(),this.mark=e,this.children=t,this.length=n;for(let r of t)r.setParent(this)}setAttrs(e){if(O$(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}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.dirty|=6)}sync(e){this.dom?this.dirty&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e)}merge(e,t,n,r,s,l){return n&&(!(n instanceof Pr&&n.mark.eq(this.mark))||e&&s<=0||te&&t.push(n=e&&(r=s),n=f,s++}let l=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new Pr(this.mark,t,l)}domAtPos(e){return Q$(this,e)}coordsAt(e,t){return y$(this,e,t)}}function _O(i,e,t){let n=i.nodeValue.length;e>n&&(e=n);let r=e,s=e,l=0;e==0&&t<0||e==n&&t>=0?ve.chrome||ve.gecko||(e?(r--,l=1):s=0)?0:o.length-1];return ve.safari&&!l&&f.width==0&&(f=Array.prototype.find.call(o,u=>u.width)||f),l?dd(f,l<0):f||null}class ps extends Yt{constructor(e,t,n){super(),this.widget=e,this.length=t,this.side=n,this.prevWidget=null}static create(e,t,n){return new(e.customView||ps)(e,t,n)}split(e){let t=ps.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(){(!this.dom||!this.widget.updateDOM(this.dom))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(this.editorView)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,t,n,r,s,l){return n&&(!(n instanceof ps)||!this.widget.compare(n.widget)||e>0&&s<=0||t0?n.length-1:0;r=n[s],!(e>0?s==0:s==n.length-1||r.top0?-1:1);return this.length?r:dd(r,this.side>0)}get isEditable(){return!1}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class b$ extends ps{domAtPos(e){let{topView:t,text:n}=this.widget;return t?WO(e,0,t,n,(r,s)=>r.domAtPos(s),r=>new Ii(n,Math.min(r,n.nodeValue.length))):new Ii(n,Math.min(e,n.nodeValue.length))}sync(){this.setDOM(this.widget.toDOM())}localPosFromDOM(e,t){let{topView:n,text:r}=this.widget;return n?$$(e,t,n,r):Math.min(t,this.length)}ignoreMutation(){return!1}get overrideDOMText(){return null}coordsAt(e,t){let{topView:n,text:r}=this.widget;return n?WO(e,t,n,r,(s,l,o)=>s.coordsAt(l,o),(s,l)=>_O(r,s,l)):_O(r,e,t)}destroy(){var e;super.destroy(),(e=this.widget.topView)===null||e===void 0||e.destroy()}get isEditable(){return!0}canReuseDOM(){return!0}}function WO(i,e,t,n,r,s){if(t instanceof Pr){for(let l=t.dom.firstChild;l;l=l.nextSibling){let o=Yt.get(l);if(!o)return s(i,e);let f=Al(l,n),u=o.length+(f?n.nodeValue.length:0);if(i0?-1:1);return n&&n.topt.top?{left:t.left,right:t.right,top:n.top,bottom:n.bottom}:t}get overrideDOMText(){return gt.empty}}ys.prototype.children=ps.prototype.children=Yl.prototype.children=pd;function g3(i,e){let t=i.parent,n=t?t.children.indexOf(i):-1;for(;t&&n>=0;)if(e<0?n>0:ns&&e0;s--){let l=n[s-1];if(l.dom.parentNode==t)return l.domAtPos(l.length)}for(let s=r;s0&&e instanceof Pr&&r.length&&(n=r[r.length-1])instanceof Pr&&n.mark.eq(e.mark)?w$(n,e.children[0],t-1):(r.push(e),e.setParent(i)),i.length+=e.length}function y$(i,e,t){let n=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&&(b>h||p==b&&g.getSide()>0)?(s=g,l=h-p):(p0?3e8:-4e8:t>0?1e8:-1e8,new Bs(e,t,t,n,e.widget||null,!1)}static replace(e){let t=!!e.block,n,r;if(e.isBlockGap)n=-5e8,r=4e8;else{let{start:s,end:l}=v$(e,t);n=(s?t?-3e8:-1:5e8)-1,r=(l?t?2e8:1:-6e8)+1}return new Bs(e,n,r,t,e.widget||null,!0)}static line(e){return new ra(e)}static set(e,t=!1){return yt.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}xe.none=yt.empty;class Dc extends xe{constructor(e){let{start:t,end:n}=v$(e);super(t?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){return this==e||e instanceof Dc&&this.tagName==e.tagName&&this.class==e.class&&gd(this.attrs,e.attrs)}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}Dc.prototype.point=!1;class ra extends xe{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof ra&&this.spec.class==e.spec.class&&gd(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)}}ra.prototype.mapMode=Ti.TrackBefore;ra.prototype.point=!0;class Bs extends xe{constructor(e,t,n,r,s,l){super(t,n,s,e),this.block=r,this.isReplace=l,this.mapMode=r?t<=0?Ti.TrackBefore:Ti.TrackAfter:Ti.TrackDel}get type(){return this.startSide=5}eq(e){return e instanceof Bs&&S3(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)}}Bs.prototype.point=!0;function v$(i,e=!1){let{inclusiveStart:t,inclusiveEnd:n}=i;return t==null&&(t=i.inclusive),n==null&&(n=i.inclusive),{start:t??e,end:n??e}}function S3(i,e){return i==e||!!(i&&e&&i.compare(e))}function XO(i,e,t,n=0){let r=t.length-1;r>=0&&t[r]+n>=i?t[r]=Math.max(t[r],e):t.push(i,e)}class Hi extends Yt{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,n,r,s,l){if(n){if(!(n instanceof Hi))return!1;this.dom||n.transferDOM(this)}return r&&this.setDeco(n?n.attrs:null),g$(this,e,t,n?n.children:[],s,l),!0}split(e){let t=new Hi;if(t.breakAfter=this.breakAfter,this.length==0)return t;let{i:n,off:r}=this.childPos(e);r&&(t.append(this.children[n].split(r),0),this.children[n].merge(r,this.children[n].length,null,!1,0,0),n++);for(let s=n;s0&&this.children[n-1].length==0;)this.children[--n].destroy();return this.children.length=n,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){gd(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,n=e.spec.class;t&&(this.attrs=xO(t,this.attrs||{})),n&&(this.attrs=xO({class:n},this.attrs||{}))}domAtPos(e){return Q$(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.dirty|=6)}sync(e){var t;this.dom?this.dirty&4&&(O$(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&&(CO(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e);let n=this.dom.lastChild;for(;n&&Yt.get(n)instanceof Pr;)n=n.lastChild;if(!n||!this.length||n.nodeName!="BR"&&((t=Yt.get(n))===null||t===void 0?void 0:t.isEditable)==!1&&(!ve.ios||!this.children.some(r=>r instanceof ys))){let r=document.createElement("BR");r.cmIgnore=!0,this.dom.appendChild(r)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0;for(let t of this.children){if(!(t instanceof ys)||/[^ -~]/.test(t.text))return null;let n=No(t.dom);if(n.length!=1)return null;e+=n[0].width}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length}:null}coordsAt(e,t){return y$(this,e,t)}become(e){return!1}get type(){return Tt.Text}static find(e,t){for(let n=0,r=0;n=t){if(s instanceof Hi)return s;if(l>t)break}r=l+s.breakAfter}return null}}class Ns extends Yt{constructor(e,t,n){super(),this.widget=e,this.length=t,this.type=n,this.breakAfter=0,this.prevWidget=null}merge(e,t,n,r,s,l){return n&&(!(n instanceof Ns)||!this.widget.compare(n.widget)||e>0&&s<=0||t0;){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-n)),this.getLine().append($f(new ys(this.text.slice(this.textOff,this.textOff+r)),t),n),this.atCursorPos=!0,this.textOff+=r,e-=r,n=0}}span(e,t,n,r){this.buildText(t-e,n,r),this.pos=t,this.openStart<0&&(this.openStart=r)}point(e,t,n,r,s,l){if(this.disallowBlockEffectsFor[l]&&n instanceof Bs){if(n.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(n instanceof Bs)if(n.block){let{type:f}=n;f==Tt.WidgetAfter&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Ns(n.widget||new Wm("div"),o,f))}else{let f=ps.create(n.widget||new Wm("span"),o,o?0:n.startSide),u=this.atCursorPos&&!f.isEditable&&s<=r.length&&(e0),h=!f.isEditable&&(er.length||n.startSide<=0),O=this.getLine();this.pendingBuffer==2&&!u&&(this.pendingBuffer=0),this.flushBuffer(r),u&&(O.append($f(new Yl(1),r),s),s=r.length+Math.max(0,s-r.length)),O.append($f(f,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(n);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,n,r,s){let l=new md(e,t,n,s);return l.openEnd=yt.spans(r,t,n,l),l.openStart<0&&(l.openStart=l.openEnd),l.finish(l.openEnd),l}}function $f(i,e){for(let t of e)i=new Pr(t,[i],i.length);return i}class Wm extends Br{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}}const P$=Pe.define(),k$=Pe.define(),_$=Pe.define(),W$=Pe.define(),TO=Pe.define(),x$=Pe.define(),C$=Pe.define({combine:i=>i.some(e=>e)}),X$=Pe.define({combine:i=>i.some(e=>e)});class oc{constructor(e,t="nearest",n="nearest",r=5,s=5){this.range=e,this.y=t,this.x=n,this.yMargin=r,this.xMargin=s}map(e){return e.empty?this:new oc(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const xm=qe.define({map:(i,e)=>i.map(e)});function _n(i,e,t){let n=i.facet(W$);n.length?n[0](e):window.onerror?window.onerror(String(e),t,void 0,void 0,e):t?console.error(t+":",e):console.error(e)}const zc=Pe.define({combine:i=>i.length?i[0]:!0});let b3=0;const Wo=Pe.define();class hi{constructor(e,t,n,r){this.id=e,this.create=t,this.domEventHandlers=n,this.extension=r(this)}static define(e,t){const{eventHandlers:n,provide:r,decorations:s}=t||{};return new hi(b3++,e,n,l=>{let o=[Wo.of(l)];return s&&o.push(Bo.of(f=>{let u=f.plugin(l);return u?s(u):xe.none})),r&&o.push(r(l)),o})}static fromClass(e,t){return hi.define(n=>new e(n),t)}}class Xh{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(n){if(_n(t.state,n,"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){_n(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(n){_n(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const T$=Pe.define(),Sd=Pe.define(),Bo=Pe.define(),Z$=Pe.define(),R$=Pe.define(),xo=Pe.define();class vr{constructor(e,t,n,r){this.fromA=e,this.toA=t,this.fromB=n,this.toB=r}join(e){return new vr(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,n=this;for(;t>0;t--){let r=e[t-1];if(!(r.fromA>n.toA)){if(r.toAh)break;s+=2}if(!f)return n;new vr(f.fromA,f.toA,f.fromB,f.toB).addToSet(n),l=f.toA,o=f.toB}}}class ac{constructor(e,t,n){this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=mi.empty(this.startState.doc.length);for(let l of n)this.changes=this.changes.compose(l.changes);let r=[];this.changes.iterChangedRanges((l,o,f,u)=>r.push(new vr(l,o,f,u))),this.changedRanges=r;let s=e.hasFocus;s!=e.inputState.notifiedFocused&&(e.inputState.notifiedFocused=s,this.flags|=1)}static create(e,t,n){return new ac(e,t,n)}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 Ht=function(i){return i[i.LTR=0]="LTR",i[i.RTL=1]="RTL",i}(Ht||(Ht={}));const ZO=Ht.LTR,$3=Ht.RTL;function A$(i){let e=[];for(let t=0;t=t){if(o.level==n)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}}const Ft=[];function P3(i,e){let t=i.length,n=e==ZO?1:2,r=e==ZO?2:1;if(!i||n==1&&!v3.test(i))return U$(t);for(let l=0,o=n,f=n;l=0;p-=3)if(Or[p+1]==-h){let g=Or[p+2],b=g&2?n:g&4?g&1?r:n:0;b&&(Ft[l]=Ft[Or[p]]=b),o=p;break}}else{if(Or.length==189)break;Or[o++]=l,Or[o++]=u,Or[o++]=f}else if((O=Ft[l])==2||O==1){let p=O==n;f=p?0:1;for(let g=o-3;g>=0;g-=3){let b=Or[g+2];if(b&2)break;if(p)Or[g+2]|=2;else{if(b&4)break;Or[g+2]|=4}}}for(let l=0;lo;){let h=u,O=Ft[--u]!=2;for(;u>o&&O==(Ft[u-1]!=2);)u--;s.push(new Cl(u,h,O?2:1))}else s.push(new Cl(o,l,0))}else for(let l=0;l1)for(let f of this.points)f.node==e&&f.pos>this.text.length&&(f.pos-=l-1);n=s+l}}readNode(e){if(e.cmIgnore)return;let t=Yt.get(e),n=t&&t.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let r=n.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 n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+Math.min(t,n.offset))}}function Cm(i){return i.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(i.nodeName)}class Xm{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class Tm extends Yt{constructor(e){super(),this.view=e,this.compositionDeco=xe.none,this.decorations=[],this.dynamicDecorationMap=[],this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new Hi],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new vr(0,0,0,e.state.doc.length)],0)}get editorView(){return this.view}get length(){return this.view.state.doc.length}update(e){let t=e.changedRanges;this.minWidth>0&&t.length&&(t.every(({fromA:l,toA:o})=>othis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.view.inputState.composing<0?this.compositionDeco=xe.none:(e.transactions.length||this.dirty)&&(this.compositionDeco=W3(this.view,e.changes)),(ve.ie||ve.chrome)&&!this.compositionDeco.size&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let n=this.decorations,r=this.updateDeco(),s=T3(n,r,e.changes);return t=vr.extendWithRanges(t,s),this.dirty==0&&t.length==0?!1:(this.updateInner(t,e.startState.doc.length),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t);let{observer:n}=this.view;n.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=ve.chrome||ve.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.sync(s),this.dirty=0,s&&(s.written||n.selectionRange.focusNode!=s.node)&&(this.forceSelection=!0),this.dom.style.height=""});let r=[];if(this.view.viewport.from||this.view.viewport.to=0?e[r]:null;if(!s)break;let{fromA:l,toA:o,fromB:f,toB:u}=s,{content:h,breakAtStart:O,openStart:p,openEnd:g}=md.build(this.view.state.doc,f,u,this.decorations,this.dynamicDecorationMap),{i:b,off:$}=n.findPos(o,1),{i:Q,off:W}=n.findPos(l,-1);p$(this,Q,W,b,$,h,O,p,g)}}updateSelection(e=!1,t=!1){if((e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange(),!(t||this.mayControlSelection()))return;let n=this.forceSelection;this.forceSelection=!1;let r=this.view.state.selection.main,s=this.domAtPos(r.anchor),l=r.empty?s:this.domAtPos(r.head);if(ve.gecko&&r.empty&&_3(s)){let f=document.createTextNode("");this.view.observer.ignore(()=>s.node.insertBefore(f,s.node.childNodes[s.offset]||null)),s=l=new Ii(f,0),n=!0}let o=this.view.observer.selectionRange;(n||!o.focusNode||!sc(s.node,s.offset,o.anchorNode,o.anchorOffset)||!sc(l.node,l.offset,o.focusNode,o.focusOffset))&&(this.view.observer.ignore(()=>{ve.android&&ve.chrome&&this.dom.contains(o.focusNode)&&Z3(o.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let f=rc(this.view.root);if(f)if(r.empty){if(ve.gecko){let u=C3(s.node,s.offset);if(u&&u!=3){let h=E$(s.node,s.offset,u==1?1:-1);h&&(s=new Ii(h,u==1?0:h.nodeValue.length))}}f.collapse(s.node,s.offset),r.bidiLevel!=null&&o.cursorBidiLevel!=null&&(o.cursorBidiLevel=r.bidiLevel)}else if(f.extend){f.collapse(s.node,s.offset);try{f.extend(l.node,l.offset)}catch{}}else{let u=document.createRange();r.anchor>r.head&&([s,l]=[l,s]),u.setEnd(l.node,l.offset),u.setStart(s.node,s.offset),f.removeAllRanges(),f.addRange(u)}}),this.view.observer.setSelectionRange(s,l)),this.impreciseAnchor=s.precise?null:new Ii(o.anchorNode,o.anchorOffset),this.impreciseHead=l.precise?null:new Ii(o.focusNode,o.focusOffset)}enforceCursorAssoc(){if(this.compositionDeco.size)return;let{view:e}=this,t=e.state.selection.main,n=rc(e.root),{anchorNode:r,anchorOffset:s}=e.observer.selectionRange;if(!n||!t.empty||!t.assoc||!n.modify)return;let l=Hi.find(this,t.head);if(!l)return;let o=l.posAtStart;if(t.head==o||t.head==o+l.length)return;let f=this.coordsAt(t.head,-1),u=this.coordsAt(t.head,1);if(!f||!u||f.bottom>u.top)return;let h=this.domAtPos(t.head+t.assoc);n.collapse(h.node,h.offset),n.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&&n.collapse(r,s)}mayControlSelection(){let e=this.view.root.activeElement;return e==this.dom||Nf(this.dom,this.view.observer.selectionRange)&&!(e&&this.dom.contains(e))}nearest(e){for(let t=e;t;){let n=Yt.get(t);if(n&&n.rootView==this)return n;t=t.parentNode}return null}posFromDOM(e,t){let n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,t)+n.posAtStart}domAtPos(e){let{i:t,off:n}=this.childCursor().findPos(e,-1);for(;tl||e==l&&s.type!=Tt.WidgetBefore&&s.type!=Tt.WidgetAfter&&(!r||t==2||this.children[r-1].breakAfter||this.children[r-1].type==Tt.WidgetBefore&&t>-2))return s.coordsAt(e-l,t);n=l}}measureVisibleLineHeights(e){let t=[],{from:n,to:r}=e,s=this.view.contentDOM.clientWidth,l=s>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,f=this.view.textDirection==Ht.LTR;for(let u=0,h=0;hr)break;if(u>=n){let g=O.dom.getBoundingClientRect();if(t.push(g.height),l){let b=O.dom.lastChild,$=b?No(b):[];if($.length){let Q=$[$.length-1],W=f?Q.right-g.left:g.right-Q.left;W>o&&(o=W,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"?Ht.RTL:Ht.LTR}measureTextSize(){for(let r of this.children)if(r instanceof Hi){let s=r.measureTextSize();if(s)return s}let e=document.createElement("div"),t,n;return e.className="cm-line",e.style.width="99999px",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let r=No(e.firstChild)[0];t=e.getBoundingClientRect().height,n=r?r.width/27:7,e.remove()}),{lineHeight:t,charWidth:n}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new d$(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,r=0;;r++){let s=r==t.viewports.length?null:t.viewports[r],l=s?s.from-1:this.length;if(l>n){let o=t.lineBlockAt(l).bottom-t.lineBlockAt(n).top;e.push(xe.replace({widget:new Zm(o),block:!0,inclusive:!0,isBlockGap:!0}).range(n,l))}if(!s)break;n=s.to+1}return xe.set(e)}updateDeco(){let e=this.view.state.facet(Bo).map((t,n)=>(this.dynamicDecorationMap[n]=typeof t=="function")?t(this.view):t);for(let t=e.length;tt.anchor?-1:1),r;if(!n)return;!t.empty&&(r=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(n={left:Math.min(n.left,r.left),top:Math.min(n.top,r.top),right:Math.max(n.right,r.right),bottom:Math.max(n.bottom,r.bottom)});let s=0,l=0,o=0,f=0;for(let h of this.view.state.facet(R$).map(O=>O(this.view)))if(h){let{left:O,right:p,top:g,bottom:b}=h;O!=null&&(s=Math.max(s,O)),p!=null&&(l=Math.max(l,p)),g!=null&&(o=Math.max(o,g)),b!=null&&(f=Math.max(f,b))}let u={left:n.left-s,top:n.top-o,right:n.right+l,bottom:n.bottom+f};c3(this.view.scrollDOM,u,t.head0&&t<=0)i=i.childNodes[e-1],e=Lo(i);else if(i.nodeType==1&&e=0)i=i.childNodes[e],e=0;else return null}}function C3(i,e){return i.nodeType!=1?0:(e&&i.childNodes[e-1].contentEditable=="false"?1:0)|(e0;){let u=Fi(r.text,l,!1);if(n(r.text.slice(u,l))!=f)break;l=u}for(;oi?e.left-i:Math.max(0,i-e.right)}function U3(i,e){return e.top>i?e.top-i:Math.max(0,i-e.bottom)}function Th(i,e){return i.tope.top+1}function Rm(i,e){return ei.bottom?{top:i.top,left:i.left,right:i.right,bottom:e}:i}function AO(i,e,t){let n,r,s,l,o=!1,f,u,h,O;for(let b=i.firstChild;b;b=b.nextSibling){let $=No(b);for(let Q=0;Q<$.length;Q++){let W=$[Q];r&&Th(r,W)&&(W=Rm(Am(W,r.bottom),r.top));let x=A3(e,W),Z=U3(t,W);if(x==0&&Z==0)return b.nodeType==3?Um(b,e,t):AO(b,e,t);(!n||l>Z||l==Z&&s>x)&&(n=b,r=W,s=x,l=Z,o=!x||(x>0?Q<$.length-1:Q>0)),x==0?t>W.bottom&&(!h||h.bottomW.top)&&(u=b,O=W):h&&Th(h,W)?h=Am(h,W.bottom):O&&Th(O,W)&&(O=Rm(O,W.top))}}if(h&&h.bottom>=t?(n=f,r=h):O&&O.top<=t&&(n=u,r=O),!n)return{node:i,offset:0};let p=Math.max(r.left,Math.min(r.right,e));if(n.nodeType==3)return Um(n,p,t);if(o&&n.contentEditable!="false")return AO(n,p,t);let g=Array.prototype.indexOf.call(i.childNodes,n)+(e>=(r.left+r.right)/2?1:0);return{node:i,offset:g}}function Um(i,e,t){let n=i.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((ve.chrome||ve.gecko)&&Ul(i,o).getBoundingClientRect().left==h.right&&(g=!p),O<=0)return{node:i,offset:o+(g?1:0)};r=o+(g?1:0),s=O}}}return{node:i,offset:r>-1?r:l>0?i.nodeValue.length:0}}function M$(i,{x:e,y:t},n,r=-1){var s;let l=i.contentDOM.getBoundingClientRect(),o=l.top+i.viewState.paddingTop,f,{docHeight:u}=i.viewState,h=t-o;if(h<0)return 0;if(h>u)return i.state.doc.length;for(let W=i.defaultLineHeight/2,x=!1;f=i.elementAtHeight(h),f.type!=Tt.Text;)for(;h=r>0?f.bottom+W:f.top-W,!(h>=0&&h<=u);){if(x)return n?null:0;x=!0,r=-r}t=o+h;let O=f.from;if(Oi.viewport.to)return i.viewport.to==i.state.doc.length?i.state.doc.length:n?null:Ym(i,l,f,e,t);let p=i.dom.ownerDocument,g=i.root.elementFromPoint?i.root:p,b=g.elementFromPoint(e,t);b&&!i.contentDOM.contains(b)&&(b=null),b||(e=Math.max(l.left+1,Math.min(l.right-1,e)),b=g.elementFromPoint(e,t),b&&!i.contentDOM.contains(b)&&(b=null));let $,Q=-1;if(b&&((s=i.docView.nearest(b))===null||s===void 0?void 0:s.isEditable)!=!1){if(p.caretPositionFromPoint){let W=p.caretPositionFromPoint(e,t);W&&({offsetNode:$,offset:Q}=W)}else if(p.caretRangeFromPoint){let W=p.caretRangeFromPoint(e,t);W&&({startContainer:$,startOffset:Q}=W,(!i.contentDOM.contains($)||ve.safari&&Y3($,Q,e)||ve.chrome&&V3($,Q,e))&&($=void 0))}}if(!$||!i.docView.dom.contains($)){let W=Hi.find(i.docView,O);if(!W)return h>f.top+f.height/2?f.to:f.from;({node:$,offset:Q}=AO(W.dom,e,t))}return i.docView.posFromDOM($,Q)}function Ym(i,e,t,n,r){let s=Math.round((n-e.left)*i.defaultCharacterWidth);if(i.lineWrapping&&t.height>i.defaultLineHeight*1.5){let o=Math.floor((r-t.top)/i.defaultLineHeight);s+=o*i.viewState.heightOracle.lineLength}let l=i.state.sliceDoc(t.from,t.to);return t.from+QO(l,s,i.state.tabSize)}function Y3(i,e,t){let n;if(i.nodeType!=3||e!=(n=i.nodeValue.length))return!1;for(let r=i.nextSibling;r;r=r.nextSibling)if(r.nodeType!=1||r.nodeName!="BR")return!1;return Ul(i,n-1,n).getBoundingClientRect().left>t}function V3(i,e,t){if(e!=0)return!1;for(let r=i;;){let s=r.parentNode;if(!s||s.nodeType!=1||s.firstChild!=r)return!1;if(s.classList.contains("cm-line"))break;r=s}let n=i.nodeType==1?i.getBoundingClientRect():Ul(i,0,Math.max(i.nodeValue.length,1)).getBoundingClientRect();return t-n.left>5}function q3(i,e,t,n){let r=i.state.doc.lineAt(e.head),s=!n||!i.lineWrapping?null:i.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head);if(s){let f=i.dom.getBoundingClientRect(),u=i.textDirectionAt(r.from),h=i.posAtCoords({x:t==(u==Ht.LTR)?f.right-1:f.left+1,y:(s.top+s.bottom)/2});if(h!=null)return K.cursor(h,t?-1:1)}let l=Hi.find(i.docView,e.head),o=l?t?l.posAtEnd:l.posAtStart:t?r.to:r.from;return K.cursor(o,t?-1:1)}function Vm(i,e,t,n){let r=i.state.doc.lineAt(e.head),s=i.bidiSpans(r),l=i.textDirectionAt(r.from);for(let o=e,f=null;;){let u=k3(r,s,l,o,t),h=Y$;if(!u){if(r.number==(t?i.state.doc.lines:1))return o;h=` -`,r=i.state.doc.line(r.number+(t?1:-1)),s=i.bidiSpans(r),u=K.cursor(t?r.from:r.to)}if(f){if(!f(h))return o}else{if(!n)return u;f=n(h)}o=u}}function E3(i,e,t){let n=i.state.charCategorizer(e),r=n(t);return s=>{let l=n(s);return r==It.Space&&(r=l),r==l}}function M3(i,e,t,n){let r=e.head,s=t?1:-1;if(r==(t?i.state.doc.length:0))return K.cursor(r,e.assoc);let l=e.goalColumn,o,f=i.contentDOM.getBoundingClientRect(),u=i.coordsAtPos(r),h=i.documentTop;if(u)l==null&&(l=u.left-f.left),o=s<0?u.top:u.bottom;else{let g=i.viewState.lineBlockAt(r);l==null&&(l=Math.min(f.right-f.left,i.defaultCharacterWidth*(r-g.from))),o=(s<0?g.top:g.bottom)+h}let O=f.left+l,p=n??i.defaultLineHeight>>1;for(let g=0;;g+=10){let b=o+(p+g)*s,$=M$(i,{x:O,y:b},!1,s);if(bf.bottom||(s<0?$r))return K.cursor($,e.assoc,void 0,l)}}function Zh(i,e,t){let n=i.state.facet(Z$).map(r=>r(i));for(;;){let r=!1;for(let s of n)s.between(t.from-1,t.from+1,(l,o,f)=>{t.from>l&&t.fromt.from?K.cursor(l,1):K.cursor(o,-1),r=!0)});if(!r)return t}}class D3{constructor(e){this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.chromeScrollHack=-1,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.registeredEvents=[],this.customHandlers=[],this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.mouseSelection=null;let t=(n,r)=>{this.ignoreDuringComposition(r)||r.type=="keydown"&&this.keydown(e,r)||(this.mustFlushObserver(r)&&e.observer.forceFlush(),this.runCustomHandlers(r.type,e,r)?r.preventDefault():n(e,r))};for(let n in bi){let r=bi[n];e.contentDOM.addEventListener(n,s=>{qm(e,s)&&t(r,s)},UO[n]),this.registeredEvents.push(n)}e.scrollDOM.addEventListener("mousedown",n=>{n.target==e.scrollDOM&&t(bi.mousedown,n)}),ve.chrome&&ve.chrome_version==102&&e.scrollDOM.addEventListener("wheel",()=>{this.chromeScrollHack<0?e.contentDOM.style.pointerEvents="none":window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout(()=>{this.chromeScrollHack=-1,e.contentDOM.style.pointerEvents=""},100)},{passive:!0}),this.notifiedFocused=e.hasFocus,ve.safari&&e.contentDOM.addEventListener("input",()=>null)}setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}ensureHandlers(e,t){var n;let r;this.customHandlers=[];for(let s of t)if(r=(n=s.update(e).spec)===null||n===void 0?void 0:n.domEventHandlers){this.customHandlers.push({plugin:s.value,handlers:r});for(let l in r)this.registeredEvents.indexOf(l)<0&&l!="scroll"&&(this.registeredEvents.push(l),e.contentDOM.addEventListener(l,o=>{qm(e,o)&&this.runCustomHandlers(l,e,o)&&o.preventDefault()}))}}runCustomHandlers(e,t,n){for(let r of this.customHandlers){let s=r.handlers[e];if(s)try{if(s.call(r.plugin,n,t)||n.defaultPrevented)return!0}catch(l){_n(t.state,l)}}return!1}runScrollHandlers(e,t){this.lastScrollTop=e.scrollDOM.scrollTop,this.lastScrollLeft=e.scrollDOM.scrollLeft;for(let n of this.customHandlers){let r=n.handlers.scroll;if(r)try{r.call(n.plugin,t,e)}catch(s){_n(e.state,s)}}}keydown(e,t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&Date.now()r.keyCode==t.keyCode))&&!t.ctrlKey||z3.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=n||t,setTimeout(()=>this.flushIOSKey(e),250),!0):!1}flushIOSKey(e){let t=this.pendingIOSKey;return t?(this.pendingIOSKey=void 0,xl(e.contentDOM,t.key,t.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:ve.safari&&!ve.ios&&Date.now()-this.compositionEndedAt<100?(this.compositionEndedAt=0,!0):!1:!1}mustFlushObserver(e){return e.type=="keydown"&&e.keyCode!=229}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const D$=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],z3="dthko",z$=[16,17,18,20,91,92,224,225];function Qf(i){return i*.7+8}class I3{constructor(e,t,n,r){this.view=e,this.style=n,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParent=u3(e.contentDOM);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(at.allowMultipleSelections)&&N3(e,t),this.dragMove=L3(e,t),this.dragging=B3(e,t)&&B$(t)==1?null:!1,this.dragging===!1&&(t.preventDefault(),this.select(t))}move(e){var t;if(e.buttons==0)return this.destroy();if(this.dragging!==!1)return;this.select(this.lastEvent=e);let n=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};e.clientX<=s.left?n=-Qf(s.left-e.clientX):e.clientX>=s.right&&(n=Qf(e.clientX-s.right)),e.clientY<=s.top?r=-Qf(s.top-e.clientY):e.clientY>=s.bottom&&(r=Qf(e.clientY-s.bottom)),this.setScrollSpeed(n,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=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)}select(e){let t=this.style.get(e,this.extend,this.multiple);(this.mustSelect||!t.eq(this.view.state.selection)||t.main.assoc!=this.view.state.selection.main.assoc)&&this.view.dispatch({selection:t,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.docChanged&&this.dragging&&(this.dragging=this.dragging.map(e.changes)),this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function N3(i,e){let t=i.state.facet(P$);return t.length?t[0](e):ve.mac?e.metaKey:e.ctrlKey}function L3(i,e){let t=i.state.facet(k$);return t.length?t[0](e):ve.mac?!e.altKey:!e.ctrlKey}function B3(i,e){let{main:t}=i.state.selection;if(t.empty)return!1;let n=rc(i.root);if(!n||n.rangeCount==0)return!0;let r=n.getRangeAt(0).getClientRects();for(let s=0;s=e.clientX&&l.top<=e.clientY&&l.bottom>=e.clientY)return!0}return!1}function qm(i,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,n;t!=i.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(n=Yt.get(t))&&n.ignoreEvent(e))return!1;return!0}const bi=Object.create(null),UO=Object.create(null),I$=ve.ie&&ve.ie_version<15||ve.ios&&ve.webkit_version<604;function j3(i){let e=i.dom.parentNode;if(!e)return;let t=e.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{i.focus(),t.remove(),N$(i,t.value)},50)}function N$(i,e){let{state:t}=i,n,r=1,s=t.toText(e),l=s.lines==t.selection.ranges.length;if(YO!=null&&t.selection.ranges.every(f=>f.empty)&&YO==s.toString()){let f=-1;n=t.changeByRange(u=>{let h=t.doc.lineAt(u.from);if(h.from==f)return{range:u};f=h.from;let O=t.toText((l?s.line(r++).text:e)+t.lineBreak);return{changes:{from:h.from,insert:O},range:K.cursor(u.from+O.length)}})}else l?n=t.changeByRange(f=>{let u=s.line(r++);return{changes:{from:f.from,to:f.to,insert:u.text},range:K.cursor(f.from+u.length)}}):n=t.replaceSelection(s);i.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}bi.keydown=(i,e)=>{i.inputState.setSelectionOrigin("select"),e.keyCode==27?i.inputState.lastEscPress=Date.now():z$.indexOf(e.keyCode)<0&&(i.inputState.lastEscPress=0)};bi.touchstart=(i,e)=>{i.inputState.lastTouchTime=Date.now(),i.inputState.setSelectionOrigin("select.pointer")};bi.touchmove=i=>{i.inputState.setSelectionOrigin("select.pointer")};UO.touchstart=UO.touchmove={passive:!0};bi.mousedown=(i,e)=>{if(i.observer.flush(),i.inputState.lastTouchTime>Date.now()-2e3)return;let t=null;for(let n of i.state.facet(_$))if(t=n(i,e),t)break;if(!t&&e.button==0&&(t=H3(i,e)),t){let n=i.root.activeElement!=i.contentDOM;n&&i.observer.ignore(()=>h$(i.contentDOM)),i.inputState.startMouseSelection(new I3(i,e,t,n))}};function Em(i,e,t,n){if(n==1)return K.cursor(e,t);if(n==2)return R3(i.state,e,t);{let r=Hi.find(i.docView,e),s=i.state.doc.lineAt(r?r.posAtEnd:e),l=r?r.posAtStart:s.from,o=r?r.posAtEnd:s.to;return oi>=e.top&&i<=e.bottom,Mm=(i,e,t)=>L$(e,t)&&i>=t.left&&i<=t.right;function G3(i,e,t,n){let r=Hi.find(i.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&&Mm(t,n,l))return-1;let o=r.coordsAt(s,1);return o&&Mm(t,n,o)?1:l&&L$(n,l)?-1:1}function Dm(i,e){let t=i.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:G3(i,t,e.clientX,e.clientY)}}const F3=ve.ie&&ve.ie_version<=11;let zm=null,Im=0,Nm=0;function B$(i){if(!F3)return i.detail;let e=zm,t=Nm;return zm=i,Nm=Date.now(),Im=!e||t>Date.now()-400&&Math.abs(e.clientX-i.clientX)<2&&Math.abs(e.clientY-i.clientY)<2?(Im+1)%3:1}function H3(i,e){let t=Dm(i,e),n=B$(e),r=i.state.selection;return{update(s){s.docChanged&&(t.pos=s.changes.mapPos(t.pos),r=r.map(s.changes))},get(s,l,o){let f=Dm(i,s),u=Em(i,f.pos,f.bias,n);if(t.pos!=f.pos&&!l){let h=Em(i,t.pos,t.bias,n),O=Math.min(h.from,u.from),p=Math.max(h.to,u.to);u=O1&&r.ranges.some(h=>h.eq(u))?K3(r,u):o?r.addRange(u):K.create([u])}}}function K3(i,e){for(let t=0;;t++)if(i.ranges[t].eq(e))return K.create(i.ranges.slice(0,t).concat(i.ranges.slice(t+1)),i.mainIndex==t?0:i.mainIndex-(i.mainIndex>t?1:0))}bi.dragstart=(i,e)=>{let{selection:{main:t}}=i.state,{mouseSelection:n}=i.inputState;n&&(n.dragging=t),e.dataTransfer&&(e.dataTransfer.setData("Text",i.state.sliceDoc(t.from,t.to)),e.dataTransfer.effectAllowed="copyMove")};function Lm(i,e,t,n){if(!t)return;let r=i.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:s}=i.inputState,l=n&&s&&s.dragging&&s.dragMove?{from:s.dragging.from,to:s.dragging.to}:null,o={from:r,insert:t},f=i.state.changes(l?[l,o]:o);i.focus(),i.dispatch({changes:f,selection:{anchor:f.mapPos(r,-1),head:f.mapPos(r,1)},userEvent:l?"move.drop":"input.drop"})}bi.drop=(i,e)=>{if(!e.dataTransfer)return;if(i.state.readOnly)return e.preventDefault();let t=e.dataTransfer.files;if(t&&t.length){e.preventDefault();let n=Array(t.length),r=0,s=()=>{++r==t.length&&Lm(i,e,n.filter(l=>l!=null).join(i.state.lineBreak),!1)};for(let l=0;l{/[\x00-\x08\x0e-\x1f]{2}/.test(o.result)||(n[l]=o.result),s()},o.readAsText(t[l])}}else Lm(i,e,e.dataTransfer.getData("Text"),!0)};bi.paste=(i,e)=>{if(i.state.readOnly)return e.preventDefault();i.observer.flush();let t=I$?null:e.clipboardData;t?(N$(i,t.getData("text/plain")),e.preventDefault()):j3(i)};function J3(i,e){let t=i.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),i.focus()},50)}function e5(i){let e=[],t=[],n=!1;for(let r of i.selection.ranges)r.empty||(e.push(i.sliceDoc(r.from,r.to)),t.push(r));if(!e.length){let r=-1;for(let{from:s}of i.selection.ranges){let l=i.doc.lineAt(s);l.number>r&&(e.push(l.text),t.push({from:l.from,to:Math.min(i.doc.length,l.to+1)})),r=l.number}n=!0}return{text:e.join(i.lineBreak),ranges:t,linewise:n}}let YO=null;bi.copy=bi.cut=(i,e)=>{let{text:t,ranges:n,linewise:r}=e5(i.state);if(!t&&!r)return;YO=r?t:null;let s=I$?null:e.clipboardData;s?(e.preventDefault(),s.clearData(),s.setData("text/plain",t)):J3(i,t),e.type=="cut"&&!i.state.readOnly&&i.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"})};function j$(i){setTimeout(()=>{i.hasFocus!=i.inputState.notifiedFocused&&i.update([])},10)}bi.focus=i=>{i.inputState.lastFocusTime=Date.now(),!i.scrollDOM.scrollTop&&(i.inputState.lastScrollTop||i.inputState.lastScrollLeft)&&(i.scrollDOM.scrollTop=i.inputState.lastScrollTop,i.scrollDOM.scrollLeft=i.inputState.lastScrollLeft),j$(i)};bi.blur=i=>{i.observer.clearSelectionRange(),j$(i)};bi.compositionstart=bi.compositionupdate=i=>{i.inputState.compositionFirstChange==null&&(i.inputState.compositionFirstChange=!0),i.inputState.composing<0&&(i.inputState.composing=0)};bi.compositionend=i=>{i.inputState.composing=-1,i.inputState.compositionEndedAt=Date.now(),i.inputState.compositionFirstChange=null,ve.chrome&&ve.android&&i.observer.flushSoon(),setTimeout(()=>{i.inputState.composing<0&&i.docView.compositionDeco.size&&i.update([])},50)};bi.contextmenu=i=>{i.inputState.lastContextMenu=Date.now()};bi.beforeinput=(i,e)=>{var t;let n;if(ve.chrome&&ve.android&&(n=D$.find(r=>r.inputType==e.inputType))&&(i.observer.delayAndroidKey(n.key,n.keyCode),n.key=="Backspace"||n.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&&i.hasFocus&&(i.contentDOM.blur(),i.focus())},100)}};const Bm=["pre-wrap","normal","pre-line","break-spaces"];class t5{constructor(e){this.lineWrapping=e,this.doc=gt.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength)),this.lineHeight*n}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 Bm.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n-1,o=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=l;if(this.lineWrapping=l,this.lineHeight=t,this.charWidth=n,this.lineLength=r,o){this.heightSamples={};for(let f=0;f0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,t){this.height!=t&&(Math.abs(this.height-t)>Lf&&(e.heightChanged=!0),this.height=t)}replace(e,t,n){return Ki.of(n)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,r){let s=this;for(let l=r.length-1;l>=0;l--){let{fromA:o,toA:f,fromB:u,toB:h}=r[l],O=s.lineAt(o,At.ByPosNoHeight,t,0,0),p=O.to>=f?O:s.lineAt(f,At.ByPosNoHeight,t,0,0);for(h+=p.to-f,f=p.to;l>0&&O.from<=r[l-1].toA;)o=r[l-1].fromA,u=r[l-1].fromB,l--,os*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),n+=1+o.break,r-=o.size}else if(s>r*2){let o=e[n];o.break?e.splice(n,1,o.left,null,o.right):e.splice(n,1,o.left,o.right),n+=2+o.break,s-=o.size}else break;else if(r=s&&l(this.blockAt(0,n,r,s))}updateHeight(e,t=0,n=!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 yn extends G${constructor(e,t){super(e,t,Tt.Text),this.collapsed=0,this.widgetHeight=0}replace(e,t,n){let r=n[0];return n.length==1&&(r instanceof yn||r instanceof xi&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof xi?r=new yn(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):Ki.of(n)}updateHeight(e,t=0,n=!1,r){return r&&r.from<=t&&r.more?this.setHeight(e,r.heights[r.index++]):(n||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class xi extends Ki{constructor(e){super(e,0)}lines(e,t){let n=e.lineAt(t).number,r=e.lineAt(t+this.length).number;return{firstLine:n,lastLine:r,lineHeight:this.height/(r-n+1)}}blockAt(e,t,n,r){let{firstLine:s,lastLine:l,lineHeight:o}=this.lines(t,r),f=Math.max(0,Math.min(l-s,Math.floor((e-n)/o))),{from:u,length:h}=t.line(s+f);return new ms(u,h,n+o*f,o,Tt.Text)}lineAt(e,t,n,r,s){if(t==At.ByHeight)return this.blockAt(e,n,r,s);if(t==At.ByPosNoHeight){let{from:O,to:p}=n.lineAt(e);return new ms(O,p-O,0,0,Tt.Text)}let{firstLine:l,lineHeight:o}=this.lines(n,s),{from:f,length:u,number:h}=n.lineAt(e);return new ms(f,u,r+o*(h-l),o,Tt.Text)}forEachLine(e,t,n,r,s,l){let{firstLine:o,lineHeight:f}=this.lines(n,s);for(let u=Math.max(e,s),h=Math.min(s+this.length,t);u<=h;){let O=n.lineAt(u);u==e&&(r+=f*(O.number-o)),l(new ms(O.from,O.length,r,f,Tt.Text)),r+=f,u=O.to+1}}replace(e,t,n){let r=this.length-t;if(r>0){let s=n[n.length-1];s instanceof xi?n[n.length-1]=new xi(s.length+r):n.push(null,new xi(r-1))}if(e>0){let s=n[0];s instanceof xi?n[0]=new xi(e+s.length):n.unshift(new xi(e-1),null)}return Ki.of(n)}decomposeLeft(e,t){t.push(new xi(e-1),null)}decomposeRight(e,t){t.push(null,new xi(this.length-e-1))}updateHeight(e,t=0,n=!1,r){let s=t+this.length;if(r&&r.from<=t+this.length&&r.more){let l=[],o=Math.max(t,r.from),f=-1,u=e.heightChanged;for(r.from>t&&l.push(new xi(r.from-t-1).updateHeight(e,t));o<=s&&r.more;){let O=e.doc.lineAt(o).length;l.length&&l.push(null);let p=r.heights[r.index++];f==-1?f=p:Math.abs(p-f)>=Lf&&(f=-2);let g=new yn(O,p);g.outdated=!1,l.push(g),o+=O+1}o<=s&&l.push(null,new xi(s-o).updateHeight(e,o));let h=Ki.of(l);return e.heightChanged=u||f<0||Math.abs(h.height-this.height)>=Lf||Math.abs(f-this.lines(e.doc,t).lineHeight)>=Lf,h}else(n||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class n5 extends Ki{constructor(e,t,n){super(e.length+t+n.length,e.height+n.height,t|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,t,n,r){let s=n+this.left.height;return eo))return u;let h=t==At.ByPosNoHeight?At.ByPosNoHeight:At.ByPos;return f?u.join(this.right.lineAt(o,h,n,l,o)):this.left.lineAt(o,h,n,r,s).join(u)}forEachLine(e,t,n,r,s,l){let o=r+this.left.height,f=s+this.left.length+this.break;if(this.break)e=f&&this.right.forEachLine(e,t,n,o,f,l);else{let u=this.lineAt(f,At.ByPos,n,r,s);e=e&&u.from<=t&&l(u),t>u.to&&this.right.forEachLine(u.to+1,t,n,o,f,l)}}replace(e,t,n){let r=this.left.length+this.break;if(tthis.left.length)return this.balanced(this.left,this.right.replace(e-r,t-r,n));let s=[];e>0&&this.decomposeLeft(e,s);let l=s.length;for(let o of n)s.push(o);if(e>0&&jm(s,l-1),t=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,r=n+this.break;if(e>=r)return this.right.decomposeRight(e-r,t);e2*t.size||t.size>2*e.size?Ki.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,n=!1,r){let{left:s,right:l}=this,o=t+s.length+this.break,f=null;return r&&r.from<=t+s.length&&r.more?f=s=s.updateHeight(e,t,n,r):s.updateHeight(e,t,n),r&&r.from<=o+l.length&&r.more?f=l=l.updateHeight(e,o,n,r):l.updateHeight(e,o,n),f?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 jm(i,e){let t,n;i[e]==null&&(t=i[e-1])instanceof xi&&(n=i[e+1])instanceof xi&&i.splice(e-1,3,new xi(t.length+1+n.length))}const r5=5;class bd{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 n=Math.min(t,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof yn?r.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new yn(n-this.pos,-1)),this.writtenTo=n,t>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e=r5)&&this.addLineDeco(r,s)}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 yn(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let n=new xi(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof yn)return e;let t=new yn(0,-1);return this.nodes.push(t),t}addBlock(e){this.enterLine(),e.type==Tt.WidgetAfter&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,e.type!=Tt.WidgetBefore&&(this.covering=e)}addLineDeco(e,t){let n=this.ensureLine();n.length+=t,n.collapsed+=t,n.widgetHeight=Math.max(n.widgetHeight,e),this.writtenTo=this.pos=this.pos+t}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof yn)&&!this.isCovered?this.nodes.push(new yn(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),f=u==i.parentNode?p.bottom:Math.min(f,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,f)-(t.top+e)}}function a5(i,e){let t=i.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class Rh{constructor(e,t,n){this.from=e,this.to=t,this.size=n}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;ntypeof n!="function"&&n.class=="cm-lineWrapping");this.heightOracle=new t5(t),this.stateDeco=e.facet(Bo).filter(n=>typeof n!="function"),this.heightMap=Ki.empty().applyChanges(this.stateDeco,gt.empty,this.heightOracle.setDoc(e.doc),[new vr(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=xe.set(this.lineGaps.map(n=>n.draw(!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let r=n?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 wf(s,l))}}this.viewports=e.sort((n,r)=>n.from-r.from),this.scaler=this.heightMap.height<=7e6?Fm:new h5(this.heightOracle.doc,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.state.doc,0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:Co(e,this.scaler))})}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(Bo).filter(u=>typeof u!="function");let r=e.changedRanges,s=vr.extendWithRanges(r,s5(n,this.stateDeco,e?e.changes:mi.empty(this.state.doc.length))),l=this.heightMap.height;this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=l&&(e.flags|=2);let o=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.heado.to)||!this.viewportIsAppropriate(o))&&(o=this.getViewport(0,t));let f=!e.changes.empty||e.flags&2||o.from!=this.viewport.from||o.to!=this.viewport.to;this.viewport=o,this.updateForViewport(),f&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>2e3<<1)&&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(X$)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,n=window.getComputedStyle(t),r=this.heightOracle,s=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?Ht.RTL:Ht.LTR;let l=this.heightOracle.mustRefreshForWrapping(s),o=l||this.mustMeasureContent||this.contentDOMHeight!=t.clientHeight;this.contentDOMHeight=t.clientHeight,this.mustMeasureContent=!1;let f=0,u=0,h=parseInt(n.paddingTop)||0,O=parseInt(n.paddingBottom)||0;(this.paddingTop!=h||this.paddingBottom!=O)&&(this.paddingTop=h,this.paddingBottom=O,f|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(o=!0),this.editorWidth=e.scrollDOM.clientWidth,f|=8);let p=(this.printing?a5:o5)(t,this.paddingTop),g=p.top-this.pixelViewport.top,b=p.bottom-this.pixelViewport.bottom;this.pixelViewport=p;let $=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if($!=this.inView&&(this.inView=$,$&&(o=!0)),!this.inView&&!this.scrollTarget)return 0;let Q=t.clientWidth;if((this.contentDOMWidth!=Q||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=Q,this.editorHeight=e.scrollDOM.clientHeight,f|=8),o){let x=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(x)&&(l=!0),l||r.lineWrapping&&Math.abs(Q-this.contentDOMWidth)>r.charWidth){let{lineHeight:Z,charWidth:X}=e.docView.measureTextSize();l=Z>0&&r.refresh(s,Z,X,Q/X,x),l&&(e.docView.minWidth=0,f|=8)}g>0&&b>0?u=Math.max(g,b):g<0&&b<0&&(u=Math.min(g,b)),r.heightChanged=!1;for(let Z of this.viewports){let X=Z.from==this.viewport.from?x:e.docView.measureVisibleLineHeights(Z);this.heightMap=(l?Ki.empty().applyChanges(this.stateDeco,gt.empty,this.heightOracle,[new vr(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,l,new i5(Z.from,X))}r.heightChanged&&(f|=2)}let W=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return W&&(this.viewport=this.getViewport(u,this.scrollTarget)),this.updateForViewport(),(f&2||W)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>2e3<<1)&&this.updateLineGaps(this.ensureLineGaps(l?[]:this.lineGaps,e)),f|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),f}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,s=this.state.doc,{visibleTop:l,visibleBottom:o}=this,f=new wf(r.lineAt(l-n*1e3,At.ByHeight,s,0,0).from,r.lineAt(o+(1-n)*1e3,At.ByHeight,s,0,0).to);if(t){let{head:u}=t.range;if(uf.to){let h=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),O=r.lineAt(u,At.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(n,250)))&&r>l-2*1e3&&s>1,l=r<<1;if(this.defaultTextDirection!=Ht.LTR&&!n)return[];let o=[],f=(u,h,O,p)=>{if(h-uu&&QQ.from>=O.from&&Q.to<=O.to&&Math.abs(Q.from-u)Q.fromW));if(!$){if(hQ.from<=h&&Q.to>=h)){let Q=t.moveToLineBoundary(K.cursor(h),!1,!0).head;Q>u&&(h=Q)}$=new Rh(u,h,this.gapSize(O,u,h,p))}o.push($)};for(let u of this.viewportLines){if(u.lengthu.from&&f(u.from,p,u,h),gt.draw(this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];yt.spans(e,this.viewport.from,this.viewport.to,{span(r,s){t.push({from:r,to:s})},point(){}},20);let n=t.length!=this.visibleRanges.length||this.visibleRanges.some((r,s)=>r.from!=t[s].from||r.to!=t[s].to);return this.visibleRanges=t,n?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||Co(this.heightMap.lineAt(e,At.ByPos,this.state.doc,0,0),this.scaler)}lineBlockAtHeight(e){return Co(this.heightMap.lineAt(this.scaler.fromDOM(e),At.ByHeight,this.state.doc,0,0),this.scaler)}elementAtHeight(e){return Co(this.heightMap.blockAt(this.scaler.fromDOM(e),this.state.doc,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class wf{constructor(e,t){this.from=e,this.to=t}}function c5(i,e,t){let n=[],r=i,s=0;return yt.spans(t,i,e,{span(){},point(l,o){l>r&&(n.push({from:r,to:l}),s+=l-r),r=o}},20),r=1)return e[e.length-1].to;let n=Math.floor(i*t);for(let r=0;;r++){let{from:s,to:l}=e[r],o=l-s;if(n<=o)return s+n;n-=o}}function vf(i,e){let t=0;for(let{from:n,to:r}of i.ranges){if(e<=r){t+=e-n;break}t+=r-n}return t/i.total}function u5(i,e){for(let t of i)if(e(t))return t}const Fm={toDOM(i){return i},fromDOM(i){return i},scale:1};class h5{constructor(e,t,n){let r=0,s=0,l=0;this.viewports=n.map(({from:o,to:f})=>{let u=t.lineAt(o,At.ByPos,e,0,0).top,h=t.lineAt(f,At.ByPos,e,0,0).bottom;return r+=h-u,{from:o,to:f,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,n=0,r=0;;t++){let s=tCo(r,e)):i.type)}const Pf=Pe.define({combine:i=>i.join(" ")}),VO=Pe.define({combine:i=>i.indexOf(!0)>-1}),qO=Qs.newName(),F$=Qs.newName(),H$=Qs.newName(),K$={"&light":"."+F$,"&dark":"."+H$};function EO(i,e,t){return new Qs(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,r=>{if(r=="&")return i;if(!t||!t[r])throw new RangeError(`Unsupported selector: ${r}`);return t[r]}):i+" "+n}})}const O5=EO("."+qO,{"&":{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",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":{contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused .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-focused .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",left: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"}},K$);class d5{constructor(e,t,n,r){this.typeOver=r,this.bounds=null,this.text="";let{impreciseHead:s,impreciseAnchor:l}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,n,0))){let o=s||l?[]:g5(e),f=new V$(o,e.state);f.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=f.text,this.newSel=m5(o,this.bounds.from)}else{let o=e.observer.selectionRange,f=s&&s.node==o.focusNode&&s.offset==o.focusOffset||!Al(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||!Al(e.contentDOM,o.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(o.anchorNode,o.anchorOffset);this.newSel=K.single(u,f)}}}function J$(i,e){let t,{newSel:n}=e,r=i.state.selection.main;if(e.bounds){let{from:s,to:l}=e.bounds,o=r.from,f=null;(i.inputState.lastKeyCode===8&&i.inputState.lastKeyTime>Date.now()-100||ve.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:i.state.doc.slice(r.from,t.from).append(t.insert).append(i.state.doc.slice(t.to,r.to))}:(ve.mac||ve.android)&&t&&t.from==t.to&&t.from==r.head-1&&/^\. ?$/.test(t.insert.toString())?(n&&t.insert.length==2&&(n=K.single(n.main.anchor-1,n.main.head-1)),t={from:r.from,to:r.to,insert:gt.of([" "])}):ve.chrome&&t&&t.from==t.to&&t.from==r.head&&t.insert.toString()==` - `&&i.lineWrapping&&(n&&(n=K.single(n.main.anchor-1,n.main.head-1)),t={from:r.from,to:r.to,insert:gt.of([" "])}),t){let s=i.state;if(ve.ios&&i.inputState.flushIOSKey(i)||ve.android&&(t.from==r.from&&t.to==r.to&&t.insert.length==1&&t.insert.lines==2&&xl(i.contentDOM,"Enter",13)||t.from==r.from-1&&t.to==r.to&&t.insert.length==0&&xl(i.contentDOM,"Backspace",8)||t.from==r.from&&t.to==r.to+1&&t.insert.length==0&&xl(i.contentDOM,"Delete",46)))return!0;let l=t.insert.toString();if(i.state.facet(x$).some(u=>u(i,t.from,t.to,l)))return!0;i.inputState.composing>=0&&i.inputState.composing++;let o;if(t.from>=r.from&&t.to<=r.to&&t.to-t.from>=(r.to-r.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&i.inputState.composing<0){let u=r.fromt.to?s.sliceDoc(t.to,r.to):"";o=s.replaceSelection(i.state.toText(u+t.insert.sliceString(0,void 0,i.state.lineBreak)+h))}else{let u=s.changes(t),h=n&&!s.selection.main.eq(n.main)&&n.main.to<=u.newLength?n.main:void 0;if(s.selection.ranges.length>1&&i.inputState.composing>=0&&t.to<=r.to&&t.to>=r.to-10){let O=i.state.sliceDoc(t.from,t.to),p=q$(i)||i.state.doc.lineAt(r.head),g=r.to-t.to,b=r.to-r.from;o=s.changeByRange($=>{if($.from==r.from&&$.to==r.to)return{changes:u,range:h||$.map(u)};let Q=$.to-g,W=Q-O.length;if($.to-$.from!=b||i.state.sliceDoc(W,Q)!=O||p&&$.to>=p.from&&$.from<=p.to)return{range:$};let x=s.changes({from:W,to:Q,insert:t.insert}),Z=$.to-r.to;return{changes:x,range:h?K.range(Math.max(0,h.anchor+Z),Math.max(0,h.head+Z)):$.map(x)}})}else o={changes:u,selection:h&&s.selection.replaceRange(h)}}let f="input.type";return i.composing&&(f+=".compose",i.inputState.compositionFirstChange&&(f+=".start",i.inputState.compositionFirstChange=!1)),i.dispatch(o,{scrollIntoView:!0,userEvent:f}),!0}else if(n&&!n.main.eq(r)){let s=!1,l="select";return i.inputState.lastSelectionTime>Date.now()-50&&(i.inputState.lastSelectionOrigin=="select"&&(s=!0),l=i.inputState.lastSelectionOrigin),i.dispatch({selection:n,scrollIntoView:s,userEvent:l}),!0}else return!1}function p5(i,e,t,n){let r=Math.min(i.length,e.length),s=0;for(;s0&&o>0&&i.charCodeAt(l-1)==e.charCodeAt(o-1);)l--,o--;if(n=="end"){let f=Math.max(0,s-Math.min(l,o));t-=l+f-s}if(l=l?s-t:0;s-=f,o=s+(o-l),l=s}else if(o=o?s-t:0;s-=f,l=s+(l-o),o=s}return{from:s,toA:l,toB:o}}function g5(i){let e=[];if(i.root.activeElement!=i.contentDOM)return e;let{anchorNode:t,anchorOffset:n,focusNode:r,focusOffset:s}=i.observer.selectionRange;return t&&(e.push(new Xm(t,n)),(r!=t||s!=n)&&e.push(new Xm(r,s))),e}function m5(i,e){if(i.length==0)return null;let t=i[0].pos,n=i.length==2?i[1].pos:t;return t>-1&&n>-1?K.single(t+e,n+e):null}const S5={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Ah=ve.ie&&ve.ie_version<=11;class b5{constructor(e){this.view=e,this.active=!1,this.selectionRange=new h3,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.resizeContent=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let n of t)this.queue.push(n);(ve.ie&&ve.ie_version<=11||ve.ios&&e.composing)&&t.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),Ah&&(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.view.requestMeasure()),this.resizeContent.observe(e.contentDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(t=>{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")))},{}),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.runScrollHandlers(this.view,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,n)=>t!=e[n]))){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:n}=this,r=this.selectionRange;if(n.state.facet(zc)?n.root.activeElement!=this.dom:!Nf(n.dom,r))return;let s=r.anchorNode&&n.docView.nearest(r.anchorNode);if(s&&s.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(ve.ie&&ve.ie_version<=11||ve.android&&ve.chrome)&&!n.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=ve.safari&&e.root.nodeType==11&&a3(this.dom.ownerDocument)==this.dom&&$5(this.view)||rc(e.root);if(!t||this.selectionRange.eq(t))return!1;let n=Nf(this.dom,t);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),!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()}processRecords(){let e=this.queue;for(let s of this.observer.takeRecords())e.push(s);e.length&&(this.queue=[]);let t=-1,n=-1,r=!1;for(let s of e){let l=this.readMutation(s);l&&(l.typeOver&&(r=!0),t==-1?{from:t,to:n}=l:(t=Math.min(l.from,t),n=Math.max(l.to,n)))}return{from:t,to:n,typeOver:r}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),r=this.selectionChanged&&Nf(this.dom,this.selectionRange);return e<0&&!r?null:(e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1,new d5(this.view,e,t,n))}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return!1;let n=this.view.state,r=J$(this.view,t);return this.view.state==n&&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.dirty|=4),e.type=="childList"){let n=Hm(t,e.previousSibling||e.target.previousSibling,-1),r=Hm(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):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,n,r;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(t=this.gapIntersection)===null||t===void 0||t.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect(),(r=this.resizeContent)===null||r===void 0||r.disconnect();for(let s of this.scrollTargets)s.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 Hm(i,e,t){for(;e;){let n=Yt.get(e);if(n&&n.parent==i)return n;let r=e.parentNode;e=r!=i.dom?r:t>0?e.nextSibling:e.previousSibling}return null}function $5(i){let e=null;function t(f){f.preventDefault(),f.stopImmediatePropagation(),e=f.getTargetRanges()[0]}if(i.contentDOM.addEventListener("beforeinput",t,!0),i.dom.ownerDocument.execCommand("indent"),i.contentDOM.removeEventListener("beforeinput",t,!0),!e)return null;let n=e.startContainer,r=e.startOffset,s=e.endContainer,l=e.endOffset,o=i.docView.domAtPos(i.state.selection.main.anchor);return sc(o.node,o.offset,s,l)&&([n,r,s,l]=[s,l,n,r]),{anchorNode:n,anchorOffset:r,focusNode:s,focusOffset:l}}class $e{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),this._dispatch=e.dispatch||(t=>this.update([t])),this.dispatch=this.dispatch.bind(this),this._root=e.root||O3(e.parent)||document,this.viewState=new Gm(e.state||at.create(e)),this.plugins=this.state.facet(Wo).map(t=>new Xh(t));for(let t of this.plugins)t.update(this);this.observer=new b5(this),this.inputState=new D3(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new Tm(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}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}dispatch(...e){this._dispatch(e.length==1&&e[0]instanceof Si?e[0]:this.state.update(...e))}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,n=!1,r,s=this.state;for(let u of e){if(u.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=u.state}if(this.destroyed){this.viewState.state=s;return}let l=this.observer.delayedAndroidKey,o=null;if(l?(this.observer.clearDelayedAndroidKey(),o=this.observer.readChange(),(o&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(o=null)):this.observer.clear(),s.facet(at.phrases)!=this.state.facet(at.phrases))return this.setState(s);r=ac.create(this,s,e);let f=this.viewState.scrollTarget;try{this.updateState=2;for(let u of e){if(f&&(f=f.map(u.changes)),u.scrollIntoView){let{main:h}=u.state.selection;f=new oc(h.empty?h:K.cursor(h.head,h.head>h.anchor?-1:1))}for(let h of u.effects)h.is(xm)&&(f=h.value)}this.viewState.update(r,f),this.bidiCache=fc.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(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(u=>u.isUserEvent("select.pointer")))}finally{this.updateState=0}if(r.startState.facet(Pf)!=r.state.facet(Pf)&&(this.viewState.mustMeasureContent=!0),(t||n||f||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!r.empty)for(let u of this.state.facet(TO))u(r);o&&!J$(this,o)&&l.force&&xl(this.contentDOM,l.key,l.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 n of this.plugins)n.destroy(this);this.viewState=new Gm(e),this.plugins=e.facet(Wo).map(n=>new Xh(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView=new Tm(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(Wo),n=e.state.facet(Wo);if(t!=n){let r=[];for(let s of n){let l=t.indexOf(s);if(l<0)r.push(new Xh(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(),this.inputState.ensureHandlers(this,this.plugins)}else for(let r of this.plugins)r.mustUpdate=e;for(let r=0;r-1&&cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,{scrollHeight:n,scrollTop:r,clientHeight:s}=this.scrollDOM,l=r>n-s-4?n:r;try{for(let o=0;;o++){this.updateState=1;let f=this.viewport,u=this.viewState.lineBlockAtHeight(l),h=this.viewState.measure(this);if(!h&&!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 O=[];h&4||([this.measureRequests,O]=[O,this.measureRequests]);let p=O.map(Q=>{try{return Q.read(this)}catch(W){return _n(this.state,W),Km}}),g=ac.create(this,this.state,[]),b=!1,$=!1;g.flags|=h,t?t.flags|=h:t=g,this.updateState=2,g.empty||(this.updatePlugins(g),this.inputState.update(g),this.updateAttrs(),b=this.docView.update(g));for(let Q=0;Q1||Q<-1)&&(this.scrollDOM.scrollTop+=Q,$=!0)}if(b&&this.docView.updateSelection(!0),this.viewport.from==f.from&&this.viewport.to==f.to&&!$&&this.measureRequests.length==0)break}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let o of this.state.facet(TO))o(t)}get themeClasses(){return qO+" "+(this.state.facet(VO)?H$:F$)+" "+this.state.facet(Pf)}updateAttrs(){let e=Jm(this,T$,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(zc)?"true":"false",class:"cm-content",style:`${ve.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),Jm(this,Sd,t);let n=this.observer.ignore(()=>{let r=CO(this.contentDOM,this.contentAttrs,t),s=CO(this.dom,this.editorAttrs,e);return r||s});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(e){let t=!0;for(let n of e)for(let r of n.effects)if(r.is($e.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),Qs.mount(this.root,this.styleModules.concat(O5).reverse())}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;tn.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}}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,n){return Zh(this,e,Vm(this,e,t,n))}moveByGroup(e,t){return Zh(this,e,Vm(this,e,t,n=>E3(this,e.head,n)))}moveToLineBoundary(e,t,n=!0){return q3(this,e,t,n)}moveVertically(e,t,n){return Zh(this,e,M3(this,e,t,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),M$(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;let r=this.state.doc.lineAt(e),s=this.bidiSpans(r),l=s[Cl.find(s,e-r.from,-1,t)];return dd(n,l.dir==Ht.LTR==t>0)}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(C$)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>Q5)return U$(e.length);let t=this.textDirectionAt(e.from);for(let r of this.bidiCache)if(r.from==e.from&&r.dir==t)return r.order;let n=P3(e.text,t);return this.bidiCache.push(new fc(e.from,e.to,t,n)),n}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||ve.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{h$(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&&cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return xm.of(new oc(typeof e=="number"?K.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}static domEventHandlers(e){return hi.define(()=>({}),{eventHandlers:e})}static theme(e,t){let n=Qs.newName(),r=[Pf.of(n),xo.of(EO(`.${n}`,e))];return t&&t.dark&&r.push(VO.of(!0)),r}static baseTheme(e){return Gs.lowest(xo.of(EO("."+qO,e,K$)))}static findFromDOM(e){var t;let n=e.querySelector(".cm-content"),r=n&&Yt.get(n)||Yt.get(e);return((t=r==null?void 0:r.rootView)===null||t===void 0?void 0:t.view)||null}}$e.styleModule=xo;$e.inputHandler=x$;$e.perLineTextDirection=C$;$e.exceptionSink=W$;$e.updateListener=TO;$e.editable=zc;$e.mouseSelectionStyle=_$;$e.dragMovesSelection=k$;$e.clickAddsSelectionRange=P$;$e.decorations=Bo;$e.atomicRanges=Z$;$e.scrollMargins=R$;$e.darkTheme=VO;$e.contentAttributes=Sd;$e.editorAttributes=T$;$e.lineWrapping=$e.contentAttributes.of({class:"cm-lineWrapping"});$e.announce=qe.define();const Q5=4096,Km={};class fc{constructor(e,t,n,r){this.from=e,this.to=t,this.dir=n,this.order=r}static update(e,t){if(t.empty)return e;let n=[],r=e.length?e[e.length-1].dir:Ht.LTR;for(let s=Math.max(0,e.length-10);s=0;r--){let s=n[r],l=typeof s=="function"?s(i):s;l&&xO(l,t)}return t}const w5=ve.mac?"mac":ve.windows?"win":ve.linux?"linux":"key";function y5(i,e){const t=i.split(/-(?!$)/);let n=t[t.length-1];n=="Space"&&(n=" ");let r,s,l,o;for(let f=0;fn.concat(r),[]))),t}function P5(i,e,t){return tQ(eQ(i.state),e,i,t)}let Os=null;const k5=4e3;function _5(i,e=w5){let t=Object.create(null),n=Object.create(null),r=(l,o)=>{let f=n[l];if(f==null)n[l]=o;else if(f!=o)throw new Error("Key binding "+l+" is used both as a regular binding and as a multi-stroke prefix")},s=(l,o,f,u)=>{var h,O;let p=t[l]||(t[l]=Object.create(null)),g=o.split(/ (?!$)/).map(Q=>y5(Q,e));for(let Q=1;Q{let Z=Os={view:x,prefix:W,scope:l};return setTimeout(()=>{Os==Z&&(Os=null)},k5),!0}]})}let b=g.join(" ");r(b,!1);let $=p[b]||(p[b]={preventDefault:!1,run:((O=(h=p._any)===null||h===void 0?void 0:h.run)===null||O===void 0?void 0:O.slice())||[]});f&&$.run.push(f),u&&($.preventDefault=!0)};for(let l of i){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,run:[]});for(let O in h)h[O].run.push(l.any)}let f=l[e]||l.key;if(f)for(let u of o)s(u,f,l.run,l.preventDefault),l.shift&&s(u,"Shift-"+f,l.shift,l.preventDefault)}return t}function tQ(i,e,t,n){let r=o3(e),s=Ci(r,0),l=vn(s)==r.length&&r!=" ",o="",f=!1;Os&&Os.view==t&&Os.scope==n&&(o=Os.prefix+" ",(f=z$.indexOf(e.keyCode)<0)&&(Os=null));let u=new Set,h=b=>{if(b){for(let $ of b.run)if(!u.has($)&&(u.add($),$(t,e)))return!0;b.preventDefault&&(f=!0)}return!1},O=i[n],p,g;if(O){if(h(O[o+kf(r,e,!l)]))return!0;if(l&&(e.altKey||e.metaKey||e.ctrlKey)&&!(ve.windows&&e.ctrlKey&&e.altKey)&&(p=ws[e.keyCode])&&p!=r){if(h(O[o+kf(p,e,!0)]))return!0;if(e.shiftKey&&(g=Io[e.keyCode])!=r&&g!=p&&h(O[o+kf(g,e,!1)]))return!0}else if(l&&e.shiftKey&&h(O[o+kf(r,e,!0)]))return!0;if(h(O._any))return!0}return f}class la{constructor(e,t,n,r,s){this.className=e,this.left=t,this.top=n,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,n){if(n.empty){let r=e.coordsAtPos(n.head,n.assoc||1);if(!r)return[];let s=iQ(e);return[new la(t,r.left-s.left,r.top-s.top,null,r.bottom-r.top)]}else return W5(e,t,n)}}function iQ(i){let e=i.scrollDOM.getBoundingClientRect();return{left:(i.textDirection==Ht.LTR?e.left:e.right-i.scrollDOM.clientWidth)-i.scrollDOM.scrollLeft,top:e.top-i.scrollDOM.scrollTop}}function t1(i,e,t){let n=K.cursor(e);return{from:Math.max(t.from,i.moveToLineBoundary(n,!1,!0).from),to:Math.min(t.to,i.moveToLineBoundary(n,!0,!0).from),type:Tt.Text}}function i1(i,e){let t=i.lineBlockAt(e);if(Array.isArray(t.type)){for(let n of t.type)if(n.to>e||n.to==e&&(n.to==t.to||n.type==Tt.Text))return n}return t}function W5(i,e,t){if(t.to<=i.viewport.from||t.from>=i.viewport.to)return[];let n=Math.max(t.from,i.viewport.from),r=Math.min(t.to,i.viewport.to),s=i.textDirection==Ht.LTR,l=i.contentDOM,o=l.getBoundingClientRect(),f=iQ(i),u=window.getComputedStyle(l.firstChild),h=o.left+parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)),O=o.right-parseInt(u.paddingRight),p=i1(i,n),g=i1(i,r),b=p.type==Tt.Text?p:null,$=g.type==Tt.Text?g:null;if(i.lineWrapping&&(b&&(b=t1(i,n,b)),$&&($=t1(i,r,$))),b&&$&&b.from==$.from)return W(x(t.from,t.to,b));{let X=b?x(t.from,null,b):Z(p,!1),T=$?x(null,t.to,$):Z(g,!0),U=[];return(b||p).to<($||g).from-1?U.push(Q(h,X.bottom,O,T.top)):X.bottomoe&&_e.from=Me)break;De>we&&z(Math.max(Xe,we),X==null&&Xe<=oe,Math.min(De,Me),T==null&&De>=pe,fe.dir)}if(we=Oe.to+1,we>=Me)break}return j.length==0&&z(oe,X==null,pe,T==null,i.textDirection),{top:L,bottom:E,horizontal:j}}function Z(X,T){let U=o.top+(T?X.top:X.bottom);return{top:U,bottom:U,horizontal:[]}}}function x5(i,e){return i.constructor==e.constructor&&i.eq(e)}class C5{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],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.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(Bf)!=e.state.facet(Bf)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&e.view.requestMeasure(this.measureReq)}setOrder(e){let t=0,n=e.facet(Bf);for(;t!x5(t,this.drawn[n]))){let t=this.dom.firstChild,n=0;for(let r of e)r.update&&t&&r.constructor&&this.drawn[n].constructor&&r.update(t,this.drawn[n])?(t=t.nextSibling,n++):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 Bf=Pe.define();function nQ(i){return[hi.define(e=>new C5(e,i)),Bf.of(i)]}const rQ=!ve.ios,jo=Pe.define({combine(i){return kr(i,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}});function X5(i={}){return[jo.of(i),T5,Z5,R5,X$.of(!0)]}function sQ(i){return i.startState.facet(jo)!=i.state.facet(jo)}const T5=nQ({above:!0,markers(i){let{state:e}=i,t=e.facet(jo),n=[];for(let r of e.selection.ranges){let s=r==e.selection.main;if(r.empty?!s||rQ:t.drawRangeCursor){let l=s?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",o=r.empty?r:K.cursor(r.head,r.head>r.anchor?-1:1);for(let f of la.forRange(i,l,o))n.push(f)}}return n},update(i,e){i.transactions.some(n=>n.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let t=sQ(i);return t&&n1(i.state,e),i.docChanged||i.selectionSet||t},mount(i,e){n1(e.state,i)},class:"cm-cursorLayer"});function n1(i,e){e.style.animationDuration=i.facet(jo).cursorBlinkRate+"ms"}const Z5=nQ({above:!1,markers(i){return i.state.selection.ranges.map(e=>e.empty?[]:la.forRange(i,"cm-selectionBackground",e)).reduce((e,t)=>e.concat(t))},update(i,e){return i.docChanged||i.selectionSet||i.viewportChanged||sQ(i)},class:"cm-selectionLayer"}),lQ={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};rQ&&(lQ[".cm-line"].caretColor="transparent !important");const R5=Gs.highest($e.theme(lQ)),oQ=qe.define({map(i,e){return i==null?null:e.mapPos(i)}}),Xo=$i.define({create(){return null},update(i,e){return i!=null&&(i=e.changes.mapPos(i)),e.effects.reduce((t,n)=>n.is(oQ)?n.value:t,i)}}),A5=hi.fromClass(class{constructor(i){this.view=i,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(i){var e;let t=i.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"),(i.startState.field(Xo)!=t||i.docChanged||i.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let i=this.view.state.field(Xo),e=i!=null&&this.view.coordsAtPos(i);if(!e)return null;let t=this.view.scrollDOM.getBoundingClientRect();return{left:e.left-t.left+this.view.scrollDOM.scrollLeft,top:e.top-t.top+this.view.scrollDOM.scrollTop,height:e.bottom-e.top}}drawCursor(i){this.cursor&&(i?(this.cursor.style.left=i.left+"px",this.cursor.style.top=i.top+"px",this.cursor.style.height=i.height+"px"):this.cursor.style.left="-100000px")}destroy(){this.cursor&&this.cursor.remove()}setDropPos(i){this.view.state.field(Xo)!=i&&this.view.dispatch({effects:oQ.of(i)})}},{eventHandlers:{dragover(i){this.setDropPos(this.view.posAtCoords({x:i.clientX,y:i.clientY}))},dragleave(i){(i.target==this.view.contentDOM||!this.view.contentDOM.contains(i.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function U5(){return[Xo,A5]}function r1(i,e,t,n,r){e.lastIndex=0;for(let s=i.iterRange(t,n),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 Y5(i,e){let t=i.visibleRanges;if(t.length==1&&t[0].from==i.viewport.from&&t[0].to==i.viewport.to)return t;let n=[];for(let{from:r,to:s}of t)r=Math.max(i.state.doc.lineAt(r).from,r-e),s=Math.min(i.state.doc.lineAt(s).to,s+e),n.length&&n[n.length-1].to>=r?n[n.length-1].to=s:n.push({from:r,to:s});return n}class V5{constructor(e){const{regexp:t,decoration:n,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,f,u,h)=>r(h,u,u+o[0].length,o,f);else if(typeof n=="function")this.addMatch=(o,f,u,h)=>{let O=n(o,f,u);O&&h(u,u+o[0].length,O)};else if(n)this.addMatch=(o,f,u,h)=>h(u,u+o[0].length,n);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=s,this.maxLength=l}createDeco(e){let t=new $s,n=t.add.bind(t);for(let{from:r,to:s}of Y5(e,this.maxLength))r1(e.state.doc,this.regexp,r,s,(l,o)=>this.addMatch(o,e,l,n));return t.finish()}updateDeco(e,t){let n=1e9,r=-1;return e.docChanged&&e.changes.iterChanges((s,l,o,f)=>{f>e.view.viewport.from&&o1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,t.map(e.changes),n,r):t}updateRange(e,t,n,r){for(let s of e.visibleRanges){let l=Math.max(s.from,n),o=Math.min(s.to,r);if(o>l){let f=e.state.doc.lineAt(l),u=f.tof.from;l--)if(this.boundary.test(f.text[l-1-f.from])){h=l;break}for(;op.push(W.range($,Q));if(f==u)for(this.regexp.lastIndex=h-f.from;(g=this.regexp.exec(f.text))&&g.indexthis.addMatch(Q,e,$,b));t=t.update({filterFrom:h,filterTo:O,filter:($,Q)=>$O,add:p})}}return t}}const MO=/x/.unicode!=null?"gu":"g",q5=new RegExp(`[\0-\b ---Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,MO),E5={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 Uh=null;function M5(){var i;if(Uh==null&&typeof document<"u"&&document.body){let e=document.body.style;Uh=((i=e.tabSize)!==null&&i!==void 0?i:e.MozTabSize)!=null}return Uh||!1}const jf=Pe.define({combine(i){let e=kr(i,{render:null,specialChars:q5,addSpecialChars:null});return(e.replaceTabs=!M5())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,MO)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,MO)),e}});function D5(i={}){return[jf.of(i),z5()]}let s1=null;function z5(){return s1||(s1=hi.fromClass(class{constructor(i){this.view=i,this.decorations=xe.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(i.state.facet(jf)),this.decorations=this.decorator.createDeco(i)}makeDecorator(i){return new V5({regexp:i.specialChars,decoration:(e,t,n)=>{let{doc:r}=t.state,s=Ci(e[0],0);if(s==9){let l=r.lineAt(n),o=t.state.tabSize,f=na(l.text,o,n-l.from);return xe.replace({widget:new B5((o-f%o)*this.view.defaultCharacterWidth)})}return this.decorationCache[s]||(this.decorationCache[s]=xe.replace({widget:new L5(i,s)}))},boundary:i.replaceTabs?void 0:/[^]/})}update(i){let e=i.state.facet(jf);i.startState.facet(jf)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(i.view)):this.decorations=this.decorator.updateDeco(i,this.decorations)}},{decorations:i=>i.decorations}))}const I5="•";function N5(i){return i>=32?I5:i==10?"␤":String.fromCharCode(9216+i)}class L5 extends Br{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=N5(this.code),n=e.state.phrase("Control character")+" "+(E5[this.code]||"0x"+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,n,t);if(r)return r;let s=document.createElement("span");return s.textContent=t,s.title=n,s.setAttribute("aria-label",n),s.className="cm-specialChar",s}ignoreEvent(){return!1}}class B5 extends Br{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 j5(){return F5}const G5=xe.line({class:"cm-activeLine"}),F5=hi.fromClass(class{constructor(i){this.decorations=this.getDeco(i)}update(i){(i.docChanged||i.selectionSet)&&(this.decorations=this.getDeco(i.view))}getDeco(i){let e=-1,t=[];for(let n of i.state.selection.ranges){let r=i.lineBlockAt(n.head);r.from>e&&(t.push(G5.range(r.from)),e=r.from)}return xe.set(t)}},{decorations:i=>i.decorations}),DO=2e3;function H5(i,e,t){let n=Math.min(e.line,t.line),r=Math.max(e.line,t.line),s=[];if(e.off>DO||t.off>DO||e.col<0||t.col<0){let l=Math.min(e.off,t.off),o=Math.max(e.off,t.off);for(let f=n;f<=r;f++){let u=i.doc.line(f);u.length<=o&&s.push(K.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 f=n;f<=r;f++){let u=i.doc.line(f),h=QO(u.text,l,i.tabSize,!0);if(h<0)s.push(K.cursor(u.to));else{let O=QO(u.text,o,i.tabSize);s.push(K.range(u.from+h,u.from+O))}}}return s}function K5(i,e){let t=i.coordsAtPos(i.viewport.from);return t?Math.round(Math.abs((t.left-e)/i.defaultCharacterWidth)):-1}function l1(i,e){let t=i.posAtCoords({x:e.clientX,y:e.clientY},!1),n=i.state.doc.lineAt(t),r=t-n.from,s=r>DO?-1:r==n.length?K5(i,e.clientX):na(n.text,i.state.tabSize,t-n.from);return{line:n.number,col:s,off:r}}function J5(i,e){let t=l1(i,e),n=i.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)},n=n.map(r.changes)}},get(r,s,l){let o=l1(i,r);if(!o)return n;let f=H5(i.state,t,o);return f.length?l?K.create(f.concat(n.ranges)):K.create(f):n}}:null}function e4(i){let e=(i==null?void 0:i.eventFilter)||(t=>t.altKey&&t.button==0);return $e.mouseSelectionStyle.of((t,n)=>e(n)?J5(t,n):null)}const t4={Alt:[18,i=>i.altKey],Control:[17,i=>i.ctrlKey],Shift:[16,i=>i.shiftKey],Meta:[91,i=>i.metaKey]},i4={style:"cursor: crosshair"};function n4(i={}){let[e,t]=t4[i.key||"Alt"],n=hi.fromClass(class{constructor(r){this.view=r,this.isDown=!1}set(r){this.isDown!=r&&(this.isDown=r,this.view.update([]))}},{eventHandlers:{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[n,$e.contentAttributes.of(r=>{var s;return!((s=r.plugin(n))===null||s===void 0)&&s.isDown?i4:null})]}const _f="-10000px";class aQ{constructor(e,t,n){this.facet=t,this.createTooltipView=n,this.input=e.state.facet(t),this.tooltips=this.input.filter(r=>r),this.tooltipViews=this.tooltips.map(n)}update(e){var t;let n=e.state.facet(this.facet),r=n.filter(l=>l);if(n===this.input){for(let l of this.tooltipViews)l.update&&l.update(e);return!1}let s=[];for(let l=0;l{var e,t,n;return{position:ve.ios?"absolute":((e=i.find(r=>r.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((t=i.find(r=>r.parent))===null||t===void 0?void 0:t.parent)||null,tooltipSpace:((n=i.find(r=>r.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||r4}}}),fQ=hi.fromClass(class{constructor(i){this.view=i,this.inView=!0,this.lastTransaction=0,this.measureTimeout=-1;let e=i.state.facet(Yh);this.position=e.position,this.parent=e.parent,this.classes=i.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new aQ(i,$d,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(),i.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 i of this.manager.tooltipViews)this.intersectionObserver.observe(i.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(i){i.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(i);e&&this.observeIntersection();let t=e||i.geometryChanged,n=i.state.facet(Yh);if(n.position!=this.position){this.position=n.position;for(let r of this.manager.tooltipViews)r.dom.style.position=this.position;t=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.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(i){let e=i.create(this.view);if(e.dom.classList.add("cm-tooltip"),i.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=_f,this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var i,e;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),(i=t.destroy)===null||i===void 0||i.call(t);(e=this.intersectionObserver)===null||e===void 0||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let i=this.view.dom.getBoundingClientRect();return{editor:i,parent:this.parent?this.container.getBoundingClientRect():i,pos:this.manager.tooltips.map((e,t)=>{let n=this.manager.tooltipViews[t];return n.getCoords?n.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet(Yh).tooltipSpace(this.view)}}writeMeasure(i){let{editor:e,space:t}=i,n=[];for(let r=0;r=Math.min(e.bottom,t.bottom)||f.rightMath.min(e.right,t.right)+.1){o.style.top=_f;continue}let h=s.arrow?l.dom.querySelector(".cm-tooltip-arrow"):null,O=h?7:0,p=u.right-u.left,g=u.bottom-u.top,b=l.offset||l4,$=this.view.textDirection==Ht.LTR,Q=u.width>t.right-t.left?$?t.left:t.right-u.width:$?Math.min(f.left-(h?14:0)+b.x,t.right-p):Math.max(t.left,f.left-p+(h?14:0)-b.x),W=!!s.above;!s.strictSide&&(W?f.top-(u.bottom-u.top)-b.yt.bottom)&&W==t.bottom-f.bottom>f.top-t.top&&(W=!W);let x=(W?f.top-t.top:t.bottom-f.bottom)-O;if(xQ&&T.topZ&&(Z=W?T.top-g-2-O:T.bottom+O+2);this.position=="absolute"?(o.style.top=Z-i.parent.top+"px",o.style.left=Q-i.parent.left+"px"):(o.style.top=Z+"px",o.style.left=Q+"px"),h&&(h.style.left=`${f.left+($?b.x:-b.x)-(Q+14-7)}px`),l.overlap!==!0&&n.push({left:Q,top:Z,right:X,bottom:Z+g}),o.classList.toggle("cm-tooltip-above",W),o.classList.toggle("cm-tooltip-below",!W),l.positioned&&l.positioned(i.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 i of this.manager.tooltipViews)i.dom.style.top=_f}},{eventHandlers:{scroll(){this.maybeMeasure()}}}),s4=$e.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"}}}),l4={x:0,y:0},$d=Pe.define({enables:[fQ,s4]}),cc=Pe.define();class Qd{constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new aQ(e,cc,t=>this.createHostedView(t))}static create(e){return new Qd(e)}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)}}const o4=$d.compute([cc],i=>{let e=i.facet(cc).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:Qd.create,above:e[0].above,arrow:e.some(t=>t.arrow)}});class a4{constructor(e,t,n,r,s){this.view=e,this.source=t,this.field=n,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;en.bottom||e.xn.right+this.view.defaultCharacterWidth)return;let r=this.view.bidiSpans(this.view.state.doc.lineAt(t)).find(o=>o.from<=t&&o.to>=t),s=r&&r.dir==Ht.RTL?-1:1,l=this.source(this.view,t,e.x{this.pending==o&&(this.pending=null,f&&this.view.dispatch({effects:this.setHover.of(f)}))},f=>_n(this.view.state,f,"hover tooltip"))}else l&&this.view.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 n=this.active;if(n&&!o1(this.lastMove.target)||this.pending){let{pos:r}=n||this.pending,s=(t=n==null?void 0:n.end)!==null&&t!==void 0?t:r;(r==s?this.view.posAtCoords(this.lastMove)!=r:!f4(this.view,r,s,e.clientX,e.clientY,6))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&!o1(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 o1(i){for(let e=i;e;e=e.parentNode)if(e.nodeType==1&&e.classList.contains("cm-tooltip"))return!0;return!1}function f4(i,e,t,n,r,s){let l=document.createRange(),o=i.domAtPos(e),f=i.domAtPos(t);l.setEnd(f.node,f.offset),l.setStart(o.node,o.offset);let u=l.getClientRects();l.detach();for(let h=0;hcc.from(r)});return[n,hi.define(r=>new a4(r,i,n,t,e.hoverTime||300)),o4]}function u4(i,e){let t=i.plugin(fQ);if(!t)return null;let n=t.manager.tooltips.indexOf(e);return n<0?null:t.manager.tooltipViews[n]}const h4=qe.define(),a1=Pe.define({combine(i){let e,t;for(let n of i)e=e||n.topContainer,t=t||n.bottomContainer;return{topContainer:e,bottomContainer:t}}});function Go(i,e){let t=i.plugin(cQ),n=t?t.specs.indexOf(e):-1;return n>-1?t.panels[n]:null}const cQ=hi.fromClass(class{constructor(i){this.input=i.state.facet(Fo),this.specs=this.input.filter(t=>t),this.panels=this.specs.map(t=>t(i));let e=i.state.facet(a1);this.top=new Wf(i,!0,e.topContainer),this.bottom=new Wf(i,!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(i){let e=i.state.facet(a1);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new Wf(i.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new Wf(i.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let t=i.state.facet(Fo);if(t!=this.input){let n=t.filter(f=>f),r=[],s=[],l=[],o=[];for(let f of n){let u=this.specs.indexOf(f),h;u<0?(h=f(i.view),o.push(h)):(h=this.panels[u],h.update&&h.update(i)),r.push(h),(h.top?s:l).push(h)}this.specs=n,this.panels=r,this.top.sync(s),this.bottom.sync(l);for(let f of o)f.dom.classList.add("cm-panel"),f.mount&&f.mount()}else for(let n of this.panels)n.update&&n.update(i)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:i=>$e.scrollMargins.of(e=>{let t=e.plugin(i);return t&&{top:t.top.scrollMargin(),bottom:t.bottom.scrollMargin()}})});class Wf{constructor(e,t,n){this.view=e,this.top=t,this.container=n,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=f1(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=f1(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 f1(i){let e=i.nextSibling;return i.remove(),e}const Fo=Pe.define({enables:cQ});class Lr extends Ls{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}Lr.prototype.elementClass="";Lr.prototype.toDOM=void 0;Lr.prototype.mapMode=Ti.TrackBefore;Lr.prototype.startSide=Lr.prototype.endSide=-1;Lr.prototype.point=!0;const Gf=Pe.define(),O4={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>yt.empty,lineMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Vo=Pe.define();function d4(i){return[uQ(),Vo.of(Object.assign(Object.assign({},O4),i))]}const zO=Pe.define({combine:i=>i.some(e=>e)});function uQ(i){let e=[p4];return i&&i.fixed===!1&&e.push(zO.of(!0)),e}const p4=hi.fromClass(class{constructor(i){this.view=i,this.prevViewport=i.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight+"px",this.gutters=i.state.facet(Vo).map(e=>new u1(i,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!i.state.facet(zO),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),i.scrollDOM.insertBefore(this.dom,i.contentDOM)}update(i){if(this.updateGutters(i)){let e=this.prevViewport,t=i.view.viewport,n=Math.min(e.to,t.to)-Math.max(e.from,t.from);this.syncGutters(n<(t.to-t.from)*.8)}i.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(zO)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=i.view.viewport}syncGutters(i){let e=this.dom.nextSibling;i&&this.dom.remove();let t=yt.iter(this.view.state.facet(Gf),this.view.viewport.from),n=[],r=this.gutters.map(s=>new g4(s,this.view.viewport,-this.view.documentPadding.top));for(let s of this.view.viewportLineBlocks){let l;if(Array.isArray(s.type)){for(let o of s.type)if(o.type==Tt.Text){l=o;break}}else l=s.type==Tt.Text?s:void 0;if(l){n.length&&(n=[]),hQ(t,n,s.from);for(let o of r)o.line(this.view,l,n)}}for(let s of r)s.finish();i&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(i){let e=i.startState.facet(Vo),t=i.state.facet(Vo),n=i.docChanged||i.heightChanged||i.viewportChanged||!yt.eq(i.startState.facet(Gf),i.state.facet(Gf),i.view.viewport.from,i.view.viewport.to);if(e==t)for(let r of this.gutters)r.update(i)&&(n=!0);else{n=!0;let r=[];for(let s of t){let l=e.indexOf(s);l<0?r.push(new u1(this.view,s)):(this.gutters[l].update(i),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 n}destroy(){for(let i of this.gutters)i.destroy();this.dom.remove()}},{provide:i=>$e.scrollMargins.of(e=>{let t=e.plugin(i);return!t||t.gutters.length==0||!t.fixed?null:e.textDirection==Ht.LTR?{left:t.dom.offsetWidth}:{right:t.dom.offsetWidth}})});function c1(i){return Array.isArray(i)?i:[i]}function hQ(i,e,t){for(;i.value&&i.from<=t;)i.from==t&&e.push(i.value),i.next()}class g4{constructor(e,t,n){this.gutter=e,this.height=n,this.i=0,this.cursor=yt.iter(e.markers,t.from)}line(e,t,n){let r=[];hQ(this.cursor,r,t.from),n.length&&(r=r.concat(n));let s=this.gutter.config.lineMarker(e,t,r);s&&r.unshift(s);let l=this.gutter;if(r.length==0&&!l.config.renderEmptyElements)return;let o=t.top-this.height;if(this.i==l.elements.length){let f=new OQ(e,t.height,o,r);l.elements.push(f),l.dom.appendChild(f.dom)}else l.elements[this.i].update(e,t.height,o,r);this.height=t.bottom,this.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 u1{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 n in t.domEventHandlers)this.dom.addEventListener(n,r=>{let s=r.target,l;if(s!=this.dom&&this.dom.contains(s)){for(;s.parentNode!=this.dom;)s=s.parentNode;let f=s.getBoundingClientRect();l=(f.top+f.bottom)/2}else l=r.clientY;let o=e.lineBlockAtHeight(l-e.documentTop);t.domEventHandlers[n](e,o,r)&&r.preventDefault()});this.markers=c1(t.markers(e)),t.initialSpacer&&(this.spacer=new OQ(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=c1(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 n=e.view.viewport;return!yt.eq(this.markers,t,n.from,n.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class OQ{constructor(e,t,n,r){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,n,r)}update(e,t,n,r){this.height!=t&&(this.dom.style.height=(this.height=t)+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),m4(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,t){let n="cm-gutterElement",r=this.dom.firstChild;for(let s=0,l=0;;){let o=l,f=ss(o,f,u)||l(o,f,u):l}return n}})}});class Vh extends Lr{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function qh(i,e){return i.state.facet($l).formatNumber(e,i.state)}const b4=Vo.compute([$l],i=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(S4)},lineMarker(e,t,n){return n.some(r=>r.toDOM)?null:new Vh(qh(e,e.state.doc.lineAt(t.from).number))},lineMarkerChange:e=>e.startState.facet($l)!=e.state.facet($l),initialSpacer(e){return new Vh(qh(e,h1(e.state.doc.lines)))},updateSpacer(e,t){let n=qh(t.view,h1(t.view.state.doc.lines));return n==e.number?e:new Vh(n)},domEventHandlers:i.facet($l).domEventHandlers}));function $4(i={}){return[$l.of(i),uQ(),b4]}function h1(i){let e=9;for(;e{let e=[],t=-1;for(let n of i.selection.ranges){let r=i.doc.lineAt(n.head).from;r>t&&(t=r,e.push(Q4.range(r)))}return yt.of(e)});function y4(){return w4}function v4(i){let e;return{c(){e=k("div"),y(e,"class","mzn-editor svelte-1fycn7h")},m(t,n){V(t,e,n),i[7](e)},p:Ce,i:Ce,o:Ce,d(t){t&&Y(e),i[7](null)}}}function P4(i,e,t){let{state:n}=e,r,s;Ec(()=>{t(6,s=new $e({parent:r})),s.focus()});function l(){return s||null}function o(){return s?s.state:null}async function f(O){s&&(await hs(),s.dispatch({selection:{anchor:O}}))}function u(){s.focus()}function h(O){ui[O?"unshift":"push"](()=>{r=O,t(0,r)})}return i.$$set=O=>{"state"in O&&t(1,n=O.state)},i.$$.update=()=>{i.$$.dirty&66&&s&&n&&s.state!==n&&s.setState(n)},[r,n,l,o,f,u,s,h]}class k4 extends Ai{constructor(e){super(),Ri(this,e,P4,v4,Zi,{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 En=typeof window<"u"?window:null,wd=En===null,Ho=wd?void 0:En.document,er="addEventListener",tr="removeEventListener",Eh="getBoundingClientRect",Qo="_a",ir="_b",Mr="_c",xf="horizontal",nr=function(){return!1},_4=wd?"calc":["","-webkit-","-moz-","-o-"].filter(function(i){var e=Ho.createElement("div");return e.style.cssText="width:"+i+"calc(9px)",!!e.style.length}).shift()+"calc",dQ=function(i){return typeof i=="string"||i instanceof String},O1=function(i){if(dQ(i)){var e=Ho.querySelector(i);if(!e)throw new Error("Selector "+i+" did not match a DOM element");return e}return i},Mi=function(i,e,t){var n=i[e];return n!==void 0?n:t},Cf=function(i,e,t,n){if(e){if(n==="end")return 0;if(n==="center")return i/2}else if(t){if(n==="start")return 0;if(n==="center")return i/2}return i},W4=function(i,e){var t=Ho.createElement("div");return t.className="gutter gutter-"+e,t},x4=function(i,e,t){var n={};return dQ(e)?n[i]=e:n[i]=_4+"("+e+"% - "+t+"px)",n},C4=function(i,e){var t;return t={},t[i]=e+"px",t},X4=function(i,e){if(e===void 0&&(e={}),wd)return{};var t=i,n,r,s,l,o,f;Array.from&&(t=Array.from(t));var u=O1(t[0]),h=u.parentNode,O=getComputedStyle?getComputedStyle(h):null,p=O?O.flexDirection:null,g=Mi(e,"sizes")||t.map(function(){return 100/t.length}),b=Mi(e,"minSize",100),$=Array.isArray(b)?b:t.map(function(){return b}),Q=Mi(e,"maxSize",1/0),W=Array.isArray(Q)?Q:t.map(function(){return Q}),x=Mi(e,"expandToMin",!1),Z=Mi(e,"gutterSize",10),X=Mi(e,"gutterAlign","center"),T=Mi(e,"snapOffset",30),U=Array.isArray(T)?T:t.map(function(){return T}),L=Mi(e,"dragInterval",1),E=Mi(e,"direction",xf),j=Mi(e,"cursor",E===xf?"col-resize":"row-resize"),z=Mi(e,"gutter",W4),oe=Mi(e,"elementStyle",x4),pe=Mi(e,"gutterStyle",C4);E===xf?(n="width",r="clientX",s="left",l="right",o="clientWidth"):E==="vertical"&&(n="height",r="clientY",s="top",l="bottom",o="clientHeight");function _e(te,H,ie,ae){var He=oe(n,H,ie,ae);Object.keys(He).forEach(function(Ke){te.style[Ke]=He[Ke]})}function we(te,H,ie){var ae=pe(n,H,ie);Object.keys(ae).forEach(function(He){te.style[He]=ae[He]})}function Me(){return f.map(function(te){return te.size})}function Oe(te){return"touches"in te?te.touches[0][r]:te[r]}function fe(te){var H=f[this.a],ie=f[this.b],ae=H.size+ie.size;H.size=te/this.size*ae,ie.size=ae-te/this.size*ae,_e(H.element,H.size,this[ir],H.i),_e(ie.element,ie.size,this[Mr],ie.i)}function Xe(te){var H,ie=f[this.a],ae=f[this.b];this.dragging&&(H=Oe(te)-this.start+(this[ir]-this.dragOffset),L>1&&(H=Math.round(H/L)*L),H<=ie.minSize+ie.snapOffset+this[ir]?H=ie.minSize+this[ir]:H>=this.size-(ae.minSize+ae.snapOffset+this[Mr])&&(H=this.size-(ae.minSize+this[Mr])),H>=ie.maxSize-ie.snapOffset+this[ir]?H=ie.maxSize+this[ir]:H<=this.size-(ae.maxSize-ae.snapOffset+this[Mr])&&(H=this.size-(ae.maxSize+this[Mr])),fe.call(this,H),Mi(e,"onDrag",nr)(Me()))}function De(){var te=f[this.a].element,H=f[this.b].element,ie=te[Eh](),ae=H[Eh]();this.size=ie[n]+ae[n]+this[ir]+this[Mr],this.start=ie[s],this.end=ie[l]}function mt(te){if(!getComputedStyle)return null;var H=getComputedStyle(te);if(!H)return null;var ie=te[o];return ie===0?null:(E===xf?ie-=parseFloat(H.paddingLeft)+parseFloat(H.paddingRight):ie-=parseFloat(H.paddingTop)+parseFloat(H.paddingBottom),ie)}function dt(te){var H=mt(h);if(H===null||$.reduce(function(Ke,lt){return Ke+lt},0)>H)return te;var ie=0,ae=[],He=te.map(function(Ke,lt){var ht=H*Ke/100,Je=Cf(Z,lt===0,lt===te.length-1,X),se=$[lt]+Je;return ht0&&ae[lt]-ie>0){var Je=Math.min(ie,ae[lt]-ie);ie-=Je,ht=Ke-Je}return ht/H*100})}function Lt(){var te=this,H=f[te.a].element,ie=f[te.b].element;te.dragging&&Mi(e,"onDragEnd",nr)(Me()),te.dragging=!1,En[tr]("mouseup",te.stop),En[tr]("touchend",te.stop),En[tr]("touchcancel",te.stop),En[tr]("mousemove",te.move),En[tr]("touchmove",te.move),te.stop=null,te.move=null,H[tr]("selectstart",nr),H[tr]("dragstart",nr),ie[tr]("selectstart",nr),ie[tr]("dragstart",nr),H.style.userSelect="",H.style.webkitUserSelect="",H.style.MozUserSelect="",H.style.pointerEvents="",ie.style.userSelect="",ie.style.webkitUserSelect="",ie.style.MozUserSelect="",ie.style.pointerEvents="",te.gutter.style.cursor="",te.parent.style.cursor="",Ho.body.style.cursor=""}function ti(te){if(!("button"in te&&te.button!==0)){var H=this,ie=f[H.a].element,ae=f[H.b].element;H.dragging||Mi(e,"onDragStart",nr)(Me()),te.preventDefault(),H.dragging=!0,H.move=Xe.bind(H),H.stop=Lt.bind(H),En[er]("mouseup",H.stop),En[er]("touchend",H.stop),En[er]("touchcancel",H.stop),En[er]("mousemove",H.move),En[er]("touchmove",H.move),ie[er]("selectstart",nr),ie[er]("dragstart",nr),ae[er]("selectstart",nr),ae[er]("dragstart",nr),ie.style.userSelect="none",ie.style.webkitUserSelect="none",ie.style.MozUserSelect="none",ie.style.pointerEvents="none",ae.style.userSelect="none",ae.style.webkitUserSelect="none",ae.style.MozUserSelect="none",ae.style.pointerEvents="none",H.gutter.style.cursor=j,H.parent.style.cursor=j,Ho.body.style.cursor=j,De.call(H),H.dragOffset=Oe(te)-H.end}}g=dt(g);var Wt=[];f=t.map(function(te,H){var ie={element:O1(te),size:g[H],minSize:$[H],maxSize:W[H],snapOffset:U[H],i:H},ae;if(H>0&&(ae={a:H-1,b:H,dragging:!1,direction:E,parent:h},ae[ir]=Cf(Z,H-1===0,!1,X),ae[Mr]=Cf(Z,!1,H===t.length-1,X),p==="row-reverse"||p==="column-reverse")){var He=ae.a;ae.a=ae.b,ae.b=He}if(H>0){var Ke=z(H,E,ie.element);we(Ke,Z,H),ae[Qo]=ti.bind(ae),Ke[er]("mousedown",ae[Qo]),Ke[er]("touchstart",ae[Qo]),h.insertBefore(Ke,ie.element),ae.gutter=Ke}return _e(ie.element,ie.size,Cf(Z,H===0,H===t.length-1,X),H),H>0&&Wt.push(ae),ie});function xt(te){var H=te.i===Wt.length,ie=H?Wt[te.i-1]:Wt[te.i];De.call(ie);var ae=H?ie.size-te.minSize-ie[Mr]:te.minSize+ie[ir];fe.call(ie,ae)}f.forEach(function(te){var H=te.element[Eh]()[n];H0){var He=Wt[ae-1],Ke=f[He.a],lt=f[He.b];Ke.size=H[ae-1],lt.size=ie,_e(Ke.element,Ke.size,He[ir],Ke.i),_e(lt.element,lt.size,He[Mr],lt.i)}})}function Se(te,H){Wt.forEach(function(ie){if(H!==!0?ie.parent.removeChild(ie.gutter):(ie.gutter[tr]("mousedown",ie[Qo]),ie.gutter[tr]("touchstart",ie[Qo])),te!==!0){var ae=oe(n,ie.a.size,ie[ir]);Object.keys(ae).forEach(function(He){f[ie.a].element.style[He]="",f[ie.b].element.style[He]=""})}})}return{setSizes:Zt,getSizes:Me,collapse:function(H){xt(f[H])},destroy:Se,parent:h,pairs:Wt}};const T4=i=>({}),d1=i=>({}),Z4=i=>({}),p1=i=>({});function R4(i){let e,t,n,r,s;const l=i[6].panelA,o=an(l,i,i[5],p1),f=i[6].panelB,u=an(f,i,i[5],d1);return{c(){e=k("div"),t=k("div"),o&&o.c(),n=I(),r=k("div"),u&&u.c(),y(t,"class","split-panel svelte-e8t4e8"),le(t,"no-splitter",i[1]!=="all"),le(t,"is-hidden",!Xf("a",i[1])),y(r,"class","split-panel svelte-e8t4e8"),le(r,"no-splitter",i[1]!=="all"),le(r,"is-hidden",!Xf("b",i[1])),y(e,"class","split svelte-e8t4e8"),le(e,"horizontal",i[0]==="horizontal")},m(h,O){V(h,e,O),v(e,t),o&&o.m(t,null),i[7](t),v(e,n),v(e,r),u&&u.m(r,null),i[8](r),s=!0},p(h,[O]){o&&o.p&&(!s||O&32)&&cn(o,l,h,h[5],s?fn(l,h[5],O,Z4):un(h[5]),p1),(!s||O&2)&&le(t,"no-splitter",h[1]!=="all"),(!s||O&2)&&le(t,"is-hidden",!Xf("a",h[1])),u&&u.p&&(!s||O&32)&&cn(u,f,h,h[5],s?fn(f,h[5],O,T4):un(h[5]),d1),(!s||O&2)&&le(r,"no-splitter",h[1]!=="all"),(!s||O&2)&&le(r,"is-hidden",!Xf("b",h[1])),(!s||O&1)&&le(e,"horizontal",h[0]==="horizontal")},i(h){s||(D(o,h),D(u,h),s=!0)},o(h){G(o,h),G(u,h),s=!1},d(h){h&&Y(e),o&&o.d(h),i[7](null),u&&u.d(h),i[8](null)}}}function Xf(i,e){return e==="all"||e===i}function A4(i,e,t){let{$$slots:n={},$$scope:r}=e,{direction:s="horizontal"}=e,{split:l=50}=e,{showPanels:o="all"}=e,f,u,h=null;function O(Q,W){p(),W==="all"&&f&&u&&(console.log(Q),h=X4([f,u],{direction:Q,minSize:0,sizes:[l,100-l],onDragEnd(x){t(4,l=x[0])}}))}function p(){h&&(h.destroy(),h=null)}function g(Q){h&&h.getSizes()[0]!==Q&&h.setSizes([Q,100-Q])}Ec(()=>(O(s,o),p));function b(Q){ui[Q?"unshift":"push"](()=>{f=Q,t(2,f)})}function $(Q){ui[Q?"unshift":"push"](()=>{u=Q,t(3,u)})}return i.$$set=Q=>{"direction"in Q&&t(0,s=Q.direction),"split"in Q&&t(4,l=Q.split),"showPanels"in Q&&t(1,o=Q.showPanels),"$$scope"in Q&&t(5,r=Q.$$scope)},i.$$.update=()=>{i.$$.dirty&3&&O(s,o),i.$$.dirty&16&&g(l)},[s,o,f,u,l,r,n,b,$]}class U4 extends Ai{constructor(e){super(),Ri(this,e,A4,R4,Zi,{direction:0,split:4,showPanels:1})}}const Tf=parseFloat;function IO(i,e=";"){let t;if(Array.isArray(i))t=i.filter(n=>n);else{t=[];for(const n in i)i[n]&&t.push(`${n}:${i[n]}`)}return t.join(e)}function Y4(i,e,t,n){let r,s;const l="1em";let o,f,u,h="-.125em";const O="visible";return n&&(u="center",s="1.25em"),t&&(r=t),e&&(e=="lg"?(f="1.33333em",o=".75em",h="-.225em"):e=="xs"?f=".75em":e=="sm"?f=".875em":f=e.replace("x","em")),IO([IO({float:r,width:s,height:l,"line-height":o,"font-size":f,"text-align":u,"vertical-align":h,"transform-origin":"center",overflow:O}),i])}function V4(i,e,t,n,r,s=1,l="",o=""){let f=1,u=1;return r&&(r=="horizontal"?f=-1:r=="vertical"?u=-1:f=u=-1),IO([`translate(${Tf(e)*s}${l},${Tf(t)*s}${l})`,`scale(${f*Tf(i)},${u*Tf(i)})`,n&&`rotate(${n}${o})`]," ")}function g1(i){let e,t,n,r,s,l,o,f;function u(p,g){return typeof p[10][4]=="string"?E4:q4}let h=u(i),O=h(i);return{c(){e=Pl("svg"),t=Pl("g"),n=Pl("g"),O.c(),y(n,"transform",i[12]),y(t,"transform",r="translate("+i[10][0]/2+" "+i[10][1]/2+")"),y(t,"transform-origin",s=i[10][0]/4+" 0"),y(e,"id",l=i[1]||void 0),y(e,"class",o="svelte-fa "+i[0]+" svelte-1cj2gr0"),y(e,"style",i[11]),y(e,"viewBox",f="0 0 "+i[10][0]+" "+i[10][1]),y(e,"aria-hidden","true"),y(e,"role","img"),y(e,"xmlns","http://www.w3.org/2000/svg"),le(e,"pulse",i[4]),le(e,"spin",i[3])},m(p,g){V(p,e,g),v(e,t),v(t,n),O.m(n,null)},p(p,g){h===(h=u(p))&&O?O.p(p,g):(O.d(1),O=h(p),O&&(O.c(),O.m(n,null))),g&4096&&y(n,"transform",p[12]),g&1024&&r!==(r="translate("+p[10][0]/2+" "+p[10][1]/2+")")&&y(t,"transform",r),g&1024&&s!==(s=p[10][0]/4+" 0")&&y(t,"transform-origin",s),g&2&&l!==(l=p[1]||void 0)&&y(e,"id",l),g&1&&o!==(o="svelte-fa "+p[0]+" svelte-1cj2gr0")&&y(e,"class",o),g&2048&&y(e,"style",p[11]),g&1024&&f!==(f="0 0 "+p[10][0]+" "+p[10][1])&&y(e,"viewBox",f),g&17&&le(e,"pulse",p[4]),g&9&&le(e,"spin",p[3])},d(p){p&&Y(e),O.d()}}}function q4(i){let e,t,n,r,s,l,o,f,u,h;return{c(){e=Pl("path"),l=Pl("path"),y(e,"d",t=i[10][4][0]),y(e,"fill",n=i[6]||i[2]||"currentColor"),y(e,"fill-opacity",r=i[9]!=!1?i[7]:i[8]),y(e,"transform",s="translate("+i[10][0]/-2+" "+i[10][1]/-2+")"),y(l,"d",o=i[10][4][1]),y(l,"fill",f=i[5]||i[2]||"currentColor"),y(l,"fill-opacity",u=i[9]!=!1?i[8]:i[7]),y(l,"transform",h="translate("+i[10][0]/-2+" "+i[10][1]/-2+")")},m(O,p){V(O,e,p),V(O,l,p)},p(O,p){p&1024&&t!==(t=O[10][4][0])&&y(e,"d",t),p&68&&n!==(n=O[6]||O[2]||"currentColor")&&y(e,"fill",n),p&896&&r!==(r=O[9]!=!1?O[7]:O[8])&&y(e,"fill-opacity",r),p&1024&&s!==(s="translate("+O[10][0]/-2+" "+O[10][1]/-2+")")&&y(e,"transform",s),p&1024&&o!==(o=O[10][4][1])&&y(l,"d",o),p&36&&f!==(f=O[5]||O[2]||"currentColor")&&y(l,"fill",f),p&896&&u!==(u=O[9]!=!1?O[8]:O[7])&&y(l,"fill-opacity",u),p&1024&&h!==(h="translate("+O[10][0]/-2+" "+O[10][1]/-2+")")&&y(l,"transform",h)},d(O){O&&(Y(e),Y(l))}}}function E4(i){let e,t,n,r;return{c(){e=Pl("path"),y(e,"d",t=i[10][4]),y(e,"fill",n=i[2]||i[5]||"currentColor"),y(e,"transform",r="translate("+i[10][0]/-2+" "+i[10][1]/-2+")")},m(s,l){V(s,e,l)},p(s,l){l&1024&&t!==(t=s[10][4])&&y(e,"d",t),l&36&&n!==(n=s[2]||s[5]||"currentColor")&&y(e,"fill",n),l&1024&&r!==(r="translate("+s[10][0]/-2+" "+s[10][1]/-2+")")&&y(e,"transform",r)},d(s){s&&Y(e)}}}function M4(i){let e,t=i[10][4]&&g1(i);return{c(){t&&t.c(),e=fi()},m(n,r){t&&t.m(n,r),V(n,e,r)},p(n,[r]){n[10][4]?t?t.p(n,r):(t=g1(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ce,o:Ce,d(n){n&&Y(e),t&&t.d(n)}}}function D4(i,e,t){let{class:n=""}=e,{id:r=""}=e,{style:s=""}=e,{icon:l}=e,{size:o=""}=e,{color:f=""}=e,{fw:u=!1}=e,{pull:h=""}=e,{scale:O=1}=e,{translateX:p=0}=e,{translateY:g=0}=e,{rotate:b=""}=e,{flip:$=!1}=e,{spin:Q=!1}=e,{pulse:W=!1}=e,{primaryColor:x=""}=e,{secondaryColor:Z=""}=e,{primaryOpacity:X=1}=e,{secondaryOpacity:T=.4}=e,{swapOpacity:U=!1}=e,L,E,j;return i.$$set=z=>{"class"in z&&t(0,n=z.class),"id"in z&&t(1,r=z.id),"style"in z&&t(13,s=z.style),"icon"in z&&t(14,l=z.icon),"size"in z&&t(15,o=z.size),"color"in z&&t(2,f=z.color),"fw"in z&&t(16,u=z.fw),"pull"in z&&t(17,h=z.pull),"scale"in z&&t(18,O=z.scale),"translateX"in z&&t(19,p=z.translateX),"translateY"in z&&t(20,g=z.translateY),"rotate"in z&&t(21,b=z.rotate),"flip"in z&&t(22,$=z.flip),"spin"in z&&t(3,Q=z.spin),"pulse"in z&&t(4,W=z.pulse),"primaryColor"in z&&t(5,x=z.primaryColor),"secondaryColor"in z&&t(6,Z=z.secondaryColor),"primaryOpacity"in z&&t(7,X=z.primaryOpacity),"secondaryOpacity"in z&&t(8,T=z.secondaryOpacity),"swapOpacity"in z&&t(9,U=z.swapOpacity)},i.$$.update=()=>{i.$$.dirty&16384&&t(10,L=l&&l.icon||[0,0,"",[],""]),i.$$.dirty&237568&&t(11,E=Y4(s,o,h,u)),i.$$.dirty&8126464&&t(12,j=V4(O,p,g,b,$,512))},[n,r,f,Q,W,x,Z,X,T,U,L,E,j,s,l,o,u,h,O,p,g,b,$]}class z4 extends Ai{constructor(e){super(),Ri(this,e,D4,M4,Zi,{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 _t=z4;var NO={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"]},pQ={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"]},m1={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"]},I4={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"]},N4={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"]},gQ={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"]},S1={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"]},L4={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"]},b1={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"]},mQ={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"]},B4={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"]},SQ=B4,j4={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"]},G4={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"]},F4={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"]},H4={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"]},K4={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"]},J4={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"]},bQ={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"]},$Q={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"]},eC={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"]},QQ={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 tC(i){let e,t,n,r,s,l,o,f,u=i[0]&&!i[3]&&$1(i);return{c(){e=k("span"),t=be(i[1]),n=be(i[2]),r=I(),u&&u.c(),s=fi(),y(e,"class","filename svelte-1ul6ap")},m(h,O){V(h,e,O),v(e,t),v(e,n),V(h,r,O),u&&u.m(h,O),V(h,s,O),l=!0,o||(f=re(e,"click",i[8]),o=!0)},p(h,O){(!l||O&2)&&Le(t,h[1]),(!l||O&4)&&Le(n,h[2]),h[0]&&!h[3]?u?(u.p(h,O),O&9&&D(u,1)):(u=$1(h),u.c(),D(u,1),u.m(s.parentNode,s)):u&&(et(),G(u,1,1,()=>{u=null}),tt())},i(h){l||(D(u),l=!0)},o(h){G(u),l=!1},d(h){h&&(Y(e),Y(r),Y(s)),u&&u.d(h),o=!1,f()}}}function iC(i){let e,t,n,r,s;return{c(){e=k("input"),n=be(i[2]),y(e,"size",t=i[4].length||i[1].length),y(e,"placeholder",i[1])},m(l,o){V(l,e,o),i[11](e),zi(e,i[4]),V(l,n,o),r||(s=[re(e,"input",i[12]),re(e,"blur",i[10]),re(e,"keyup",i[9])],r=!0)},p(l,o){o&18&&t!==(t=l[4].length||l[1].length)&&y(e,"size",t),o&2&&y(e,"placeholder",l[1]),o&16&&e.value!==l[4]&&zi(e,l[4]),o&4&&Le(n,l[2])},i:Ce,o:Ce,d(l){l&&(Y(e),Y(n)),i[11](null),r=!1,Nt(s)}}}function $1(i){let e,t,n,r,s;return t=new _t({props:{icon:$Q}}),{c(){e=k("span"),Ve(t.$$.fragment),y(e,"class","close-tab svelte-1ul6ap")},m(l,o){V(l,e,o),Ue(t,e,null),n=!0,r||(s=re(e,"click",i[13]),r=!0)},p:Ce,i(l){n||(D(t.$$.fragment,l),n=!0)},o(l){G(t.$$.fragment,l),n=!1},d(l){l&&Y(e),Ye(t),r=!1,s()}}}function nC(i){let e,t,n,r,s,l;const o=[iC,tC],f=[];function u(h,O){return h[5]?0:1}return t=u(i),n=f[t]=o[t](i),{c(){e=k("a"),n.c(),y(e,"class","filename-link svelte-1ul6ap"),le(e,"active",i[0]),le(e,"readonly",i[3])},m(h,O){V(h,e,O),f[t].m(e,null),r=!0,s||(l=re(e,"click",i[14]),s=!0)},p(h,[O]){let p=t;t=u(h),t===p?f[t].p(h,O):(et(),G(f[p],1,1,()=>{f[p]=null}),tt(),n=f[t],n?n.p(h,O):(n=f[t]=o[t](h),n.c()),D(n,1),n.m(e,null)),(!r||O&1)&&le(e,"active",h[0]),(!r||O&8)&&le(e,"readonly",h[3])},i(h){r||(D(n),r=!0)},o(h){G(n),r=!1},d(h){h&&Y(e),f[t].d(),s=!1,l()}}}function rC(i,e,t){let{active:n=!1}=e,{name:r="Untitled"}=e,{suffix:s=".mzn"}=e,{readonly:l=!1}=e;const o=Bn();let f=!1,u,h="";async function O(){!n||l||(t(5,f=!0),t(4,h=r),await hs(),u.focus())}function p(x){x.key==="Enter"?(x.preventDefault(),g()):x.key==="Escape"&&t(5,f=!1)}function g(){t(5,f=!1),h.length>0&&o("rename",{name:h,suffix:s})}function b(x){ui[x?"unshift":"push"](()=>{u=x,t(6,u)})}function $(){h=this.value,t(4,h)}const Q=()=>o("close"),W=()=>{f||o("click")};return i.$$set=x=>{"active"in x&&t(0,n=x.active),"name"in x&&t(1,r=x.name),"suffix"in x&&t(2,s=x.suffix),"readonly"in x&&t(3,l=x.readonly)},i.$$.update=()=>{i.$$.dirty&16&&/[\/\\\.]/.test(h)&&t(4,h=h.replaceAll(/[\/\\\.]/g,""))},[n,r,s,l,h,f,u,o,O,p,g,b,$,Q,W]}class sC extends Ai{constructor(e){super(),Ri(this,e,rC,nC,Zi,{active:0,name:1,suffix:2,readonly:3})}}function wQ(i){const e=i-1;return e*e*e+1}function lC(i,{from:e,to:t},n={}){const r=getComputedStyle(i),s=r.transform==="none"?"":r.transform,[l,o]=r.transformOrigin.split(" ").map(parseFloat),f=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=wQ}=n;return{delay:h,duration:qc(O)?O(Math.sqrt(f*f+u*u)):O,easing:p,css:(g,b)=>{const $=b*f,Q=b*u,W=g+b*e.width/t.width,x=g+b*e.height/t.height;return`transform: ${s} translate(${$}px, ${Q}px) scale(${W}, ${x});`}}}function Q1(i,e,t){const n=i.slice();return n[19]=e[t],n}function w1(i,e){let t,n,r,s=Ce,l,o,f;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)}n=new sC({props:{name:e[19].stem,suffix:e[19].suffix,active:e[0]===e[19].index,readonly:e[1]||e[19].readonlyTab}}),n.$on("click",u),n.$on("rename",h),n.$on("close",O);function p(...b){return e[14](e[19],...b)}function g(...b){return e[15](e[19],...b)}return{key:i,first:null,c(){t=k("li"),Ve(n.$$.fragment),y(t,"draggable",!0),le(t,"is-active",e[0]===e[19].index),this.first=t},m(b,$){V(b,t,$),Ue(n,t,null),l=!0,o||(f=[re(t,"dragstart",p),re(t,"dragover",e[7]),re(t,"drop",g)],o=!0)},p(b,$){e=b;const Q={};$&4&&(Q.name=e[19].stem),$&4&&(Q.suffix=e[19].suffix),$&5&&(Q.active=e[0]===e[19].index),$&6&&(Q.readonly=e[1]||e[19].readonlyTab),n.$set(Q),(!l||$&5)&&le(t,"is-active",e[0]===e[19].index)},r(){r=t.getBoundingClientRect()},f(){Wx(t),s()},a(){s(),s=_x(t,r,lC,{duration:200})},i(b){l||(D(n.$$.fragment,b),l=!0)},o(b){G(n.$$.fragment,b),l=!1},d(b){b&&Y(t),Ye(n),o=!1,Nt(f)}}}function y1(i){let e,t,n,r,s,l,o,f,u,h,O,p;return r=new _t({props:{icon:bQ}}),u=new _t({props:{icon:j4}}),{c(){e=k("li"),t=k("a"),n=k("span"),Ve(r.$$.fragment),s=I(),l=k("li"),o=k("button"),f=k("span"),Ve(u.$$.fragment),y(n,"class","icon add-icon svelte-7ub6h4"),y(t,"title","Add new file"),y(f,"class","icon"),y(o,"class","button is-small"),y(o,"title","Manage files"),y(l,"class","right svelte-7ub6h4")},m(g,b){V(g,e,b),v(e,t),v(t,n),Ue(r,n,null),V(g,s,b),V(g,l,b),v(l,o),v(o,f),Ue(u,f,null),h=!0,O||(p=[re(t,"click",i[16]),re(o,"click",i[17])],O=!0)},p:Ce,i(g){h||(D(r.$$.fragment,g),D(u.$$.fragment,g),h=!0)},o(g){G(r.$$.fragment,g),G(u.$$.fragment,g),h=!1},d(g){g&&(Y(e),Y(s),Y(l)),Ye(r),Ye(u),O=!1,Nt(p)}}}function oC(i){let e,t,n=[],r=new Map,s,l,o=it(i[2]);const f=h=>h[19].name;for(let h=0;h{u=null}),tt()):u?(u.p(h,O),O&2&&D(u,1)):(u=y1(h),u.c(),D(u,1),u.m(t,null))},i(h){if(!l){for(let O=0;Of(U.index),Q=(U,L)=>u(L,U.index),W=(U,L)=>b(U.index),x=(U,L)=>O(L,U.index),Z=(U,L)=>g(L,U.index),X=()=>o("newFile"),T=()=>o("manageFiles");return i.$$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)},i.$$.update=()=>{i.$$.dirty&1024&&t(2,n=r.map((U,L)=>{const E=U.name.endsWith(".mzc.mzn")?U.name.length-8:U.name.lastIndexOf(".");return{...U,stem:U.name.substring(0,E),suffix:U.name.substring(E),index:L}}).filter(U=>!U.hidden))},[s,l,n,o,f,u,O,p,g,b,r,$,Q,W,x,Z,X,T]}class fC extends Ai{constructor(e){super(),Ri(this,e,aC,oC,Zi,{files:10,currentIndex:0,readonly:1})}}function v1(i,{delay:e=0,duration:t=400,easing:n=ad}={}){const r=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:n,css:s=>`opacity: ${s*r}`}}function uc(i,{delay:e=0,duration:t=400,easing:n=wQ,x:r=0,y:s=0,opacity:l=0}={}){const o=getComputedStyle(i),f=+o.opacity,u=o.transform==="none"?"":o.transform,h=f*(1-l),[O,p]=sm(r),[g,b]=sm(s);return{delay:e,duration:t,easing:n,css:($,Q)=>` - transform: ${u} translate(${(1-$)*O}${p}, ${(1-$)*g}${b}); - opacity: ${f-h*Q}`}}const cC=i=>({}),P1=i=>({});function k1(i){let e,t,n,r,s,l,o,f,u,h,O,p,g,b,$,Q,W,x;const Z=i[4].default,X=an(Z,i,i[3],null),T=i[4].footer,U=an(T,i,i[3],P1),L=U||uC(i);return{c(){e=k("div"),t=k("div"),n=I(),r=k("div"),s=k("header"),l=k("p"),o=be(i[0]),f=I(),u=k("button"),h=I(),O=k("section"),X&&X.c(),p=I(),g=k("footer"),L&&L.c(),y(t,"class","modal-background"),y(l,"class","modal-card-title"),y(u,"class","delete"),y(u,"aria-label","close"),y(s,"class","modal-card-head"),y(O,"class","modal-card-body"),y(g,"class","modal-card-foot"),y(r,"class","modal-card"),y(e,"class","modal is-active")},m(E,j){V(E,e,j),v(e,t),v(e,n),v(e,r),v(r,s),v(s,l),v(l,o),v(s,f),v(s,u),v(r,h),v(r,O),X&&X.m(O,null),v(r,p),v(r,g),L&&L.m(g,null),Q=!0,W||(x=[re(t,"click",i[2]),re(u,"click",i[2])],W=!0)},p(E,j){(!Q||j&1)&&Le(o,E[0]),X&&X.p&&(!Q||j&8)&&cn(X,Z,E,E[3],Q?fn(Z,E[3],j,null):un(E[3]),null),U&&U.p&&(!Q||j&8)&&cn(U,T,E,E[3],Q?fn(T,E[3],j,cC):un(E[3]),P1)},i(E){Q||(D(X,E),D(L,E),E&&or(()=>{Q&&(b||(b=bl(r,uc,{y:-200,duration:200},!0)),b.run(1))}),E&&or(()=>{Q&&($||($=bl(e,v1,{duration:200},!0)),$.run(1))}),Q=!0)},o(E){G(X,E),G(L,E),E&&(b||(b=bl(r,uc,{y:-200,duration:200},!1)),b.run(0)),E&&($||($=bl(e,v1,{duration:200},!1)),$.run(0)),Q=!1},d(E){E&&Y(e),X&&X.d(E),L&&L.d(E),E&&b&&b.end(),E&&$&&$.end(),W=!1,Nt(x)}}}function uC(i){let e,t,n;return{c(){e=k("button"),e.textContent="Cancel",y(e,"class","button")},m(r,s){V(r,e,s),t||(n=re(e,"click",i[2]),t=!0)},p:Ce,d(r){r&&Y(e),t=!1,n()}}}function hC(i){let e,t,n=i[1]&&k1(i);return{c(){n&&n.c(),e=fi()},m(r,s){n&&n.m(r,s),V(r,e,s),t=!0},p(r,[s]){r[1]?n?(n.p(r,s),s&2&&D(n,1)):(n=k1(r),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(et(),G(n,1,1,()=>{n=null}),tt())},i(r){t||(D(n),t=!0)},o(r){G(n),t=!1},d(r){r&&Y(e),n&&n.d(r)}}}function OC(i,e,t){let{$$slots:n={},$$scope:r}=e,{title:s}=e,{active:l=!1}=e;const o=Bn();function f(){o("cancel")}return i.$$set=u=>{"title"in u&&t(0,s=u.title),"active"in u&&t(1,l=u.active),"$$scope"in u&&t(3,r=u.$$scope)},[s,l,f,r,n]}class Vl extends Ai{constructor(e){super(),Ri(this,e,OC,hC,Zi,{title:0,active:1})}}const yQ=1024;let dC=0;class zn{constructor(e,t){this.from=e,this.to=t}}class je{constructor(e={}){this.id=dC++,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=Ji.match(e)),t=>{let n=e(t);return n===void 0?null:[this,n]}}}je.closedBy=new je({deserialize:i=>i.split(" ")});je.openedBy=new je({deserialize:i=>i.split(" ")});je.group=new je({deserialize:i=>i.split(" ")});je.contextHash=new je({perNode:!0});je.lookAhead=new je({perNode:!0});je.mounted=new je({perNode:!0});class pC{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}}const gC=Object.create(null);class Ji{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):gC,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new Ji(e.name||"",t,e.id,n);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(je.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(" "))t[r]=e[n];return n=>{for(let r=n.prop(je.group),s=-1;s<(r?r.length:0);s++){let l=t[s<0?n.name:r[s]];if(l)return l}}}}Ji.none=new Ji("",Object.create(null),0,8);class yd{constructor(e){this.types=e;for(let t=0;t=r&&(l.type.isAnonymous||t(l)!==!1)){if(l.firstChild())continue;o=!0}for(;o&&n&&!l.type.isAnonymous&&n(l),!l.nextSibling();){if(!l.parent())return;o=!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:kd(Ji.none,this.children,this.positions,0,this.children.length,0,this.length,(t,n,r)=>new Kt(this.type,t,n,r,this.propValues),e.makeTree||((t,n,r)=>new Kt(Ji.none,t,n,r)))}static build(e){return SC(e)}}Kt.empty=new Kt(Ji.none,[],[],0);class vd{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 vd(this.buffer,this.index)}}class Fs{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return Ji.none}toString(){let e=[];for(let t=0;t0));f=l[f+3]);return o}slice(e,t,n){let r=this.buffer,s=new Uint16Array(t-e),l=0;for(let o=e,f=0;o=e&&te;case 1:return t<=e&&n>e;case 2:return n>e;case 4:return!0}}function PQ(i,e){let t=i.childBefore(e);for(;t;){let n=t.lastChild;if(!n||n.to!=t.to)break;n.type.isError&&n.from==n.to?(i=t,t=n.prevSibling):t=n}return i}function ql(i,e,t,n){for(var r;i.from==i.to||(t<1?i.from>=e:i.from>e)||(t>-1?i.to<=e:i.to0?o.length:-1;e!=u;e+=t){let h=o[e],O=f[e]+l.from;if(vQ(r,n,O,O+h.length)){if(h instanceof Fs){if(s&Ut.ExcludeBuffers)continue;let p=h.findChild(0,h.buffer.length,t,n-O,r);if(p>-1)return new $r(new mC(l,h,e,O),null,p)}else if(s&Ut.IncludeAnonymous||!h.type.isAnonymous||Pd(h)){let p;if(!(s&Ut.IgnoreMounts)&&h.props&&(p=h.prop(je.mounted))&&!p.overlay)return new Nn(p.tree,O,e,l);let g=new Nn(h,O,e,l);return s&Ut.IncludeAnonymous||!g.type.isAnonymous?g:g.nextChild(t<0?h.children.length-1:0,t,n,r)}}}if(s&Ut.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,n=0){let r;if(!(n&Ut.IgnoreOverlays)&&(r=this._tree.prop(je.mounted))&&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 Nn(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new Ko(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return ql(this,e,t,!1)}resolveInner(e,t=0){return ql(this,e,t,!0)}enterUnfinishedNodesBefore(e){return PQ(this,e)}getChild(e,t=null,n=null){let r=hc(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return hc(this,e,t,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return Oc(this,e)}}function hc(i,e,t,n){let r=i.cursor(),s=[];if(!r.firstChild())return s;if(t!=null){for(;!r.type.is(t);)if(!r.nextSibling())return s}for(;;){if(n!=null&&r.type.is(n))return s;if(r.type.is(e)&&s.push(r.node),!r.nextSibling())return n==null?s:[]}}function Oc(i,e,t=e.length-1){for(let n=i.parent;t>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[t]&&e[t]!=n.name)return!1;t--}}return!0}class mC{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}class $r{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,n){this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n);return s<0?null:new $r(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,n=0){if(n&Ut.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 $r(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 $r(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 $r(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new Ko(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,s=n.buffer[this.index+3];if(s>r){let l=n.buffer[this.index+1];e.push(n.slice(r,s,l)),t.push(0)}return new Kt(this.type,e,t,this.to-this.from)}resolve(e,t=0){return ql(this,e,t,!1)}resolveInner(e,t=0){return ql(this,e,t,!0)}enterUnfinishedNodesBefore(e){return PQ(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,n=null){let r=hc(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return hc(this,e,t,n)}get node(){return this}matchContext(e){return Oc(this,e)}}class Ko{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 Nn)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}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:n,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return e?e instanceof Nn?(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,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:r}=this.buffer,s=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);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,n=this.mode){return this.buffer?n&Ut.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Ut.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Ut.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,n=this.stack.length-1;if(e<0){let r=n<0?0:this.stack[n]+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<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(r)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let s=t+e,l=e<0?-1:n._tree.children.length;s!=l;s+=e){let o=n._tree.children[s];if(this.mode&Ut.IncludeAnonymous||o instanceof Fs||!o.type.isAnonymous||Pd(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,n=s+1;break e}r=this.stack[--s]}for(let r=n;r=0;s--){if(s<0)return Oc(this.node,e,r);let l=n[t.buffer[this.stack[s]]];if(!l.isAnonymous){if(e[r]&&e[r]!=l.name)return!1;r--}}return!0}}function Pd(i){return i.children.some(e=>e instanceof Fs||!e.type.isAnonymous||Pd(e))}function SC(i){var e;let{buffer:t,nodeSet:n,maxBufferLength:r=yQ,reused:s=[],minRepeatType:l=n.types.length}=i,o=Array.isArray(t)?new vd(t,t.length):t,f=n.types,u=0,h=0;function O(X,T,U,L,E){let{id:j,start:z,end:oe,size:pe}=o,_e=h;for(;pe<0;)if(o.next(),pe==-1){let Xe=s[j];U.push(Xe),L.push(z-X);return}else if(pe==-3){u=j;return}else if(pe==-4){h=j;return}else throw new RangeError(`Unrecognized record size: ${pe}`);let we=f[j],Me,Oe,fe=z-X;if(oe-z<=r&&(Oe=$(o.pos-T,E))){let Xe=new Uint16Array(Oe.size-Oe.skip),De=o.pos-Oe.size,mt=Xe.length;for(;o.pos>De;)mt=Q(Oe.start,Xe,mt);Me=new Fs(Xe,oe-Oe.start,n),fe=Oe.start-X}else{let Xe=o.pos-pe;o.next();let De=[],mt=[],dt=j>=l?j:-1,Lt=0,ti=oe;for(;o.pos>Xe;)dt>=0&&o.id==dt&&o.size>=0?(o.end<=ti-r&&(g(De,mt,z,Lt,o.end,ti,dt,_e),Lt=De.length,ti=o.end),o.next()):O(z,Xe,De,mt,dt);if(dt>=0&&Lt>0&&Lt-1&&Lt>0){let Wt=p(we);Me=kd(we,De,mt,0,De.length,0,oe-z,Wt,Wt)}else Me=b(we,De,mt,oe-z,_e-oe)}U.push(Me),L.push(fe)}function p(X){return(T,U,L)=>{let E=0,j=T.length-1,z,oe;if(j>=0&&(z=T[j])instanceof Kt){if(!j&&z.type==X&&z.length==L)return z;(oe=z.prop(je.lookAhead))&&(E=U[j]+z.length+oe)}return b(X,T,U,L,E)}}function g(X,T,U,L,E,j,z,oe){let pe=[],_e=[];for(;X.length>L;)pe.push(X.pop()),_e.push(T.pop()+U-E);X.push(b(n.types[z],pe,_e,j-E,oe-j)),T.push(E-U)}function b(X,T,U,L,E=0,j){if(u){let z=[je.contextHash,u];j=j?[z].concat(j):[z]}if(E>25){let z=[je.lookAhead,E];j=j?[z].concat(j):[z]}return new Kt(X,T,U,L,j)}function $(X,T){let U=o.fork(),L=0,E=0,j=0,z=U.end-r,oe={size:0,start:0,skip:0};e:for(let pe=U.pos-X;U.pos>pe;){let _e=U.size;if(U.id==T&&_e>=0){oe.size=L,oe.start=E,oe.skip=j,j+=4,L+=4,U.next();continue}let we=U.pos-_e;if(_e<0||we=l?4:0,Oe=U.start;for(U.next();U.pos>we;){if(U.size<0)if(U.size==-3)Me+=4;else break e;else U.id>=l&&(Me+=4);U.next()}E=Oe,L+=_e,j+=Me}return(T<0||L==X)&&(oe.size=L,oe.start=E,oe.skip=j),oe.size>4?oe:void 0}function Q(X,T,U){let{id:L,start:E,end:j,size:z}=o;if(o.next(),z>=0&&L4){let pe=o.pos-(z-4);for(;o.pos>pe;)U=Q(X,T,U)}T[--U]=oe,T[--U]=j-X,T[--U]=E-X,T[--U]=L}else z==-3?u=L:z==-4&&(h=L);return U}let W=[],x=[];for(;o.pos>0;)O(i.start||0,i.bufferStart||0,W,x,-1);let Z=(e=i.length)!==null&&e!==void 0?e:W.length?x[0]+W[0].length:0;return new Kt(f[i.topID],W.reverse(),x.reverse(),Z)}const W1=new WeakMap;function Ff(i,e){if(!i.isAnonymous||e instanceof Fs||e.type!=i)return 1;let t=W1.get(e);if(t==null){t=1;for(let n of e.children){if(n.type!=i||!(n instanceof Kt)){t=1;break}t+=Ff(i,n)}W1.set(e,t)}return t}function kd(i,e,t,n,r,s,l,o,f){let u=0;for(let b=n;b=h)break;U+=L}if(Z==X+1){if(U>h){let L=b[X];g(L.children,L.positions,0,L.children.length,$[X]+x);continue}O.push(b[X])}else{let L=$[Z-1]+b[Z-1].length-T;O.push(kd(i,b,$,X,Z,T,L,null,f))}p.push(T+x-s)}}return g(e,t,n,r,0),(o||f)(O,p,l)}class kQ{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof $r?this.setBuffer(e.context.buffer,e.index,t):e instanceof Nn&&this.map.set(e.tree,t)}get(e){return e instanceof $r?this.getBuffer(e.context.buffer,e.index):e instanceof Nn?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 Ir{constructor(e,t,n,r,s=!1,l=!1){this.from=e,this.to=t,this.tree=n,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=[],n=!1){let r=[new Ir(0,e.length,e,0,!1,n)];for(let s of t)s.to>e.length&&r.push(s);return r}static applyChanges(e,t,n=128){if(!t.length)return e;let r=[],s=1,l=e.length?e[0]:null;for(let o=0,f=0,u=0;;o++){let h=o=n)for(;l&&l.from=p.from||O<=p.to||u){let g=Math.max(p.from,f)-u,b=Math.min(p.to,O)-u;p=g>=b?null:new Ir(g,b,p.tree,p.offset+u,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||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let s=r.advance();if(s)return s}}}class bC{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 $C(i){return(e,t,n,r)=>new wC(e,i,t,n,r)}class x1{constructor(e,t,n,r,s){this.parser=e,this.parse=t,this.overlay=n,this.target=r,this.ranges=s}}class QC{constructor(e,t,n,r,s,l,o){this.parser=e,this.predicate=t,this.mounts=n,this.index=r,this.start=s,this.target=l,this.prev=o,this.depth=0,this.ranges=[]}}const LO=new je({perNode:!0});class wC{constructor(e,t,n,r,s){this.nest=t,this.input=n,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 n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let r of this.inner)r.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new Kt(n.type,n.children,n.positions,n.length,n.propValues.concat([[LO,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[je.mounted.id]=new pC(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;th.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(n&&(l=yC(n.ranges,r.from,r.to)))o=l!=2;else if(!r.type.isAnonymous&&r.fromnew zn(O.from-r.from,O.to-r.from)):null,r.tree,h)),s.overlay?h.length&&(n={ranges:h,depth:0,prev:n}):o=!1}}else t&&(f=t.predicate(r))&&(f===!0&&(f=new zn(r.from,r.to)),f.fromnew zn(h.from-t.start,h.to-t.start)),t.target,u)),t=t.prev}n&&!--n.depth&&(n=n.prev)}}}}function yC(i,e,t){for(let n of i){if(n.from>=t)break;if(n.to>e)return n.from<=e&&n.to>=t?2:1}return 0}function C1(i,e,t,n,r,s){if(e=e.to);n++);let l=r.children[n],o=l.buffer;function f(u,h,O,p,g){let b=u;for(;o[b+2]+s<=e.from;)b=o[b+3];let $=[],Q=[];C1(l,u,b,$,Q,p);let W=o[b+1],x=o[b+2],Z=W+s==e.from&&x+s==e.to&&o[b]==e.type.id;return $.push(Z?e.toTree():f(b+4,o[b+3],l.set.types[o[b]],W,x-W)),Q.push(W-p),C1(l,o[b+3],h,$,Q,p),new Kt(O,$,Q,g)}r.children[n]=f(0,o.length,Ji.none,0,l.length);for(let u=0;u<=t;u++)i.childAfter(e.from)}class X1{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(Ut.IncludeAnonymous|Ut.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from=e&&t.enter(n,1,Ut.IgnoreOverlays|Ut.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 Kt)t=t.children[0];else break}return!1}}let PC=class{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=(t=n.tree.prop(LO))!==null&&t!==void 0?t:n.to,this.inner=new X1(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=(e=t.tree.prop(LO))!==null&&e!==void 0?e:t.to,this.inner=new X1(t.tree,-t.offset)}}findMounts(e,t){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let s=this.inner.cursor.node;s;s=s.parent){let l=(n=s.tree)===null||n===void 0?void 0:n.prop(je.mounted);if(l&&l.parser==t)for(let o=this.fragI;o=s.to)break;f.tree==this.curFrag.tree&&r.push({frag:f,pos:s.from-f.offset,mount:l})}}}return r}};function T1(i,e){let t=null,n=e;for(let r=1,s=0;r=o)break;f.to<=l||(t||(n=t=e.slice()),f.fromo&&t.splice(s+1,0,new zn(o,f.to))):f.to>o?t[s--]=new zn(o,f.to):t.splice(s--,1))}}return n}function kC(i,e,t,n){let r=0,s=0,l=!1,o=!1,f=-1e9,u=[];for(;;){let h=r==i.length?1e9:l?i[r].to:i[r].from,O=s==e.length?1e9:o?e[s].to:e[s].from;if(l!=o){let p=Math.max(f,t),g=Math.min(h,O,n);pnew zn(p.from+n,p.to+n)),O=kC(e,h,f,u);for(let p=0,g=f;;p++){let b=p==O.length,$=b?u:O[p].from;if($>g&&t.push(new Ir(g,$,r.tree,-l,s.from>=g||s.openStart,s.to<=$||s.openEnd)),b)break;g=O[p].to}}else t.push(new Ir(f,u,r.tree,-l,s.from>=l||s.openStart,s.to<=o||s.openEnd))}return t}class dc{constructor(e,t,n,r,s,l,o,f,u,h=0,O){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=s,this.score=l,this.buffer=o,this.bufferBase=f,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,n=0){let r=e.parser.context;return new dc(e,[],t,n,n,0,[],0,r?new R1(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 n=e>>19,r=e&65535,{parser:s}=this.p,l=s.dynamicPrecedence(r);if(l&&(this.score+=l),n==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)&&(f==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSizeo;)this.stack.pop();this.reduceContext(r,f)}storeNode(e,t,n,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==n)return;if(l.buffer[o-2]>=t){l.buffer[o-2]=n;return}}}if(!s||this.pos==n)this.buffer.push(e,t,n,r);else{let l=this.buffer.length;if(l>0&&this.buffer[l-4]!=0)for(;l>0&&this.buffer[l-2]>n;)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]=n,this.buffer[l+3]=r}}shift(e,t,n){let r=this.pos;if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=n,this.shiftContext(t,r),t<=this.p.parser.maxNode&&this.buffer.push(t,r,n,4);else{let s=e,{parser:l}=this.p;(n>this.pos||t<=l.maxNode)&&(this.pos=n,l.stateFlag(s,1)||(this.reducePos=n)),this.pushState(s,r),this.shiftContext(t,r),t<=l.maxNode&&this.buffer.push(t,r,n,4)}}apply(e,t,n){e&65536?this.reduce(e):this.shift(e,t,n)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,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 n=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new dc(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new _C(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(n==0)return!1;if(!(n&65536))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>4<<1||this.stack.length>=120){let r=[];for(let s=0,l;sf&1&&o==l)||r.push(t[s],l)}t=r}let n=[];for(let r=0;r>19,r=t&65535,s=this.stack.length-n*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=[],n=(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 f=l&65535,u=this.stack.length-o*3;if(u>=0&&e.getGoto(this.stack[u],f,!1)>=0)return o<<19|65536|f}}else{let o=n(l,s+1);if(o!=null)return o}})};return n(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.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 R1{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}var A1;(function(i){i[i.Insert=200]="Insert",i[i.Delete=190]="Delete",i[i.Reduce=100]="Reduce",i[i.MaxNext=4]="MaxNext",i[i.MaxInsertStackDepth=300]="MaxInsertStackDepth",i[i.DampenInsertStackDepth=120]="DampenInsertStackDepth",i[i.MinBigReduction=2e3]="MinBigReduction"})(A1||(A1={}));class _C{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}class pc{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new pc(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 pc(this.stack,this.pos,this.index)}}function To(i,e=Uint16Array){if(typeof i!="string")return i;let t=null;for(let n=0,r=0;n=92&&l--,l>=34&&l--;let f=l-32;if(f>=46&&(f-=46,o=!0),s+=f,o)break;s*=46}t?t[r++]=s:t=new e(s)}return t}class Hf{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const U1=new Hf;class WC{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=U1,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,r=this.rangeIndex,s=this.pos+e;for(;sn.to:s>=n.to;){if(r==this.ranges.length-1)return null;let l=this.ranges[++r];s+=l.from-n.to,n=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,n,r;if(t>=0&&t=this.chunk2Pos&&no.to&&(this.chunk2=this.chunk2.slice(0,o.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(n==null||n=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=U1,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}}class Xl{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;WQ(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}Xl.prototype.contextual=Xl.prototype.fallback=Xl.prototype.extend=!1;class BO{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data=typeof e=="string"?To(e):e}token(e,t){let n=e.pos,r=0;for(;;){let s=e.next<0,l=e.resolveOffset(1,1);if(WQ(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(n,e.token),e.acceptToken(this.elseToken,r))}}BO.prototype.contextual=Xl.prototype.fallback=Xl.prototype.extend=!1;class _r{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function WQ(i,e,t,n,r,s){let l=0,o=1<0){let b=i[g];if(f.allows(b)&&(e.token.value==-1||e.token.value==b||xC(b,e.token.value,r,s))){e.acceptToken(b);break}}let h=e.next,O=0,p=i[l+2];if(e.next<0&&p>O&&i[u+p*3-3]==65535&&i[u+p*3-3]==65535){l=i[u+p*3-1];continue e}for(;O>1,b=u+g+(g<<1),$=i[b],Q=i[b+1]||65536;if(h<$)p=g;else if(h>=Q)O=g+1;else{l=i[b+2],e.advance();continue e}}break}}function Y1(i,e,t){for(let n=e,r;(r=i[n])!=65535;n++)if(r==t)return n-e;return-1}function xC(i,e,t,n){let r=Y1(t,n,e);return r<0||Y1(t,n,i)e)&&!n.type.isError)return t<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(i.length,Math.max(n.from+1,e+25));if(t<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return t<0?0:i.length}}class CC{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?q1(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?q1(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 Kt){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 XC{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new Hf)}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:s}=r,l=r.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,f=0;for(let u=0;uO.end+25&&(f=Math.max(O.lookAhead,f)),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&&(n=O,t>p))break}}for(;this.actions.length>t;)this.actions.pop();return f&&e.setLookAhead(f),!n&&e.pos==this.stream.end&&(n=new Hf,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new Hf,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:s}=n.p;for(let l=0;l=0&&n.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,n,r){for(let s=0;se.bufferLength*4?new CC(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,n=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)n.push(o);else{if(this.advanceStack(o,n,e))continue;{r||(r=[],s=[]),r.push(o);let f=this.tokens.getMainToken(o);s.push(f.value,f.end)}}break}}if(!n.length){let l=r&&RC(r);if(l)return this.stackToTree(l);if(this.parser.strict)throw rr&&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,n);if(l)return this.stackToTree(l.forceAll())}if(this.recovering){let l=this.recovering==1?1:this.recovering*3;if(n.length>l)for(n.sort((o,f)=>f.score-o.score);n.length>l;)n.pop();n.some(o=>o.reducePos>t)&&this.recovering--}else if(n.length>1){e:for(let l=0;l500&&u.buffer.length>500)if((o.score-u.score||o.buffer.length-u.buffer.length)>0)n.splice(f--,1);else{n.splice(l--,1);continue e}}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[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(je.contextHash)||0)==h))return e.useNode(O,p),rr&&console.log(l+this.stackID(e)+` (via reuse of ${s.getName(O.type.id)})`),!0;if(!(O instanceof Kt)||O.children.length==0||O.positions[0]>0)break;let g=O.children[0];if(g instanceof Kt&&O.positions[0]==0)O=g;else break}}let o=s.stateSlot(e.state,4);if(o>0)return e.reduce(o),rr&&console.log(l+this.stackID(e)+` (via always-reduce ${s.getName(o&65535)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let f=this.tokens.getActions(e);for(let u=0;ur?t.push(b):n.push(b)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return M1(e,t),!0}}runRecovery(e,t,n){let r=null,s=!1;for(let l=0;l ":"";if(o.deadEnd&&(s||(s=!0,o.restart(),rr&&console.log(h+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))))continue;let O=o.split(),p=h;for(let g=0;O.forceReduce()&&g<10&&(rr&&console.log(p+this.stackID(O)+" (via force-reduce)"),!this.advanceFully(O,n));g++)rr&&(p=this.stackID(O)+" -> ");for(let g of o.recoverByInsert(f))rr&&console.log(h+this.stackID(g)+" (via recover-insert)"),this.advanceFully(g,n);this.stream.end>o.pos?(u==o.pos&&(u++,f=0),o.recoverByDelete(f,u),rr&&console.log(h+this.stackID(o)+` (via recover-delete ${this.parser.getName(f)})`),M1(o,n)):(!r||r.scorei;class xQ{constructor(e){this.start=e.start,this.shift=e.shift||Dh,this.reduce=e.reduce||Dh,this.reuse=e.reuse||Dh,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class vs extends _Q{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,f,o[u++]);else{let O=o[u+-h];for(let p=-h;p>0;p--)s(o[u++],f,O);u++}}}this.nodeSet=new yd(t.map((o,f)=>Ji.define({name:f>=this.minRepeatTerm?void 0:o,id:f,props:r[f],top:n.indexOf(f)>-1,error:f==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(f)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=yQ;let l=To(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 Xl(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,n){let r=new TC(this,e,t,n);for(let s of this.wrappers)r=s(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let s=r[t+1];;){let l=r[s++],o=l&1,f=r[s++];if(o&&n)return f;for(let u=s+(l>>1);s0}validAction(e,t){return!!this.allActions(e,n=>n==t?!0:null)}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):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=Dr(this.data,s+2);else break;r=t(Dr(this.data,s+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=Dr(this.data,n+2);else break;if(!(this.data[n+2]&1)){let r=this.data[n+1];t.some((s,l)=>l&1&&s==r)||t.push(this.data[n],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 n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(n=>{let r=e.tokenizers.find(s=>s.from==n);return r?r.to:n})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,r)=>{let s=e.specializers.find(o=>o.from==n.external);if(!s)return n;let l=Object.assign(Object.assign({},n),{external:s.to});return t.specializers[r]=D1(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),n=t.map(()=>!1);if(e)for(let s of e.split(" ")){let l=t.indexOf(s);l>=0&&(n[l]=!0)}let r=null;for(let s=0;sn)&&t.p.parser.stateFlag(t.state,2)&&(!e||e.scorei.external(t,n)<<1|e}return i.get}const AC={__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},UC=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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olation 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&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Zr&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:i=>AC[i]||-1}],tokenPrec:0});let YC=0;class Sr{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=YC++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let t=new Sr([],null,[]);if(t.set.push(t),e)for(let n of e.set)t.set.push(n);return t}static defineModifier(){let e=new gc;return t=>t.modified.indexOf(e)>-1?t:gc.get(t.base||t,t.modified.concat(e).sort((n,r)=>n.id-r.id))}}let VC=0;class gc{constructor(){this.instances=[],this.id=VC++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(o=>o.base==e&&qC(t,o.modified));if(n)return n;let r=[],s=new Sr(r,e,t);for(let o of t)o.instances.push(s);let l=EC(t);for(let o of e.set)if(!o.modified.length)for(let f of l)r.push(gc.get(o,f));return s}}function qC(i,e){return i.length==e.length&&i.every((t,n)=>t==e[n])}function EC(i){let e=[[]];for(let t=0;tn.length-t.length)}function Ll(i){let e=Object.create(null);for(let t in i){let n=i[t];Array.isArray(n)||(n=[n]);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 f=s.length-1,u=s[f];if(!u)throw new RangeError("Invalid path: "+r);let h=new mc(n,l,f>0?s.slice(0,f):null);e[u]=h.sort(e[u])}}return CQ.add(e)}const CQ=new je;class mc{constructor(e,t,n,r){this.tags=e,this.mode=t,this.context=n,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 f of o.set){let u=t[f.id];if(u){l=l?l+" "+u:u;break}}return l},scope:n}}function MC(i,e){let t=null;for(let n of i){let r=n.style(e);r&&(t=t?t+" "+r:r)}return t}function DC(i,e,t,n=0,r=i.length){let s=new zC(n,Array.isArray(e)?e:[e],t);s.highlightRange(i.cursor(),n,r,"",s.highlighters),s.flush(r)}class zC{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,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,n,r,s){let{type:l,from:o,to:f}=e;if(o>=n||f<=t)return;l.isTop&&(s=this.highlighters.filter(g=>!g.scope||g.scope(l)));let u=r,h=IC(e)||mc.empty,O=MC(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(je.mounted);if(p&&p.overlay){let g=e.node.enter(p.overlay[0].from+o,1),b=this.highlighters.filter(Q=>!Q.scope||Q.scope(p.tree.type)),$=e.firstChild();for(let Q=0,W=o;;Q++){let x=Q=Z||!e.nextSibling())););if(!x||Z>n)break;W=x.to+o,W>t&&(this.highlightRange(g.cursor(),Math.max(t,x.from+o),Math.min(n,W),"",b),this.startSpan(Math.min(n,W),u))}$&&e.parent()}else if(e.firstChild()){p&&(r="");do if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,r,s),this.startSpan(Math.min(n,e.to),u)}while(e.nextSibling());e.parent()}}}function IC(i){let e=i.type.prop(CQ);for(;e&&e.context&&!i.matchContext(e.context);)e=e.next;return e||null}const he=Sr.define,Rf=he(),cs=he(),z1=he(cs),I1=he(cs),us=he(),Af=he(us),zh=he(us),gr=he(),qs=he(gr),dr=he(),pr=he(),jO=he(),wo=he(jO),Uf=he(),S={comment:Rf,lineComment:he(Rf),blockComment:he(Rf),docComment:he(Rf),name:cs,variableName:he(cs),typeName:z1,tagName:he(z1),propertyName:I1,attributeName:he(I1),className:he(cs),labelName:he(cs),namespace:he(cs),macroName:he(cs),literal:us,string:Af,docString:he(Af),character:he(Af),attributeValue:he(Af),number:zh,integer:he(zh),float:he(zh),bool:he(us),regexp:he(us),escape:he(us),color:he(us),url:he(us),keyword:dr,self:he(dr),null:he(dr),atom:he(dr),unit:he(dr),modifier:he(dr),operatorKeyword:he(dr),controlKeyword:he(dr),definitionKeyword:he(dr),moduleKeyword:he(dr),operator:pr,derefOperator:he(pr),arithmeticOperator:he(pr),logicOperator:he(pr),bitwiseOperator:he(pr),compareOperator:he(pr),updateOperator:he(pr),definitionOperator:he(pr),typeOperator:he(pr),controlOperator:he(pr),punctuation:jO,separator:he(jO),bracket:wo,angleBracket:he(wo),squareBracket:he(wo),paren:he(wo),brace:he(wo),content:gr,heading:qs,heading1:he(qs),heading2:he(qs),heading3:he(qs),heading4:he(qs),heading5:he(qs),heading6:he(qs),contentSeparator:he(gr),list:he(gr),quote:he(gr),emphasis:he(gr),strong:he(gr),link:he(gr),monospace:he(gr),strikethrough:he(gr),inserted:he(),deleted:he(),changed:he(),invalid:he(),meta:Uf,documentMeta:he(Uf),annotation:he(Uf),processingInstruction:he(Uf),definition:Sr.defineModifier(),constant:Sr.defineModifier(),function:Sr.defineModifier(),standard:Sr.defineModifier(),local:Sr.defineModifier(),special:Sr.defineModifier()};XQ([{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 Ih;const Ql=new je;function TQ(i){return Pe.define({combine:i?e=>e.concat(i):void 0})}const _d=new je;class lr{constructor(e,t,n=[],r=""){this.data=e,this.name=r,at.prototype.hasOwnProperty("tree")||Object.defineProperty(at.prototype,"tree",{get(){return ei(this)}}),this.parser=t,this.extension=[ks.of(this),at.languageData.of((s,l,o)=>{let f=N1(s,l,o),u=f.type.prop(Ql);if(!u)return[];let h=s.facet(u),O=f.type.prop(_d);if(O){let p=f.resolve(l-f.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(n)}isActiveAt(e,t,n=-1){return N1(e,t,n).type.prop(Ql)==this.data}findRegions(e){let t=e.facet(ks);if((t==null?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(s,l)=>{if(s.prop(Ql)==this.data){n.push({from:l,to:l+s.length});return}let o=s.prop(je.mounted);if(o){if(o.tree.prop(Ql)==this.data){if(o.overlay)for(let f of o.overlay)n.push({from:f.from+l,to:f.to+l});else n.push({from:l,to:l+s.length});return}else if(o.overlay){let f=n.length;if(r(o.tree,o.overlay[0].from+l),n.length>f)return}}for(let f=0;fn.isTop?t:void 0)]}),e.name)}configure(e,t){return new Ps(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function ei(i){let e=i.field(lr.state,!1);return e?e.tree:Kt.empty}class NC{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 n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let yo=null;class Sc{constructor(e,t,n=[],r,s,l,o,f){this.parser=e,this.state=t,this.fragments=n,this.tree=r,this.treeLen=s,this.viewport=l,this.skipped=o,this.scheduleOn=f,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new Sc(e,t,[],Kt.empty,0,n,[],null)}startParse(){return this.parser.startParse(new NC(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=Kt.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;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(Ir.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=yo;yo=this;try{return e()}finally{yo=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=L1(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:r,treeLen:s,viewport:l,skipped:o}=this;if(this.takeTree(),!e.empty){let f=[];if(e.iterChangedRanges((u,h,O,p)=>f.push({fromA:u,toA:h,fromB:O,toB:p})),n=Ir.applyChanges(n,f),r=Kt.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=L1(this.fragments,r,s),this.skipped.splice(n--,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 _Q{createParse(t,n,r){let s=r[0].from,l=r[r.length-1].to;return{parsedPos:s,advance(){let f=yo;if(f){for(let u of r)f.tempSkipped.push(u);e&&(f.scheduleOn=f.scheduleOn?Promise.all([f.scheduleOn,e]):e)}return this.parsedPos=l,new Kt(Ji.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 yo}}function L1(i,e,t){return Ir.applyChanges(i,[{fromA:e,toA:t,fromB:e,toB:t}])}class El{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new El(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=Sc.create(e.facet(ks).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new El(n)}}lr.state=$i.define({create:El.init,update(i,e){for(let t of e.effects)if(t.is(lr.setState))return t.value;return e.startState.facet(ks)!=e.state.facet(ks)?El.init(e.state):i.apply(e)}});let ZQ=i=>{let e=setTimeout(()=>i(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(ZQ=i=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(i,{timeout:500-100})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const Nh=typeof navigator<"u"&&(!((Ih=navigator.scheduling)===null||Ih===void 0)&&Ih.isInputPending)?()=>navigator.scheduling.isInputPending():null,LC=hi.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(lr.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(lr.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=ZQ(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndr+1e3,f=s.context.work(()=>Nh&&Nh()||Date.now()>l,r+(o?0:1e5));this.chunkBudget-=Date.now()-t,(f||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:lr.setState.of(new El(s.context))})),this.chunkBudget>0&&!(f&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>_n(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()}}}),ks=Pe.define({combine(i){return i.length?i[0]:null},enables:i=>[lr.state,LC,$e.contentAttributes.compute([i],e=>{let t=e.facet(i);return t&&t.name?{"data-language":t.name}:{}})]});class oa{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}const BC=Pe.define(),Ic=Pe.define({combine:i=>{if(!i.length)return" ";let e=i[0];if(!e||/\S/.test(e)||Array.from(e).some(t=>t!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(i[0]));return e}});function bc(i){let e=i.facet(Ic);return e.charCodeAt(0)==9?i.tabSize*e.length:e.length}function Jo(i,e){let t="",n=i.tabSize,r=i.facet(Ic)[0];if(r==" "){for(;e>=n;)t+=" ",e-=n;r=" "}for(let s=0;s=n.from&&r<=n.to?s&&r==e?{text:"",from:e}:(t<0?r-1&&(s+=l-this.countColumn(n,n.search(/\S|$/))),s}countColumn(e,t=e.length){return na(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:r}=this.lineAt(e,t),s=this.options.overrideIndentation;if(s){let l=s(r);if(l>-1)return l}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Bl=new je;function jC(i,e,t){return RQ(e.resolveInner(t).enterUnfinishedNodesBefore(t),t,i)}function GC(i){return i.pos==i.options.simulateBreak&&i.options.simulateDoubleBreak}function FC(i){let e=i.type.prop(Bl);if(e)return e;let t=i.firstChild,n;if(t&&(n=t.type.prop(je.closedBy))){let r=i.lastChild,s=r&&n.indexOf(r.name)>-1;return l=>AQ(l,!0,1,void 0,s&&!GC(l)?r.from:void 0)}return i.parent==null?HC:null}function RQ(i,e,t){for(;i;i=i.parent){let n=FC(i);if(n)return n(xd.create(t,e,i))}return null}function HC(){return 0}class xd extends Nc{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.node=n}static create(e,t,n){return new xd(e,t,n)}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 n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(KC(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){let e=this.node.parent;return e?RQ(e,this.pos,this.base):0}}function KC(i,e){for(let t=e;t;t=t.parent)if(i==t)return!0;return!1}function JC(i){let e=i.node,t=e.childAfter(e.from),n=e.lastChild;if(!t)return null;let r=i.options.simulateBreak,s=i.state.doc.lineAt(t.from),l=r==null||r<=s.from?s.to:Math.min(s.to,r);for(let o=t.to;;){let f=e.childAfter(o);if(!f||f==n)return null;if(!f.type.isSkipped)return f.fromAQ(n,e,t,i)}function AQ(i,e,t,n,r){let s=i.textAfter,l=s.match(/^\s*/)[0].length,o=n&&s.slice(l,l+n.length)==n||r==i.pos+l,f=e?JC(i):null;return f?o?i.column(f.from):i.column(f.to):i.baseIndent+(o?0:i.unit*t)}const eX=i=>i.baseIndent;function Tl({except:i,units:e=1}={}){return t=>{let n=i&&i.test(t.textAfter);return t.baseIndent+(n?0:e*t.unit)}}const tX=200;function iX(){return at.transactionFilter.of(i=>{if(!i.docChanged||!i.isUserEvent("input.type")&&!i.isUserEvent("input.complete"))return i;let e=i.startState.languageDataAt("indentOnInput",i.startState.selection.main.head);if(!e.length)return i;let t=i.newDoc,{head:n}=i.newSelection.main,r=t.lineAt(n);if(n>r.from+tX)return i;let s=t.sliceString(r.from,n);if(!e.some(u=>u.test(s)))return i;let{state:l}=i,o=-1,f=[];for(let{head:u}of l.selection.ranges){let h=l.doc.lineAt(u);if(h.from==o)continue;o=h.from;let O=Wd(l,h.from);if(O==null)continue;let p=/^\s*/.exec(h.text)[0],g=Jo(l,O);p!=g&&f.push({from:h.from,to:h.from+p.length,insert:g})}return f.length?[i,{changes:f,sequential:!0}]:i})}const nX=Pe.define(),jl=new je;function mr(i){let e=i.firstChild,t=i.lastChild;return e&&e.tot)continue;if(s&&l.from=e&&f.to>t&&(s=f)}}return s}function sX(i){let e=i.lastChild;return e&&e.to==i.to&&e.type.isError}function $c(i,e,t){for(let n of i.facet(nX)){let r=n(i,e,t);if(r)return r}return rX(i,e,t)}function UQ(i,e){let t=e.mapPos(i.from,1),n=e.mapPos(i.to,-1);return t>=n?void 0:{from:t,to:n}}const Lc=qe.define({map:UQ}),aa=qe.define({map:UQ});function YQ(i){let e=[];for(let{head:t}of i.state.selection.ranges)e.some(n=>n.from<=t&&n.to>=t)||e.push(i.lineBlockAt(t));return e}const js=$i.define({create(){return xe.none},update(i,e){i=i.map(e.changes);for(let t of e.effects)t.is(Lc)&&!lX(i,t.value.from,t.value.to)?i=i.update({add:[B1.range(t.value.from,t.value.to)]}):t.is(aa)&&(i=i.update({filter:(n,r)=>t.value.from!=n||t.value.to!=r,filterFrom:t.value.from,filterTo:t.value.to}));if(e.selection){let t=!1,{head:n}=e.selection.main;i.between(n,n,(r,s)=>{rn&&(t=!0)}),t&&(i=i.update({filterFrom:n,filterTo:n,filter:(r,s)=>s<=n||r>=n}))}return i},provide:i=>$e.decorations.from(i),toJSON(i,e){let t=[];return i.between(0,e.doc.length,(n,r)=>{t.push(n,r)}),t},fromJSON(i){if(!Array.isArray(i)||i.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 lX(i,e,t){let n=!1;return i.between(e,e,(r,s)=>{r==e&&s==t&&(n=!0)}),n}function VQ(i,e){return i.field(js,!1)?e:e.concat(qe.appendConfig.of(MQ()))}const oX=i=>{for(let e of YQ(i)){let t=$c(i.state,e.from,e.to);if(t)return i.dispatch({effects:VQ(i.state,[Lc.of(t),qQ(i,t)])}),!0}return!1},aX=i=>{if(!i.state.field(js,!1))return!1;let e=[];for(let t of YQ(i)){let n=Qc(i.state,t.from,t.to);n&&e.push(aa.of(n),qQ(i,n,!1))}return e.length&&i.dispatch({effects:e}),e.length>0};function qQ(i,e,t=!0){let n=i.state.doc.lineAt(e.from).number,r=i.state.doc.lineAt(e.to).number;return $e.announce.of(`${i.state.phrase(t?"Folded lines":"Unfolded lines")} ${n} ${i.state.phrase("to")} ${r}.`)}const fX=i=>{let{state:e}=i,t=[];for(let n=0;n{let e=i.state.field(js,!1);if(!e||!e.size)return!1;let t=[];return e.between(0,i.state.doc.length,(n,r)=>{t.push(aa.of({from:n,to:r}))}),i.dispatch({effects:t}),!0},uX=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:oX},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:aX},{key:"Ctrl-Alt-[",run:fX},{key:"Ctrl-Alt-]",run:cX}],hX={placeholderDOM:null,placeholderText:"…"},EQ=Pe.define({combine(i){return kr(i,hX)}});function MQ(i){let e=[js,pX];return i&&e.push(EQ.of(i)),e}const B1=xe.replace({widget:new class extends Br{toDOM(i){let{state:e}=i,t=e.facet(EQ),n=s=>{let l=i.lineBlockAt(i.posAtDOM(s.target)),o=Qc(i.state,l.from,l.to);o&&i.dispatch({effects:aa.of(o)}),s.preventDefault()};if(t.placeholderDOM)return t.placeholderDOM(i,n);let r=document.createElement("span");return r.textContent=t.placeholderText,r.setAttribute("aria-label",e.phrase("folded code")),r.title=e.phrase("unfold"),r.className="cm-foldPlaceholder",r.onclick=n,r}}}),OX={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class Lh extends Lr{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 dX(i={}){let e=Object.assign(Object.assign({},OX),i),t=new Lh(e,!0),n=new Lh(e,!1),r=hi.fromClass(class{constructor(l){this.from=l.viewport.from,this.markers=this.buildMarkers(l)}update(l){(l.docChanged||l.viewportChanged||l.startState.facet(ks)!=l.state.facet(ks)||l.startState.field(js,!1)!=l.state.field(js,!1)||ei(l.startState)!=ei(l.state)||e.foldingChanged(l))&&(this.markers=this.buildMarkers(l.view))}buildMarkers(l){let o=new $s;for(let f of l.viewportLineBlocks){let u=Qc(l.state,f.from,f.to)?n:$c(l.state,f.from,f.to)?t:null;u&&o.add(f.from,f.from,u)}return o.finish()}}),{domEventHandlers:s}=e;return[r,d4({class:"cm-foldGutter",markers(l){var o;return((o=l.plugin(r))===null||o===void 0?void 0:o.markers)||yt.empty},initialSpacer(){return new Lh(e,!1)},domEventHandlers:Object.assign(Object.assign({},s),{click:(l,o,f)=>{if(s.click&&s.click(l,o,f))return!0;let u=Qc(l.state,o.from,o.to);if(u)return l.dispatch({effects:aa.of(u)}),!0;let h=$c(l.state,o.from,o.to);return h?(l.dispatch({effects:Lc.of(h)}),!0):!1}})}),MQ()]}const pX=$e.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 fa{constructor(e,t){this.specs=e;let n;function r(o){let f=Qs.newName();return(n||(n=Object.create(null)))["."+f]=o,f}const s=typeof t.all=="string"?t.all:t.all?r(t.all):void 0,l=t.scope;this.scope=l instanceof lr?o=>o.prop(Ql)==l.data:l?o=>o==l:void 0,this.style=XQ(e.map(o=>({tag:o.tag,class:o.class||r(Object.assign({},o,{tag:null}))})),{all:s}).style,this.module=n?new Qs(n):null,this.themeType=t.themeType}static define(e,t){return new fa(e,t||{})}}const GO=Pe.define(),DQ=Pe.define({combine(i){return i.length?[i[0]]:null}});function Bh(i){let e=i.facet(GO);return e.length?e:i.facet(DQ)}function zQ(i,e){let t=[mX],n;return i instanceof fa&&(i.module&&t.push($e.styleModule.of(i.module)),n=i.themeType),e!=null&&e.fallback?t.push(DQ.of(i)):n?t.push(GO.computeN([$e.darkTheme],r=>r.facet($e.darkTheme)==(n=="dark")?[i]:[])):t.push(GO.of(i)),t}class gX{constructor(e){this.markCache=Object.create(null),this.tree=ei(e.state),this.decorations=this.buildDeco(e,Bh(e.state))}update(e){let t=ei(e.state),n=Bh(e.state),r=n!=Bh(e.startState);t.length{n.add(l,o,this.markCache[f]||(this.markCache[f]=xe.mark({class:f})))},r,s);return n.finish()}}const mX=Gs.high(hi.fromClass(gX,{decorations:i=>i.decorations})),SX=fa.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"}]),bX=$e.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),IQ=1e4,NQ="()[]{}",LQ=Pe.define({combine(i){return kr(i,{afterCursor:!0,brackets:NQ,maxScanDistance:IQ,renderMatch:wX})}}),$X=xe.mark({class:"cm-matchingBracket"}),QX=xe.mark({class:"cm-nonmatchingBracket"});function wX(i){let e=[],t=i.matched?$X:QX;return e.push(t.range(i.start.from,i.start.to)),i.end&&e.push(t.range(i.end.from,i.end.to)),e}const yX=$i.define({create(){return xe.none},update(i,e){if(!e.docChanged&&!e.selection)return i;let t=[],n=e.state.facet(LQ);for(let r of e.state.selection.ranges){if(!r.empty)continue;let s=Qr(e.state,r.head,-1,n)||r.head>0&&Qr(e.state,r.head-1,1,n)||n.afterCursor&&(Qr(e.state,r.head,1,n)||r.head$e.decorations.from(i)}),vX=[yX,bX];function PX(i={}){return[LQ.of(i),vX]}const BQ=new je;function FO(i,e,t){let n=i.prop(e<0?je.openedBy:je.closedBy);if(n)return n;if(i.name.length==1){let r=t.indexOf(i.name);if(r>-1&&r%2==(e<0?1:0))return[t[r+e]]}return null}function HO(i){let e=i.type.prop(BQ);return e?e(i.node):i}function Qr(i,e,t,n={}){let r=n.maxScanDistance||IQ,s=n.brackets||NQ,l=ei(i),o=l.resolveInner(e,t);for(let f=o;f;f=f.parent){let u=FO(f.type,t,s);if(u&&f.from0?e>=h.from&&eh.from&&e<=h.to))return kX(i,e,t,f,h,u,s)}}return _X(i,e,t,l,o.type,r,s)}function kX(i,e,t,n,r,s,l){let o=n.parent,f={from:r.from,to:r.to},u=0,h=o==null?void 0:o.cursor();if(h&&(t<0?h.childBefore(n.from):h.childAfter(n.to)))do if(t<0?h.to<=n.from:h.from>=n.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=i.doc.iterRange(e,t>0?i.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 $=t>0?0:g.length-1,Q=t>0?g.length:-1;$!=Q;$+=t){let W=l.indexOf(g[$]);if(!(W<0||n.resolveInner(b+$,1).type!=r))if(W%2==0==t>0)O++;else{if(O==1)return{start:u,end:{from:b+$,to:b+$+1},matched:W>>1==f>>1};O--}}t>0&&(p+=g.length)}return h.done?{start:u,matched:!1}:null}const WX=Object.create(null),j1=[Ji.none],G1=[],xX=Object.create(null);for(let[i,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"]])xX[i]=CX(WX,e);function jh(i,e){G1.indexOf(i)>-1||(G1.push(i),console.warn(e))}function CX(i,e){let t=null;for(let s of e.split(".")){let l=i[s]||S[s];l?typeof l=="function"?t?t=l(t):jh(s,`Modifier ${s} used at start of tag`):t?jh(s,`Tag ${s} used as modifier`):t=l:jh(s,`Unknown highlighting tag ${s}`)}if(!t)return 0;let n=e.replace(/ /g,"_"),r=Ji.define({id:j1.length,name:n,props:[Ll({[n]:t})]});return j1.push(r),r.id}const XX=i=>{let e=Xd(i.state);return e.line?TX(i):e.block?RX(i):!1};function Cd(i,e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let r=i(e,t);return r?(n(t.update(r)),!0):!1}}const TX=Cd(YX,0),ZX=Cd(jQ,0),RX=Cd((i,e)=>jQ(i,e,UX(e)),0);function Xd(i,e=i.selection.main.head){let t=i.languageDataAt("commentTokens",e);return t.length?t[0]:{}}const vo=50;function AX(i,{open:e,close:t},n,r){let s=i.sliceDoc(n-vo,n),l=i.sliceDoc(r,r+vo),o=/\s*$/.exec(s)[0].length,f=/^\s*/.exec(l)[0].length,u=s.length-o;if(s.slice(u-e.length,u)==e&&l.slice(f,f+t.length)==t)return{open:{pos:n-o,margin:o&&1},close:{pos:r+f,margin:f&&1}};let h,O;r-n<=2*vo?h=O=i.sliceDoc(n,r):(h=i.sliceDoc(n,n+vo),O=i.sliceDoc(r-vo,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:n+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 UX(i){let e=[];for(let t of i.selection.ranges){let n=i.doc.lineAt(t.from),r=t.to<=n.to?n:i.doc.lineAt(t.to),s=e.length-1;s>=0&&e[s].to>n.from?e[s].to=r.to:e.push({from:n.from,to:r.to})}return e}function jQ(i,e,t=e.selection.ranges){let n=t.map(s=>Xd(e,s.from).block);if(!n.every(s=>s))return null;let r=t.map((s,l)=>AX(e,n[l],s.from,s.to));if(i!=2&&!r.every(s=>s))return{changes:e.changes(t.map((s,l)=>r[l]?[]:[{from:s.from,insert:n[l].open+" "},{from:s.to,insert:" "+n[l].close}]))};if(i!=1&&r.some(s=>s)){let s=[];for(let l=0,o;lr&&(s==l||l>h.from)){r=h.from;let O=Xd(e,u).line;if(!O)continue;let p=/^\s*/.exec(h.text)[0].length,g=p==h.length,b=h.text.slice(p,p+O.length)==O?p:-1;ps.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:o,token:f,indent:u,empty:h,single:O}of n)(O||!h)&&s.push({from:o.from+u,insert:f+" "});let l=e.changes(s);return{changes:l,selection:e.selection.map(l,1)}}else if(i!=1&&n.some(s=>s.comment>=0)){let s=[];for(let{line:l,comment:o,token:f}of n)if(o>=0){let u=l.from+o,h=u+f.length;l.text[h-l.from]==" "&&h++,s.push({from:u,to:h})}return{changes:s}}return null}const KO=_s.define(),VX=_s.define(),qX=Pe.define(),GQ=Pe.define({combine(i){return kr(i,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}});function EX(i){let e=0;return i.iterChangedRanges((t,n)=>e=n),e}const FQ=$i.define({create(){return wr.empty},update(i,e){let t=e.state.facet(GQ),n=e.annotation(KO);if(n){let f=e.docChanged?K.single(EX(e.changes)):void 0,u=On.fromTransaction(e,f),h=n.side,O=h==0?i.undone:i.done;return u?O=wc(O,O.length,t.minDepth,u):O=JQ(O,e.startState.selection),new wr(h==0?n.rest:O,h==0?O:n.rest)}let r=e.annotation(VX);if((r=="full"||r=="before")&&(i=i.isolate()),e.annotation(Si.addToHistory)===!1)return e.changes.empty?i:i.addMapping(e.changes.desc);let s=On.fromTransaction(e),l=e.annotation(Si.time),o=e.annotation(Si.userEvent);return s?i=i.addChanges(s,l,o,t.newGroupDelay,t.minDepth):e.selection&&(i=i.addSelection(e.startState.selection,l,o,t.newGroupDelay)),(r=="full"||r=="after")&&(i=i.isolate()),i},toJSON(i){return{done:i.done.map(e=>e.toJSON()),undone:i.undone.map(e=>e.toJSON())}},fromJSON(i){return new wr(i.done.map(On.fromJSON),i.undone.map(On.fromJSON))}});function MX(i={}){return[FQ,GQ.of(i),$e.domEventHandlers({beforeinput(e,t){let n=e.inputType=="historyUndo"?HQ:e.inputType=="historyRedo"?JO:null;return n?(e.preventDefault(),n(t)):!1}})]}function Bc(i,e){return function({state:t,dispatch:n}){if(!e&&t.readOnly)return!1;let r=t.field(FQ,!1);if(!r)return!1;let s=r.pop(i,t,e);return s?(n(s),!0):!1}}const HQ=Bc(0,!1),JO=Bc(1,!1),DX=Bc(0,!0),zX=Bc(1,!0);class On{constructor(e,t,n,r,s){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,this.selectionsAfter=s}setSelAfter(e){return new On(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;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:(n=this.startSelection)===null||n===void 0?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(r=>r.toJSON())}}static fromJSON(e){return new On(e.changes&&mi.fromJSON(e.changes),[],e.mapped&&yr.fromJSON(e.mapped),e.startSelection&&K.fromJSON(e.startSelection),e.selectionsAfter.map(K.fromJSON))}static fromTransaction(e,t){let n=In;for(let r of e.startState.facet(qX)){let s=r(e);s.length&&(n=n.concat(s))}return!n.length&&e.changes.empty?null:new On(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,In)}static selection(e){return new On(void 0,In,void 0,void 0,e)}}function wc(i,e,t,n){let r=e+1>t+20?e-t-1:0,s=i.slice(r,e);return s.push(n),s}function IX(i,e){let t=[],n=!1;return i.iterChangedRanges((r,s)=>t.push(r,s)),e.iterChangedRanges((r,s,l,o)=>{for(let f=0;f=u&&l<=h&&(n=!0)}}),n}function NX(i,e){return i.ranges.length==e.ranges.length&&i.ranges.filter((t,n)=>t.empty!=e.ranges[n].empty).length===0}function KQ(i,e){return i.length?e.length?i.concat(e):i:e}const In=[],LX=200;function JQ(i,e){if(i.length){let t=i[i.length-1],n=t.selectionsAfter.slice(Math.max(0,t.selectionsAfter.length-LX));return n.length&&n[n.length-1].eq(e)?i:(n.push(e),wc(i,i.length-1,1e9,t.setSelAfter(n)))}else return[On.selection([e])]}function BX(i){let e=i[i.length-1],t=i.slice();return t[i.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),t}function Gh(i,e){if(!i.length)return i;let t=i.length,n=In;for(;t;){let r=jX(i[t-1],e,n);if(r.changes&&!r.changes.empty||r.effects.length){let s=i.slice(0,t);return s[t-1]=r,s}else e=r.mapped,t--,n=r.selectionsAfter}return n.length?[On.selection(n)]:In}function jX(i,e,t){let n=KQ(i.selectionsAfter.length?i.selectionsAfter.map(o=>o.map(e)):In,t);if(!i.changes)return On.selection(n);let r=i.changes.map(e),s=e.mapDesc(i.changes,!0),l=i.mapped?i.mapped.composeDesc(s):s;return new On(r,qe.mapEffects(i.effects,e),l,i.startSelection.map(s),n)}const GX=/^(input\.type|delete)($|\.)/;class wr{constructor(e,t,n=0,r=void 0){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new wr(this.done,this.undone):this}addChanges(e,t,n,r,s){let l=this.done,o=l[l.length-1];return o&&o.changes&&!o.changes.empty&&e.changes&&(!n||GX.test(n))&&(!o.selectionsAfter.length&&t-this.prevTime0&&t-this.prevTimet.empty?i.moveByChar(t,e):jc(t,e))}function Ni(i){return i.textDirectionAt(i.state.selection.main.head)==Ht.LTR}const tw=i=>ew(i,!Ni(i)),iw=i=>ew(i,Ni(i));function nw(i,e){return ar(i,t=>t.empty?i.moveByGroup(t,e):jc(t,e))}const HX=i=>nw(i,!Ni(i)),KX=i=>nw(i,Ni(i));function JX(i,e,t){if(e.type.prop(t))return!0;let n=e.to-e.from;return n&&(n>2||/[^\s,.;:]/.test(i.sliceDoc(e.from,e.to)))||e.firstChild}function Gc(i,e,t){let n=ei(i).resolveInner(e.head),r=t?je.closedBy:je.openedBy;for(let f=e.head;;){let u=t?n.childAfter(f):n.childBefore(f);if(!u)break;JX(i,u,r)?n=u:f=t?u.to:u.from}let s=n.type.prop(r),l,o;return s&&(l=t?Qr(i,n.from,1):Qr(i,n.to,-1))&&l.matched?o=t?l.end.to:l.end.from:o=t?n.to:n.from,K.cursor(o,t?-1:1)}const eT=i=>ar(i,e=>Gc(i.state,e,!Ni(i))),tT=i=>ar(i,e=>Gc(i.state,e,Ni(i)));function rw(i,e){return ar(i,t=>{if(!t.empty)return jc(t,e);let n=i.moveVertically(t,e);return n.head!=t.head?n:i.moveToLineBoundary(t,e)})}const sw=i=>rw(i,!1),lw=i=>rw(i,!0);function ow(i){return Math.max(i.defaultLineHeight,Math.min(i.dom.clientHeight,innerHeight)-5)}function aw(i,e){let{state:t}=i,n=Gl(t.selection,o=>o.empty?i.moveVertically(o,e,ow(i)):jc(o,e));if(n.eq(t.selection))return!1;let r=i.coordsAtPos(t.selection.main.head),s=i.scrollDOM.getBoundingClientRect(),l;return r&&r.top>s.top&&r.bottomaw(i,!1),ed=i=>aw(i,!0);function Ws(i,e,t){let n=i.lineBlockAt(e.head),r=i.moveToLineBoundary(e,t);if(r.head==e.head&&r.head!=(t?n.to:n.from)&&(r=i.moveToLineBoundary(e,t,!1)),!t&&r.head==n.from&&n.length){let s=/^\s*/.exec(i.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;s&&e.head!=n.from+s&&(r=K.cursor(n.from+s))}return r}const iT=i=>ar(i,e=>Ws(i,e,!0)),nT=i=>ar(i,e=>Ws(i,e,!1)),rT=i=>ar(i,e=>Ws(i,e,!Ni(i))),sT=i=>ar(i,e=>Ws(i,e,Ni(i))),lT=i=>ar(i,e=>K.cursor(i.lineBlockAt(e.head).from,1)),oT=i=>ar(i,e=>K.cursor(i.lineBlockAt(e.head).to,-1));function aT(i,e,t){let n=!1,r=Gl(i.selection,s=>{let l=Qr(i,s.head,-1)||Qr(i,s.head,1)||s.head>0&&Qr(i,s.head-1,1)||s.headaT(i,e,!1);function jn(i,e){let t=Gl(i.state.selection,n=>{let r=e(n);return K.range(n.anchor,r.head,r.goalColumn,r.bidiLevel||void 0)});return t.eq(i.state.selection)?!1:(i.dispatch(Wr(i.state,t)),!0)}function fw(i,e){return jn(i,t=>i.moveByChar(t,e))}const cw=i=>fw(i,!Ni(i)),uw=i=>fw(i,Ni(i));function hw(i,e){return jn(i,t=>i.moveByGroup(t,e))}const cT=i=>hw(i,!Ni(i)),uT=i=>hw(i,Ni(i)),hT=i=>jn(i,e=>Gc(i.state,e,!Ni(i))),OT=i=>jn(i,e=>Gc(i.state,e,Ni(i)));function Ow(i,e){return jn(i,t=>i.moveVertically(t,e))}const dw=i=>Ow(i,!1),pw=i=>Ow(i,!0);function gw(i,e){return jn(i,t=>i.moveVertically(t,e,ow(i)))}const H1=i=>gw(i,!1),K1=i=>gw(i,!0),dT=i=>jn(i,e=>Ws(i,e,!0)),pT=i=>jn(i,e=>Ws(i,e,!1)),gT=i=>jn(i,e=>Ws(i,e,!Ni(i))),mT=i=>jn(i,e=>Ws(i,e,Ni(i))),ST=i=>jn(i,e=>K.cursor(i.lineBlockAt(e.head).from)),bT=i=>jn(i,e=>K.cursor(i.lineBlockAt(e.head).to)),J1=({state:i,dispatch:e})=>(e(Wr(i,{anchor:0})),!0),e0=({state:i,dispatch:e})=>(e(Wr(i,{anchor:i.doc.length})),!0),t0=({state:i,dispatch:e})=>(e(Wr(i,{anchor:i.selection.main.anchor,head:0})),!0),i0=({state:i,dispatch:e})=>(e(Wr(i,{anchor:i.selection.main.anchor,head:i.doc.length})),!0),$T=({state:i,dispatch:e})=>(e(i.update({selection:{anchor:0,head:i.doc.length},userEvent:"select"})),!0),QT=({state:i,dispatch:e})=>{let t=Hc(i).map(({from:n,to:r})=>K.range(n,Math.min(r+1,i.doc.length)));return e(i.update({selection:K.create(t),userEvent:"select"})),!0},wT=({state:i,dispatch:e})=>{let t=Gl(i.selection,n=>{var r;let s=ei(i).resolveInner(n.head,1);for(;!(s.from=n.to||s.to>n.to&&s.from<=n.from||!(!((r=s.parent)===null||r===void 0)&&r.parent));)s=s.parent;return K.range(s.to,s.from)});return e(Wr(i,t)),!0},yT=({state:i,dispatch:e})=>{let t=i.selection,n=null;return t.ranges.length>1?n=K.create([t.main]):t.main.empty||(n=K.create([K.cursor(t.main.head)])),n?(e(Wr(i,n)),!0):!1};function Fc(i,e){if(i.state.readOnly)return!1;let t="delete.selection",{state:n}=i,r=n.changeByRange(s=>{let{from:l,to:o}=s;if(l==o){let f=e(l);fl&&(t="delete.forward",f=Yf(i,f,!0)),l=Math.min(l,f),o=Math.max(o,f)}else l=Yf(i,l,!1),o=Yf(i,o,!0);return l==o?{range:s}:{changes:{from:l,to:o},range:K.cursor(l)}});return r.changes.empty?!1:(i.dispatch(n.update(r,{scrollIntoView:!0,userEvent:t,effects:t=="delete.selection"?$e.announce.of(n.phrase("Selection deleted")):void 0})),!0)}function Yf(i,e,t){if(i instanceof $e)for(let n of i.state.facet($e.atomicRanges).map(r=>r(i)))n.between(e,e,(r,s)=>{re&&(e=t?s:r)});return e}const mw=(i,e)=>Fc(i,t=>{let{state:n}=i,r=n.doc.lineAt(t),s,l;if(!e&&t>r.from&&tmw(i,!1),Sw=i=>mw(i,!0),bw=(i,e)=>Fc(i,t=>{let n=t,{state:r}=i,s=r.doc.lineAt(n),l=r.charCategorizer(n);for(let o=null;;){if(n==(e?s.to:s.from)){n==t&&s.number!=(e?r.doc.lines:1)&&(n+=e?1:-1);break}let f=Fi(s.text,n-s.from,e)+s.from,u=s.text.slice(Math.min(n,f)-s.from,Math.max(n,f)-s.from),h=l(u);if(o!=null&&h!=o)break;(u!=" "||n!=t)&&(o=h),n=f}return n}),$w=i=>bw(i,!1),vT=i=>bw(i,!0),Qw=i=>Fc(i,e=>{let t=i.lineBlockAt(e).to;return eFc(i,e=>{let t=i.lineBlockAt(e).from;return e>t?t:Math.max(0,e-1)}),kT=({state:i,dispatch:e})=>{if(i.readOnly)return!1;let t=i.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:gt.of(["",""])},range:K.cursor(n.from)}));return e(i.update(t,{scrollIntoView:!0,userEvent:"input"})),!0},_T=({state:i,dispatch:e})=>{if(i.readOnly)return!1;let t=i.changeByRange(n=>{if(!n.empty||n.from==0||n.from==i.doc.length)return{range:n};let r=n.from,s=i.doc.lineAt(r),l=r==s.from?r-1:Fi(s.text,r-s.from,!1)+s.from,o=r==s.to?r+1:Fi(s.text,r-s.from,!0)+s.from;return{changes:{from:l,to:o,insert:i.doc.slice(r,o).append(i.doc.slice(l,r))},range:K.cursor(o)}});return t.changes.empty?!1:(e(i.update(t,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function Hc(i){let e=[],t=-1;for(let n of i.selection.ranges){let r=i.doc.lineAt(n.from),s=i.doc.lineAt(n.to);if(!n.empty&&n.to==s.from&&(s=i.doc.lineAt(n.to-1)),t>=r.number){let l=e[e.length-1];l.to=s.to,l.ranges.push(n)}else e.push({from:r.from,to:s.to,ranges:[n]});t=s.number+1}return e}function ww(i,e,t){if(i.readOnly)return!1;let n=[],r=[];for(let s of Hc(i)){if(t?s.to==i.doc.length:s.from==0)continue;let l=i.doc.lineAt(t?s.to+1:s.from-1),o=l.length+1;if(t){n.push({from:s.to,to:l.to},{from:s.from,insert:l.text+i.lineBreak});for(let f of s.ranges)r.push(K.range(Math.min(i.doc.length,f.anchor+o),Math.min(i.doc.length,f.head+o)))}else{n.push({from:l.from,to:s.from},{from:s.to,insert:i.lineBreak+l.text});for(let f of s.ranges)r.push(K.range(f.anchor-o,f.head-o))}}return n.length?(e(i.update({changes:n,scrollIntoView:!0,selection:K.create(r,i.selection.mainIndex),userEvent:"move.line"})),!0):!1}const WT=({state:i,dispatch:e})=>ww(i,e,!1),xT=({state:i,dispatch:e})=>ww(i,e,!0);function yw(i,e,t){if(i.readOnly)return!1;let n=[];for(let r of Hc(i))t?n.push({from:r.from,insert:i.doc.slice(r.from,r.to)+i.lineBreak}):n.push({from:r.to,insert:i.lineBreak+i.doc.slice(r.from,r.to)});return e(i.update({changes:n,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const CT=({state:i,dispatch:e})=>yw(i,e,!1),XT=({state:i,dispatch:e})=>yw(i,e,!0),TT=i=>{if(i.state.readOnly)return!1;let{state:e}=i,t=e.changes(Hc(e).map(({from:r,to:s})=>(r>0?r--:si.moveVertically(r,!0)).map(t);return i.dispatch({changes:t,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function ZT(i,e){if(/\(\)|\[\]|\{\}/.test(i.sliceDoc(e-1,e+1)))return{from:e,to:e};let t=ei(i).resolveInner(e),n=t.childBefore(e),r=t.childAfter(e),s;return n&&r&&n.to<=e&&r.from>=e&&(s=n.type.prop(je.closedBy))&&s.indexOf(r.name)>-1&&i.doc.lineAt(n.to).from==i.doc.lineAt(r.from).from?{from:n.to,to:r.from}:null}const RT=vw(!1),AT=vw(!0);function vw(i){return({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(r=>{let{from:s,to:l}=r,o=e.doc.lineAt(s),f=!i&&s==l&&ZT(e,s);i&&(s=l=(l<=o.to?o:e.doc.lineAt(l)).to);let u=new Nc(e,{simulateBreak:s,simulateDoubleBreak:!!f}),h=Wd(u,s);for(h==null&&(h=/^\s*/.exec(e.doc.lineAt(s).text)[0].length);lo.from&&s{let r=[];for(let l=n.from;l<=n.to;){let o=i.doc.lineAt(l);o.number>t&&(n.empty||n.to>o.from)&&(e(o,r,n),t=o.number),l=o.to+1}let s=i.changes(r);return{changes:r,range:K.range(s.mapPos(n.anchor,1),s.mapPos(n.head,1))}})}const UT=({state:i,dispatch:e})=>{if(i.readOnly)return!1;let t=Object.create(null),n=new Nc(i,{overrideIndentation:s=>{let l=t[s];return l??-1}}),r=Td(i,(s,l,o)=>{let f=Wd(n,s.from);if(f==null)return;/\S/.test(s.text)||(f=0);let u=/^\s*/.exec(s.text)[0],h=Jo(i,f);(u!=h||o.fromi.readOnly?!1:(e(i.update(Td(i,(t,n)=>{n.push({from:t.from,insert:i.facet(Ic)})}),{userEvent:"input.indent"})),!0),kw=({state:i,dispatch:e})=>i.readOnly?!1:(e(i.update(Td(i,(t,n)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let s=na(r,i.tabSize),l=0,o=Jo(i,Math.max(0,s-bc(i)));for(;l({mac:i.key,run:i.run,shift:i.shift}))),qT=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:eT,shift:hT},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:tT,shift:OT},{key:"Alt-ArrowUp",run:WT},{key:"Shift-Alt-ArrowUp",run:CT},{key:"Alt-ArrowDown",run:xT},{key:"Shift-Alt-ArrowDown",run:XT},{key:"Escape",run:yT},{key:"Mod-Enter",run:AT},{key:"Alt-l",mac:"Ctrl-l",run:QT},{key:"Mod-i",run:wT,preventDefault:!0},{key:"Mod-[",run:kw},{key:"Mod-]",run:Pw},{key:"Mod-Alt-\\",run:UT},{key:"Shift-Mod-k",run:TT},{key:"Shift-Mod-\\",run:fT},{key:"Mod-/",run:XX},{key:"Alt-A",run:ZX}].concat(VT),ET={key:"Tab",run:Pw,shift:kw};function Xt(){var i=arguments[0];typeof i=="string"&&(i=document.createElement(i));var e=1,t=arguments[1];if(t&&typeof t=="object"&&t.nodeType==null&&!Array.isArray(t)){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=t[n];typeof r=="string"?i.setAttribute(n,r):r!=null&&(i[n]=r)}e++}for(;ei.normalize("NFKD"):i=>i;class Ml{constructor(e,t,n=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(n,r),this.bufferStart=n,this.normalize=s?o=>s(n0(o)):n0,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 Ci(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=cd(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=vn(e);let r=this.normalize(t);for(let s=0,l=n;;s++){let o=r.charCodeAt(s),f=this.match(o,l);if(f)return this.value=f,this;if(s==r.length-1)break;l==n&&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 n=this.curLineStart+t.index,r=n+t[0].length;if(this.matchPos=yc(this.text,r+(n==r?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,r,t)))return this.value={from:n,to:r,match:t},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=n||r.to<=t){let o=new Zl(t,e.sliceString(t,n));return Fh.set(e,o),o}if(r.from==t&&r.to==n)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 n=this.flat.from+t.index,r=n+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,r,t)))return this.value={from:n,to:r,match:t},this.matchPos=yc(this.text,r+(n==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"&&(xw.prototype[Symbol.iterator]=Cw.prototype[Symbol.iterator]=function(){return this});function MT(i){try{return new RegExp(i,Zd),!0}catch{return!1}}function yc(i,e){if(e>=i.length)return e;let t=i.lineAt(e),n;for(;e=56320&&n<57344;)e++;return e}function id(i){let e=Xt("input",{class:"cm-textfield",name:"line"}),t=Xt("form",{class:"cm-gotoLine",onkeydown:r=>{r.keyCode==27?(r.preventDefault(),i.dispatch({effects:vc.of(!1)}),i.focus()):r.keyCode==13&&(r.preventDefault(),n())},onsubmit:r=>{r.preventDefault(),n()}},Xt("label",i.state.phrase("Go to line"),": ",e)," ",Xt("button",{class:"cm-button",type:"submit"},i.state.phrase("go")));function n(){let r=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(e.value);if(!r)return;let{state:s}=i,l=s.doc.lineAt(s.selection.main.head),[,o,f,u,h]=r,O=u?+u.slice(1):0,p=f?+f:l.number;if(f&&h){let b=p/100;o&&(b=b*(o=="-"?-1:1)+l.number/s.doc.lines),p=Math.round(s.doc.lines*b)}else f&&o&&(p=p*(o=="-"?-1:1)+l.number);let g=s.doc.line(Math.max(1,Math.min(s.doc.lines,p)));i.dispatch({effects:vc.of(!1),selection:K.cursor(g.from+Math.max(0,Math.min(O,g.length))),scrollIntoView:!0}),i.focus()}return{dom:t}}const vc=qe.define(),r0=$i.define({create(){return!0},update(i,e){for(let t of e.effects)t.is(vc)&&(i=t.value);return i},provide:i=>Fo.from(i,e=>e?id:null)}),DT=i=>{let e=Go(i,id);if(!e){let t=[vc.of(!0)];i.state.field(r0,!1)==null&&t.push(qe.appendConfig.of([r0,zT])),i.dispatch({effects:t}),e=Go(i,id)}return e&&e.dom.querySelector("input").focus(),!0},zT=$e.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),IT={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},Xw=Pe.define({combine(i){return kr(i,IT,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function NT(i){let e=[FT,GT];return i&&e.push(Xw.of(i)),e}const LT=xe.mark({class:"cm-selectionMatch"}),BT=xe.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function s0(i,e,t,n){return(t==0||i(e.sliceDoc(t-1,t))!=It.Word)&&(n==e.doc.length||i(e.sliceDoc(n,n+1))!=It.Word)}function jT(i,e,t,n){return i(e.sliceDoc(t,t+1))==It.Word&&i(e.sliceDoc(n-1,n))==It.Word}const GT=hi.fromClass(class{constructor(i){this.decorations=this.getDeco(i)}update(i){(i.selectionSet||i.docChanged||i.viewportChanged)&&(this.decorations=this.getDeco(i.view))}getDeco(i){let e=i.state.facet(Xw),{state:t}=i,n=t.selection;if(n.ranges.length>1)return xe.none;let r=n.main,s,l=null;if(r.empty){if(!e.highlightWordAroundCursor)return xe.none;let f=t.wordAt(r.head);if(!f)return xe.none;l=t.charCategorizer(r.head),s=t.sliceDoc(f.from,f.to)}else{let f=r.to-r.from;if(f200)return xe.none;if(e.wholeWords){if(s=t.sliceDoc(r.from,r.to),l=t.charCategorizer(r.head),!(s0(l,t,r.from,r.to)&&jT(l,t,r.from,r.to)))return xe.none}else if(s=t.sliceDoc(r.from,r.to).trim(),!s)return xe.none}let o=[];for(let f of i.visibleRanges){let u=new Ml(t.doc,s,f.from,f.to);for(;!u.next().done;){let{from:h,to:O}=u.value;if((!l||s0(l,t,h,O))&&(r.empty&&h<=r.from&&O>=r.to?o.push(BT.range(h,O)):(h>=r.to||O<=r.from)&&o.push(LT.range(h,O)),o.length>e.maxMatches))return xe.none}}return xe.set(o)}},{decorations:i=>i.decorations}),FT=$e.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),HT=({state:i,dispatch:e})=>{let{selection:t}=i,n=K.create(t.ranges.map(r=>i.wordAt(r.head)||K.cursor(r.head)),t.mainIndex);return n.eq(t)?!1:(e(i.update({selection:n})),!0)};function KT(i,e){let{main:t,ranges:n}=i.selection,r=i.wordAt(t.head),s=r&&r.from==t.from&&r.to==t.to;for(let l=!1,o=new Ml(i.doc,e,n[n.length-1].to);;)if(o.next(),o.done){if(l)return null;o=new Ml(i.doc,e,0,Math.max(0,n[n.length-1].from-1)),l=!0}else{if(l&&n.some(f=>f.from==o.value.from))continue;if(s){let f=i.wordAt(o.value.from);if(!f||f.from!=o.value.from||f.to!=o.value.to)continue}return o.value}}const JT=({state:i,dispatch:e})=>{let{ranges:t}=i.selection;if(t.some(s=>s.from===s.to))return HT({state:i,dispatch:e});let n=i.sliceDoc(t[0].from,t[0].to);if(i.selection.ranges.some(s=>i.sliceDoc(s.from,s.to)!=n))return!1;let r=KT(i,n);return r?(e(i.update({selection:i.selection.addRange(K.range(r.from,r.to),!1),effects:$e.scrollIntoView(r.to)})),!0):!1},Rd=Pe.define({combine(i){return kr(i,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:e=>new uZ(e)})}});class Tw{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||MT(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(t,n)=>n=="n"?` -`:n=="r"?"\r":n=="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 nZ(this):new tZ(this)}getCursor(e,t=0,n){let r=e.doc?e:at.create({doc:e});return n==null&&(n=r.doc.length),this.regexp?Sl(this,r,t,n):ml(this,r,t,n)}}class Zw{constructor(e){this.spec=e}}function ml(i,e,t,n){return new Ml(e.doc,i.unquoted,t,n,i.caseSensitive?void 0:r=>r.toLowerCase(),i.wholeWord?eZ(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function eZ(i,e){return(t,n,r,s)=>((s>t||s+r.length=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let s=ml(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}function Sl(i,e,t,n){return new xw(e.doc,i.search,{ignoreCase:!i.caseSensitive,test:i.wholeWord?iZ(e.charCategorizer(e.selection.main.head)):void 0},t,n)}function Pc(i,e){return i.slice(Fi(i,e,!1),e)}function kc(i,e){return i.slice(e,Fi(i,e))}function iZ(i){return(e,t,n)=>!n[0].length||(i(Pc(n.input,n.index))!=It.Word||i(kc(n.input,n.index))!=It.Word)&&(i(kc(n.input,n.index+n[0].length))!=It.Word||i(Pc(n.input,n.index+n[0].length))!=It.Word)}class nZ extends Zw{nextMatch(e,t,n){let r=Sl(this.spec,e,n,e.doc.length).next();return r.done&&(r=Sl(this.spec,e,0,t).next()),r.done?null:r.value}prevMatchInRange(e,t,n){for(let r=1;;r++){let s=Math.max(t,n-r*1e4),l=Sl(this.spec,e,s,n),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,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(t,n)=>n=="$"?"$":n=="&"?e.match[0]:n!="0"&&+n=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let s=Sl(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}const ea=qe.define(),Ad=qe.define(),Ss=$i.define({create(i){return new Hh(nd(i).create(),null)},update(i,e){for(let t of e.effects)t.is(ea)?i=new Hh(t.value.create(),i.panel):t.is(Ad)&&(i=new Hh(i.query,t.value?Ud:null));return i},provide:i=>Fo.from(i,e=>e.panel)});class Hh{constructor(e,t){this.query=e,this.panel=t}}const rZ=xe.mark({class:"cm-searchMatch"}),sZ=xe.mark({class:"cm-searchMatch cm-searchMatch-selected"}),lZ=hi.fromClass(class{constructor(i){this.view=i,this.decorations=this.highlight(i.state.field(Ss))}update(i){let e=i.state.field(Ss);(e!=i.startState.field(Ss)||i.docChanged||i.selectionSet||i.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:i,panel:e}){if(!e||!i.spec.valid)return xe.none;let{view:t}=this,n=new $s;for(let r=0,s=t.visibleRanges,l=s.length;rs[r+1].from-2*250;)f=s[++r].to;i.highlight(t.state,o,f,(u,h)=>{let O=t.state.selection.ranges.some(p=>p.from==u&&p.to==h);n.add(u,h,O?sZ:rZ)})}return n.finish()}},{decorations:i=>i.decorations});function ca(i){return e=>{let t=e.state.field(Ss,!1);return t&&t.query.spec.valid?i(e,t):Rw(e)}}const _c=ca((i,{query:e})=>{let{to:t}=i.state.selection.main,n=e.nextMatch(i.state,t,t);return n?(i.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0,effects:Yd(i,n),userEvent:"select.search"}),!0):!1}),Wc=ca((i,{query:e})=>{let{state:t}=i,{from:n}=t.selection.main,r=e.prevMatch(t,n,n);return r?(i.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:Yd(i,r),userEvent:"select.search"}),!0):!1}),oZ=ca((i,{query:e})=>{let t=e.matchAll(i.state,1e3);return!t||!t.length?!1:(i.dispatch({selection:K.create(t.map(n=>K.range(n.from,n.to))),userEvent:"select.search.matches"}),!0)}),aZ=({state:i,dispatch:e})=>{let t=i.selection;if(t.ranges.length>1||t.main.empty)return!1;let{from:n,to:r}=t.main,s=[],l=0;for(let o=new Ml(i.doc,i.sliceDoc(n,r));!o.next().done;){if(s.length>1e3)return!1;o.value.from==n&&(l=s.length),s.push(K.range(o.value.from,o.value.to))}return e(i.update({selection:K.create(s,l),userEvent:"select.search.matches"})),!0},l0=ca((i,{query:e})=>{let{state:t}=i,{from:n,to:r}=t.selection.main;if(t.readOnly)return!1;let s=e.nextMatch(t,n,n);if(!s)return!1;let l=[],o,f,u=[];if(s.from==n&&s.to==r&&(f=t.toText(e.getReplacement(s)),l.push({from:s.from,to:s.to,insert:f}),s=e.nextMatch(t,s.from,s.to),u.push($e.announce.of(t.phrase("replaced match on line $",t.doc.lineAt(n).number)+"."))),s){let h=l.length==0||l[0].from>=s.to?0:s.to-s.from-f.length;o={anchor:s.from-h,head:s.to-h},u.push(Yd(i,s))}return i.dispatch({changes:l,selection:o,scrollIntoView:!!o,effects:u,userEvent:"input.replace"}),!0}),fZ=ca((i,{query:e})=>{if(i.state.readOnly)return!1;let t=e.matchAll(i.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 n=i.state.phrase("replaced $ matches",t.length)+".";return i.dispatch({changes:t,effects:$e.announce.of(n),userEvent:"input.replace.all"}),!0});function Ud(i){return i.state.facet(Rd).createPanel(i)}function nd(i,e){var t,n,r,s;let l=i.selection.main,o=l.empty||l.to>l.from+100?"":i.sliceDoc(l.from,l.to);if(e&&!o)return e;let f=i.facet(Rd);return new Tw({search:((t=e==null?void 0:e.literal)!==null&&t!==void 0?t:f.literal)?o:o.replace(/\n/g,"\\n"),caseSensitive:(n=e==null?void 0:e.caseSensitive)!==null&&n!==void 0?n:f.caseSensitive,literal:(r=e==null?void 0:e.literal)!==null&&r!==void 0?r:f.literal,wholeWord:(s=e==null?void 0:e.wholeWord)!==null&&s!==void 0?s:f.wholeWord})}const Rw=i=>{let e=i.state.field(Ss,!1);if(e&&e.panel){let t=Go(i,Ud);if(!t)return!1;let n=t.dom.querySelector("[main-field]");if(n&&n!=i.root.activeElement){let r=nd(i.state,e.query.spec);r.valid&&i.dispatch({effects:ea.of(r)}),n.focus(),n.select()}}else i.dispatch({effects:[Ad.of(!0),e?ea.of(nd(i.state,e.query.spec)):qe.appendConfig.of(OZ)]});return!0},Aw=i=>{let e=i.state.field(Ss,!1);if(!e||!e.panel)return!1;let t=Go(i,Ud);return t&&t.dom.contains(i.root.activeElement)&&i.focus(),i.dispatch({effects:Ad.of(!1)}),!0},cZ=[{key:"Mod-f",run:Rw,scope:"editor search-panel"},{key:"F3",run:_c,shift:Wc,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:_c,shift:Wc,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:Aw,scope:"editor search-panel"},{key:"Mod-Shift-l",run:aZ},{key:"Alt-g",run:DT},{key:"Mod-d",run:JT,preventDefault:!0}];class uZ{constructor(e){this.view=e;let t=this.query=e.state.field(Ss).query.spec;this.commit=this.commit.bind(this),this.searchField=Xt("input",{value:t.search,placeholder:Qn(e,"Find"),"aria-label":Qn(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Xt("input",{value:t.replace,placeholder:Qn(e,"Replace"),"aria-label":Qn(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=Xt("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=Xt("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=Xt("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit});function n(r,s,l){return Xt("button",{class:"cm-button",name:r,onclick:s,type:"button"},l)}this.dom=Xt("div",{onkeydown:r=>this.keydown(r),class:"cm-search"},[this.searchField,n("next",()=>_c(e),[Qn(e,"next")]),n("prev",()=>Wc(e),[Qn(e,"previous")]),n("select",()=>oZ(e),[Qn(e,"all")]),Xt("label",null,[this.caseField,Qn(e,"match case")]),Xt("label",null,[this.reField,Qn(e,"regexp")]),Xt("label",null,[this.wordField,Qn(e,"by word")]),...e.state.readOnly?[]:[Xt("br"),this.replaceField,n("replace",()=>l0(e),[Qn(e,"replace")]),n("replaceAll",()=>fZ(e),[Qn(e,"replace all")])],Xt("button",{name:"close",onclick:()=>Aw(e),"aria-label":Qn(e,"close"),type:"button"},["×"])])}commit(){let e=new Tw({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:ea.of(e)}))}keydown(e){P5(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?Wc:_c)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),l0(this.view))}update(e){for(let t of e.transactions)for(let n of t.effects)n.is(ea)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(Rd).top}}function Qn(i,e){return i.state.phrase(e)}const Vf=30,qf=/[\s\.,:;?!]/;function Yd(i,{from:e,to:t}){let n=i.state.doc.lineAt(e),r=i.state.doc.lineAt(t).to,s=Math.max(n.from,e-Vf),l=Math.min(r,t+Vf),o=i.state.sliceDoc(s,l);if(s!=n.from){for(let f=0;fo.length-Vf;f--)if(!qf.test(o[f-1])&&qf.test(o[f])){o=o.slice(0,f);break}}return $e.announce.of(`${i.state.phrase("current match")}. ${o} ${i.state.phrase("on line")} ${n.number}.`)}const hZ=$e.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"}}),OZ=[Ss,Gs.lowest(lZ),hZ];class Uw{constructor(e,t,n){this.state=e,this.pos=t,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let t=ei(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),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),s=r.search(Vw(e,!1));return s<0?null:{from:n+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 o0(i){let e=Object.keys(i).join(""),t=/\w/.test(e);return t&&(e=e.replace(/\w/g,"")),`[${t?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function dZ(i){let e=Object.create(null),t=Object.create(null);for(let{label:r}of i){e[r[0]]=!0;for(let s=1;stypeof r=="string"?{label:r}:r),[t,n]=e.every(r=>/^\w+$/.test(r.label))?[/\w*$/,/\w+$/]:dZ(e);return r=>{let s=r.matchBefore(n);return s||r.explicit?{from:s?s.from:r.pos,options:e,validFor:t}:null}}function pZ(i,e){return t=>{for(let n=ei(t.state).resolveInner(t.pos,-1);n;n=n.parent)if(i.indexOf(n.name)>-1)return null;return e(t)}}class a0{constructor(e,t,n){this.completion=e,this.source=t,this.match=n}}function bs(i){return i.selection.main.head}function Vw(i,e){var t;let{source:n}=i,r=e&&n[0]!="^",s=n[n.length-1]!="$";return!r&&!s?i:new RegExp(`${r?"^":""}(?:${n})${s?"$":""}`,(t=i.flags)!==null&&t!==void 0?t:i.ignoreCase?"i":"")}const gZ=_s.define();function mZ(i,e,t,n){return Object.assign(Object.assign({},i.changeByRange(r=>{if(r==i.selection.main)return{changes:{from:t,to:n,insert:e},range:K.cursor(t+e.length)};let s=n-t;return!r.empty||s&&i.sliceDoc(r.from-s,r.from)!=i.sliceDoc(t,n)?{range:r}:{changes:{from:r.from-s,to:r.from,insert:e},range:K.cursor(r.from-s+e.length)}})),{userEvent:"input.complete"})}function qw(i,e){const t=e.completion.apply||e.completion.label;let n=e.source;typeof t=="string"?i.dispatch(Object.assign(Object.assign({},mZ(i.state,t,n.from,n.to)),{annotations:gZ.of(e.completion)})):t(i,e.completion,n.from,n.to)}const f0=new WeakMap;function SZ(i){if(!Array.isArray(i))return i;let e=f0.get(i);return e||f0.set(i,e=Yw(i)),e}class bZ{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let t=0;t=48&&T<=57||T>=97&&T<=122?2:T>=65&&T<=90?1:0:(U=cd(T))!=U.toLowerCase()?1:U!=U.toUpperCase()?2:0;(!x||L==1&&Q||X==0&&L!=0)&&(t[O]==T||n[O]==T&&(p=!0)?l[O++]=x:l.length&&(W=!1)),X=L,x+=vn(T)}return O==f&&l[0]==0&&W?this.result(-100+(p?-200:0),l,e):g==f&&b==0?[-200-e.length,0,$]:o>-1?[-700-e.length,o,o+this.pattern.length]:g==f?[-200+-700-e.length,b,$]:O==f?this.result(-100+(p?-200:0)+-700+(W?0:-1100),l,e):t.length==2?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,n){let r=[e-n.length],s=1;for(let l of t){let o=l+(this.astral?vn(Ci(n,l)):1);s>1&&r[s-1]==l?r[s-1]=o:(r[s++]=l,r[s++]=o)}return r}}const Ln=Pe.define({combine(i){return kr(i,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>c0(e(n),t(n)),optionClass:(e,t)=>n=>c0(e(n),t(n)),addToOptions:(e,t)=>e.concat(t)})}});function c0(i,e){return i?e?i+" "+e:i:e}function $Z(i){let e=i.addToOptions.slice();return i.icons&&e.push({render(t){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),t.type&&n.classList.add(...t.type.split(/\s+/g).map(r=>"cm-completionIcon-"+r)),n.setAttribute("aria-hidden","true"),n},position:20}),e.push({render(t,n,r){let s=document.createElement("span");s.className="cm-completionLabel";let{label:l}=t,o=0;for(let f=1;fo&&s.appendChild(document.createTextNode(l.slice(o,u)));let O=s.appendChild(document.createElement("span"));O.appendChild(document.createTextNode(l.slice(u,h))),O.className="cm-completionMatchedText",o=h}return ot.position-n.position).map(t=>t.render)}function u0(i,e,t){if(i<=t)return{from:0,to:i};if(e<0&&(e=0),e<=i>>1){let r=Math.floor(e/t);return{from:r*t,to:(r+1)*t}}let n=Math.floor((i-e)/t);return{from:i-(n+1)*t,to:i-n*t}}class QZ{constructor(e,t){this.view=e,this.stateField=t,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:o=>this.positionInfo(o),key:this},this.space=null,this.currentClass="";let n=e.state.field(t),{options:r,selected:s}=n.open,l=e.state.facet(Ln);this.optionContent=$Z(l),this.optionClass=l.optionClass,this.tooltipClass=l.tooltipClass,this.range=u0(r.length,s,l.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",o=>{for(let f=o.target,u;f&&f!=this.dom;f=f.parentNode)if(f.nodeName=="LI"&&(u=/-(\d+)$/.exec(f.id))&&+u[1]{this.info&&this.view.requestMeasure(this.placeInfo)})}mount(){this.updateSel()}update(e){var t,n,r;let s=e.state.field(this.stateField),l=e.startState.field(this.stateField);this.updateTooltipClass(e.state),s!=l&&(this.updateSel(),((t=s.open)===null||t===void 0?void 0:t.disabled)!=((n=l.open)===null||n===void 0?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!(!((r=s.open)===null||r===void 0)&&r.disabled)))}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of t.split(" "))n&&this.dom.classList.add(n);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfo)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=u0(t.options.length,t.selected,this.view.state.facet(Ln).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfo)})),this.updateSelectedOption(t.selected)){this.info&&(this.info.remove(),this.info=null);let{completion:n}=t.options[t.selected],{info:r}=n;if(!r)return;let s=typeof r=="string"?document.createTextNode(r):r(n);if(!s)return;"then"in s?s.then(l=>{l&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(l)}).catch(l=>_n(this.view.state,l,"completion info")):this.addInfoPane(s)}}addInfoPane(e){let t=this.info=document.createElement("div");t.className="cm-tooltip cm-completionInfo",t.appendChild(e),this.dom.appendChild(t),this.view.requestMeasure(this.placeInfo)}updateSelectedOption(e){let t=null;for(let n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)r==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected");return t&&yZ(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),s=this.space;if(!s){let b=this.dom.ownerDocument.defaultView||window;s={left:0,top:0,right:b.innerWidth,bottom:b.innerHeight}}if(r.top>Math.min(s.bottom,t.bottom)-10||r.bottom=n.height||b>t.top?h=r.bottom-t.top+"px":O=t.bottom-r.top+"px"}return{top:h,bottom:O,maxWidth:u,class:f?l?"left-narrow":"right-narrow":o?"left":"right"}}positionInfo(e){this.info&&(e?(this.info.style.top=e.top,this.info.style.bottom=e.bottom,this.info.style.maxWidth=e.maxWidth,this.info.className="cm-tooltip cm-completionInfo cm-completionInfo-"+e.class):this.info.style.top="-1e6px")}createListBox(e,t,n){const r=document.createElement("ul");r.id=t,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),r.setAttribute("aria-label",this.view.state.phrase("Completions"));for(let s=n.from;snew QZ(e,i)}function yZ(i,e){let t=i.getBoundingClientRect(),n=e.getBoundingClientRect();n.topt.bottom&&(i.scrollTop+=n.bottom-t.bottom)}function h0(i){return(i.boost||0)*100+(i.apply?10:0)+(i.info?5:0)+(i.type?1:0)}function vZ(i,e){let t=[],n=0;for(let o of i)if(o.hasResult())if(o.result.filter===!1){let f=o.result.getMatch;for(let u of o.result.options){let h=[1e9-n++];if(f)for(let O of f(u))h.push(O);t.push(new a0(u,o,h))}}else{let f=new bZ(e.sliceDoc(o.from,o.to)),u;for(let h of o.result.options)(u=f.match(h.label))&&(h.boost!=null&&(u[0]+=h.boost),t.push(new a0(h,o,u)))}let r=[],s=null,l=e.facet(Ln).compareCompletions;for(let o of t.sort((f,u)=>u.match[0]-f.match[0]||l(f.completion,u.completion)))!s||s.label!=o.completion.label||s.detail!=o.completion.detail||s.type!=null&&o.completion.type!=null&&s.type!=o.completion.type||s.apply!=o.completion.apply?r.push(o):h0(o.completion)>h0(s)&&(r[r.length-1]=o),s=o.completion;return r}class wl{constructor(e,t,n,r,s,l){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=r,this.selected=s,this.disabled=l}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new wl(this.options,O0(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,r,s){let l=vZ(e,t);if(!l.length)return r&&e.some(f=>f.state==1)?new wl(r.options,r.attrs,r.tooltip,r.timestamp,r.selected,!0):null;let o=t.facet(Ln).selectOnOpen?0:-1;if(r&&r.selected!=o&&r.selected!=-1){let f=r.options[r.selected].completion;for(let u=0;uu.hasResult()?Math.min(f,u.from):f,1e8),create:wZ(Dn),above:s.aboveCursor},r?r.timestamp:Date.now(),o,!1)}map(e){return new wl(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class xc{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new xc(_Z,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:t}=e,n=t.facet(Ln),s=(n.override||t.languageDataAt("autocomplete",bs(t)).map(SZ)).map(o=>(this.active.find(u=>u.source==o)||new hn(o,this.active.some(u=>u.state!=0)?1:0)).update(e,n));s.length==this.active.length&&s.every((o,f)=>o==this.active[f])&&(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))||!PZ(s,this.active)?l=wl.build(s,t,this.id,l,n):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 hn(o.source,0):o));for(let o of e.effects)o.is(Mw)&&(l=l&&l.setSelected(o.value,this.id));return s==this.active&&l==this.open?this:new xc(s,this.id,l)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:kZ}}function PZ(i,e){if(i==e)return!0;for(let t=0,n=0;;){for(;t-1&&(t["aria-activedescendant"]=i+"-"+e),t}const _Z=[];function rd(i){return i.isUserEvent("input.type")?"input":i.isUserEvent("delete.backward")?"delete":null}class hn{constructor(e,t,n=-1){this.source=e,this.state=t,this.explicitPos=n}hasResult(){return!1}update(e,t){let n=rd(e),r=this;n?r=r.handleUserEvent(e,n,t):e.docChanged?r=r.handleChange(e):e.selection&&r.state!=0&&(r=new hn(r.source,0));for(let s of e.effects)if(s.is(Vd))r=new hn(r.source,1,s.value?bs(e.state):-1);else if(s.is(Cc))r=new hn(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,n){return t=="delete"||!n.activateOnTyping?this.map(e.changes):new hn(this.source,1)}handleChange(e){return e.changes.touchesRange(bs(e.startState))?new hn(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new hn(this.source,this.state,e.mapPos(this.explicitPos))}}class qo extends hn{constructor(e,t,n,r,s){super(e,2,t),this.result=n,this.from=r,this.to=s}hasResult(){return!0}handleUserEvent(e,t,n){var r;let s=e.changes.mapPos(this.from),l=e.changes.mapPos(this.to,1),o=bs(e.state);if((this.explicitPos<0?o<=s:ol||t=="delete"&&bs(e.startState)==this.from)return new hn(this.source,t=="input"&&n.activateOnTyping?1:0);let f=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),u;return WZ(this.result.validFor,e.state,s,l)?new qo(this.source,f,this.result,s,l):this.result.update&&(u=this.result.update(this.result,s,l,new Uw(e.state,o,f>=0)))?new qo(this.source,f,u,u.from,(r=u.to)!==null&&r!==void 0?r:bs(e.state)):new hn(this.source,1,f)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new hn(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new qo(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function WZ(i,e,t,n){if(!i)return!1;let r=e.sliceDoc(t,n);return typeof i=="function"?i(r,t,n,e):Vw(i,!0).test(r)}const Vd=qe.define(),Cc=qe.define(),Ew=qe.define({map(i,e){return i.map(t=>t.map(e))}}),Mw=qe.define(),Dn=$i.define({create(){return xc.start()},update(i,e){return i.update(e)},provide:i=>[$d.from(i,e=>e.tooltip),$e.contentAttributes.from(i,e=>e.attrs)]});function Ef(i,e="option"){return t=>{let n=t.state.field(Dn,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp-1?n.open.selected+r*(i?1:-1):i?0:l-1;return o<0?o=e=="page"?0:l-1:o>=l&&(o=e=="page"?l-1:0),t.dispatch({effects:Mw.of(o)}),!0}}const xZ=i=>{let e=i.state.field(Dn,!1);return i.state.readOnly||!e||!e.open||e.open.selected<0||Date.now()-e.open.timestampi.state.field(Dn,!1)?(i.dispatch({effects:Vd.of(!0)}),!0):!1,XZ=i=>{let e=i.state.field(Dn,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(i.dispatch({effects:Cc.of(null)}),!0)};class TZ{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const d0=50,ZZ=50,RZ=1e3,AZ=hi.fromClass(class{constructor(i){this.view=i,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of i.state.field(Dn).active)e.state==1&&this.startQuery(e)}update(i){let e=i.state.field(Dn);if(!i.selectionSet&&!i.docChanged&&i.startState.field(Dn)==e)return;let t=i.transactions.some(n=>(n.selection||n.docChanged)&&!rd(n));for(let n=0;nZZ&&Date.now()-r.time>RZ){for(let s of r.context.abortListeners)try{s()}catch(l){_n(this.view.state,l)}r.context.abortListeners=null,this.running.splice(n--,1)}else r.updates.push(...i.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=e.active.some(n=>n.state==1&&!this.running.some(r=>r.active.source==n.source))?setTimeout(()=>this.startUpdate(),d0):-1,this.composing!=0)for(let n of i.transactions)rd(n)=="input"?this.composing=2:this.composing==2&&n.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:i}=this.view,e=i.field(Dn);for(let t of e.active)t.state==1&&!this.running.some(n=>n.active.source==t.source)&&this.startQuery(t)}startQuery(i){let{state:e}=this.view,t=bs(e),n=new Uw(e,t,i.explicitPos==t),r=new TZ(i,n);this.running.push(r),Promise.resolve(i.source(n)).then(s=>{r.context.aborted||(r.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:Cc.of(null)}),_n(this.view.state,s)})}scheduleAccept(){this.running.every(i=>i.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),d0))}accept(){var i;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(Ln);for(let n=0;nl.source==r.active.source);if(s&&s.state==1)if(r.done==null){let l=new hn(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(){let i=this.view.state.field(Dn,!1);i&&i.tooltip&&this.view.state.facet(Ln).closeOnBlur&&this.view.dispatch({effects:Cc.of(null)})},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:Vd.of(!1)}),20),this.composing=0}}}),Dw=$e.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":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&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 UZ{constructor(e,t,n,r){this.field=e,this.line=t,this.from=n,this.to=r}}class qd{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,Ti.TrackDel),n=e.mapPos(this.to,1,Ti.TrackDel);return t==null||n==null?null:new qd(this.field,t,n)}}class Ed{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],r=[t],s=e.doc.lineAt(t),l=/^\s*/.exec(s.text)[0];for(let f of this.lines){if(n.length){let u=l,h=/^\t*/.exec(f)[0].length;for(let O=0;Onew qd(f.field,r[f.line]+f.from,r[f.line]+f.to));return{text:n,ranges:o}}static parse(e){let t=[],n=[],r=[],s;for(let l of e.split(/\r\n?|\n/)){for(;s=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(l);){let o=s[1]?+s[1]:null,f=s[2]||s[3]||"",u=-1;for(let h=0;h=u&&O.field++}r.push(new UZ(u,n.length,s.index,s.index+f.length)),l=l.slice(0,s.index)+f+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 f of r)f.line==n.length&&f.from>o.index&&(f.from--,f.to--)}n.push(l)}return new Ed(n,r)}}let YZ=xe.widget({widget:new class extends Br{toDOM(){let i=document.createElement("span");return i.className="cm-snippetFieldPosition",i}ignoreEvent(){return!1}}}),VZ=xe.mark({class:"cm-snippetField"});class Fl{constructor(e,t){this.ranges=e,this.active=t,this.deco=xe.set(e.map(n=>(n.from==n.to?YZ:VZ).range(n.from,n.to)))}map(e){let t=[];for(let n of this.ranges){let r=n.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(n=>n.field==this.active&&n.from<=t.from&&n.to>=t.to))}}const ua=qe.define({map(i,e){return i&&i.map(e)}}),qZ=qe.define(),ta=$i.define({create(){return null},update(i,e){for(let t of e.effects){if(t.is(ua))return t.value;if(t.is(qZ)&&i)return new Fl(i.ranges,t.value)}return i&&e.docChanged&&(i=i.map(e.changes)),i&&e.selection&&!i.selectionInsideField(e.selection)&&(i=null),i},provide:i=>$e.decorations.from(i,e=>e?e.deco:xe.none)});function Md(i,e){return K.create(i.filter(t=>t.field==e).map(t=>K.range(t.from,t.to)))}function EZ(i){let e=Ed.parse(i);return(t,n,r,s)=>{let{text:l,ranges:o}=e.instantiate(t.state,r),f={changes:{from:r,to:s,insert:gt.of(l)},scrollIntoView:!0};if(o.length&&(f.selection=Md(o,0)),o.length>1){let u=new Fl(o,0),h=f.effects=[ua.of(u)];t.state.field(ta,!1)===void 0&&h.push(qe.appendConfig.of([ta,NZ,LZ,Dw]))}t.dispatch(t.state.update(f))}}function zw(i){return({state:e,dispatch:t})=>{let n=e.field(ta,!1);if(!n||i<0&&n.active==0)return!1;let r=n.active+i,s=i>0&&!n.ranges.some(l=>l.field==r+i);return t(e.update({selection:Md(n.ranges,r),effects:ua.of(s?null:new Fl(n.ranges,r))})),!0}}const MZ=({state:i,dispatch:e})=>i.field(ta,!1)?(e(i.update({effects:ua.of(null)})),!0):!1,DZ=zw(1),zZ=zw(-1),IZ=[{key:"Tab",run:DZ,shift:zZ},{key:"Escape",run:MZ}],p0=Pe.define({combine(i){return i.length?i[0]:IZ}}),NZ=Gs.highest(sa.compute([p0],i=>i.facet(p0)));function sr(i,e){return Object.assign(Object.assign({},e),{apply:EZ(i)})}const LZ=$e.domEventHandlers({mousedown(i,e){let t=e.state.field(ta,!1),n;if(!t||(n=e.posAtCoords({x:i.clientX,y:i.clientY}))==null)return!1;let r=t.ranges.find(s=>s.from<=n&&s.to>=n);return!r||r.field==t.active?!1:(e.dispatch({selection:Md(t.ranges,r.field),effects:ua.of(t.ranges.some(s=>s.field>r.field)?new Fl(t.ranges,r.field):null)}),!0)}}),ia={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Is=qe.define({map(i,e){let t=e.mapPos(i,-1,Ti.TrackAfter);return t??void 0}}),Dd=qe.define({map(i,e){return e.mapPos(i)}}),zd=new class extends Ls{};zd.startSide=1;zd.endSide=-1;const Iw=$i.define({create(){return yt.empty},update(i,e){if(e.selection){let t=e.state.doc.lineAt(e.selection.main.head).from,n=e.startState.doc.lineAt(e.startState.selection.main.head).from;t!=e.changes.mapPos(n,-1)&&(i=yt.empty)}i=i.map(e.changes);for(let t of e.effects)t.is(Is)?i=i.update({add:[zd.range(t.value,t.value+1)]}):t.is(Dd)&&(i=i.update({filter:n=>n!=t.value}));return i}});function BZ(){return[GZ,Iw]}const Kh="()[]{}<>";function Nw(i){for(let e=0;e{if((jZ?i.composing:i.compositionStarted)||i.state.readOnly)return!1;let r=i.state.selection.main;if(n.length>2||n.length==2&&vn(Ci(n,0))==1||e!=r.from||t!=r.to)return!1;let s=KZ(i.state,n);return s?(i.dispatch(s),!0):!1}),FZ=({state:i,dispatch:e})=>{if(i.readOnly)return!1;let n=Lw(i,i.selection.main.head).brackets||ia.brackets,r=null,s=i.changeByRange(l=>{if(l.empty){let o=JZ(i.doc,l.head);for(let f of n)if(f==o&&Kc(i.doc,l.head)==Nw(Ci(f,0)))return{changes:{from:l.head-f.length,to:l.head+f.length},range:K.cursor(l.head-f.length)}}return{range:r=l}});return r||e(i.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!r},HZ=[{key:"Backspace",run:FZ}];function KZ(i,e){let t=Lw(i,i.selection.main.head),n=t.brackets||ia.brackets;for(let r of n){let s=Nw(Ci(r,0));if(e==r)return s==r?iR(i,r,n.indexOf(r+r+r)>-1,t):eR(i,r,s,t.before||ia.before);if(e==s&&Bw(i,i.selection.main.from))return tR(i,r,s)}return null}function Bw(i,e){let t=!1;return i.field(Iw).between(0,i.doc.length,n=>{n==e&&(t=!0)}),t}function Kc(i,e){let t=i.sliceString(e,e+2);return t.slice(0,vn(Ci(t,0)))}function JZ(i,e){let t=i.sliceString(e-2,e);return vn(Ci(t,0))==t.length?t:t.slice(1)}function eR(i,e,t,n){let r=null,s=i.changeByRange(l=>{if(!l.empty)return{changes:[{insert:e,from:l.from},{insert:t,from:l.to}],effects:Is.of(l.to+e.length),range:K.range(l.anchor+e.length,l.head+e.length)};let o=Kc(i.doc,l.head);return!o||/\s/.test(o)||n.indexOf(o)>-1?{changes:{insert:e+t,from:l.head},effects:Is.of(l.head+e.length),range:K.cursor(l.head+e.length)}:{range:r=l}});return r?null:i.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function tR(i,e,t){let n=null,r=i.selection.ranges.map(s=>s.empty&&Kc(i.doc,s.head)==t?K.cursor(s.head+t.length):n=s);return n?null:i.update({selection:K.create(r,i.selection.mainIndex),scrollIntoView:!0,effects:i.selection.ranges.map(({from:s})=>Dd.of(s))})}function iR(i,e,t,n){let r=n.stringPrefixes||ia.stringPrefixes,s=null,l=i.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:e,from:o.to}],effects:Is.of(o.to+e.length),range:K.range(o.anchor+e.length,o.head+e.length)};let f=o.head,u=Kc(i.doc,f),h;if(u==e){if(g0(i,f))return{changes:{insert:e+e,from:f},effects:Is.of(f+e.length),range:K.cursor(f+e.length)};if(Bw(i,f)){let O=t&&i.sliceDoc(f,f+e.length*3)==e+e+e;return{range:K.cursor(f+e.length*(O?3:1)),effects:Dd.of(f)}}}else{if(t&&i.sliceDoc(f-2*e.length,f)==e+e&&(h=m0(i,f-2*e.length,r))>-1&&g0(i,h))return{changes:{insert:e+e+e+e,from:f},effects:Is.of(f+e.length),range:K.cursor(f+e.length)};if(i.charCategorizer(f)(u)!=It.Word&&m0(i,f,r)>-1&&!nR(i,f,e,r))return{changes:{insert:e+e,from:f},effects:Is.of(f+e.length),range:K.cursor(f+e.length)}}return{range:s=o}});return s?null:i.update(l,{scrollIntoView:!0,userEvent:"input.type"})}function g0(i,e){let t=ei(i).resolveInner(e+1);return t.parent&&t.from==e}function nR(i,e,t,n){let r=ei(i).resolveInner(e,-1),s=n.reduce((l,o)=>Math.max(l,o.length),0);for(let l=0;l<5;l++){let o=i.sliceDoc(r.from,Math.min(r.to,r.from+t.length+s)),f=o.indexOf(t);if(!f||f>-1&&n.indexOf(o.slice(0,f))>-1){let h=r.firstChild;for(;h&&h.from==r.from&&h.to-h.from>t.length+f;){if(i.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 m0(i,e,t){let n=i.charCategorizer(e);if(n(i.sliceDoc(e-1,e))!=It.Word)return e;for(let r of t){let s=e-r.length;if(i.sliceDoc(s,e)==r&&n(i.sliceDoc(s-1,s))!=It.Word)return s}return-1}function rR(i={}){return[Dn,Ln.of(i),AZ,sR,Dw]}const jw=[{key:"Ctrl-Space",run:CZ},{key:"Escape",run:XZ},{key:"ArrowDown",run:Ef(!0)},{key:"ArrowUp",run:Ef(!1)},{key:"PageDown",run:Ef(!0,"page")},{key:"PageUp",run:Ef(!1,"page")},{key:"Enter",run:xZ}],sR=Gs.highest(sa.computeN([Ln],i=>i.facet(Ln).defaultKeymap?[jw]:[]));class lR{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class Ms{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let r=e,s=n.facet(yl).markerFilter;s&&(r=s(r));let l=xe.set(r.map(o=>o.from==o.to||o.from==o.to-1&&n.doc.lineAt(o.from).to==o.from?xe.widget({widget:new gR(o),diagnostic:o}).range(o.from):xe.mark({attributes:{class:"cm-lintRange cm-lintRange-"+o.severity},diagnostic:o}).range(o.from,o.to)),!0);return new Ms(l,t,Dl(l))}}function Dl(i,e=null,t=0){let n=null;return i.between(t,1e9,(r,s,{spec:l})=>{if(!(e&&l.diagnostic!=e))return n=new lR(r,s,l.diagnostic),!1}),n}function oR(i,e){return!!(i.effects.some(t=>t.is(Id))||i.changes.touchesRange(e.pos))}function Gw(i,e){return i.field(kn,!1)?e:e.concat(qe.appendConfig.of([kn,$e.decorations.compute([kn],t=>{let{selected:n,panel:r}=t.field(kn);return!n||!r||n.from==n.to?xe.none:xe.set([fR.range(n.from,n.to)])}),c4(cR,{hideOn:oR}),SR]))}function aR(i,e){return{effects:Gw(i,[Id.of(e)])}}const Id=qe.define(),Nd=qe.define(),Fw=qe.define(),kn=$i.define({create(){return new Ms(xe.none,null,null)},update(i,e){if(e.docChanged){let t=i.diagnostics.map(e.changes),n=null;if(i.selected){let r=e.changes.mapPos(i.selected.from,1);n=Dl(t,i.selected.diagnostic,r)||Dl(t,null,r)}i=new Ms(t,i.panel,n)}for(let t of e.effects)t.is(Id)?i=Ms.init(t.value,i.panel,e.state):t.is(Nd)?i=new Ms(i.diagnostics,t.value?Jc.open:null,i.selected):t.is(Fw)&&(i=new Ms(i.diagnostics,i.panel,t.value));return i},provide:i=>[Fo.from(i,e=>e.panel),$e.decorations.from(i,e=>e.diagnostics)]}),fR=xe.mark({class:"cm-lintRange cm-lintRange-active"});function cR(i,e,t){let{diagnostics:n}=i.state.field(kn),r=[],s=2e8,l=0;n.between(e-(t<0?1:0),e+(t>0?1:0),(f,u,{spec:h})=>{e>=f&&e<=u&&(f==u||(e>f||t>0)&&(eKw(i,t,!1)))}const hR=i=>{let e=i.state.field(kn,!1);(!e||!e.panel)&&i.dispatch({effects:Gw(i.state,[Nd.of(!0)])});let t=Go(i,Jc.open);return t&&t.dom.querySelector(".cm-panel-lint ul").focus(),!0},S0=i=>{let e=i.state.field(kn,!1);return!e||!e.panel?!1:(i.dispatch({effects:Nd.of(!1)}),!0)},OR=i=>{let e=i.state.field(kn,!1);if(!e)return!1;let t=i.state.selection.main,n=e.diagnostics.iter(t.to+1);return!n.value&&(n=e.diagnostics.iter(0),!n.value||n.from==t.from&&n.to==t.to)?!1:(i.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0}),!0)},dR=[{key:"Mod-Shift-m",run:hR,preventDefault:!0},{key:"F8",run:OR}],pR=hi.fromClass(class{constructor(i){this.view=i,this.timeout=-1,this.set=!0;let{delay:e}=i.state.facet(yl);this.lintTime=Date.now()+e,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,e)}run(){let i=Date.now();if(iPromise.resolve(n(this.view)))).then(n=>{let r=n.reduce((s,l)=>s.concat(l));this.view.state.doc==e.doc&&this.view.dispatch(aR(this.view.state,r))},n=>{_n(this.view.state,n)})}}update(i){let e=i.state.facet(yl);(i.docChanged||e!=i.startState.facet(yl))&&(this.lintTime=Date.now()+e.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,e.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),yl=Pe.define({combine(i){return Object.assign({sources:i.map(e=>e.source)},kr(i.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null}))},enables:pR});function Hw(i){let e=[];if(i)e:for(let{name:t}of i){for(let n=0;ns.toLowerCase()==r.toLowerCase())){e.push(r);continue e}}e.push("")}return e}function Kw(i,e,t){var n;let r=t?Hw(e.actions):[];return Xt("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},Xt("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage():e.message),(n=e.actions)===null||n===void 0?void 0:n.map((s,l)=>{let o=O=>{O.preventDefault();let p=Dl(i.state.field(kn).diagnostics,e);p&&s.apply(i,p.from,p.to)},{name:f}=s,u=r[l]?f.indexOf(r[l]):-1,h=u<0?f:[f.slice(0,u),Xt("u",f.slice(u,u+1)),f.slice(u+1)];return Xt("button",{type:"button",class:"cm-diagnosticAction",onclick:o,onmousedown:o,"aria-label":` Action: ${f}${u<0?"":` (access key "${r[l]})"`}.`},h)}),e.source&&Xt("div",{class:"cm-diagnosticSource"},e.source))}class gR extends Br{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return Xt("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class b0{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=Kw(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class Jc{constructor(e){this.view=e,this.items=[];let t=r=>{if(r.keyCode==27)S0(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=Hw(s.actions);for(let o=0;o{for(let s=0;sS0(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(kn).selected;if(!e)return-1;for(let t=0;t{let u=-1,h;for(let O=n;On&&(this.items.splice(n,u-n),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"),n++});n({sel:s.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:l,panel:o})=>{l.topo.bottom&&(this.list.scrollTop+=l.bottom-o.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function t(){let n=e;e=n.nextSibling,n.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=this.view.state.field(kn),n=Dl(t.diagnostics,this.items[e].diagnostic);n&&this.view.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0,effects:Fw.of(n)})}static open(e){return new Jc(e)}}function mR(i,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(i)}')`}function Jh(i){return mR(``,'width="6" height="3"')}const SR=$e.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:Jh("#d11")},".cm-lintRange-warning":{backgroundImage:Jh("orange")},".cm-lintRange-info":{backgroundImage:Jh("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),bR=(()=>[$4(),y4(),D5(),MX(),dX(),X5(),U5(),at.allowMultipleSelections.of(!0),iX(),zQ(SX,{fallback:!0}),PX(),BZ(),rR(),e4(),n4(),j5(),NT(),sa.of([...HZ,...qT,...cZ,...FX,...uX,...jw,...dR])])(),Pi=({variant:i,settings:e,styles:t})=>{const n=$e.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:i==="dark"}),r=fa.define(t);return[n,zQ(r)]};Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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"}]});Pi({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 $R=Ll({String:S.string,Number:S.number,"True False":S.bool,PropertyName:S.propertyName,Null:S.null,",":S.separator,"[ ]":S.squareBracket,"{ }":S.brace}),QR=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:[$R],skippedNodes:[0],repeatNodeCount:2,tokenData:"(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOe~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOh~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!O%w!Q![%}~%zP!Q![%}~&SPT~!Q![%}~&[ST~!O!P%V!Q![&V!g!h%k#X#Y%k~&mOg~~&rO]~~&wO[~~&zP#T#U&}~'QP#`#a'T~'WP#g#h'Z~'^P#X#Y'a~'fOR~~'iP#i#j'l~'oP#`#a'r~'uP#`#a'x~'}OS~~(QP#f#g(T~(WP#i#j(Z~(^P#X#Y(a~(fOQ~~(kOW~~(pOV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),wR=Ps.define({name:"json",parser:QR.configure({props:[Bl.add({Object:Tl({except:/^\s*\}/}),Array:Tl({except:/^\s*\]/})}),jl.add({"Object Array":mr})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function yR(){return new oa(wR)}const vR=54,PR=1,kR=55,_R=2,WR=56,xR=3,$0=4,CR=5,Xc=6,Jw=7,ey=8,ty=9,iy=10,XR=11,TR=12,ZR=13,eO=57,RR=14,Q0=58,ny=20,AR=22,ry=23,UR=24,sd=26,sy=27,YR=28,VR=31,qR=34,ER=36,MR=37,DR=0,zR=1,IR={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},NR={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},w0={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 LR(i){return i==45||i==46||i==58||i>=65&&i<=90||i==95||i>=97&&i<=122||i>=161}function ly(i){return i==9||i==10||i==13||i==32}let y0=null,v0=null,P0=0;function ld(i,e){let t=i.pos+e;if(P0==t&&v0==i)return y0;let n=i.peek(e);for(;ly(n);)n=i.peek(++e);let r="";for(;LR(n);)r+=String.fromCharCode(n),n=i.peek(++e);return v0=i,P0=t,y0=r?r.toLowerCase():n==BR||n==jR?void 0:null}const oy=60,Tc=62,Ld=47,BR=63,jR=33,GR=45;function k0(i,e){this.name=i,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t-1?new k0(ld(n,1)||"",i):i},reduce(i,e){return e==ny&&i?i.parent:i},reuse(i,e,t,n){let r=e.type.id;return r==Xc||r==ER?new k0(ld(n,1)||"",i):i},hash(i){return i?i.hash:0},strict:!1}),KR=new _r((i,e)=>{if(i.next!=oy){i.next<0&&e.context&&i.acceptToken(eO);return}i.advance();let t=i.next==Ld;t&&i.advance();let n=ld(i,0);if(n===void 0)return;if(!n)return i.acceptToken(t?RR:Xc);let r=e.context?e.context.name:null;if(t){if(n==r)return i.acceptToken(XR);if(r&&NR[r])return i.acceptToken(eO,-2);if(e.dialectEnabled(DR))return i.acceptToken(TR);for(let s=e.context;s;s=s.parent)if(s.name==n)return;i.acceptToken(ZR)}else{if(n=="script")return i.acceptToken(Jw);if(n=="style")return i.acceptToken(ey);if(n=="textarea")return i.acceptToken(ty);if(IR.hasOwnProperty(n))return i.acceptToken(iy);r&&w0[r]&&w0[r][n]?i.acceptToken(eO,-1):i.acceptToken(Xc)}},{contextual:!0}),JR=new _r(i=>{for(let e=0,t=0;;t++){if(i.next<0){t&&i.acceptToken(Q0);break}if(i.next==GR)e++;else if(i.next==Tc&&e>=2){t>3&&i.acceptToken(Q0,-2);break}else e=0;i.advance()}});function e9(i){for(;i;i=i.parent)if(i.name=="svg"||i.name=="math")return!0;return!1}const t9=new _r((i,e)=>{if(i.next==Ld&&i.peek(1)==Tc){let t=e.dialectEnabled(zR)||e9(e.context);i.acceptToken(t?CR:$0,2)}else i.next==Tc&&i.acceptToken($0,1)});function Bd(i,e,t){let n=2+i.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==oy||s==1&&r.next==Ld||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 i9=Bd("script",vR,PR),n9=Bd("style",kR,_R),r9=Bd("textarea",WR,xR),s9=Ll({"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}),l9=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+$r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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:HR,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:[s9],skippedNodes:[0],repeatNodeCount:9,tokenData:"#%g!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs4ysv-_vw5iwxJ^x}-_}!OKP!O!P-_!P!Q$q!Q![-_![!]!!O!]!^-_!^!_!&W!_!`#$o!`!a&X!a!c-_!c!}!!O!}#R-_#R#S!!O#S#T3V#T#o!!O#o#s-_#s$f$q$f%W-_%W%o!!O%o%p-_%p&a!!O&a&b-_&b1p!!O1p4U-_4U4d!!O4d4e-_4e$IS!!O$IS$I`-_$I`$Ib!!O$Ib$Kh-_$Kh%#t!!O%#t&/x-_&/x&Et!!O&Et&FV-_&FV;'S!!O;'S;:j!&Q;:j;=`4s<%l?&r-_?&r?Ah!!O?Ah?BY$q?BY?Mn!!O?MnO$q!Z$|c`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q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,r9,t9,KR,JR,0,1,2,3,4,5],topRules:{Document:[0,15]},dialects:{noMatch:0,selfClosing:485},tokenPrec:487});function ay(i,e){let t=Object.create(null);for(let n of i.getChildren(ry)){let r=n.getChild(UR),s=n.getChild(sd)||n.getChild(sy);r&&(t[e.read(r.from,r.to)]=s?s.type.id==sd?e.read(s.from+1,s.to-1):e.read(s.from,s.to):"")}return t}function _0(i,e){let t=i.getChild(AR);return t?e.read(t.from,t.to):" "}function tO(i,e,t){let n;for(let r of t)if(!r.attrs||r.attrs(n||(n=ay(i.node.parent.firstChild,e))))return{parser:r.parser};return null}function fy(i=[],e=[]){let t=[],n=[],r=[],s=[];for(let o of i)(o.tag=="script"?t:o.tag=="style"?n:o.tag=="textarea"?r:s).push(o);let l=e.length?Object.create(null):null;for(let o of e)(l[o.name]||(l[o.name]=[])).push(o);return $C((o,f)=>{let u=o.type.id;if(u==YR)return tO(o,f,t);if(u==VR)return tO(o,f,n);if(u==qR)return tO(o,f,r);if(u==ny&&s.length){let h=o.node,O=h.firstChild,p=O&&_0(O,f),g;if(p){for(let b of s)if(b.tag==p&&(!b.attrs||b.attrs(g||(g=ay(h,f))))){let $=h.lastChild;return{parser:b.parser,overlay:[{from:O.to,to:$.type.id==MR?$.from:h.to}]}}}}if(l&&u==ry){let h=o.node,O;if(O=h.firstChild){let p=l[f.read(O.from,O.to)];if(p)for(let g of p){if(g.tagName&&g.tagName!=_0(h.parent,f))continue;let b=h.lastChild;if(b.type.id==sd){let $=b.from+1,Q=b.lastChild,W=b.to-(Q&&Q.isError?0:1);if(W>$)return{parser:g.parser,overlay:[{from:$,to:W}]}}else if(b.type.id==sy)return{parser:g.parser,overlay:[{from:b.from,to:b.to}]}}}}return null})}const o9=95,W0=1,a9=96,f9=97,x0=2,cy=[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],c9=58,u9=40,uy=95,h9=91,Kf=45,O9=46,d9=35,p9=37;function Zc(i){return i>=65&&i<=90||i>=97&&i<=122||i>=161}function g9(i){return i>=48&&i<=57}const m9=new _r((i,e)=>{for(let t=!1,n=0,r=0;;r++){let{next:s}=i;if(Zc(s)||s==Kf||s==uy||t&&g9(s))!t&&(s!=Kf||r>0)&&(t=!0),n===r&&s==Kf&&n++,i.advance();else{t&&i.acceptToken(s==u9?a9:n==2&&e.canShift(x0)?x0:f9);break}}}),S9=new _r(i=>{if(cy.includes(i.peek(-1))){let{next:e}=i;(Zc(e)||e==uy||e==d9||e==O9||e==h9||e==c9||e==Kf)&&i.acceptToken(o9)}}),b9=new _r(i=>{if(!cy.includes(i.peek(-1))){let{next:e}=i;if(e==p9&&(i.advance(),i.acceptToken(W0)),Zc(e)){do i.advance();while(Zc(i.next));i.acceptToken(W0)}}}),$9=Ll({"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}),Q9={__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},w9={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,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Rules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:96,get:i=>Q9[i]||-1},{term:56,get:i=>w9[i]||-1},{term:97,get:i=>y9[i]||-1}],tokenPrec:1142});let iO=null;function nO(){if(!iO&&typeof document=="object"&&document.body){let{style:i}=document.body,e=[],t=new Set;for(let n in i)n!="cssText"&&n!="cssFloat"&&typeof i[n]=="string"&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,r=>"-"+r.toLowerCase())),t.has(n)||(e.push(n),t.add(n)));iO=e.sort().map(n=>({type:"property",label:n}))}return iO||[]}const C0=["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(i=>({type:"class",label:i})),X0=["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(i=>({type:"keyword",label:i})).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(i=>({type:"constant",label:i}))),P9=["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(i=>({type:"type",label:i})),as=/^(\w[\w-]*|-\w[\w-]*|)$/,k9=/^-(-[\w-]*)?$/;function _9(i,e){var t;if((i.name=="("||i.type.isError)&&(i=i.parent||i),i.name!="ArgList")return!1;let n=(t=i.parent)===null||t===void 0?void 0:t.firstChild;return(n==null?void 0:n.name)!="Callee"?!1:e.sliceString(n.from,n.to)=="var"}const T0=new kQ,W9=["Declaration"];function x9(i){for(let e=i;;){if(e.type.isTop)return e;if(!(e=e.parent))return i}}function hy(i,e,t){if(e.to-e.from>4096){let n=T0.get(e);if(n)return n;let r=[],s=new Set,l=e.cursor(Ut.IncludeAnonymous);if(l.firstChild())do for(let o of hy(i,l.node,t))s.has(o.label)||(s.add(o.label),r.push(o));while(l.nextSibling());return T0.set(e,r),r}else{let n=[],r=new Set;return e.cursor().iterate(s=>{var l;if(t(s)&&s.matchContext(W9)&&((l=s.node.nextSibling)===null||l===void 0?void 0:l.name)==":"){let o=i.sliceString(s.from,s.to);r.has(o)||(r.add(o),n.push({label:o,type:"variable"}))}}),n}}const C9=i=>e=>{let{state:t,pos:n}=e,r=ei(t).resolveInner(n,-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:nO(),validFor:as};if(r.name=="ValueName")return{from:r.from,options:X0,validFor:as};if(r.name=="PseudoClassName")return{from:r.from,options:C0,validFor:as};if(i(r)||(e.explicit||s)&&_9(r,t.doc))return{from:i(r)||s?r.from:n,options:hy(t.doc,x9(r),i),validFor:k9};if(r.name=="TagName"){for(let{parent:f}=r;f;f=f.parent)if(f.name=="Block")return{from:r.from,options:nO(),validFor:as};return{from:r.from,options:P9,validFor:as}}if(!e.explicit)return null;let l=r.resolve(n),o=l.childBefore(n);return o&&o.name==":"&&l.name=="PseudoClassSelector"?{from:n,options:C0,validFor:as}:o&&o.name==":"&&l.name=="Declaration"||l.name=="ArgList"?{from:n,options:X0,validFor:as}:l.name=="Block"||l.name=="Styles"?{from:n,options:nO(),validFor:as}:null},X9=C9(i=>i.name=="VariableName"),Rc=Ps.define({name:"css",parser:v9.configure({props:[Bl.add({Declaration:Tl()}),jl.add({Block:mr})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function T9(){return new oa(Rc,Rc.data.of({autocomplete:X9}))}const Z0=302,R0=1,Z9=2,A0=303,R9=305,A9=306,U9=3,Y9=4,V9=[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],Oy=125,q9=59,U0=47,E9=42,M9=43,D9=45,z9=new xQ({start:!1,shift(i,e){return e==U9||e==Y9||e==R9?i:e==A9},strict:!1}),I9=new _r((i,e)=>{let{next:t}=i;(t==Oy||t==-1||e.context)&&e.canShift(A0)&&i.acceptToken(A0)},{contextual:!0,fallback:!0}),N9=new _r((i,e)=>{let{next:t}=i,n;V9.indexOf(t)>-1||t==U0&&((n=i.peek(1))==U0||n==E9)||t!=Oy&&t!=q9&&t!=-1&&!e.context&&e.canShift(Z0)&&i.acceptToken(Z0)},{contextual:!0}),L9=new _r((i,e)=>{let{next:t}=i;if((t==M9||t==D9)&&(i.advance(),t==i.next)){i.advance();let n=!e.context&&e.canShift(R0);i.acceptToken(n?R0:Z9)}},{contextual:!0}),B9=Ll({"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 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: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)}),j9={__proto__:null,export:14,as:19,from:27,default:30,async:35,function:36,extends:46,this:50,true:58,false:58,null:70,void:74,typeof:78,super:96,new:130,delete:146,yield:155,await:159,class:164,public:221,private:221,protected:221,readonly:223,instanceof:242,satisfies:245,in:246,const:248,import:280,keyof:335,unique:339,infer:345,is:381,abstract:401,implements:403,type:405,let:408,var:410,interface:417,enum:421,namespace:427,module:429,declare:433,global:437,for:456,of:465,while:468,with:472,do:476,if:480,else:482,switch:486,case:492,try:498,catch:502,finally:506,return:510,throw:514,break:518,continue:522,debugger:526},G9={__proto__:null,async:117,get:119,set:121,declare:181,public:183,private:183,protected:183,static:185,abstract:187,override:189,readonly:195,accessor:197,new:385},F9={__proto__:null,"<":137},H9=vs.deserialize({version:14,states:"$6[O`QUOOO%QQUOOO'TQWOOP(bOSOOO*pQ(CjO'#CfO*wOpO'#CgO+VO!bO'#CgO+eO07`O'#DZO-vQUO'#DaO.WQUO'#DlO%QQUO'#DvO0[QUO'#EOOOQ(CY'#EW'#EWO0uQSO'#ETOOQO'#Ei'#EiOOQO'#Ib'#IbO0}QSO'#GkO1YQSO'#EhO1_QSO'#EhO3aQ(CjO'#JcO6QQ(CjO'#JdO6nQSO'#FWO6sQ#tO'#FoOOQ(CY'#F`'#F`O7OO&jO'#F`O7^Q,UO'#FvO8tQSO'#FuOOQ(CY'#Jd'#JdOOQ(CW'#Jc'#JcOOQQ'#KO'#KOO8yQSO'#IOO9OQ(C[O'#IPOOQQ'#JP'#JPOOQQ'#IT'#ITQ`QUOOO%QQUO'#DnO9WQUO'#DzO%QQUO'#D|O9_QSO'#GkO9dQ,UO'#ClO9rQSO'#EgO9}QSO'#ErO:SQ,UO'#F_O:qQSO'#GkO:vQSO'#GoO;RQSO'#GoO;aQSO'#GrO;aQSO'#GsO;aQSO'#GuO9_QSO'#GxOQQSO'#HnO>VQ(C]O'#H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Q2y9wQ2z9xQ2{9yQ2|9zQ2}9{Q3O9|Q3P9}Q3Q:OQ3R:PQ3S.dQ3V:UQ3W:_Q3]:QQ4O/zQ4V0XQ5i:`Q5o2WQ5t2^Q6Q2rQ6R:aQ6W:cQ6X:jQ7P4kQ7n5gQ7r5pQ7{:kQ8P:pQ8Q:qQ8v7tQ9U8cQ9]8tQ9n#OR;Q;^R#WWR&{!cY!qQ'Q,}0u4pS&w!c,uQ']!oS'g!r!uS'i!v4rS,r&x'PS-^'^'_Q-`'`Q1{,{R2Z-_R(k#tR(n#uQ!dQT,|'Q,}]!nQ!o'Q,}0u4pQ#l]R'Z9mT#gZ%ZS#fZ%ZU%y|},ZU(W#d#e#hS-r(X(YQ-v(ZQ0h+hQ2`-sU2a-t-u-wS5v2b2cR7u5w`#YW#S#V%v't'}+e-mt#cZ|}#d#e#h%Z(X(Y(Z+h-s-t-u-w2b2c5wQ1_,ZQ1r,oQ5e1jQ7m5fT:x&y+fT#]W%vS#[W%vS'u#S'}S'z#V+eS,t&y+fT-h't-mT'O!c%wQ$hfR)j$mT)_$h)`R3Z.kT*O$u*QR*W$xQ/}*zQ2e.OQ4s0wQ5{2iQ7X4vQ7x5zQ8e7WQ8w7wQ9W8gQ9`8yQ9e9XR9h9alpOXr!X#`%]&d&f&g&i,],b1b1eQ&^!TR,Q&ZV%z|},ZR0q+qR,P&XQ%szR+c%tR+X%nT&b!U&eT&c!U&eT1d,b1e",nodeNames:"⚠ ArithOp ArithOp LineComment BlockComment Script 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 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:364,context:z9,nodeProps:[["group",-26,6,14,16,62,199,203,206,207,209,212,215,225,227,233,235,237,239,242,248,254,256,258,260,262,264,265,"Statement",-32,10,11,25,28,29,35,45,48,49,51,56,64,72,76,78,80,81,103,104,113,114,131,134,136,137,138,139,141,142,162,163,165,"Expression",-23,24,26,30,34,36,38,166,168,170,171,173,174,175,177,178,179,181,182,183,193,195,197,198,"Type",-3,84,96,102,"ClassItem"],["openedBy",31,"InterpolationStart",50,"[",54,"{",69,"(",143,"JSXStartTag",155,"JSXStartTag JSXStartCloseTag"],["closedBy",33,"InterpolationEnd",44,"]",55,"}",70,")",144,"JSXSelfCloseEndTag JSXEndTag",160,"JSXEndTag"]],propSources:[B9],skippedNodes:[0,3,4,268],repeatNodeCount:33,tokenData:"$>y(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tu>PuvBavwDxwxGgxyMvyz! Qz{!![{|!%O|}!&]}!O!%O!O!P!'g!P!Q!1w!Q!R#0t!R![#3T![!]#@T!]!^#Aa!^!_#Bk!_!`#GS!`!a#In!a!b#N{!b!c$$z!c!}>P!}#O$&U#O#P$'`#P#Q$,w#Q#R$.R#R#S>P#S#T$/`#T#o$0j#o#p$4z#p#q$5p#q#r$7Q#r#s$8^#s$f%Z$f$g+g$g#BY>P#BY#BZ$9h#BZ$IS>P$IS$I_$9h$I_$I|>P$I|$I}$P$JT$JU$9h$JU$KV>P$KV$KW$9h$KW&FU>P&FU&FV$9h&FV;'S>P;'S;=`BZ<%l?HT>P?HT?HU$9h?HUO>P(n%d_$d&j'wp'z!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$d&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$d&j'z!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!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<%lO>P",tokenizers:[N9,L9,2,3,4,5,6,7,8,9,10,11,12,13,I9,new BO("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOq~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!O~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(T~~",141,326),new BO("j~RQYZXz{^~^O'q~~aP!P!Qd~iO'r~~",25,308)],topRules:{Script:[0,5],SingleExpression:[1,266],SingleClassItem:[2,267]},dialects:{jsx:12686,ts:12688},dynamicPrecedences:{76:1,78:1,163:1,191:1},specialized:[{term:312,get:i=>j9[i]||-1},{term:328,get:i=>G9[i]||-1},{term:67,get:i=>F9[i]||-1}],tokenPrec:12712}),K9=[sr("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),sr("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),sr("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),sr("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),sr("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),sr(`try { - \${} -} catch (\${error}) { - \${} -}`,{label:"try",detail:"/ catch block",type:"keyword"}),sr("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),sr(`if (\${}) { - \${} -} else { - \${} -}`,{label:"if",detail:"/ else block",type:"keyword"}),sr(`class \${name} { - constructor(\${params}) { - \${} - } -}`,{label:"class",detail:"definition",type:"keyword"}),sr('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),sr('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],Y0=new kQ,dy=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Po(i){return(e,t)=>{let n=e.node.getChild("VariableDefinition");return n&&t(n,i),!0}}const J9=["FunctionDeclaration"],eA={FunctionDeclaration:Po("function"),ClassDeclaration:Po("class"),ClassExpression:()=>!0,EnumDeclaration:Po("constant"),TypeAliasDeclaration:Po("type"),NamespaceDeclaration:Po("namespace"),VariableDefinition(i,e){i.matchContext(J9)||e(i,"variable")},TypeDefinition(i,e){e(i,"type")},__proto__:null};function py(i,e){let t=Y0.get(e);if(t)return t;let n=[],r=!0;function s(l,o){let f=i.sliceString(l.from,l.to);n.push({label:f,type:o})}return e.cursor(Ut.IncludeAnonymous).iterate(l=>{if(r)r=!1;else if(l.name){let o=eA[l.name];if(o&&o(l,s)||dy.has(l.name))return!1}else if(l.to-l.from>8192){for(let o of py(i,l.node))n.push(o);return!1}}),Y0.set(e,n),n}const V0=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,gy=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function tA(i){let e=ei(i.state).resolveInner(i.pos,-1);if(gy.indexOf(e.name)>-1)return null;let t=e.name=="VariableName"||e.to-e.from<20&&V0.test(i.state.sliceDoc(e.from,e.to));if(!t&&!i.explicit)return null;let n=[];for(let r=e;r;r=r.parent)dy.has(r.name)&&(n=n.concat(py(i.state.doc,r)));return{options:n,from:t?e.from:i.pos,validFor:V0}}const Nr=Ps.define({name:"javascript",parser:H9.configure({props:[Bl.add({IfStatement:Tl({except:/^\s*({|else\b)/}),TryStatement:Tl({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:eX,SwitchBody:i=>{let e=i.textAfter,t=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return i.baseIndent+(t?0:n?1:2)*i.unit},Block:fs({closing:"}"}),ArrowFunction:i=>i.baseIndent+i.unit,"TemplateString BlockComment":()=>null,"Statement Property":Tl({except:/^{/}),JSXElement(i){let e=/^\s*<\//.test(i.textAfter);return i.lineIndent(i.node.from)+(e?0:i.unit)},JSXEscape(i){let e=/\s*\}/.test(i.textAfter);return i.lineIndent(i.node.from)+(e?0:i.unit)},"JSXOpenTag JSXSelfClosingTag"(i){return i.column(i.node.from)+i.unit}}),jl.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":mr,BlockComment(i){return{from:i.from+2,to:i.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),my={test:i=>/^JSX/.test(i.name),facet:TQ({commentTokens:{block:{open:"{/*",close:"*/}"}}})},Sy=Nr.configure({dialect:"ts"},"typescript"),by=Nr.configure({dialect:"jsx",props:[_d.add(i=>i.isTop?[my]:void 0)]}),$y=Nr.configure({dialect:"jsx ts",props:[_d.add(i=>i.isTop?[my]:void 0)]},"typescript"),iA="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(i=>({label:i,type:"keyword"}));function nA(i={}){let e=i.jsx?i.typescript?$y:by:i.typescript?Sy:Nr;return new oa(e,[Nr.data.of({autocomplete:pZ(gy,Yw(K9.concat(iA)))}),Nr.data.of({autocomplete:tA}),i.jsx?oA:[]])}function rA(i){for(;;){if(i.name=="JSXOpenTag"||i.name=="JSXSelfClosingTag"||i.name=="JSXFragmentTag")return i;if(i.name=="JSXEscape"||!i.parent)return null;i=i.parent}}function q0(i,e,t=i.length){for(let n=e==null?void 0:e.firstChild;n;n=n.nextSibling)if(n.name=="JSXIdentifier"||n.name=="JSXBuiltin"||n.name=="JSXNamespacedName"||n.name=="JSXMemberExpression")return i.sliceString(n.from,Math.min(n.to,t));return""}function sA(i){return i&&(i.name=="JSXEndTag"||i.name=="JSXSelfCloseEndTag")}const lA=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),oA=$e.inputHandler.of((i,e,t,n)=>{if((lA?i.composing:i.compositionStarted)||i.state.readOnly||e!=t||n!=">"&&n!="/"||!Nr.isActiveAt(i.state,e,-1))return!1;let{state:r}=i,s=r.changeByRange(l=>{var o;let{head:f}=l,u=ei(r).resolveInner(f,-1),h;if(u.name=="JSXStartTag"&&(u=u.parent),!(u.name=="JSXAttributeValue"&&u.to>f)){if(n==">"&&u.name=="JSXFragmentTag")return{range:K.cursor(f+1),changes:{from:f,insert:">"}};if(n=="/"&&u.name=="JSXFragmentTag"){let O=u.parent,p=O==null?void 0:O.parent;if(O.from==f-1&&((o=p.lastChild)===null||o===void 0?void 0:o.name)!="JSXEndTag"&&(h=q0(r.doc,p==null?void 0:p.firstChild,f))){let g=`/${h}>`;return{range:K.cursor(f+g.length),changes:{from:f,insert:g}}}}else if(n==">"){let O=rA(u);if(O&&!sA(O.lastChild)&&r.sliceDoc(f,f+2)!="`}}}}return{range:l}});return s.changes.empty?!1:(i.dispatch(s,{userEvent:"input.type",scrollIntoView:!0}),!0)}),ko=["_blank","_self","_top","_parent"],rO=["ascii","utf-8","utf-16","latin1","latin1"],sO=["get","post","put","delete"],lO=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],wn=["true","false"],We={},aA={a:{attrs:{href:null,ping:null,type:null,media:null,target:ko,hreflang:null}},abbr:We,address:We,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:We,aside:We,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:We,base:{attrs:{href:null,target:ko}},bdi:We,bdo:We,blockquote:{attrs:{cite:null}},body:We,br:We,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:lO,formmethod:sO,formnovalidate:["novalidate"],formtarget:ko,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:We,center:We,cite:We,code:We,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:We,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:We,div:We,dl:We,dt:We,em:We,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:We,figure:We,footer:We,form:{attrs:{action:null,name:null,"accept-charset":rO,autocomplete:["on","off"],enctype:lO,method:sO,novalidate:["novalidate"],target:ko}},h1:We,h2:We,h3:We,h4:We,h5:We,h6:We,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:We,hgroup:We,hr:We,html:{attrs:{manifest:null}},i:We,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:lO,formmethod:sO,formnovalidate:["novalidate"],formtarget:ko,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:We,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:We,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:We,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:rO,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:We,noscript:We,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:We,param:{attrs:{name:null,value:null}},pre:We,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:We,rt:We,ruby:We,samp:We,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:rO}},section:We,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:We,source:{attrs:{src:null,type:null,media:null}},span:We,strong:We,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:We,summary:We,sup:We,table:We,tbody:We,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:We,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:We,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:We,time:{attrs:{datetime:null}},title:We,tr:We,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:We,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:We},Qy={accesskey:null,class:null,contenteditable:wn,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:wn,autocorrect:wn,autocapitalize:wn,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":wn,"aria-autocomplete":["inline","list","both","none"],"aria-busy":wn,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":wn,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":wn,"aria-hidden":wn,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":wn,"aria-multiselectable":wn,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":wn,"aria-relevant":null,"aria-required":wn,"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},wy="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(i=>"on"+i);for(let i of wy)Qy[i]=null;class Ac{constructor(e,t){this.tags=Object.assign(Object.assign({},aA),e),this.globalAttrs=Object.assign(Object.assign({},Qy),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}Ac.default=new Ac;function zl(i,e,t=i.length){if(!e)return"";let n=e.firstChild,r=n&&n.getChild("TagName");return r?i.sliceString(r.from,Math.min(r.to,t)):""}function Il(i,e=!1){for(;i;i=i.parent)if(i.name=="Element")if(e)e=!1;else return i;return null}function yy(i,e,t){let n=t.tags[zl(i,Il(e))];return(n==null?void 0:n.children)||t.allTags}function jd(i,e){let t=[];for(let n=Il(e);n&&!n.type.isTop;n=Il(n.parent)){let r=zl(i,n);if(r&&n.lastChild.name=="CloseTag")break;r&&t.indexOf(r)<0&&(e.name=="EndTag"||e.from>=n.firstChild.to)&&t.push(r)}return t}const vy=/^[:\-\.\w\u00b7-\uffff]*$/;function E0(i,e,t,n,r){let s=/\s*>/.test(i.sliceDoc(r,r+5))?"":">",l=Il(t,!0);return{from:n,to:r,options:yy(i.doc,l,e).map(o=>({label:o,type:"type"})).concat(jd(i.doc,t).map((o,f)=>({label:"/"+o,apply:"/"+o+s,type:"type",boost:99-f}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function M0(i,e,t,n){let r=/\s*>/.test(i.sliceDoc(n,n+5))?"":">";return{from:t,to:n,options:jd(i.doc,e).map((s,l)=>({label:s,apply:s+r,type:"type",boost:99-l})),validFor:vy}}function fA(i,e,t,n){let r=[],s=0;for(let l of yy(i.doc,t,e))r.push({label:"<"+l,type:"type"});for(let l of jd(i.doc,t))r.push({label:"",type:"type",boost:99-s++});return{from:n,to:n,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function cA(i,e,t,n,r){let s=Il(t),l=s?e.tags[zl(i.doc,s)]:null,o=l&&l.attrs?Object.keys(l.attrs):[],f=l&&l.globalAttrs===!1?o:o.length?o.concat(e.globalAttrNames):e.globalAttrNames;return{from:n,to:r,options:f.map(u=>({label:u,type:"property"})),validFor:vy}}function uA(i,e,t,n,r){var s;let l=(s=t.parent)===null||s===void 0?void 0:s.getChild("AttributeName"),o=[],f;if(l){let u=i.sliceDoc(l.from,l.to),h=e.globalAttrs[u];if(!h){let O=Il(t),p=O?e.tags[zl(i.doc,O)]:null;h=(p==null?void 0:p.attrs)&&p.attrs[u]}if(h){let O=i.sliceDoc(n,r).toLowerCase(),p='"',g='"';/^['"]/.test(O)?(f=O[0]=='"'?/^[^"]*$/:/^[^']*$/,p="",g=i.sliceDoc(r,r+1)==O[0]?"":O[0],O=O.slice(1),n++):f=/^[^\s<>='"]*$/;for(let b of h)o.push({label:b,apply:p+b+g,type:"constant"})}}return{from:n,to:r,options:o,validFor:f}}function hA(i,e){let{state:t,pos:n}=e,r=ei(t).resolveInner(n,-1),s=r.resolve(n);for(let l=n,o;s==r&&(o=r.childBefore(l));){let f=o.lastChild;if(!f||!f.type.isError||f.fromhA(n,r)}const Py=[{tag:"script",attrs:i=>i.type=="text/typescript"||i.lang=="ts",parser:Sy.parser},{tag:"script",attrs:i=>i.type=="text/babel"||i.type=="text/jsx",parser:by.parser},{tag:"script",attrs:i=>i.type=="text/typescript-jsx",parser:$y.parser},{tag:"script",attrs(i){return!i.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(i.type)},parser:Nr.parser},{tag:"style",attrs(i){return(!i.lang||i.lang=="css")&&(!i.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(i.type))},parser:Rc.parser}],ky=[{name:"style",parser:Rc.parser.configure({top:"Styles"})}].concat(wy.map(i=>({name:i,parser:Nr.parser}))),_y=Ps.define({name:"html",parser:l9.configure({props:[Bl.add({Element(i){let e=/^(\s*)(<\/)?/.exec(i.textAfter);return i.node.to<=i.pos+e[0].length?i.continue():i.lineIndent(i.node.from)+(e[2]?0:i.unit)},"OpenTag CloseTag SelfClosingTag"(i){return i.column(i.node.from)+i.unit},Document(i){if(i.pos+/\s*/.exec(i.textAfter)[0].lengthi.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),Jf=_y.configure({wrap:fy(Py,ky)});function dA(i={}){let e="",t;i.matchClosingTags===!1&&(e="noMatch"),i.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(i.nestedLanguages&&i.nestedLanguages.length||i.nestedAttributes&&i.nestedAttributes.length)&&(t=fy((i.nestedLanguages||[]).concat(Py),(i.nestedAttributes||[]).concat(ky)));let n=t?_y.configure({wrap:t,dialect:e}):e?Jf.configure({dialect:e}):Jf;return new oa(n,[Jf.data.of({autocomplete:OA(i)}),i.autoCloseTags!==!1?pA:[],nA().support,T9().support])}const D0=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),pA=$e.inputHandler.of((i,e,t,n)=>{if(i.composing||i.state.readOnly||e!=t||n!=">"&&n!="/"||!Jf.isActiveAt(i.state,e,-1))return!1;let{state:r}=i,s=r.changeByRange(l=>{var o,f,u;let{head:h}=l,O=ei(r).resolveInner(h,-1),p;if((O.name=="TagName"||O.name=="StartTag")&&(O=O.parent),n==">"&&O.name=="OpenTag"){if(((f=(o=O.parent)===null||o===void 0?void 0:o.lastChild)===null||f===void 0?void 0:f.name)!="CloseTag"&&(p=zl(r.doc,O.parent,h))&&!D0.has(p)){let g=i.state.doc.sliceString(h,h+1)===">",b=`${g?"":">"}`;return{range:K.cursor(h+1),changes:{from:h+(g?1:0),insert:b}}}}else if(n=="/"&&O.name=="OpenTag"){let g=O.parent,b=g==null?void 0:g.parent;if(g.from==h-1&&((u=b.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(p=zl(r.doc,b,h))&&!D0.has(p)){let $=i.state.doc.sliceString(h,h+1)===">",Q=`/${p}${$?"":">"}`,W=h+Q.length+($?1:0);return{range:K.cursor(W),changes:{from:h,insert:Q}}}}return{range:l}});return s.changes.empty?!1:(i.dispatch(s,{userEvent:"input.type",scrollIntoView:!0}),!0)});var _o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function h6(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Uc={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 - */Uc.exports;(function(i,e){(function(){var t,n="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`",f="__lodash_hash_undefined__",u=500,h="__lodash_placeholder__",O=1,p=2,g=4,b=1,$=2,Q=1,W=2,x=4,Z=8,X=16,T=32,U=64,L=128,E=256,j=512,z=30,oe="...",pe=800,_e=16,we=1,Me=2,Oe=3,fe=1/0,Xe=9007199254740991,De=17976931348623157e292,mt=0/0,dt=4294967295,Lt=dt-1,ti=dt>>>1,Wt=[["ary",L],["bind",Q],["bindKey",W],["curry",Z],["curryRight",X],["flip",j],["partial",T],["partialRight",U],["rearg",E]],xt="[object Arguments]",Zt="[object Array]",Se="[object AsyncFunction]",te="[object Boolean]",H="[object Date]",ie="[object DOMException]",ae="[object Error]",He="[object Function]",Ke="[object GeneratorFunction]",lt="[object Map]",ht="[object Number]",Je="[object Null]",se="[object Object]",Qi="[object Promise]",Rt="[object Proxy]",ft="[object RegExp]",ze="[object Set]",St="[object String]",Ot="[object Symbol]",Ge="[object Undefined]",ct="[object WeakMap]",Qt="[object WeakSet]",ii="[object ArrayBuffer]",nt="[object DataView]",Wn="[object Float32Array]",ci="[object Float64Array]",Oi="[object Int8Array]",en="[object Int16Array]",xn="[object Int32Array]",ni="[object Uint8Array]",pt="[object Uint8ClampedArray]",fr="[object Uint16Array]",di="[object Uint32Array]",wi=/\b__p \+= '';/g,jr=/\b(__p \+=) '' \+/g,Ui=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Vt=/&(?:amp|lt|gt|quot|#39);/g,xr=/[&<>"']/g,ri=RegExp(Vt.source),Gr=RegExp(xr.source),Li=/<%-([\s\S]+?)%>/g,qt=/<%([\s\S]+?)%>/g,Et=/<%=([\s\S]+?)%>/g,Bt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vt=/^\w*$/,Yi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Mt=/[\\^$.*+?()[\]{}|]/g,Dt=RegExp(Mt.source),Ct=/^\s+/,jt=/\s/,Pt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,dn=/\{\n\/\* \[wrapped with (.+)\] \*/,ki=/,? & /,Fr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Hs=/[()=,{}\[\]\/\s]/,Ks=/\\(\\)?/g,N=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ce=/\w*$/,Hr=/^[-+]0x[0-9a-f]+$/i,Cr=/^0b[01]+$/i,xs=/^\[object .+?Constructor\]$/,Xr=/^0o[0-7]+$/i,Js=/^(?:0|[1-9]\d*)$/,Vi=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,tn=/($^)/,Cn=/['\n\r\u2028\u2029\\]/g,Gn="\\ud800-\\udfff",eu="\\u0300-\\u036f",tu="\\ufe20-\\ufe2f",iu="\\u20d0-\\u20ff",ha=eu+tu+iu,Oa="\\u2700-\\u27bf",da="a-z\\xdf-\\xf6\\xf8-\\xff",nu="\\xac\\xb1\\xd7\\xf7",ru="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",su="\\u2000-\\u206f",lu=" \\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",pa="A-Z\\xc0-\\xd6\\xd8-\\xde",ga="\\ufe0e\\ufe0f",ma=nu+ru+su+lu,Hl="['’]",ou="["+Gn+"]",Sa="["+ma+"]",el="["+ha+"]",ba="\\d+",au="["+Oa+"]",$a="["+da+"]",Qa="[^"+Gn+ma+ba+Oa+da+pa+"]",Kl="\\ud83c[\\udffb-\\udfff]",fu="(?:"+el+"|"+Kl+")",wa="[^"+Gn+"]",Jl="(?:\\ud83c[\\udde6-\\uddff]){2}",eo="[\\ud800-\\udbff][\\udc00-\\udfff]",Kr="["+pa+"]",ya="\\u200d",va="(?:"+$a+"|"+Qa+")",cu="(?:"+Kr+"|"+Qa+")",Pa="(?:"+Hl+"(?:d|ll|m|re|s|t|ve))?",ka="(?:"+Hl+"(?:D|LL|M|RE|S|T|VE))?",_a=fu+"?",Wa="["+ga+"]?",uu="(?:"+ya+"(?:"+[wa,Jl,eo].join("|")+")"+Wa+_a+")*",hu="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ou="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xa=Wa+_a+uu,du="(?:"+[au,Jl,eo].join("|")+")"+xa,pu="(?:"+[wa+el+"?",el,Jl,eo,ou].join("|")+")",gu=RegExp(Hl,"g"),mu=RegExp(el,"g"),to=RegExp(Kl+"(?="+Kl+")|"+pu+xa,"g"),Su=RegExp([Kr+"?"+$a+"+"+Pa+"(?="+[Sa,Kr,"$"].join("|")+")",cu+"+"+ka+"(?="+[Sa,Kr+va,"$"].join("|")+")",Kr+"?"+va+"+"+Pa,Kr+"+"+ka,Ou,hu,ba,du].join("|"),"g"),A=RegExp("["+ya+Gn+ha+ga+"]"),ue=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,me=["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"],Te=-1,ge={};ge[Wn]=ge[ci]=ge[Oi]=ge[en]=ge[xn]=ge[ni]=ge[pt]=ge[fr]=ge[di]=!0,ge[xt]=ge[Zt]=ge[ii]=ge[te]=ge[nt]=ge[H]=ge[ae]=ge[He]=ge[lt]=ge[ht]=ge[se]=ge[ft]=ge[ze]=ge[St]=ge[ct]=!1;var Qe={};Qe[xt]=Qe[Zt]=Qe[ii]=Qe[nt]=Qe[te]=Qe[H]=Qe[Wn]=Qe[ci]=Qe[Oi]=Qe[en]=Qe[xn]=Qe[lt]=Qe[ht]=Qe[se]=Qe[ft]=Qe[ze]=Qe[St]=Qe[Ot]=Qe[ni]=Qe[pt]=Qe[fr]=Qe[di]=!0,Qe[ae]=Qe[He]=Qe[ct]=!1;var rt={À:"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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i=Fd||Ay||Function("return this")(),$u=e&&!e.nodeType&&e,Cs=$u&&!0&&i&&!i.nodeType&&i,Hd=Cs&&Cs.exports===$u,Qu=Hd&&Fd.process,Xn=function(){try{var q=Cs&&Cs.require&&Cs.require("util").types;return q||Qu&&Qu.binding&&Qu.binding("util")}catch{}}(),Kd=Xn&&Xn.isArrayBuffer,Jd=Xn&&Xn.isDate,ep=Xn&&Xn.isMap,tp=Xn&&Xn.isRegExp,ip=Xn&&Xn.isSet,np=Xn&&Xn.isTypedArray;function pn(q,F,B){switch(B.length){case 0:return q.call(F);case 1:return q.call(F,B[0]);case 2:return q.call(F,B[0],B[1]);case 3:return q.call(F,B[0],B[1],B[2])}return q.apply(F,B)}function Uy(q,F,B,ye){for(var Ee=-1,bt=q==null?0:q.length;++Ee-1}function wu(q,F,B){for(var ye=-1,Ee=q==null?0:q.length;++ye-1;);return B}function up(q,F){for(var B=q.length;B--&&tl(F,q[B],0)>-1;);return B}function Ny(q,F){for(var B=q.length,ye=0;B--;)q[B]===F&&++ye;return ye}var Ly=ku(rt),By=ku(nn);function jy(q){return"\\"+bu[q]}function Gy(q,F){return q==null?t:q[F]}function il(q){return A.test(q)}function Fy(q){return ue.test(q)}function Hy(q){for(var F,B=[];!(F=q.next()).done;)B.push(F.value);return B}function Cu(q){var F=-1,B=Array(q.size);return q.forEach(function(ye,Ee){B[++F]=[Ee,ye]}),B}function hp(q,F){return function(B){return q(F(B))}}function ts(q,F){for(var B=-1,ye=q.length,Ee=0,bt=[];++B-1}function Vv(a,c){var d=this.__data__,m=Ba(d,a);return m<0?(++this.size,d.push([a,c])):d[m][1]=c,this}Tr.prototype.clear=Rv,Tr.prototype.delete=Av,Tr.prototype.get=Uv,Tr.prototype.has=Yv,Tr.prototype.set=Vv;function Zr(a){var c=-1,d=a==null?0:a.length;for(this.clear();++c=c?a:c)),a}function An(a,c,d,m,w,_){var C,R=c&O,M=c&p,J=c&g;if(d&&(C=w?d(a,m,w,_):d(a)),C!==t)return C;if(!Gt(a))return a;var ee=Ie(a);if(ee){if(C=D2(a),!R)return rn(a,C)}else{var ne=Ei(a),de=ne==He||ne==Ke;if(os(a))return jp(a,R);if(ne==se||ne==xt||de&&!w){if(C=M||de?{}:Og(a),!R)return M?X2(a,e2(C,a)):C2(a,vp(C,a))}else{if(!Qe[ne])return w?a:{};C=z2(a,ne,R)}}_||(_=new Hn);var ke=_.get(a);if(ke)return ke;_.set(a,C),Dg(a)?a.forEach(function(Ae){C.add(An(Ae,c,d,Ae,a,_))}):Eg(a)&&a.forEach(function(Ae,st){C.set(st,An(Ae,c,d,st,a,_))});var Re=J?M?ih:th:M?ln:yi,Be=ee?t:Re(a);return Tn(Be||a,function(Ae,st){Be&&(st=Ae,Ae=a[st]),ao(C,st,An(Ae,c,d,st,a,_))}),C}function t2(a){var c=yi(a);return function(d){return Pp(d,a,c)}}function Pp(a,c,d){var m=d.length;if(a==null)return!m;for(a=kt(a);m--;){var w=d[m],_=c[w],C=a[w];if(C===t&&!(w in a)||!_(C))return!1}return!0}function kp(a,c,d){if(typeof a!="function")throw new Zn(l);return go(function(){a.apply(t,d)},c)}function fo(a,c,d,m){var w=-1,_=Ca,C=!0,R=a.length,M=[],J=c.length;if(!R)return M;d&&(c=zt(c,gn(d))),m?(_=wu,C=!1):c.length>=r&&(_=io,C=!1,c=new Zs(c));e:for(;++ww?0:w+d),m=m===t||m>w?w:Ne(m),m<0&&(m+=w),m=d>m?0:Ig(m);d0&&d(R)?c>1?Wi(R,c-1,d,m,w):es(w,R):m||(w[w.length]=R)}return w}var Yu=eg(),xp=eg(!0);function cr(a,c){return a&&Yu(a,c,yi)}function Vu(a,c){return a&&xp(a,c,yi)}function Ga(a,c){return Jr(c,function(d){return Vr(a[d])})}function As(a,c){c=ss(c,a);for(var d=0,m=c.length;a!=null&&dc}function r2(a,c){return a!=null&&wt.call(a,c)}function s2(a,c){return a!=null&&c in kt(a)}function l2(a,c,d){return a>=qi(c,d)&&a=120&&ee.length>=120)?new Zs(C&&ee):t}ee=a[0];var ne=-1,de=R[0];e:for(;++ne-1;)R!==a&&Ea.call(R,M,1),Ea.call(a,M,1);return a}function Ep(a,c){for(var d=a?c.length:0,m=d-1;d--;){var w=c[d];if(d==m||w!==_){var _=w;Yr(w)?Ea.call(a,w,1):ju(a,w)}}return a}function Nu(a,c){return a+za($p()*(c-a+1))}function b2(a,c,d,m){for(var w=-1,_=gi(Da((c-a)/(d||1)),0),C=B(_);_--;)C[m?_:++w]=a,a+=d;return C}function Lu(a,c){var d="";if(!a||c<1||c>Xe)return d;do c%2&&(d+=a),c=za(c/2),c&&(a+=a);while(c);return d}function Fe(a,c){return fh(gg(a,c,on),a+"")}function $2(a){return yp(Ol(a))}function Q2(a,c){var d=Ol(a);return of(d,Rs(c,0,d.length))}function ho(a,c,d,m){if(!Gt(a))return a;c=ss(c,a);for(var w=-1,_=c.length,C=_-1,R=a;R!=null&&++w<_;){var M=hr(c[w]),J=d;if(M==="__proto__"||M==="constructor"||M==="prototype")return a;if(w!=C){var ee=R[M];J=m?m(ee,M,R):t,J===t&&(J=Gt(ee)?ee:Yr(c[w+1])?[]:{})}ao(R,M,J),R=R[M]}return a}var Mp=Ia?function(a,c){return Ia.set(a,c),a}:on,w2=Ma?function(a,c){return Ma(a,"toString",{configurable:!0,enumerable:!1,value:bh(c),writable:!0})}:on;function y2(a){return of(Ol(a))}function Un(a,c,d){var m=-1,w=a.length;c<0&&(c=-c>w?0:w+c),d=d>w?w:d,d<0&&(d+=w),w=c>d?0:d-c>>>0,c>>>=0;for(var _=B(w);++m>>1,C=a[_];C!==null&&!Sn(C)&&(d?C<=c:C=r){var J=c?null:A2(a);if(J)return Ta(J);C=!1,w=io,M=new Zs}else M=c?[]:R;e:for(;++m<_;){var ee=a[m],ne=c?c(ee):ee;if(ee=d||ee!==0?ee:0,C&&ne===ne){for(var de=M.length;de--;)if(M[de]===ne)continue e;c&&M.push(ne),R.push(ee)}else w(M,ne,d)||(M!==R&&M.push(ne),R.push(ee))}return R}function ju(a,c){return c=ss(c,a),a=mg(a,c),a==null||delete a[hr(Yn(c))]}function Ip(a,c,d,m){return ho(a,c,d(As(a,c)),m)}function Ka(a,c,d,m){for(var w=a.length,_=m?w:-1;(m?_--:++_=m?a:Un(a,c,d)}var Bp=hv||function(a){return _i.clearTimeout(a)};function jp(a,c){if(c)return a.slice();var d=a.length,m=pp?pp(d):new a.constructor(d);return a.copy(m),m}function Ku(a){var c=new a.constructor(a.byteLength);return new Va(c).set(new Va(a)),c}function k2(a,c){var d=c?Ku(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function _2(a){var c=new a.constructor(a.source,ce.exec(a));return c.lastIndex=a.lastIndex,c}function W2(a){return oo?kt(oo.call(a)):{}}function Gp(a,c){var d=c?Ku(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function Fp(a,c){if(a!==c){var d=a!==t,m=a===null,w=a===a,_=Sn(a),C=c!==t,R=c===null,M=c===c,J=Sn(c);if(!R&&!J&&!_&&a>c||_&&C&&M&&!R&&!J||m&&C&&M||!d&&M||!w)return 1;if(!m&&!_&&!J&&a=R)return M;var J=d[m];return M*(J=="desc"?-1:1)}}return a.index-c.index}function Hp(a,c,d,m){for(var w=-1,_=a.length,C=d.length,R=-1,M=c.length,J=gi(_-C,0),ee=B(M+J),ne=!m;++R1?d[w-1]:t,C=w>2?d[2]:t;for(_=a.length>3&&typeof _=="function"?(w--,_):t,C&&ji(d[0],d[1],C)&&(_=w<3?t:_,w=1),c=kt(c);++m-1?w[_?c[C]:C]:t}}function ng(a){return Ur(function(c){var d=c.length,m=d,w=Rn.prototype.thru;for(a&&c.reverse();m--;){var _=c[m];if(typeof _!="function")throw new Zn(l);if(w&&!C&&sf(_)=="wrapper")var C=new Rn([],!0)}for(m=C?m:d;++m1&&ut.reverse(),ee&&MR))return!1;var J=_.get(a),ee=_.get(c);if(J&&ee)return J==c&&ee==a;var ne=-1,de=!0,ke=d&$?new Zs:t;for(_.set(a,c),_.set(c,a);++ne1?"& ":"")+c[m],c=c.join(d>2?", ":" "),a.replace(Pt,`{ -/* [wrapped with `+c+`] */ -`)}function N2(a){return Ie(a)||Vs(a)||!!(Sp&&a&&a[Sp])}function Yr(a,c){var d=typeof a;return c=c??Xe,!!c&&(d=="number"||d!="symbol"&&Js.test(a))&&a>-1&&a%1==0&&a0){if(++c>=pe)return arguments[0]}else c=0;return a.apply(t,arguments)}}function of(a,c){var d=-1,m=a.length,w=m-1;for(c=c===t?m:c;++d1?a[c-1]:t;return d=typeof d=="function"?(a.pop(),d):t,Wg(a,d)});function xg(a){var c=P(a);return c.__chain__=!0,c}function ik(a,c){return c(a),a}function af(a,c){return c(a)}var nk=Ur(function(a){var c=a.length,d=c?a[0]:0,m=this.__wrapped__,w=function(_){return Uu(_,a)};return c>1||this.__actions__.length||!(m instanceof ot)||!Yr(d)?this.thru(w):(m=m.slice(d,+d+(c?1:0)),m.__actions__.push({func:af,args:[w],thisArg:t}),new Rn(m,this.__chain__).thru(function(_){return c&&!_.length&&_.push(t),_}))});function rk(){return xg(this)}function sk(){return new Rn(this.value(),this.__chain__)}function lk(){this.__values__===t&&(this.__values__=zg(this.value()));var a=this.__index__>=this.__values__.length,c=a?t:this.__values__[this.__index__++];return{done:a,value:c}}function ok(){return this}function ak(a){for(var c,d=this;d instanceof La;){var m=wg(d);m.__index__=0,m.__values__=t,c?w.__wrapped__=m:c=m;var w=m;d=d.__wrapped__}return w.__wrapped__=a,c}function fk(){var a=this.__wrapped__;if(a instanceof ot){var c=a;return this.__actions__.length&&(c=new ot(this)),c=c.reverse(),c.__actions__.push({func:af,args:[ch],thisArg:t}),new Rn(c,this.__chain__)}return this.thru(ch)}function ck(){return Np(this.__wrapped__,this.__actions__)}var uk=Ja(function(a,c,d){wt.call(a,d)?++a[d]:Rr(a,d,1)});function hk(a,c,d){var m=Ie(a)?rp:i2;return d&&ji(a,c,d)&&(c=t),m(a,Ze(c,3))}function Ok(a,c){var d=Ie(a)?Jr:Wp;return d(a,Ze(c,3))}var dk=ig(yg),pk=ig(vg);function gk(a,c){return Wi(ff(a,c),1)}function mk(a,c){return Wi(ff(a,c),fe)}function Sk(a,c,d){return d=d===t?1:Ne(d),Wi(ff(a,c),d)}function Cg(a,c){var d=Ie(a)?Tn:ns;return d(a,Ze(c,3))}function Xg(a,c){var d=Ie(a)?Yy:_p;return d(a,Ze(c,3))}var bk=Ja(function(a,c,d){wt.call(a,d)?a[d].push(c):Rr(a,d,[c])});function $k(a,c,d,m){a=sn(a)?a:Ol(a),d=d&&!m?Ne(d):0;var w=a.length;return d<0&&(d=gi(w+d,0)),df(a)?d<=w&&a.indexOf(c,d)>-1:!!w&&tl(a,c,d)>-1}var Qk=Fe(function(a,c,d){var m=-1,w=typeof c=="function",_=sn(a)?B(a.length):[];return ns(a,function(C){_[++m]=w?pn(c,C,d):co(C,c,d)}),_}),wk=Ja(function(a,c,d){Rr(a,d,c)});function ff(a,c){var d=Ie(a)?zt:Rp;return d(a,Ze(c,3))}function yk(a,c,d,m){return a==null?[]:(Ie(c)||(c=c==null?[]:[c]),d=m?t:d,Ie(d)||(d=d==null?[]:[d]),Vp(a,c,d))}var vk=Ja(function(a,c,d){a[d?0:1].push(c)},function(){return[[],[]]});function Pk(a,c,d){var m=Ie(a)?yu:ap,w=arguments.length<3;return m(a,Ze(c,4),d,w,ns)}function kk(a,c,d){var m=Ie(a)?Vy:ap,w=arguments.length<3;return m(a,Ze(c,4),d,w,_p)}function _k(a,c){var d=Ie(a)?Jr:Wp;return d(a,hf(Ze(c,3)))}function Wk(a){var c=Ie(a)?yp:$2;return c(a)}function xk(a,c,d){(d?ji(a,c,d):c===t)?c=1:c=Ne(c);var m=Ie(a)?Hv:Q2;return m(a,c)}function Ck(a){var c=Ie(a)?Kv:y2;return c(a)}function Xk(a){if(a==null)return 0;if(sn(a))return df(a)?nl(a):a.length;var c=Ei(a);return c==lt||c==ze?a.size:Du(a).length}function Tk(a,c,d){var m=Ie(a)?vu:v2;return d&&ji(a,c,d)&&(c=t),m(a,Ze(c,3))}var Zk=Fe(function(a,c){if(a==null)return[];var d=c.length;return d>1&&ji(a,c[0],c[1])?c=[]:d>2&&ji(c[0],c[1],c[2])&&(c=[c[0]]),Vp(a,Wi(c,1),[])}),cf=Ov||function(){return _i.Date.now()};function Rk(a,c){if(typeof c!="function")throw new Zn(l);return a=Ne(a),function(){if(--a<1)return c.apply(this,arguments)}}function Tg(a,c,d){return c=d?t:c,c=a&&c==null?a.length:c,Ar(a,L,t,t,t,t,c)}function Zg(a,c){var d;if(typeof c!="function")throw new Zn(l);return a=Ne(a),function(){return--a>0&&(d=c.apply(this,arguments)),a<=1&&(c=t),d}}var hh=Fe(function(a,c,d){var m=Q;if(d.length){var w=ts(d,ul(hh));m|=T}return Ar(a,m,c,d,w)}),Rg=Fe(function(a,c,d){var m=Q|W;if(d.length){var w=ts(d,ul(Rg));m|=T}return Ar(c,m,a,d,w)});function Ag(a,c,d){c=d?t:c;var m=Ar(a,Z,t,t,t,t,t,c);return m.placeholder=Ag.placeholder,m}function Ug(a,c,d){c=d?t:c;var m=Ar(a,X,t,t,t,t,t,c);return m.placeholder=Ug.placeholder,m}function Yg(a,c,d){var m,w,_,C,R,M,J=0,ee=!1,ne=!1,de=!0;if(typeof a!="function")throw new Zn(l);c=Vn(c)||0,Gt(d)&&(ee=!!d.leading,ne="maxWait"in d,_=ne?gi(Vn(d.maxWait)||0,c):_,de="trailing"in d?!!d.trailing:de);function ke(oi){var Jn=m,Er=w;return m=w=t,J=oi,C=a.apply(Er,Jn),C}function Re(oi){return J=oi,R=go(st,c),ee?ke(oi):C}function Be(oi){var Jn=oi-M,Er=oi-J,im=c-Jn;return ne?qi(im,_-Er):im}function Ae(oi){var Jn=oi-M,Er=oi-J;return M===t||Jn>=c||Jn<0||ne&&Er>=_}function st(){var oi=cf();if(Ae(oi))return ut(oi);R=go(st,Be(oi))}function ut(oi){return R=t,de&&m?ke(oi):(m=w=t,C)}function bn(){R!==t&&Bp(R),J=0,m=M=w=R=t}function Gi(){return R===t?C:ut(cf())}function $n(){var oi=cf(),Jn=Ae(oi);if(m=arguments,w=this,M=oi,Jn){if(R===t)return Re(M);if(ne)return Bp(R),R=go(st,c),ke(M)}return R===t&&(R=go(st,c)),C}return $n.cancel=bn,$n.flush=Gi,$n}var Ak=Fe(function(a,c){return kp(a,1,c)}),Uk=Fe(function(a,c,d){return kp(a,Vn(c)||0,d)});function Yk(a){return Ar(a,j)}function uf(a,c){if(typeof a!="function"||c!=null&&typeof c!="function")throw new Zn(l);var d=function(){var m=arguments,w=c?c.apply(this,m):m[0],_=d.cache;if(_.has(w))return _.get(w);var C=a.apply(this,m);return d.cache=_.set(w,C)||_,C};return d.cache=new(uf.Cache||Zr),d}uf.Cache=Zr;function hf(a){if(typeof a!="function")throw new Zn(l);return function(){var c=arguments;switch(c.length){case 0:return!a.call(this);case 1:return!a.call(this,c[0]);case 2:return!a.call(this,c[0],c[1]);case 3:return!a.call(this,c[0],c[1],c[2])}return!a.apply(this,c)}}function Vk(a){return Zg(2,a)}var qk=P2(function(a,c){c=c.length==1&&Ie(c[0])?zt(c[0],gn(Ze())):zt(Wi(c,1),gn(Ze()));var d=c.length;return Fe(function(m){for(var w=-1,_=qi(m.length,d);++w<_;)m[w]=c[w].call(this,m[w]);return pn(a,this,m)})}),Oh=Fe(function(a,c){var d=ts(c,ul(Oh));return Ar(a,T,t,c,d)}),Vg=Fe(function(a,c){var d=ts(c,ul(Vg));return Ar(a,U,t,c,d)}),Ek=Ur(function(a,c){return Ar(a,E,t,t,t,c)});function Mk(a,c){if(typeof a!="function")throw new Zn(l);return c=c===t?c:Ne(c),Fe(a,c)}function Dk(a,c){if(typeof a!="function")throw new Zn(l);return c=c==null?0:gi(Ne(c),0),Fe(function(d){var m=d[c],w=ls(d,0,c);return m&&es(w,m),pn(a,this,w)})}function zk(a,c,d){var m=!0,w=!0;if(typeof a!="function")throw new Zn(l);return Gt(d)&&(m="leading"in d?!!d.leading:m,w="trailing"in d?!!d.trailing:w),Yg(a,c,{leading:m,maxWait:c,trailing:w})}function Ik(a){return Tg(a,1)}function Nk(a,c){return Oh(Hu(c),a)}function Lk(){if(!arguments.length)return[];var a=arguments[0];return Ie(a)?a:[a]}function Bk(a){return An(a,g)}function jk(a,c){return c=typeof c=="function"?c:t,An(a,g,c)}function Gk(a){return An(a,O|g)}function Fk(a,c){return c=typeof c=="function"?c:t,An(a,O|g,c)}function Hk(a,c){return c==null||Pp(a,c,yi(c))}function Kn(a,c){return a===c||a!==a&&c!==c}var Kk=rf(qu),Jk=rf(function(a,c){return a>=c}),Vs=Xp(function(){return arguments}())?Xp:function(a){return Jt(a)&&wt.call(a,"callee")&&!mp.call(a,"callee")},Ie=B.isArray,e_=Kd?gn(Kd):a2;function sn(a){return a!=null&&Of(a.length)&&!Vr(a)}function li(a){return Jt(a)&&sn(a)}function t_(a){return a===!0||a===!1||Jt(a)&&Bi(a)==te}var os=pv||vh,i_=Jd?gn(Jd):f2;function n_(a){return Jt(a)&&a.nodeType===1&&!mo(a)}function r_(a){if(a==null)return!0;if(sn(a)&&(Ie(a)||typeof a=="string"||typeof a.splice=="function"||os(a)||hl(a)||Vs(a)))return!a.length;var c=Ei(a);if(c==lt||c==ze)return!a.size;if(po(a))return!Du(a).length;for(var d in a)if(wt.call(a,d))return!1;return!0}function s_(a,c){return uo(a,c)}function l_(a,c,d){d=typeof d=="function"?d:t;var m=d?d(a,c):t;return m===t?uo(a,c,t,d):!!m}function dh(a){if(!Jt(a))return!1;var c=Bi(a);return c==ae||c==ie||typeof a.message=="string"&&typeof a.name=="string"&&!mo(a)}function o_(a){return typeof a=="number"&&bp(a)}function Vr(a){if(!Gt(a))return!1;var c=Bi(a);return c==He||c==Ke||c==Se||c==Rt}function qg(a){return typeof a=="number"&&a==Ne(a)}function Of(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=Xe}function Gt(a){var c=typeof a;return a!=null&&(c=="object"||c=="function")}function Jt(a){return a!=null&&typeof a=="object"}var Eg=ep?gn(ep):u2;function a_(a,c){return a===c||Mu(a,c,rh(c))}function f_(a,c,d){return d=typeof d=="function"?d:t,Mu(a,c,rh(c),d)}function c_(a){return Mg(a)&&a!=+a}function u_(a){if(j2(a))throw new Ee(s);return Tp(a)}function h_(a){return a===null}function O_(a){return a==null}function Mg(a){return typeof a=="number"||Jt(a)&&Bi(a)==ht}function mo(a){if(!Jt(a)||Bi(a)!=se)return!1;var c=qa(a);if(c===null)return!0;var d=wt.call(c,"constructor")&&c.constructor;return typeof d=="function"&&d instanceof d&&Aa.call(d)==fv}var ph=tp?gn(tp):h2;function d_(a){return qg(a)&&a>=-Xe&&a<=Xe}var Dg=ip?gn(ip):O2;function df(a){return typeof a=="string"||!Ie(a)&&Jt(a)&&Bi(a)==St}function Sn(a){return typeof a=="symbol"||Jt(a)&&Bi(a)==Ot}var hl=np?gn(np):d2;function p_(a){return a===t}function g_(a){return Jt(a)&&Ei(a)==ct}function m_(a){return Jt(a)&&Bi(a)==Qt}var S_=rf(zu),b_=rf(function(a,c){return a<=c});function zg(a){if(!a)return[];if(sn(a))return df(a)?Fn(a):rn(a);if(no&&a[no])return Hy(a[no]());var c=Ei(a),d=c==lt?Cu:c==ze?Ta:Ol;return d(a)}function qr(a){if(!a)return a===0?a:0;if(a=Vn(a),a===fe||a===-fe){var c=a<0?-1:1;return c*De}return a===a?a:0}function Ne(a){var c=qr(a),d=c%1;return c===c?d?c-d:c:0}function Ig(a){return a?Rs(Ne(a),0,dt):0}function Vn(a){if(typeof a=="number")return a;if(Sn(a))return mt;if(Gt(a)){var c=typeof a.valueOf=="function"?a.valueOf():a;a=Gt(c)?c+"":c}if(typeof a!="string")return a===0?a:+a;a=fp(a);var d=Cr.test(a);return d||Xr.test(a)?Ry(a.slice(2),d?2:8):Hr.test(a)?mt:+a}function Ng(a){return ur(a,ln(a))}function $_(a){return a?Rs(Ne(a),-Xe,Xe):a===0?a:0}function $t(a){return a==null?"":mn(a)}var Q_=fl(function(a,c){if(po(c)||sn(c)){ur(c,yi(c),a);return}for(var d in c)wt.call(c,d)&&ao(a,d,c[d])}),Lg=fl(function(a,c){ur(c,ln(c),a)}),pf=fl(function(a,c,d,m){ur(c,ln(c),a,m)}),w_=fl(function(a,c,d,m){ur(c,yi(c),a,m)}),y_=Ur(Uu);function v_(a,c){var d=al(a);return c==null?d:vp(d,c)}var P_=Fe(function(a,c){a=kt(a);var d=-1,m=c.length,w=m>2?c[2]:t;for(w&&ji(c[0],c[1],w)&&(m=1);++d1),_}),ur(a,ih(a),d),m&&(d=An(d,O|p|g,U2));for(var w=c.length;w--;)ju(d,c[w]);return d});function z_(a,c){return jg(a,hf(Ze(c)))}var I_=Ur(function(a,c){return a==null?{}:m2(a,c)});function jg(a,c){if(a==null)return{};var d=zt(ih(a),function(m){return[m]});return c=Ze(c),qp(a,d,function(m,w){return c(m,w[0])})}function N_(a,c,d){c=ss(c,a);var m=-1,w=c.length;for(w||(w=1,a=t);++mc){var m=a;a=c,c=m}if(d||a%1||c%1){var w=$p();return qi(a+w*(c-a+Zy("1e-"+((w+"").length-1))),c)}return Nu(a,c)}var iW=cl(function(a,c,d){return c=c.toLowerCase(),a+(d?Hg(c):c)});function Hg(a){return Sh($t(a).toLowerCase())}function Kg(a){return a=$t(a),a&&a.replace(Vi,Ly).replace(mu,"")}function nW(a,c,d){a=$t(a),c=mn(c);var m=a.length;d=d===t?m:Rs(Ne(d),0,m);var w=d;return d-=c.length,d>=0&&a.slice(d,w)==c}function rW(a){return a=$t(a),a&&Gr.test(a)?a.replace(xr,By):a}function sW(a){return a=$t(a),a&&Dt.test(a)?a.replace(Mt,"\\$&"):a}var lW=cl(function(a,c,d){return a+(d?"-":"")+c.toLowerCase()}),oW=cl(function(a,c,d){return a+(d?" ":"")+c.toLowerCase()}),aW=tg("toLowerCase");function fW(a,c,d){a=$t(a),c=Ne(c);var m=c?nl(a):0;if(!c||m>=c)return a;var w=(c-m)/2;return nf(za(w),d)+a+nf(Da(w),d)}function cW(a,c,d){a=$t(a),c=Ne(c);var m=c?nl(a):0;return c&&m>>0,d?(a=$t(a),a&&(typeof c=="string"||c!=null&&!ph(c))&&(c=mn(c),!c&&il(a))?ls(Fn(a),0,d):a.split(c,d)):[]}var mW=cl(function(a,c,d){return a+(d?" ":"")+Sh(c)});function SW(a,c,d){return a=$t(a),d=d==null?0:Rs(Ne(d),0,a.length),c=mn(c),a.slice(d,d+c.length)==c}function bW(a,c,d){var m=P.templateSettings;d&&ji(a,c,d)&&(c=t),a=$t(a),c=pf({},c,m,ag);var w=pf({},c.imports,m.imports,ag),_=yi(w),C=xu(w,_),R,M,J=0,ee=c.interpolate||tn,ne="__p += '",de=Xu((c.escape||tn).source+"|"+ee.source+"|"+(ee===Et?N:tn).source+"|"+(c.evaluate||tn).source+"|$","g"),ke="//# sourceURL="+(wt.call(c,"sourceURL")?(c.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Te+"]")+` -`;a.replace(de,function(Ae,st,ut,bn,Gi,$n){return ut||(ut=bn),ne+=a.slice(J,$n).replace(Cn,jy),st&&(R=!0,ne+=`' + -__e(`+st+`) + -'`),Gi&&(M=!0,ne+=`'; -`+Gi+`; -__p += '`),ut&&(ne+=`' + -((__t = (`+ut+`)) == null ? '' : __t) + -'`),J=$n+Ae.length,Ae}),ne+=`'; -`;var Re=wt.call(c,"variable")&&c.variable;if(!Re)ne=`with (obj) { -`+ne+` -} -`;else if(Hs.test(Re))throw new Ee(o);ne=(M?ne.replace(wi,""):ne).replace(jr,"$1").replace(Ui,"$1;"),ne="function("+(Re||"obj")+`) { -`+(Re?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(R?", __e = _.escape":"")+(M?`, __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -`:`; -`)+ne+`return __p -}`;var Be=em(function(){return bt(_,ke+"return "+ne).apply(t,C)});if(Be.source=ne,dh(Be))throw Be;return Be}function $W(a){return $t(a).toLowerCase()}function QW(a){return $t(a).toUpperCase()}function wW(a,c,d){if(a=$t(a),a&&(d||c===t))return fp(a);if(!a||!(c=mn(c)))return a;var m=Fn(a),w=Fn(c),_=cp(m,w),C=up(m,w)+1;return ls(m,_,C).join("")}function yW(a,c,d){if(a=$t(a),a&&(d||c===t))return a.slice(0,Op(a)+1);if(!a||!(c=mn(c)))return a;var m=Fn(a),w=up(m,Fn(c))+1;return ls(m,0,w).join("")}function vW(a,c,d){if(a=$t(a),a&&(d||c===t))return a.replace(Ct,"");if(!a||!(c=mn(c)))return a;var m=Fn(a),w=cp(m,Fn(c));return ls(m,w).join("")}function PW(a,c){var d=z,m=oe;if(Gt(c)){var w="separator"in c?c.separator:w;d="length"in c?Ne(c.length):d,m="omission"in c?mn(c.omission):m}a=$t(a);var _=a.length;if(il(a)){var C=Fn(a);_=C.length}if(d>=_)return a;var R=d-nl(m);if(R<1)return m;var M=C?ls(C,0,R).join(""):a.slice(0,R);if(w===t)return M+m;if(C&&(R+=M.length-R),ph(w)){if(a.slice(R).search(w)){var J,ee=M;for(w.global||(w=Xu(w.source,$t(ce.exec(w))+"g")),w.lastIndex=0;J=w.exec(ee);)var ne=J.index;M=M.slice(0,ne===t?R:ne)}}else if(a.indexOf(mn(w),R)!=R){var de=M.lastIndexOf(w);de>-1&&(M=M.slice(0,de))}return M+m}function kW(a){return a=$t(a),a&&ri.test(a)?a.replace(Vt,tv):a}var _W=cl(function(a,c,d){return a+(d?" ":"")+c.toUpperCase()}),Sh=tg("toUpperCase");function Jg(a,c,d){return a=$t(a),c=d?t:c,c===t?Fy(a)?rv(a):My(a):a.match(c)||[]}var em=Fe(function(a,c){try{return pn(a,t,c)}catch(d){return dh(d)?d:new Ee(d)}}),WW=Ur(function(a,c){return Tn(c,function(d){d=hr(d),Rr(a,d,hh(a[d],a))}),a});function xW(a){var c=a==null?0:a.length,d=Ze();return a=c?zt(a,function(m){if(typeof m[1]!="function")throw new Zn(l);return[d(m[0]),m[1]]}):[],Fe(function(m){for(var w=-1;++wXe)return[];var d=dt,m=qi(a,dt);c=Ze(c),a-=dt;for(var w=Wu(m,c);++d0||c<0)?new ot(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),c!==t&&(c=Ne(c),d=c<0?d.dropRight(-c):d.take(c-a)),d)},ot.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},ot.prototype.toArray=function(){return this.take(dt)},cr(ot.prototype,function(a,c){var d=/^(?:filter|find|map|reject)|While$/.test(c),m=/^(?:head|last)$/.test(c),w=P[m?"take"+(c=="last"?"Right":""):c],_=m||/^find/.test(c);w&&(P.prototype[c]=function(){var C=this.__wrapped__,R=m?[1]:arguments,M=C instanceof ot,J=R[0],ee=M||Ie(C),ne=function(st){var ut=w.apply(P,es([st],R));return m&&de?ut[0]:ut};ee&&d&&typeof J=="function"&&J.length!=1&&(M=ee=!1);var de=this.__chain__,ke=!!this.__actions__.length,Re=_&&!de,Be=M&&!ke;if(!_&&ee){C=Be?C:new ot(this);var Ae=a.apply(C,R);return Ae.__actions__.push({func:af,args:[ne],thisArg:t}),new Rn(Ae,de)}return Re&&Be?a.apply(this,R):(Ae=this.thru(ne),Re?m?Ae.value()[0]:Ae.value():Ae)})}),Tn(["pop","push","shift","sort","splice","unshift"],function(a){var c=Za[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",m=/^(?:pop|shift)$/.test(a);P.prototype[a]=function(){var w=arguments;if(m&&!this.__chain__){var _=this.value();return c.apply(Ie(_)?_:[],w)}return this[d](function(C){return c.apply(Ie(C)?C:[],w)})}}),cr(ot.prototype,function(a,c){var d=P[c];if(d){var m=d.name+"";wt.call(ol,m)||(ol[m]=[]),ol[m].push({name:c,func:d})}}),ol[ef(t,W).name]=[{name:"wrapper",func:t}],ot.prototype.clone=kv,ot.prototype.reverse=_v,ot.prototype.value=Wv,P.prototype.at=nk,P.prototype.chain=rk,P.prototype.commit=sk,P.prototype.next=lk,P.prototype.plant=ak,P.prototype.reverse=fk,P.prototype.toJSON=P.prototype.valueOf=P.prototype.value=ck,P.prototype.first=P.prototype.head,no&&(P.prototype[no]=ok),P},rl=sv();Cs?((Cs.exports=rl)._=rl,$u._=rl):_i._=rl}).call(_o)})(Uc,Uc.exports);var gA=Uc.exports;const mA=Ps.define({parser:UC.configure({props:[Bl.add({ParenthesisedExpression:fs({closing:")",align:!1}),Application:fs({closing:")",align:!1}),GeneratorCallGenerators:fs({closing:")",align:!1}),LetItems:fs({closing:"}",align:!1}),ArrayLiteral:fs({closing:"]",align:!1}),ArrayLiteral2d:fs({closing:"|]",align:!1}),SetLiteral:fs({closing:"}",align:!1})}),jl.add({ParenthesisedExpression:mr,Application:mr,GeneratorCallGenerators:mr,LetItems:mr,ArrayLiteral:mr,ArrayLiteral2d:mr,SetLiteral:mr}),Ll({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 z0(){return new oa(mA)}const Wy=Pi({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"}]}),xy=Pi({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"}]}),Gd=new Nl,Ds=new Nl,SA=Ds.reconfigure($e.editable.of(!1)),bA=Ds.reconfigure($e.editable.of(!0)),$A=Gd.reconfigure(Wy),QA=Gd.reconfigure(xy);function Mf(i,e,t,n=!1){const r=[bR,sa.of([ET]),Gd.of(t?xy:Wy),$e.theme({"&":{height:"100%"},"&.cm-editor.cm-focused":{outline:"none"},".cm-content, .cm-gutter":{minHeight:"100%"},"&.cm-focused .cm-selectionBackground":{backgroundColor:"#036dd638"}})];return i===".json"||i===".mpc"?[...r,Ds.of($e.editable.of(!n)),yR()]:i===".mzc"?[...r,Ds.of($e.editable.of(!1))]:i===".dzn"?[...r,Ds.of($e.editable.of(!n)),z0()]:i===".html"?[...r,Ds.of($e.editable.of(!n)),dA()]:[...r,Ds.of($e.editable.of(!n)),z0(),$e.updateListener.of(gA.debounce(e,250))]}function I0(i,e,t){const n=i.slice();return n[4]=e[t],n}function N0(i,e,t){const n=i.slice();return n[7]=e[t],n}function L0(i,e,t){const n=i.slice();return n[10]=e[t],n[12]=t,n}function wA(i){let e,t,n=Yc(i[0].location)+"",r,s,l,o,f,u,h;return{c(){e=k("pre"),t=k("a"),r=be(n),l=be(":"),o=I(),f=k("br"),y(t,"class",s="mzn-link mzn-"+i[0].type+" svelte-w513p9"),y(e,"class","svelte-w513p9")},m(O,p){V(O,e,p),v(e,t),v(t,r),v(e,l),V(O,o,p),V(O,f,p),u||(h=re(t,"click",i[3]),u=!0)},p(O,p){p&1&&n!==(n=Yc(O[0].location)+"")&&Le(r,n),p&1&&s!==(s="mzn-link mzn-"+O[0].type+" svelte-w513p9")&&y(t,"class",s)},d(O){O&&(Y(e),Y(o),Y(f)),u=!1,h()}}}function yA(i){let e,t=it(i[0].stack),n=[];for(let r=0;rr("goto",{location:o.location}),l=()=>r("goto",{location:n.location});return i.$$set=o=>{"msg"in o&&t(0,n=o.msg)},[n,r,s,l]}class Cy extends Ai{constructor(e){super(),Ri(this,e,xA,WA,Zi,{msg:0})}}function J0(i,e,t){const n=i.slice();return n[40]=e[t],n}function eS(i,e,t){const n=i.slice();return n[43]=e[t],n}function tS(i,e,t){const n=i.slice();return n[52]=e[t],n}function iS(i,e,t){const n=i.slice();return n[49]=e[t],n}function nS(i,e,t){const n=i.slice();return n[46]=e[t],n}const CA=i=>({}),rS=i=>({});function sS(i,e,t){const n=i.slice();return n[46]=e[t],n}function lS(i){let e,t,n,r,s,l,o,f,u,h,O,p,g;function b(E,j){return E[13].length===0?TA:XA}let $=b(i),Q=$(i),W=it(i[14]),x=[];for(let E=0;E{o=null}),tt()),u[2]?f?(f.p(u,h),h[0]&4&&D(f,1)):(f=pS(u),f.c(),D(f,1),f.m(e,null)):f&&(et(),G(f,1,1,()=>{f=null}),tt())},i(u){r||(D(l,u),D(o),D(f),r=!0)},o(u){G(l,u),G(o),G(f),r=!1},d(u){u&&Y(e),l&&l.d(u),o&&o.d(),f&&f.d()}}}function dS(i){let e,t,n,r,s,l,o;return r=new _t({props:{icon:K4}}),{c(){e=k("p"),t=k("button"),n=k("span"),Ve(r.$$.fragment),y(n,"class","icon"),y(t,"class","button is-small"),y(t,"title","Clear output on each run"),le(t,"is-primary",i[0]),le(t,"is-light",!i[0]),y(e,"class","control")},m(f,u){V(f,e,u),v(e,t),v(t,n),Ue(r,n,null),s=!0,l||(o=re(t,"click",i[33]),l=!0)},p(f,u){(!s||u[0]&1)&&le(t,"is-primary",f[0]),(!s||u[0]&1)&&le(t,"is-light",!f[0])},i(f){s||(D(r.$$.fragment,f),s=!0)},o(f){G(r.$$.fragment,f),s=!1},d(f){f&&Y(e),Ye(r),l=!1,o()}}}function pS(i){let e,t,n,r,s,l,o;return r=new _t({props:{icon:mQ}}),{c(){e=k("p"),t=k("button"),n=k("span"),Ve(r.$$.fragment),y(n,"class","icon"),y(t,"class","button is-small is-danger"),y(t,"title","Clear output"),y(e,"class","control")},m(f,u){V(f,e,u),v(e,t),v(t,n),Ue(r,n,null),s=!0,l||(o=re(t,"click",i[34]),l=!0)},p:Ce,i(f){s||(D(r.$$.fragment,f),s=!0)},o(f){G(r.$$.fragment,f),s=!1},d(f){f&&Y(e),Ye(r),l=!1,o()}}}function ZA(i){let e;return{c(){e=be("Running")},m(t,n){V(t,e,n)},d(t){t&&Y(e)}}}function RA(i){let e;return{c(){e=be("Compiling")},m(t,n){V(t,e,n)},d(t){t&&Y(e)}}}function AA(i){let e,t,n,r=Vc(i[43].runTime)+"",s,l,o=i[43].code&&gS(i);return{c(){o&&o.c(),e=I(),t=k("pre"),n=be("Finished in "),s=be(r),l=be("."),y(t,"class","mzn-runtime")},m(f,u){o&&o.m(f,u),V(f,e,u),V(f,t,u),v(t,n),v(t,s),v(t,l)},p(f,u){f[43].code?o?o.p(f,u):(o=gS(f),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),u[0]&2&&r!==(r=Vc(f[43].runTime)+"")&&Le(s,r)},i:Ce,o:Ce,d(f){f&&(Y(e),Y(t)),o&&o.d(f)}}}function UA(i){let e,t,n=(i[43].type==="error"&&i[12]||i[43].type==="warning"&&i[11])&&mS(i);return{c(){n&&n.c(),e=fi()},m(r,s){n&&n.m(r,s),V(r,e,s),t=!0},p(r,s){r[43].type==="error"&&r[12]||r[43].type==="warning"&&r[11]?n?(n.p(r,s),s[0]&6146&&D(n,1)):(n=mS(r),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(et(),G(n,1,1,()=>{n=null}),tt())},i(r){t||(D(n),t=!0)},o(r){G(n),t=!1},d(r){r&&Y(e),n&&n.d(r)}}}function YA(i){let e,t=i[23][i[43].status]+"",n,r,s;return{c(){e=k("pre"),n=be(t),r=I(),s=k("br")},m(l,o){V(l,e,o),v(e,n),V(l,r,o),V(l,s,o)},p(l,o){o[0]&2&&t!==(t=l[23][l[43].status]+"")&&Le(n,t)},i:Ce,o:Ce,d(l){l&&(Y(e),Y(r),Y(s))}}}function VA(i){let e,t,n;return{c(){e=k("pre"),e.textContent="Stopped.",t=I(),n=k("br"),y(e,"class","mzn-runtime")},m(r,s){V(r,e,s),V(r,t,s),V(r,n,s)},p:Ce,i:Ce,o:Ce,d(r){r&&(Y(e),Y(t),Y(n))}}}function qA(i){let e,t=i[8]&&SS(i);return{c(){t&&t.c(),e=fi()},m(n,r){t&&t.m(n,r),V(n,e,r)},p(n,r){n[8]?t?t.p(n,r):(t=SS(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ce,o:Ce,d(n){n&&Y(e),t&&t.d(n)}}}function EA(i){let e,t=i[9]&&$S(i);return{c(){t&&t.c(),e=fi()},m(n,r){t&&t.m(n,r),V(n,e,r)},p(n,r){n[9]?t?t.p(n,r):(t=$S(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ce,o:Ce,d(n){n&&Y(e),t&&t.d(n)}}}function MA(i){let e,t=i[43].comment+"",n;return{c(){e=k("pre"),n=be(t),y(e,"class","mzn-comment")},m(r,s){V(r,e,s),v(e,n)},p(r,s){s[0]&2&&t!==(t=r[43].comment+"")&&Le(n,t)},i:Ce,o:Ce,d(r){r&&Y(e)}}}function DA(i){let e=i[13].indexOf(i[43].section)===-1&&i[43].section!=="vis_json",t,n=e&&QS(i);return{c(){n&&n.c(),t=fi()},m(r,s){n&&n.m(r,s),V(r,t,s)},p(r,s){s[0]&8194&&(e=r[13].indexOf(r[43].section)===-1&&r[43].section!=="vis_json"),e?n?n.p(r,s):(n=QS(r),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},i:Ce,o:Ce,d(r){r&&Y(t),n&&n.d(r)}}}function zA(i){let e,t=i[10]&&wS(i);return{c(){t&&t.c(),e=fi()},m(n,r){t&&t.m(n,r),V(n,e,r)},p(n,r){n[10]?t?t.p(n,r):(t=wS(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ce,o:Ce,d(n){n&&Y(e),t&&t.d(n)}}}function IA(i){let e,t,n,r,s,l,o,f=it(xS(i[43],i[13])),u=[];for(let O=0;OG(u[O],1,1,()=>{u[O]=null});return{c(){e=k("span"),t=k("pre"),t.textContent="% Solution checker report:",n=I(),r=k("br"),s=I();for(let O=0;O%%%mzn-stat-end',n=I(),r=k("br")},m(o,f){for(let u=0;u{n=null}),tt())},i(r){t||(D(n),t=!0)},o(r){G(n),t=!1},d(r){r&&Y(e),n&&n.d(r)}}}function GA(i){let e,t=i[49].message+"",n;return{c(){e=k("pre"),n=be(t)},m(r,s){V(r,e,s),v(e,n)},p(r,s){s[0]&8194&&t!==(t=r[49].message+"")&&Le(n,t)},i:Ce,o:Ce,d(r){r&&Y(e)}}}function yS(i){let e,t;return e=new Cy({props:{msg:i[49]}}),e.$on("goto",i[35]),{c(){Ve(e.$$.fragment)},m(n,r){Ue(e,n,r),t=!0},p(n,r){const s={};r[0]&8194&&(s.msg=n[49]),e.$set(s)},i(n){t||(D(e.$$.fragment,n),t=!0)},o(n){G(e.$$.fragment,n),t=!1},d(n){Ye(e,n)}}}function vS(i){let e,t,n,r;const s=[GA,jA],l=[];function o(f,u){return f[49].type==="text"?0:f[49].type==="error"||f[49].type==="warning"?1:-1}return~(e=o(i))&&(t=l[e]=s[e](i)),{c(){t&&t.c(),n=fi()},m(f,u){~e&&l[e].m(f,u),V(f,n,u),r=!0},p(f,u){let h=e;e=o(f),e===h?~e&&l[e].p(f,u):(t&&(et(),G(l[h],1,1,()=>{l[h]=null}),tt()),~e?(t=l[e],t?t.p(f,u):(t=l[e]=s[e](f),t.c()),D(t,1),t.m(n.parentNode,n)):t=null)},i(f){r||(D(t),r=!0)},o(f){G(t),r=!1},d(f){f&&Y(n),~e&&l[e].d(f)}}}function PS(i){let e,t;function n(l,o){if(o[0]&2&&(e=null),e==null&&(e=!!(l[46]==="json"||l[46].endsWith("_json"))),e)return HA;if(l[46]!=="raw")return FA}let r=n(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),t=fi()},m(l,o){s&&s.m(l,o),V(l,t,o)},p(l,o){r===(r=n(l,o))&&s?s.p(l,o):(s&&s.d(1),s=r&&r(l),s&&(s.c(),s.m(t.parentNode,t)))},d(l){l&&Y(t),s&&s.d(l)}}}function FA(i){let e,t=i[43].output[i[46]]+"",n;return{c(){e=k("pre"),n=be(t)},m(r,s){V(r,e,s),v(e,n)},p(r,s){s[0]&2&&t!==(t=r[43].output[r[46]]+"")&&Le(n,t)},d(r){r&&Y(e)}}}function HA(i){let e,t=JSON.stringify(i[43].output[i[46]],null,2)+"",n,r,s;return{c(){e=k("pre"),n=be(t),r=I(),s=k("br")},m(l,o){V(l,e,o),v(e,n),V(l,r,o),V(l,s,o)},p(l,o){o[0]&2&&t!==(t=JSON.stringify(l[43].output[l[46]],null,2)+"")&&Le(n,t)},d(l){l&&(Y(e),Y(r),Y(s))}}}function kS(i){let e=i[13].indexOf(i[46])===-1&&i[46]!=="vis_json",t,n=e&&PS(i);return{c(){n&&n.c(),t=fi()},m(r,s){n&&n.m(r,s),V(r,t,s)},p(r,s){s[0]&8194&&(e=r[13].indexOf(r[46])===-1&&r[46]!=="vis_json"),e?n?n.p(r,s):(n=PS(r),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(r){r&&Y(t),n&&n.d(r)}}}function _S(i){let e,t,n,r;const s=[NA,IA,zA,DA,MA,EA,qA,VA,YA,UA,AA],l=[];function o(f,u){return f[43].type==="solution"?0:f[43].type==="checker"?1:f[43].type==="time"?2:f[43].type==="trace"?3:f[43].type==="comment"?4:f[43].type==="stderr"?5:f[43].type==="statistics"?6:f[43].type==="cancel"?7:f[43].type==="status"?8:f[43].type==="error"||f[43].type==="warning"?9:f[43].type==="exit"?10:-1}return~(e=o(i))&&(t=l[e]=s[e](i)),{c(){t&&t.c(),n=fi()},m(f,u){~e&&l[e].m(f,u),V(f,n,u),r=!0},p(f,u){let h=e;e=o(f),e===h?~e&&l[e].p(f,u):(t&&(et(),G(l[h],1,1,()=>{l[h]=null}),tt()),~e?(t=l[e],t?t.p(f,u):(t=l[e]=s[e](f),t.c()),D(t,1),t.m(n.parentNode,n)):t=null)},i(f){r||(D(t),r=!0)},o(f){G(t),r=!1},d(f){f&&Y(n),~e&&l[e].d(f)}}}function WS(i){let e,t,n,r=i[40].files.join(", ")+"",s,l,o,f,u;function h(Q,W){return Q[40].isCompile?RA:ZA}let O=h(i),p=O(i),g=it(i[40].output),b=[];for(let Q=0;QG(b[Q],1,1,()=>{b[Q]=null});return{c(){e=k("details"),t=k("summary"),p.c(),n=I(),s=be(r),l=I(),o=k("div");for(let Q=0;QG(O[g],1,1,()=>{O[g]=null});return{c(){e=k("div"),t=k("div"),f&&f.c(),n=I(),u&&u.c(),r=I(),s=k("div"),l=k("div");for(let g=0;g{u=null}),tt()),(!o||b[0]&48)&&le(t,"is-empty",!g[4]&&!g[5]),(!o||b[0]&64)&&le(t,"is-tab",g[6]),b[0]&8404738){h=it(g[1]);let $;for($=0;$0&&(s+=`${e}h `),(e>0||t>0)&&(s+=`${t}m `),(e>0||t>0||n>0)&&(s+=`${n}s `),e==0&&t==0&&(n>0&&(s+=" "),s+=`${r}msec`),s.trimEnd()}function xS(i,e){const t=[];let n=[];const r=()=>{if(n.length>0){const s=n.join("").split(` -`);s[s.length-1]===""&&s.splice(s.length-1,1),t.push({type:"text",message:s.map(l=>`% ${l}`).join(` -`)}),n=[]}};if(i.messages){for(const s of i.messages)if(s.type==="solution")for(const l of s.sections)e.indexOf(l)===-1&&l!=="raw"&&n.push(i.output[l]);else s.type==="trace"?e.indexOf(s.section)===-1&&s.section!=="raw"&&n.push(s.message):(r(),t.push(s));r()}else{for(const s of i.sections)e.indexOf(s)===-1&&n.push(i.output[s]);r()}return t}function JA(i,e,t){let n,r,s,l,o,f,{$$slots:u={},$$scope:h}=e;const O=Bn();let{output:p}=e,{autoClearOutput:g=!1}=e,{showClearOutput:b=!0}=e,{showAutoClearOutput:$=!0}=e,{showSectionToggles:Q=!0}=e,{showRightControls:W=!0}=e,{isTab:x=!1}=e,Z,X=!0,T=!0,U=!0,L=!0,E=!0;function j(Se){const te=Se.flatMap(ae=>ae.output),H=new Set([...te.filter(ae=>ae.type==="solution"||ae.type==="checker").flatMap(ae=>ae.sections.filter(He=>ae.output[He].length>0)),...te.filter(ae=>ae.type==="trace").map(ae=>ae.section)]);H.delete("raw"),H.delete("vis_json");const ie=[...H.values()];return ie.sort(),t(13,pe=pe.filter(ae=>H.has(ae))),ie}function z(Se){pe.indexOf(Se)===-1?t(13,pe=[...pe,Se]):t(13,pe=pe.filter(te=>te!==Se))}function oe(){pe.length===0?t(13,pe=[...f]):t(13,pe=[])}let pe=[];const _e={ALL_SOLUTIONS:"==========",OPTIMAL_SOLUTION:"==========",UNSATISFIABLE:"=====UNSATISFIABLE=====",UNSAT_OR_UNBOUNDED:"=====UNSATorUNBOUNDED=====",UNBOUNDED:"=====UNBOUNDED=====",UNKNOWN:"=====UNKNOWN=====",ERROR:"=====ERROR====="};async function we(Se){Z&&(await hs(),Z.scrollTo(0,Z.scrollHeight))}const Me=()=>oe(),Oe=Se=>z(Se),fe=()=>t(8,X=!X),Xe=()=>t(9,T=!T),De=()=>t(10,U=!U),mt=()=>t(11,L=!L),dt=()=>t(12,E=!E),Lt=()=>t(0,g=!g),ti=()=>O("clear");function Wt(Se){am.call(this,i,Se)}function xt(Se){am.call(this,i,Se)}function Zt(Se){ui[Se?"unshift":"push"](()=>{Z=Se,t(7,Z)})}return i.$$set=Se=>{"output"in Se&&t(1,p=Se.output),"autoClearOutput"in Se&&t(0,g=Se.autoClearOutput),"showClearOutput"in Se&&t(2,b=Se.showClearOutput),"showAutoClearOutput"in Se&&t(3,$=Se.showAutoClearOutput),"showSectionToggles"in Se&&t(4,Q=Se.showSectionToggles),"showRightControls"in Se&&t(5,W=Se.showRightControls),"isTab"in Se&&t(6,x=Se.isTab),"$$scope"in Se&&t(24,h=Se.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&2&&t(19,n=p.some(Se=>Se.output.some(te=>te.type==="statistics"))),i.$$.dirty[0]&2&&t(18,r=p.some(Se=>Se.output.some(te=>te.type==="stderr"))),i.$$.dirty[0]&2&&t(17,s=p.some(Se=>Se.output.some(te=>te.type==="time"))),i.$$.dirty[0]&2&&t(16,l=p.some(Se=>Se.output.some(te=>te.type==="warning"||te.type==="checker"&&te.messages&&te.messages.some(H=>H.type==="warning")))),i.$$.dirty[0]&2&&t(15,o=p.some(Se=>Se.output.some(te=>te.type==="error"||te.type==="checker"&&te.messages&&te.messages.some(H=>H.type==="error")))),i.$$.dirty[0]&2&&t(14,f=j(p)),i.$$.dirty[0]&2&&we()},[g,p,b,$,Q,W,x,Z,X,T,U,L,E,pe,f,o,l,s,r,n,O,z,oe,_e,h,u,Me,Oe,fe,Xe,De,mt,dt,Lt,ti,Wt,xt,Zt]}class e8 extends Ai{constructor(e){super(),Ri(this,e,JA,KA,Zi,{output:1,autoClearOutput:0,showClearOutput:2,showAutoClearOutput:3,showSectionToggles:4,showRightControls:5,isTab:6},null,[-1,-1])}}const t8=`const MiniZincIDE = (() => { - const callbacks = {}; - const responses = []; - const freeSlots = []; - let userData; - - window.addEventListener('message', (e) => { - switch (e.data.event) { - case 'response': { - resolveResponse(e.data.id, e.data.payload); - break; - } - case 'error': { - rejectResponse(e.data.id, e.data.message); - break; - } - default: - if (e.data.event in callbacks) { - callbacks[e.data.event].forEach((callback) => { - callback(e.data.payload); - }); - } - break; - } - }); - - function resolveResponse(index, payload) { - const { resolve } = responses[index]; - resolve(payload); - responses[index] = null; - freeSlots.push(index); - } - - function rejectResponse(index, message) { - const { reject } = responses[index]; - reject(message); - responses[index] = null; - freeSlots.push(index); - } - - function createPromise(message) { - return new Promise((resolve, reject) => { - const id = - freeSlots.length > 0 ? freeSlots.pop() : responses.length; - responses[id] = { resolve, reject }; - window.parent.postMessage( - { - ...message, - id, - }, - '*' - ); - }); - } - - function on(event, callback) { - if (!(event in callbacks)) { - callbacks[event] = new Set(); - } - callbacks[event].add(callback); - } - function off(event, callback) { - if (event in callbacks) { - callbacks[event].delete(callback); - } - } - function getUserData() { - return new Promise((resolve, reject) => { - if (userData === undefined) { - on('init', (data) => { - userData = data; - resolve(userData); - }); - } else { - resolve(userData); - } - }); - } - function goToSolution(idx) { - window.parent.postMessage( - { - event: 'rebroadcast', - message: { - event: 'goToSolution', - payload: idx, - }, - }, - '*' - ); - } - function solve(modelFile, dataFiles, options) { - window.parent.postMessage( - { - event: 'solve', - modelFile, - dataFiles, - options, - }, - '*' - ); - } - function getNumSolutions() { - return createPromise({ - event: 'getNumSolutions', - }); - } - function getSolution(index) { - return createPromise({ - event: 'getSolution', - index, - }); - } - function getAllSolutions() { - return createPromise({ - event: 'getAllSolutions', - }); - } - function getStatus() { - return createPromise({ - event: 'getStatus', - }); - } - function getFinishTime() { - return createPromise({ - event: 'getFinishTime', - }); - } - - return { - getUserData, - on, - off, - goToSolution, - solve, - getNumSolutions, - getSolution, - getAllSolutions, - getStatus, - getFinishTime, - }; -})(); -`;function CS(i,e,t){const n=i.slice();return n[22]=e[t],n[23]=e,n[24]=t,n}function XS(i){let e,t,n,r,s,l,o,f,u,h,O,p,g,b,$,Q,W,x,Z;return Q=new _t({props:{icon:L4}}),{c(){e=k("div"),t=k("div"),t.innerHTML="Solution:",n=I(),r=k("div"),s=k("input"),o=I(),f=k("div"),u=k("input"),O=I(),p=k("div"),g=k("p"),b=k("button"),$=k("span"),Ve(Q.$$.fragment),y(t,"class","solution-label svelte-1x11i8k"),y(s,"class","input is-small"),y(s,"type","number"),y(s,"min",l=i[2]>0?1:0),y(s,"max",i[2]),y(u,"type","range"),y(u,"min",h=i[2]>0?1:0),y(u,"max",i[2]),y(u,"class","svelte-1x11i8k"),y(f,"class","solution-slider svelte-1x11i8k"),y($,"class","icon"),y(b,"class","button is-small"),y(b,"title","Follow latest solution"),le(b,"is-primary",i[0]),le(b,"is-light",!i[0]),y(g,"class","control"),y(p,"class","field has-addons svelte-1x11i8k"),y(e,"class","top svelte-1x11i8k")},m(X,T){V(X,e,T),v(e,t),v(e,n),v(e,r),v(r,s),zi(s,i[1]),v(e,o),v(e,f),v(f,u),zi(u,i[1]),v(e,O),v(e,p),v(p,g),v(g,b),v(b,$),Ue(Q,$,null),W=!0,x||(Z=[re(s,"input",i[11]),re(u,"change",i[12]),re(u,"input",i[12]),re(b,"click",i[13])],x=!0)},p(X,T){(!W||T&4&&l!==(l=X[2]>0?1:0))&&y(s,"min",l),(!W||T&4)&&y(s,"max",X[2]),T&2&&Eo(s.value)!==X[1]&&zi(s,X[1]),(!W||T&4&&h!==(h=X[2]>0?1:0))&&y(u,"min",h),(!W||T&4)&&y(u,"max",X[2]),T&2&&zi(u,X[1]),(!W||T&1)&&le(b,"is-primary",X[0]),(!W||T&1)&&le(b,"is-light",!X[0])},i(X){W||(D(Q.$$.fragment,X),W=!0)},o(X){G(Q.$$.fragment,X),W=!1},d(X){X&&Y(e),Ye(Q),x=!1,Nt(Z)}}}function TS(i){let e,t,n=i[23],r=i[24],s,l;const o=()=>i[14](e,n,r),f=()=>i[14](null,n,r);function u(...h){return i[15](i[22],...h)}return{c(){e=k("iframe"),y(e,"class","vis-window svelte-1x11i8k"),rm(e.src,t=i[22].url)||y(e,"src",t),y(e,"title","Visualisation")},m(h,O){V(h,e,O),o(),s||(l=re(e,"load",u),s=!0)},p(h,O){i=h,O&8&&!rm(e.src,t=i[22].url)&&y(e,"src",t),(n!==i[23]||r!==i[24])&&(f(),n=i[23],r=i[24],o())},d(h){h&&Y(e),f(),s=!1,l()}}}function i8(i){let e,t,n,r,s,l,o,f=i[2]>0&&XS(i),u=it(i[3]),h=[];for(let O=0;O0?f?(f.p(O,p),p&4&&D(f,1)):(f=XS(O),f.c(),D(f,1),f.m(e,t)):f&&(et(),G(f,1,1,()=>{f=null}),tt()),p&8){u=it(O[3]);let g;for(g=0;g{oe=we});pe.then(we=>{we.contentWindow.postMessage({event:"init",payload:z},"*")});const _e=URL.createObjectURL(new Blob([j.replace("/minizinc-ide.js",n8)],{type:"text/html; charset=utf-8"}));t(3,h=[...h,{url:_e,makeReady:oe,ready:pe,solutions:[],element:null}])}function $(j,z){for(let oe=0;oepe.element.contentWindow===j.source);switch(z.event){case"rebroadcast":for(const _e of h)qn(z.message,_e);z.message.event==="goToSolution"&&(s=z.message.payload===-1,t(0,l=z.message.payload===-1),o=z.message.payload+1,t(1,f=z.message.payload+1));break;case"solve":r("solve",{modelFile:z.modelFile,dataFiles:z.dataFiles,options:z.options});break;case"getNumSolutions":qn({event:"response",id:z.id,payload:oe.solutions.length},oe);break;case"getSolution":const pe=z.index<0?z.index+oe.solutions.length:z.index;if(pe<0||pe>=oe.solutions.length)qn({event:"error",id:z.id,message:"Solution index out of range"},oe);else{qn({event:"response",id:z.id,payload:oe.solutions[z.index===-1?oe.solutions.length-1:z.index]},oe);break}case"getAllSolutions":qn({event:"response",id:z.id,payload:oe.solutions},oe);break;case"getStatus":qn({event:"response",id:z.id,payload:O},oe);break;case"getFinishTime":qn({event:"response",id:z.id,payload:p},oe);break}}function Z(j,z,oe){if(l&&o===f&&(o=u,t(1,f=u)),l!==s){s=l;for(const pe of h)qn({event:"goToSolution",payload:l?-1:f-1},pe)}if(o!==f){o=f,s=!1,t(0,l=!1);for(const pe of h)qn({event:"goToSolution",payload:f-1},pe)}}function X(){f=Eo(this.value),t(1,f)}function T(){f=Eo(this.value),t(1,f)}const U=()=>t(0,l=!l);function L(j,z,oe){ui[j?"unshift":"push"](()=>{z[oe].element=j,t(3,h)})}const E=(j,z)=>j.makeReady(z.target);return i.$$.update=()=>{i.$$.dirty&8&&t(4,n=Math.ceil(Math.sqrt(h.length))),i.$$.dirty&7&&Z()},[l,f,u,h,n,x,g,b,$,Q,W,X,T,U,L,E]}class s8 extends Ai{constructor(e){super(),Ri(this,e,r8,i8,Zi,{reset:6,addVisualisation:7,addSolution:8,status:9,finish:10})}get reset(){return this.$$.ctx[6]}get addVisualisation(){return this.$$.ctx[7]}get addSolution(){return this.$$.ctx[8]}get status(){return this.$$.ctx[9]}get finish(){return this.$$.ctx[10]}}function l8(i){let e,t,n,r,s,l,o,f,u,h,O,p,g,b,$,Q,W,x,Z,X,T,U,L,E,j,z,oe,pe,_e,we,Me,Oe;return{c(){e=k("aside"),t=k("p"),t.textContent="Model",n=I(),r=k("ul"),s=k("li"),l=k("a"),l.textContent="Model file (.mzn)",o=I(),f=k("li"),u=k("a"),u.textContent="Solution checker model (.mzc.mzn)",h=I(),O=k("p"),O.textContent="Data",p=I(),g=k("ul"),b=k("li"),$=k("a"),$.textContent="Data file (.dzn)",Q=I(),W=k("li"),x=k("a"),x.textContent="JSON data file (.json)",Z=I(),X=k("p"),X.textContent="Visualisation",T=I(),U=k("ul"),L=k("li"),E=k("a"),E.textContent="Custom visualisation (.html)",j=I(),z=k("p"),z.textContent="Import",oe=I(),pe=k("ul"),_e=k("li"),we=k("a"),we.textContent="Upload file(s)",y(t,"class","menu-label"),y(r,"class","menu-list"),y(O,"class","menu-label"),y(g,"class","menu-list"),y(X,"class","menu-label"),y(U,"class","menu-list"),y(z,"class","menu-label"),y(pe,"class","menu-list"),y(e,"class","menu")},m(fe,Xe){V(fe,e,Xe),v(e,t),v(e,n),v(e,r),v(r,s),v(s,l),v(r,o),v(r,f),v(f,u),v(e,h),v(e,O),v(e,p),v(e,g),v(g,b),v(b,$),v(g,Q),v(g,W),v(W,x),v(e,Z),v(e,X),v(e,T),v(e,U),v(U,L),v(L,E),v(e,j),v(e,z),v(e,oe),v(e,pe),v(pe,_e),v(_e,we),Me||(Oe=[re(l,"click",i[5]),re(u,"click",i[6]),re($,"click",i[7]),re(x,"click",i[8]),re(E,"click",i[9]),re(we,"click",i[10])],Me=!0)},p:Ce,d(fe){fe&&Y(e),Me=!1,Nt(Oe)}}}function o8(i){let e,t,n,r,s,l;return e=new Vl({props:{active:i[0],title:"Create new file",$$slots:{default:[l8]},$$scope:{ctx:i}}}),e.$on("cancel",i[11]),{c(){Ve(e.$$.fragment),t=I(),n=k("input"),y(n,"class","is-hidden svelte-1surl6b"),y(n,"type","file"),n.multiple=!0,y(n,"accept",".mzn,.mzc,.dzn,.json,.html")},m(o,f){Ue(e,o,f),V(o,t,f),V(o,n,f),i[12](n),r=!0,s||(l=[re(n,"change",i[13]),re(n,"change",i[4])],s=!0)},p(o,[f]){const u={};f&1&&(u.active=o[0]),f&16386&&(u.$$scope={dirty:f,ctx:o}),e.$set(u)},i(o){r||(D(e.$$.fragment,o),r=!0)},o(o){G(e.$$.fragment,o),r=!1},d(o){o&&(Y(t),Y(n)),Ye(e,o),i[12](null),s=!1,Nt(l)}}}function a8(i,e,t){let{active:n=!1}=e;const r=Bn();let s,l;async function o(){const W=[];for(const Z of l)W.push(new Promise((X,T)=>{const U=new FileReader;U.onload=()=>{X({name:Z.name,contents:U.result})},U.onerror=L=>T(L),U.readAsText(Z)}));const x=await Promise.all(W);r("open",{files:x})}const f=()=>r("new",{type:".mzn"}),u=()=>r("new",{type:".mzc.mzn"}),h=()=>r("new",{type:".dzn"}),O=()=>r("new",{type:".json"}),p=()=>r("new",{type:".html"}),g=()=>s.click(),b=()=>r("cancel");function $(W){ui[W?"unshift":"push"](()=>{s=W,t(1,s)})}function Q(){l=this.files,t(2,l)}return i.$$set=W=>{"active"in W&&t(0,n=W.active)},[n,s,l,r,o,f,u,h,O,p,g,b,$,Q]}class f8 extends Ai{constructor(e){super(),Ri(this,e,a8,o8,Zi,{active:0})}}function ZS(i,e,t){const n=i.slice();return n[15]=e[t],n}function RS(i,e,t){const n=i.slice();return n[18]=e[t].file,n[19]=e[t].index,n}function c8(i){let e,t,n,r,s,l,o;n=new _t({props:{icon:i[18].readOnly?NO:S1}});function f(){return i[11](i[19],i[18])}return{c(){e=k("button"),t=k("span"),Ve(n.$$.fragment),y(t,"class","icon"),y(e,"class","button is-small"),y(e,"title",r="Click to "+(i[18].readOnly?"unlock":"lock")+" this file for editing"),le(e,"is-primary",!i[18].readOnly),le(e,"is-light",i[18].readOnly)},m(u,h){V(u,e,h),v(e,t),Ue(n,t,null),s=!0,l||(o=re(e,"click",f),l=!0)},p(u,h){i=u;const O={};h&2&&(O.icon=i[18].readOnly?NO:S1),n.$set(O),(!s||h&2&&r!==(r="Click to "+(i[18].readOnly?"unlock":"lock")+" this file for editing"))&&y(e,"title",r),(!s||h&2)&&le(e,"is-primary",!i[18].readOnly),(!s||h&2)&&le(e,"is-light",i[18].readOnly)},i(u){s||(D(n.$$.fragment,u),s=!0)},o(u){G(n.$$.fragment,u),s=!1},d(u){u&&Y(e),Ye(n),l=!1,o()}}}function u8(i){let e,t,n,r;return n=new _t({props:{icon:NO}}),{c(){e=k("button"),t=k("span"),Ve(n.$$.fragment),y(t,"class","icon"),y(e,"class","button is-small is-light"),y(e,"title","Compiled checkers are read only"),e.disabled=!0},m(s,l){V(s,e,l),v(e,t),Ue(n,t,null),r=!0},p:Ce,i(s){r||(D(n.$$.fragment,s),r=!0)},o(s){G(n.$$.fragment,s),r=!1},d(s){s&&Y(e),Ye(n)}}}function AS(i){let e,t,n=i[18].name+"",r,s,l,o,f,u,h,O,p,g,b,$,Q,W,x,Z,X,T,U,L,E,j,z;p=new _t({props:{icon:i[18].hidden?m1:b1}});function oe(){return i[10](i[19],i[18])}const pe=[u8,c8],_e=[];function we(Oe,fe){return fe&2&&(Q=null),Q==null&&(Q=!!Oe[18].name.endsWith(".mzc")),Q?0:1}W=we(i,-1),x=_e[W]=pe[W](i),L=new _t({props:{icon:mQ}});function Me(){return i[12](i[19])}return{c(){e=k("tr"),t=k("td"),r=be(n),s=I(),l=k("td"),o=k("div"),f=k("div"),u=k("p"),h=k("button"),O=k("span"),Ve(p.$$.fragment),b=I(),$=k("p"),x.c(),Z=I(),X=k("p"),T=k("button"),U=k("span"),Ve(L.$$.fragment),y(O,"class","icon"),y(h,"class","button is-small"),y(h,"title",g="Click to "+(i[18].hidden?"show":"hide")+" this file"),le(h,"is-primary",!i[18].hidden),le(h,"is-light",i[18].hidden),y(u,"class","control"),y($,"class","control"),y(U,"class","icon"),y(T,"class","button is-small is-danger"),y(T,"title","Delete this file"),y(X,"class","control"),y(f,"class","field is-grouped"),y(o,"class","tool-buttons svelte-1bgv9sn")},m(Oe,fe){V(Oe,e,fe),v(e,t),v(t,r),v(e,s),v(e,l),v(l,o),v(o,f),v(f,u),v(u,h),v(h,O),Ue(p,O,null),v(f,b),v(f,$),_e[W].m($,null),v(f,Z),v(f,X),v(X,T),v(T,U),Ue(L,U,null),E=!0,j||(z=[re(h,"click",oe),re(T,"click",Me)],j=!0)},p(Oe,fe){i=Oe,(!E||fe&2)&&n!==(n=i[18].name+"")&&Le(r,n);const Xe={};fe&2&&(Xe.icon=i[18].hidden?m1:b1),p.$set(Xe),(!E||fe&2&&g!==(g="Click to "+(i[18].hidden?"show":"hide")+" this file"))&&y(h,"title",g),(!E||fe&2)&&le(h,"is-primary",!i[18].hidden),(!E||fe&2)&&le(h,"is-light",i[18].hidden);let De=W;W=we(i,fe),W===De?_e[W].p(i,fe):(et(),G(_e[De],1,1,()=>{_e[De]=null}),tt(),x=_e[W],x?x.p(i,fe):(x=_e[W]=pe[W](i),x.c()),D(x,1),x.m($,null))},i(Oe){E||(D(p.$$.fragment,Oe),D(x),D(L.$$.fragment,Oe),E=!0)},o(Oe){G(p.$$.fragment,Oe),G(x),G(L.$$.fragment,Oe),E=!1},d(Oe){Oe&&Y(e),Ye(p),_e[W].d(),Ye(L),j=!1,Nt(z)}}}function US(i){let e,t=i[15].label+"",n,r,s,l,o=it(i[15].files),f=[];for(let h=0;hG(f[h],1,1,()=>{f[h]=null});return{c(){e=k("p"),n=be(t),r=I(),s=k("table");for(let h=0;hG(p[b],1,1,()=>{p[b]=null});return s=new _t({props:{icon:bQ}}),{c(){for(let b=0;bO("close"),g=(x,Z)=>O("modifyFile",{index:x,options:{hidden:!Z.hidden}}),b=(x,Z)=>O("modifyFile",{index:x,options:{readOnly:!Z.readOnly}}),$=x=>O("delete",{index:x}),Q=()=>O("newFile"),W=()=>O("close");return i.$$set=x=>{"active"in x&&t(0,u=x.active),"files"in x&&t(3,h=x.files)},i.$$.update=()=>{i.$$.dirty&8&&t(8,n=h.map((x,Z)=>({file:x,index:Z}))),i.$$.dirty&256&&t(7,r=n.filter(x=>x.file.name.endsWith(".mzn")&&!x.file.name.endsWith(".mzc.mzn")).sort((x,Z)=>x.file.name.localeCompare(Z.file.name))),i.$$.dirty&256&&t(6,s=n.filter(x=>x.file.name.endsWith(".dzn")||x.file.name.endsWith(".json")).sort((x,Z)=>x.file.name.localeCompare(Z.file.name))),i.$$.dirty&256&&t(5,l=n.filter(x=>x.file.name.endsWith(".mzc")||x.file.name.endsWith(".mzc.mzn")).sort((x,Z)=>x.file.name.localeCompare(Z.file.name))),i.$$.dirty&256&&t(4,o=n.filter(x=>!x.file.name.endsWith(".mzn")&&!x.file.name.endsWith(".mzc")&&!x.file.name.endsWith(".dzn")&&!x.file.name.endsWith(".json")).sort((x,Z)=>x.file.name.localeCompare(Z.file.name))),i.$$.dirty&240&&t(1,f=[{label:"Model files",files:r},{label:"Data files",files:s},{label:"Solution checkers",files:l},{label:"Other files",files:o}].filter(x=>x.files.length>0))},[u,f,O,h,o,l,s,r,n,p,g,b,$,Q,W]}class g8 extends Ai{constructor(e){super(),Ri(this,e,p8,d8,Zi,{active:0,files:3})}}function YS(i,e,t){const n=i.slice();return n[9]=e[t],n}function VS(i){let e,t=i[9]+"",n,r;return{c(){e=k("option"),n=be(t),e.__value=r=i[9],zi(e,e.__value)},m(s,l){V(s,e,l),v(e,n)},p(s,l){l&1&&t!==(t=s[9]+"")&&Le(n,t),l&1&&r!==(r=s[9])&&(e.__value=r,zi(e,e.__value))},d(s){s&&Y(e)}}}function m8(i){let e,t,n,r,s=it(i[0]),l=[];for(let o=0;oi[6].call(t)),y(e,"class","select is-fullwidth")},m(o,f){V(o,e,f),v(e,t);for(let u=0;u0&&t(2,l=p[0])}function f(){n("accept",{modelFile:l})}const u=()=>n("cancel");function h(){l=oO(this),t(2,l),t(0,r)}const O=()=>n("cancel");return i.$$set=p=>{"modelFiles"in p&&t(0,r=p.modelFiles),"active"in p&&t(1,s=p.active)},i.$$.update=()=>{i.$$.dirty&1&&o(r)},[r,s,l,n,f,u,h,O]}class Q8 extends Ai{constructor(e){super(),Ri(this,e,$8,b8,Zi,{modelFiles:0,active:1})}}function qS(i,e,t){const n=i.slice();return n[20]=e[t],n[21]=e,n[22]=t,n}function ES(i,e,t){const n=i.slice();return n[17]=e[t],n}function MS(i){let e,t,n,r,s,l,o,f,u;return{c(){e=k("div"),t=k("ul"),n=k("li"),r=k("a"),r.textContent="Enter parameters",s=I(),l=k("li"),o=k("a"),o.textContent="Select data file",le(n,"is-active",!i[2]),le(l,"is-active",i[2]),y(e,"class","tabs")},m(h,O){V(h,e,O),v(e,t),v(t,n),v(n,r),v(t,s),v(t,l),v(l,o),f||(u=[re(r,"click",i[11]),re(o,"click",i[12])],f=!0)},p(h,O){O&4&&le(n,"is-active",!h[2]),O&4&&le(l,"is-active",h[2])},d(h){h&&Y(e),f=!1,Nt(u)}}}function w8(i){let e,t=it(i[5]),n=[];for(let r=0;ri[13].call(t)),y(e,"class","select is-fullwidth is-multiple")},m(o,f){V(o,e,f),v(e,t);for(let u=0;uX[T]===void 0?{name:T,value:""}:{name:T,value:X[T]}))}function g(){r?s("accept",{dataFiles:h}):s("accept",{parameters:O.reduce((X,T)=>({...X,[T.name]:T.value}),{})})}const b=()=>s("cancel"),$=()=>t(2,u=!1),Q=()=>t(2,u=!0);function W(){h=yx(this),t(4,h),t(1,f)}function x(X,T){X[T].value=this.value,t(5,O)}const Z=()=>s("cancel");return i.$$set=X=>{"active"in X&&t(0,l=X.active),"parameters"in X&&t(9,o=X.parameters),"dataFiles"in X&&t(1,f=X.dataFiles)},i.$$.update=()=>{i.$$.dirty&512&&p(o),i.$$.dirty&2&&t(3,n=f.length>0),i.$$.dirty&12&&t(6,r=n&&u)},[l,f,u,n,h,O,r,s,g,o,b,$,Q,W,x,Z]}class W8 extends Ai{constructor(e){super(),Ri(this,e,_8,k8,Zi,{active:0,parameters:9,dataFiles:1})}}function IS(i){let e,t,n,r,s,l,o,f,u,h,O,p,g,b,$,Q,W,x=Mn(i[1],"-a"),Z,X=Mn(i[1],"-f"),T,U,L,E,j,z,oe,pe,_e,we=Mn(i[1],"-v"),Me,Oe,fe,Xe,De,mt,dt,Lt=Mn(i[1],"-s"),ti,Wt,xt,Zt,Se,te,H,ie,ae,He,Ke,lt,ht,Je,se,Qi,Rt;r=new _t({props:{icon:$Q}});let ft=x&&NS(i),ze=X&&LS(i),St=we&&BS(i),Ot=Lt&&jS(i);return{c(){e=k("div"),t=k("button"),n=k("span"),Ve(r.$$.fragment),s=I(),l=k("h5"),l.textContent="Solving options",o=I(),f=k("div"),u=k("p"),h=k("input"),O=I(),p=k("label"),p.textContent="Time limit (s)",g=I(),b=k("p"),$=k("input"),W=I(),ft&&ft.c(),Z=I(),ze&&ze.c(),T=I(),U=k("h5"),U.textContent="Output options",L=I(),E=k("div"),j=k("p"),z=k("input"),oe=I(),pe=k("label"),pe.textContent="Verbose compilation",_e=I(),St&&St.c(),Me=I(),Oe=k("div"),fe=k("p"),Xe=k("input"),De=I(),mt=k("label"),mt.textContent="Compilation statistics",dt=I(),Ot&&Ot.c(),ti=I(),Wt=k("div"),xt=k("p"),Zt=k("input"),Se=I(),te=k("label"),te.textContent="Timing information",H=I(),ie=k("div"),ae=k("p"),He=k("button"),He.textContent="Accept",Ke=I(),lt=k("p"),ht=k("button"),ht.textContent="Reset to defaults",y(n,"class","icon"),y(t,"class","button is-text is-small exit-button svelte-1uq9463"),y(l,"class","title is-5"),y(h,"id","enable-timelimit"),y(h,"type","checkbox"),y(h,"class","svelte-1uq9463"),y(p,"for","enable-timelimit"),y(p,"class","svelte-1uq9463"),y(u,"class","control checkbox-control svelte-1uq9463"),y($,"class","input is-fullwidth"),y($,"type","number"),y($,"step","1"),y($,"min",0),$.disabled=Q=!i[3],y(b,"class","control is-expanded"),y(f,"class","field is-grouped"),y(U,"class","title is-5"),y(z,"id","enable-verbose-compile"),y(z,"type","checkbox"),y(z,"class","svelte-1uq9463"),y(pe,"for","enable-verbose-compile"),y(pe,"class","svelte-1uq9463"),y(j,"class","control checkbox-control svelte-1uq9463"),y(E,"class","field"),y(Xe,"id","enable-compilation-satistics"),y(Xe,"type","checkbox"),y(Xe,"class","svelte-1uq9463"),y(mt,"for","enable-compilation-satistics"),y(mt,"class","svelte-1uq9463"),y(fe,"class","control checkbox-control svelte-1uq9463"),y(Oe,"class","field"),y(Zt,"id","enable-timing-information"),y(Zt,"type","checkbox"),y(Zt,"class","svelte-1uq9463"),y(te,"for","enable-timing-information"),y(te,"class","svelte-1uq9463"),y(xt,"class","control checkbox-control svelte-1uq9463"),y(Wt,"class","field"),y(He,"class","button is-primary"),y(ae,"class","control"),y(ht,"class","button is-danger"),y(lt,"class","control"),y(ie,"class","field is-grouped bottom-buttons svelte-1uq9463"),y(e,"class","config-window svelte-1uq9463")},m(Ge,ct){V(Ge,e,ct),v(e,t),v(t,n),Ue(r,n,null),v(e,s),v(e,l),v(e,o),v(e,f),v(f,u),v(u,h),h.checked=i[3],v(u,O),v(u,p),v(f,g),v(f,b),v(b,$),zi($,i[2]),v(e,W),ft&&ft.m(e,null),v(e,Z),ze&&ze.m(e,null),v(e,T),v(e,U),v(e,L),v(e,E),v(E,j),v(j,z),z.checked=i[5],v(j,oe),v(j,pe),v(e,_e),St&&St.m(e,null),v(e,Me),v(e,Oe),v(Oe,fe),v(fe,Xe),Xe.checked=i[7],v(fe,De),v(fe,mt),v(e,dt),Ot&&Ot.m(e,null),v(e,ti),v(e,Wt),v(Wt,xt),v(xt,Zt),Zt.checked=i[9],v(xt,Se),v(xt,te),v(e,H),v(e,ie),v(ie,ae),v(ae,He),v(ie,Ke),v(ie,lt),v(lt,ht),se=!0,Qi||(Rt=[re(t,"click",i[17]),re(h,"change",i[18]),re($,"input",i[19]),re(z,"change",i[22]),re(Xe,"change",i[24]),re(Zt,"change",i[26]),re(He,"click",i[27]),re(ht,"click",i[12])],Qi=!0)},p(Ge,ct){ct&8&&(h.checked=Ge[3]),(!se||ct&8&&Q!==(Q=!Ge[3]))&&($.disabled=Q),ct&4&&Eo($.value)!==Ge[2]&&zi($,Ge[2]),ct&2&&(x=Mn(Ge[1],"-a")),x?ft?ft.p(Ge,ct):(ft=NS(Ge),ft.c(),ft.m(e,Z)):ft&&(ft.d(1),ft=null),ct&2&&(X=Mn(Ge[1],"-f")),X?ze?ze.p(Ge,ct):(ze=LS(Ge),ze.c(),ze.m(e,T)):ze&&(ze.d(1),ze=null),ct&32&&(z.checked=Ge[5]),ct&2&&(we=Mn(Ge[1],"-v")),we?St?St.p(Ge,ct):(St=BS(Ge),St.c(),St.m(e,Me)):St&&(St.d(1),St=null),ct&128&&(Xe.checked=Ge[7]),ct&2&&(Lt=Mn(Ge[1],"-s")),Lt?Ot?Ot.p(Ge,ct):(Ot=jS(Ge),Ot.c(),Ot.m(e,ti)):Ot&&(Ot.d(1),Ot=null),ct&512&&(Zt.checked=Ge[9])},i(Ge){se||(D(r.$$.fragment,Ge),Ge&&or(()=>{se&&(Je||(Je=bl(e,uc,{x:100,duration:200},!0)),Je.run(1))}),se=!0)},o(Ge){G(r.$$.fragment,Ge),Ge&&(Je||(Je=bl(e,uc,{x:100,duration:200},!1)),Je.run(0)),se=!1},d(Ge){Ge&&Y(e),Ye(r),ft&&ft.d(),ze&&ze.d(),St&&St.d(),Ot&&Ot.d(),Ge&&Je&&Je.end(),Qi=!1,Nt(Rt)}}}function NS(i){let e,t,n,r,s,l,o;return{c(){e=k("div"),t=k("p"),n=k("input"),r=I(),s=k("label"),s.textContent="All solutions (for satisfication problems)",y(n,"id","enable-all-solutions"),y(n,"type","checkbox"),y(n,"class","svelte-1uq9463"),y(s,"for","enable-all-solutions"),y(s,"class","svelte-1uq9463"),y(t,"class","control checkbox-control svelte-1uq9463"),y(e,"class","field")},m(f,u){V(f,e,u),v(e,t),v(t,n),n.checked=i[4],v(t,r),v(t,s),l||(o=re(n,"change",i[20]),l=!0)},p(f,u){u&16&&(n.checked=f[4])},d(f){f&&Y(e),l=!1,o()}}}function LS(i){let e,t,n,r,s,l,o;return{c(){e=k("div"),t=k("p"),n=k("input"),r=I(),s=k("label"),s.textContent="Free search",y(n,"id","enable-free-search"),y(n,"type","checkbox"),y(n,"class","svelte-1uq9463"),y(s,"for","enable-free-search"),y(s,"class","svelte-1uq9463"),y(t,"class","control checkbox-control svelte-1uq9463"),y(e,"class","field")},m(f,u){V(f,e,u),v(e,t),v(t,n),n.checked=i[10],v(t,r),v(t,s),l||(o=re(n,"change",i[21]),l=!0)},p(f,u){u&1024&&(n.checked=f[10])},d(f){f&&Y(e),l=!1,o()}}}function BS(i){let e,t,n,r,s,l,o;return{c(){e=k("div"),t=k("p"),n=k("input"),r=I(),s=k("label"),s.textContent="Verbose solving",y(n,"id","enable-verbose-solve"),y(n,"type","checkbox"),y(n,"class","svelte-1uq9463"),y(s,"for","enable-verbose-solve"),y(s,"class","svelte-1uq9463"),y(t,"class","control checkbox-control svelte-1uq9463"),y(e,"class","field")},m(f,u){V(f,e,u),v(e,t),v(t,n),n.checked=i[6],v(t,r),v(t,s),l||(o=re(n,"change",i[23]),l=!0)},p(f,u){u&64&&(n.checked=f[6])},d(f){f&&Y(e),l=!1,o()}}}function jS(i){let e,t,n,r,s,l,o;return{c(){e=k("div"),t=k("p"),n=k("input"),r=I(),s=k("label"),s.textContent="Solving statistics",y(n,"id","enable-solving-satistics"),y(n,"type","checkbox"),y(n,"class","svelte-1uq9463"),y(s,"for","enable-solving-satistics"),y(s,"class","svelte-1uq9463"),y(t,"class","control checkbox-control svelte-1uq9463"),y(e,"class","field")},m(f,u){V(f,e,u),v(e,t),v(t,n),n.checked=i[8],v(t,r),v(t,s),l||(o=re(n,"change",i[25]),l=!0)},p(f,u){u&256&&(n.checked=f[8])},d(f){f&&Y(e),l=!1,o()}}}function x8(i){let e,t,n=i[0]&&IS(i);return{c(){n&&n.c(),e=fi()},m(r,s){n&&n.m(r,s),V(r,e,s),t=!0},p(r,[s]){r[0]?n?(n.p(r,s),s&1&&D(n,1)):(n=IS(r),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(et(),G(n,1,1,()=>{n=null}),tt())},i(r){t||(D(n),t=!0)},o(r){G(n),t=!1},d(r){r&&Y(e),n&&n.d(r)}}}function Mn(i,e){return i.indexOf(e)!==-1}function C8(i,e,t){const n=Bn();let{active:r}=e,{stdFlags:s=[]}=e,l=!1,o=1,f=!1,u=!1,h=!1,O=!1,p=!1,g=!1,b=!1;function $(Oe){const fe=Oe*1e3;fe!==Math.floor(fe)&&t(2,o=Math.floor(fe)/1e3)}function Q(){t(3,l=!1),t(2,o=1),t(4,f=!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 W(Oe){t(3,l=Oe.enableTimeLimit),t(2,o=Oe.timeLimit),t(4,f=Oe.allSolutions),t(5,u=Oe.verboseCompilation),t(6,h=Oe.verboseSolving),t(7,O=Oe.compilerStatistics),t(8,p=Oe.solvingStatistics),t(9,g=Oe.outputTime),t(10,b=Oe.freeSearch)}function x(){return{enableTimeLimit:l,timeLimit:o,allSolutions:f,verboseCompilation:u,verboseSolving:h,compilerStatistics:O,solvingStatistics:p,outputTime:g,freeSearch:b}}function Z(Oe){const fe={solver:Oe};return l&&o>0&&(fe["time-limit"]=o*1e3),f&&Mn(s,"-a")&&(fe["all-satisfaction"]=!0),u&&(fe["verbose-compilation"]=!0),h&&Mn(s,"-v")&&(fe["verbose-solving"]=!0),O&&(fe["compiler-statistics"]=!0),p&&Mn(s,"-s")&&(fe["solver-statistics"]=!0),g&&(fe["output-time"]=!0),b&&Mn(s,"-f")&&(fe["free-search"]=!0),fe}function X(Oe){const fe={solver:Oe};return u&&(fe["verbose-compilation"]=!0),O&&(fe["compiler-statistics"]=!0),fe}const T=()=>n("close");function U(){l=this.checked,t(3,l)}function L(){o=Eo(this.value),t(2,o)}function E(){f=this.checked,t(4,f)}function j(){b=this.checked,t(10,b)}function z(){u=this.checked,t(5,u)}function oe(){h=this.checked,t(6,h)}function pe(){O=this.checked,t(7,O)}function _e(){p=this.checked,t(8,p)}function we(){g=this.checked,t(9,g)}const Me=()=>n("close");return i.$$set=Oe=>{"active"in Oe&&t(0,r=Oe.active),"stdFlags"in Oe&&t(1,s=Oe.stdFlags)},i.$$.update=()=>{i.$$.dirty&4&&$(o)},[r,s,o,l,f,u,h,O,p,g,b,n,Q,W,x,Z,X,T,U,L,E,j,z,oe,pe,_e,we,Me]}class X8 extends Ai{constructor(e){super(),Ri(this,e,C8,x8,Zi,{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 GS(i,e,t){const n=i.slice();return n[13]=e[t],n}const T8=i=>({item:i&2}),FS=i=>({item:i[13]}),Z8=i=>({item:i&4}),HS=i=>({item:i[2]});function KS(i){let e;const t=i[8].selected,n=an(t,i,i[7],HS),r=n||R8(i);return{c(){r&&r.c()},m(s,l){r&&r.m(s,l),e=!0},p(s,l){n?n.p&&(!e||l&132)&&cn(n,t,s,s[7],e?fn(t,s[7],l,Z8):un(s[7]),HS):r&&r.p&&(!e||l&4)&&r.p(s,e?l:-1)},i(s){e||(D(r,s),e=!0)},o(s){G(r,s),e=!1},d(s){r&&r.d(s)}}}function R8(i){let e=i[2].label+"",t;return{c(){t=be(e)},m(n,r){V(n,t,r)},p(n,r){r&4&&e!==(e=n[2].label+"")&&Le(t,e)},d(n){n&&Y(t)}}}function A8(i){let e=i[13].label+"",t;return{c(){t=be(e)},m(n,r){V(n,t,r)},p(n,r){r&2&&e!==(e=n[13].label+"")&&Le(t,e)},d(n){n&&Y(t)}}}function JS(i){let e,t,n,r,s;const l=i[8].item,o=an(l,i,i[7],FS),f=o||A8(i);function u(){return i[10](i[13])}return{c(){e=k("a"),f&&f.c(),t=I(),y(e,"href","javascript:void(0);"),y(e,"class","dropdown-item"),le(e,"is-active",i[2]===i[13])},m(h,O){V(h,e,O),f&&f.m(e,null),v(e,t),n=!0,r||(s=re(e,"click",u),r=!0)},p(h,O){i=h,o?o.p&&(!n||O&130)&&cn(o,l,i,i[7],n?fn(l,i[7],O,T8):un(i[7]),FS):f&&f.p&&(!n||O&2)&&f.p(i,n?O:-1),(!n||O&6)&&le(e,"is-active",i[2]===i[13])},i(h){n||(D(f,h),n=!0)},o(h){G(f,h),n=!1},d(h){h&&Y(e),f&&f.d(h),r=!1,s()}}}function U8(i){let e,t,n,r,s,l,o,f,u,h,O,p,g,b,$=i[2]&&KS(i);f=new _t({props:{icon:H4}});let Q=it(i[1]),W=[];for(let Z=0;ZG(W[Z],1,1,()=>{W[Z]=null});return{c(){e=I(),t=k("div"),n=k("div"),r=k("button"),s=k("span"),$&&$.c(),l=I(),o=k("span"),Ve(f.$$.fragment),u=I(),h=k("div"),O=k("div");for(let Z=0;Z{$=null}),tt()),(!p||X&8)&&(r.disabled=Z[3]),X&166){Q=it(Z[1]);let T;for(T=0;Tt(0,f=!f),b=Q=>O(Q);function $(Q){ui[Q?"unshift":"push"](()=>{h=Q,t(4,h)})}return i.$$set=Q=>{"items"in Q&&t(1,l=Q.items),"currentItem"in Q&&t(2,o=Q.currentItem),"active"in Q&&t(0,f=Q.active),"disabled"in Q&&t(3,u=Q.disabled),"$$scope"in Q&&t(7,r=Q.$$scope)},[f,l,o,u,h,O,p,r,n,g,b,$]}class V8 extends Ai{constructor(e){super(),Ri(this,e,Y8,U8,Zi,{items:1,currentItem:2,active:0,disabled:3})}}const Xy=qe.define({map:(i,e)=>({from:e.mapPos(i.from),to:e.mapPos(i.to),msg:i.msg,type:i.type})}),Ty=qe.define(),eb=$i.define({create(){return xe.none},update(i,e){i=i.map(e.changes);for(const t of e.effects)t.is(Ty)&&(i=xe.none),t.is(Xy)&&(i=i.update({add:[xe.mark({class:`cm-mzn-underline-${t.value.type}`,attributes:{title:t.value.msg}}).range(t.value.from,t.value.to)]}));return i},provide:i=>$e.decorations.from(i)});function od(i,e,t){let n,r=1,s=1;for(n=0;n=i&&s>=e)return n;s++,t[n]===` -`&&(r++,s=1)}return n}function q8(i,e,t){const n=e.map(r=>Xy.of({from:od(r.location.firstLine,r.location.firstColumn,i),to:od(r.location.lastLine,r.location.lastColumn,i)+1,msg:`${r.type==="error"?"Error":"Warning"}: ${r.what}: ${r.message}`,type:r.type}));t.state.field(eb,!1)||n.push(qe.appendConfig.of([eb])),t.dispatch({effects:[Ty.of(null),...n]})}const E8=i=>({}),tb=i=>({}),M8=i=>({}),ib=i=>({}),D8=i=>({}),nb=i=>({}),z8=i=>({}),rb=i=>({});function sb(i,e,t){const n=i.slice();return n[149]=e[t],n[151]=t,n}const I8=i=>({}),lb=i=>({});function ob(i,e,t){const n=i.slice();return n[149]=e[t],n[151]=t,n}const N8=i=>({}),ab=i=>({}),L8=i=>({}),fb=i=>({});function B8(i){let e,t,n,r,s,l,o,f,u;return s=new _t({props:{icon:J4}}),{c(){e=k("button"),t=k("span"),t.textContent="Run",n=I(),r=k("span"),Ve(s.$$.fragment),y(r,"class","icon"),y(e,"class","button is-primary"),y(e,"title","Run the current file"),e.disabled=l=!i[49]},m(h,O){V(h,e,O),v(e,t),v(e,n),v(e,r),Ue(s,r,null),o=!0,f||(u=re(e,"click",i[60]),f=!0)},p(h,O){(!o||O[1]&262144&&l!==(l=!h[49]))&&(e.disabled=l)},i(h){o||(D(s.$$.fragment,h),o=!0)},o(h){G(s.$$.fragment,h),o=!1},d(h){h&&Y(e),Ye(s),f=!1,u()}}}function j8(i){let e,t,n,r,s,l,o,f;return s=new _t({props:{icon:F4}}),{c(){e=k("button"),t=k("span"),t.textContent="Stop",n=I(),r=k("span"),Ve(s.$$.fragment),y(r,"class","icon"),y(e,"class","button is-danger"),y(e,"title","Cancel solving")},m(u,h){V(u,e,h),v(e,t),v(e,n),v(e,r),Ue(s,r,null),l=!0,o||(f=re(e,"click",i[62]),o=!0)},p:Ce,i(u){l||(D(s.$$.fragment,u),l=!0)},o(u){G(s.$$.fragment,u),l=!1},d(u){u&&Y(e),Ye(s),o=!1,f()}}}function cb(i){let e,t,n,r,s,l;return{c(){e=k("div"),t=k("button"),n=k("span"),n.textContent="Compile",y(t,"class","button"),y(t,"title","Compile the current file and show the resultant FlatZinc"),t.disabled=r=i[46]||!i[48],y(e,"class","control is-hidden-mobile")},m(o,f){V(o,e,f),v(e,t),v(t,n),s||(l=re(t,"click",i[61]),s=!0)},p(o,f){f[1]&163840&&r!==(r=o[46]||!o[48])&&(t.disabled=r)},d(o){o&&Y(e),s=!1,l()}}}function ub(i){let e,t,n;return t=new V8({props:{items:i[51],currentItem:i[0]?i[18].edge:i[18].latest,disabled:i[46],$$slots:{item:[G8,({item:r})=>({153:r}),({item:r})=>[0,0,0,0,r?536870912:0]]},$$scope:{ctx:i}}}),t.$on("selectItem",i[69]),{c(){e=k("div"),Ve(t.$$.fragment),y(e,"class","control is-hidden-mobile")},m(r,s){V(r,e,s),Ue(t,e,null),n=!0},p(r,s){const l={};s[1]&1048576&&(l.items=r[51]),s[0]&262145&&(l.currentItem=r[0]?r[18].edge:r[18].latest),s[1]&32768&&(l.disabled=r[46]),s[4]&536871168&&(l.$$scope={dirty:s,ctx:r}),t.$set(l)},i(r){n||(D(t.$$.fragment,r),n=!0)},o(r){G(t.$$.fragment,r),n=!1},d(r){r&&Y(e),Ye(t)}}}function G8(i){let e,t=i[153].label+"",n,r,s=i[153].detail+"",l,o;return{c(){e=k("span"),n=be(t),r=be(" ("),l=be(s),o=be(")"),y(e,"slot","item")},m(f,u){V(f,e,u),v(e,n),v(e,r),v(e,l),v(e,o)},p(f,u){u[4]&536870912&&t!==(t=f[153].label+"")&&Le(n,t),u[4]&536870912&&s!==(s=f[153].detail+"")&&Le(l,s)},d(f){f&&Y(e)}}}function hb(i){let e,t,n,r,s,l=it(i[23]),o=[];for(let f=0;fi[88].call(n)),y(t,"class","select is-fullwidth"),y(e,"class","control is-expanded is-hidden-tablet")},m(f,u){V(f,e,u),v(e,t),v(t,n);for(let h=0;hSolver:',r=I(),s=k("div"),l=k("div"),o=k("select");for(let $=0;$i[89].call(o)),y(l,"class","select is-fullwidth"),y(s,"class","control is-expanded"),y(t,"class","field has-addons"),y(e,"class","navbar-item is-hidden-mobile")},m($,Q){V($,e,Q),v(e,t),v(t,n),v(t,r),v(t,s),v(s,l),v(l,o);for(let W=0;W{b=null}),tt())},i($){u||(D(b),u=!0)},o($){G(b),u=!1},d($){$&&Y(e),vi(g,$),b&&b.d(),h=!1,O()}}}function pb(i){let e,t=i[149].name+"",n,r,s=i[149].version+"",l,o;return{c(){e=k("option"),n=be(t),r=I(),l=be(s),o=I(),e.__value=i[151],zi(e,e.__value)},m(f,u){V(f,e,u),v(e,n),v(e,r),v(e,l),v(e,o)},p(f,u){u[0]&8388608&&t!==(t=f[149].name+"")&&Le(n,t),u[0]&8388608&&s!==(s=f[149].version+"")&&Le(l,s)},d(f){f&&Y(e)}}}function gb(i){let e,t,n,r,s,l,o;return r=new _t({props:{icon:SQ}}),{c(){e=k("div"),t=k("button"),n=k("span"),Ve(r.$$.fragment),y(n,"class","icon"),y(t,"class","button is-primary"),y(e,"class","control")},m(f,u){V(f,e,u),v(e,t),v(t,n),Ue(r,n,null),s=!0,l||(o=re(t,"click",i[52]),l=!0)},p:Ce,i(f){s||(D(r.$$.fragment,f),s=!0)},o(f){G(r.$$.fragment,f),s=!1},d(f){f&&Y(e),Ye(r),l=!1,o()}}}function mb(i){let e,t,n,r,s,l,o,f;return r=new _t({props:{icon:pQ}}),{c(){e=k("div"),t=k("button"),n=k("span"),Ve(r.$$.fragment),y(n,"class","icon"),y(t,"class","button is-primary"),y(t,"title","Share"),t.disabled=s=i[17]!==0,y(e,"class","control")},m(u,h){V(u,e,h),v(e,t),v(t,n),Ue(r,n,null),l=!0,o||(f=re(t,"click",i[91]),o=!0)},p(u,h){(!l||h[0]&131072&&s!==(s=u[17]!==0))&&(t.disabled=s)},i(u){l||(D(r.$$.fragment,u),l=!0)},o(u){G(r.$$.fragment,u),l=!1},d(u){u&&Y(e),Ye(r),o=!1,f()}}}function Sb(i){let e,t,n,r,s,l,o,f;return r=new _t({props:{icon:G4}}),{c(){e=k("div"),t=k("button"),n=k("span"),Ve(r.$$.fragment),y(n,"class","icon"),y(t,"class","button"),y(t,"title","Download project"),t.disabled=s=i[36]||i[17]!==0,y(e,"class","control")},m(u,h){V(u,e,h),v(e,t),v(t,n),Ue(r,n,null),l=!0,o||(f=re(t,"click",i[92]),o=!0)},p(u,h){(!l||h[0]&131072|h[1]&32&&s!==(s=u[36]||u[17]!==0))&&(t.disabled=s)},i(u){l||(D(r.$$.fragment,u),l=!0)},o(u){G(r.$$.fragment,u),l=!1},d(u){u&&Y(e),Ye(r),o=!1,f()}}}function bb(i){let e,t,n,r,s,l,o,f;return r=new _t({props:{icon:gQ}}),{c(){e=k("div"),t=k("button"),n=k("span"),Ve(r.$$.fragment),y(n,"class","icon"),y(t,"class","button is-primary"),y(t,"title","Open in playground"),t.disabled=s=i[17]!==0,y(e,"class","control")},m(u,h){V(u,e,h),v(e,t),v(t,n),Ue(r,n,null),l=!0,o||(f=re(t,"click",i[66]),o=!0)},p(u,h){(!l||h[0]&131072&&s!==(s=u[17]!==0))&&(t.disabled=s)},i(u){l||(D(r.$$.fragment,u),l=!0)},o(u){G(r.$$.fragment,u),l=!1},d(u){u&&Y(e),Ye(r),o=!1,f()}}}function $b(i){let e,t,n,r,s,l,o,f;return n=new _t({props:{icon:eC}}),{c(){e=k("a"),t=k("span"),Ve(n.$$.fragment),r=I(),s=k("span"),s.textContent="Compile current file",y(t,"class","icon svelte-nni2dr"),y(e,"class","navbar-item is-hidden-tablet mobile-menu-item svelte-nni2dr"),y(e,"href","javascript:void(0);")},m(u,h){V(u,e,h),v(e,t),Ue(n,t,null),v(e,r),v(e,s),l=!0,o||(f=re(e,"click",i[93]),o=!0)},p:Ce,i(u){l||(D(n.$$.fragment,u),l=!0)},o(u){G(n.$$.fragment,u),l=!1},d(u){u&&Y(e),Ye(n),o=!1,f()}}}function Qb(i){let e,t,n,r,s,l,o,f;return n=new _t({props:{icon:SQ}}),{c(){e=k("a"),t=k("span"),Ve(n.$$.fragment),r=I(),s=k("span"),s.textContent="Solver configuration",y(t,"class","icon svelte-nni2dr"),y(e,"class","navbar-item is-hidden-tablet mobile-menu-item svelte-nni2dr"),y(e,"href","javascript:void(0);")},m(u,h){V(u,e,h),v(e,t),Ue(n,t,null),v(e,r),v(e,s),l=!0,o||(f=re(e,"click",i[94]),o=!0)},p:Ce,i(u){l||(D(n.$$.fragment,u),l=!0)},o(u){G(n.$$.fragment,u),l=!1},d(u){u&&Y(e),Ye(n),o=!1,f()}}}function wb(i){let e,t,n,r,s,l,o=i[0]?"latest":"edge",f,u,h,O,p;return n=new _t({props:{icon:I4}}),{c(){e=k("a"),t=k("span"),Ve(n.$$.fragment),r=I(),s=k("span"),l=be("Switch to the "),f=be(o),u=be(" version of MiniZinc"),y(t,"class","icon svelte-nni2dr"),y(e,"class","navbar-item is-hidden-tablet mobile-menu-item svelte-nni2dr"),y(e,"href","javascript:void(0);")},m(g,b){V(g,e,b),v(e,t),Ue(n,t,null),v(e,r),v(e,s),v(s,l),v(s,f),v(s,u),h=!0,O||(p=re(e,"click",i[95]),O=!0)},p(g,b){(!h||b[0]&1)&&o!==(o=g[0]?"latest":"edge")&&Le(f,o)},i(g){h||(D(n.$$.fragment,g),h=!0)},o(g){G(n.$$.fragment,g),h=!1},d(g){g&&Y(e),Ye(n),O=!1,p()}}}function yb(i){let e,t,n,r,s,l,o,f;return n=new _t({props:{icon:pQ}}),{c(){e=k("a"),t=k("span"),Ve(n.$$.fragment),r=I(),s=k("span"),s.textContent="Share this project",y(t,"class","icon svelte-nni2dr"),y(e,"class","navbar-item is-hidden-tablet mobile-menu-item svelte-nni2dr"),y(e,"href","javascript:void(0);")},m(u,h){V(u,e,h),v(e,t),Ue(n,t,null),v(e,r),v(e,s),l=!0,o||(f=re(e,"click",i[96]),o=!0)},p:Ce,i(u){l||(D(n.$$.fragment,u),l=!0)},o(u){G(n.$$.fragment,u),l=!1},d(u){u&&Y(e),Ye(n),o=!1,f()}}}function vb(i){let e,t,n,r,s,l,o,f;return n=new _t({props:{icon:gQ}}),{c(){e=k("a"),t=k("span"),Ve(n.$$.fragment),r=I(),s=k("span"),s.textContent="Open in MiniZinc Playground",y(t,"class","icon svelte-nni2dr"),y(e,"class","navbar-item is-hidden-tablet mobile-menu-item svelte-nni2dr"),y(e,"href","javascript:void(0);")},m(u,h){V(u,e,h),v(e,t),Ue(n,t,null),v(e,r),v(e,s),l=!0,o||(f=re(e,"click",i[97]),o=!0)},p:Ce,i(u){l||(D(n.$$.fragment,u),l=!0)},o(u){G(n.$$.fragment,u),l=!1},d(u){u&&Y(e),Ye(n),o=!1,f()}}}function Pb(i){let e,t,n={state:i[50]};return e=new k4({props:n}),i[110](e),{c(){Ve(e.$$.fragment)},m(r,s){Ue(e,r,s),t=!0},p(r,s){const l={};s[1]&524288&&(l.state=r[50]),e.$set(l)},i(r){t||(D(e.$$.fragment,r),t=!0)},o(r){G(e.$$.fragment,r),t=!1},d(r){i[110](null),Ye(e,r)}}}function F8(i){let e,t,n,r,s,l;n=new fC({props:{files:i[19],currentIndex:i[20],readonly:!i[6]}}),n.$on("selectTab",i[105]),n.$on("reorder",i[106]),n.$on("newFile",i[107]),n.$on("rename",i[56]),n.$on("close",i[108]),n.$on("manageFiles",i[109]);let o=i[50]&&Pb(i);return{c(){e=k("div"),t=k("div"),Ve(n.$$.fragment),r=I(),s=k("div"),o&&o.c(),y(t,"class","top svelte-nni2dr"),y(s,"class","grow svelte-nni2dr"),y(e,"class","panel stack svelte-nni2dr"),y(e,"slot","panelA")},m(f,u){V(f,e,u),v(e,t),Ue(n,t,null),v(e,r),v(e,s),o&&o.m(s,null),l=!0},p(f,u){const h={};u[0]&524288&&(h.files=f[19]),u[0]&1048576&&(h.currentIndex=f[20]),u[0]&64&&(h.readonly=!f[6]),n.$set(h),f[50]?o?(o.p(f,u),u[1]&524288&&D(o,1)):(o=Pb(f),o.c(),D(o,1),o.m(s,null)):o&&(et(),G(o,1,1,()=>{o=null}),tt())},i(f){l||(D(n.$$.fragment,f),D(o),l=!0)},o(f){G(n.$$.fragment,f),G(o),l=!1},d(f){f&&Y(e),Ye(n),o&&o.d()}}}function kb(i){let e,t,n,r,s,l,o,f,u,h,O,p,g=i[12]&&_b(i);return{c(){e=k("div"),t=k("div"),n=k("ul"),r=k("li"),s=k("a"),s.textContent="Output",l=I(),o=k("li"),f=k("a"),f.textContent="Visualisation",u=I(),g&&g.c(),y(s,"href","javascript:void(0);"),le(r,"is-active",!i[42]),y(f,"href","javascript:void(0);"),le(o,"is-active",i[42]),y(t,"class","tabs is-boxed"),y(e,"class","top svelte-nni2dr")},m(b,$){V(b,e,$),v(e,t),v(t,n),v(n,r),v(r,s),v(n,l),v(n,o),v(o,f),v(n,u),g&&g.m(n,null),h=!0,O||(p=[re(s,"click",i[98]),re(f,"click",i[99])],O=!0)},p(b,$){(!h||$[1]&2048)&&le(r,"is-active",!b[42]),(!h||$[1]&2048)&&le(o,"is-active",b[42]),b[12]?g?(g.p(b,$),$[0]&4096&&D(g,1)):(g=_b(b),g.c(),D(g,1),g.m(n,null)):g&&(et(),G(g,1,1,()=>{g=null}),tt())},i(b){h||(D(g),h=!0)},o(b){G(g),h=!1},d(b){b&&Y(e),g&&g.d(),O=!1,Nt(p)}}}function _b(i){let e,t,n,r,s,l,o;return r=new _t({props:{icon:QQ}}),{c(){e=k("li"),t=k("button"),n=k("span"),Ve(r.$$.fragment),y(n,"class","icon"),y(t,"class","button is-small"),y(t,"title","Switch orientation"),y(e,"class","tab-end svelte-nni2dr")},m(f,u){V(f,e,u),v(e,t),v(t,n),Ue(r,n,null),s=!0,l||(o=re(t,"click",i[68]),l=!0)},p:Ce,i(f){s||(D(r.$$.fragment,f),s=!0)},o(f){G(r.$$.fragment,f),s=!1},d(f){f&&Y(e),Ye(r),l=!1,o()}}}function Wb(i){let e,t,n,r,s,l;return n=new _t({props:{icon:QQ}}),{c(){e=k("button"),t=k("span"),Ve(n.$$.fragment),y(t,"class","icon"),y(e,"class","button is-small"),y(e,"title","Switch orientation")},m(o,f){V(o,e,f),v(e,t),Ue(n,t,null),r=!0,s||(l=re(e,"click",i[68]),s=!0)},p:Ce,i(o){r||(D(n.$$.fragment,o),r=!0)},o(o){G(n.$$.fragment,o),r=!1},d(o){o&&Y(e),Ye(n),s=!1,l()}}}function H8(i){let e,t,n=i[12]&&!i[41]&&Wb(i);return{c(){e=k("p"),n&&n.c(),y(e,"class","control"),y(e,"slot","before-right-controls")},m(r,s){V(r,e,s),n&&n.m(e,null),t=!0},p(r,s){r[12]&&!r[41]?n?(n.p(r,s),s[0]&4096|s[1]&1024&&D(n,1)):(n=Wb(r),n.c(),D(n,1),n.m(e,null)):n&&(et(),G(n,1,1,()=>{n=null}),tt())},i(r){t||(D(n),t=!0)},o(r){G(n),t=!1},d(r){r&&Y(e),n&&n.d()}}}function K8(i){let e,t,n,r,s,l,o,f,u,h,O=i[41]&&kb(i),p={};s=new s8({props:p}),i[100](s),s.$on("solve",i[101]);function g($){i[102]($)}let b={output:i[32],showClearOutput:i[13],showAutoClearOutput:i[14],showSectionToggles:i[15],showRightControls:i[16],isTab:i[41],$$slots:{"before-right-controls":[H8]},$$scope:{ctx:i}};return i[1]!==void 0&&(b.autoClearOutput=i[1]),f=new e8({props:b}),ui.push(()=>Ao(f,"autoClearOutput",g)),f.$on("clear",i[103]),f.$on("goto",i[104]),{c(){e=k("div"),O&&O.c(),t=I(),n=k("div"),r=k("div"),Ve(s.$$.fragment),l=I(),o=k("div"),Ve(f.$$.fragment),y(r,"class","tab-window svelte-nni2dr"),le(r,"visible",i[42]),y(o,"class","tab-window svelte-nni2dr"),le(o,"visible",!i[41]||!i[42]),y(n,"class","grow svelte-nni2dr"),y(e,"class","panel stack svelte-nni2dr"),y(e,"slot","panelB")},m($,Q){V($,e,Q),O&&O.m(e,null),v(e,t),v(e,n),v(n,r),Ue(s,r,null),v(n,l),v(n,o),Ue(f,o,null),h=!0},p($,Q){$[41]?O?(O.p($,Q),Q[1]&1024&&D(O,1)):(O=kb($),O.c(),D(O,1),O.m(e,t)):O&&(et(),G(O,1,1,()=>{O=null}),tt());const W={};s.$set(W),(!h||Q[1]&2048)&&le(r,"visible",$[42]);const x={};Q[1]&2&&(x.output=$[32]),Q[0]&8192&&(x.showClearOutput=$[13]),Q[0]&16384&&(x.showAutoClearOutput=$[14]),Q[0]&32768&&(x.showSectionToggles=$[15]),Q[0]&65536&&(x.showRightControls=$[16]),Q[1]&1024&&(x.isTab=$[41]),Q[0]&4096|Q[1]&1024|Q[4]&256&&(x.$$scope={dirty:Q,ctx:$}),!u&&Q[0]&2&&(u=!0,x.autoClearOutput=$[1],Ro(()=>u=!1)),f.$set(x),(!h||Q[1]&3072)&&le(o,"visible",!$[41]||!$[42])},i($){h||(D(O),D(s.$$.fragment,$),D(f.$$.fragment,$),h=!0)},o($){G(O),G(s.$$.fragment,$),G(f.$$.fragment,$),h=!1},d($){$&&Y(e),O&&O.d(),i[100](null),Ye(s),Ye(f)}}}function J8(i){let e,t,n,r=i[19][i[28]].name+"",s,l,o,f;return{c(){e=k("p"),t=be("Are you sure you wish to delete "),n=k("code"),s=be(r),l=be("?"),o=I(),f=k("p"),f.textContent="This cannot be undone."},m(u,h){V(u,e,h),v(e,t),v(e,n),v(n,s),v(e,l),V(u,o,h),V(u,f,h)},p(u,h){h[0]&268959744&&r!==(r=u[19][u[28]].name+"")&&Le(s,r)},d(u){u&&(Y(e),Y(o),Y(f))}}}function e6(i){let e,t,n,r,s,l;return{c(){e=k("div"),t=k("button"),t.textContent="Delete",n=I(),r=k("button"),r.textContent="Cancel",y(t,"class","button is-danger"),y(r,"class","button"),y(e,"slot","footer")},m(o,f){V(o,e,f),v(e,t),v(e,n),v(e,r),s||(l=[re(t,"click",i[121]),re(r,"click",i[122])],s=!0)},p:Ce,d(o){o&&Y(e),s=!1,Nt(l)}}}function t6(i){let e,t,n,r,s,l,o,f,u,h,O;return f=new _t({props:{icon:N4}}),{c(){e=k("div"),t=k("p"),n=k("input"),r=I(),s=k("p"),l=k("button"),o=k("span"),Ve(f.$$.fragment),y(n,"class","input"),y(n,"type","text"),n.value=i[38],n.readOnly=!0,y(t,"class","control is-expanded"),y(o,"class","icon"),y(l,"class","button"),le(l,"is-primary",!i[39]),le(l,"is-success",i[39]),y(s,"class","control"),y(e,"class","field has-addons")},m(p,g){V(p,e,g),v(e,t),v(t,n),i[129](n),v(e,r),v(e,s),v(s,l),v(l,o),Ue(f,o,null),u=!0,h||(O=[re(n,"click",i[130]),re(l,"click",i[65])],h=!0)},p(p,g){(!u||g[1]&128&&n.value!==p[38])&&(n.value=p[38]),(!u||g[1]&256)&&le(l,"is-primary",!p[39]),(!u||g[1]&256)&&le(l,"is-success",p[39])},i(p){u||(D(f.$$.fragment,p),u=!0)},o(p){G(f.$$.fragment,p),u=!1},d(p){p&&Y(e),i[129](null),Ye(f),h=!1,Nt(O)}}}function i6(i){let e,t,n,r;return{c(){e=k("div"),t=k("button"),t.textContent="Done",y(t,"class","button is-primary"),y(e,"slot","footer")},m(s,l){V(s,e,l),v(e,t),n||(r=re(t,"click",i[128]),n=!0)},p:Ce,d(s){s&&Y(e),n=!1,r()}}}function n6(i){let e,t,n,r,s,l,o,f,u,h,O,p,g,b,$,Q,W,x,Z,X,T,U,L,E,j,z,oe,pe,_e,we,Me,Oe,fe,Xe,De,mt,dt,Lt,ti,Wt,xt,Zt,Se,te,H,ie,ae,He,Ke,lt,ht,Je,se,Qi,Rt,ft,ze,St,Ot,Ge,ct,Qt,ii,nt;const Wn=i[87]["navbar-before-run-buttons"],ci=an(Wn,i,i[132],fb),Oi=[j8,B8],en=[];function xn(N,ce){return N[46]?0:1}h=xn(i),O=en[h]=Oi[h](i);let ni=i[7]&&cb(i),pt=i[4]&&ub(i);const fr=i[87]["navbar-run-buttons"],di=an(fr,i,i[132],ab);let wi=i[5]&&i[23].length>0&&hb(i);const jr=i[87]["navbar-after-run-buttons"],Ui=an(jr,i,i[132],lb);let Vt=i[5]&&i[23].length>0&&db(i);const xr=i[87]["navbar-after-solver-selector"],ri=an(xr,i,i[132],rb),Gr=i[87]["navbar-before-share-buttons"],Li=an(Gr,i,i[132],nb);let qt=i[9]&&mb(i),Et=i[10]&&Sb(i),Bt=i[11]&&bb(i);const vt=i[87]["navbar-share-buttons"],Yi=an(vt,i,i[132],ib);let Mt=i[7]&&!i[46]&&i[48]&&$b(i),Dt=i[8]&&i[5]&&i[23].length>0&&Qb(i),Ct=i[4]&&!i[46]&&wb(i),jt=i[9]&&i[17]===0&&yb(i),Pt=i[11]&&i[17]===0&&vb(i);const dn=i[87]["navbar-after-share-buttons"],ki=an(dn,i,i[132],tb);function Fr(N){i[111](N)}let Hs={direction:i[2],showPanels:i[47],$$slots:{panelB:[K8],panelA:[F8]},$$scope:{ctx:i}};i[3]!==void 0&&(Hs.split=i[3]),ie=new U4({props:Hs}),ui.push(()=>Ao(ie,"split",Fr));let Ks={active:i[34],stdFlags:i[44]};return Ke=new X8({props:Ks}),i[112](Ke),Ke.$on("close",i[113]),ht=new g8({props:{active:i[29],files:i[19]}}),ht.$on("close",i[114]),ht.$on("delete",i[115]),ht.$on("modifyFile",i[116]),ht.$on("newFile",i[117]),se=new f8({props:{active:i[27]}}),se.$on("cancel",i[118]),se.$on("new",i[119]),se.$on("open",i[120]),Rt=new Vl({props:{active:i[28]!==null,title:"Delete file",$$slots:{footer:[e6],default:[J8]},$$scope:{ctx:i}}}),Rt.$on("cancel",i[123]),ze=new Q8({props:{active:i[30],modelFiles:i[43]}}),ze.$on("accept",i[124]),ze.$on("cancel",i[125]),Ot=new W8({props:{active:i[31],dataFiles:i[45],parameters:i[33]}}),Ot.$on("accept",i[126]),Ot.$on("cancel",i[127]),ct=new Vl({props:{active:i[38],title:"Share this project",$$slots:{footer:[i6],default:[t6]},$$scope:{ctx:i}}}),ct.$on("cancel",i[131]),{c(){e=k("div"),t=k("div"),n=k("div"),r=k("nav"),s=k("div"),ci&&ci.c(),l=I(),o=k("div"),f=k("div"),u=k("div"),O.c(),p=I(),ni&&ni.c(),g=I(),pt&&pt.c(),b=I(),di&&di.c(),$=I(),wi&&wi.c(),Q=I(),Ui&&Ui.c(),W=I(),Vt&&Vt.c(),x=I(),ri&&ri.c(),Z=I(),X=k("a"),T=k("span"),U=I(),L=k("span"),E=I(),j=k("span"),z=I(),oe=k("div"),pe=k("div"),_e=I(),we=k("div"),Li&&Li.c(),Me=I(),Oe=k("div"),fe=k("div"),qt&&qt.c(),Xe=I(),Et&&Et.c(),De=I(),Bt&&Bt.c(),mt=I(),Yi&&Yi.c(),dt=I(),Mt&&Mt.c(),Lt=I(),Dt&&Dt.c(),ti=I(),Ct&&Ct.c(),Wt=I(),jt&&jt.c(),xt=I(),Pt&&Pt.c(),Zt=I(),ki&&ki.c(),Se=I(),te=k("div"),H=k("div"),Ve(ie.$$.fragment),He=I(),Ve(Ke.$$.fragment),lt=I(),Ve(ht.$$.fragment),Je=I(),Ve(se.$$.fragment),Qi=I(),Ve(Rt.$$.fragment),ft=I(),Ve(ze.$$.fragment),St=I(),Ve(Ot.$$.fragment),Ge=I(),Ve(ct.$$.fragment),y(u,"class","control"),y(f,"class","field has-addons navbar-run-buttons svelte-nni2dr"),y(o,"class","navbar-item is-expanded"),y(T,"aria-hidden","true"),y(L,"aria-hidden","true"),y(j,"aria-hidden","true"),y(X,"role","button"),y(X,"class","navbar-burger"),y(X,"aria-label","menu"),y(X,"aria-expanded",i[25]),le(X,"is-active",i[25]),y(s,"class","navbar-brand"),y(pe,"class","navbar-start is-hidden-tablet"),y(fe,"class","field has-addons"),y(Oe,"class","navbar-item is-hidden-mobile"),y(we,"class","navbar-end"),y(oe,"class","navbar-menu"),le(oe,"is-active",i[25]),y(r,"class","navbar"),y(n,"class","top svelte-nni2dr"),y(H,"class","left svelte-nni2dr"),y(te,"class","grow main-panel svelte-nni2dr"),y(t,"class","stack svelte-nni2dr"),y(e,"class","mzn-playground svelte-nni2dr"),le(e,"is-dark",i[22])},m(N,ce){V(N,e,ce),v(e,t),v(t,n),v(n,r),v(r,s),ci&&ci.m(s,null),v(s,l),v(s,o),v(o,f),v(f,u),en[h].m(u,null),v(f,p),ni&&ni.m(f,null),v(f,g),pt&&pt.m(f,null),v(f,b),di&&di.m(f,null),v(f,$),wi&&wi.m(f,null),v(s,Q),Ui&&Ui.m(s,null),v(s,W),Vt&&Vt.m(s,null),v(s,x),ri&&ri.m(s,null),v(s,Z),v(s,X),v(X,T),v(X,U),v(X,L),v(X,E),v(X,j),v(r,z),v(r,oe),v(oe,pe),v(oe,_e),v(oe,we),Li&&Li.m(we,null),v(we,Me),v(we,Oe),v(Oe,fe),qt&&qt.m(fe,null),v(fe,Xe),Et&&Et.m(fe,null),v(fe,De),Bt&&Bt.m(fe,null),v(fe,mt),Yi&&Yi.m(fe,null),v(we,dt),Mt&&Mt.m(we,null),v(we,Lt),Dt&&Dt.m(we,null),v(we,ti),Ct&&Ct.m(we,null),v(we,Wt),jt&&jt.m(we,null),v(we,xt),Pt&&Pt.m(we,null),v(we,Zt),ki&&ki.m(we,null),v(t,Se),v(t,te),v(te,H),Ue(ie,H,null),v(te,He),Ue(Ke,te,null),v(e,lt),Ue(ht,e,null),v(e,Je),Ue(se,e,null),v(e,Qi),Ue(Rt,e,null),v(e,ft),Ue(ze,e,null),v(e,St),Ue(Ot,e,null),v(e,Ge),Ue(ct,e,null),Qt=!0,ii||(nt=re(X,"click",i[90]),ii=!0)},p(N,ce){ci&&ci.p&&(!Qt||ce[4]&256)&&cn(ci,Wn,N,N[132],Qt?fn(Wn,N[132],ce,L8):un(N[132]),fb);let Hr=h;h=xn(N),h===Hr?en[h].p(N,ce):(et(),G(en[Hr],1,1,()=>{en[Hr]=null}),tt(),O=en[h],O?O.p(N,ce):(O=en[h]=Oi[h](N),O.c()),D(O,1),O.m(u,null)),N[7]?ni?ni.p(N,ce):(ni=cb(N),ni.c(),ni.m(f,g)):ni&&(ni.d(1),ni=null),N[4]?pt?(pt.p(N,ce),ce[0]&16&&D(pt,1)):(pt=ub(N),pt.c(),D(pt,1),pt.m(f,b)):pt&&(et(),G(pt,1,1,()=>{pt=null}),tt()),di&&di.p&&(!Qt||ce[4]&256)&&cn(di,fr,N,N[132],Qt?fn(fr,N[132],ce,N8):un(N[132]),ab),N[5]&&N[23].length>0?wi?wi.p(N,ce):(wi=hb(N),wi.c(),wi.m(f,null)):wi&&(wi.d(1),wi=null),Ui&&Ui.p&&(!Qt||ce[4]&256)&&cn(Ui,jr,N,N[132],Qt?fn(jr,N[132],ce,I8):un(N[132]),lb),N[5]&&N[23].length>0?Vt?(Vt.p(N,ce),ce[0]&8388640&&D(Vt,1)):(Vt=db(N),Vt.c(),D(Vt,1),Vt.m(s,x)):Vt&&(et(),G(Vt,1,1,()=>{Vt=null}),tt()),ri&&ri.p&&(!Qt||ce[4]&256)&&cn(ri,xr,N,N[132],Qt?fn(xr,N[132],ce,z8):un(N[132]),rb),(!Qt||ce[0]&33554432)&&y(X,"aria-expanded",N[25]),(!Qt||ce[0]&33554432)&&le(X,"is-active",N[25]),Li&&Li.p&&(!Qt||ce[4]&256)&&cn(Li,Gr,N,N[132],Qt?fn(Gr,N[132],ce,D8):un(N[132]),nb),N[9]?qt?(qt.p(N,ce),ce[0]&512&&D(qt,1)):(qt=mb(N),qt.c(),D(qt,1),qt.m(fe,Xe)):qt&&(et(),G(qt,1,1,()=>{qt=null}),tt()),N[10]?Et?(Et.p(N,ce),ce[0]&1024&&D(Et,1)):(Et=Sb(N),Et.c(),D(Et,1),Et.m(fe,De)):Et&&(et(),G(Et,1,1,()=>{Et=null}),tt()),N[11]?Bt?(Bt.p(N,ce),ce[0]&2048&&D(Bt,1)):(Bt=bb(N),Bt.c(),D(Bt,1),Bt.m(fe,mt)):Bt&&(et(),G(Bt,1,1,()=>{Bt=null}),tt()),Yi&&Yi.p&&(!Qt||ce[4]&256)&&cn(Yi,vt,N,N[132],Qt?fn(vt,N[132],ce,M8):un(N[132]),ib),N[7]&&!N[46]&&N[48]?Mt?(Mt.p(N,ce),ce[0]&128|ce[1]&163840&&D(Mt,1)):(Mt=$b(N),Mt.c(),D(Mt,1),Mt.m(we,Lt)):Mt&&(et(),G(Mt,1,1,()=>{Mt=null}),tt()),N[8]&&N[5]&&N[23].length>0?Dt?(Dt.p(N,ce),ce[0]&8388896&&D(Dt,1)):(Dt=Qb(N),Dt.c(),D(Dt,1),Dt.m(we,ti)):Dt&&(et(),G(Dt,1,1,()=>{Dt=null}),tt()),N[4]&&!N[46]?Ct?(Ct.p(N,ce),ce[0]&16|ce[1]&32768&&D(Ct,1)):(Ct=wb(N),Ct.c(),D(Ct,1),Ct.m(we,Wt)):Ct&&(et(),G(Ct,1,1,()=>{Ct=null}),tt()),N[9]&&N[17]===0?jt?(jt.p(N,ce),ce[0]&131584&&D(jt,1)):(jt=yb(N),jt.c(),D(jt,1),jt.m(we,xt)):jt&&(et(),G(jt,1,1,()=>{jt=null}),tt()),N[11]&&N[17]===0?Pt?(Pt.p(N,ce),ce[0]&133120&&D(Pt,1)):(Pt=vb(N),Pt.c(),D(Pt,1),Pt.m(we,Zt)):Pt&&(et(),G(Pt,1,1,()=>{Pt=null}),tt()),ki&&ki.p&&(!Qt||ce[4]&256)&&cn(ki,dn,N,N[132],Qt?fn(dn,N[132],ce,E8):un(N[132]),tb),(!Qt||ce[0]&33554432)&&le(oe,"is-active",N[25]);const Cr={};ce[0]&4&&(Cr.direction=N[2]),ce[1]&65536&&(Cr.showPanels=N[47]),ce[0]&958001218|ce[1]&527874|ce[4]&256&&(Cr.$$scope={dirty:ce,ctx:N}),!ae&&ce[0]&8&&(ae=!0,Cr.split=N[3],Ro(()=>ae=!1)),ie.$set(Cr);const xs={};ce[1]&8&&(xs.active=N[34]),ce[1]&8192&&(xs.stdFlags=N[44]),Ke.$set(xs);const Xr={};ce[0]&536870912&&(Xr.active=N[29]),ce[0]&524288&&(Xr.files=N[19]),ht.$set(Xr);const Js={};ce[0]&134217728&&(Js.active=N[27]),se.$set(Js);const Vi={};ce[0]&268435456&&(Vi.active=N[28]!==null),ce[0]&268959744|ce[4]&256&&(Vi.$$scope={dirty:ce,ctx:N}),Rt.$set(Vi);const tn={};ce[0]&1073741824&&(tn.active=N[30]),ce[1]&4096&&(tn.modelFiles=N[43]),ze.$set(tn);const Cn={};ce[1]&1&&(Cn.active=N[31]),ce[1]&16384&&(Cn.dataFiles=N[45]),ce[1]&4&&(Cn.parameters=N[33]),Ot.$set(Cn);const Gn={};ce[1]&128&&(Gn.active=N[38]),ce[1]&448|ce[4]&256&&(Gn.$$scope={dirty:ce,ctx:N}),ct.$set(Gn),(!Qt||ce[0]&4194304)&&le(e,"is-dark",N[22])},i(N){Qt||(D(ci,N),D(O),D(pt),D(di,N),D(Ui,N),D(Vt),D(ri,N),D(Li,N),D(qt),D(Et),D(Bt),D(Yi,N),D(Mt),D(Dt),D(Ct),D(jt),D(Pt),D(ki,N),D(ie.$$.fragment,N),D(Ke.$$.fragment,N),D(ht.$$.fragment,N),D(se.$$.fragment,N),D(Rt.$$.fragment,N),D(ze.$$.fragment,N),D(Ot.$$.fragment,N),D(ct.$$.fragment,N),Qt=!0)},o(N){G(ci,N),G(O),G(pt),G(di,N),G(Ui,N),G(Vt),G(ri,N),G(Li,N),G(qt),G(Et),G(Bt),G(Yi,N),G(Mt),G(Dt),G(Ct),G(jt),G(Pt),G(ki,N),G(ie.$$.fragment,N),G(Ke.$$.fragment,N),G(ht.$$.fragment,N),G(se.$$.fragment,N),G(Rt.$$.fragment,N),G(ze.$$.fragment,N),G(Ot.$$.fragment,N),G(ct.$$.fragment,N),Qt=!1},d(N){N&&Y(e),ci&&ci.d(N),en[h].d(),ni&&ni.d(),pt&&pt.d(),di&&di.d(N),wi&&wi.d(),Ui&&Ui.d(N),Vt&&Vt.d(),ri&&ri.d(N),Li&&Li.d(N),qt&&qt.d(),Et&&Et.d(),Bt&&Bt.d(),Yi&&Yi.d(N),Mt&&Mt.d(),Dt&&Dt.d(),Ct&&Ct.d(),jt&&jt.d(),Pt&&Pt.d(),ki&&ki.d(N),Ye(ie),i[112](null),Ye(Ke),Ye(ht),Ye(se),Ye(Rt),Ye(ze),Ye(Ot),Ye(ct),ii=!1,nt()}}}function xb(i,e){i.effects=i.effects?[...i.effects,e]:[e]}function r6(i,e,t){let n,r,s,l,o,f,u,h,O,p,g,b,$,Q,W,x,Z,{$$slots:X={},$$scope:T}=e,{showVersionSwitcher:U=!0}=e,{showSolverDropdown:L=!0}=e,{edgeMiniZinc:E=!1}=e,{autoClearOutput:j=!1}=e,{canEditTabs:z=!0}=e,{compilationEnabled:oe=!0}=e,{project:pe}=e,{enabledSolvers:_e=null}=e,{canEditSolverSettings:we=!0}=e,{showShareButton:Me=!0}=e,{showDownloadButton:Oe=!0}=e,{externalPlaygroundURL:fe=null}=e,{splitterDirection:Xe="vertical"}=e,{splitterSize:De=75}=e,{canSwitchOrientation:mt=!0}=e,{showClearOutput:dt=!0}=e,{showAutoClearOutput:Lt=!0}=e,{showOutputSectionToggles:ti=!0}=e,{showOutputRightControls:Wt=!0}=e,{theme:xt="auto"}=e,{hideOutputOnStartup:Zt=!0}=e,Se=0,te=[],H,ie,ae={latest:{label:"Latest",detail:"stable"},edge:{label:"Edge",detail:"development"}};function He(A){const ue=E?gx:px;if(ie!==ue){t(17,Se++,Se);const me=H;H=new Promise(async(Te,ge)=>{me&&await me,ie&&ie.shutdown(),ie=ue,ie.shutdown(),await ie.init();const[Qe]=/version \d+\.\d+\.\d+(?:, build .*)?$/m.exec(await ie.version()),rt=E?"edge":"latest";t(18,ae={...ae,[rt]:{...ae[rt],detail:Qe}}),t(78,te=await ie.solvers()),await hs(),t(17,Se--,Se),Te()})}return H}const Ke=new Promise((A,ue)=>{Ec(()=>{He(),A();const me=window.matchMedia("(prefers-color-scheme: dark)"),Te=()=>{t(81,Xr=window.matchMedia("(prefers-color-scheme: dark)").matches)};return Te(),me.addEventListener("change",Te),()=>me.removeEventListener("change",Te)})});async function lt(A){t(0,E=A.minizincVersion==="edge"),await Ke,t(19,se=[]),di(A.files),t(20,Rt=A.tab||0),A.solverId&&(await He(),t(21,Oi=Q.findIndex(ue=>ue.id===A.solverId))),A.solverConfig&&ft.load(A.solverConfig)}function ht(){return se.length>0}let Je,se=[],Qi=!1,Rt=0,ft,ze=!1,St=null,Ot=!1,Ge=!1,ct=null,Qt=!1,ii=[],nt=null,Wn=[],ci={},Oi=-1;async function en(A,ue){if(await He(),Oi<0||Oi>=Q.length){const me=Q.findIndex(Te=>Te.extraInfo&&Te.extraInfo.isDefault);me!==-1&&t(21,Oi=me)}}let xn=!1;function ni(){t(34,xn=!xn)}async function pt(A){for(Je&&Rt=0&&se[A].hidden;)A--;A===-1&&(A=se.findIndex(ue=>!ue.hidden)),t(20,Rt=A),await hs(),Je&&h&&(Je.focus(),h.scrollTop!==void 0&&Je.getView().requestMeasure({read(ue){ue.scrollDOM.scrollTo(h.scrollLeft,h.scrollTop)}}))}function fr(A){let ue=`Untitled${A}`,me=2;for(;se.find(Te=>Te.name===ue);)ue=`Untitled-${me++}${A}`;t(19,se=[...se,{name:ue,state:at.create({extensions:Mf(A,ce,Z)})}]),pt(se.length-1),t(27,ze=!1)}function di(A){let ue=[];for(const me of A){const Te=me.name.endsWith(".mzc.mzn")?me.name.length-8:me.name.lastIndexOf("."),ge=me.name.substring(0,Te).replaceAll(/[\/\\\.]/g,""),Qe=me.name.substring(Te);let rt=`${ge}${Qe}`,nn=2;for(;se.find(bu=>bu.name===rt);)rt=`${ge}-${nn++}${Qe}`;const si=Mf(Qe,ce,Z,me.readOnly);ue.push({...me,hidden:me.hidden||Qe===".mzc",name:rt,state:at.create({doc:me.contents,extensions:si,selection:{anchor:me.anchor||0}})})}t(19,se=[...se,...ue]),pt(se.length-1),t(27,ze=!1)}function wi(A){const{index:ue,name:me,suffix:Te}=A.detail;let ge=me,Qe=2;for(;se.some(rt=>rt===ge+Te);)ge=`${me}-${Qe++}`;h&&t(83,h.state=Je.getState(),h),t(19,se=[...se.slice(0,ue),{...se[ue],name:me+Te},...se.slice(ue+1)])}function jr(A){const ue=r===1&&!se[A].hidden;t(19,se=[...se.slice(0,A),...se.slice(A+1),...ue?[{name:"Untitled.mzn",state:at.create({extensions:Mf(".mzn",ce,Z)})}]:[]]),Rt>=se.length?pt(se.length-1):pt(Rt),t(28,St=null)}function Ui(A,ue){h&&t(83,h.state=Je.getState(),h);const me={...se[A],...ue};"readOnly"in ue&&xb(me,ue.readOnly?SA:bA),t(19,se=[...se.slice(0,A),me,...se.slice(A+1)]),pt(Rt)}function Vt(A,ue){let me;A0){await hs();const ue=Je.getView();ue&&ue.state===A.state&&(ue.dispatch({effects:A.effects}),A.effects=[])}}let ri=null;async function Gr(A){t(17,Se++,Se),t(83,h.state=Je.getState(),h);let ue=O?h:null;if(!ue){if(b.length===0)return t(17,Se--,Se),!1;if(b.length===1)ue=se.find(ge=>ge.name===b[0]);else try{const ge=await new Promise((Qe,rt)=>{t(35,ri=Qe),t(30,Ge=!0)});if(!ge)return t(17,Se--,Se),!1;ue=se.find(Qe=>Qe.name===ge.modelFile)}finally{t(30,Ge=!1)}}const me=new ie.Model,Te=[ue.name];if(A){const ge=ue.name.substring(0,ue.name.length-4),Qe=se.find(rt=>rt.name===`${ge}.mzc`||rt.name===`${ge}.mzc.mzn`);Qe&&Te.push(Qe.name)}ue!==h&&Te.push(h.name);for(const ge of se)me.addFile(ge.name,ge.state.doc.toString(),Te.indexOf(ge.name)!==-1);try{const{input:ge}=await me.interface({options:ft.getCompilationConfiguration(W.id)});if(Object.keys(ge).length>0){const Qe={};for(const rt in ge)Qe[rt]=ci[rt];t(33,ci=Qe),p&&Wn.indexOf(h.name)===-1&&(Wn=[...Wn,h.name]);try{const rt=await new Promise((nn,si)=>{t(35,ri=nn),t(31,ct=!0)});if(!rt)return t(17,Se--,Se),!1;if(rt.parameters){let nn="";for(const si in rt.parameters)rt.parameters[si].trim().length>0&&(nn+=`${si} = ${rt.parameters[si]}; -`);me.addDznString(nn),t(33,ci=rt.parameters)}else{for(const nn of rt.dataFiles)Te.indexOf(nn)===-1&&(me.addFile(nn),Te.push(nn));Wn=rt.dataFiles}}finally{t(31,ct=!1)}}}catch(ge){console.error(ge)}return t(17,Se--,Se),{model:me,fileList:Te}}async function Li(){if(g){const ge=new ie.Model;ge.addFile(h.name,h.state.doc.toString());const Qe=[h.name],rt=ft.getSolvingConfiguration(W.id);await qt(ge,Qe,rt);return}const A=await Gr(!0);if(!A)return;const{model:ue,fileList:me}=A,Te=ft.getSolvingConfiguration(W.id);await qt(ue,me,Te)}async function qt(A,ue,me){t(79,Qt=!0);const Te=Date.now();j&&t(32,ii=[]),t(32,ii=[...ii,{files:ue,output:[]}]),t(80,nt=A.solve({options:me,jsonOutput:!1})),Yi(),nt.on("error",vt),nt.on("warning",vt),nt.on("solution",ge=>vt(ge,Date.now()-Te)),nt.on("status",ge=>vt(ge,Date.now()-Te)),nt.on("statistics",vt),nt.on("trace",ge=>vt(ge,Date.now()-Te)),nt.on("statistics",vt),nt.on("comment",vt),nt.on("time",vt),nt.on("checker",vt),nt.on("stderr",vt);try{await nt,vt({type:"exit",code:0,runTime:Date.now()-Te})}catch(ge){vt({type:"exit",code:ge.code,runTime:Date.now()-Te})}t(80,nt=null)}async function Et(){t(79,Qt=!0);const A=await Gr(!0);if(!A)return;Yi();const{model:ue,fileList:me}=A,Te=me[0],ge=Date.now();j&&t(32,ii=[]),t(32,ii=[...ii,{files:me,isCompile:!0,output:[]}]),t(80,nt=ue.compile({options:ft.getCompilationConfiguration(W.id)})),nt.on("error",vt),nt.on("warning",vt),nt.on("statistics",vt),nt.on("trace",vt),nt.on("statistics",vt),nt.on("stderr",vt);try{const Qe=await nt;t(19,se=[...se,{name:`${Te.substring(0,Te.indexOf("."))}.fzn`,state:at.create({extensions:Mf(".fzn",ce,Z),doc:Qe})}]),pt(se.length-1),vt({type:"exit",code:0,runTime:Date.now()-ge})}catch(Qe){vt({type:"exit",code:Qe.code,runTime:Date.now()-ge})}t(80,nt=null)}function Bt(){vt({type:"cancel"}),nt.cancel()}function vt(A,ue){Mt(A,ue),ii[ii.length-1].output.push(A),t(32,ii)}function Yi(){Vi&&Vi.reset(),t(41,tn=!1),t(42,Cn=!1)}async function Mt(A,ue){if(A.type==="trace"&&A.section==="vis_json"){tn||(t(41,tn=!0),t(42,Cn=!0)),await hs();const me=se.find(ge=>ge.name===A.message.url);let Te=null;if(me)Te=me.state.doc.toString();else try{Te=await ie.readStdlibFileContents(A.message.url)}catch(ge){console.error(ge);return}if(Te===null){console.error(`Failed to get visualisation file ${A.message.url}`);return}Vi.addVisualisation(Te,A.message.userData);return}if(tn){for(;!Vi;)await hs();switch(A.type){case"solution":Vi.addSolution(A.output.vis_json,"time"in A?A.time:ue);break;case"status":Vi.status(A.status,"time"in A?A.time:ue);break;case"exit":Vi.status("time"in A?A.time:ue);break}}}function Dt(){return h&&t(83,h.state=Je.getState(),h),{files:se.map(A=>({name:A.name,contents:A.state.doc.toString(),...A.hidden?{hidden:!0}:{},...A.readOnly?{readOnly:!0}:{}})),tab:Rt,solverId:W.id,solverConfig:ft.save(),minizincVersion:E?"edge":"latest"}}let Ct=!1;async function jt(){t(36,Ct=!0);try{const A=(await cm(()=>import("./jszip.min-1daeefc5.js").then(si=>si.j),[])).default,ue=(await cm(()=>import("./FileSaver.min-4a8e18f2.js").then(si=>si.F),[])).default,me=Dt(),Te=se.map(si=>si.name),ge=se.filter(si=>!si.hidden).map(si=>si.name);let Qe=W.id;Qe==="org.minizinc.gecode_presolver"?Qe="org.gecode.gecode":Qe==="org.minizinc.chuffed"&&(Qe="org.chuffed.chuffed");const rt=new A;for(const si of me.files)rt.file(si.name,si.contents);rt.file("Project.mzp",JSON.stringify({version:105,projectFiles:Te,openFiles:ge,openTab:me.tab,selectedBuiltinConfigId:Qe,selectedBuiltinConfigVersion:"default"}));const nn=await rt.generateAsync({type:"blob"});ue.saveAs(nn,"Project.zip")}catch(A){console.error(A)}finally{t(36,Ct=!1)}}let Pt,dn=null,ki=!1;function Fr(A){const ue=Dt(),me=new URL(A);return me.hash=`#project=${encodeURIComponent(JSON.stringify(ue))}`,t(39,ki=!1),me.toString()}function Hs(){Pt.select(),Pt.setSelectionRange(0,dn.length),navigator.clipboard.writeText(dn),t(39,ki=!0)}function Ks(){fe&&window.open(Fr(fe),"_blank").focus()}let N=null;async function ce(A){const ue=A.view;if(!(Se!==0||!W||!h||!h.name.endsWith(".mzn")))try{const me=ue.state.doc.toString();if(me===N)return;N=me;const Te=new ie.Model;for(const rt of se)Te.addFile(rt.name,rt.state.doc.toString(),!1);const ge=Te.addString(me),Qe=await Te.check({options:ft.getCompilationConfiguration(W.id)});if(ue.state.doc.toString()!==me)return;q8(me,Qe.filter(rt=>rt.location.filename===ge),ue)}catch(me){console.error(me)}}function Hr(A){const ue=se.findIndex(me=>me.name===A.filename);if(ue!==-1){pt(ue);const me=se[ue].state.doc.toString(),Te=od(A.firstLine,A.firstColumn,me);Je.focus(),Je.setCursor(Te)}}function Cr(){Xe==="horizontal"?t(2,Xe="vertical"):t(2,Xe="horizontal")}function xs(A){t(0,E=A.detail.item===ae.edge)}let Xr=!1;function Js(A){h&&t(83,h.state=Je.getState(),h),se.forEach(ue=>xb(ue,A?QA:$A)),xr(h)}let Vi,tn=!1,Cn=!1;function Gn(A){nt&&Bt();const ue=[A.modelFile],me=A.modelFile.substring(0,A.modelFile.length-4),Te=se.find(Qe=>Qe.name===`${me}.mzc`||Qe.name===`${me}.mzc.mzn`);if(Te&&ue.push(Te.name),A.dataFiles)for(const Qe of A.dataFiles)ue.push(Qe);const ge=new ie.Model;for(const Qe of se)ge.addFile(Qe.name,Qe.state.doc.toString(),ue.indexOf(Qe.name)!==-1);qt(ge,ue,A.options||ft.getSolvingConfiguration(W.id))}function eu(){Oi=oO(this),t(21,Oi)}function tu(){Oi=oO(this),t(21,Oi)}const iu=()=>{t(25,Qi=!Qi),t(34,xn=!1)},ha=()=>t(38,dn=Fr(window.location.href)),Oa=()=>jt(),da=()=>{Et(),t(25,Qi=!1)},nu=()=>{ni(),t(25,Qi=!1)},ru=()=>{t(0,E=!E),t(25,Qi=!1)},su=()=>{t(38,dn=Fr(window.location.href)),t(25,Qi=!1)},lu=()=>{Ks(),t(25,Qi=!1)},pa=()=>{t(42,Cn=!1)},ga=()=>{t(42,Cn=!0)};function ma(A){ui[A?"unshift":"push"](()=>{Vi=A,t(40,Vi)})}const Hl=A=>Gn(A.detail);function ou(A){j=A,t(1,j)}const Sa=()=>t(32,ii=[]),el=A=>Hr(A.detail.location),ba=A=>pt(A.detail.index),au=A=>Vt(A.detail.src,A.detail.dest),$a=()=>t(27,ze=!0),Qa=A=>t(28,St=A.detail.index),Kl=()=>t(29,Ot=!0);function fu(A){ui[A?"unshift":"push"](()=>{Je=A,t(24,Je)})}function wa(A){De=A,t(3,De)}function Jl(A){ui[A?"unshift":"push"](()=>{ft=A,t(26,ft)})}const eo=()=>t(34,xn=!1),Kr=()=>t(29,Ot=!1),ya=A=>t(28,St=A.detail.index),va=A=>Ui(A.detail.index,A.detail.options),cu=()=>t(27,ze=!0),Pa=()=>t(27,ze=!1),ka=A=>fr(A.detail.type),_a=A=>di(A.detail.files),Wa=()=>jr(St),uu=()=>t(28,St=null),hu=()=>t(28,St=null),Ou=A=>ri(A.detail),xa=()=>ri(!1),du=A=>ri(A.detail),pu=()=>ri(!1),gu=()=>t(38,dn=null);function mu(A){ui[A?"unshift":"push"](()=>{Pt=A,t(37,Pt)})}const to=()=>Pt.select(),Su=()=>t(38,dn=null);return i.$$set=A=>{"showVersionSwitcher"in A&&t(4,U=A.showVersionSwitcher),"showSolverDropdown"in A&&t(5,L=A.showSolverDropdown),"edgeMiniZinc"in A&&t(0,E=A.edgeMiniZinc),"autoClearOutput"in A&&t(1,j=A.autoClearOutput),"canEditTabs"in A&&t(6,z=A.canEditTabs),"compilationEnabled"in A&&t(7,oe=A.compilationEnabled),"project"in A&&t(71,pe=A.project),"enabledSolvers"in A&&t(72,_e=A.enabledSolvers),"canEditSolverSettings"in A&&t(8,we=A.canEditSolverSettings),"showShareButton"in A&&t(9,Me=A.showShareButton),"showDownloadButton"in A&&t(10,Oe=A.showDownloadButton),"externalPlaygroundURL"in A&&t(11,fe=A.externalPlaygroundURL),"splitterDirection"in A&&t(2,Xe=A.splitterDirection),"splitterSize"in A&&t(3,De=A.splitterSize),"canSwitchOrientation"in A&&t(12,mt=A.canSwitchOrientation),"showClearOutput"in A&&t(13,dt=A.showClearOutput),"showAutoClearOutput"in A&&t(14,Lt=A.showAutoClearOutput),"showOutputSectionToggles"in A&&t(15,ti=A.showOutputSectionToggles),"showOutputRightControls"in A&&t(16,Wt=A.showOutputRightControls),"theme"in A&&t(73,xt=A.theme),"hideOutputOnStartup"in A&&t(74,Zt=A.hideOutputOnStartup),"$$scope"in A&&t(132,T=A.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&262144&&t(51,n=[ae.latest,ae.edge]),i.$$.dirty[0]&1&&He(),i.$$.dirty[2]&512&<(pe),i.$$.dirty[0]&524288&&(r=se.filter(A=>!A.hidden).length),i.$$.dirty[0]&1572864&&t(83,h=Rt_e.indexOf(A.id)!==-1):te),i.$$.dirty[0]&10485760&&t(82,W=Oi>=0&&OiA.name.endsWith(".mzn")&&!A.name.endsWith(".mzc.mzn")).map(A=>A.name)),i.$$.dirty[0]&524288&&t(45,$=se.filter(A=>A.name.endsWith(".dzn")||A.name.endsWith(".json")).map(A=>A.name)),i.$$.dirty[0]&10485760&&en(),i.$$.dirty[2]&1048576&&t(44,x=W?W.stdFlags:[]),i.$$.dirty[2]&2097152&&xr(h),i.$$.dirty[2]&526336&&t(22,Z={dark:!0,light:!1,auto:Xr}[xt]),i.$$.dirty[0]&4194304&&Js(Z)},[E,j,Xe,De,U,L,z,oe,we,Me,Oe,fe,mt,dt,Lt,ti,Wt,Se,ae,se,Rt,Oi,Z,Q,Je,Qi,ft,ze,St,Ot,Ge,ct,ii,ci,xn,ri,Ct,Pt,dn,ki,Vi,tn,Cn,b,x,$,u,f,o,l,s,n,ni,pt,fr,di,wi,jr,Ui,Vt,Li,Et,Bt,jt,Fr,Hs,Ks,Hr,Cr,xs,Gn,pe,_e,xt,Zt,lt,ht,Dt,te,Qt,nt,Xr,W,h,g,p,O,X,eu,tu,iu,ha,Oa,da,nu,ru,su,lu,pa,ga,ma,Hl,ou,Sa,el,ba,au,$a,Qa,Kl,fu,wa,Jl,eo,Kr,ya,va,cu,Pa,ka,_a,Wa,uu,hu,Ou,xa,du,pu,gu,mu,to,Su,T]}class s6 extends Ai{constructor(e){super(),Ri(this,e,r6,n6,Zi,{showVersionSwitcher:4,showSolverDropdown:5,edgeMiniZinc:0,autoClearOutput:1,canEditTabs:6,compilationEnabled:7,project:71,enabledSolvers:72,canEditSolverSettings:8,showShareButton:9,showDownloadButton:10,externalPlaygroundURL:11,splitterDirection:2,splitterSize:3,canSwitchOrientation:12,showClearOutput:13,showAutoClearOutput:14,showOutputSectionToggles:15,showOutputRightControls:16,theme:73,hideOutputOnStartup:74,loadProject:75,hasFiles:76,getProject:77},null,[-1,-1,-1,-1,-1])}get loadProject(){return this.$$.ctx[75]}get hasFiles(){return this.$$.ctx[76]}get getProject(){return this.$$.ctx[77]}}const{window:Cb}=bx;function l6(i){let e,t,n,r,s,l,o,f;function u(g){i[6](g)}function h(g){i[7](g)}function O(g){i[8](g)}let p={project:i[1]};return i[2].autoClearOutput!==void 0&&(p.autoClearOutput=i[2].autoClearOutput),i[2].splitterDirection!==void 0&&(p.splitterDirection=i[2].splitterDirection),i[2].splitterSize!==void 0&&(p.splitterSize=i[2].splitterSize),t=new s6({props:p}),i[5](t),ui.push(()=>Ao(t,"autoClearOutput",u)),ui.push(()=>Ao(t,"splitterDirection",h)),ui.push(()=>Ao(t,"splitterSize",O)),{c(){e=k("div"),Ve(t.$$.fragment),y(e,"class","playground-app svelte-tuc1wl")},m(g,b){V(g,e,b),Ue(t,e,null),l=!0,o||(f=[re(Cb,"beforeunload",i[4]),re(Cb,"hashchange",i[3])],o=!0)},p(g,[b]){const $={};b&2&&($.project=g[1]),!n&&b&4&&(n=!0,$.autoClearOutput=g[2].autoClearOutput,Ro(()=>n=!1)),!r&&b&4&&(r=!0,$.splitterDirection=g[2].splitterDirection,Ro(()=>r=!1)),!s&&b&4&&(s=!0,$.splitterSize=g[2].splitterSize,Ro(()=>s=!1)),t.$set($)},i(g){l||(D(t.$$.fragment,g),l=!0)},o(g){G(t.$$.fragment,g),l=!1},d(g){g&&Y(e),i[5](null),Ye(t),o=!1,Nt(f)}}}const Xb=`% Use this editor as a MiniZinc scratch book -`,Tb="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";function o6(i,e,t){let n,r={files:[]},s={autoClearOutput:!1,splitterDirection:"vertical",splitterSize:75,sessions:{}};try{const $=localStorage.getItem("mznPlayground");$&&$.length>0&&(s={...s,...JSON.parse($)})}catch($){console.error($)}let l;function o(){if(Object.keys(s.sessions).length>=5){const x=Object.keys(s.sessions).map(Z=>({key:Z,value:s.sessions[Z]}));x.sort((Z,X)=>X.value.timestamp-Z.value.timestamp),t(2,s.sessions=x.slice(0,5-1).reduce((Z,X)=>({...Z,[X.key]:X.value}),{}),s)}const Q=()=>Array(6).fill(0).map(()=>Tb[Math.floor(Math.random()*Tb.length)]).join("");let W=Q();for(;W in s.sessions;)W=Q();return W}function f($){return $.solverId||($.solver===0?$.solverId="org.minizinc.gecode_presolver":r.solver===1&&($.solverId="org.minizinc.mip.coin-bc")),$}function u(){if(l&&n.hasFiles()){const Q=n.getProject();t(2,s.sessions[l]=Q,s)}if(window.location.hash.startsWith("#project="))try{const Q=decodeURIComponent(window.location.hash.substring(9));t(1,r=f(JSON.parse(Q))),l=o(),window.history.replaceState(void 0,void 0,`#session=${l}`);return}catch(Q){console.error(Q)}if(window.location.hash.startsWith("#code="))try{const Q=decodeURIComponent(window.location.hash.substring(6));t(1,r={files:[{name:"Playground.mzn",contents:Q,anchor:Q.length}]}),l=o(),window.history.replaceState(void 0,void 0,`#session=${l}`)}catch(Q){console.error(Q)}window.location.hash.startsWith("#session=")||window.history.replaceState(void 0,void 0,`#session=${o()}`);const $=window.location.hash.substring(9);if($!==l&&s.sessions&&s.sessions[$])try{t(1,r=f(s.sessions[$])),l=$}catch(Q){console.error(Q)}r.files.length===0&&t(1,r={files:[{name:"Playground.mzn",contents:Xb,anchor:Xb.length}]}),l=$}Ec(()=>u());function h(){const $=n.getProject();t(2,s.sessions[l]={...$,timestamp:Date.now()},s),localStorage.setItem("mznPlayground",JSON.stringify(s))}function O($){ui[$?"unshift":"push"](()=>{n=$,t(0,n)})}function p($){i.$$.not_equal(s.autoClearOutput,$)&&(s.autoClearOutput=$,t(2,s))}function g($){i.$$.not_equal(s.splitterDirection,$)&&(s.splitterDirection=$,t(2,s))}function b($){i.$$.not_equal(s.splitterSize,$)&&(s.splitterSize=$,t(2,s))}return[n,r,s,u,h,O,p,g,b]}class a6 extends Ai{constructor(e){super(),Ri(this,e,o6,l6,Zi,{})}}new a6({target:document.getElementById("app")});export{_o as c,h6 as g}; diff --git a/develop/assets/index-ea4a44ce.css b/develop/assets/index-ea4a44ce.css new file mode 100644 index 0000000..5092517 --- /dev/null +++ b/develop/assets/index-ea4a44ce.css @@ -0,0 +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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 767px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 768px){.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: 767px){.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: 768px){.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-1surl6b{display:none}.tool-buttons.svelte-1bgv9sn{display:flex;align-items:center;justify-content:flex-end}.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/develop/assets/jszip.min-1daeefc5.js b/develop/assets/jszip.min-19e8762f.js similarity index 99% rename from develop/assets/jszip.min-1daeefc5.js rename to develop/assets/jszip.min-19e8762f.js index 7b06c77..1679a97 100644 --- a/develop/assets/jszip.min-1daeefc5.js +++ b/develop/assets/jszip.min-19e8762f.js @@ -1,4 +1,4 @@ -import{g as Ot,c as vt}from"./index-cabaae6c.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-42d3d144.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/develop/index.html b/develop/index.html index 261179d..62662d3 100644 --- a/develop/index.html +++ b/develop/index.html @@ -5,8 +5,8 @@ MiniZinc Playground - - + +