From 52c17b7d303053c8fd2b1385c1005ab4c53acef9 Mon Sep 17 00:00:00 2001 From: cyderize Date: Sun, 29 Oct 2023 22:59:59 +0000 Subject: [PATCH] deploy: b77a310c6ed3347626a367211fec28e3e9496059 --- ...-2842c259.js => FileSaver.min-ddfe5bfc.js} | 2 +- .../{index-c7883d8a.js => index-a531a0e6.js} | 64 +++++++++---------- ...{index-6b340418.css => index-ddcaacd4.css} | 2 +- ....min-5f8ca889.js => jszip.min-8a5f07ed.js} | 2 +- develop/index.html | 4 +- 5 files changed, 37 insertions(+), 37 deletions(-) rename develop/assets/{FileSaver.min-2842c259.js => FileSaver.min-ddfe5bfc.js} (97%) rename develop/assets/{index-c7883d8a.js => index-a531a0e6.js} (57%) rename develop/assets/{index-6b340418.css => index-ddcaacd4.css} (99%) rename develop/assets/{jszip.min-5f8ca889.js => jszip.min-8a5f07ed.js} (99%) diff --git a/develop/assets/FileSaver.min-2842c259.js b/develop/assets/FileSaver.min-ddfe5bfc.js similarity index 97% rename from develop/assets/FileSaver.min-2842c259.js rename to develop/assets/FileSaver.min-ddfe5bfc.js index 5022a2a..4a52c60 100644 --- a/develop/assets/FileSaver.min-2842c259.js +++ b/develop/assets/FileSaver.min-ddfe5bfc.js @@ -1 +1 @@ -import{g as O,c as d}from"./index-c7883d8a.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-a531a0e6.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-c7883d8a.js b/develop/assets/index-a531a0e6.js similarity index 57% rename from develop/assets/index-c7883d8a.js rename to develop/assets/index-a531a0e6.js index 91ebc1c..a9b7536 100644 --- a/develop/assets/index-c7883d8a.js +++ b/develop/assets/index-a531a0e6.js @@ -1,19 +1,19 @@ -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 Wh=(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 xe(){}const Od=n=>n;function vx(n,e){for(const t in e)n[t]=e[t];return n}function qb(n){return n()}function am(){return Object.create(null)}function It(n){n.forEach(qb)}function zc(n){return typeof n=="function"}function Ai(n,e){return n!=n?e==e:n!==e||n&&typeof n=="object"||typeof n=="function"}let bf;function fm(n,e){return n===e?!0:(bf||(bf=document.createElement("a")),bf.href=e,n===bf.href)}function Px(n){return Object.keys(n).length===0}function on(n,e,t,i){if(n){const r=Eb(n,e,t,i);return n[0](r)}}function Eb(n,e,t,i){return n[1]&&i?vx(t.ctx.slice(),n[1](i(e))):t.ctx}function an(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(),dd=Mb?n=>requestAnimationFrame(n):xe;const Pl=new Set;function zb(n){Pl.forEach(e=>{e.c(n)||(Pl.delete(e),e.f())}),Pl.size!==0&&dd(zb)}function Ib(n){let e;return Pl.size===0&&dd(zb),{promise:new Promise(t=>{Pl.add(e={c:n,f:t})}),abort(){Pl.delete(e)}}}const kx=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function v(n,e){n.appendChild(e)}function Nb(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(Nb(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 ki(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 Ii(n,e){n.value=e??""}function um(n,e,t,i){t==null?n.style.removeProperty(e):n.style.setProperty(e,t,i?"important":"")}function Rl(n,e,t){for(let i=0;ie.__value)}function oe(n,e,t){n.classList.toggle(e,!!t)}function Lb(n,e,{bubbles:t=!1,cancelable:i=!1}={}){return new CustomEvent(n,{detail:e,bubbles:t,cancelable:i})}const rc=new Map;let sc=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 rc.set(n,t),t}function uO(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-_)}} +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 Wh=(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 Ce(){}const dd=n=>n;function vx(n,e){for(const t in e)n[t]=e[t];return n}function qb(n){return n()}function fm(){return Object.create(null)}function ti(n){n.forEach(qb)}function zc(n){return typeof n=="function"}function Ui(n,e){return n!=n?e==e:n!==e||n&&typeof n=="object"||typeof n=="function"}let bf;function cm(n,e){return n===e?!0:(bf||(bf=document.createElement("a")),bf.href=e,n===bf.href)}function Px(n){return Object.keys(n).length===0}function on(n,e,t,i){if(n){const r=Eb(n,e,t,i);return n[0](r)}}function Eb(n,e,t,i){return n[1]&&i?vx(t.ctx.slice(),n[1](i(e))):t.ctx}function an(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(),pd=Mb?n=>requestAnimationFrame(n):Ce;const Pl=new Set;function zb(n){Pl.forEach(e=>{e.c(n)||(Pl.delete(e),e.f())}),Pl.size!==0&&pd(zb)}function Ib(n){let e;return Pl.size===0&&pd(zb),{promise:new Promise(t=>{Pl.add(e={c:n,f:t})}),abort(){Pl.delete(e)}}}const kx=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function v(n,e){n.appendChild(e)}function Nb(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=_("style");return e.textContent="/* empty */",Wx(Nb(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 _i(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 ki(n,e){n.value=e??""}function hm(n,e,t,i){t==null?n.style.removeProperty(e):n.style.setProperty(e,t,i?"important":"")}function Rl(n,e,t){for(let i=0;ie.__value)}function oe(n,e,t){n.classList.toggle(e,!!t)}function Lb(n,e,{bubbles:t=!1,cancelable:i=!1}={}){return new CustomEvent(n,{detail:e,bubbles:t,cancelable:i})}const rc=new Map;let sc=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 rc.set(n,t),t}function uO(n,e,t,i,r,s,l,o=0){const f=16.666/i;let u=`{ +`;for(let $=0;$<=1;$+=f){const P=e+(t-e)*s($);u+=$*100+`%{${l(P,1-P)}} `}const h=u+`100% {${l(t,1-t)}} -}`,O=`__svelte_${Xx(h)}_${o}`,p=Nb(n),{stylesheet:g,rules:b}=rc.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`,sc+=1,O}function Bb(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(", "),sc-=r,sc||Zx())}function Zx(){dd(()=>{sc||(rc.forEach(n=>{const{ownerNode:e}=n.stylesheet;e&&Y(e)}),rc.clear())})}function Rx(n,e,t,i){if(!e)return xe;const r=n.getBoundingClientRect();if(e.left===r.left&&e.right===r.right&&e.top===r.top&&e.bottom===r.bottom)return xe;const{delay:s=0,duration:l=300,easing:o=Od,start:f=Db()+s,end:u=f+l,tick:h=xe,css:O}=t(n,{from:e,to:r},i);let p=!0,g=!1,b;function $(){O&&(b=uO(n,0,1,l,s,o,O)),s||(g=!0)}function Q(){O&&Bb(n,b),p=!1}return Ib(_=>{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 jb(){if(!Do)throw new Error("Function called outside component initialization");return Do}function Ic(n){jb().$$.on_mount.push(n)}function jn(){const n=jb();return(e,t,{cancelable:i=!1}={})=>{const r=n.$$.callbacks[e];if(r){const s=Lb(e,t,{cancelable:i});return r.slice().forEach(l=>{l.call(n,s)}),!s.defaultPrevented}return!0}}function Om(n,e){const t=n.$$.callbacks[e.type];t&&t.slice().forEach(i=>i.call(this,e))}const ml=[],hi=[];let _l=[];const hO=[],Fb=Promise.resolve();let OO=!1;function Gb(){OO||(OO=!0,Fb.then(Hb))}function Os(){return Gb(),Fb}function lr(n){_l.push(n)}function Ro(n){hO.push(n)}const xh=new Set;let pl=0;function Hb(){if(pl!==0)return;const n=Do;do{try{for(;pln.indexOf(i)===-1?e.push(i):t.push(i)),t.forEach(i=>i()),_l=e}let mo;function qx(){return mo||(mo=Promise.resolve(),mo.then(()=>{mo=null})),mo}function Ch(n,e,t){n.dispatchEvent(Lb(`${e?"intro":"outro"}${t}`))}const Nf=new Set;let Ir;function it(){Ir={r:0,c:[],p:Ir}}function nt(){Ir.r||It(Ir.c),Ir=Ir.p}function D(n,e){n&&n.i&&(Nf.delete(n),n.i(e))}function j(n,e,t,i){if(n&&n.o){if(Nf.has(n))return;Nf.add(n),Ir.c.push(()=>{Nf.delete(n),i&&(t&&n.d(1),i())}),n.o(e)}else i&&i()}const Ex={duration:0};function $l(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&&Bb(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:_=Od,tick:x=xe,css:Z}=s||Ex,C={start:Db()+$,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=uO(n,l,b,Q,$,_,Z)),b&&x(0,1),o=p(C,Q),lr(()=>Ch(n,b,"start")),Ib(X=>{if(f&&X>f.start&&(o=p(f,Q),f=null,Ch(n,o.b,"start"),Z&&(O(),u=uO(n,l,o.b,o.duration,0,_,s.css))),o){if(X>=o.end)x(l=o.b,1-l),Ch(n,o.b,"end"),f||(o.b?O():--o.group.r||It(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){zc(s)?qx().then(()=>{s=s({direction:b?"in":"out"}),g(b)}):g(b)},end(){O(),o=f=null}}}function rt(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function Mx(n,e){j(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 z=O(r,s,b),q=t(z);let F=l.get(q);F?i&&Z.push(()=>F.p(z,e)):(F=u(q,z),F.c()),_.set(q,Q[b]=F),q in $&&x.set(q,Math.abs(b-$[q]))}const C=new Set,X=new Set;function R(z){D(z,1),z.m(o,h),l.set(z.key,z),h=z.first,g--}for(;p&&g;){const z=Q[g-1],q=n[p-1],F=z.key,I=q.key;z===q?(h=z.first,p--,g--):_.has(I)?!l.has(F)||C.has(F)?R(z):X.has(I)?p--:x.get(F)>x.get(I)?(X.add(F),R(z)):(C.add(I),p--):(f(q,l),p--)}for(;p--;){const z=n[p];_.has(z.key)||f(z,l)}for(;g;)R(Q[g-1]);return It(Z),Q}function Ao(n,e,t){const i=n.$$.props[e];i!==void 0&&(n.$$.bound[i]=t,t(n.$$.ctx[i]))}function Ee(n){n&&n.c()}function Ye(n,e,t){const{fragment:i,after_update:r}=n.$$;i&&i.m(e,t),lr(()=>{const s=n.$$.on_mount.map(qb).filter(zc);n.$$.on_destroy?n.$$.on_destroy.push(...s):It(s),n.$$.on_mount=[]}),r.forEach(lr)}function Ve(n,e){const t=n.$$;t.fragment!==null&&(Vx(t.after_update),It(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&&(ml.push(n),Gb(),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,It(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),Ye(n,e.target,e.anchor),Hb()}Zo(f)}class Yi{constructor(){Wh(this,"$$");Wh(this,"$$set")}$destroy(){Ve(this,1),this.$destroy=xe}$on(e,t){if(!zc(t))return xe;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},dm={},pm=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 dm)return;dm[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 St{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),Qr.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),Qr.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 Kb(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 Jb(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]?St.empty:e.length<=32?new fi(e):Qr.from(fi.split(e,[]))}}class fi extends St{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 fi(gm(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(r&1){let l=i.pop(),o=Lf(s.text,l.text.slice(),0,s.length);if(o.length<=32)i.push(new fi(o,l.length+s.length));else{let f=o.length>>1;i.push(new fi(o.slice(0,f)),new fi(o.slice(f)))}}else i.push(s)}replace(e,t,i){if(!(i instanceof fi))return super.replace(e,t,i);let r=Lf(this.text,Lf(i.text,gm(this.text,0,e)),t),s=this.length+i.length-(t-e);return r.length<=32?new fi(r,s):Qr.from(fi.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 fi(i,r)),i=[],r=-1);return r>-1&&t.push(new fi(i,r)),t}}class Qr extends St{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let i of e)this.lines+=i.lines}lineInner(e,t,i,r){for(let s=0;;s++){let l=this.children[s],o=r+l.length,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 Qr(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 Qr))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 fi(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 Qr)for(let $ of g.children)O($);else g.lines>l&&(f>l||!f)?(p(),o.push(g)):g instanceof fi&&f&&(b=h[h.length-1])instanceof fi&&g.lines+b.lines<=32?(f+=g.lines,u+=g.length+1,h[h.length-1]=new fi(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]:Qr.from(h,u)),u=-1,f=h.length=0)}for(let g of e)O(g);return p(),o.length==1?o[0]:new Qr(o,t)}}St.empty=new fi([""],0);function jx(n){let e=-1;for(let t of n)e+=t.length+1;return e}function Lf(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 fi?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 fi?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 fi){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 fi?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 Kb{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 Jb{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:i,value:r}=this.inner.next(e);return t?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(St.prototype[Symbol.iterator]=function(){return this.iter()},Uo.prototype[Symbol.iterator]=Kb.prototype[Symbol.iterator]=Jb.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 Wl="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(n=>n?parseInt(n,36):1);for(let n=1;nn)return Wl[e-1]<=n;return!1}function mm(n){return n>=127462&&n<=127487}const Sm=8205;function Ni(n,e,t=!0,i=!0){return(t?e$:Hx)(n,e,i)}function e$(n,e,t){if(e==n.length)return e;e&&t$(n.charCodeAt(e))&&i$(n.charCodeAt(e-1))&&e--;let i=Ti(n,e);for(e+=yn(i);e=0&&mm(Ti(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=e$(n,e-2,t);if(i=56320&&n<57344}function i$(n){return n>=55296&&n<56320}function Ti(n,e){let t=n.charCodeAt(e);if(!i$(t)||e+1==n.length)return t;let i=n.charCodeAt(e+1);return t$(i)?(t-55296<<10)+(i-56320)+65536:t}function pd(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}function yn(n){return n<65536?1:2}const dO=/\r\n?|\n/;var Ri=function(n){return n[n.Simple=0]="Simple",n[n.TrackDel=1]="TrackDel",n[n.TrackBefore=2]="TrackBefore",n[n.TrackAfter=3]="TrackAfter",n}(Ri||(Ri={}));class kr{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return s+(e-r);s+=o}else{if(i!=Ri.Simple&&u>=e&&(i==Ri.TrackDel&&re||i==Ri.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 kr(e)}static create(e){return new kr(e)}}class $i extends kr{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 pO(this,(t,i,r,s,l)=>e=e.replace(r,r+(i-t),l),!1),e}mapDesc(e,t=!1){return gO(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&&ps(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"?St.of(g.split(i||dO)):g:St.empty,$=b.length;if(O==p&&$==0)return;Ol&&Di(r,O-l,-1),Di(r,p-O,$),ps(s,r,b),l=p}}return u(e),f(!o),o}static empty(e){return new $i(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 ps(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 gO(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);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||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?St.empty:e[t]}textBit(e){let{inserted:t}=this.set,i=this.i-2>>1;return i>=t.length&&!e?St.empty:t[i].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Bs{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 Bs(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 Bs(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=>Bs.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 r$(n,e){for(let t of n.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let gd=0;class Pe{constructor(e,t,i,r,s){this.combine=e,this.compareInput=t,this.compare=i,this.isStatic=r,this.id=gd++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}static define(e={}){return new Pe(e.combine||(t=>t),e.compareInput||((t,i)=>t===i),e.compare||(e.combine?(t,i)=>t===i:md),!!e.static,e.enables)}of(e){return new Bf([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Bf(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Bf(e,this,2,t)}from(e,t){return t||(t=i=>i),this.compute([e],i=>t(i.field(e)))}}function md(n,e){return n==e||n.length==e.length&&n.every((t,i)=>t===e[i])}class Bf{constructor(e,t,i,r){this.dependencies=e,this.facet=t,this.type=i,this.value=r,this.id=gd++}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)||mO(O,h)){let g=i(O);if(o?!bm(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 $=oc(p,b);if(this.dependencies.every(Q=>Q instanceof Pe?p.facet(Q)===O.facet(Q):Q instanceof wi?p.field(Q,!1)==O.field(Q,!1):!0)||(o?bm(g=i(O),$,r):r(g=i(O),$)))return O.values[l]=$,0}else g=i(O);return O.values[l]=g,1}}}}function bm(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($m).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,$m.of({field:this,create:e})]}get extension(){return this}}const Is={lowest:4,low:3,default:2,high:1,highest:0};function So(n){return e=>new s$(e,n)}const Js={highest:So(Is.highest),high:So(Is.high),default:So(Is.default),low:So(Is.low),lowest:So(Is.lowest)};class s${constructor(e,t){this.inner=e,this.prec=t}}class zl{of(e){return new SO(this,e)}reconfigure(e){return zl.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class SO{constructor(e,t){this.compartment=e,this.inner=t}}class lc{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 wi?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,md($,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 lc(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 SO&&t.delete(l.compartment)}if(r.set(l,o),Array.isArray(l))for(let u of l)s(u,o);else if(l instanceof SO){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 s$)s(l.inner,l.prec);else if(l instanceof wi)i[o].push(l),l.provides&&s(l.provides,o);else if(l instanceof Bf)i[o].push(l),l.facet.extensions&&s(l.facet.extensions,Is.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,Is.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 oc(n,e){return e&1?n.config.staticValues[e>>1]:n.values[e>>1]}const l$=Pe.define(),o$=Pe.define({combine:n=>n.some(e=>e),static:!0}),a$=Pe.define({combine:n=>n.length?n[0]:void 0,static:!0}),f$=Pe.define(),c$=Pe.define(),u$=Pe.define(),h$=Pe.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 Me(this,e)}}class Me{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 Me(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}}Me.reconfigure=Me.define();Me.appendConfig=Me.define();class Qi{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&&r$(i,t.newLength),s.some(o=>o.type==Qi.time)||(this.annotations=s.concat(Qi.time.of(Date.now())))}static create(e,t,i,r,s,l){return new Qi(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(Qi.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}Qi.time=Fr.define();Qi.userEvent=Fr.define();Qi.addToHistory=Fr.define();Qi.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 Qi?n=s:Array.isArray(s)&&s.length==1&&s[0]instanceof Qi?n=s[0]:n=d$(e,xl(s),!1)}return n}function r3(n){let e=n.startState,t=e.facet(u$),i=n;for(let r=t.length-1;r>=0;r--){let s=t[r](n);s&&Object.keys(s).length&&(i=O$(i,bO(e,s,n.changes.newLength),!0))}return i==n?n:Qi.create(e,n.changes,n.selection,i.effects,i.annotations,i.scrollIntoView)}const s3=[];function xl(n){return n==null?s3:Array.isArray(n)?n:[n]}var zt=function(n){return n[n.Word=0]="Word",n[n.Space=1]="Space",n[n.Other=2]="Other",n}(zt||(zt={}));const l3=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let $O;try{$O=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function o3(n){if($O)return $O.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 zt.Space;if(o3(e))return zt.Word;for(let t=0;t-1)return zt.Word;return zt.Other}}class ut{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(Me.reconfigure)?(t=null,i=l.value):l.is(Me.appendConfig)&&(t=null,i=xl(i).concat(l.value));let s;t?s=e.startState.values.slice():(t=lc.resolve(i,r,this),s=new ut(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(o,f)=>f.reconfigure(o,this),null).values),new ut(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=xl(i.effects);for(let o=1;ol.spec.fromJSON(o,f)))}}return ut.create({doc:e.doc,selection:K.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=lc.resolve(e.extensions||[],new Map),i=e.doc instanceof St?e.doc:St.of((e.doc||"").split(t.staticFacet(ut.lineSeparator)||dO)),r=e.selection?e.selection instanceof K?e.selection:K.single(e.selection.anchor,e.selection.head):K.single(0);return r$(r,i.length),t.staticFacet(o$)||(r=r.asSingle()),new ut(t,i,r,t.dynamicSlots.map(()=>null),(s,l)=>l.create(s),null)}get tabSize(){return this.facet(ut.tabSize)}get lineBreak(){return this.facet(ut.lineSeparator)||` -`}get readOnly(){return this.facet(h$)}phrase(e,...t){for(let i of this.facet(ut.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(l$))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=Ni(t,l,!1);if(s(t.slice(f,l))!=zt.Word)break;l=f}for(;on.length?n[0]:4});ut.lineSeparator=a$;ut.readOnly=h$;ut.phrases=Pe.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])}});ut.languageData=l$;ut.changeFilter=f$;ut.transactionFilter=c$;ut.transactionExtender=u$;zl.reconfigure=Me.define();function Wr(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 Gs{eq(e){return this==e}range(e,t=e){return QO.create(e,t,this)}}Gs.prototype.startSide=Gs.prototype.endSide=0;Gs.prototype.point=!1;Gs.prototype.mapMode=Ri.TrackDel;let QO=class p${constructor(e,t,i){this.from=e,this.to=t,this.value=i}static create(e,t,i){return new p$(e,t,i)}};function wO(n,e){return n.from-e.from||n.value.startSide-e.value.startSide}class Sd{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 Sd(r,s,i,o):null,pos:l}}}class wt{constructor(e,t,i,r){this.chunkPos=e,this.chunk=t,this.nextLayer=i,this.maxPoint=r}static create(e,t,i,r){return new wt(e,t,i,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:i=!1,filterFrom:r=0,filterTo:s=this.length}=e,l=e.filter;if(t.length==0&&!l)return this;if(i&&(t=t.slice().sort(wO)),this.isEmpty)return t.length?wt.of(t):this;let o=new g$(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,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=Qm(l,o,i),u=new bo(l,f,s),h=new bo(o,f,s);i.iterGaps((O,p,g)=>wm(u,O,h,p,g,r)),i.empty&&i.length==0&&wm(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=Qm(s,l),f=new bo(s,o,0).goto(i),u=new bo(l,o,0).goto(i);for(;;){if(f.to!=u.to||!yO(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 $s;for(let r of e instanceof QO?[e]:t?f3(e):e)i.add(r.from,r.to,r.value);return i.finish()}}wt.empty=new wt([],[],null,-1);function f3(n){if(n.length>1)for(let e=n[0],t=1;t0)return n.slice().sort(wO);e=i}return n}wt.empty.nextLayer=wt.empty;class $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 Sd(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 $s)).add(e,t,i)}addInner(e,t,i){let r=e-this.lastTo||i.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||i.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=i,this.lastFrom=e,this.lastTo=t,this.value.push(i),i.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let i=t.value.length-1;return this.last=t.value[i],this.lastFrom=t.from[i]+e,this.lastTo=t.to[i]+e,!0}finish(){return this.finishInner(wt.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=wt.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function Qm(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 g$(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--)Xh(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--)Xh(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(),Xh(this.heap,0)}}}function Xh(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){$f(this.active,e),$f(this.activeTo,e),$f(this.activeRank,e),this.minActive=ym(this.active,this.activeTo)}addActive(e){let t=0,{value:i,to:r,rank:s}=this.cursor;for(;t-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),i&&$f(i,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(i),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from=0&&i[r]=0&&!(this.activeRank[i]e||this.activeTo[i]==e&&this.active[i].endSide>=this.point.endSide)&&t.push(this.active[i]);return t.reverse()}openEnd(e){let t=0;for(let i=this.activeTo.length-1;i>=0&&this.activeTo[i]>e;i--)t++;return t}}function wm(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))&&yO(n.activeForPoint(n.to+f),t.activeForPoint(t.to))||s.comparePoint(o,O,n.point,t.point):O>o&&!yO(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 yO(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 ym(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=Ni(n,r)}return i===!0?-1:n.length}const PO="ͼ",vm=typeof Symbol>"u"?"__"+PO:Symbol.for(PO),kO=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),Pm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Qs{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=Pm[vm]||1;return Pm[vm]=e+1,PO+e.toString(36)}static mount(e,t,i){let r=e[kO],s=i&&i.nonce;r?s&&r.setNonce(s):r=new c3(e,s),r.mount(Array.isArray(t)?t:[t])}}let km=new Map;class c3{constructor(e,t){let i=e.ownerDocument||e,r=i.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let s=km.get(i);if(s)return e.adoptedStyleSheets=[s.sheet,...e.adoptedStyleSheets],e[kO]=s;this.sheet=new r.CSSStyleSheet,e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets],km.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[kO]=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:'"'},_m=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||_m&&+_m[1]<57;for(var Zi=0;Zi<10;Zi++)ws[48+Zi]=ws[96+Zi]=String(Zi);for(var Zi=1;Zi<=24;Zi++)ws[Zi+111]="F"+Zi;for(var Zi=65;Zi<=90;Zi++)ws[Zi]=String.fromCharCode(Zi+32),No[Zi]=String.fromCharCode(Zi);for(var Th in ws)No.hasOwnProperty(Th)||(No[Th]=ws[Th]);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:ws)[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 ac(n){let e;return n.nodeType==11?e=n.getSelection?n:n.ownerDocument:e=n,e.getSelection()}function _O(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 jf(n,e){if(!e.anchorNode)return!1;try{return _O(n,e.anchorNode)}catch{return!1}}function Lo(n){return n.nodeType==3?Hs(n,0,n.nodeValue.length).getClientRects():n.nodeType==1?n.getClientRects():[]}function fc(n,e,t,i){return t?Wm(n,e,t,i,-1)||Wm(n,e,t,i,1):!1}function cc(n){for(var e=0;;e++)if(n=n.previousSibling,!n)return e}function Wm(n,e,t,i,r){for(;;){if(n==t&&e==i)return!0;if(e==(r<0?0:ys(n))){if(n.nodeName=="DIV")return!1;let s=n.parentNode;if(!s||s.nodeType!=1)return!1;e=cc(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?ys(n):0}else return!1}}function ys(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function bd(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?ys(t):0),i,Math.min(e.focusOffset,i?ys(i):0))}set(e,t,i,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=i,this.focusOffset=r}}let gl=null;function m$(n){if(n.setActive)return n.setActive();if(gl)return n.focus(gl);let e=[];for(let t=n;t&&(e.push(t,t.scrollTop,t.scrollLeft),t!=t.ownerDocument);t=t.parentNode);if(n.focus(gl==null?{get preventScroll(){return gl={preventScroll:!0},!0}}:void 0),!gl){gl=!1;for(let t=0;tMath.max(1,n.scrollHeight-n.clientHeight-4)}class zi{constructor(e,t,i=!0){this.node=e,this.offset=t,this.precise=i}static before(e,t){return new zi(e.parentNode,cc(e),t)}static after(e,t){return new zi(e.parentNode,cc(e)+1,t)}}const $d=[];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=Cm(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=Cm(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=ys(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=$d){this.markDirty();for(let r=e;rthis.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let i=this.children[--this.i];this.pos-=i.length+i.breakAfter}}}function Q$(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 ke={mac:Zm||/Mac/.test(vn.platform),windows:/Win/.test(vn.platform),linux:/Linux|X11/.test(vn.platform),ie:Nc,ie_version:y$?WO.documentMode||6:CO?+CO[1]:xO?+xO[1]:0,gecko:Xm,gecko_version:Xm?+(/Firefox\/(\d+)/.exec(vn.userAgent)||[0,0])[1]:0,chrome:!!Zh,chrome_version:Zh?+Zh[1]:0,ios:Zm,android:/Android\b/.test(vn.userAgent),webkit:Tm,safari:v$,webkit_version:Tm?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:WO.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 zi(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(S$(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 P$(this,e)}coordsAt(e,t){return _$(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?ke.chrome||ke.gecko||(e?(r--,l=1):s=0)?0:o.length-1];return ke.safari&&!l&&f.width==0&&(f=Array.prototype.find.call(o,u=>u.width)||f),l?bd(f,l<0):f||null}class gs extends Yt{static create(e,t,i){return new gs(e,t,i)}constructor(e,t,i){super(),this.widget=e,this.length=t,this.side=i,this.prevWidget=null}split(e){let t=gs.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 gs)||!this.widget.compare(i.widget)||e>0&&s<=0||t0)?zi.before(this.dom):zi.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?zi.before(this.dom):zi.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return St.empty}get isHidden(){return!0}}Lr.prototype.children=gs.prototype.children=Al.prototype.children=$d;function P$(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)?k$(i,e.children[0],t-1):(r.push(e),e.setParent(n)),n.length+=e.length}function _$(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 TO(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 vs(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}=W$(e,t);i=(s?t?-3e8:-1:5e8)-1,r=(l?t?2e8:1:-6e8)+1}return new vs(e,i,r,t,e.widget||null,!0)}static line(e){return new la(e)}static set(e,t=!1){return wt.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}Re.none=wt.empty;class sa extends Re{constructor(e){let{start:t,end:i}=W$(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))&&Qd(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 Re{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof la&&this.spec.class==e.spec.class&&Qd(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=Ri.TrackBefore;la.prototype.point=!0;class vs extends Re{constructor(e,t,i,r,s,l){super(t,i,s,e),this.block=r,this.isReplace=l,this.mapMode=r?t<=0?Ri.TrackBefore:Ri.TrackAfter:Ri.TrackDel}get type(){return this.startSide=5||this.widget.lineBreaks>0)}eq(e){return e instanceof vs&&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)}}vs.prototype.point=!0;function W$(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 ZO(n,e,t,i=0){let r=t.length-1;r>=0&&t[r]+i>=n?t[r]=Math.max(t[r],e):t.push(n,e)}class Xi 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 Xi))return!1;this.dom||i.transferDOM(this)}return r&&this.setDeco(i?i.attrs:null),w$(this,e,t,i?i.children:[],s,l),!0}split(e){let t=new Xi;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){Qd(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){k$(this,e,t)}addLineDeco(e){let t=e.spec.attributes,i=e.spec.class;t&&(this.attrs=XO(t,this.attrs||{})),i&&(this.attrs=XO({class:i},this.attrs||{}))}domAtPos(e){return P$(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,t){var i;this.dom?this.flags&4&&(S$(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&&(TO(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&&(!ke.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=_$(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 Xi)return s;if(l>t)break}r=l+s.breakAfter}return null}}class Fs 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 Fs)||!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(wf(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 vs){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 vs)if(i.block){let{type:f}=i;f==Kt.WidgetAfter&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Fs(i.widget||new Am("div"),o,f))}else{let f=gs.create(i.widget||new Am("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(wf(new Al(1),r),s),s=r.length+Math.max(0,s-r.length)),O.append(wf(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=wt.spans(r,t,i,l),l.openStart<0&&(l.openStart=l.openEnd),l.finish(l.openEnd),l}}function wf(n,e){for(let t of e)n=new Br(t,[n],n.length);return n}class Am extends Ws{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}const x$=Pe.define(),C$=Pe.define(),X$=Pe.define(),T$=Pe.define(),RO=Pe.define(),Z$=Pe.define(),R$=Pe.define(),A$=Pe.define({combine:n=>n.some(e=>e)}),U$=Pe.define({combine:n=>n.some(e=>e)});class uc{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 uc(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const Um=Me.define({map:(n,e)=>n.map(e)});function kn(n,e,t){let i=n.facet(T$);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 Lc=Pe.define({combine:n=>n.length?n[0]:!0});let _3=0;const _o=Pe.define();class di{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 di(_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):Re.none})),r&&o.push(r(l)),o})}static fromClass(e,t){return di.define(i=>new e(i),t)}}class Rh{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(kn(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){kn(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){kn(e.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const Y$=Pe.define(),wd=Pe.define(),Bo=Pe.define(),yd=Pe.define(),V$=Pe.define();function Ym(n,e,t){let i=n.state.facet(V$);if(!i.length)return i;let r=i.map(l=>l instanceof Function?l(n):l),s=[];return wt.spans(r,e,t,{point(){},span(l,o,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 q$=Pe.define();function E$(n){let e=0,t=0,i=0,r=0;for(let s of n.state.facet(q$)){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=Pe.define();class Nn{constructor(e,t,i,r){this.fromA=e,this.toA=t,this.fromB=i,this.toB=r}join(e){return new Nn(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 Nn(f.fromA,f.toA,f.fromB,f.toB).addToSet(i),l=f.toA,o=f.toB}}}class hc{constructor(e,t,i){this.view=e,this.state=t,this.transactions=i,this.flags=0,this.startState=e.state,this.changes=$i.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 Nn(s,l,o,f))),this.changedRanges=r}static create(e,t,i){return new hc(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,M$=Gt.RTL;function D$(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 z$(n,e){if(n.length!=e.length)return!1;for(let t=0;t=0;$-=3)if(pr[$+1]==-g){let Q=pr[$+2],_=Q&2?r:Q&4?Q&1?s:r:0;_&&(kt[O]=kt[pr[$]]=_),o=$;break}}else{if(pr.length==189)break;pr[o++]=O,pr[o++]=p,pr[o++]=f}else if((b=kt[O])==2||b==1){let $=b==r;f=$?0:1;for(let Q=o-3;Q>=0;Q-=3){let _=pr[Q+2];if(_&2)break;if($)pr[Q+2]|=2;else{if(_&4)break;pr[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),kt[--b]=g;f=h}else s=u,f++}}}function UO(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 ms(f,$.from,g));let Q=$.direction==jo!=!(g%2);YO(n,Q?i+1:i,r,$.inner,$.from,$.to,l),f=$.to}b=$.to}else{if(b==t||(h?kt[b]!=o:kt[b]==o))break;b++}p?UO(n,f,b,i+1,r,p,l):fe;){let h=!0,O=!1;if(!u||f>s[u-1].to){let $=kt[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(kt[Q-1]==o)break e;break}}if(p)p.push($);else{$.tokt.length;)kt[kt.length]=256;let i=[],r=e==jo?0:1;return YO(n,r,r,t,0,n.length,i),i}function I$(n){return[new ms(0,n,0)]}let N$="";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=ms.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=Ni(n.text,l,u);if(N$=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 Nn(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,(ke.ie||ke.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=Nn.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=ke.chrome||ke.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);Q$(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 Xi;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&&jf(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(ke.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 zi(O,0),l=!0}let h=this.view.observer.selectionRange;(l||!h.focusNode||!fc(f.node,f.offset,h.anchorNode,h.anchorOffset)||!fc(u.node,u.offset,h.focusNode,h.focusOffset))&&(this.view.observer.ignore(()=>{ke.android&&ke.chrome&&this.dom.contains(h.focusNode)&&D3(h.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let O=ac(this.view.root);if(O)if(o.empty){if(ke.gecko){let p=q3(f.node,f.offset);if(p&&p!=3){let g=B$(f.node,f.offset,p==1?1:-1);g&&(f=new zi(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 zi(h.anchorNode,h.anchorOffset),this.impreciseHead=u.precise?null:new zi(h.focusNode,h.focusOffset)}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,i=ac(e.root),{anchorNode:r,anchorOffset:s}=e.observer.selectionRange;if(!i||!t.empty||!t.assoc||!i.modify)return;let l=Xi.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 Xi&&(i=s.domAtPos(s.length))}return i?new zi(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 Xi))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=Ni(r.text,i);if(s==i)return null;let l=Hs(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 Xi){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 $$(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let i=0,r=0;;r++){let s=r==t.viewports.length?null:t.viewports[r],l=s?s.from-1:this.length;if(l>i){let o=(t.lineBlockAt(l).bottom-t.lineBlockAt(i).top)/this.view.scaleY;e.push(Re.replace({widget:new qm(o),block:!0,inclusive:!0,isBlockGap:!0}).range(i,l))}if(!s)break;i=s.to+1}return Re.set(e)}updateDeco(){let e=this.view.state.facet(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=E$(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=ys(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=Ni(r.text,s,!1):o=Ni(r.text,s);let f=i(r.text.slice(l,o));for(;l>0;){let u=Ni(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 Ah(n,e){return n.tope.top+1}function Em(n,e){return en.bottom?{top:n.top,left:n.left,right:n.right,bottom:e}:n}function VO(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&&Ah(r,_)&&(_=Em(Mm(_,r.bottom),r.top));let x=N3(e,_),Z=L3(t,_);if(x==0&&Z==0)return b.nodeType==3?Dm(b,e,t):VO(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&&Ah(h,_)?h=Mm(h,_.bottom):O&&Ah(O,_)&&(O=Em(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 Dm(i,p,t);if(o&&i.contentEditable!="false")return VO(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 Dm(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((ke.chrome||ke.gecko)&&Hs(n,o).getBoundingClientRect().left==h.right&&(g=!p),O<=0)return{node:n,offset:o+(g?1:0)};r=o+(g?1:0),s=O}}}return{node:n,offset:r>-1?r:l>0?n.nodeValue.length:0}}function j$(n,e,t,i=-1){var r,s;let l=n.contentDOM.getBoundingClientRect(),o=l.top+n.viewState.paddingTop,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:zm(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(_)||ke.safari&&B3(_,x,h)||ke.chrome&&j3(_,x,h))&&(_=void 0))}}if(!_||!n.docView.dom.contains(_)){let C=Xi.find(n.docView,g);if(!C)return p>f.top+f.height/2?f.to:f.from;({node:_,offset:x}=VO(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+vO(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 Hs(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():Hs(n,0,Math.max(n.nodeValue.length,1)).getBoundingClientRect();return t-i.left>5}function qO(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=qO(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 Im(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=N$;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==zt.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,$=j$(n,{x:O,y:b},!1,s);if(bf.bottom||(s<0?$r))return K.cursor($,e.assoc,void 0,l)}}function Ff(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 Oi){let r=Oi[i];e.contentDOM.addEventListener(i,s=>{Nm(e,s)&&t(r,s)},EO[i]),this.registeredEvents.push(i)}e.scrollDOM.addEventListener("mousedown",i=>{if(i.target==e.scrollDOM&&i.clientY>e.contentDOM.getBoundingClientRect().bottom&&(t(Oi.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(Oi.drop,i)}),ke.chrome&&ke.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,ke.safari&&e.contentDOM.addEventListener("input",()=>null),ke.gecko&&h5(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=>{Nm(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){kn(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){kn(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,Cl(e.contentDOM,t.key,t.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:ke.safari&&!ke.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 F$=[{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",G$=[16,17,18,20,91,92,224,225],yf=6;function vf(n){return Math.max(0,n)*.7+8}function e5(n,e){return Math.max(Math.abs(n.clientX-e.clientX),Math.abs(n.clientY-e.clientY))}class t5{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(yd).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(ut.allowMultipleSelections)&&i5(e,t),this.dragging=r5(e,t)&&eQ(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&&e5(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=E$(this.view);e.clientX-l.left<=s.left+yf?i=-vf(s.left-e.clientX):e.clientX+l.right>=s.right-yf&&(i=vf(e.clientX-s.right)),e.clientY-l.top<=s.top+yf?r=-vf(s.top-e.clientY):e.clientY+l.bottom>=s.bottom-yf&&(r=vf(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 i5(n,e){let t=n.state.facet(x$);return t.length?t[0](e):ke.mac?e.metaKey:e.ctrlKey}function n5(n,e){let t=n.state.facet(C$);return t.length?t[0](e):ke.mac?!e.altKey:!e.ctrlKey}function r5(n,e){let{main:t}=n.state.selection;if(t.empty)return!1;let i=ac(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 Nm(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 Oi=Object.create(null),EO=Object.create(null),H$=ke.ie&&ke.ie_version<15||ke.ios&&ke.webkit_version<604;function s5(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(),K$(n,t.value)},50)}function K$(n,e){let{state:t}=n,i,r=1,s=t.toText(e),l=s.lines==t.selection.ranges.length;if(MO!=null&&t.selection.ranges.every(f=>f.empty)&&MO==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})}Oi.keydown=(n,e)=>{n.inputState.setSelectionOrigin("select"),e.keyCode==27&&(n.inputState.lastEscPress=Date.now())};Oi.touchstart=(n,e)=>{n.inputState.lastTouchTime=Date.now(),n.inputState.setSelectionOrigin("select.pointer")};Oi.touchmove=n=>{n.inputState.setSelectionOrigin("select.pointer")};EO.touchstart=EO.touchmove={passive:!0};Oi.mousedown=(n,e)=>{if(n.observer.flush(),n.inputState.lastTouchTime>Date.now()-2e3)return;let t=null;for(let i of n.state.facet(X$))if(t=i(n,e),t)break;if(!t&&e.button==0&&(t=a5(n,e)),t){let i=!n.hasFocus;n.inputState.startMouseSelection(new t5(n,e,t,i)),i&&n.observer.ignore(()=>m$(n.contentDOM)),n.inputState.mouseSelection&&n.inputState.mouseSelection.start(e)}};function Lm(n,e,t,i){if(i==1)return K.cursor(e,t);if(i==2)return I3(n.state,e,t);{let r=Xi.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,Bm=(n,e,t)=>J$(e,t)&&n>=t.left&&n<=t.right;function l5(n,e,t,i){let r=Xi.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&&Bm(t,i,l))return-1;let o=r.coordsAt(s,1);return o&&Bm(t,i,o)?1:l&&J$(i,l)?-1:1}function jm(n,e){let t=n.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:l5(n,t,e.clientX,e.clientY)}}const o5=ke.ie&&ke.ie_version<=11;let Fm=null,Gm=0,Hm=0;function eQ(n){if(!o5)return n.detail;let e=Fm,t=Hm;return Fm=n,Hm=Date.now(),Gm=!e||t>Date.now()-400&&Math.abs(e.clientX-n.clientX)<2&&Math.abs(e.clientY-n.clientY)<2?(Gm+1)%3:1}function a5(n,e){let t=jm(n,e),i=eQ(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=jm(n,s),u,h=Lm(n,f.pos,f.bias,i);if(t.pos!=f.pos&&!l){let O=Lm(n,t.pos,t.bias,i),p=Math.min(O.from,h.from),g=Math.max(O.to,h.to);h=p1&&(u=f5(r,f.pos))?u:o?r.addRange(h):K.create([h])}}}function f5(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}Oi.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 Km(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&&n5(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"})}Oi.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&&Km(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 Km(n,e,e.dataTransfer.getData("Text"),!0)};Oi.paste=(n,e)=>{if(n.state.readOnly)return e.preventDefault();n.observer.flush();let t=H$?null:e.clipboardData;t?(K$(n,t.getData("text/plain")||t.getData("text/uri-text")),e.preventDefault()):s5(n)};function c5(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 u5(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 MO=null;Oi.copy=Oi.cut=(n,e)=>{let{text:t,ranges:i,linewise:r}=u5(n.state);if(!t&&!r)return;MO=r?t:null;let s=H$?null:e.clipboardData;s?(e.preventDefault(),s.clearData(),s.setData("text/plain",t)):c5(n,t),e.type=="cut"&&!n.state.readOnly&&n.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"})};const tQ=Fr.define();function iQ(n,e){let t=[];for(let i of n.facet(R$)){let r=i(n,e);r&&t.push(r)}return t?n.update({effects:t,annotations:tQ.of(!0)}):null}function nQ(n){setTimeout(()=>{let e=n.hasFocus;if(e!=n.inputState.notifiedFocused){let t=iQ(n.state,e);t?n.dispatch(t):n.update([])}},10)}Oi.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),nQ(n)};Oi.blur=n=>{n.observer.clearSelectionRange(),nQ(n)};Oi.compositionstart=Oi.compositionupdate=n=>{n.inputState.compositionFirstChange==null&&(n.inputState.compositionFirstChange=!0),n.inputState.composing<0&&(n.inputState.composing=0)};Oi.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,ke.chrome&&ke.android?n.observer.flushSoon():n.inputState.compositionPendingChange?Promise.resolve().then(()=>n.observer.flush()):setTimeout(()=>{n.inputState.composing<0&&n.docView.hasComposition&&n.update([])},50)};Oi.contextmenu=n=>{n.inputState.lastContextMenu=Date.now()};Oi.beforeinput=(n,e)=>{var t;let i;if(ke.chrome&&ke.android&&(i=F$.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 Jm=new Set;function h5(n){Jm.has(n)||(Jm.add(n),n.addEventListener("copy",()=>{}),n.addEventListener("cut",()=>{}))}const e1=["pre-wrap","normal","pre-line","break-spaces"];class O5{constructor(e){this.lineWrapping=e,this.doc=St.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let i=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(i+=Math.max(0,Math.ceil((t-e-i*this.lineLength*.5)/this.lineLength))),this.lineHeight*i}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return e1.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)>Gf&&(e.heightChanged=!0),this.height=t)}replace(e,t,i){return Hi.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 wn extends rQ{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,i,r){return new wr(r,this.length,i,this.height,this.breaks)}replace(e,t,i){let r=i[0];return i.length==1&&(r instanceof wn||r instanceof Ci&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof Ci?r=new wn(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):Hi.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 Ci extends Hi{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 wr(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 wr(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 wr(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 wr(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 wr(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 Ci?i[i.length-1]=new Ci(s.length+r):i.push(null,new Ci(r-1))}if(e>0){let s=i[0];s instanceof Ci?i[0]=new Ci(e+s.length):i.unshift(new Ci(e-1),null)}return Hi.of(i)}decomposeLeft(e,t){t.push(new Ci(e-1),null)}decomposeRight(e,t){t.push(null,new Ci(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 Ci(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)>=Gf&&(f=-2);let p=new wn(h,O);p.outdated=!1,l.push(p),o+=h+1}o<=s&&l.push(null,new Ci(s-o).updateHeight(e,o));let u=Hi.of(l);return(f<0||Math.abs(u.height-this.height)>=Gf||Math.abs(f-this.heightMetrics(e,t).perLine)>=Gf)&&(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 p5 extends Hi{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&&t1(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?Hi.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 t1(n,e){let t,i;n[e]==null&&(t=n[e-1])instanceof Ci&&(i=n[e+1])instanceof Ci&&n.splice(e-1,3,new Ci(t.length+1+i.length))}const g5=5;class vd{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 wn?r.length+=i-this.pos:(i>this.pos||!this.isCovered)&&this.nodes.push(new wn(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=g5)&&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 wn(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let i=new Ci(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 wn)return e;let t=new wn(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 wn)&&!this.isCovered?this.nodes.push(new wn(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 $5(n,e){let t=n.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class Yh{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 O5(t),this.stateDeco=e.facet(Bo).filter(i=>typeof i!="function"),this.heightMap=Hi.empty().applyChanges(this.stateDeco,St.empty,this.heightOracle.setDoc(e.doc),[new Nn(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Re.set(this.lineGaps.map(i=>i.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let i=0;i<=1;i++){let r=i?t.head:t.anchor;if(!e.some(({from:s,to:l})=>r>=s&&r<=l)){let{from:s,to:l}=this.lineBlockAt(r);e.push(new Pf(s,l))}}this.viewports=e.sort((i,r)=>i.from-r.from),this.scaler=this.heightMap.height<=7e6?n1:new v5(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=Nn.extendWithRanges(r,m5(i,this.stateDeco,e?e.changes:$i.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(U$)&&(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=b$(e.scrollDOM);let b=(this.printing?$5:b5)(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:z}=e.docView.measureTextSize();l=X>0&&r.refresh(s,X,R,z,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?Hi.empty().applyChanges(this.stateDeco,St.empty,this.heightOracle,[new Nn(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,l,new d5(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 Pf(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 Yh(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=[];wt.spans(e,this.viewport.from,this.viewport.to,{span(r,s){t.push({from:r,to:s})},point(){}},20);let i=t.length!=this.visibleRanges.length||this.visibleRanges.some((r,s)=>r.from!=t[s].from||r.to!=t[s].to);return this.visibleRanges=t,i?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||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 Pf{constructor(e,t){this.from=e,this.to=t}}function w5(n,e,t){let i=[],r=n,s=0;return wt.spans(t,n,e,{span(){},point(l,o){l>r&&(i.push({from:r,to:l}),s+=l-r),r=o}},20),r=1)return e[e.length-1].to;let i=Math.floor(n*t);for(let r=0;;r++){let{from:s,to:l}=e[r],o=l-s;if(i<=o)return s+i;i-=o}}function _f(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 y5(n,e){for(let t of n)if(e(t))return t}const n1={toDOM(n){return n},fromDOM(n){return n},scale:1};class v5{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 Wf=Pe.define({combine:n=>n.join(" ")}),DO=Pe.define({combine:n=>n.indexOf(!0)>-1}),zO=Qs.newName(),sQ=Qs.newName(),lQ=Qs.newName(),oQ={"&light":"."+sQ,"&dark":"."+lQ};function IO(n,e,t){return new Qs(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 P5=IO("."+zO,{"&":{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"}},oQ),Co="￿";class k5{constructor(e,t){this.points=e,this.text="",this.lineSeparator=t.facet(ut.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:r1(r))||r1(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 r1(n){return n.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(n.nodeName)}class s1{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class _5{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?[]:C5(e),f=new k5(o,e.state);f.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=f.text,this.newSel=X5(o,this.bounds.from)}else{let o=e.observer.selectionRange,f=s&&s.node==o.focusNode&&s.offset==o.focusOffset||!_O(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||!_O(e.contentDOM,o.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(o.anchorNode,o.anchorOffset);this.newSel=K.single(u,f)}}}function aQ(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||ke.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))}:(ke.mac||ke.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:St.of([" "])}):ke.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:St.of([" "])}),t){if(ke.ios&&n.inputState.flushIOSKey(n)||ke.android&&(t.from==r.from&&t.to==r.to&&t.insert.length==1&&t.insert.lines==2&&Cl(n.contentDOM,"Enter",13)||(t.from==r.from-1&&t.to==r.to&&t.insert.length==0||s==8&&t.insert.lengthr.head)&&Cl(n.contentDOM,"Backspace",8)||t.from==r.from&&t.to==r.to+1&&t.insert.length==0&&Cl(n.contentDOM,"Delete",46)))return!0;let l=t.insert.toString();n.inputState.composing>=0&&n.inputState.composing++;let o,f=()=>o||(o=W5(n,t,i));return n.state.facet(Z$).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 W5(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&&L$(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 x5(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 C5(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 s1(t,i)),(r!=t||s!=i)&&e.push(new s1(r,s))),e}function X5(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 T5={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Vh=ke.ie&&ke.ie_version<=11;class Z5{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);(ke.ie&&ke.ie_version<=11||ke.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()}),Vh&&(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(Lc)?i.root.activeElement!=this.dom:!jf(i.dom,r))return;let s=r.anchorNode&&i.docView.nearest(r.anchorNode);if(s&&s.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(ke.ie&&ke.ie_version<=11||ke.android&&ke.chrome)&&!i.state.selection.main.empty&&r.focusNode&&fc(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=ke.safari&&e.root.nodeType==11&&p3(this.dom.ownerDocument)==this.dom&&R5(this.view)||ac(e.root);if(!t||this.selectionRange.eq(t))return!1;let i=jf(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&&Cl(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&&jf(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 _5(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=aQ(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=l1(t,e.previousSibling||e.target.previousSibling,-1),r=l1(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 l1(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 R5(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 fc(o.node,o.offset,s,l)&&([i,r,s,l]=[s,l,i,r]),{anchorNode:i,anchorOffset:r,focusNode:s,focusOffset:l}}class Se{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 i1(e.state||ut.create(e)),this.plugins=this.state.facet(_o).map(i=>new Rh(i));for(let i of this.plugins)i.update(this);this.observer=new Z5(this),this.inputState=new K3(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new Vm(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 Qi?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(tQ))?(this.inputState.notifiedFocused=l,o=1):l!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=l,f=iQ(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(ut.phrases)!=this.state.facet(ut.phrases))return this.setState(s);r=hc.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 uc(g.empty?g:K.cursor(g.head,g.head>g.anchor?-1:1))}for(let g of p.effects)g.is(Um)&&(O=g.value)}this.viewState.update(r,O),this.bidiCache=Oc.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(Wf)!=r.state.facet(Wf)&&(this.viewState.mustMeasureContent=!0),(t||i||O||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!r.empty)for(let p of this.state.facet(RO))p(r);(f||h)&&Promise.resolve().then(()=>{f&&this.state==f.startState&&this.dispatch(f),h&&!aQ(this,h)&&u.force&&Cl(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 i1(e),this.plugins=e.facet(_o).map(i=>new Rh(i)),this.pluginMap.clear();for(let i of this.plugins)i.update(this);this.docView=new Vm(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 Rh(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(b$(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 kn(this.state,b),o1}}),O=hc.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(RO))o(t)}get themeClasses(){return zO+" "+(this.state.facet(DO)?lQ:sQ)+" "+this.state.facet(Wf)}updateAttrs(){let e=a1(this,Y$,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Lc)?"true":"false",class:"cm-content",style:`${ke.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),a1(this,wd,t);let i=this.observer.ignore(()=>{let r=TO(this.contentDOM,this.contentAttrs,t),s=TO(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(Se.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(Se.cspNonce);Qs.mount(this.root,this.styleModules.concat(P5).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 Uh(this,e,Im(this,e,t,i))}moveByGroup(e,t){return Uh(this,e,Im(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 Uh(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(),j$(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let i=this.docView.coordsAt(e,t);if(!i||i.left==i.right)return i;let r=this.state.doc.lineAt(e),s=this.bidiSpans(r),l=s[ms.find(s,e-r.from,-1,t)];return bd(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(A$)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>A5)return I$(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||z$(s.isolates,i=Ym(this,e.from,e.to))))return s.order;i||(i=Ym(this,e.from,e.to));let r=A3(e.text,t,i);return this.bidiCache.push(new Oc(e.from,e.to,t,i,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||ke.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{m$(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 Um.of(new uc(typeof e=="number"?K.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}static domEventHandlers(e){return di.define(()=>({}),{eventHandlers:e})}static theme(e,t){let i=Qs.newName(),r=[Wf.of(i),Wo.of(IO(`.${i}`,e))];return t&&t.dark&&r.push(DO.of(!0)),r}static baseTheme(e){return Js.lowest(Wo.of(IO("."+zO,e,oQ)))}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}}Se.styleModule=Wo;Se.inputHandler=Z$;Se.focusChangeEffect=R$;Se.perLineTextDirection=A$;Se.exceptionSink=T$;Se.updateListener=RO;Se.editable=Lc;Se.mouseSelectionStyle=X$;Se.dragMovesSelection=C$;Se.clickAddsSelectionRange=x$;Se.decorations=Bo;Se.atomicRanges=yd;Se.bidiIsolatedRanges=V$;Se.scrollMargins=q$;Se.darkTheme=DO;Se.cspNonce=Pe.define({combine:n=>n.length?n[0]:""});Se.contentAttributes=wd;Se.editorAttributes=Y$;Se.lineWrapping=Se.contentAttributes.of({class:"cm-lineWrapping"});Se.announce=Me.define();const A5=4096,o1={};class Oc{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&&XO(l,t)}return t}const U5=ke.mac?"mac":ke.windows?"win":ke.linux?"linux":"key";function Y5(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 q5(n,e,t){return cQ(fQ(n.state),e,n,t)}let ds=null;const E5=4e3;function M5(n,e=U5){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(_=>Y5(_,e));for(let _=1;_{let C=ds={view:Z,prefix:x,scope:l};return setTimeout(()=>{ds==C&&(ds=null)},E5),!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 cQ(n,e,t,i){let r=d3(e),s=Ti(r,0),l=yn(s)==r.length&&r!=" ",o="",f=!1,u=!1,h=!1;ds&&ds.view==t&&ds.scope==i&&(o=ds.prefix+" ",G$.indexOf(e.keyCode)<0&&(u=!0,ds=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+xf(r,e,!l)])?f=!0:l&&(e.altKey||e.metaKey||e.ctrlKey)&&!(ke.windows&&e.ctrlKey&&e.altKey)&&(b=ws[e.keyCode])&&b!=r?(p(g[o+xf(b,e,!0)])||e.shiftKey&&($=No[e.keyCode])!=r&&$!=b&&p(g[o+xf($,e,!1)]))&&(f=!0):l&&e.shiftKey&&p(g[o+xf(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=uQ(e);return[new aa(t,r.left-s.left,r.top-s.top,null,r.bottom-r.top)]}else return D5(e,t,i)}}function uQ(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 c1(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 D5(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=uQ(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=qO(n,i),b=qO(n,r),$=g.type==Kt.Text?g:null,Q=b.type==Kt.Text?b:null;if($&&(n.lineWrapping||g.widgetLineBreaks)&&($=c1(n,i,$)),Q&&(n.lineWrapping||b.widgetLineBreaks)&&(Q=c1(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),z=[];return($||g).to<(Q||b).from-($&&Q?1:0)||g.widgetLineBreaks>1&&X.bottom+n.defaultLineHeight/2ae&&we.from=ue)break;Xe>qe&&re(Math.max(Ce,qe),X==null&&Ce<=ae,Math.min(Xe,ue),R==null&&Xe>=ye,Te.dir)}if(qe=fe.to+1,qe>=ue)break}return I.length==0&&re(ae,X==null,ye,R==null,n.textDirection),{top:q,bottom:F,horizontal:I}}function C(X,R){let z=o.top+(R?X.top:X.bottom);return{top:z,bottom:z,horizontal:[]}}}function z5(n,e){return n.constructor==e.constructor&&n.eq(e)}class I5{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(Hf)!=e.state.facet(Hf)&&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(Hf);for(;t!z5(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 Hf=Pe.define();function hQ(n){return[di.define(e=>new I5(e,n)),Hf.of(n)]}const OQ=!ke.ios,Fo=Pe.define({combine(n){return Wr(n,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}});function N5(n={}){return[Fo.of(n),L5,B5,j5,U$.of(!0)]}function dQ(n){return n.startState.facet(Fo)!=n.state.facet(Fo)}const L5=hQ({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||OQ: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=dQ(n);return t&&u1(n.state,e),n.docChanged||n.selectionSet||t},mount(n,e){u1(e.state,n)},class:"cm-cursorLayer"});function u1(n,e){e.style.animationDuration=n.facet(Fo).cursorBlinkRate+"ms"}const B5=hQ({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||dQ(n)},class:"cm-selectionLayer"}),pQ={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};OQ&&(pQ[".cm-line"].caretColor="transparent !important");const j5=Js.highest(Se.theme(pQ)),gQ=Me.define({map(n,e){return n==null?null:e.mapPos(n)}}),Xo=wi.define({create(){return null},update(n,e){return n!=null&&(n=e.changes.mapPos(n)),e.effects.reduce((t,i)=>i.is(gQ)?i.value:t,n)}}),F5=di.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:gQ.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 G5(){return[Xo,F5]}function h1(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 H5(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 K5{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 $s,i=t.add.bind(t);for(let{from:r,to:s}of H5(e,this.maxLength))h1(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 NO=/x/.unicode!=null?"gu":"g",J5=new RegExp(`[\0-\b ---Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,NO),eC={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 qh=null;function tC(){var n;if(qh==null&&typeof document<"u"&&document.body){let e=document.body.style;qh=((n=e.tabSize)!==null&&n!==void 0?n:e.MozTabSize)!=null}return qh||!1}const Kf=Pe.define({combine(n){let e=Wr(n,{render:null,specialChars:J5,addSpecialChars:null});return(e.replaceTabs=!tC())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,NO)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,NO)),e}});function iC(n={}){return[Kf.of(n),nC()]}let O1=null;function nC(){return O1||(O1=di.fromClass(class{constructor(n){this.view=n,this.decorations=Re.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(n.state.facet(Kf)),this.decorations=this.decorator.createDeco(n)}makeDecorator(n){return new K5({regexp:n.specialChars,decoration:(e,t,i)=>{let{doc:r}=t.state,s=Ti(e[0],0);if(s==9){let l=r.lineAt(i),o=t.state.tabSize,f=ra(l.text,o,i-l.from);return Re.replace({widget:new oC((o-f%o)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[s]||(this.decorationCache[s]=Re.replace({widget:new lC(n,s)}))},boundary:n.replaceTabs?void 0:/[^]/})}update(n){let e=n.state.facet(Kf);n.startState.facet(Kf)!=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 rC="•";function sC(n){return n>=32?rC:n==10?"␤":String.fromCharCode(9216+n)}class lC extends Ws{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=sC(this.code),i=e.state.phrase("Control character")+" "+(eC[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 oC extends Ws{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 aC(){return cC}const fC=Re.line({class:"cm-activeLine"}),cC=di.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(fC.range(r.from)),e=r.from)}return Re.set(t)}},{decorations:n=>n.decorations}),LO=2e3;function uC(n,e,t){let i=Math.min(e.line,t.line),r=Math.max(e.line,t.line),s=[];if(e.off>LO||t.off>LO||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=vO(u.text,l,n.tabSize,!0);if(h<0)s.push(K.cursor(u.to));else{let O=vO(u.text,o,n.tabSize);s.push(K.range(u.from+h,u.from+O))}}}return s}function hC(n,e){let t=n.coordsAtPos(n.viewport.from);return t?Math.round(Math.abs((t.left-e)/n.defaultCharacterWidth)):-1}function d1(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>LO?-1:r==i.length?hC(n,e.clientX):ra(i.text,n.state.tabSize,t-i.from);return{line:i.number,col:s,off:r}}function OC(n,e){let t=d1(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=d1(n,r);if(!o)return i;let f=uC(n.state,t,o);return f.length?l?K.create(f.concat(i.ranges)):K.create(f):i}}:null}function dC(n){let e=(n==null?void 0:n.eventFilter)||(t=>t.altKey&&t.button==0);return Se.mouseSelectionStyle.of((t,i)=>e(i)?OC(t,i):null)}const pC={Alt:[18,n=>!!n.altKey],Control:[17,n=>!!n.ctrlKey],Shift:[16,n=>!!n.shiftKey],Meta:[91,n=>!!n.metaKey]},gC={style:"cursor: crosshair"};function mC(n={}){let[e,t]=pC[n.key||"Alt"],i=di.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,Se.contentAttributes.of(r=>{var s;return!((s=r.plugin(i))===null||s===void 0)&&s.isDown?gC:null})]}const Cf="-10000px";class mQ{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:ke.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)||SC}}}),p1=new WeakMap,SQ=di.fromClass(class{constructor(n){this.view=n,this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=n.state.facet(Eh);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 mQ(n,Pd,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(Eh);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=Cf,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(Eh).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=Cf;continue}let g=f.arrow?u.dom.querySelector(".cm-tooltip-arrow"):null,b=g?7:0,$=p.right-p.left,Q=(e=p1.get(u))!==null&&e!==void 0?e:p.bottom-p.top,_=u.offset||$C,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:z,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=Cf}},{eventHandlers:{scroll(){this.maybeMeasure()}}}),bC=Se.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"}}}),$C={x:0,y:0},Pd=Pe.define({enables:[SQ,bC]}),dc=Pe.define();class kd{static create(e){return new kd(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new mQ(e,dc,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 QC=Pd.compute([dc],n=>{let e=n.facet(dc).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:kd.create,above:e[0].above,arrow:e.some(t=>t.arrow)}});class wC{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=>kn(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&&!g1(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:!yC(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&&!g1(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 g1(n){for(let e=n;e;e=e.parentNode)if(e.nodeType==1&&e.classList.contains("cm-tooltip"))return!0;return!1}function yC(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 vC(n,e={}){let t=Me.define(),i=wi.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,Ri.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(kC)&&(r=null);return r},provide:r=>dc.from(r)});return[i,di.define(r=>new wC(r,n,i,t,e.hoverTime||300)),QC]}function PC(n,e){let t=n.plugin(SQ);if(!t)return null;let i=t.manager.tooltips.indexOf(e);return i<0?null:t.manager.tooltipViews[i]}const kC=Me.define(),m1=Pe.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(bQ),i=t?t.specs.indexOf(e):-1;return i>-1?t.panels[i]:null}const bQ=di.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(m1);this.top=new Xf(n,!0,e.topContainer),this.bottom=new Xf(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(m1);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new Xf(n.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new Xf(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=>Se.scrollMargins.of(e=>{let t=e.plugin(n);return t&&{top:t.top.scrollMargin(),bottom:t.bottom.scrollMargin()}})});class Xf{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=S1(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=S1(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 S1(n){let e=n.nextSibling;return n.remove(),e}const Ho=Pe.define({enables:bQ});class jr extends Gs{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=Ri.TrackBefore;jr.prototype.startSide=jr.prototype.endSide=-1;jr.prototype.point=!0;const Jf=Pe.define(),_C={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>wt.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},qo=Pe.define();function WC(n){return[$Q(),qo.of(Object.assign(Object.assign({},_C),n))]}const BO=Pe.define({combine:n=>n.some(e=>e)});function $Q(n){let e=[xC];return n&&n.fixed===!1&&e.push(BO.of(!0)),e}const xC=di.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 $1(n,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!n.state.facet(BO),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(BO)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=n.view.viewport}syncGutters(n){let e=this.dom.nextSibling;n&&this.dom.remove();let t=wt.iter(this.view.state.facet(Jf),this.view.viewport.from),i=[],r=this.gutters.map(s=>new CC(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){jO(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){jO(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||!wt.eq(n.startState.facet(Jf),n.state.facet(Jf),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 $1(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=>Se.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 b1(n){return Array.isArray(n)?n:[n]}function jO(n,e,t){for(;n.value&&n.from<=t;)n.from==t&&e.push(n.value),n.next()}class CC{constructor(e,t,i){this.gutter=e,this.height=i,this.i=0,this.cursor=wt.iter(e.markers,t.from)}addElement(e,t,i){let{gutter:r}=this,s=t.top-this.height;if(this.i==r.elements.length){let l=new QQ(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=[];jO(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 $1{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=b1(t.markers(e)),t.initialSpacer&&(this.spacer=new QQ(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=b1(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let r=this.config.updateSpacer(this.spacer.markers[0],e);r!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[r])}let i=e.view.viewport;return!wt.eq(this.markers,t,i.from,i.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class QQ{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":""),XC(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 Mh extends jr{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function Dh(n,e){return n.state.facet(Ql).formatNumber(e,n.state)}const ZC=qo.compute([Ql],n=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(TC)},lineMarker(e,t,i){return i.some(r=>r.toDOM)?null:new Mh(Dh(e,e.state.doc.lineAt(t.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet(Ql)!=e.state.facet(Ql),initialSpacer(e){return new Mh(Dh(e,Q1(e.state.doc.lines)))},updateSpacer(e,t){let i=Dh(t.view,Q1(t.view.state.doc.lines));return i==e.number?e:new Mh(i)},domEventHandlers:n.facet(Ql).domEventHandlers}));function RC(n={}){return[Ql.of(n),$Q(),ZC]}function Q1(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(AC.range(r)))}return wt.of(e)});function YC(){return UC}function VC(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:xe,i:xe,o:xe,d(t){t&&Y(e),n[7](null)}}}function qC(n,e,t){let{state:i}=e,r,s;Ic(()=>{t(6,s=new Se({parent:r})),s.focus()});function l(){return s||null}function o(){return s?s.state:null}async function f(O){s&&(await Os(),s.dispatch({selection:{anchor:O}}))}function u(){s.focus()}function h(O){hi[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 EC extends Yi{constructor(e){super(),Ui(this,e,qC,VC,Ai,{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,_d=En===null,Ko=_d?void 0:En.document,er="addEventListener",tr="removeEventListener",zh="getBoundingClientRect",$o="_a",ir="_b",Dr="_c",Tf="horizontal",nr=function(){return!1},MC=_d?"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",wQ=function(n){return typeof n=="string"||n instanceof String},w1=function(n){if(wQ(n)){var e=Ko.querySelector(n);if(!e)throw new Error("Selector "+n+" did not match a DOM element");return e}return n},Mi=function(n,e,t){var i=n[e];return i!==void 0?i:t},Zf=function(n,e,t,i){if(e){if(i==="end")return 0;if(i==="center")return n/2}else if(t){if(i==="start")return 0;if(i==="center")return n/2}return n},DC=function(n,e){var t=Ko.createElement("div");return t.className="gutter gutter-"+e,t},zC=function(n,e,t){var i={};return wQ(e)?i[n]=e:i[n]=MC+"("+e+"% - "+t+"px)",i},IC=function(n,e){var t;return t={},t[n]=e+"px",t},NC=function(n,e){if(e===void 0&&(e={}),_d)return{};var t=n,i,r,s,l,o,f;Array.from&&(t=Array.from(t));var u=w1(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),_=Array.isArray(Q)?Q:t.map(function(){return Q}),x=Mi(e,"expandToMin",!1),Z=Mi(e,"gutterSize",10),C=Mi(e,"gutterAlign","center"),X=Mi(e,"snapOffset",30),R=Array.isArray(X)?X:t.map(function(){return X}),z=Mi(e,"dragInterval",1),q=Mi(e,"direction",Tf),F=Mi(e,"cursor",q===Tf?"col-resize":"row-resize"),I=Mi(e,"gutter",DC),re=Mi(e,"elementStyle",zC),ae=Mi(e,"gutterStyle",IC);q===Tf?(i="width",r="clientX",s="left",l="right",o="clientWidth"):q==="vertical"&&(i="height",r="clientY",s="top",l="bottom",o="clientHeight");function ye(te,H,ie,ce){var Je=re(i,H,ie,ce);Object.keys(Je).forEach(function(et){te.style[et]=Je[et]})}function we(te,H,ie){var ce=ae(i,H,ie);Object.keys(ce).forEach(function(Je){te.style[Je]=ce[Je]})}function qe(){return f.map(function(te){return te.size})}function ue(te){return"touches"in te?te.touches[0][r]:te[r]}function fe(te){var H=f[this.a],ie=f[this.b],ce=H.size+ie.size;H.size=te/this.size*ce,ie.size=ce-te/this.size*ce,ye(H.element,H.size,this[ir],H.i),ye(ie.element,ie.size,this[Dr],ie.i)}function Te(te){var H,ie=f[this.a],ce=f[this.b];this.dragging&&(H=ue(te)-this.start+(this[ir]-this.dragOffset),z>1&&(H=Math.round(H/z)*z),H<=ie.minSize+ie.snapOffset+this[ir]?H=ie.minSize+this[ir]:H>=this.size-(ce.minSize+ce.snapOffset+this[Dr])&&(H=this.size-(ce.minSize+this[Dr])),H>=ie.maxSize-ie.snapOffset+this[ir]?H=ie.maxSize+this[ir]:H<=this.size-(ce.maxSize-ce.snapOffset+this[Dr])&&(H=this.size-(ce.maxSize+this[Dr])),fe.call(this,H),Mi(e,"onDrag",nr)(qe()))}function Ce(){var te=f[this.a].element,H=f[this.b].element,ie=te[zh](),ce=H[zh]();this.size=ie[i]+ce[i]+this[ir]+this[Dr],this.start=ie[s],this.end=ie[l]}function Xe(te){if(!getComputedStyle)return null;var H=getComputedStyle(te);if(!H)return null;var ie=te[o];return ie===0?null:(q===Tf?ie-=parseFloat(H.paddingLeft)+parseFloat(H.paddingRight):ie-=parseFloat(H.paddingTop)+parseFloat(H.paddingBottom),ie)}function Ke(te){var H=Xe(h);if(H===null||$.reduce(function(et,at){return et+at},0)>H)return te;var ie=0,ce=[],Je=te.map(function(et,at){var pt=H*et/100,tt=Zf(Z,at===0,at===te.length-1,C),le=$[at]+tt;return pt0&&ce[at]-ie>0){var tt=Math.min(ie,ce[at]-ie);ie-=tt,pt=et-tt}return pt/H*100})}function Nt(){var te=this,H=f[te.a].element,ie=f[te.b].element;te.dragging&&Mi(e,"onDragEnd",nr)(qe()),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="",Ko.body.style.cursor=""}function ti(te){if(!("button"in te&&te.button!==0)){var H=this,ie=f[H.a].element,ce=f[H.b].element;H.dragging||Mi(e,"onDragStart",nr)(qe()),te.preventDefault(),H.dragging=!0,H.move=Te.bind(H),H.stop=Nt.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),ce[er]("selectstart",nr),ce[er]("dragstart",nr),ie.style.userSelect="none",ie.style.webkitUserSelect="none",ie.style.MozUserSelect="none",ie.style.pointerEvents="none",ce.style.userSelect="none",ce.style.webkitUserSelect="none",ce.style.MozUserSelect="none",ce.style.pointerEvents="none",H.gutter.style.cursor=F,H.parent.style.cursor=F,Ko.body.style.cursor=F,Ce.call(H),H.dragOffset=ue(te)-H.end}}g=Ke(g);var Wt=[];f=t.map(function(te,H){var ie={element:w1(te),size:g[H],minSize:$[H],maxSize:_[H],snapOffset:R[H],i:H},ce;if(H>0&&(ce={a:H-1,b:H,dragging:!1,direction:q,parent:h},ce[ir]=Zf(Z,H-1===0,!1,C),ce[Dr]=Zf(Z,!1,H===t.length-1,C),p==="row-reverse"||p==="column-reverse")){var Je=ce.a;ce.a=ce.b,ce.b=Je}if(H>0){var et=I(H,q,ie.element);we(et,Z,H),ce[$o]=ti.bind(ce),et[er]("mousedown",ce[$o]),et[er]("touchstart",ce[$o]),h.insertBefore(et,ie.element),ce.gutter=et}return ye(ie.element,ie.size,Zf(Z,H===0,H===t.length-1,C),H),H>0&&Wt.push(ce),ie});function xt(te){var H=te.i===Wt.length,ie=H?Wt[te.i-1]:Wt[te.i];Ce.call(ie);var ce=H?ie.size-te.minSize-ie[Dr]:te.minSize+ie[ir];fe.call(ie,ce)}f.forEach(function(te){var H=te.element[zh]()[i];H0){var Je=Wt[ce-1],et=f[Je.a],at=f[Je.b];et.size=H[ce-1],at.size=ie,ye(et.element,et.size,Je[ir],et.i),ye(at.element,at.size,Je[Dr],at.i)}})}function $e(te,H){Wt.forEach(function(ie){if(H!==!0?ie.parent.removeChild(ie.gutter):(ie.gutter[tr]("mousedown",ie[$o]),ie.gutter[tr]("touchstart",ie[$o])),te!==!0){var ce=re(i,ie.a.size,ie[ir]);Object.keys(ce).forEach(function(Je){f[ie.a].element.style[Je]="",f[ie.b].element.style[Je]=""})}})}return{setSizes:Tt,getSizes:qe,collapse:function(H){xt(f[H])},destroy:$e,parent:h,pairs:Wt}};const LC=n=>({}),y1=n=>({}),BC=n=>({}),v1=n=>({});function jC(n){let e,t,i,r,s;const l=n[6].panelA,o=on(l,n,n[5],v1),f=n[6].panelB,u=on(f,n,n[5],y1);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"),oe(t,"no-splitter",n[1]!=="all"),oe(t,"is-hidden",!Rf("a",n[1])),y(r,"class","split-panel svelte-e8t4e8"),oe(r,"no-splitter",n[1]!=="all"),oe(r,"is-hidden",!Rf("b",n[1])),y(e,"class","split svelte-e8t4e8"),oe(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)&&fn(o,l,h,h[5],s?an(l,h[5],O,BC):cn(h[5]),v1),(!s||O&2)&&oe(t,"no-splitter",h[1]!=="all"),(!s||O&2)&&oe(t,"is-hidden",!Rf("a",h[1])),u&&u.p&&(!s||O&32)&&fn(u,f,h,h[5],s?an(f,h[5],O,LC):cn(h[5]),y1),(!s||O&2)&&oe(r,"no-splitter",h[1]!=="all"),(!s||O&2)&&oe(r,"is-hidden",!Rf("b",h[1])),(!s||O&1)&&oe(e,"horizontal",h[0]==="horizontal")},i(h){s||(D(o,h),D(u,h),s=!0)},o(h){j(o,h),j(u,h),s=!1},d(h){h&&Y(e),o&&o.d(h),n[7](null),u&&u.d(h),n[8](null)}}}function Rf(n,e){return e==="all"||e===n}function FC(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&&(h=NC([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])}Ic(()=>(O(s,o),p));function b(Q){hi[Q?"unshift":"push"](()=>{f=Q,t(2,f)})}function $(Q){hi[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 GC extends Yi{constructor(e){super(),Ui(this,e,FC,jC,Ai,{direction:0,split:4,showPanels:1})}}const Af=parseFloat;function FO(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 HC(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")),FO([FO({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 KC(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),FO([`translate(${Af(e)*s}${l},${Af(t)*s}${l})`,`scale(${f*Af(n)},${u*Af(n)})`,i&&`rotate(${i}${o})`]," ")}function P1(n){let e,t,i,r,s,l,o,f;function u(p,g){return typeof p[10][4]=="string"?e4:JC}let h=u(n),O=h(n);return{c(){e=kl("svg"),t=kl("g"),i=kl("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"),oe(e,"pulse",n[4]),oe(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&&oe(e,"pulse",p[4]),g&9&&oe(e,"spin",p[3])},d(p){p&&Y(e),O.d()}}}function JC(n){let e,t,i,r,s,l,o,f,u,h;return{c(){e=kl("path"),l=kl("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=kl("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]&&P1(n);return{c(){t&&t.c(),e=ci()},m(i,r){t&&t.m(i,r),V(i,e,r)},p(i,[r]){i[10][4]?t?t.p(i,r):(t=P1(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:xe,o:xe,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,z,q,F;return n.$$set=I=>{"class"in I&&t(0,i=I.class),"id"in I&&t(1,r=I.id),"style"in I&&t(13,s=I.style),"icon"in I&&t(14,l=I.icon),"size"in I&&t(15,o=I.size),"color"in I&&t(2,f=I.color),"fw"in I&&t(16,u=I.fw),"pull"in I&&t(17,h=I.pull),"scale"in I&&t(18,O=I.scale),"translateX"in I&&t(19,p=I.translateX),"translateY"in I&&t(20,g=I.translateY),"rotate"in I&&t(21,b=I.rotate),"flip"in I&&t(22,$=I.flip),"spin"in I&&t(3,Q=I.spin),"pulse"in I&&t(4,_=I.pulse),"primaryColor"in I&&t(5,x=I.primaryColor),"secondaryColor"in I&&t(6,Z=I.secondaryColor),"primaryOpacity"in I&&t(7,C=I.primaryOpacity),"secondaryOpacity"in I&&t(8,X=I.secondaryOpacity),"swapOpacity"in I&&t(9,R=I.swapOpacity)},n.$$.update=()=>{n.$$.dirty&16384&&t(10,z=l&&l.icon||[0,0,"",[],""]),n.$$.dirty&237568&&t(11,q=HC(s,o,h,u)),n.$$.dirty&8126464&&t(12,F=KC(O,p,g,b,$,512))},[i,r,f,Q,_,x,Z,C,X,R,z,q,F,s,l,o,u,h,O,p,g,b,$]}class n4 extends Yi{constructor(e){super(),Ui(this,e,i4,t4,Ai,{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=n4;var GO={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"]},yQ={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"]},k1={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"]},vQ={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"]},_1={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"]},W1={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"]},PQ={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"]},kQ=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"]},_Q={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"]},WQ={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"]},xQ={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]&&x1(n);return{c(){e=k("span"),t=Qe(n[1]),i=Qe(n[2]),r=N(),u&&u.c(),s=ci(),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=se(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=x1(h),u.c(),D(u,1),u.m(s.parentNode,s)):u&&(it(),j(u,1,1,()=>{u=null}),nt())},i(h){l||(D(u),l=!0)},o(h){j(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=Qe(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),Ii(e,n[4]),V(l,i,o),r||(s=[se(e,"input",n[12]),se(e,"blur",n[10]),se(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]&&Ii(e,l[4]),o&4&&Be(i,l[2])},i:xe,o:xe,d(l){l&&(Y(e),Y(i)),n[11](null),r=!1,It(s)}}}function x1(n){let e,t,i,r,s;return t=new _t({props:{icon:WQ}}),{c(){e=k("span"),Ee(t.$$.fragment),y(e,"class","close-tab svelte-1ul6ap")},m(l,o){V(l,e,o),Ye(t,e,null),i=!0,r||(s=se(e,"click",n[13]),r=!0)},p:xe,i(l){i||(D(t.$$.fragment,l),i=!0)},o(l){j(t.$$.fragment,l),i=!1},d(l){l&&Y(e),Ve(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"),oe(e,"active",n[0]),oe(e,"readonly",n[3])},m(h,O){V(h,e,O),f[t].m(e,null),r=!0,s||(l=se(e,"click",n[14]),s=!0)},p(h,[O]){let p=t;t=u(h),t===p?f[t].p(h,O):(it(),j(f[p],1,1,()=>{f[p]=null}),nt(),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)&&oe(e,"active",h[0]),(!r||O&8)&&oe(e,"readonly",h[3])},i(h){r||(D(i),r=!0)},o(h){j(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=jn();let f=!1,u,h="";async function O(){!i||l||(t(5,f=!0),t(4,h=r),await Os(),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){hi[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 Yi{constructor(e){super(),Ui(this,e,S4,m4,Ai,{active:0,name:1,suffix:2,readonly:3})}}function CQ(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=CQ}=i;return{delay:h,duration:zc(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 C1(n,e,t){const i=n.slice();return i[19]=e[t],i}function X1(n,e){let t,i,r,s=xe,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"),Ee(i.$$.fragment),y(t,"draggable",!0),oe(t,"is-active",e[0]===e[19].index),this.first=t},m(b,$){V(b,t,$),Ye(i,t,null),l=!0,o||(f=[se(t,"dragstart",p),se(t,"dragover",e[7]),se(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)&&oe(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){j(i.$$.fragment,b),l=!1},d(b){b&&Y(t),Ve(i),o=!1,It(f)}}}function T1(n){let e,t,i,r,s,l,o,f,u,h,O,p;return r=new _t({props:{icon:_Q}}),u=new _t({props:{icon:a4}}),{c(){e=k("li"),t=k("a"),i=k("span"),Ee(r.$$.fragment),s=N(),l=k("li"),o=k("button"),f=k("span"),Ee(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),Ye(r,i,null),V(g,s,b),V(g,l,b),v(l,o),v(o,f),Ye(u,f,null),h=!0,O||(p=[se(t,"click",n[16]),se(o,"click",n[17])],O=!0)},p:xe,i(g){h||(D(r.$$.fragment,g),D(u.$$.fragment,g),h=!0)},o(g){j(r.$$.fragment,g),j(u.$$.fragment,g),h=!1},d(g){g&&(Y(e),Y(s),Y(l)),Ve(r),Ve(u),O=!1,It(p)}}}function Q4(n){let e,t,i=[],r=new Map,s,l,o=rt(n[2]);const f=h=>h[19].name;for(let h=0;h{u=null}),nt()):u?(u.p(h,O),O&2&&D(u,1)):(u=T1(h),u.c(),D(u,1),u.m(t,null))},i(h){if(!l){for(let O=0;Of(R.index),Q=(R,z)=>u(z,R.index),_=(R,z)=>b(R.index),x=(R,z)=>O(z,R.index),Z=(R,z)=>g(z,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,z)=>{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:z}}).filter(R=>!R.hidden))},[s,l,i,o,f,u,O,p,g,b,r,$,Q,_,x,Z,C,X]}class y4 extends Yi{constructor(e){super(),Ui(this,e,w4,Q4,Ai,{files:10,currentIndex:0,readonly:1})}}function Z1(n,{delay:e=0,duration:t=400,easing:i=Od}={}){const r=+getComputedStyle(n).opacity;return{delay:e,duration:t,easing:i,css:s=>`opacity: ${s*r}`}}function pc(n,{delay:e=0,duration:t=400,easing:i=CQ,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]=cm(r),[g,b]=cm(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=>({}),R1=n=>({});function A1(n){let e,t,i,r,s,l,o,f,u,h,O,p,g,b,$,Q,_,x;const Z=n[4].default,C=on(Z,n,n[3],null),X=n[4].footer,R=on(X,n,n[3],R1),z=R||P4(n);return{c(){e=k("div"),t=k("div"),i=N(),r=k("div"),s=k("header"),l=k("p"),o=Qe(n[0]),f=N(),u=k("button"),h=N(),O=k("section"),C&&C.c(),p=N(),g=k("footer"),z&&z.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,F){V(q,e,F),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),z&&z.m(g,null),Q=!0,_||(x=[se(t,"click",n[2]),se(u,"click",n[2])],_=!0)},p(q,F){(!Q||F&1)&&Be(o,q[0]),C&&C.p&&(!Q||F&8)&&fn(C,Z,q,q[3],Q?an(Z,q[3],F,null):cn(q[3]),null),R&&R.p&&(!Q||F&8)&&fn(R,X,q,q[3],Q?an(X,q[3],F,v4):cn(q[3]),R1)},i(q){Q||(D(C,q),D(z,q),q&&lr(()=>{Q&&(b||(b=$l(r,pc,{y:-200,duration:200},!0)),b.run(1))}),q&&lr(()=>{Q&&($||($=$l(e,Z1,{duration:200},!0)),$.run(1))}),Q=!0)},o(q){j(C,q),j(z,q),q&&(b||(b=$l(r,pc,{y:-200,duration:200},!1)),b.run(0)),q&&($||($=$l(e,Z1,{duration:200},!1)),$.run(0)),Q=!1},d(q){q&&Y(e),C&&C.d(q),z&&z.d(q),q&&b&&b.end(),q&&$&&$.end(),_=!1,It(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=se(e,"click",n[2]),t=!0)},p:xe,d(r){r&&Y(e),t=!1,i()}}}function k4(n){let e,t,i=n[1]&&A1(n);return{c(){i&&i.c(),e=ci()},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=A1(r),i.c(),D(i,1),i.m(e.parentNode,e)):i&&(it(),j(i,1,1,()=>{i=null}),nt())},i(r){t||(D(i),t=!0)},o(r){j(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=jn();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 Ul extends Yi{constructor(e){super(),Ui(this,e,_4,k4,Ai,{title:0,active:1})}}const XQ=1024;let W4=0;class zn{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=Ki.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 Ki{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 Ki(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}}}}Ki.none=new Ki("",Object.create(null),0,8);class Wd{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:Xd(Ki.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(Ki.none,t,i,r)))}static build(e){return T4(e)}}Ht.empty=new Ht(Ki.none,[],[],0);class xd{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 xd(this.buffer,this.index)}}class el{constructor(e,t,i){this.buffer=e,this.length=t,this.set=i}get type(){return Ki.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 ZQ(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 Yl(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(TQ(r,i,O,O+h.length)){if(h instanceof el){if(s&Ut.ExcludeBuffers)continue;let p=h.findChild(0,h.buffer.length,t,i-O,r);if(p>-1)return new yr(new X4(l,h,e,O),null,p)}else if(s&Ut.IncludeAnonymous||!h.type.isAnonymous||Cd(h)){let p;if(!(s&Ut.IgnoreMounts)&&h.props&&(p=h.prop(Fe.mounted))&&!p.overlay)return new Ln(p.tree,O,e,l);let g=new Ln(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 Ln(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 Yl(this,e,t,!1)}resolveInner(e,t=0){return Yl(this,e,t,!0)}enterUnfinishedNodesBefore(e){return ZQ(this,e)}getChild(e,t=null,i=null){let r=gc(this,e,t,i);return r.length?r[0]:null}getChildren(e,t=null,i=null){return gc(this,e,t,i)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return mc(this,e)}}function gc(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 mc(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 yr{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 yr(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 yr(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 yr(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 yr(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 Yl(this,e,t,!1)}resolveInner(e,t=0){return Yl(this,e,t,!0)}enterUnfinishedNodesBefore(e){return ZQ(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,i=null){let r=gc(this,e,t,i);return r.length?r[0]:null}getChildren(e,t=null,i=null){return gc(this,e,t,i)}get node(){return this}matchContext(e){return mc(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 Ln)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 Ln?(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 el||!o.type.isAnonymous||Cd(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 mc(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 Cd(n){return n.children.some(e=>e instanceof el||!e.type.isAnonymous||Cd(e))}function T4(n){var e;let{buffer:t,nodeSet:i,maxBufferLength:r=XQ,reused:s=[],minRepeatType:l=i.types.length}=n,o=Array.isArray(t)?new xd(t,t.length):t,f=i.types,u=0,h=0;function O(C,X,R,z,q){let{id:F,start:I,end:re,size:ae}=o,ye=h;for(;ae<0;)if(o.next(),ae==-1){let Te=s[F];R.push(Te),z.push(I-C);return}else if(ae==-3){u=F;return}else if(ae==-4){h=F;return}else throw new RangeError(`Unrecognized record size: ${ae}`);let we=f[F],qe,ue,fe=I-C;if(re-I<=r&&(ue=$(o.pos-X,q))){let Te=new Uint16Array(ue.size-ue.skip),Ce=o.pos-ue.size,Xe=Te.length;for(;o.pos>Ce;)Xe=Q(ue.start,Te,Xe);qe=new el(Te,re-ue.start,i),fe=ue.start-C}else{let Te=o.pos-ae;o.next();let Ce=[],Xe=[],Ke=F>=l?F:-1,Nt=0,ti=re;for(;o.pos>Te;)Ke>=0&&o.id==Ke&&o.size>=0?(o.end<=ti-r&&(g(Ce,Xe,I,Nt,o.end,ti,Ke,ye),Nt=Ce.length,ti=o.end),o.next()):O(I,Te,Ce,Xe,Ke);if(Ke>=0&&Nt>0&&Nt-1&&Nt>0){let Wt=p(we);qe=Xd(we,Ce,Xe,0,Ce.length,0,re-I,Wt,Wt)}else qe=b(we,Ce,Xe,re-I,ye-re)}R.push(qe),z.push(fe)}function p(C){return(X,R,z)=>{let q=0,F=X.length-1,I,re;if(F>=0&&(I=X[F])instanceof Ht){if(!F&&I.type==C&&I.length==z)return I;(re=I.prop(Fe.lookAhead))&&(q=R[F]+I.length+re)}return b(C,X,R,z,q)}}function g(C,X,R,z,q,F,I,re){let ae=[],ye=[];for(;C.length>z;)ae.push(C.pop()),ye.push(X.pop()+R-q);C.push(b(i.types[I],ae,ye,F-q,re-F)),X.push(q-R)}function b(C,X,R,z,q=0,F){if(u){let I=[Fe.contextHash,u];F=F?[I].concat(F):[I]}if(q>25){let I=[Fe.lookAhead,q];F=F?[I].concat(F):[I]}return new Ht(C,X,R,z,F)}function $(C,X){let R=o.fork(),z=0,q=0,F=0,I=R.end-r,re={size:0,start:0,skip:0};e:for(let ae=R.pos-C;R.pos>ae;){let ye=R.size;if(R.id==X&&ye>=0){re.size=z,re.start=q,re.skip=F,F+=4,z+=4,R.next();continue}let we=R.pos-ye;if(ye<0||we=l?4:0,ue=R.start;for(R.next();R.pos>we;){if(R.size<0)if(R.size==-3)qe+=4;else break e;else R.id>=l&&(qe+=4);R.next()}q=ue,z+=ye,F+=qe}return(X<0||z==C)&&(re.size=z,re.start=q,re.skip=F),re.size>4?re:void 0}function Q(C,X,R){let{id:z,start:q,end:F,size:I}=o;if(o.next(),I>=0&&z4){let ae=o.pos-(I-4);for(;o.pos>ae;)R=Q(C,X,R)}X[--R]=re,X[--R]=F-C,X[--R]=q-C,X[--R]=z}else I==-3?u=z:I==-4&&(h=z);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 Y1=new WeakMap;function ec(n,e){if(!n.isAnonymous||e instanceof el||e.type!=n)return 1;let t=Y1.get(e);if(t==null){t=1;for(let i of e.children){if(i.type!=n||!(i instanceof Ht)){t=1;break}t+=ec(n,i)}Y1.set(e,t)}return t}function Xd(n,e,t,i,r,s,l,o,f){let u=0;for(let b=i;b=h)break;R+=z}if(Z==C+1){if(R>h){let z=b[C];g(z.children,z.positions,0,z.children.length,$[C]+x);continue}O.push(b[C])}else{let z=$[Z-1]+b[Z-1].length-X;O.push(Xd(n,b,$,C,Z,X,z,null,f))}p.push(X+x-s)}}return g(e,t,i,r,0),(o||f)(O,p,l)}class RQ{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 yr?this.setBuffer(e.context.buffer,e.index,t):e instanceof Ln&&this.map.set(e.tree,t)}get(e){return e instanceof yr?this.getBuffer(e.context.buffer,e.index):e instanceof Ln?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 zn(r.from,r.to)):[new zn(0,0)]:[new zn(0,e.length)],this.createParse(e,t||[],i)}parse(e,t,i){let r=this.startParse(e,t,i);for(;;){let s=r.advance();if(s)return s}}}class 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 V1{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 HO=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([[HO,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 zn(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 zn(r.from,r.to)),f.fromnew zn(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 q1(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=[];q1(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),q1(l,o[b+3],h,$,Q,p),new Ht(O,$,Q,g)}r.children[i]=f(0,o.length,Ki.none,0,l.length);for(let u=0;u<=t;u++)n.childAfter(e.from)}class E1{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(HO))!==null&&t!==void 0?t:i.to,this.inner=new E1(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(HO))!==null&&e!==void 0?e:t.to,this.inner=new E1(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 M1(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 zn(o,f.to))):f.to>o?t[s--]=new zn(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 zn(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 Sc{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 Sc(e,[],t,i,i,0,[],0,r?new z1(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,r){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=r,this.shiftContext(t,i),t<=this.p.parser.maxNode&&this.buffer.push(t,i,r,4);else{let s=e,{parser:l}=this.p;(r>this.pos||t<=l.maxNode)&&(this.pos=r,l.stateFlag(s,1)||(this.reducePos=r)),this.pushState(s,i),this.shiftContext(t,i),t<=l.maxNode&&this.buffer.push(t,i,r,4)}}apply(e,t,i,r){e&65536?this.reduce(e):this.shift(e,t,i,r)}useNode(e,t){let i=this.p.reused.length-1;(i<0||this.p.reused[i]!=e)&&(this.p.reused.push(e),i++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(i,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let i=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new Sc(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.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;tthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class z1{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 bc{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 bc(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 bc(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 tc{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const I1=new tc;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=I1,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=I1,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 Xl{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:i}=t.p;UQ(this.data,e,t,this.id,i.data,i.tokenPrecTable)}}Xl.prototype.contextual=Xl.prototype.fallback=Xl.prototype.extend=!1;class KO{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(UQ(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))}}KO.prototype.contextual=Xl.prototype.fallback=Xl.prototype.extend=!1;class xr{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function UQ(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 N1(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=N1(t,i,e);return r<0||N1(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?L1(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?L1(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 tc)}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 tc,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 tc,{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 bn&&console.log("Finish with "+this.stackID(l)),this.stackToTree(l);if(this.parser.strict)throw bn&&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 bn&&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),bn&&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),bn&&console.log(l+this.stackID(e)+` (via always-reduce ${s.getName(o&65535)})`),!0;if(e.stack.length>=9e3)for(;e.stack.length>6e3&&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 B1(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(),bn&&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&&(bn&&console.log(p+this.stackID(O)+" (via force-reduce)"),!this.advanceFully(O,i));g++)bn&&(p=this.stackID(O)+" -> ");for(let g of o.recoverByInsert(f))bn&&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),bn&&console.log(h+this.stackID(o)+` (via recover-delete ${this.parser.getName(f)})`),B1(o,i)):(!r||r.scoren;class YQ{constructor(e){this.start=e.start,this.shift=e.shift||Nh,this.reduce=e.reduce||Nh,this.reuse=e.reuse||Nh,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class Ps extends AQ{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 Wd(t.map((o,f)=>Ki.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=XQ;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,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(Ps.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let i=this.topRules[e.top];if(!i)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=i}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(i=>{let r=e.tokenizers.find(s=>s.from==i);return r?r.to:i})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((i,r)=>{let s=e.specializers.find(o=>o.from==i.external);if(!s)return i;let l=Object.assign(Object.assign({},i),{external:s.to});return t.specializers[r]=j1(l),l})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),e.bufferLength!=null&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),i=t.map(()=>!1);if(e)for(let s of e.split(" ")){let l=t.indexOf(s);l>=0&&(i[l]=!0)}let r=null;for(let s=0;si)&&t.p.parser.stateFlag(t.state,2)&&(!e||e.scoren.external(t,i)<<1|e}return n.get}const 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=Ps.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,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g#k%j'ZQ%l#nQ%v#}Q%w$PQ&U$kQ&^$oQ&_$rQ&a$sQ&h$wQ&y%WQ&{%YQ&|%ZQ'Q%_Q'`%oU'i%}'l(wQ'n&QQ'o&RQ'v&YQ(P&`Q(Q&bQ(R&cQ(h&zQ(k'PQ(l'RQ(m'SQ(y'sQ)S'|Q)T(OQ)e(iQ)m(xQ)o(zQ)p(|Q)q)RQ*Q)fQ*R)gQ*U)nQ*X)rQ*`*PQ*b*VQ*e*oQ*f*pQ*g*qQ*h*rQ*i*sQ*j*tQ*k*uQ*l*vS*m*d*wQ*n*xQ+S*{Q+T+ZQ+U*|Q+V*}Q+W+OQ+X+PR+Y+Q",nodeNames:"⚠ LineComment BlockComment SourceFile Annotation Identifier Keyword QuotedIdentifier Parameter ArrayType Keyword TypeBase Keyword Keyword Keyword PrimitiveType Keyword Keyword Keyword Keyword Keyword TypeInstId TypeInstEnumId Absent Anonymous Keyword ArrayLiteral2d ArrayLiteral2dRow ArrayLiteral ArrayLiteralMember BooleanLiteral Keyword Keyword Infinity Keyword Number EmptySet Keyword SetLiteral StringLiteral Interpolation TupleLiteral RecordLiteral RecordMember ArrayComprehension Generator Keyword Keyword IfThenElse Keyword Keyword Keyword Keyword Keyword InfixOperator Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword LetExpression Keyword LetItems Declaration Constraint Keyword PrefixOperator Keyword Keyword PostfixOperator SetComprehension Call Application GeneratorCall GeneratorCallGenerators ParenthesisedExpression IndexedAccess TupleAccess Number RecordAccess Keyword Keyword SetType Keyword TupleType Keyword RecordType Keyword RecordTypeField OperationType Keyword AnyType Assignment Enumeration Keyword FunctionItem Keyword Goal Keyword Keyword Keyword Keyword Include Keyword Output Keyword Predicate Keyword Keyword TypeAlias Keyword",maxTerm:210,skippedNodes:[0,1,2],repeatNodeCount:19,tokenData:"!8_~R!oOX&SXY&qYZ'nZ]&S]^&q^p&Spq&qqr(Prs)Xsu&Suv)^vw&Swx*lxy,ryz-]z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bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!4UU%TP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!4oU$wP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!5YU$zP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!5sU$}P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!6^U%PP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!6wU%QP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!7bU$qP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!7{U$gP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&S",tokenizers:[0,1,2],topRules:{SourceFile:[0,3]},specialized:[{term:5,get:n=>F4[n]||-1}],tokenPrec:0});let H4=0;class $r{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 $r([],null,[]);if(t.set.push(t),e)for(let i of e.set)t.set.push(i);return t}static defineModifier(){let e=new $c;return t=>t.modified.indexOf(e)>-1?t:$c.get(t.base||t,t.modified.concat(e).sort((i,r)=>i.id-r.id))}}let K4=0;class $c{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 $r(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($c.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 Il(n){let e=Object.create(null);for(let t in n){let i=n[t];Array.isArray(i)||(i=[i]);for(let r of t.split(" "))if(r){let s=[],l=2,o=r;for(let O=0;;){if(o=="..."&&O>0&&O+3==r.length){l=1;break}let p=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!p)throw new RangeError("Invalid path: "+r);if(s.push(p[0]=="*"?"":p[0][0]=='"'?JSON.parse(p[0]):p[0]),O+=p[0].length,O==r.length)break;let g=r[O++];if(O==r.length&&g=="!"){l=0;break}if(g!="/")throw new RangeError("Invalid path: "+r);o=r.slice(O)}let f=s.length-1,u=s[f];if(!u)throw new RangeError("Invalid path: "+r);let h=new Qc(i,l,f>0?s.slice(0,f):null);e[u]=h.sort(e[u])}}return VQ.add(e)}const VQ=new Fe;class Qc{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)||Qc.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(VQ);for(;e&&e.context&&!n.matchContext(e.context);)e=e.next;return e||null}const pe=$r.define,Yf=pe(),us=pe(),F1=pe(us),G1=pe(us),hs=pe(),Vf=pe(hs),Lh=pe(hs),Sr=pe(),zs=pe(Sr),gr=pe(),mr=pe(),JO=pe(),Qo=pe(JO),qf=pe(),S={comment:Yf,lineComment:pe(Yf),blockComment:pe(Yf),docComment:pe(Yf),name:us,variableName:pe(us),typeName:F1,tagName:pe(F1),propertyName:G1,attributeName:pe(G1),className:pe(us),labelName:pe(us),namespace:pe(us),macroName:pe(us),literal:hs,string:Vf,docString:pe(Vf),character:pe(Vf),attributeValue:pe(Vf),number:Lh,integer:pe(Lh),float:pe(Lh),bool:pe(hs),regexp:pe(hs),escape:pe(hs),color:pe(hs),url:pe(hs),keyword:gr,self:pe(gr),null:pe(gr),atom:pe(gr),unit:pe(gr),modifier:pe(gr),operatorKeyword:pe(gr),controlKeyword:pe(gr),definitionKeyword:pe(gr),moduleKeyword:pe(gr),operator:mr,derefOperator:pe(mr),arithmeticOperator:pe(mr),logicOperator:pe(mr),bitwiseOperator:pe(mr),compareOperator:pe(mr),updateOperator:pe(mr),definitionOperator:pe(mr),typeOperator:pe(mr),controlOperator:pe(mr),punctuation:JO,separator:pe(JO),bracket:Qo,angleBracket:pe(Qo),squareBracket:pe(Qo),paren:pe(Qo),brace:pe(Qo),content:Sr,heading:zs,heading1:pe(zs),heading2:pe(zs),heading3:pe(zs),heading4:pe(zs),heading5:pe(zs),heading6:pe(zs),contentSeparator:pe(Sr),list:pe(Sr),quote:pe(Sr),emphasis:pe(Sr),strong:pe(Sr),link:pe(Sr),monospace:pe(Sr),strikethrough:pe(Sr),inserted:pe(),deleted:pe(),changed:pe(),invalid:pe(),meta:qf,documentMeta:pe(qf),annotation:pe(qf),processingInstruction:pe(qf),definition:$r.defineModifier(),constant:$r.defineModifier(),function:$r.defineModifier(),standard:$r.defineModifier(),local:$r.defineModifier(),special:$r.defineModifier()};qQ([{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 Bh;const wl=new Fe;function EQ(n){return Pe.define({combine:n?e=>e.concat(n):void 0})}const Td=new Fe;class sr{constructor(e,t,i=[],r=""){this.data=e,this.name=r,ut.prototype.hasOwnProperty("tree")||Object.defineProperty(ut.prototype,"tree",{get(){return ei(this)}}),this.parser=t,this.extension=[_s.of(this),ut.languageData.of((s,l,o)=>{let f=H1(s,l,o),u=f.type.prop(wl);if(!u)return[];let h=s.facet(u),O=f.type.prop(Td);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 H1(e,t,i).type.prop(wl)==this.data}findRegions(e){let t=e.facet(_s);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(wl)==this.data){i.push({from:l,to:l+s.length});return}let o=s.prop(Fe.mounted);if(o){if(o.tree.prop(wl)==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 ks(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function ei(n){let e=n.field(sr.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 wc{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 wc(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=K1(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=K1(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 AQ{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(Ki.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 K1(n,e,t){return Nr.applyChanges(n,[{fromA:e,toA:t,fromB:e,toB:t}])}class Vl{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 Vl(t)}static init(e){let t=Math.min(3e3,e.doc.length),i=wc.create(e.facet(_s).parser,e,{from:0,to:t});return i.work(20,t)||i.takeTree(),new Vl(i)}}sr.state=wi.define({create:Vl.init,update(n,e){for(let t of e.effects)if(t.is(sr.setState))return t.value;return e.startState.facet(_s)!=e.state.facet(_s)?Vl.init(e.state):n.apply(e)}});let MQ=n=>{let e=setTimeout(()=>n(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(MQ=n=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(n,{timeout:500-100})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const jh=typeof navigator<"u"&&(!((Bh=navigator.scheduling)===null||Bh===void 0)&&Bh.isInputPending)?()=>navigator.scheduling.isInputPending():null,lX=di.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(sr.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(sr.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=MQ(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndr+1e3,f=s.context.work(()=>jh&&jh()||Date.now()>l,r+(o?0:1e5));this.chunkBudget-=Date.now()-t,(f||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:sr.setState.of(new Vl(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=>kn(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()}}}),_s=Pe.define({combine(n){return n.length?n[0]:null},enables:n=>[sr.state,lX,Se.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=Pe.define(),Bc=Pe.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 yc(n){let e=n.facet(Bc);return e.charCodeAt(0)==9?n.tabSize*e.length:e.length}function ea(n,e){let t="",i=n.tabSize,r=n.facet(Bc)[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 Nl=new Fe;function aX(n,e,t){return DQ(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(Nl);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=>zQ(l,!0,1,void 0,s&&!fX(l)?r.from:void 0)}return n.parent==null?uX:null}function DQ(n,e,t){for(;n;n=n.parent){let i=cX(n);if(i)return i(Rd.create(t,e,n))}return null}function uX(){return 0}class Rd extends jc{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 Rd(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?DQ(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.fromzQ(i,e,t,n)}function zQ(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 Tl({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 ut.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=Zd(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=Pe.define(),Ll=new Fe;function br(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 vc(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 IQ(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 Fc=Me.define({map:IQ}),ca=Me.define({map:IQ});function NQ(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 Ks=wi.define({create(){return Re.none},update(n,e){n=n.map(e.changes);for(let t of e.effects)t.is(Fc)&&!$X(n,t.value.from,t.value.to)?n=n.update({add:[J1.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=>Se.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 LQ(n,e){return n.field(Ks,!1)?e:e.concat(Me.appendConfig.of(FQ()))}const QX=n=>{for(let e of NQ(n)){let t=vc(n.state,e.from,e.to);if(t)return n.dispatch({effects:LQ(n.state,[Fc.of(t),BQ(n,t)])}),!0}return!1},wX=n=>{if(!n.state.field(Ks,!1))return!1;let e=[];for(let t of NQ(n)){let i=Pc(n.state,t.from,t.to);i&&e.push(ca.of(i),BQ(n,i,!1))}return e.length&&n.dispatch({effects:e}),e.length>0};function BQ(n,e,t=!0){let i=n.state.doc.lineAt(e.from).number,r=n.state.doc.lineAt(e.to).number;return Se.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(Ks,!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:"…"},jQ=Pe.define({combine(n){return Wr(n,kX)}});function FQ(n){let e=[Ks,xX];return n&&e.push(jQ.of(n)),e}const J1=Re.replace({widget:new class extends Ws{toDOM(n){let{state:e}=n,t=e.facet(jQ),i=s=>{let l=n.lineBlockAt(n.posAtDOM(s.target)),o=Pc(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 Fh 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 Fh(e,!0),i=new Fh(e,!1),r=di.fromClass(class{constructor(l){this.from=l.viewport.from,this.markers=this.buildMarkers(l)}update(l){(l.docChanged||l.viewportChanged||l.startState.facet(_s)!=l.state.facet(_s)||l.startState.field(Ks,!1)!=l.state.field(Ks,!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=Pc(l.state,f.from,f.to)?i:vc(l.state,f.from,f.to)?t:null;u&&o.add(f.from,f.from,u)}return o.finish()}}),{domEventHandlers:s}=e;return[r,WC({class:"cm-foldGutter",markers(l){var o;return((o=l.plugin(r))===null||o===void 0?void 0:o.markers)||wt.empty},initialSpacer(){return new Fh(e,!1)},domEventHandlers:Object.assign(Object.assign({},s),{click:(l,o,f)=>{if(s.click&&s.click(l,o,f))return!0;let u=Pc(l.state,o.from,o.to);if(u)return l.dispatch({effects:ca.of(u)}),!0;let h=vc(l.state,o.from,o.to);return h?(l.dispatch({effects:Fc.of(h)}),!0):!1}})}),FQ()]}const xX=Se.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=Qs.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 sr?o=>o.prop(wl)==l.data:l?o=>o==l:void 0,this.style=qQ(e.map(o=>({tag:o.tag,class:o.class||r(Object.assign({},o,{tag:null}))})),{all:s}).style,this.module=i?new Qs(i):null,this.themeType=t.themeType}static define(e,t){return new ua(e,t||{})}}const ed=Pe.define(),GQ=Pe.define({combine(n){return n.length?[n[0]]:null}});function Gh(n){let e=n.facet(ed);return e.length?e:n.facet(GQ)}function HQ(n,e){let t=[XX],i;return n instanceof ua&&(n.module&&t.push(Se.styleModule.of(n.module)),i=n.themeType),e!=null&&e.fallback?t.push(GQ.of(n)):i?t.push(ed.computeN([Se.darkTheme],r=>r.facet(Se.darkTheme)==(i=="dark")?[n]:[])):t.push(ed.of(n)),t}class CX{constructor(e){this.markCache=Object.create(null),this.tree=ei(e.state),this.decorations=this.buildDeco(e,Gh(e.state))}update(e){let t=ei(e.state),i=Gh(e.state),r=i!=Gh(e.startState);t.length{i.add(l,o,this.markCache[f]||(this.markCache[f]=Re.mark({class:f})))},r,s);return i.finish()}}const XX=Js.high(di.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=Se.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),KQ=1e4,JQ="()[]{}",ew=Pe.define({combine(n){return Wr(n,{afterCursor:!0,brackets:JQ,maxScanDistance:KQ,renderMatch:UX})}}),RX=Re.mark({class:"cm-matchingBracket"}),AX=Re.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=wi.define({create(){return Re.none},update(n,e){if(!e.docChanged&&!e.selection)return n;let t=[],i=e.state.facet(ew);for(let r of e.state.selection.ranges){if(!r.empty)continue;let s=vr(e.state,r.head,-1,i)||r.head>0&&vr(e.state,r.head-1,1,i)||i.afterCursor&&(vr(e.state,r.head,1,i)||r.headSe.decorations.from(n)}),VX=[YX,ZX];function qX(n={}){return[ew.of(n),VX]}const tw=new Fe;function td(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 id(n){let e=n.type.prop(tw);return e?e(n.node):n}function vr(n,e,t,i={}){let r=i.maxScanDistance||KQ,s=i.brackets||JQ,l=ei(n),o=l.resolveInner(e,t);for(let f=o;f;f=f.parent){let u=td(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),e0=[Ki.none],t0=[],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 Hh(n,e){t0.indexOf(n)>-1||(t0.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):Hh(s,`Modifier ${s} used at start of tag`):t?Hh(s,`Tag ${s} used as modifier`):t=l:Hh(s,`Unknown highlighting tag ${s}`)}if(!t)return 0;let i=e.replace(/ /g,"_"),r=Ki.define({id:e0.length,name:i,props:[Il({[i]:t})]});return e0.push(r),r.id}const NX=n=>{let e=Ud(n.state);return e.line?LX(n):e.block?jX(n):!1};function Ad(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=Ad(HX,0),BX=Ad(iw,0),jX=Ad((n,e)=>iw(n,e,GX(e)),0);function Ud(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 iw(n,e,t=e.selection.ranges){let i=t.map(s=>Ud(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=Ud(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 nd=Fr.define(),KX=Fr.define(),JX=Pe.define(),nw=Pe.define({combine(n){return Wr(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 rw=wi.define({create(){return Pr.empty},update(n,e){let t=e.state.facet(nw),i=e.annotation(nd);if(i){let f=e.docChanged?K.single(eT(e.changes)):void 0,u=hn.fromTransaction(e,f),h=i.side,O=h==0?n.undone:n.done;return u?O=kc(O,O.length,t.minDepth,u):O=ow(O,e.startState.selection),new Pr(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(Qi.addToHistory)===!1)return e.changes.empty?n:n.addMapping(e.changes.desc);let s=hn.fromTransaction(e),l=e.annotation(Qi.time),o=e.annotation(Qi.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 Pr(n.done.map(hn.fromJSON),n.undone.map(hn.fromJSON))}});function tT(n={}){return[rw,nw.of(n),Se.domEventHandlers({beforeinput(e,t){let i=e.inputType=="historyUndo"?sw:e.inputType=="historyRedo"?rd:null;return i?(e.preventDefault(),i(t)):!1}})]}function Gc(n,e){return function({state:t,dispatch:i}){if(!e&&t.readOnly)return!1;let r=t.field(rw,!1);if(!r)return!1;let s=r.pop(n,t,e);return s?(i(s),!0):!1}}const sw=Gc(0,!1),rd=Gc(1,!1),iT=Gc(0,!0),nT=Gc(1,!0);class hn{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 hn(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 hn(e.changes&&$i.fromJSON(e.changes),[],e.mapped&&kr.fromJSON(e.mapped),e.startSelection&&K.fromJSON(e.startSelection),e.selectionsAfter.map(K.fromJSON))}static fromTransaction(e,t){let i=In;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 hn(e.changes.invert(e.startState.doc),i,void 0,t||e.startState.selection,In)}static selection(e){return new hn(void 0,In,void 0,void 0,e)}}function kc(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 lw(n,e){return n.length?e.length?n.concat(e):n:e}const In=[],lT=200;function ow(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),kc(n,n.length-1,1e9,t.setSelAfter(i)))}else return[hn.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 Kh(n,e){if(!n.length)return n;let t=n.length,i=In;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?[hn.selection(i)]:In}function aT(n,e,t){let i=lw(n.selectionsAfter.length?n.selectionsAfter.map(o=>o.map(e)):In,t);if(!n.changes)return hn.selection(i);let r=n.changes.map(e),s=e.mapDesc(n.changes,!0),l=n.mapped?n.mapped.composeDesc(s):s;return new hn(r,Me.mapEffects(n.effects,e),l,n.startSelection.map(s),i)}const fT=/^(input\.type|delete)($|\.)/;class Pr{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 Pr(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):Hc(t,e))}function Li(n){return n.textDirectionAt(n.state.selection.main.head)==Gt.LTR}const fw=n=>aw(n,!Li(n)),cw=n=>aw(n,Li(n));function uw(n,e){return or(n,t=>t.empty?n.moveByGroup(t,e):Hc(t,e))}const uT=n=>uw(n,!Li(n)),hT=n=>uw(n,Li(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 Kc(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?vr(n,i.from,1):vr(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=>or(n,e=>Kc(n.state,e,!Li(n))),pT=n=>or(n,e=>Kc(n.state,e,Li(n)));function hw(n,e){return or(n,t=>{if(!t.empty)return Hc(t,e);let i=n.moveVertically(t,e);return i.head!=t.head?i:n.moveToLineBoundary(t,e)})}const Ow=n=>hw(n,!1),dw=n=>hw(n,!0);function pw(n){return Math.max(n.defaultLineHeight,Math.min(n.dom.clientHeight,innerHeight)-5)}function gw(n,e){let{state:t}=n,i=Bl(t.selection,o=>o.empty?n.moveVertically(o,e,pw(n)):Hc(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.bottomgw(n,!1),sd=n=>gw(n,!0);function xs(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=>or(n,e=>xs(n,e,!0)),mT=n=>or(n,e=>xs(n,e,!1)),ST=n=>or(n,e=>xs(n,e,!Li(n))),bT=n=>or(n,e=>xs(n,e,Li(n))),$T=n=>or(n,e=>K.cursor(n.lineBlockAt(e.head).from,1)),QT=n=>or(n,e=>K.cursor(n.lineBlockAt(e.head).to,-1));function wT(n,e,t){let i=!1,r=Bl(n.selection,s=>{let l=vr(n,s.head,-1)||vr(n,s.head,1)||s.head>0&&vr(n,s.head-1,1)||s.headwT(n,e,!1);function Fn(n,e){let t=Bl(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(Cr(n.state,t)),!0)}function mw(n,e){return Fn(n,t=>n.moveByChar(t,e))}const Sw=n=>mw(n,!Li(n)),bw=n=>mw(n,Li(n));function $w(n,e){return Fn(n,t=>n.moveByGroup(t,e))}const vT=n=>$w(n,!Li(n)),PT=n=>$w(n,Li(n)),kT=n=>Fn(n,e=>Kc(n.state,e,!Li(n))),_T=n=>Fn(n,e=>Kc(n.state,e,Li(n)));function Qw(n,e){return Fn(n,t=>n.moveVertically(t,e))}const ww=n=>Qw(n,!1),yw=n=>Qw(n,!0);function vw(n,e){return Fn(n,t=>n.moveVertically(t,e,pw(n)))}const n0=n=>vw(n,!1),r0=n=>vw(n,!0),WT=n=>Fn(n,e=>xs(n,e,!0)),xT=n=>Fn(n,e=>xs(n,e,!1)),CT=n=>Fn(n,e=>xs(n,e,!Li(n))),XT=n=>Fn(n,e=>xs(n,e,Li(n))),TT=n=>Fn(n,e=>K.cursor(n.lineBlockAt(e.head).from)),ZT=n=>Fn(n,e=>K.cursor(n.lineBlockAt(e.head).to)),s0=({state:n,dispatch:e})=>(e(Cr(n,{anchor:0})),!0),l0=({state:n,dispatch:e})=>(e(Cr(n,{anchor:n.doc.length})),!0),o0=({state:n,dispatch:e})=>(e(Cr(n,{anchor:n.selection.main.anchor,head:0})),!0),a0=({state:n,dispatch:e})=>(e(Cr(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=eu(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=Bl(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(Cr(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(Cr(n,i)),!0):!1};function Jc(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=Ef(n,f,!0)),l=Math.min(l,f),o=Math.max(o,f)}else l=Ef(n,l,!1),o=Ef(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"?Se.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function Ef(n,e,t){if(n instanceof Se)for(let i of n.state.facet(Se.atomicRanges).map(r=>r(n)))i.between(e,e,(r,s)=>{re&&(e=t?s:r)});return e}const Pw=(n,e)=>Jc(n,t=>{let{state:i}=n,r=i.doc.lineAt(t),s,l;if(!e&&t>r.from&&tPw(n,!1),kw=n=>Pw(n,!0),_w=(n,e)=>Jc(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=Ni(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}),Ww=n=>_w(n,!1),VT=n=>_w(n,!0),xw=n=>Jc(n,e=>{let t=n.lineBlockAt(e).to;return eJc(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:St.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:Ni(s.text,r-s.from,!1)+s.from,o=r==s.to?r+1:Ni(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 eu(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 Cw(n,e,t){if(n.readOnly)return!1;let i=[],r=[];for(let s of eu(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})=>Cw(n,e,!1),zT=({state:n,dispatch:e})=>Cw(n,e,!0);function Xw(n,e,t){if(n.readOnly)return!1;let i=[];for(let r of eu(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})=>Xw(n,e,!1),NT=({state:n,dispatch:e})=>Xw(n,e,!0),LT=n=>{if(n.state.readOnly)return!1;let{state:e}=n,t=e.changes(eu(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=Tw(!1),FT=Tw(!0);function Tw(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 jc(e,{simulateBreak:s,simulateDoubleBreak:!!f}),h=Zd(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 jc(n,{overrideIndentation:s=>{let l=t[s];return l??-1}}),r=Yd(n,(s,l,o)=>{let f=Zd(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(Yd(n,(t,i)=>{i.push({from:t.from,insert:n.facet(Bc)})}),{userEvent:"input.indent"})),!0),Rw=({state:n,dispatch:e})=>n.readOnly?!1:(e(n.update(Yd(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-yc(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:Rw},{key:"Mod-]",run:Zw},{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:Zw,shift:Rw};function Xt(){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 ql{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(f0(o)):f0,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 Ti(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=pd(e),i=this.bufferStart+this.bufferPos;this.bufferPos+=yn(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=_c(this.text,r+(i==r?1:0)),i==this.curLineStart+this.curLine.length&&this.nextLine(),(ithis.value.to)&&(!this.test||this.test(i,r,t)))return this.value={from:i,to:r,match:t},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=i||r.to<=t){let o=new Zl(t,e.sliceString(t,i));return Jh.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=_c(this.text,r+(i==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Zl.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(Yw.prototype[Symbol.iterator]=Vw.prototype[Symbol.iterator]=function(){return this});function tZ(n){try{return new RegExp(n,Vd),!0}catch{return!1}}function _c(n,e){if(e>=n.length)return e;let t=n.lineAt(e),i;for(;e=56320&&i<57344;)e++;return e}function od(n){let e=Xt("input",{class:"cm-textfield",name:"line"}),t=Xt("form",{class:"cm-gotoLine",onkeydown:r=>{r.keyCode==27?(r.preventDefault(),n.dispatch({effects:Wc.of(!1)}),n.focus()):r.keyCode==13&&(r.preventDefault(),i())},onsubmit:r=>{r.preventDefault(),i()}},Xt("label",n.state.phrase("Go to line"),": ",e)," ",Xt("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:Wc.of(!1),selection:K.cursor(g.from+Math.max(0,Math.min(O,g.length))),scrollIntoView:!0}),n.focus()}return{dom:t}}const Wc=Me.define(),c0=wi.define({create(){return!0},update(n,e){for(let t of e.effects)t.is(Wc)&&(n=t.value);return n},provide:n=>Ho.from(n,e=>e?od:null)}),iZ=n=>{let e=Go(n,od);if(!e){let t=[Wc.of(!0)];n.state.field(c0,!1)==null&&t.push(Me.appendConfig.of([c0,nZ])),n.dispatch({effects:t}),e=Go(n,od)}return e&&e.dom.querySelector("input").focus(),!0},nZ=Se.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),rZ={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},qw=Pe.define({combine(n){return Wr(n,rZ,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function sZ(n){let e=[cZ,fZ];return n&&e.push(qw.of(n)),e}const lZ=Re.mark({class:"cm-selectionMatch"}),oZ=Re.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function u0(n,e,t,i){return(t==0||n(e.sliceDoc(t-1,t))!=zt.Word)&&(i==e.doc.length||n(e.sliceDoc(i,i+1))!=zt.Word)}function aZ(n,e,t,i){return n(e.sliceDoc(t,t+1))==zt.Word&&n(e.sliceDoc(i-1,i))==zt.Word}const fZ=di.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(qw),{state:t}=n,i=t.selection;if(i.ranges.length>1)return Re.none;let r=i.main,s,l=null;if(r.empty){if(!e.highlightWordAroundCursor)return Re.none;let f=t.wordAt(r.head);if(!f)return Re.none;l=t.charCategorizer(r.head),s=t.sliceDoc(f.from,f.to)}else{let f=r.to-r.from;if(f200)return Re.none;if(e.wholeWords){if(s=t.sliceDoc(r.from,r.to),l=t.charCategorizer(r.head),!(u0(l,t,r.from,r.to)&&aZ(l,t,r.from,r.to)))return Re.none}else if(s=t.sliceDoc(r.from,r.to).trim(),!s)return Re.none}let o=[];for(let f of n.visibleRanges){let u=new ql(t.doc,s,f.from,f.to);for(;!u.next().done;){let{from:h,to:O}=u.value;if((!l||u0(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 Re.none}}return Re.set(o)}},{decorations:n=>n.decorations}),cZ=Se.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 ql(n.doc,e,i[i.length-1].to);;)if(o.next(),o.done){if(l)return null;o=new ql(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:Se.scrollIntoView(r.to)})),!0):!1},qd=Pe.define({combine(n){return Wr(n,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:e=>new PZ(e)})}});class Ew{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:ut.create({doc:e});return i==null&&(i=r.doc.length),this.regexp?bl(this,r,t,i):Sl(this,r,t,i)}}class Mw{constructor(e){this.spec=e}}function Sl(n,e,t,i){return new ql(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=Sl(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 bl(n,e,t,i){return new Yw(e.doc,n.search,{ignoreCase:!n.caseSensitive,test:n.wholeWord?gZ(e.charCategorizer(e.selection.main.head)):void 0},t,i)}function xc(n,e){return n.slice(Ni(n,e,!1),e)}function Cc(n,e){return n.slice(e,Ni(n,e))}function gZ(n){return(e,t,i)=>!i[0].length||(n(xc(i.input,i.index))!=zt.Word||n(Cc(i.input,i.index))!=zt.Word)&&(n(Cc(i.input,i.index+i[0].length))!=zt.Word||n(xc(i.input,i.index+i[0].length))!=zt.Word)}class mZ extends Mw{nextMatch(e,t,i){let r=bl(this.spec,e,i,e.doc.length).next();return r.done&&(r=bl(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=bl(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=bl(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=Me.define(),Ed=Me.define(),Ss=wi.define({create(n){return new eO(ad(n).create(),null)},update(n,e){for(let t of e.effects)t.is(ta)?n=new eO(t.value.create(),n.panel):t.is(Ed)&&(n=new eO(n.query,t.value?Md:null));return n},provide:n=>Ho.from(n,e=>e.panel)});class eO{constructor(e,t){this.query=e,this.panel=t}}const SZ=Re.mark({class:"cm-searchMatch"}),bZ=Re.mark({class:"cm-searchMatch cm-searchMatch-selected"}),$Z=di.fromClass(class{constructor(n){this.view=n,this.decorations=this.highlight(n.state.field(Ss))}update(n){let e=n.state.field(Ss);(e!=n.startState.field(Ss)||n.docChanged||n.selectionSet||n.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:n,panel:e}){if(!e||!n.spec.valid)return Re.none;let{view:t}=this,i=new $s;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(Ss,!1);return t&&t.query.spec.valid?n(e,t):Dw(e)}}const Xc=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:Dd(n,i),userEvent:"select.search"}),!0):!1}),Tc=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:Dd(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 ql(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},h0=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(Se.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(Dd(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:Se.announce.of(i),userEvent:"input.replace.all"}),!0});function Md(n){return n.state.facet(qd).createPanel(n)}function ad(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(qd);return new Ew({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 Dw=n=>{let e=n.state.field(Ss,!1);if(e&&e.panel){let t=Go(n,Md);if(!t)return!1;let i=t.dom.querySelector("[main-field]");if(i&&i!=n.root.activeElement){let r=ad(n.state,e.query.spec);r.valid&&n.dispatch({effects:ta.of(r)}),i.focus(),i.select()}}else n.dispatch({effects:[Ed.of(!0),e?ta.of(ad(n.state,e.query.spec)):Me.appendConfig.of(_Z)]});return!0},zw=n=>{let e=n.state.field(Ss,!1);if(!e||!e.panel)return!1;let t=Go(n,Md);return t&&t.dom.contains(n.root.activeElement)&&n.focus(),n.dispatch({effects:Ed.of(!1)}),!0},vZ=[{key:"Mod-f",run:Dw,scope:"editor search-panel"},{key:"F3",run:Xc,shift:Tc,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:Xc,shift:Tc,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:zw,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(Ss).query.spec;this.commit=this.commit.bind(this),this.searchField=Xt("input",{value:t.search,placeholder:$n(e,"Find"),"aria-label":$n(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:$n(e,"Replace"),"aria-label":$n(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 i(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,i("next",()=>Xc(e),[$n(e,"next")]),i("prev",()=>Tc(e),[$n(e,"previous")]),i("select",()=>QZ(e),[$n(e,"all")]),Xt("label",null,[this.caseField,$n(e,"match case")]),Xt("label",null,[this.reField,$n(e,"regexp")]),Xt("label",null,[this.wordField,$n(e,"by word")]),...e.state.readOnly?[]:[Xt("br"),this.replaceField,i("replace",()=>h0(e),[$n(e,"replace")]),i("replaceAll",()=>yZ(e),[$n(e,"replace all")])],Xt("button",{name:"close",onclick:()=>zw(e),"aria-label":$n(e,"close"),type:"button"},["×"])])}commit(){let e=new Ew({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){q5(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?Tc:Xc)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),h0(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(qd).top}}function $n(n,e){return n.state.phrase(e)}const Mf=30,Df=/[\s\.,:;?!]/;function Dd(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-Mf),l=Math.min(r,t+Mf),o=n.state.sliceDoc(s,l);if(s!=i.from){for(let f=0;fo.length-Mf;f--)if(!Df.test(o[f-1])&&Df.test(o[f])){o=o.slice(0,f);break}}return Se.announce.of(`${n.state.phrase("current match")}. ${o} ${n.state.phrase("on line")} ${i.number}.`)}const kZ=Se.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=[Ss,Js.lowest($Z),kZ];class Iw{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(Lw(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 O0(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 d0{constructor(e,t,i){this.completion=e,this.source=t,this.match=i}}function bs(n){return n.selection.main.head}function Lw(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 Bw(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 p0=new WeakMap;function TZ(n){if(!Array.isArray(n))return n;let e=p0.get(n);return e||p0.set(n,e=Nw(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=pd(X))!=R.toLowerCase()?1:R!=R.toUpperCase()?2:0;(!x||z==1&&Q||C==0&&z!=0)&&(t[O]==X||i[O]==X&&(p=!0)?l[O++]=x:l.length&&(_=!1)),C=z,x+=yn(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?yn(Ti(i,l)):1);s>1&&r[s-1]==l?r[s-1]=o:(r[s++]=l,r[s++]=o)}return r}}const Bn=Pe.define({combine(n){return Wr(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=>g0(e(i),t(i)),optionClass:(e,t)=>i=>g0(e(i),t(i)),addToOptions:(e,t)=>e.concat(t)})}});function g0(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 m0(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(Bn);this.optionContent=RZ(l),this.optionClass=l.optionClass,this.tooltipClass=l.tooltipClass,this.range=m0(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=m0(t.options.length,t.selected,this.view.state.facet(Bn).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=>kn(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 S0(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 d0(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 d0(h,o,u)))}let r=[],s=null,l=e.facet(Bn).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):S0(o.completion)>S0(s)&&(r[r.length-1]=o),s=o.completion;return r}class yl{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 yl(this.options,b0(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 yl(r.options,r.attrs,r.tooltip,r.timestamp,r.selected,!0):null;let o=t.facet(Bn).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(Dn),above:s.aboveCursor},r?r.timestamp:Date.now(),o,!1)}map(e){return new yl(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class Zc{constructor(e,t,i){this.active=e,this.id=t,this.open=i}static start(){return new Zc(MZ,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:t}=e,i=t.facet(Bn),s=(i.override||t.languageDataAt("autocomplete",bs(t)).map(TZ)).map(o=>(this.active.find(u=>u.source==o)||new un(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=yl.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 un(o.source,0):o));for(let o of e.effects)o.is(Fw)&&(l=l&&l.setSelected(o.value,this.id));return s==this.active&&l==this.open?this:new Zc(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 fd(n){return n.isUserEvent("input.type")?"input":n.isUserEvent("delete.backward")?"delete":null}class un{constructor(e,t,i=-1){this.source=e,this.state=t,this.explicitPos=i}hasResult(){return!1}update(e,t){let i=fd(e),r=this;i?r=r.handleUserEvent(e,i,t):e.docChanged?r=r.handleChange(e):e.selection&&r.state!=0&&(r=new un(r.source,0));for(let s of e.effects)if(s.is(zd))r=new un(r.source,1,s.value?bs(e.state):-1);else if(s.is(Rc))r=new un(r.source,0);else if(s.is(jw))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 un(this.source,1)}handleChange(e){return e.changes.touchesRange(bs(e.startState))?new un(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new un(this.source,this.state,e.mapPos(this.explicitPos))}}class Eo extends un{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=bs(e.state);if((this.explicitPos<0?o<=s:ol||t=="delete"&&bs(e.startState)==this.from)return new un(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 Iw(e.state,o,f>=0)))?new Eo(this.source,f,u,u.from,(r=u.to)!==null&&r!==void 0?r:bs(e.state)):new un(this.source,1,f)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new un(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):Lw(n,!0).test(r)}const zd=Me.define(),Rc=Me.define(),jw=Me.define({map(n,e){return n.map(t=>t.map(e))}}),Fw=Me.define(),Dn=wi.define({create(){return Zc.start()},update(n,e){return n.update(e)},provide:n=>[Pd.from(n,e=>e.tooltip),Se.contentAttributes.from(n,e=>e.attrs)]});function zf(n,e="option"){return t=>{let i=t.state.field(Dn,!1);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp-1?i.open.selected+r*(n?1:-1):n?0:l-1;return o<0?o=e=="page"?0:l-1:o>=l&&(o=e=="page"?l-1:0),t.dispatch({effects:Fw.of(o)}),!0}}const zZ=n=>{let e=n.state.field(Dn,!1);return n.state.readOnly||!e||!e.open||e.open.selected<0||Date.now()-e.open.timestampn.state.field(Dn,!1)?(n.dispatch({effects:zd.of(!0)}),!0):!1,NZ=n=>{let e=n.state.field(Dn,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(n.dispatch({effects:Rc.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 $0=50,BZ=50,jZ=1e3,FZ=di.fromClass(class{constructor(n){this.view=n,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of n.state.field(Dn).active)e.state==1&&this.startQuery(e)}update(n){let e=n.state.field(Dn);if(!n.selectionSet&&!n.docChanged&&n.startState.field(Dn)==e)return;let t=n.transactions.some(i=>(i.selection||i.docChanged)&&!fd(i));for(let i=0;iBZ&&Date.now()-r.time>jZ){for(let s of r.context.abortListeners)try{s()}catch(l){kn(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(),$0):-1,this.composing!=0)for(let i of n.transactions)fd(i)=="input"?this.composing=2:this.composing==2&&i.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:n}=this.view,e=n.field(Dn);for(let t of e.active)t.state==1&&!this.running.some(i=>i.active.source==t.source)&&this.startQuery(t)}startQuery(n){let{state:e}=this.view,t=bs(e),i=new Iw(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:Rc.of(null)}),kn(this.view.state,s)})}scheduleAccept(){this.running.every(n=>n.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),$0))}accept(){var n;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(Bn);for(let i=0;il.source==r.active.source);if(s&&s.state==1)if(r.done==null){let l=new un(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:jw.of(e)})}},{eventHandlers:{blur(){let n=this.view.state.field(Dn,!1);n&&n.tooltip&&this.view.state.facet(Bn).closeOnBlur&&this.view.dispatch({effects:Rc.of(null)})},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:zd.of(!1)}),20),this.composing=0}}}),Gw=Se.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 Id{constructor(e,t,i){this.field=e,this.from=t,this.to=i}map(e){let t=e.mapPos(this.from,-1,Ri.TrackDel),i=e.mapPos(this.to,1,Ri.TrackDel);return t==null||i==null?null:new Id(this.field,t,i)}}class Nd{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 Id(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 Nd(i,r)}}let HZ=Re.widget({widget:new class extends Ws{toDOM(){let n=document.createElement("span");return n.className="cm-snippetFieldPosition",n}ignoreEvent(){return!1}}}),KZ=Re.mark({class:"cm-snippetField"});class jl{constructor(e,t){this.ranges=e,this.active=t,this.deco=Re.set(e.map(i=>(i.from==i.to?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 jl(t,this.active)}selectionInsideField(e){return e.ranges.every(t=>this.ranges.some(i=>i.field==this.active&&i.from<=t.from&&i.to>=t.to))}}const Oa=Me.define({map(n,e){return n&&n.map(e)}}),JZ=Me.define(),ia=wi.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 jl(n.ranges,t.value)}return n&&e.docChanged&&(n=n.map(e.changes)),n&&e.selection&&!n.selectionInsideField(e.selection)&&(n=null),n},provide:n=>Se.decorations.from(n,e=>e?e.deco:Re.none)});function Ld(n,e){return K.create(n.filter(t=>t.field==e).map(t=>K.range(t.from,t.to)))}function eR(n){let e=Nd.parse(n);return(t,i,r,s)=>{let{text:l,ranges:o}=e.instantiate(t.state,r),f={changes:{from:r,to:s,insert:St.of(l)},scrollIntoView:!0};if(o.length&&(f.selection=Ld(o,0)),o.length>1){let u=new jl(o,0),h=f.effects=[Oa.of(u)];t.state.field(ia,!1)===void 0&&h.push(Me.appendConfig.of([ia,sR,lR,Gw]))}t.dispatch(t.state.update(f))}}function Hw(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:Ld(i.ranges,r),effects:Oa.of(s?null:new jl(i.ranges,r))})),!0}}const tR=({state:n,dispatch:e})=>n.field(ia,!1)?(e(n.update({effects:Oa.of(null)})),!0):!1,iR=Hw(1),nR=Hw(-1),rR=[{key:"Tab",run:iR,shift:nR},{key:"Escape",run:tR}],Q0=Pe.define({combine(n){return n.length?n[0]:rR}}),sR=Js.highest(oa.compute([Q0],n=>n.facet(Q0)));function rr(n,e){return Object.assign(Object.assign({},e),{apply:eR(n)})}const lR=Se.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:Ld(t.ranges,r.field),effects:Oa.of(t.ranges.some(s=>s.field>r.field)?new jl(t.ranges,r.field):null)}),!0)}}),na={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},js=Me.define({map(n,e){let t=e.mapPos(n,-1,Ri.TrackAfter);return t??void 0}}),Bd=Me.define({map(n,e){return e.mapPos(n)}}),jd=new class extends Gs{};jd.startSide=1;jd.endSide=-1;const Kw=wi.define({create(){return wt.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=wt.empty)}n=n.map(e.changes);for(let t of e.effects)t.is(js)?n=n.update({add:[jd.range(t.value,t.value+1)]}):t.is(Bd)&&(n=n.update({filter:i=>i!=t.value}));return n}});function oR(){return[fR,Kw]}const tO="()[]{}<>";function Jw(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&&yn(Ti(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=ey(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&&tu(n.doc,l.head)==Jw(Ti(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=ey(n,n.selection.main.head),i=t.brackets||na.brackets;for(let r of i){let s=Jw(Ti(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&&ty(n,n.selection.main.from))return pR(n,r,s)}return null}function ty(n,e){let t=!1;return n.field(Kw).between(0,n.doc.length,i=>{i==e&&(t=!0)}),t}function tu(n,e){let t=n.sliceString(e,e+2);return t.slice(0,yn(Ti(t,0)))}function OR(n,e){let t=n.sliceString(e-2,e);return yn(Ti(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:js.of(l.to+e.length),range:K.range(l.anchor+e.length,l.head+e.length)};let o=tu(n.doc,l.head);return!o||/\s/.test(o)||i.indexOf(o)>-1?{changes:{insert:e+t,from:l.head},effects:js.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&&tu(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})=>Bd.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:js.of(o.to+e.length),range:K.range(o.anchor+e.length,o.head+e.length)};let f=o.head,u=tu(n.doc,f),h;if(u==e){if(w0(n,f))return{changes:{insert:e+e,from:f},effects:js.of(f+e.length),range:K.cursor(f+e.length)};if(ty(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:Bd.of(f)}}}else{if(t&&n.sliceDoc(f-2*e.length,f)==e+e&&(h=y0(n,f-2*e.length,r))>-1&&w0(n,h))return{changes:{insert:e+e+e+e,from:f},effects:js.of(f+e.length),range:K.cursor(f+e.length)};if(n.charCategorizer(f)(u)!=zt.Word&&y0(n,f,r)>-1&&!mR(n,f,e,r))return{changes:{insert:e+e,from:f},effects:js.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 w0(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 y0(n,e,t){let i=n.charCategorizer(e);if(i(n.sliceDoc(e-1,e))!=zt.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))!=zt.Word)return s}return-1}function SR(n={}){return[Dn,Bn.of(n),FZ,bR,Gw]}const iy=[{key:"Ctrl-Space",run:IZ},{key:"Escape",run:NZ},{key:"ArrowDown",run:zf(!0)},{key:"ArrowUp",run:zf(!1)},{key:"PageDown",run:zf(!0,"page")},{key:"PageUp",run:zf(!1,"page")},{key:"Enter",run:zZ}],bR=Js.highest(oa.computeN([Bn],n=>n.facet(Bn).defaultKeymap?[iy]:[]));class $R{constructor(e,t,i){this.from=e,this.to=t,this.diagnostic=i}}class Ns{constructor(e,t,i){this.diagnostics=e,this.panel=t,this.selected=i}static init(e,t,i){let r=e,s=i.facet(vl).markerFilter;s&&(r=s(r));let l=Re.set(r.map(o=>o.from==o.to||o.from==o.to-1&&i.doc.lineAt(o.from).to==o.from?Re.widget({widget:new CR(o),diagnostic:o}).range(o.from):Re.mark({attributes:{class:"cm-lintRange cm-lintRange-"+o.severity},diagnostic:o}).range(o.from,o.to)),!0);return new Ns(l,t,El(l))}}function El(n,e=null,t=0){let i=null;return n.between(t,1e9,(r,s,{spec:l})=>{if(!(e&&l.diagnostic!=e))return i=new $R(r,s,l.diagnostic),!1}),i}function QR(n,e){return!!(n.effects.some(t=>t.is(Fd))||n.changes.touchesRange(e.pos))}function ny(n,e){return n.field(Pn,!1)?e:e.concat(Me.appendConfig.of([Pn,Se.decorations.compute([Pn],t=>{let{selected:i,panel:r}=t.field(Pn);return!i||!r||i.from==i.to?Re.none:Re.set([yR.range(i.from,i.to)])}),vC(vR,{hideOn:QR}),TR]))}function wR(n,e){return{effects:ny(n,[Fd.of(e)])}}const Fd=Me.define(),Gd=Me.define(),ry=Me.define(),Pn=wi.define({create(){return new Ns(Re.none,null,null)},update(n,e){if(e.docChanged){let t=n.diagnostics.map(e.changes),i=null;if(n.selected){let r=e.changes.mapPos(n.selected.from,1);i=El(t,n.selected.diagnostic,r)||El(t,null,r)}n=new Ns(t,n.panel,i)}for(let t of e.effects)t.is(Fd)?n=Ns.init(t.value,n.panel,e.state):t.is(Gd)?n=new Ns(n.diagnostics,t.value?iu.open:null,n.selected):t.is(ry)&&(n=new Ns(n.diagnostics,n.panel,t.value));return n},provide:n=>[Ho.from(n,e=>e.panel),Se.decorations.from(n,e=>e.diagnostics)]}),yR=Re.mark({class:"cm-lintRange cm-lintRange-active"});function vR(n,e,t){let{diagnostics:i}=n.state.field(Pn),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)&&(ely(n,t,!1)))}const kR=n=>{let e=n.state.field(Pn,!1);(!e||!e.panel)&&n.dispatch({effects:ny(n.state,[Gd.of(!0)])});let t=Go(n,iu.open);return t&&t.dom.querySelector(".cm-panel-lint ul").focus(),!0},v0=n=>{let e=n.state.field(Pn,!1);return!e||!e.panel?!1:(n.dispatch({effects:Gd.of(!1)}),!0)},_R=n=>{let e=n.state.field(Pn,!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=di.fromClass(class{constructor(n){this.view=n,this.timeout=-1,this.set=!0;let{delay:e}=n.state.facet(vl);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=>{kn(this.view.state,i)})}}update(n){let e=n.state.facet(vl);(n.docChanged||e!=n.startState.facet(vl))&&(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)}}),vl=Pe.define({combine(n){return Object.assign({sources:n.map(e=>e.source)},Wr(n.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null}))},enables:xR});function sy(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 ly(n,e,t){var i;let r=t?sy(e.actions):[];return Xt("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},Xt("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=El(n.state.field(Pn).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),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 CR extends Ws{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 P0{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=ly(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class iu{constructor(e){this.view=e,this.items=[];let t=r=>{if(r.keyCode==27)v0(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=sy(s.actions);for(let o=0;o{for(let s=0;sv0(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(Pn).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(Pn),i=El(t.diagnostics,this.items[e].diagnostic);i&&this.view.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:ry.of(i)})}static open(e){return new iu(e)}}function XR(n,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(n)}')`}function iO(n){return XR(``,'width="6" height="3"')}const TR=Se.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:iO("#d11")},".cm-lintRange-warning":{backgroundImage:iO("orange")},".cm-lintRange-info":{backgroundImage:iO("#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=(()=>[RC(),YC(),iC(),tT(),WX(),N5(),G5(),ut.allowMultipleSelections.of(!0),gX(),HQ(TX,{fallback:!0}),qX(),oR(),SR(),dC(),mC(),aC(),sZ(),oa.of([...uR,...JT,...vZ,...cT,...PX,...iy,...WR])])(),_i=({variant:n,settings:e,styles:t})=>{const i=Se.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,HQ(r)]};_i({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"}]});_i({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"}]});_i({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"}]});_i({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"}]});_i({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"}]});_i({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"}]});_i({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"}]});_i({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"}]});_i({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"}]});_i({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"}]});_i({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"}]});_i({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"}]});_i({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"}]});_i({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"}]});_i({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"}]});_i({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=Il({String:S.string,Number:S.number,"True False":S.bool,PropertyName:S.propertyName,Null:S.null,",":S.separator,"[ ]":S.squareBracket,"{ }":S.brace}),AR=Ps.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=ks.define({name:"json",parser:AR.configure({props:[Nl.add({Object:Tl({except:/^\s*\}/}),Array:Tl({except:/^\s*\]/})}),Ll.add({"Object Array":br})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function YR(){return new fa(UR)}const VR=54,qR=1,ER=55,MR=2,DR=56,zR=3,k0=4,IR=5,Ac=6,oy=7,ay=8,fy=9,cy=10,NR=11,LR=12,BR=13,nO=57,jR=14,_0=58,uy=20,FR=22,hy=23,GR=24,cd=26,Oy=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},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 lA(n){return n==45||n==46||n==58||n>=65&&n<=90||n==95||n>=97&&n<=122||n>=161}function dy(n){return n==9||n==10||n==13||n==32}let x0=null,C0=null,X0=0;function ud(n,e){let t=n.pos+e;if(X0==t&&C0==n)return x0;let i=n.peek(e);for(;dy(i);)i=n.peek(++e);let r="";for(;lA(i);)r+=String.fromCharCode(i),i=n.peek(++e);return C0=n,X0=t,x0=r?r.toLowerCase():i==oA||i==aA?void 0:null}const py=60,Uc=62,Hd=47,oA=63,aA=33,fA=45;function T0(n,e){this.name=n,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t-1?new T0(ud(i,1)||"",n):n},reduce(n,e){return e==uy&&n?n.parent:n},reuse(n,e,t,i){let r=e.type.id;return r==Ac||r==eA?new T0(ud(i,1)||"",n):n},hash(n){return n?n.hash:0},strict:!1}),hA=new xr((n,e)=>{if(n.next!=py){n.next<0&&e.context&&n.acceptToken(nO);return}n.advance();let t=n.next==Hd;t&&n.advance();let i=ud(n,0);if(i===void 0)return;if(!i)return n.acceptToken(t?jR:Ac);let r=e.context?e.context.name:null;if(t){if(i==r)return n.acceptToken(NR);if(r&&sA[r])return n.acceptToken(nO,-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(oy);if(i=="style")return n.acceptToken(ay);if(i=="textarea")return n.acceptToken(fy);if(rA.hasOwnProperty(i))return n.acceptToken(cy);r&&W0[r]&&W0[r][i]?n.acceptToken(nO,-1):n.acceptToken(Ac)}},{contextual:!0}),OA=new xr(n=>{for(let e=0,t=0;;t++){if(n.next<0){t&&n.acceptToken(_0);break}if(n.next==fA)e++;else if(n.next==Uc&&e>=2){t>3&&n.acceptToken(_0,-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 xr((n,e)=>{if(n.next==Hd&&n.peek(1)==Uc){let t=e.dialectEnabled(nA)||dA(e.context);n.acceptToken(t?IR:k0,2)}else n.next==Uc&&n.acceptToken(k0,1)});function Kd(n,e,t){let i=2+n.length;return new xr(r=>{for(let s=0,l=0,o=0;;o++){if(r.next<0){o&&r.acceptToken(e);break}if(s==0&&r.next==py||s==1&&r.next==Hd||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=Kd("script",VR,qR),mA=Kd("style",ER,MR),SA=Kd("textarea",DR,zR),bA=Il({"Text RawText":S.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":S.angleBracket,TagName:S.tagName,"MismatchedCloseTag/TagName":[S.tagName,S.invalid],AttributeName:S.attributeName,"AttributeValue UnquotedAttributeValue":S.attributeValue,Is:S.definitionOperator,"EntityReference CharacterReference":S.character,Comment:S.blockComment,ProcessingInst:S.processingInstruction,DoctypeDecl:S.documentMeta}),$A=Ps.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%`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fvO~OfwO~OS|OhyO~OS!OOhyO~OS!QOhyO~OS!SOT!TOhyO~OS!TOhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXhgXTgX~OS!fOhyO~OS!gOhyO~OS!hOhyO~OS!iOT!jOhyO~OS!jOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:uA,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21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)ex;'S*V;'S;=`*s<%lO*V!R!N`P;=`<%l!G_T!NhbhSOq!Hpqr!Ncrs!Hpsw!Ncwx!Hpx!P!Nc!P!Q!Hp!Q!_!Nc!_!a!Hp!a!b# p!b#s!Nc#s$f!Hp$f;'S!Nc;'S;=`#!}<%l?Ah!Nc?Ah?BY!Hp?BY?Mn!Nc?MnO!HpT# ubhSOq!Hpqr!Ncrs!Hpsw!Ncwx!Hpx!P!Nc!P!Q!Hp!Q!_!Nc!_!`!Hp!`!a!If!a#s!Nc#s$f!Hp$f;'S!Nc;'S;=`#!}<%l?Ah!Nc?Ah?BY!Hp?BY?Mn!Nc?MnO!HpT##QP;=`<%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 gy(n,e){let t=Object.create(null);for(let i of n.getChildren(hy)){let r=i.getChild(GR),s=i.getChild(cd)||i.getChild(Oy);r&&(t[e.read(r.from,r.to)]=s?s.type.id==cd?e.read(s.from+1,s.to-1):e.read(s.from,s.to):"")}return t}function Z0(n,e){let t=n.getChild(FR);return t?e.read(t.from,t.to):" "}function rO(n,e,t){let i;for(let r of t)if(!r.attrs||r.attrs(i||(i=gy(n.node.parent.firstChild,e))))return{parser:r.parser};return null}function my(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 rO(o,f,t);if(u==KR)return rO(o,f,i);if(u==JR)return rO(o,f,r);if(u==uy&&s.length){let h=o.node,O=h.firstChild,p=O&&Z0(O,f),g;if(p){for(let b of s)if(b.tag==p&&(!b.attrs||b.attrs(g||(g=gy(h,f))))){let $=h.lastChild;return{parser:b.parser,overlay:[{from:O.to,to:$.type.id==tA?$.from:h.to}]}}}}if(l&&u==hy){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!=Z0(h.parent,f))continue;let b=h.lastChild;if(b.type.id==cd){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==Oy)return{parser:g.parser,overlay:[{from:b.from,to:b.to}]}}}}return null})}const QA=95,R0=1,wA=96,yA=97,A0=2,Sy=[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,by=95,kA=91,ic=45,_A=46,WA=35,xA=37;function Yc(n){return n>=65&&n<=90||n>=97&&n<=122||n>=161}function CA(n){return n>=48&&n<=57}const XA=new xr((n,e)=>{for(let t=!1,i=0,r=0;;r++){let{next:s}=n;if(Yc(s)||s==ic||s==by||t&&CA(s))!t&&(s!=ic||r>0)&&(t=!0),i===r&&s==ic&&i++,n.advance();else{t&&n.acceptToken(s==PA?wA:i==2&&e.canShift(A0)?A0:yA);break}}}),TA=new xr(n=>{if(Sy.includes(n.peek(-1))){let{next:e}=n;(Yc(e)||e==by||e==WA||e==_A||e==kA||e==vA||e==ic)&&n.acceptToken(QA)}}),ZA=new xr(n=>{if(!Sy.includes(n.peek(-1))){let{next:e}=n;if(e==xA&&(n.advance(),n.acceptToken(R0)),Yc(e)){do n.advance();while(Yc(n.next));n.acceptToken(R0)}}}),RA=Il({"AtKeyword import charset namespace keyframes media supports":S.definitionKeyword,"from to selector":S.keyword,NamespaceName:S.namespace,KeyframeName:S.labelName,KeyframeRangeName:S.operatorKeyword,TagName:S.tagName,ClassName:S.className,PseudoClassName:S.constant(S.className),IdName:S.labelName,"FeatureName PropertyName":S.propertyName,AttributeName:S.attributeName,NumberLiteral:S.number,KeywordQuery:S.keyword,UnaryQueryOp:S.operatorKeyword,"CallTag ValueName":S.atom,VariableName:S.variableName,Callee:S.operatorKeyword,Unit:S.unit,"UniversalSelector NestingSelector":S.definitionOperator,MatchOp:S.compareOperator,"ChildOp SiblingOp, LogicOp":S.logicOperator,BinOp:S.arithmeticOperator,Important:S.modifier,Comment:S.blockComment,ColorLiteral:S.color,"ParenthesizedContent StringLiteral":S.string,":":S.punctuation,"PseudoOp #":S.derefOperator,"; ,":S.separator,"( )":S.paren,"[ ]":S.squareBracket,"{ }":S.brace}),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=Ps.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({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%lO%^YFSSzQOy%^z;'S%^;'S;=`%o<%lO%^XFeU|POy%^z!`%^!`!aFw!a;'S%^;'S;=`%o<%lO%^XGOS|PoWOy%^z;'S%^;'S;=`%o<%lO%^XG_WOy%^z!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHO[!YPoWOy%^z}%^}!OGw!O!Q%^!Q![Gw![!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHySxPOy%^z;'S%^;'S;=`%o<%lO%^^I[SvUOy%^z;'S%^;'S;=`%o<%lO%^XIkUOy%^z#b%^#b#cI}#c;'S%^;'S;=`%o<%lO%^XJSUoWOy%^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 sO=null;function lO(){if(!sO&&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)));sO=e.sort().map(i=>({type:"property",label:i}))}return sO||[]}const U0=["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})),Y0=["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})),fs=/^(\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 V0=new RQ,DA=["Declaration"];function zA(n){for(let e=n;;){if(e.type.isTop)return e;if(!(e=e.parent))return n}}function $y(n,e,t){if(e.to-e.from>4096){let i=V0.get(e);if(i)return i;let r=[],s=new Set,l=e.cursor(Ut.IncludeAnonymous);if(l.firstChild())do for(let o of $y(n,l.node,t))s.has(o.label)||(s.add(o.label),r.push(o));while(l.nextSibling());return V0.set(e,r),r}else{let i=[],r=new Set;return e.cursor().iterate(s=>{var l;if(t(s)&&s.matchContext(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:lO(),validFor:fs};if(r.name=="ValueName")return{from:r.from,options:Y0,validFor:fs};if(r.name=="PseudoClassName")return{from:r.from,options:U0,validFor:fs};if(n(r)||(e.explicit||s)&&MA(r,t.doc))return{from:n(r)||s?r.from:i,options:$y(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:lO(),validFor:fs};return{from:r.from,options:qA,validFor:fs}}if(!e.explicit)return null;let l=r.resolve(i),o=l.childBefore(i);return o&&o.name==":"&&l.name=="PseudoClassSelector"?{from:i,options:U0,validFor:fs}:o&&o.name==":"&&l.name=="Declaration"||l.name=="ArgList"?{from:i,options:Y0,validFor:fs}:l.name=="Block"||l.name=="Styles"?{from:i,options:lO(),validFor:fs}:null},NA=IA(n=>n.name=="VariableName"),Vc=ks.define({name:"css",parser:VA.configure({props:[Nl.add({Declaration:Tl()}),Ll.add({Block:br})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function LA(){return new fa(Vc,Vc.data.of({autocomplete:NA}))}const q0=302,E0=1,BA=2,M0=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],Qy=125,JA=59,D0=47,e9=42,t9=43,i9=45,n9=new YQ({start:!1,shift(n,e){return e==GA||e==HA||e==jA?n:e==FA},strict:!1}),r9=new xr((n,e)=>{let{next:t}=n;(t==Qy||t==-1||e.context)&&e.canShift(M0)&&n.acceptToken(M0)},{contextual:!0,fallback:!0}),s9=new xr((n,e)=>{let{next:t}=n,i;KA.indexOf(t)>-1||t==D0&&((i=n.peek(1))==D0||i==e9)||t!=Qy&&t!=JA&&t!=-1&&!e.context&&e.canShift(q0)&&n.acceptToken(q0)},{contextual:!0}),l9=new xr((n,e)=>{let{next:t}=n;if((t==t9||t==i9)&&(n.advance(),t==n.next)){n.advance();let i=!e.context&&e.canShift(E0);n.acceptToken(i?E0:BA)}},{contextual:!0}),o9=Il({"get set async static":S.modifier,"for while do if else switch try catch finally return throw break continue default case":S.controlKeyword,"in of await yield void typeof delete instanceof":S.operatorKeyword,"let var const 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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%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: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/mr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ecedences:{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=[rr("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),rr("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),rr("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),rr("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),rr("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),rr(`try { +}`,O=`__svelte_${Xx(h)}_${o}`,p=Nb(n),{stylesheet:g,rules:b}=rc.get(p)||Tx(p,n);b[O]||(b[O]=!0,g.insertRule(`@keyframes ${O} ${h}`,g.cssRules.length));const Q=n.style.animation||"";return n.style.animation=`${Q?`${Q}, `:""}${O} ${i}ms linear ${r}ms 1 both`,sc+=1,O}function jb(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(", "),sc-=r,sc||Zx())}function Zx(){pd(()=>{sc||(rc.forEach(n=>{const{ownerNode:e}=n.stylesheet;e&&Y(e)}),rc.clear())})}function Rx(n,e,t,i){if(!e)return Ce;const r=n.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=dd,start:f=Db()+s,end:u=f+l,tick:h=Ce,css:O}=t(n,{from:e,to:r},i);let p=!0,g=!1,b;function Q(){O&&(b=uO(n,0,1,l,s,o,O)),s||(g=!0)}function $(){O&&jb(n,b),p=!1}return Ib(P=>{if(!g&&P>=f&&(g=!0),g&&P>=u&&(h(1,0),$()),!p)return!1;if(g){const x=P-f,R=0+1*o(x/l);h(R,1-R)}return!0}),Q(),h(0,1),$}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 Ic(n){Bb().$$.on_mount.push(n)}function Bn(){const n=Bb();return(e,t,{cancelable:i=!1}={})=>{const r=n.$$.callbacks[e];if(r){const s=Lb(e,t,{cancelable:i});return r.slice().forEach(l=>{l.call(n,s)}),!s.defaultPrevented}return!0}}function hO(n,e){const t=n.$$.callbacks[e.type];t&&t.slice().forEach(i=>i.call(this,e))}const ml=[],Dt=[];let _l=[];const OO=[],Fb=Promise.resolve();let dO=!1;function Gb(){dO||(dO=!0,Fb.then(Hb))}function sr(){return Gb(),Fb}function or(n){_l.push(n)}function Ro(n){OO.push(n)}const xh=new Set;let pl=0;function Hb(){if(pl!==0)return;const n=Do;do{try{for(;pln.indexOf(i)===-1?e.push(i):t.push(i)),t.forEach(i=>i()),_l=e}let mo;function qx(){return mo||(mo=Promise.resolve(),mo.then(()=>{mo=null})),mo}function Ch(n,e,t){n.dispatchEvent(Lb(`${e?"intro":"outro"}${t}`))}const Nf=new Set;let Nr;function tt(){Nr={r:0,c:[],p:Nr}}function it(){Nr.r||ti(Nr.c),Nr=Nr.p}function D(n,e){n&&n.i&&(Nf.delete(n),n.i(e))}function F(n,e,t,i){if(n&&n.o){if(Nf.has(n))return;Nf.add(n),Nr.c.push(()=>{Nf.delete(n),i&&(t&&n.d(1),i())}),n.o(e)}else i&&i()}const Ex={duration:0};function $l(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&&jb(n,u)}function p(b,Q){const $=b.b-l;return Q*=Math.abs($),{a:l,b:b.b,d:$,duration:Q,start:b.start,end:b.start+Q,group:b.group}}function g(b){const{delay:Q=0,duration:$=300,easing:P=dd,tick:x=Ce,css:R}=s||Ex,C={start:Db()+Q,b};b||(C.group=Nr,Nr.r+=1),"inert"in n&&(b?h!==void 0&&(n.inert=h):(h=n.inert,n.inert=!0)),o||f?f=C:(R&&(O(),u=uO(n,l,b,$,Q,P,R)),b&&x(0,1),o=p(C,$),or(()=>Ch(n,b,"start")),Ib(X=>{if(f&&X>f.start&&(o=p(f,$),f=null,Ch(n,o.b,"start"),R&&(O(),u=uO(n,l,o.b,o.duration,0,P,s.css))),o){if(X>=o.end)x(l=o.b,1-l),Ch(n,o.b,"end"),f||(o.b?O():--o.group.r||ti(o.group.c)),o=null;else if(X>=o.start){const Z=X-o.start;l=o.a+o.d*P(Z/o.duration),x(l,1-l)}}return!!(o||f)}))}return{run(b){zc(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 Q={};for(;b--;)Q[n[b].key]=b;const $=[],P=new Map,x=new Map,R=[];for(b=g;b--;){const I=O(r,s,b),q=t(I);let N=l.get(q);N?i&&R.push(()=>N.p(I,e)):(N=u(q,I),N.c()),P.set(q,$[b]=N),q in Q&&x.set(q,Math.abs(b-Q[q]))}const C=new Set,X=new Set;function Z(I){D(I,1),I.m(o,h),l.set(I.key,I),h=I.first,g--}for(;p&&g;){const I=$[g-1],q=n[p-1],N=I.key,z=q.key;I===q?(h=I.first,p--,g--):P.has(z)?!l.has(N)||C.has(N)?Z(I):X.has(z)?p--:x.get(N)>x.get(z)?(X.add(N),Z(I)):(C.add(z),p--):(f(q,l),p--)}for(;p--;){const I=n[p];P.has(I.key)||f(I,l)}for(;g;)Z($[g-1]);return ti(R),$}function Ao(n,e,t){const i=n.$$.props[e];i!==void 0&&(n.$$.bound[i]=t,t(n.$$.ctx[i]))}function Ee(n){n&&n.c()}function Ye(n,e,t){const{fragment:i,after_update:r}=n.$$;i&&i.m(e,t),or(()=>{const s=n.$$.on_mount.map(qb).filter(zc);n.$$.on_destroy?n.$$.on_destroy.push(...s):ti(s),n.$$.on_mount=[]}),r.forEach(or)}function Ve(n,e){const t=n.$$;t.fragment!==null&&(Vx(t.after_update),ti(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&&(ml.push(n),Gb(),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,ti(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),Ye(n,e.target,e.anchor),Hb()}Zo(f)}class Vi{constructor(){Wh(this,"$$");Wh(this,"$$set")}$destroy(){Ve(this,1),this.$destroy=Ce}$on(e,t){if(!zc(t))return Ce;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",jx=function(n){return"/develop/"+n},dm={},pm=function(e,t,i){if(!t||t.length===0)return e();const r=document.getElementsByTagName("link");return Promise.all(t.map(s=>{if(s=jx(s),s in dm)return;dm[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 St{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),wr.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),wr.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 Kb(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 Jb(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]?St.empty:e.length<=32?new ci(e):wr.from(ci.split(e,[]))}}class ci extends St{constructor(e,t=Bx(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 ci(gm(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(r&1){let l=i.pop(),o=Lf(s.text,l.text.slice(),0,s.length);if(o.length<=32)i.push(new ci(o,l.length+s.length));else{let f=o.length>>1;i.push(new ci(o.slice(0,f)),new ci(o.slice(f)))}}else i.push(s)}replace(e,t,i){if(!(i instanceof ci))return super.replace(e,t,i);let r=Lf(this.text,Lf(i.text,gm(this.text,0,e)),t),s=this.length+i.length-(t-e);return r.length<=32?new ci(r,s):wr.from(ci.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 ci(i,r)),i=[],r=-1);return r>-1&&t.push(new ci(i,r)),t}}class wr extends St{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let i of e)this.lines+=i.lines}lineInner(e,t,i,r){for(let s=0;;s++){let l=this.children[s],o=r+l.length,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 wr(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 wr))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 ci(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 wr)for(let Q of g.children)O(Q);else g.lines>l&&(f>l||!f)?(p(),o.push(g)):g instanceof ci&&f&&(b=h[h.length-1])instanceof ci&&g.lines+b.lines<=32?(f+=g.lines,u+=g.length+1,h[h.length-1]=new ci(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]:wr.from(h,u)),u=-1,f=h.length=0)}for(let g of e)O(g);return p(),o.length==1?o[0]:new wr(o,t)}}St.empty=new ci([""],0);function Bx(n){let e=-1;for(let t of n)e+=t.length+1;return e}function Lf(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 ci?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 ci?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 ci){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 ci?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 Kb{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 Jb{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:i,value:r}=this.inner.next(e);return t?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(St.prototype[Symbol.iterator]=function(){return this.iter()},Uo.prototype[Symbol.iterator]=Kb.prototype[Symbol.iterator]=Jb.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 Wl="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(n=>n?parseInt(n,36):1);for(let n=1;nn)return Wl[e-1]<=n;return!1}function mm(n){return n>=127462&&n<=127487}const Sm=8205;function Ni(n,e,t=!0,i=!0){return(t?e$:Hx)(n,e,i)}function e$(n,e,t){if(e==n.length)return e;e&&t$(n.charCodeAt(e))&&i$(n.charCodeAt(e-1))&&e--;let i=Zi(n,e);for(e+=yn(i);e=0&&mm(Zi(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=e$(n,e-2,t);if(i=56320&&n<57344}function i$(n){return n>=55296&&n<56320}function Zi(n,e){let t=n.charCodeAt(e);if(!i$(t)||e+1==n.length)return t;let i=n.charCodeAt(e+1);return t$(i)?(t-55296<<10)+(i-56320)+65536:t}function gd(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}function yn(n){return n<65536?1:2}const pO=/\r\n?|\n/;var Ai=function(n){return n[n.Simple=0]="Simple",n[n.TrackDel=1]="TrackDel",n[n.TrackBefore=2]="TrackBefore",n[n.TrackAfter=3]="TrackAfter",n}(Ai||(Ai={}));class _r{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return s+(e-r);s+=o}else{if(i!=Ai.Simple&&u>=e&&(i==Ai.TrackDel&&re||i==Ai.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 _r(e)}static create(e){return new _r(e)}}class $i extends _r{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 gO(this,(t,i,r,s,l)=>e=e.replace(r,r+(i-t),l),!1),e}mapDesc(e,t=!1){return mO(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&&ps(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"?St.of(g.split(i||pO)):g:St.empty,Q=b.length;if(O==p&&Q==0)return;Ol&&zi(r,O-l,-1),zi(r,p-O,Q),ps(s,r,b),l=p}}return u(e),f(!o),o}static empty(e){return new $i(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 ps(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 mO(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?St.empty:e[t]}textBit(e){let{inserted:t}=this.set,i=this.i-2>>1;return i>=t.length&&!e?St.empty:t[i].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class js{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 js(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 js(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=>js.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 r$(n,e){for(let t of n.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let md=0;class Pe{constructor(e,t,i,r,s){this.combine=e,this.compareInput=t,this.compare=i,this.isStatic=r,this.id=md++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}static define(e={}){return new Pe(e.combine||(t=>t),e.compareInput||((t,i)=>t===i),e.compare||(e.combine?(t,i)=>t===i:Sd),!!e.static,e.enables)}of(e){return new jf([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new jf(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new jf(e,this,2,t)}from(e,t){return t||(t=i=>i),this.compute([e],i=>t(i.field(e)))}}function Sd(n,e){return n==e||n.length==e.length&&n.every((t,i)=>t===e[i])}class jf{constructor(e,t,i,r){this.dependencies=e,this.facet=t,this.type=i,this.value=r,this.id=md++}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)||SO(O,h)){let g=i(O);if(o?!bm(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 Q=oc(p,b);if(this.dependencies.every($=>$ instanceof Pe?p.facet($)===O.facet($):$ instanceof wi?p.field($,!1)==O.field($,!1):!0)||(o?bm(g=i(O),Q,r):r(g=i(O),Q)))return O.values[l]=Q,0}else g=i(O);return O.values[l]=g,1}}}}function bm(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($m).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,$m.of({field:this,create:e})]}get extension(){return this}}const Is={lowest:4,low:3,default:2,high:1,highest:0};function So(n){return e=>new s$(e,n)}const Js={highest:So(Is.highest),high:So(Is.high),default:So(Is.default),low:So(Is.low),lowest:So(Is.lowest)};class s${constructor(e,t){this.inner=e,this.prec=t}}class zl{of(e){return new bO(this,e)}reconfigure(e){return zl.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class bO{constructor(e,t){this.compartment=e,this.inner=t}}class lc{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 wi?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,Q=h&&h[p]||[];if(g.every($=>$.type==0))if(o[b.id]=f.length<<1|1,Sd(Q,g))f.push(i.facet(b));else{let $=b.combine(g.map(P=>P.value));f.push(i&&b.compare($,i.facet(b))?i.facet(b):$)}else{for(let $ of g)$.type==0?(o[$.id]=f.length<<1|1,f.push($.value)):(o[$.id]=u.length<<1,u.push(P=>$.dynamicSlot(P)));o[b.id]=u.length<<1,u.push($=>Kx($,b,g))}}let O=u.map(p=>p(o));return new lc(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 bO&&t.delete(l.compartment)}if(r.set(l,o),Array.isArray(l))for(let u of l)s(u,o);else if(l instanceof bO){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 s$)s(l.inner,l.prec);else if(l instanceof wi)i[o].push(l),l.provides&&s(l.provides,o);else if(l instanceof jf)i[o].push(l),l.facet.extensions&&s(l.facet.extensions,Is.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,Is.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 oc(n,e){return e&1?n.config.staticValues[e>>1]:n.values[e>>1]}const l$=Pe.define(),o$=Pe.define({combine:n=>n.some(e=>e),static:!0}),a$=Pe.define({combine:n=>n.length?n[0]:void 0,static:!0}),f$=Pe.define(),c$=Pe.define(),u$=Pe.define(),h$=Pe.define({combine:n=>n.length?n[0]:!1});class Gr{constructor(e,t){this.type=e,this.value=t}static define(){return new e3}}class e3{of(e){return new Gr(this,e)}}class t3{constructor(e){this.map=e}of(e){return new Me(this,e)}}class Me{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 Me(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}}Me.reconfigure=Me.define();Me.appendConfig=Me.define();class Qi{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&&r$(i,t.newLength),s.some(o=>o.type==Qi.time)||(this.annotations=s.concat(Qi.time.of(Date.now())))}static create(e,t,i,r,s,l){return new Qi(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(Qi.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}Qi.time=Gr.define();Qi.userEvent=Gr.define();Qi.addToHistory=Gr.define();Qi.remote=Gr.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 Qi?n=s:Array.isArray(s)&&s.length==1&&s[0]instanceof Qi?n=s[0]:n=d$(e,xl(s),!1)}return n}function r3(n){let e=n.startState,t=e.facet(u$),i=n;for(let r=t.length-1;r>=0;r--){let s=t[r](n);s&&Object.keys(s).length&&(i=O$(i,$O(e,s,n.changes.newLength),!0))}return i==n?n:Qi.create(e,n.changes,n.selection,i.effects,i.annotations,i.scrollIntoView)}const s3=[];function xl(n){return n==null?s3:Array.isArray(n)?n:[n]}var zt=function(n){return n[n.Word=0]="Word",n[n.Space=1]="Space",n[n.Other=2]="Other",n}(zt||(zt={}));const l3=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let QO;try{QO=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function o3(n){if(QO)return QO.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 zt.Space;if(o3(e))return zt.Word;for(let t=0;t-1)return zt.Word;return zt.Other}}class ut{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(Me.reconfigure)?(t=null,i=l.value):l.is(Me.appendConfig)&&(t=null,i=xl(i).concat(l.value));let s;t?s=e.startState.values.slice():(t=lc.resolve(i,r,this),s=new ut(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(o,f)=>f.reconfigure(o,this),null).values),new ut(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=xl(i.effects);for(let o=1;ol.spec.fromJSON(o,f)))}}return ut.create({doc:e.doc,selection:K.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=lc.resolve(e.extensions||[],new Map),i=e.doc instanceof St?e.doc:St.of((e.doc||"").split(t.staticFacet(ut.lineSeparator)||pO)),r=e.selection?e.selection instanceof K?e.selection:K.single(e.selection.anchor,e.selection.head):K.single(0);return r$(r,i.length),t.staticFacet(o$)||(r=r.asSingle()),new ut(t,i,r,t.dynamicSlots.map(()=>null),(s,l)=>l.create(s),null)}get tabSize(){return this.facet(ut.tabSize)}get lineBreak(){return this.facet(ut.lineSeparator)||` +`}get readOnly(){return this.facet(h$)}phrase(e,...t){for(let i of this.facet(ut.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(l$))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=Ni(t,l,!1);if(s(t.slice(f,l))!=zt.Word)break;l=f}for(;on.length?n[0]:4});ut.lineSeparator=a$;ut.readOnly=h$;ut.phrases=Pe.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])}});ut.languageData=l$;ut.changeFilter=f$;ut.transactionFilter=c$;ut.transactionExtender=u$;zl.reconfigure=Me.define();function xr(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 Gs{eq(e){return this==e}range(e,t=e){return wO.create(e,t,this)}}Gs.prototype.startSide=Gs.prototype.endSide=0;Gs.prototype.point=!1;Gs.prototype.mapMode=Ai.TrackDel;let wO=class p${constructor(e,t,i){this.from=e,this.to=t,this.value=i}static create(e,t,i){return new p$(e,t,i)}};function yO(n,e){return n.from-e.from||n.value.startSide-e.value.startSide}class bd{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 bd(r,s,i,o):null,pos:l}}}class wt{constructor(e,t,i,r){this.chunkPos=e,this.chunk=t,this.nextLayer=i,this.maxPoint=r}static create(e,t,i,r){return new wt(e,t,i,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:i=!1,filterFrom:r=0,filterTo:s=this.length}=e,l=e.filter;if(t.length==0&&!l)return this;if(i&&(t=t.slice().sort(yO)),this.isEmpty)return t.length?wt.of(t):this;let o=new g$(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,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=Qm(l,o,i),u=new bo(l,f,s),h=new bo(o,f,s);i.iterGaps((O,p,g)=>wm(u,O,h,p,g,r)),i.empty&&i.length==0&&wm(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=Qm(s,l),f=new bo(s,o,0).goto(i),u=new bo(l,o,0).goto(i);for(;;){if(f.to!=u.to||!vO(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 $s;for(let r of e instanceof wO?[e]:t?f3(e):e)i.add(r.from,r.to,r.value);return i.finish()}}wt.empty=new wt([],[],null,-1);function f3(n){if(n.length>1)for(let e=n[0],t=1;t0)return n.slice().sort(yO);e=i}return n}wt.empty.nextLayer=wt.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 bd(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 $s)).add(e,t,i)}addInner(e,t,i){let r=e-this.lastTo||i.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||i.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=i,this.lastFrom=e,this.lastTo=t,this.value.push(i),i.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let i=t.value.length-1;return this.last=t.value[i],this.lastFrom=t.from[i]+e,this.lastTo=t.to[i]+e,!0}finish(){return this.finishInner(wt.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=wt.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function Qm(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 g$(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--)Xh(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--)Xh(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(),Xh(this.heap,0)}}}function Xh(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){$f(this.active,e),$f(this.activeTo,e),$f(this.activeRank,e),this.minActive=ym(this.active,this.activeTo)}addActive(e){let t=0,{value:i,to:r,rank:s}=this.cursor;for(;t-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),i&&$f(i,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(i),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from=0&&i[r]=0&&!(this.activeRank[i]e||this.activeTo[i]==e&&this.active[i].endSide>=this.point.endSide)&&t.push(this.active[i]);return t.reverse()}openEnd(e){let t=0;for(let i=this.activeTo.length-1;i>=0&&this.activeTo[i]>e;i--)t++;return t}}function wm(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))&&vO(n.activeForPoint(n.to+f),t.activeForPoint(t.to))||s.comparePoint(o,O,n.point,t.point):O>o&&!vO(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 vO(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 ym(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=Ni(n,r)}return i===!0?-1:n.length}const kO="ͼ",vm=typeof Symbol>"u"?"__"+kO:Symbol.for(kO),_O=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),Pm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Qs{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(Q=>l.map($=>Q.replace(/&/,$))).reduce((Q,$)=>Q.concat($)),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,Q=>"-"+Q.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=Pm[vm]||1;return Pm[vm]=e+1,kO+e.toString(36)}static mount(e,t,i){let r=e[_O],s=i&&i.nonce;r?s&&r.setNonce(s):r=new c3(e,s),r.mount(Array.isArray(t)?t:[t])}}let km=new Map;class c3{constructor(e,t){let i=e.ownerDocument||e,r=i.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let s=km.get(i);if(s)return e.adoptedStyleSheets=[s.sheet,...e.adoptedStyleSheets],e[_O]=s;this.sheet=new r.CSSStyleSheet,e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets],km.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[_O]=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:'"'},_m=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||_m&&+_m[1]<57;for(var Ri=0;Ri<10;Ri++)ws[48+Ri]=ws[96+Ri]=String(Ri);for(var Ri=1;Ri<=24;Ri++)ws[Ri+111]="F"+Ri;for(var Ri=65;Ri<=90;Ri++)ws[Ri]=String.fromCharCode(Ri+32),No[Ri]=String.fromCharCode(Ri);for(var Th in ws)No.hasOwnProperty(Th)||(No[Th]=ws[Th]);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:ws)[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 ac(n){let e;return n.nodeType==11?e=n.getSelection?n:n.ownerDocument:e=n,e.getSelection()}function WO(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 WO(n,e.anchorNode)}catch{return!1}}function Lo(n){return n.nodeType==3?Hs(n,0,n.nodeValue.length).getClientRects():n.nodeType==1?n.getClientRects():[]}function fc(n,e,t,i){return t?Wm(n,e,t,i,-1)||Wm(n,e,t,i,1):!1}function cc(n){for(var e=0;;e++)if(n=n.previousSibling,!n)return e}function Wm(n,e,t,i,r){for(;;){if(n==t&&e==i)return!0;if(e==(r<0?0:ys(n))){if(n.nodeName=="DIV")return!1;let s=n.parentNode;if(!s||s.nodeType!=1)return!1;e=cc(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?ys(n):0}else return!1}}function ys(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function $d(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,Q=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,Q=x.height/h.offsetHeight,p={left:x.left,right:x.left+h.clientWidth*b,top:x.top,bottom:x.top+h.clientHeight*Q}}let $=0,P=0;if(r=="nearest")e.top0&&e.bottom>p.bottom+P&&(P=e.bottom-p.bottom+P+l)):e.bottom>p.bottom&&(P=e.bottom-p.bottom+l,t<0&&e.top-P0&&e.right>p.right+$&&($=e.right-p.right+$+s)):e.right>p.right&&($=e.right-p.right+s,t<0&&e.leftt.clientHeight||t.scrollWidth>t.clientWidth)return t;t=t.assignedSlot||t.parentNode}else if(t.nodeType==11)t=t.host;else break;return null}class 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?ys(t):0),i,Math.min(e.focusOffset,i?ys(i):0))}set(e,t,i,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=i,this.focusOffset=r}}let gl=null;function m$(n){if(n.setActive)return n.setActive();if(gl)return n.focus(gl);let e=[];for(let t=n;t&&(e.push(t,t.scrollTop,t.scrollLeft),t!=t.ownerDocument);t=t.parentNode);if(n.focus(gl==null?{get preventScroll(){return gl={preventScroll:!0},!0}}:void 0),!gl){gl=!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,cc(e),t)}static after(e,t){return new Ii(e.parentNode,cc(e)+1,t)}}const Qd=[];class At{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let t=this.posAtStart;for(let i of this.children){if(i==e)return t;t+=i.length+i.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,t){if(this.flags&2){let i=this.dom,r=null,s;for(let l of this.children){if(l.flags&7){if(!l.dom&&(s=r?r.nextSibling:i.firstChild)){let o=At.get(s);(!o||!o.parent&&o.canReuseDOM(l))&&l.reuseDOM(s)}l.sync(e,t),l.flags&=-8}if(s=r?r.nextSibling:i.firstChild,t&&!t.written&&t.node==i&&s!=l.dom&&(t.written=!0),l.dom.parentNode==i)for(;s&&s!=l.dom;)s=Cm(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=Cm(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=ys(e)==0?0:t==0?-1:1;for(;;){let s=e.parentNode;if(s==this.dom)break;r==0&&s.firstChild!=s.lastChild&&(e==s.firstChild?r=-1:r=1),e=s}r<0?i=e:i=e.nextSibling}if(i==this.dom.firstChild)return 0;for(;i&&!At.get(i);)i=i.nextSibling;if(!i)return this.length;for(let r=0,s=0;;r++){let l=this.children[r];if(l.dom==i)return s;s+=l.length+l.breakAfter}}domBoundsAround(e,t,i=0){let r=-1,s=-1,l=-1,o=-1;for(let 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=Qd){this.markDirty();for(let r=e;rthis.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let i=this.children[--this.i];this.pos-=i.length+i.breakAfter}}}function Q$(n,e,t,i,r,s,l,o,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 _e={mac:Zm||/Mac/.test(vn.platform),windows:/Win/.test(vn.platform),linux:/Linux|X11/.test(vn.platform),ie:Nc,ie_version:y$?xO.documentMode||6:XO?+XO[1]:CO?+CO[1]:0,gecko:Xm,gecko_version:Xm?+(/Firefox\/(\d+)/.exec(vn.userAgent)||[0,0])[1]:0,chrome:!!Zh,chrome_version:Zh?+Zh[1]:0,ios:Zm,android:/Android\b/.test(vn.userAgent),webkit:Tm,safari:v$,webkit_version:Tm?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:xO.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const w3=256;class jr extends At{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,t,i){return this.flags&8||i&&(!(i instanceof jr)||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 jr(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 At{constructor(e,t=[],i=0){super(),this.mark=e,this.children=t,this.length=i;for(let r of t)r.setParent(this)}setAttrs(e){if(S$(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 P$(this,e)}coordsAt(e,t){return _$(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?_e.chrome||_e.gecko||(e?(r--,l=1):s=0)?0:o.length-1];return _e.safari&&!l&&f.width==0&&(f=Array.prototype.find.call(o,u=>u.width)||f),l?$d(f,l<0):f||null}class gs extends At{static create(e,t,i){return new gs(e,t,i)}constructor(e,t,i){super(),this.widget=e,this.length=t,this.side=i,this.prevWidget=null}split(e){let t=gs.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 gs)||!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 St.empty}get isHidden(){return!0}}jr.prototype.children=gs.prototype.children=Al.prototype.children=Qd;function P$(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)?k$(i,e.children[0],t-1):(r.push(e),e.setParent(n)),n.length+=e.length}function _$(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 ZO(n,e,t){let i=!1;if(e)for(let r in e)t&&r in t||(i=!0,r=="style"?n.style.cssText="":n.removeAttribute(r));if(t)for(let r in t)e&&e[r]==t[r]||(i=!0,r=="style"?n.style.cssText=t[r]:n.setAttribute(r,t[r]));return i}function P3(n){let e=Object.create(null);for(let t=0;t0?3e8:-4e8:t>0?1e8:-1e8,new vs(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}=W$(e,t);i=(s?t?-3e8:-1:5e8)-1,r=(l?t?2e8:1:-6e8)+1}return new vs(e,i,r,t,e.widget||null,!0)}static line(e){return new la(e)}static set(e,t=!1){return wt.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}Re.none=wt.empty;class sa extends Re{constructor(e){let{start:t,end:i}=W$(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))&&wd(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 Re{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof la&&this.spec.class==e.spec.class&&wd(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=Ai.TrackBefore;la.prototype.point=!0;class vs extends Re{constructor(e,t,i,r,s,l){super(t,i,s,e),this.block=r,this.isReplace=l,this.mapMode=r?t<=0?Ai.TrackBefore:Ai.TrackAfter:Ai.TrackDel}get type(){return this.startSide=5||this.widget.lineBreaks>0)}eq(e){return e instanceof vs&&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)}}vs.prototype.point=!0;function W$(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 RO(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 Ti extends At{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 Ti))return!1;this.dom||i.transferDOM(this)}return r&&this.setDeco(i?i.attrs:null),w$(this,e,t,i?i.children:[],s,l),!0}split(e){let t=new Ti;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){wd(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){k$(this,e,t)}addLineDeco(e){let t=e.spec.attributes,i=e.spec.class;t&&(this.attrs=TO(t,this.attrs||{})),i&&(this.attrs=TO({class:i},this.attrs||{}))}domAtPos(e){return P$(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,t){var i;this.dom?this.flags&4&&(S$(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(ZO(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t);let r=this.dom.lastChild;for(;r&&At.get(r)instanceof Br;)r=r.lastChild;if(!r||!this.length||r.nodeName!="BR"&&((i=At.get(r))===null||i===void 0?void 0:i.isEditable)==!1&&(!_e.ios||!this.children.some(s=>s instanceof jr))){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 jr)||/[^ -~]/.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=_$(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 Ti)return s;if(l>t)break}r=l+s.breakAfter}return null}}class Fs extends At{constructor(e,t,i){super(),this.widget=e,this.length=t,this.type=i,this.breakAfter=0,this.prevWidget=null}merge(e,t,i,r,s,l){return i&&(!(i instanceof Fs)||!this.widget.compare(i.widget)||e>0&&s<=0||t0;){if(this.textOff==this.text.length){let{value:s,lineBreak:l,done:o}=this.cursor.next(this.skip);if(this.skip=0,o)throw new Error("Ran out of text content when drawing inline views");if(l){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=s,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-i)),this.getLine().append(wf(new jr(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 vs){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 vs)if(i.block){let{type:f}=i;f==Ht.WidgetAfter&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Fs(i.widget||new Am("div"),o,f))}else{let f=gs.create(i.widget||new Am("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(wf(new Al(1),r),s),s=r.length+Math.max(0,s-r.length)),O.append(wf(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=wt.spans(r,t,i,l),l.openStart<0&&(l.openStart=l.openEnd),l.finish(l.openEnd),l}}function wf(n,e){for(let t of e)n=new Br(t,[n],n.length);return n}class Am extends Ws{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}const x$=Pe.define(),C$=Pe.define(),X$=Pe.define(),T$=Pe.define(),AO=Pe.define(),Z$=Pe.define(),R$=Pe.define(),A$=Pe.define({combine:n=>n.some(e=>e)}),U$=Pe.define({combine:n=>n.some(e=>e)});class uc{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 uc(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const Um=Me.define({map:(n,e)=>n.map(e)});function kn(n,e,t){let i=n.facet(T$);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 Lc=Pe.define({combine:n=>n.length?n[0]:!0});let _3=0;const _o=Pe.define();class di{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 di(_3++,e,i,l=>{let o=[_o.of(l)];return s&&o.push(jo.of(f=>{let u=f.plugin(l);return u?s(u):Re.none})),r&&o.push(r(l)),o})}static fromClass(e,t){return di.define(i=>new e(i),t)}}class Rh{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(kn(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){kn(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){kn(e.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const Y$=Pe.define(),yd=Pe.define(),jo=Pe.define(),vd=Pe.define(),V$=Pe.define();function Ym(n,e,t){let i=n.state.facet(V$);if(!i.length)return i;let r=i.map(l=>l instanceof Function?l(n):l),s=[];return wt.spans(r,e,t,{point(){},span(l,o,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 q$=Pe.define();function E$(n){let e=0,t=0,i=0,r=0;for(let s of n.state.facet(q$)){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=Pe.define();class Nn{constructor(e,t,i,r){this.fromA=e,this.toA=t,this.fromB=i,this.toB=r}join(e){return new Nn(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 Nn(f.fromA,f.toA,f.fromB,f.toB).addToSet(i),l=f.toA,o=f.toB}}}class hc{constructor(e,t,i){this.view=e,this.state=t,this.transactions=i,this.flags=0,this.startState=e.state,this.changes=$i.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 Nn(s,l,o,f))),this.changedRanges=r}static create(e,t,i){return new hc(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 Ft=function(n){return n[n.LTR=0]="LTR",n[n.RTL=1]="RTL",n}(Ft||(Ft={}));const Bo=Ft.LTR,M$=Ft.RTL;function D$(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 z$(n,e){if(n.length!=e.length)return!1;for(let t=0;t=0;Q-=3)if(gr[Q+1]==-g){let $=gr[Q+2],P=$&2?r:$&4?$&1?s:r:0;P&&(kt[O]=kt[gr[Q]]=P),o=Q;break}}else{if(gr.length==189)break;gr[o++]=O,gr[o++]=p,gr[o++]=f}else if((b=kt[O])==2||b==1){let Q=b==r;f=Q?0:1;for(let $=o-3;$>=0;$-=3){let P=gr[$+2];if(P&2)break;if(Q)gr[$+2]|=2;else{if(P&4)break;gr[$+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==$&&(b=t[--Q].from,$=Q?t[Q-1].to:n),kt[--b]=g;f=h}else s=u,f++}}}function YO(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 ms(f,Q.from,g));let $=Q.direction==Bo!=!(g%2);VO(n,$?i+1:i,r,Q.inner,Q.from,Q.to,l),f=Q.to}b=Q.to}else{if(b==t||(h?kt[b]!=o:kt[b]==o))break;b++}p?YO(n,f,b,i+1,r,p,l):fe;){let h=!0,O=!1;if(!u||f>s[u-1].to){let Q=kt[f-1];Q!=o&&(h=!1,O=Q==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 Q=s[--u];if(!h)for(let $=Q.from,P=u;;){if($==e)break e;if(P&&s[P-1].to==$)$=s[--P].from;else{if(kt[$-1]==o)break e;break}}if(p)p.push(Q);else{Q.tokt.length;)kt[kt.length]=256;let i=[],r=e==Bo?0:1;return VO(n,r,r,t,0,n.length,i),i}function I$(n){return[new ms(0,n,0)]}let N$="";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=ms.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=Ni(n.text,l,u);if(N$=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 Nn(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,(_e.ie||_e.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=Nn.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=_e.chrome||_e.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,Q;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,Q=X.openEnd;let Z=this.compositionView(i);X.breakAtStart?Z.breakAfter=1:X.content.length&&Z.merge(Z.length,Z.length,X.content[0],!1,X.openStart,0)&&(Z.breakAfter=X.content[0].breakAfter,X.content.shift()),C.content.length&&Z.merge(0,0,C.content[C.content.length-1],!0,0,C.openEnd)&&C.content.pop(),p=C.content.concat(Z).concat(X.content)}else({content:p,breakAtStart:g,openStart:b,openEnd:Q}=Vo.build(this.view.state.doc,h,O,this.decorations,this.dynamicDecorationMap));let{i:$,off:P}=s.findPos(u,1),{i:x,off:R}=s.findPos(f,-1);Q$(this,x,R,$,P,p,g,b,Q)}i&&this.fixCompositionDOM(i)}compositionView(e){let t=new jr(e.text.nodeValue);t.flags|=8;for(let{deco:r}of e.marks)t=new Br(r,[t],t.length);let i=new Ti;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=At.get(s);o&&o!=l&&(o.dom=null),l.setDOM(s)},i=this.childPos(e.range.fromB,1),r=this.children[i.i];t(e.line,r);for(let s=e.marks.length-1;s>=-1;s--)i=r.childPos(i.off,1),r=r.children[i.i],t(s>=0?e.marks[s].node:e.text,r)}updateSelection(e=!1,t=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let i=this.view.root.activeElement,r=i==this.dom,s=!r&&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(_e.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||!fc(f.node,f.offset,h.anchorNode,h.anchorOffset)||!fc(u.node,u.offset,h.focusNode,h.focusOffset))&&(this.view.observer.ignore(()=>{_e.android&&_e.chrome&&this.dom.contains(h.focusNode)&&D3(h.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let O=ac(this.view.root);if(O)if(o.empty){if(_e.gecko){let p=q3(f.node,f.offset);if(p&&p!=3){let g=j$(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=ac(e.root),{anchorNode:r,anchorOffset:s}=e.observer.selectionRange;if(!i||!t.empty||!t.assoc||!i.modify)return;let l=Ti.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=At.get(t.childNodes[r]);s instanceof Ti&&(i=s.domAtPos(s.length))}return i?new Ii(i.node,i.offset,!0):e}nearest(e){for(let t=e;t;){let i=At.get(t);if(i&&i.rootView==this)return i;t=t.parentNode}return null}posFromDOM(e,t){let i=this.nearest(e);if(!i)throw new RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(e,t)+i.posAtStart}domAtPos(e){let{i:t,off:i}=this.childCursor().findPos(e,-1);for(;tl||e==l&&s.type!=Ht.WidgetBefore&&s.type!=Ht.WidgetAfter&&(!r||t==2||this.children[r-1].breakAfter||this.children[r-1].type==Ht.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 Ti))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 jr))return null;let s=Ni(r.text,i);if(s==i)return null;let l=Hs(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==Ft.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,Q=b?Lo(b):[];if(Q.length){let $=Q[Q.length-1],P=f?$.right-g.left:g.right-$.left;P>o&&(o=P,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"?Ft.RTL:Ft.LTR}measureTextSize(){for(let s of this.children)if(s instanceof Ti){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 $$(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let i=0,r=0;;r++){let s=r==t.viewports.length?null:t.viewports[r],l=s?s.from-1:this.length;if(l>i){let o=(t.lineBlockAt(l).bottom-t.lineBlockAt(i).top)/this.view.scaleY;e.push(Re.replace({widget:new qm(o),block:!0,inclusive:!0,isBlockGap:!0}).range(i,l))}if(!s)break;i=s.to+1}return Re.set(e)}updateDeco(){let e=this.view.state.facet(jo).map((t,i)=>(this.dynamicDecorationMap[i]=typeof t=="function")?t(this.view):t);for(let t=e.length;tt.anchor?-1:1),r;if(!i)return;!t.empty&&(r=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(i={left:Math.min(i.left,r.left),top:Math.min(i.top,r.top),right:Math.max(i.right,r.right),bottom:Math.max(i.bottom,r.bottom)});let s=E$(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=ys(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=Ni(r.text,s,!1):o=Ni(r.text,s);let f=i(r.text.slice(l,o));for(;l>0;){let u=Ni(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 Ah(n,e){return n.tope.top+1}function Em(n,e){return en.bottom?{top:n.top,left:n.left,right:n.right,bottom:e}:n}function qO(n,e,t){let i,r,s,l,o=!1,f,u,h,O;for(let b=n.firstChild;b;b=b.nextSibling){let Q=Lo(b);for(let $=0;$R||l==R&&s>x){i=b,r=P,s=x,l=R;let C=R?t0?$0)}x==0?t>P.bottom&&(!h||h.bottomP.top)&&(u=b,O=P):h&&Ah(h,P)?h=Mm(h,P.bottom):O&&Ah(O,P)&&(O=Em(O,P.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 Dm(i,p,t);if(o&&i.contentEditable!="false")return qO(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 Dm(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((_e.chrome||_e.gecko)&&Hs(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!=Ht.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:zm(n,l,f,h,O);let b=n.dom.ownerDocument,Q=n.root.elementFromPoint?n.root:b,$=Q.elementFromPoint(h,O);$&&!n.contentDOM.contains($)&&($=null),$||(h=Math.max(l.left+1,Math.min(l.right-1,h)),$=Q.elementFromPoint(h,O),$&&!n.contentDOM.contains($)&&($=null));let P,x=-1;if($&&((r=n.docView.nearest($))===null||r===void 0?void 0:r.isEditable)!=!1){if(b.caretPositionFromPoint){let C=b.caretPositionFromPoint(h,O);C&&({offsetNode:P,offset:x}=C)}else if(b.caretRangeFromPoint){let C=b.caretRangeFromPoint(h,O);C&&({startContainer:P,startOffset:x}=C,(!n.contentDOM.contains(P)||_e.safari&&j3(P,x,h)||_e.chrome&&B3(P,x,h))&&(P=void 0))}}if(!P||!n.docView.dom.contains(P)){let C=Ti.find(n.docView,g);if(!C)return p>f.top+f.height/2?f.to:f.from;({node:P,offset:x}=qO(C.dom,h,O))}let R=n.docView.nearest(P);if(!R)return null;if(R.isWidget&&((s=R.dom)===null||s===void 0?void 0:s.nodeType)==1){let C=R.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+PO(l,s,n.state.tabSize)}function j3(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 Hs(n,i-1,i).getBoundingClientRect().left>t}function B3(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():Hs(n,0,Math.max(n.nodeValue.length,1)).getBoundingClientRect();return t-i.left>5}function EO(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==Ht.Text))return i}return t}function F3(n,e,t,i){let r=EO(n,e.head),s=!i||r.type!=Ht.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==Ft.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 Im(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=N$;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==zt.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,Q=B$(n,{x:O,y:b},!1,s);if(bf.bottom||(s<0?Qr))return K.cursor(Q,e.assoc,void 0,l)}}function Ff(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 Oi){let r=Oi[i];e.contentDOM.addEventListener(i,s=>{Nm(e,s)&&t(r,s)},MO[i]),this.registeredEvents.push(i)}e.scrollDOM.addEventListener("mousedown",i=>{if(i.target==e.scrollDOM&&i.clientY>e.contentDOM.getBoundingClientRect().bottom&&(t(Oi.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(Oi.drop,i)}),_e.chrome&&_e.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,_e.safari&&e.contentDOM.addEventListener("input",()=>null),_e.gecko&&h5(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=>{Nm(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){kn(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){kn(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,Cl(e.contentDOM,t.key,t.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:_e.safari&&!_e.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 F$=[{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",G$=[16,17,18,20,91,92,224,225],yf=6;function vf(n){return Math.max(0,n)*.7+8}function e5(n,e){return Math.max(Math.abs(n.clientX-e.clientX),Math.abs(n.clientY-e.clientY))}class t5{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(vd).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(ut.allowMultipleSelections)&&i5(e,t),this.dragging=r5(e,t)&&eQ(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&&e5(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=E$(this.view);e.clientX-l.left<=s.left+yf?i=-vf(s.left-e.clientX):e.clientX+l.right>=s.right-yf&&(i=vf(e.clientX-s.right)),e.clientY-l.top<=s.top+yf?r=-vf(s.top-e.clientY):e.clientY+l.bottom>=s.bottom-yf&&(r=vf(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 i5(n,e){let t=n.state.facet(x$);return t.length?t[0](e):_e.mac?e.metaKey:e.ctrlKey}function n5(n,e){let t=n.state.facet(C$);return t.length?t[0](e):_e.mac?!e.altKey:!e.ctrlKey}function r5(n,e){let{main:t}=n.state.selection;if(t.empty)return!1;let i=ac(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 Nm(n,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,i;t!=n.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(i=At.get(t))&&i.ignoreEvent(e))return!1;return!0}const Oi=Object.create(null),MO=Object.create(null),H$=_e.ie&&_e.ie_version<15||_e.ios&&_e.webkit_version<604;function s5(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(),K$(n,t.value)},50)}function K$(n,e){let{state:t}=n,i,r=1,s=t.toText(e),l=s.lines==t.selection.ranges.length;if(DO!=null&&t.selection.ranges.every(f=>f.empty)&&DO==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})}Oi.keydown=(n,e)=>{n.inputState.setSelectionOrigin("select"),e.keyCode==27&&(n.inputState.lastEscPress=Date.now())};Oi.touchstart=(n,e)=>{n.inputState.lastTouchTime=Date.now(),n.inputState.setSelectionOrigin("select.pointer")};Oi.touchmove=n=>{n.inputState.setSelectionOrigin("select.pointer")};MO.touchstart=MO.touchmove={passive:!0};Oi.mousedown=(n,e)=>{if(n.observer.flush(),n.inputState.lastTouchTime>Date.now()-2e3)return;let t=null;for(let i of n.state.facet(X$))if(t=i(n,e),t)break;if(!t&&e.button==0&&(t=a5(n,e)),t){let i=!n.hasFocus;n.inputState.startMouseSelection(new t5(n,e,t,i)),i&&n.observer.ignore(()=>m$(n.contentDOM)),n.inputState.mouseSelection&&n.inputState.mouseSelection.start(e)}};function Lm(n,e,t,i){if(i==1)return K.cursor(e,t);if(i==2)return I3(n.state,e,t);{let r=Ti.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,jm=(n,e,t)=>J$(e,t)&&n>=t.left&&n<=t.right;function l5(n,e,t,i){let r=Ti.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&&jm(t,i,l))return-1;let o=r.coordsAt(s,1);return o&&jm(t,i,o)?1:l&&J$(i,l)?-1:1}function Bm(n,e){let t=n.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:l5(n,t,e.clientX,e.clientY)}}const o5=_e.ie&&_e.ie_version<=11;let Fm=null,Gm=0,Hm=0;function eQ(n){if(!o5)return n.detail;let e=Fm,t=Hm;return Fm=n,Hm=Date.now(),Gm=!e||t>Date.now()-400&&Math.abs(e.clientX-n.clientX)<2&&Math.abs(e.clientY-n.clientY)<2?(Gm+1)%3:1}function a5(n,e){let t=Bm(n,e),i=eQ(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=Lm(n,f.pos,f.bias,i);if(t.pos!=f.pos&&!l){let O=Lm(n,t.pos,t.bias,i),p=Math.min(O.from,h.from),g=Math.max(O.to,h.to);h=p1&&(u=f5(r,f.pos))?u:o?r.addRange(h):K.create([h])}}}function f5(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}Oi.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 Km(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&&n5(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"})}Oi.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&&Km(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 Km(n,e,e.dataTransfer.getData("Text"),!0)};Oi.paste=(n,e)=>{if(n.state.readOnly)return e.preventDefault();n.observer.flush();let t=H$?null:e.clipboardData;t?(K$(n,t.getData("text/plain")||t.getData("text/uri-text")),e.preventDefault()):s5(n)};function c5(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 u5(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 DO=null;Oi.copy=Oi.cut=(n,e)=>{let{text:t,ranges:i,linewise:r}=u5(n.state);if(!t&&!r)return;DO=r?t:null;let s=H$?null:e.clipboardData;s?(e.preventDefault(),s.clearData(),s.setData("text/plain",t)):c5(n,t),e.type=="cut"&&!n.state.readOnly&&n.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"})};const tQ=Gr.define();function iQ(n,e){let t=[];for(let i of n.facet(R$)){let r=i(n,e);r&&t.push(r)}return t?n.update({effects:t,annotations:tQ.of(!0)}):null}function nQ(n){setTimeout(()=>{let e=n.hasFocus;if(e!=n.inputState.notifiedFocused){let t=iQ(n.state,e);t?n.dispatch(t):n.update([])}},10)}Oi.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),nQ(n)};Oi.blur=n=>{n.observer.clearSelectionRange(),nQ(n)};Oi.compositionstart=Oi.compositionupdate=n=>{n.inputState.compositionFirstChange==null&&(n.inputState.compositionFirstChange=!0),n.inputState.composing<0&&(n.inputState.composing=0)};Oi.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,_e.chrome&&_e.android?n.observer.flushSoon():n.inputState.compositionPendingChange?Promise.resolve().then(()=>n.observer.flush()):setTimeout(()=>{n.inputState.composing<0&&n.docView.hasComposition&&n.update([])},50)};Oi.contextmenu=n=>{n.inputState.lastContextMenu=Date.now()};Oi.beforeinput=(n,e)=>{var t;let i;if(_e.chrome&&_e.android&&(i=F$.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 Jm=new Set;function h5(n){Jm.has(n)||(Jm.add(n),n.addEventListener("copy",()=>{}),n.addEventListener("cut",()=>{}))}const e1=["pre-wrap","normal","pre-line","break-spaces"];class O5{constructor(e){this.lineWrapping=e,this.doc=St.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let i=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(i+=Math.max(0,Math.ceil((t-e-i*this.lineLength*.5)/this.lineLength))),this.lineHeight*i}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return e1.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)>Gf&&(e.heightChanged=!0),this.height=t)}replace(e,t,i){return Hi.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,Zt.ByPosNoHeight,i.setDoc(t),0,0),g=p.to>=u?p:s.lineAt(u,Zt.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 wn extends rQ{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,i,r){return new yr(r,this.length,i,this.height,this.breaks)}replace(e,t,i){let r=i[0];return i.length==1&&(r instanceof wn||r instanceof Xi&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof Xi?r=new wn(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):Hi.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 Hi{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 yr(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 yr(h,O,i+o*u,o,0)}}lineAt(e,t,i,r,s){if(t==Zt.ByHeight)return this.blockAt(e,i,r,s);if(t==Zt.ByPosNoHeight){let{from:g,to:b}=i.doc.lineAt(e);return new yr(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 yr(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 yr(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 Hi.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)>=Gf&&(f=-2);let p=new wn(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=Hi.of(l);return(f<0||Math.abs(u.height-this.height)>=Gf||Math.abs(f-this.heightMetrics(e,t).perLine)>=Gf)&&(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 p5 extends Hi{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==Zt.ByPosNoHeight?Zt.ByPosNoHeight:Zt.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,Zt.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&&t1(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?Hi.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 t1(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 g5=5;class Pd{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 wn?r.length+=i-this.pos:(i>this.pos||!this.isCovered)&&this.nodes.push(new wn(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=g5)&&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 wn(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 wn)return e;let t=new wn(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==Ht.WidgetAfter&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,i!=Ht.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 wn)&&!this.isCovered?this.nodes.push(new wn(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 $5(n,e){let t=n.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class Yh{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 O5(t),this.stateDeco=e.facet(jo).filter(i=>typeof i!="function"),this.heightMap=Hi.empty().applyChanges(this.stateDeco,St.empty,this.heightOracle.setDoc(e.doc),[new Nn(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Re.set(this.lineGaps.map(i=>i.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let i=0;i<=1;i++){let r=i?t.head:t.anchor;if(!e.some(({from:s,to:l})=>r>=s&&r<=l)){let{from:s,to:l}=this.lineBlockAt(r);e.push(new Pf(s,l))}}this.viewports=e.sort((i,r)=>i.from-r.from),this.scaler=this.heightMap.height<=7e6?n1:new v5(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(jo).filter(h=>typeof h!="function");let r=e.changedRanges,s=Nn.extendWithRanges(r,m5(i,this.stateDeco,e?e.changes:$i.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(U$)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,i=window.getComputedStyle(t),r=this.heightOracle,s=i.whiteSpace;this.defaultTextDirection=i.direction=="rtl"?Ft.RTL:Ft.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=b$(e.scrollDOM);let b=(this.printing?$5:b5)(t,this.paddingTop),Q=b.top-this.pixelViewport.top,$=b.bottom-this.pixelViewport.bottom;this.pixelViewport=b;let P=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(P!=this.inView&&(this.inView=P,P&&(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:Z,textHeight:I}=e.docView.measureTextSize();l=X>0&&r.refresh(s,X,Z,I,x/Z,C),l&&(e.docView.minWidth=0,u|=8)}Q>0&&$>0?h=Math.max(Q,$):Q<0&&$<0&&(h=Math.min(Q,$)),r.heightChanged=!1;for(let X of this.viewports){let Z=X.from==this.viewport.from?C:e.docView.measureVisibleLineHeights(X);this.heightMap=(l?Hi.empty().applyChanges(this.stateDeco,St.empty,this.heightOracle,[new Nn(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,l,new d5(X.from,Z))}r.heightChanged&&(u|=2)}let R=!this.viewportIsAppropriate(this.viewport,h)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return R&&(this.viewport=this.getViewport(h,this.scrollTarget)),this.updateForViewport(),(u&2||R)&&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 Pf(r.lineAt(l-i*1e3,Zt.ByHeight,s,0,0).from,r.lineAt(o+(1-i)*1e3,Zt.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,Zt.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!=Ft.LTR&&!i)return[];let o=[],f=(u,h,O,p)=>{if(h-uu&&$$.from>=O.from&&$.to<=O.to&&Math.abs($.from-u)$.fromP));if(!Q){if(h$.from<=h&&$.to>=h)){let $=t.moveToLineBoundary(K.cursor(h),!1,!0).head;$>u&&(h=$)}Q=new Yh(u,h,this.gapSize(O,u,h,p))}o.push(Q)};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=[];wt.spans(e,this.viewport.from,this.viewport.to,{span(r,s){t.push({from:r,to:s})},point(){}},20);let i=t.length!=this.visibleRanges.length||this.visibleRanges.some((r,s)=>r.from!=t[s].from||r.to!=t[s].to);return this.visibleRanges=t,i?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||xo(this.heightMap.lineAt(e,Zt.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return xo(this.heightMap.lineAt(this.scaler.fromDOM(e),Zt.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 Pf{constructor(e,t){this.from=e,this.to=t}}function w5(n,e,t){let i=[],r=n,s=0;return wt.spans(t,n,e,{span(){},point(l,o){l>r&&(i.push({from:r,to:l}),s+=l-r),r=o}},20),r=1)return e[e.length-1].to;let i=Math.floor(n*t);for(let r=0;;r++){let{from:s,to:l}=e[r],o=l-s;if(i<=o)return s+i;i-=o}}function _f(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 y5(n,e){for(let t of n)if(e(t))return t}const n1={toDOM(n){return n},fromDOM(n){return n},scale:1};class v5{constructor(e,t,i){let r=0,s=0,l=0;this.viewports=i.map(({from:o,to:f})=>{let u=t.lineAt(o,Zt.ByPos,e,0,0).top,h=t.lineAt(f,Zt.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 Wf=Pe.define({combine:n=>n.join(" ")}),zO=Pe.define({combine:n=>n.indexOf(!0)>-1}),IO=Qs.newName(),sQ=Qs.newName(),lQ=Qs.newName(),oQ={"&light":"."+sQ,"&dark":"."+lQ};function NO(n,e,t){return new Qs(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 P5=NO("."+IO,{"&":{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"}},oQ),Co="￿";class k5{constructor(e,t){this.points=e,this.text="",this.lineSeparator=t.facet(ut.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=At.get(r),f=At.get(l);(o&&f?o.breakAfter:(o?o.breakAfter:r1(r))||r1(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=At.get(e),i=t&&t.overrideDOMText;if(i!=null){this.findPointInside(e,i.length);for(let r=i.iter();!r.next().done;)r.lineBreak?this.lineBreak():this.append(r.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let i of this.points)i.node==e&&e.childNodes[i.offset]==t&&(i.pos=this.text.length)}findPointInside(e,t){for(let i of this.points)(e.nodeType==3?i.node==e:e.contains(i.node))&&(i.pos=this.text.length+Math.min(t,i.offset))}}function r1(n){return n.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(n.nodeName)}class s1{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class _5{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?[]:C5(e),f=new k5(o,e.state);f.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=f.text,this.newSel=X5(o,this.bounds.from)}else{let o=e.observer.selectionRange,f=s&&s.node==o.focusNode&&s.offset==o.focusOffset||!WO(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||!WO(e.contentDOM,o.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(o.anchorNode,o.anchorOffset);this.newSel=K.single(u,f)}}}function aQ(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||_e.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))}:(_e.mac||_e.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:St.of([" "])}):_e.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:St.of([" "])}),t){if(_e.ios&&n.inputState.flushIOSKey(n)||_e.android&&(t.from==r.from&&t.to==r.to&&t.insert.length==1&&t.insert.lines==2&&Cl(n.contentDOM,"Enter",13)||(t.from==r.from-1&&t.to==r.to&&t.insert.length==0||s==8&&t.insert.lengthr.head)&&Cl(n.contentDOM,"Backspace",8)||t.from==r.from&&t.to==r.to+1&&t.insert.length==0&&Cl(n.contentDOM,"Delete",46)))return!0;let l=t.insert.toString();n.inputState.composing>=0&&n.inputState.composing++;let o,f=()=>o||(o=W5(n,t,i));return n.state.facet(Z$).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 W5(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&&L$(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 Q=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 P=r.changes({from:$,to:Q,insert:e.insert}),x=b.to-s.to;return{changes:P,range:f?K.range(Math.max(0,f.anchor+x),Math.max(0,f.head+x)):b.map(P)}})}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 x5(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 C5(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 s1(t,i)),(r!=t||s!=i)&&e.push(new s1(r,s))),e}function X5(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 T5={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Vh=_e.ie&&_e.ie_version<=11;class Z5{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);(_e.ie&&_e.ie_version<=11||_e.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()}),Vh&&(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(Lc)?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}(_e.ie&&_e.ie_version<=11||_e.android&&_e.chrome)&&!i.state.selection.main.empty&&r.focusNode&&fc(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=_e.safari&&e.root.nodeType==11&&p3(this.dom.ownerDocument)==this.dom&&R5(this.view)||ac(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&&Cl(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 _5(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=aQ(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=l1(t,e.previousSibling||e.target.previousSibling,-1),r=l1(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 l1(n,e,t){for(;e;){let i=At.get(e);if(i&&i.parent==n)return i;let r=e.parentNode;e=r!=n.dom?r:t>0?e.nextSibling:e.previousSibling}return null}function R5(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 fc(o.node,o.offset,s,l)&&([i,r,s,l]=[s,l,i,r]),{anchorNode:i,anchorOffset:r,focusNode:s,focusOffset:l}}class be{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 i1(e.state||ut.create(e)),this.plugins=this.state.facet(_o).map(i=>new Rh(i));for(let i of this.plugins)i.update(this);this.observer=new Z5(this),this.inputState=new K3(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new Vm(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 Qi?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(tQ))?(this.inputState.notifiedFocused=l,o=1):l!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=l,f=iQ(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(ut.phrases)!=this.state.facet(ut.phrases))return this.setState(s);r=hc.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 uc(g.empty?g:K.cursor(g.head,g.head>g.anchor?-1:1))}for(let g of p.effects)g.is(Um)&&(O=g.value)}this.viewState.update(r,O),this.bidiCache=Oc.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(Wf)!=r.state.facet(Wf)&&(this.viewState.mustMeasureContent=!0),(t||i||O||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!r.empty)for(let p of this.state.facet(AO))p(r);(f||h)&&Promise.resolve().then(()=>{f&&this.state==f.startState&&this.dispatch(f),h&&!aQ(this,h)&&u.force&&Cl(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 i1(e),this.plugins=e.facet(_o).map(i=>new Rh(i)),this.pluginMap.clear();for(let i of this.plugins)i.update(this);this.docView=new Vm(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 Rh(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(b$(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 kn(this.state,b),o1}}),O=hc.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(AO))o(t)}get themeClasses(){return IO+" "+(this.state.facet(zO)?lQ:sQ)+" "+this.state.facet(Wf)}updateAttrs(){let e=a1(this,Y$,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Lc)?"true":"false",class:"cm-content",style:`${_e.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),a1(this,yd,t);let i=this.observer.ignore(()=>{let r=ZO(this.contentDOM,this.contentAttrs,t),s=ZO(this.dom,this.editorAttrs,e);return r||s});return this.editorAttrs=e,this.contentAttrs=t,i}showAnnouncements(e){let t=!0;for(let i of e)for(let r of i.effects)if(r.is(be.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(be.cspNonce);Qs.mount(this.root,this.styleModules.concat(P5).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 Uh(this,e,Im(this,e,t,i))}moveByGroup(e,t){return Uh(this,e,Im(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 Uh(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[ms.find(s,e-r.from,-1,t)];return $d(i,l.dir==Ft.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(A$)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>A5)return I$(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||z$(s.isolates,i=Ym(this,e.from,e.to))))return s.order;i||(i=Ym(this,e.from,e.to));let r=A3(e.text,t,i);return this.bidiCache.push(new Oc(e.from,e.to,t,i,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||_e.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{m$(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 Um.of(new uc(typeof e=="number"?K.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}static domEventHandlers(e){return di.define(()=>({}),{eventHandlers:e})}static theme(e,t){let i=Qs.newName(),r=[Wf.of(i),Wo.of(NO(`.${i}`,e))];return t&&t.dark&&r.push(zO.of(!0)),r}static baseTheme(e){return Js.lowest(Wo.of(NO("."+IO,e,oQ)))}static findFromDOM(e){var t;let i=e.querySelector(".cm-content"),r=i&&At.get(i)||At.get(e);return((t=r==null?void 0:r.rootView)===null||t===void 0?void 0:t.view)||null}}be.styleModule=Wo;be.inputHandler=Z$;be.focusChangeEffect=R$;be.perLineTextDirection=A$;be.exceptionSink=T$;be.updateListener=AO;be.editable=Lc;be.mouseSelectionStyle=X$;be.dragMovesSelection=C$;be.clickAddsSelectionRange=x$;be.decorations=jo;be.atomicRanges=vd;be.bidiIsolatedRanges=V$;be.scrollMargins=q$;be.darkTheme=zO;be.cspNonce=Pe.define({combine:n=>n.length?n[0]:""});be.contentAttributes=yd;be.editorAttributes=Y$;be.lineWrapping=be.contentAttributes.of({class:"cm-lineWrapping"});be.announce=Me.define();const A5=4096,o1={};class Oc{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:Ft.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&&TO(l,t)}return t}const U5=_e.mac?"mac":_e.windows?"win":_e.linux?"linux":"key";function Y5(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 q5(n,e,t){return cQ(fQ(n.state),e,n,t)}let ds=null;const E5=4e3;function M5(n,e=U5){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(P=>Y5(P,e));for(let P=1;P{let C=ds={view:R,prefix:x,scope:l};return setTimeout(()=>{ds==C&&(ds=null)},E5),!0}]})}let Q=b.join(" ");r(Q,!1);let $=g[Q]||(g[Q]={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&&$.run.push(f),u&&($.preventDefault=!0),h&&($.stopPropagation=!0)};for(let l of n){let o=l.scope?l.scope.split(" "):["editor"];if(l.any)for(let u of o){let h=t[u]||(t[u]=Object.create(null));h._any||(h._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let O in h)h[O].run.push(l.any)}let 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 cQ(n,e,t,i){let r=d3(e),s=Zi(r,0),l=yn(s)==r.length&&r!=" ",o="",f=!1,u=!1,h=!1;ds&&ds.view==t&&ds.scope==i&&(o=ds.prefix+" ",G$.indexOf(e.keyCode)<0&&(u=!0,ds=null));let O=new Set,p=$=>{if($){for(let P of $.run)if(!O.has(P)&&(O.add(P),P(t,e)))return $.stopPropagation&&(h=!0),!0;$.preventDefault&&($.stopPropagation&&(h=!0),u=!0)}return!1},g=n[i],b,Q;return g&&(p(g[o+xf(r,e,!l)])?f=!0:l&&(e.altKey||e.metaKey||e.ctrlKey)&&!(_e.windows&&e.ctrlKey&&e.altKey)&&(b=ws[e.keyCode])&&b!=r?(p(g[o+xf(b,e,!0)])||e.shiftKey&&(Q=No[e.keyCode])!=r&&Q!=b&&p(g[o+xf(Q,e,!1)]))&&(f=!0):l&&e.shiftKey&&p(g[o+xf(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=uQ(e);return[new aa(t,r.left-s.left,r.top-s.top,null,r.bottom-r.top)]}else return D5(e,t,i)}}function uQ(n){let e=n.scrollDOM.getBoundingClientRect();return{left:(n.textDirection==Ft.LTR?e.left:e.right-n.scrollDOM.clientWidth*n.scaleX)-n.scrollDOM.scrollLeft*n.scaleX,top:e.top-n.scrollDOM.scrollTop*n.scaleY}}function c1(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:Ht.Text}}function D5(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==Ft.LTR,l=n.contentDOM,o=l.getBoundingClientRect(),f=uQ(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=EO(n,i),b=EO(n,r),Q=g.type==Ht.Text?g:null,$=b.type==Ht.Text?b:null;if(Q&&(n.lineWrapping||g.widgetLineBreaks)&&(Q=c1(n,i,Q)),$&&(n.lineWrapping||b.widgetLineBreaks)&&($=c1(n,r,$)),Q&&$&&Q.from==$.from)return x(R(t.from,t.to,Q));{let X=Q?R(t.from,null,Q):C(g,!1),Z=$?R(null,t.to,$):C(b,!0),I=[];return(Q||g).to<($||b).from-(Q&&$?1:0)||g.widgetLineBreaks>1&&X.bottom+n.defaultLineHeight/2fe&&ye.from=he)break;Te>qe&&ie(Math.max(ke,qe),X==null&&ke<=fe,Math.min(Te,he),Z==null&&Te>=we,Xe.dir)}if(qe=ce.to+1,qe>=he)break}return z.length==0&&ie(fe,X==null,we,Z==null,n.textDirection),{top:q,bottom:N,horizontal:z}}function C(X,Z){let I=o.top+(Z?X.top:X.bottom);return{top:I,bottom:I,horizontal:[]}}}function z5(n,e){return n.constructor==e.constructor&&n.eq(e)}class I5{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(Hf)!=e.state.facet(Hf)&&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(Hf);for(;t!z5(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 Hf=Pe.define();function hQ(n){return[di.define(e=>new I5(e,n)),Hf.of(n)]}const OQ=!_e.ios,Fo=Pe.define({combine(n){return xr(n,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}});function N5(n={}){return[Fo.of(n),L5,j5,B5,U$.of(!0)]}function dQ(n){return n.startState.facet(Fo)!=n.state.facet(Fo)}const L5=hQ({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||OQ: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=dQ(n);return t&&u1(n.state,e),n.docChanged||n.selectionSet||t},mount(n,e){u1(e.state,n)},class:"cm-cursorLayer"});function u1(n,e){e.style.animationDuration=n.facet(Fo).cursorBlinkRate+"ms"}const j5=hQ({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||dQ(n)},class:"cm-selectionLayer"}),pQ={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};OQ&&(pQ[".cm-line"].caretColor="transparent !important");const B5=Js.highest(be.theme(pQ)),gQ=Me.define({map(n,e){return n==null?null:e.mapPos(n)}}),Xo=wi.define({create(){return null},update(n,e){return n!=null&&(n=e.changes.mapPos(n)),e.effects.reduce((t,i)=>i.is(gQ)?i.value:t,n)}}),F5=di.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:gQ.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 G5(){return[Xo,F5]}function h1(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 H5(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 K5{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 $s,i=t.add.bind(t);for(let{from:r,to:s}of H5(e,this.maxLength))h1(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(P.range(Q,$));if(f==u)for(this.regexp.lastIndex=h-f.from;(g=this.regexp.exec(f.text))&&g.indexthis.addMatch($,e,Q,b));t=t.update({filterFrom:h,filterTo:O,filter:(Q,$)=>QO,add:p})}}return t}}const LO=/x/.unicode!=null?"gu":"g",J5=new RegExp(`[\0-\b +--Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,LO),eC={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 qh=null;function tC(){var n;if(qh==null&&typeof document<"u"&&document.body){let e=document.body.style;qh=((n=e.tabSize)!==null&&n!==void 0?n:e.MozTabSize)!=null}return qh||!1}const Kf=Pe.define({combine(n){let e=xr(n,{render:null,specialChars:J5,addSpecialChars:null});return(e.replaceTabs=!tC())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,LO)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,LO)),e}});function iC(n={}){return[Kf.of(n),nC()]}let O1=null;function nC(){return O1||(O1=di.fromClass(class{constructor(n){this.view=n,this.decorations=Re.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(n.state.facet(Kf)),this.decorations=this.decorator.createDeco(n)}makeDecorator(n){return new K5({regexp:n.specialChars,decoration:(e,t,i)=>{let{doc:r}=t.state,s=Zi(e[0],0);if(s==9){let l=r.lineAt(i),o=t.state.tabSize,f=ra(l.text,o,i-l.from);return Re.replace({widget:new oC((o-f%o)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[s]||(this.decorationCache[s]=Re.replace({widget:new lC(n,s)}))},boundary:n.replaceTabs?void 0:/[^]/})}update(n){let e=n.state.facet(Kf);n.startState.facet(Kf)!=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 rC="•";function sC(n){return n>=32?rC:n==10?"␤":String.fromCharCode(9216+n)}class lC extends Ws{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=sC(this.code),i=e.state.phrase("Control character")+" "+(eC[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 oC extends Ws{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 aC(){return cC}const fC=Re.line({class:"cm-activeLine"}),cC=di.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(fC.range(r.from)),e=r.from)}return Re.set(t)}},{decorations:n=>n.decorations}),jO=2e3;function uC(n,e,t){let i=Math.min(e.line,t.line),r=Math.max(e.line,t.line),s=[];if(e.off>jO||t.off>jO||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=PO(u.text,l,n.tabSize,!0);if(h<0)s.push(K.cursor(u.to));else{let O=PO(u.text,o,n.tabSize);s.push(K.range(u.from+h,u.from+O))}}}return s}function hC(n,e){let t=n.coordsAtPos(n.viewport.from);return t?Math.round(Math.abs((t.left-e)/n.defaultCharacterWidth)):-1}function d1(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>jO?-1:r==i.length?hC(n,e.clientX):ra(i.text,n.state.tabSize,t-i.from);return{line:i.number,col:s,off:r}}function OC(n,e){let t=d1(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=d1(n,r);if(!o)return i;let f=uC(n.state,t,o);return f.length?l?K.create(f.concat(i.ranges)):K.create(f):i}}:null}function dC(n){let e=(n==null?void 0:n.eventFilter)||(t=>t.altKey&&t.button==0);return be.mouseSelectionStyle.of((t,i)=>e(i)?OC(t,i):null)}const pC={Alt:[18,n=>!!n.altKey],Control:[17,n=>!!n.ctrlKey],Shift:[16,n=>!!n.shiftKey],Meta:[91,n=>!!n.metaKey]},gC={style:"cursor: crosshair"};function mC(n={}){let[e,t]=pC[n.key||"Alt"],i=di.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,be.contentAttributes.of(r=>{var s;return!((s=r.plugin(i))===null||s===void 0)&&s.isDown?gC:null})]}const Cf="-10000px";class mQ{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:_e.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)||SC}}}),p1=new WeakMap,SQ=di.fromClass(class{constructor(n){this.view=n,this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=n.state.facet(Eh);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 mQ(n,kd,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(Eh);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=Cf,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(Eh).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=Cf;continue}let g=f.arrow?u.dom.querySelector(".cm-tooltip-arrow"):null,b=g?7:0,Q=p.right-p.left,$=(e=p1.get(u))!==null&&e!==void 0?e:p.bottom-p.top,P=u.offset||$C,x=this.view.textDirection==Ft.LTR,R=p.width>i.right-i.left?x?i.left:i.right-p.width:x?Math.min(O.left-(g?14:0)+P.x,i.right-Q):Math.max(i.left,O.left-Q+(g?14:0)-P.x),C=!!f.above;!f.strictSide&&(C?O.top-(p.bottom-p.top)-P.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(X<$&&u.resize!==!1){if(XR&&q.topZ&&(Z=C?q.top-$-2-b:q.bottom+b+2);if(this.position=="absolute"?(h.style.top=(Z-n.parent.top)/s+"px",h.style.left=(R-n.parent.left)/r+"px"):(h.style.top=Z/s+"px",h.style.left=R/r+"px"),g){let q=O.left+(x?P.x:-P.x)-(R+14-7);g.style.left=q/r+"px"}u.overlap!==!0&&l.push({left:R,top:Z,right:I,bottom:Z+$}),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=Cf}},{eventHandlers:{scroll(){this.maybeMeasure()}}}),bC=be.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"}}}),$C={x:0,y:0},kd=Pe.define({enables:[SQ,bC]}),dc=Pe.define();class _d{static create(e){return new _d(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new mQ(e,dc,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 QC=kd.compute([dc],n=>{let e=n.facet(dc).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:_d.create,above:e[0].above,arrow:e.some(t=>t.arrow)}});class wC{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==Ft.RTL?-1:1;s=t.x{this.pending==o&&(this.pending=null,f&&e.dispatch({effects:this.setHover.of(f)}))},f=>kn(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&&!g1(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:!yC(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&&!g1(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 g1(n){for(let e=n;e;e=e.parentNode)if(e.nodeType==1&&e.classList.contains("cm-tooltip"))return!0;return!1}function yC(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 vC(n,e={}){let t=Me.define(),i=wi.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,Ai.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(kC)&&(r=null);return r},provide:r=>dc.from(r)});return[i,di.define(r=>new wC(r,n,i,t,e.hoverTime||300)),QC]}function PC(n,e){let t=n.plugin(SQ);if(!t)return null;let i=t.manager.tooltips.indexOf(e);return i<0?null:t.manager.tooltipViews[i]}const kC=Me.define(),m1=Pe.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(bQ),i=t?t.specs.indexOf(e):-1;return i>-1?t.panels[i]:null}const bQ=di.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(m1);this.top=new Xf(n,!0,e.topContainer),this.bottom=new Xf(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(m1);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new Xf(n.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new Xf(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=>be.scrollMargins.of(e=>{let t=e.plugin(n);return t&&{top:t.top.scrollMargin(),bottom:t.bottom.scrollMargin()}})});class Xf{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=S1(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=S1(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 S1(n){let e=n.nextSibling;return n.remove(),e}const Ho=Pe.define({enables:bQ});class Fr extends Gs{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}Fr.prototype.elementClass="";Fr.prototype.toDOM=void 0;Fr.prototype.mapMode=Ai.TrackBefore;Fr.prototype.startSide=Fr.prototype.endSide=-1;Fr.prototype.point=!0;const Jf=Pe.define(),_C={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>wt.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},qo=Pe.define();function WC(n){return[$Q(),qo.of(Object.assign(Object.assign({},_C),n))]}const BO=Pe.define({combine:n=>n.some(e=>e)});function $Q(n){let e=[xC];return n&&n.fixed===!1&&e.push(BO.of(!0)),e}const xC=di.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 $1(n,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!n.state.facet(BO),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(BO)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=n.view.viewport}syncGutters(n){let e=this.dom.nextSibling;n&&this.dom.remove();let t=wt.iter(this.view.state.facet(Jf),this.view.viewport.from),i=[],r=this.gutters.map(s=>new CC(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==Ht.Text&&l){FO(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==Ht.Text){FO(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||!wt.eq(n.startState.facet(Jf),n.state.facet(Jf),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 $1(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=>be.scrollMargins.of(e=>{let t=e.plugin(n);return!t||t.gutters.length==0||!t.fixed?null:e.textDirection==Ft.LTR?{left:t.dom.offsetWidth*e.scaleX}:{right:t.dom.offsetWidth*e.scaleX}})});function b1(n){return Array.isArray(n)?n:[n]}function FO(n,e,t){for(;n.value&&n.from<=t;)n.from==t&&e.push(n.value),n.next()}class CC{constructor(e,t,i){this.gutter=e,this.height=i,this.i=0,this.cursor=wt.iter(e.markers,t.from)}addElement(e,t,i){let{gutter:r}=this,s=t.top-this.height;if(this.i==r.elements.length){let l=new QQ(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=[];FO(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 $1{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=b1(t.markers(e)),t.initialSpacer&&(this.spacer=new QQ(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=b1(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let r=this.config.updateSpacer(this.spacer.markers[0],e);r!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[r])}let i=e.view.viewport;return!wt.eq(this.markers,t,i.from,i.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class QQ{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":""),XC(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 Mh extends Fr{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function Dh(n,e){return n.state.facet(Ql).formatNumber(e,n.state)}const ZC=qo.compute([Ql],n=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(TC)},lineMarker(e,t,i){return i.some(r=>r.toDOM)?null:new Mh(Dh(e,e.state.doc.lineAt(t.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet(Ql)!=e.state.facet(Ql),initialSpacer(e){return new Mh(Dh(e,Q1(e.state.doc.lines)))},updateSpacer(e,t){let i=Dh(t.view,Q1(t.view.state.doc.lines));return i==e.number?e:new Mh(i)},domEventHandlers:n.facet(Ql).domEventHandlers}));function RC(n={}){return[Ql.of(n),$Q(),ZC]}function Q1(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(AC.range(r)))}return wt.of(e)});function YC(){return UC}function VC(n){let e;return{c(){e=_("div"),y(e,"class","mzn-editor svelte-1fycn7h")},m(t,i){V(t,e,i),n[7](e)},p:Ce,i:Ce,o:Ce,d(t){t&&Y(e),n[7](null)}}}function qC(n,e,t){let{state:i}=e,r,s;Ic(()=>{t(6,s=new be({parent:r})),s.focus()});function l(){return s||null}function o(){return s?s.state:null}async function f(O){s&&(await sr(),s.dispatch({selection:{anchor:O}}))}function u(){s.focus()}function h(O){Dt[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 EC extends Vi{constructor(e){super(),Yi(this,e,qC,VC,Ui,{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,Ko=Wd?void 0:En.document,er="addEventListener",tr="removeEventListener",zh="getBoundingClientRect",$o="_a",ir="_b",zr="_c",Tf="horizontal",nr=function(){return!1},MC=Wd?"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",wQ=function(n){return typeof n=="string"||n instanceof String},w1=function(n){if(wQ(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},Zf=function(n,e,t,i){if(e){if(i==="end")return 0;if(i==="center")return n/2}else if(t){if(i==="start")return 0;if(i==="center")return n/2}return n},DC=function(n,e){var t=Ko.createElement("div");return t.className="gutter gutter-"+e,t},zC=function(n,e,t){var i={};return wQ(e)?i[n]=e:i[n]=MC+"("+e+"% - "+t+"px)",i},IC=function(n,e){var t;return t={},t[n]=e+"px",t},NC=function(n,e){if(e===void 0&&(e={}),Wd)return{};var t=n,i,r,s,l,o,f;Array.from&&(t=Array.from(t));var u=w1(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),Q=Array.isArray(b)?b:t.map(function(){return b}),$=Di(e,"maxSize",1/0),P=Array.isArray($)?$:t.map(function(){return $}),x=Di(e,"expandToMin",!1),R=Di(e,"gutterSize",10),C=Di(e,"gutterAlign","center"),X=Di(e,"snapOffset",30),Z=Array.isArray(X)?X:t.map(function(){return X}),I=Di(e,"dragInterval",1),q=Di(e,"direction",Tf),N=Di(e,"cursor",q===Tf?"col-resize":"row-resize"),z=Di(e,"gutter",DC),ie=Di(e,"elementStyle",zC),fe=Di(e,"gutterStyle",IC);q===Tf?(i="width",r="clientX",s="left",l="right",o="clientWidth"):q==="vertical"&&(i="height",r="clientY",s="top",l="bottom",o="clientHeight");function we(te,H,ne,ae){var rt=ie(i,H,ne,ae);Object.keys(rt).forEach(function(Je){te.style[Je]=rt[Je]})}function ye(te,H,ne){var ae=fe(i,H,ne);Object.keys(ae).forEach(function(rt){te.style[rt]=ae[rt]})}function qe(){return f.map(function(te){return te.size})}function he(te){return"touches"in te?te.touches[0][r]:te[r]}function ce(te){var H=f[this.a],ne=f[this.b],ae=H.size+ne.size;H.size=te/this.size*ae,ne.size=ae-te/this.size*ae,we(H.element,H.size,this[ir],H.i),we(ne.element,ne.size,this[zr],ne.i)}function Xe(te){var H,ne=f[this.a],ae=f[this.b];this.dragging&&(H=he(te)-this.start+(this[ir]-this.dragOffset),I>1&&(H=Math.round(H/I)*I),H<=ne.minSize+ne.snapOffset+this[ir]?H=ne.minSize+this[ir]:H>=this.size-(ae.minSize+ae.snapOffset+this[zr])&&(H=this.size-(ae.minSize+this[zr])),H>=ne.maxSize-ne.snapOffset+this[ir]?H=ne.maxSize+this[ir]:H<=this.size-(ae.maxSize-ae.snapOffset+this[zr])&&(H=this.size-(ae.maxSize+this[zr])),ce.call(this,H),Di(e,"onDrag",nr)(qe()))}function ke(){var te=f[this.a].element,H=f[this.b].element,ne=te[zh](),ae=H[zh]();this.size=ne[i]+ae[i]+this[ir]+this[zr],this.start=ne[s],this.end=ne[l]}function Te(te){if(!getComputedStyle)return null;var H=getComputedStyle(te);if(!H)return null;var ne=te[o];return ne===0?null:(q===Tf?ne-=parseFloat(H.paddingLeft)+parseFloat(H.paddingRight):ne-=parseFloat(H.paddingTop)+parseFloat(H.paddingBottom),ne)}function Le(te){var H=Te(h);if(H===null||Q.reduce(function(Je,at){return Je+at},0)>H)return te;var ne=0,ae=[],rt=te.map(function(Je,at){var pt=H*Je/100,et=Zf(R,at===0,at===te.length-1,C),se=Q[at]+et;return pt0&&ae[at]-ne>0){var et=Math.min(ne,ae[at]-ne);ne-=et,pt=Je-et}return pt/H*100})}function Kt(){var te=this,H=f[te.a].element,ne=f[te.b].element;te.dragging&&Di(e,"onDragEnd",nr)(qe()),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),ne[tr]("selectstart",nr),ne[tr]("dragstart",nr),H.style.userSelect="",H.style.webkitUserSelect="",H.style.MozUserSelect="",H.style.pointerEvents="",ne.style.userSelect="",ne.style.webkitUserSelect="",ne.style.MozUserSelect="",ne.style.pointerEvents="",te.gutter.style.cursor="",te.parent.style.cursor="",Ko.body.style.cursor=""}function ii(te){if(!("button"in te&&te.button!==0)){var H=this,ne=f[H.a].element,ae=f[H.b].element;H.dragging||Di(e,"onDragStart",nr)(qe()),te.preventDefault(),H.dragging=!0,H.move=Xe.bind(H),H.stop=Kt.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),ne[er]("selectstart",nr),ne[er]("dragstart",nr),ae[er]("selectstart",nr),ae[er]("dragstart",nr),ne.style.userSelect="none",ne.style.webkitUserSelect="none",ne.style.MozUserSelect="none",ne.style.pointerEvents="none",ae.style.userSelect="none",ae.style.webkitUserSelect="none",ae.style.MozUserSelect="none",ae.style.pointerEvents="none",H.gutter.style.cursor=N,H.parent.style.cursor=N,Ko.body.style.cursor=N,ke.call(H),H.dragOffset=he(te)-H.end}}g=Le(g);var Ct=[];f=t.map(function(te,H){var ne={element:w1(te),size:g[H],minSize:Q[H],maxSize:P[H],snapOffset:Z[H],i:H},ae;if(H>0&&(ae={a:H-1,b:H,dragging:!1,direction:q,parent:h},ae[ir]=Zf(R,H-1===0,!1,C),ae[zr]=Zf(R,!1,H===t.length-1,C),p==="row-reverse"||p==="column-reverse")){var rt=ae.a;ae.a=ae.b,ae.b=rt}if(H>0){var Je=z(H,q,ne.element);ye(Je,R,H),ae[$o]=ii.bind(ae),Je[er]("mousedown",ae[$o]),Je[er]("touchstart",ae[$o]),h.insertBefore(Je,ne.element),ae.gutter=Je}return we(ne.element,ne.size,Zf(R,H===0,H===t.length-1,C),H),H>0&&Ct.push(ae),ne});function Ut(te){var H=te.i===Ct.length,ne=H?Ct[te.i-1]:Ct[te.i];ke.call(ne);var ae=H?ne.size-te.minSize-ne[zr]:te.minSize+ne[ir];ce.call(ne,ae)}f.forEach(function(te){var H=te.element[zh]()[i];H0){var rt=Ct[ae-1],Je=f[rt.a],at=f[rt.b];Je.size=H[ae-1],at.size=ne,we(Je.element,Je.size,rt[ir],Je.i),we(at.element,at.size,rt[zr],at.i)}})}function ge(te,H){Ct.forEach(function(ne){if(H!==!0?ne.parent.removeChild(ne.gutter):(ne.gutter[tr]("mousedown",ne[$o]),ne.gutter[tr]("touchstart",ne[$o])),te!==!0){var ae=ie(i,ne.a.size,ne[ir]);Object.keys(ae).forEach(function(rt){f[ne.a].element.style[rt]="",f[ne.b].element.style[rt]=""})}})}return{setSizes:It,getSizes:qe,collapse:function(H){Ut(f[H])},destroy:ge,parent:h,pairs:Ct}};const LC=n=>({}),y1=n=>({}),jC=n=>({}),v1=n=>({});function BC(n){let e,t,i,r,s;const l=n[6].panelA,o=on(l,n,n[5],v1),f=n[6].panelB,u=on(f,n,n[5],y1);return{c(){e=_("div"),t=_("div"),o&&o.c(),i=L(),r=_("div"),u&&u.c(),y(t,"class","split-panel svelte-e8t4e8"),oe(t,"no-splitter",n[1]!=="all"),oe(t,"is-hidden",!Rf("a",n[1])),y(r,"class","split-panel svelte-e8t4e8"),oe(r,"no-splitter",n[1]!=="all"),oe(r,"is-hidden",!Rf("b",n[1])),y(e,"class","split svelte-e8t4e8"),oe(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)&&fn(o,l,h,h[5],s?an(l,h[5],O,jC):cn(h[5]),v1),(!s||O&2)&&oe(t,"no-splitter",h[1]!=="all"),(!s||O&2)&&oe(t,"is-hidden",!Rf("a",h[1])),u&&u.p&&(!s||O&32)&&fn(u,f,h,h[5],s?an(f,h[5],O,LC):cn(h[5]),y1),(!s||O&2)&&oe(r,"no-splitter",h[1]!=="all"),(!s||O&2)&&oe(r,"is-hidden",!Rf("b",h[1])),(!s||O&1)&&oe(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 Rf(n,e){return e==="all"||e===n}function FC(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($,P){p(),P==="all"&&f&&u&&(h=NC([f,u],{direction:$,minSize:0,sizes:[l,100-l],onDragEnd(x){t(4,l=x[0])}}))}function p(){h&&(h.destroy(),h=null)}function g($){h&&h.getSizes()[0]!==$&&h.setSizes([$,100-$])}Ic(()=>(O(s,o),p));function b($){Dt[$?"unshift":"push"](()=>{f=$,t(2,f)})}function Q($){Dt[$?"unshift":"push"](()=>{u=$,t(3,u)})}return n.$$set=$=>{"direction"in $&&t(0,s=$.direction),"split"in $&&t(4,l=$.split),"showPanels"in $&&t(1,o=$.showPanels),"$$scope"in $&&t(5,r=$.$$scope)},n.$$.update=()=>{n.$$.dirty&3&&O(s,o),n.$$.dirty&16&&g(l)},[s,o,f,u,l,r,i,b,Q]}class GC extends Vi{constructor(e){super(),Yi(this,e,FC,BC,Ui,{direction:0,split:4,showPanels:1})}}const Af=parseFloat;function GO(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 HC(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")),GO([GO({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 KC(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),GO([`translate(${Af(e)*s}${l},${Af(t)*s}${l})`,`scale(${f*Af(n)},${u*Af(n)})`,i&&`rotate(${i}${o})`]," ")}function P1(n){let e,t,i,r,s,l,o,f;function u(p,g){return typeof p[10][4]=="string"?e4:JC}let h=u(n),O=h(n);return{c(){e=kl("svg"),t=kl("g"),i=kl("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"),oe(e,"pulse",n[4]),oe(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&&oe(e,"pulse",p[4]),g&9&&oe(e,"spin",p[3])},d(p){p&&Y(e),O.d()}}}function JC(n){let e,t,i,r,s,l,o,f,u,h;return{c(){e=kl("path"),l=kl("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=kl("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]&&P1(n);return{c(){t&&t.c(),e=ui()},m(i,r){t&&t.m(i,r),V(i,e,r)},p(i,[r]){i[10][4]?t?t.p(i,r):(t=P1(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ce,o:Ce,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:Q=!1}=e,{spin:$=!1}=e,{pulse:P=!1}=e,{primaryColor:x=""}=e,{secondaryColor:R=""}=e,{primaryOpacity:C=1}=e,{secondaryOpacity:X=.4}=e,{swapOpacity:Z=!1}=e,I,q,N;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,Q=z.flip),"spin"in z&&t(3,$=z.spin),"pulse"in z&&t(4,P=z.pulse),"primaryColor"in z&&t(5,x=z.primaryColor),"secondaryColor"in z&&t(6,R=z.secondaryColor),"primaryOpacity"in z&&t(7,C=z.primaryOpacity),"secondaryOpacity"in z&&t(8,X=z.secondaryOpacity),"swapOpacity"in z&&t(9,Z=z.swapOpacity)},n.$$.update=()=>{n.$$.dirty&16384&&t(10,I=l&&l.icon||[0,0,"",[],""]),n.$$.dirty&237568&&t(11,q=HC(s,o,h,u)),n.$$.dirty&8126464&&t(12,N=KC(O,p,g,b,Q,512))},[i,r,f,$,P,x,R,C,X,Z,I,q,N,s,l,o,u,h,O,p,g,b,Q]}class n4 extends Vi{constructor(e){super(),Yi(this,e,i4,t4,Ui,{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=n4;var HO={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"]},yQ={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"]},k1={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"]},vQ={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"]},_1={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"]},W1={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"]},PQ={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"]},kQ=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"]},_Q={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"]},WQ={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"]},xQ={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]&&x1(n);return{c(){e=_("span"),t=Qe(n[1]),i=Qe(n[2]),r=L(),u&&u.c(),s=ui(),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=le(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=x1(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=_("input"),i=Qe(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),ki(e,n[4]),V(l,i,o),r||(s=[le(e,"input",n[12]),le(e,"blur",n[10]),le(e,"keyup",n[9])],r=!0)},p(l,o){o&18&&t!==(t=l[4].length||l[1].length)&&y(e,"size",t),o&2&&y(e,"placeholder",l[1]),o&16&&e.value!==l[4]&&ki(e,l[4]),o&4&&Be(i,l[2])},i:Ce,o:Ce,d(l){l&&(Y(e),Y(i)),n[11](null),r=!1,ti(s)}}}function x1(n){let e,t,i,r,s;return t=new _t({props:{icon:WQ}}),{c(){e=_("span"),Ee(t.$$.fragment),y(e,"class","close-tab svelte-1ul6ap")},m(l,o){V(l,e,o),Ye(t,e,null),i=!0,r||(s=le(e,"click",n[13]),r=!0)},p:Ce,i(l){i||(D(t.$$.fragment,l),i=!0)},o(l){F(t.$$.fragment,l),i=!1},d(l){l&&Y(e),Ve(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=_("a"),i.c(),y(e,"class","filename-link svelte-1ul6ap"),oe(e,"active",n[0]),oe(e,"readonly",n[3])},m(h,O){V(h,e,O),f[t].m(e,null),r=!0,s||(l=le(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)&&oe(e,"active",h[0]),(!r||O&8)&&oe(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=Bn();let f=!1,u,h="";async function O(){!i||l||(t(5,f=!0),t(4,h=r),await sr(),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){Dt[x?"unshift":"push"](()=>{u=x,t(6,u)})}function Q(){h=this.value,t(4,h)}const $=()=>o("close"),P=()=>{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,$,P]}class b4 extends Vi{constructor(e){super(),Yi(this,e,S4,m4,Ui,{active:0,name:1,suffix:2,readonly:3})}}function CQ(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=CQ}=i;return{delay:h,duration:zc(O)?O(Math.sqrt(f*f+u*u)):O,easing:p,css:(g,b)=>{const Q=b*f,$=b*u,P=g+b*e.width/t.width,x=g+b*e.height/t.height;return`transform: ${s} translate(${Q}px, ${$}px) scale(${P}, ${x});`}}}function C1(n,e,t){const i=n.slice();return i[19]=e[t],i}function X1(n,e){let t,i,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)}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=_("li"),Ee(i.$$.fragment),y(t,"draggable",!0),oe(t,"is-active",e[0]===e[19].index),this.first=t},m(b,Q){V(b,t,Q),Ye(i,t,null),l=!0,o||(f=[le(t,"dragstart",p),le(t,"dragover",e[7]),le(t,"drop",g)],o=!0)},p(b,Q){e=b;const $={};Q&4&&($.name=e[19].stem),Q&4&&($.suffix=e[19].suffix),Q&5&&($.active=e[0]===e[19].index),Q&6&&($.readonly=e[1]||e[19].readonlyTab),i.$set($),(!l||Q&5)&&oe(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),Ve(i),o=!1,ti(f)}}}function T1(n){let e,t,i,r,s,l,o,f,u,h,O,p;return r=new _t({props:{icon:_Q}}),u=new _t({props:{icon:a4}}),{c(){e=_("li"),t=_("a"),i=_("span"),Ee(r.$$.fragment),s=L(),l=_("li"),o=_("button"),f=_("span"),Ee(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),Ye(r,i,null),V(g,s,b),V(g,l,b),v(l,o),v(o,f),Ye(u,f,null),h=!0,O||(p=[le(t,"click",n[16]),le(o,"click",n[17])],O=!0)},p:Ce,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)),Ve(r),Ve(u),O=!1,ti(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=T1(h),u.c(),D(u,1),u.m(t,null))},i(h){if(!l){for(let O=0;Of(Z.index),$=(Z,I)=>u(I,Z.index),P=(Z,I)=>b(Z.index),x=(Z,I)=>O(I,Z.index),R=(Z,I)=>g(I,Z.index),C=()=>o("newFile"),X=()=>o("manageFiles");return n.$$set=Z=>{"files"in Z&&t(10,r=Z.files),"currentIndex"in Z&&t(0,s=Z.currentIndex),"readonly"in Z&&t(1,l=Z.readonly)},n.$$.update=()=>{n.$$.dirty&1024&&t(2,i=r.map((Z,I)=>{const q=Z.name.endsWith(".mzc.mzn")?Z.name.length-8:Z.name.lastIndexOf(".");return{...Z,stem:Z.name.substring(0,q),suffix:Z.name.substring(q),index:I}}).filter(Z=>!Z.hidden))},[s,l,i,o,f,u,O,p,g,b,r,Q,$,P,x,R,C,X]}class y4 extends Vi{constructor(e){super(),Yi(this,e,w4,Q4,Ui,{files:10,currentIndex:0,readonly:1})}}function Z1(n,{delay:e=0,duration:t=400,easing:i=dd}={}){const r=+getComputedStyle(n).opacity;return{delay:e,duration:t,easing:i,css:s=>`opacity: ${s*r}`}}function pc(n,{delay:e=0,duration:t=400,easing:i=CQ,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]=um(r),[g,b]=um(s);return{delay:e,duration:t,easing:i,css:(Q,$)=>` + transform: ${u} translate(${(1-Q)*O}${p}, ${(1-Q)*g}${b}); + opacity: ${f-h*$}`}}const v4=n=>({}),R1=n=>({});function A1(n){let e,t,i,r,s,l,o,f,u,h,O,p,g,b,Q,$,P,x;const R=n[5].default,C=on(R,n,n[4],null),X=n[5].footer,Z=on(X,n,n[4],R1),I=Z||P4(n);return{c(){e=_("form"),t=_("div"),i=L(),r=_("div"),s=_("header"),l=_("p"),o=Qe(n[0]),f=L(),u=_("button"),h=L(),O=_("section"),C&&C.c(),p=L(),g=_("footer"),I&&I.c(),y(t,"class","modal-background"),y(l,"class","modal-card-title"),y(u,"type","button"),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,"tabindex","0"),y(e,"class","modal is-active")},m(q,N){V(q,e,N),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),n[7](e),$=!0,P||(x=[le(t,"click",n[3]),le(u,"click",n[3]),le(e,"submit",n[6])],P=!0)},p(q,N){(!$||N&1)&&Be(o,q[0]),C&&C.p&&(!$||N&16)&&fn(C,R,q,q[4],$?an(R,q[4],N,null):cn(q[4]),null),Z&&Z.p&&(!$||N&16)&&fn(Z,X,q,q[4],$?an(X,q[4],N,v4):cn(q[4]),R1)},i(q){$||(D(C,q),D(I,q),q&&or(()=>{$&&(b||(b=$l(r,pc,{y:-200,duration:200},!0)),b.run(1))}),q&&or(()=>{$&&(Q||(Q=$l(e,Z1,{duration:200},!0)),Q.run(1))}),$=!0)},o(q){F(C,q),F(I,q),q&&(b||(b=$l(r,pc,{y:-200,duration:200},!1)),b.run(0)),q&&(Q||(Q=$l(e,Z1,{duration:200},!1)),Q.run(0)),$=!1},d(q){q&&Y(e),C&&C.d(q),I&&I.d(q),q&&b&&b.end(),n[7](null),q&&Q&&Q.end(),P=!1,ti(x)}}}function P4(n){let e,t,i;return{c(){e=_("button"),e.textContent="Cancel",y(e,"class","button")},m(r,s){V(r,e,s),t||(i=le(e,"click",n[3]),t=!0)},p:Ce,d(r){r&&Y(e),t=!1,i()}}}function k4(n){let e,t,i=n[1]&&A1(n);return{c(){i&&i.c(),e=ui()},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=A1(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=Bn();let f;async function u(g){g&&(await sr(),f&&f.focus(),o("activate"))}function h(){o("cancel")}function O(g){hO.call(this,n,g)}function p(g){Dt[g?"unshift":"push"](()=>{f=g,t(2,f)})}return n.$$set=g=>{"title"in g&&t(0,s=g.title),"active"in g&&t(1,l=g.active),"$$scope"in g&&t(4,r=g.$$scope)},n.$$.update=()=>{n.$$.dirty&2&&u(l)},[s,l,f,h,r,i,O,p]}class Ul extends Vi{constructor(e){super(),Yi(this,e,_4,k4,Ui,{title:0,active:1})}}const XQ=1024;let W4=0;class zn{constructor(e,t){this.from=e,this.to=t}}class Ge{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=Ki.match(e)),t=>{let i=e(t);return i===void 0?null:[this,i]}}}Ge.closedBy=new Ge({deserialize:n=>n.split(" ")});Ge.openedBy=new Ge({deserialize:n=>n.split(" ")});Ge.group=new Ge({deserialize:n=>n.split(" ")});Ge.contextHash=new Ge({perNode:!0});Ge.lookAhead=new Ge({perNode:!0});Ge.mounted=new Ge({perNode:!0});class x4{constructor(e,t,i){this.tree=e,this.overlay=t,this.parser=i}}const C4=Object.create(null);class Ki{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 Ki(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(Ge.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(Ge.group),s=-1;s<(r?r.length:0);s++){let l=t[s<0?i.name:r[s]];if(l)return l}}}}Ki.none=new Ki("",Object.create(null),0,8);class xd{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:Td(Ki.none,this.children,this.positions,0,this.children.length,0,this.length,(t,i,r)=>new Gt(this.type,t,i,r,this.propValues),e.makeTree||((t,i,r)=>new Gt(Ki.none,t,i,r)))}static build(e){return T4(e)}}Gt.empty=new Gt(Ki.none,[],[],0);class Cd{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 Cd(this.buffer,this.index)}}class el{constructor(e,t,i){this.buffer=e,this.length=t,this.set=i}get type(){return Ki.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 ZQ(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 Yl(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(TQ(r,i,O,O+h.length)){if(h instanceof el){if(s&Rt.ExcludeBuffers)continue;let p=h.findChild(0,h.buffer.length,t,i-O,r);if(p>-1)return new vr(new X4(l,h,e,O),null,p)}else if(s&Rt.IncludeAnonymous||!h.type.isAnonymous||Xd(h)){let p;if(!(s&Rt.IgnoreMounts)&&h.props&&(p=h.prop(Ge.mounted))&&!p.overlay)return new Ln(p.tree,O,e,l);let g=new Ln(h,O,e,l);return s&Rt.IncludeAnonymous||!g.type.isAnonymous?g:g.nextChild(t<0?h.children.length-1:0,t,i,r)}}}if(s&Rt.IncludeAnonymous||!l.type.isAnonymous||(l.index>=0?e=l.index+t:e=t<0?-1:l._parent._tree.children.length,l=l._parent,!l))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,i=0){let r;if(!(i&Rt.IgnoreOverlays)&&(r=this._tree.prop(Ge.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 Ln(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 Yl(this,e,t,!1)}resolveInner(e,t=0){return Yl(this,e,t,!0)}enterUnfinishedNodesBefore(e){return ZQ(this,e)}getChild(e,t=null,i=null){let r=gc(this,e,t,i);return r.length?r[0]:null}getChildren(e,t=null,i=null){return gc(this,e,t,i)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return mc(this,e)}}function gc(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 mc(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 vr{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 vr(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,i=0){if(i&Rt.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return s<0?null:new vr(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 vr(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 vr(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 Gt(this.type,e,t,this.to-this.from)}resolve(e,t=0){return Yl(this,e,t,!1)}resolveInner(e,t=0){return Yl(this,e,t,!0)}enterUnfinishedNodesBefore(e){return ZQ(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,i=null){let r=gc(this,e,t,i);return r.length?r[0]:null}getChildren(e,t=null,i=null){return gc(this,e,t,i)}get node(){return this}matchContext(e){return mc(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 Ln)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 Ln?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,i){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,i,this.mode));let{buffer:r}=this.buffer,s=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,i);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,i=this.mode){return this.buffer?i&Rt.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,i))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Rt.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Rt.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:t}=this.buffer,i=this.stack.length-1;if(e<0){let r=i<0?0:this.stack[i]+4;if(this.index!=r)return this.yieldBuf(t.findChild(r,this.index,-1,0,4))}else{let r=t.buffer[this.index+3];if(r<(i<0?t.buffer.length:t.buffer[this.stack[i]+3]))return this.yieldBuf(r)}return i<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,i,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let s=t+e,l=e<0?-1:i._tree.children.length;s!=l;s+=e){let o=i._tree.children[s];if(this.mode&Rt.IncludeAnonymous||o instanceof el||!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 mc(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 el||!e.type.isAnonymous||Xd(e))}function T4(n){var e;let{buffer:t,nodeSet:i,maxBufferLength:r=XQ,reused:s=[],minRepeatType:l=i.types.length}=n,o=Array.isArray(t)?new Cd(t,t.length):t,f=i.types,u=0,h=0;function O(C,X,Z,I,q){let{id:N,start:z,end:ie,size:fe}=o,we=h;for(;fe<0;)if(o.next(),fe==-1){let Xe=s[N];Z.push(Xe),I.push(z-C);return}else if(fe==-3){u=N;return}else if(fe==-4){h=N;return}else throw new RangeError(`Unrecognized record size: ${fe}`);let ye=f[N],qe,he,ce=z-C;if(ie-z<=r&&(he=Q(o.pos-X,q))){let Xe=new Uint16Array(he.size-he.skip),ke=o.pos-he.size,Te=Xe.length;for(;o.pos>ke;)Te=$(he.start,Xe,Te);qe=new el(Xe,ie-he.start,i),ce=he.start-C}else{let Xe=o.pos-fe;o.next();let ke=[],Te=[],Le=N>=l?N:-1,Kt=0,ii=ie;for(;o.pos>Xe;)Le>=0&&o.id==Le&&o.size>=0?(o.end<=ii-r&&(g(ke,Te,z,Kt,o.end,ii,Le,we),Kt=ke.length,ii=o.end),o.next()):O(z,Xe,ke,Te,Le);if(Le>=0&&Kt>0&&Kt-1&&Kt>0){let Ct=p(ye);qe=Td(ye,ke,Te,0,ke.length,0,ie-z,Ct,Ct)}else qe=b(ye,ke,Te,ie-z,we-ie)}Z.push(qe),I.push(ce)}function p(C){return(X,Z,I)=>{let q=0,N=X.length-1,z,ie;if(N>=0&&(z=X[N])instanceof Gt){if(!N&&z.type==C&&z.length==I)return z;(ie=z.prop(Ge.lookAhead))&&(q=Z[N]+z.length+ie)}return b(C,X,Z,I,q)}}function g(C,X,Z,I,q,N,z,ie){let fe=[],we=[];for(;C.length>I;)fe.push(C.pop()),we.push(X.pop()+Z-q);C.push(b(i.types[z],fe,we,N-q,ie-N)),X.push(q-Z)}function b(C,X,Z,I,q=0,N){if(u){let z=[Ge.contextHash,u];N=N?[z].concat(N):[z]}if(q>25){let z=[Ge.lookAhead,q];N=N?[z].concat(N):[z]}return new Gt(C,X,Z,I,N)}function Q(C,X){let Z=o.fork(),I=0,q=0,N=0,z=Z.end-r,ie={size:0,start:0,skip:0};e:for(let fe=Z.pos-C;Z.pos>fe;){let we=Z.size;if(Z.id==X&&we>=0){ie.size=I,ie.start=q,ie.skip=N,N+=4,I+=4,Z.next();continue}let ye=Z.pos-we;if(we<0||ye=l?4:0,he=Z.start;for(Z.next();Z.pos>ye;){if(Z.size<0)if(Z.size==-3)qe+=4;else break e;else Z.id>=l&&(qe+=4);Z.next()}q=he,I+=we,N+=qe}return(X<0||I==C)&&(ie.size=I,ie.start=q,ie.skip=N),ie.size>4?ie:void 0}function $(C,X,Z){let{id:I,start:q,end:N,size:z}=o;if(o.next(),z>=0&&I4){let fe=o.pos-(z-4);for(;o.pos>fe;)Z=$(C,X,Z)}X[--Z]=ie,X[--Z]=N-C,X[--Z]=q-C,X[--Z]=I}else z==-3?u=I:z==-4&&(h=I);return Z}let P=[],x=[];for(;o.pos>0;)O(n.start||0,n.bufferStart||0,P,x,-1);let R=(e=n.length)!==null&&e!==void 0?e:P.length?x[0]+P[0].length:0;return new Gt(f[n.topID],P.reverse(),x.reverse(),R)}const Y1=new WeakMap;function ec(n,e){if(!n.isAnonymous||e instanceof el||e.type!=n)return 1;let t=Y1.get(e);if(t==null){t=1;for(let i of e.children){if(i.type!=n||!(i instanceof Gt)){t=1;break}t+=ec(n,i)}Y1.set(e,t)}return t}function Td(n,e,t,i,r,s,l,o,f){let u=0;for(let b=i;b=h)break;Z+=I}if(R==C+1){if(Z>h){let I=b[C];g(I.children,I.positions,0,I.children.length,Q[C]+x);continue}O.push(b[C])}else{let I=Q[R-1]+b[R-1].length-X;O.push(Td(n,b,Q,C,R,X,I,null,f))}p.push(X+x-s)}}return g(e,t,i,r,0),(o||f)(O,p,l)}class RQ{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 vr?this.setBuffer(e.context.buffer,e.index,t):e instanceof Ln&&this.map.set(e.tree,t)}get(e){return e instanceof vr?this.getBuffer(e.context.buffer,e.index):e instanceof Ln?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 Lr{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 Lr(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 Lr(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||[],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 V1{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 KO=new Ge({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 Gt(i.type,i.children,i.positions,i.length,i.propValues.concat([[KO,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[Ge.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 zn(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 zn(r.from,r.to)),f.fromnew zn(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 q1(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=[],$=[];q1(l,u,b,Q,$,p);let P=o[b+1],x=o[b+2],R=P+s==e.from&&x+s==e.to&&o[b]==e.type.id;return Q.push(R?e.toTree():f(b+4,o[b+3],l.set.types[o[b]],P,x-P)),$.push(P-p),q1(l,o[b+3],h,Q,$,p),new Gt(O,Q,$,g)}r.children[i]=f(0,o.length,Ki.none,0,l.length);for(let u=0;u<=t;u++)n.childAfter(e.from)}class E1{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(Rt.IncludeAnonymous|Rt.IgnoreMounts)}moveTo(e){let{cursor:t}=this,i=e-this.offset;for(;!this.done&&t.from=e&&t.enter(i,1,Rt.IgnoreOverlays|Rt.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&t.positions[0]==0&&t.children[0]instanceof Gt)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(KO))!==null&&t!==void 0?t:i.to,this.inner=new E1(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(KO))!==null&&e!==void 0?e:t.to,this.inner=new E1(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(Ge.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 M1(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 zn(o,f.to))):f.to>o?t[s--]=new zn(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 zn(p.from+i,p.to+i)),O=E4(e,h,f,u);for(let p=0,g=f;;p++){let b=p==O.length,Q=b?u:O[p].from;if(Q>g&&t.push(new Lr(g,Q,r.tree,-l,s.from>=g||s.openStart,s.to<=Q||s.openEnd)),b)break;g=O[p].to}}else t.push(new Lr(f,u,r.tree,-l,s.from>=l||s.openStart,s.to<=o||s.openEnd))}return t}class Sc{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 Sc(e,[],t,i,i,0,[],0,r?new z1(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,r){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=r,this.shiftContext(t,i),t<=this.p.parser.maxNode&&this.buffer.push(t,i,r,4);else{let s=e,{parser:l}=this.p;(r>this.pos||t<=l.maxNode)&&(this.pos=r,l.stateFlag(s,1)||(this.reducePos=r)),this.pushState(s,i),this.shiftContext(t,i),t<=l.maxNode&&this.buffer.push(t,i,r,4)}}apply(e,t,i,r){e&65536?this.reduce(e):this.shift(e,t,i,r)}useNode(e,t){let i=this.p.reused.length-1;(i<0||this.p.reused[i]!=e)&&(this.p.reused.push(e),i++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(i,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let i=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new Sc(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.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;tthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class z1{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 bc{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 bc(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 bc(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 tc{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const I1=new tc;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=I1,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=I1,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 Xl{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:i}=t.p;UQ(this.data,e,t,this.id,i.data,i.tokenPrecTable)}}Xl.prototype.contextual=Xl.prototype.fallback=Xl.prototype.extend=!1;class JO{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(UQ(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))}}JO.prototype.contextual=Xl.prototype.fallback=Xl.prototype.extend=!1;class Cr{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function UQ(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),Q=n[b],$=n[b+1]||65536;if(h=$)O=g+1;else{l=n[b+2],e.advance();continue e}}break}}function N1(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=N1(t,i,e);return r<0||N1(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?L1(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?L1(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 Gt){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 tc)}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 tc,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 tc,{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&&B4(r);if(l)return bn&&console.log("Finish with "+this.stackID(l)),this.stackToTree(l);if(this.parser.strict)throw bn&&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 bn&&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(Ge.contextHash)||0)==h))return e.useNode(O,p),bn&&console.log(l+this.stackID(e)+` (via reuse of ${s.getName(O.type.id)})`),!0;if(!(O instanceof Gt)||O.children.length==0||O.positions[0]>0)break;let g=O.children[0];if(g instanceof Gt&&O.positions[0]==0)O=g;else break}}let o=s.stateSlot(e.state,4);if(o>0)return e.reduce(o),bn&&console.log(l+this.stackID(e)+` (via always-reduce ${s.getName(o&65535)})`),!0;if(e.stack.length>=9e3)for(;e.stack.length>6e3&&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 j1(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(),bn&&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&&(bn&&console.log(p+this.stackID(O)+" (via force-reduce)"),!this.advanceFully(O,i));g++)bn&&(p=this.stackID(O)+" -> ");for(let g of o.recoverByInsert(f))bn&&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),bn&&console.log(h+this.stackID(o)+` (via recover-delete ${this.parser.getName(f)})`),j1(o,i)):(!r||r.scoren;class YQ{constructor(e){this.start=e.start,this.shift=e.shift||Nh,this.reduce=e.reduce||Nh,this.reuse=e.reuse||Nh,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class Ps extends AQ{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 xd(t.map((o,f)=>Ki.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=XQ;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,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=Ir(this.data,s+2);else break;r=t(Ir(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=Ir(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(Ps.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=Ps.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$k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&RQ'v&YQ(P&`Q(Q&bQ(R&cQ(h&zQ(k'PQ(l'RQ(m'SQ(y'sQ)S'|Q)T(OQ)e(iQ)m(xQ)o(zQ)p(|Q)q)RQ*Q)fQ*R)gQ*U)nQ*X)rQ*`*PQ*b*VQ*e*oQ*f*pQ*g*qQ*h*rQ*i*sQ*j*tQ*k*uQ*l*vS*m*d*wQ*n*xQ+S*{Q+T+ZQ+U*|Q+V*}Q+W+OQ+X+PR+Y+Q",nodeNames:"⚠ LineComment BlockComment SourceFile Annotation Identifier Keyword QuotedIdentifier Parameter ArrayType Keyword TypeBase Keyword Keyword Keyword PrimitiveType Keyword Keyword Keyword Keyword Keyword TypeInstId TypeInstEnumId Absent Anonymous Keyword ArrayLiteral2d ArrayLiteral2dRow ArrayLiteral ArrayLiteralMember BooleanLiteral Keyword Keyword Infinity Keyword Number EmptySet Keyword SetLiteral StringLiteral Interpolation TupleLiteral RecordLiteral RecordMember ArrayComprehension Generator Keyword Keyword IfThenElse Keyword Keyword Keyword Keyword Keyword InfixOperator Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword LetExpression Keyword LetItems Declaration Constraint Keyword PrefixOperator Keyword Keyword PostfixOperator SetComprehension Call Application GeneratorCall GeneratorCallGenerators ParenthesisedExpression IndexedAccess TupleAccess Number RecordAccess Keyword Keyword SetType Keyword TupleType Keyword RecordType Keyword RecordTypeField OperationType Keyword AnyType Assignment Enumeration Keyword FunctionItem Keyword Goal Keyword Keyword Keyword Keyword Include Keyword Output Keyword Predicate Keyword Keyword TypeAlias Keyword",maxTerm:210,skippedNodes:[0,1,2],repeatNodeCount:19,tokenData:"!8_~R!oOX&SXY&qYZ'nZ]&S]^&q^p&Spq&qqr(Prs)Xsu&Suv)^vw&Swx*lxy,ryz-]z{-v{|.a|}/k}!O0U!O!P1`!P!Q3Z!Q!R9g!R![@|![!]Bz!]!^DU!^!_Do!_!`Is!`!aJ}!a!c&S!c!}LX!}#OM[#O#PNf#P#Q!#p#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S#P;'S&S;'S;=`&k<%lO&SR!5YU$zP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!5sU$}P$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!6^U%PP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!6wU%QP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!7bU$qP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&SR!7{U$gP$bQOY&SZr&Ss#O&S#P;'S&S;'S;=`&k<%lO&S",tokenizers:[0,1,2],topRules:{SourceFile:[0,3]},specialized:[{term:5,get:n=>F4[n]||-1}],tokenPrec:0});let H4=0;class Qr{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 Qr([],null,[]);if(t.set.push(t),e)for(let i of e.set)t.set.push(i);return t}static defineModifier(){let e=new $c;return t=>t.modified.indexOf(e)>-1?t:$c.get(t.base||t,t.modified.concat(e).sort((i,r)=>i.id-r.id))}}let K4=0;class $c{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 Qr(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($c.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 Il(n){let e=Object.create(null);for(let t in n){let i=n[t];Array.isArray(i)||(i=[i]);for(let r of t.split(" "))if(r){let s=[],l=2,o=r;for(let O=0;;){if(o=="..."&&O>0&&O+3==r.length){l=1;break}let p=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!p)throw new RangeError("Invalid path: "+r);if(s.push(p[0]=="*"?"":p[0][0]=='"'?JSON.parse(p[0]):p[0]),O+=p[0].length,O==r.length)break;let g=r[O++];if(O==r.length&&g=="!"){l=0;break}if(g!="/")throw new RangeError("Invalid path: "+r);o=r.slice(O)}let f=s.length-1,u=s[f];if(!u)throw new RangeError("Invalid path: "+r);let h=new Qc(i,l,f>0?s.slice(0,f):null);e[u]=h.sort(e[u])}}return VQ.add(e)}const VQ=new Ge;class Qc{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)||Qc.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(Ge.mounted);if(p&&p.overlay){let g=e.node.enter(p.overlay[0].from+o,1),b=this.highlighters.filter($=>!$.scope||$.scope(p.tree.type)),Q=e.firstChild();for(let $=0,P=o;;$++){let x=$=R||!e.nextSibling())););if(!x||R>i)break;P=x.to+o,P>t&&(this.highlightRange(g.cursor(),Math.max(t,x.from+o),Math.min(i,P),"",b),this.startSpan(Math.min(i,P),u))}Q&&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(VQ);for(;e&&e.context&&!n.matchContext(e.context);)e=e.next;return e||null}const pe=Qr.define,Yf=pe(),hs=pe(),F1=pe(hs),G1=pe(hs),Os=pe(),Vf=pe(Os),Lh=pe(Os),br=pe(),zs=pe(br),mr=pe(),Sr=pe(),ed=pe(),Qo=pe(ed),qf=pe(),S={comment:Yf,lineComment:pe(Yf),blockComment:pe(Yf),docComment:pe(Yf),name:hs,variableName:pe(hs),typeName:F1,tagName:pe(F1),propertyName:G1,attributeName:pe(G1),className:pe(hs),labelName:pe(hs),namespace:pe(hs),macroName:pe(hs),literal:Os,string:Vf,docString:pe(Vf),character:pe(Vf),attributeValue:pe(Vf),number:Lh,integer:pe(Lh),float:pe(Lh),bool:pe(Os),regexp:pe(Os),escape:pe(Os),color:pe(Os),url:pe(Os),keyword:mr,self:pe(mr),null:pe(mr),atom:pe(mr),unit:pe(mr),modifier:pe(mr),operatorKeyword:pe(mr),controlKeyword:pe(mr),definitionKeyword:pe(mr),moduleKeyword:pe(mr),operator:Sr,derefOperator:pe(Sr),arithmeticOperator:pe(Sr),logicOperator:pe(Sr),bitwiseOperator:pe(Sr),compareOperator:pe(Sr),updateOperator:pe(Sr),definitionOperator:pe(Sr),typeOperator:pe(Sr),controlOperator:pe(Sr),punctuation:ed,separator:pe(ed),bracket:Qo,angleBracket:pe(Qo),squareBracket:pe(Qo),paren:pe(Qo),brace:pe(Qo),content:br,heading:zs,heading1:pe(zs),heading2:pe(zs),heading3:pe(zs),heading4:pe(zs),heading5:pe(zs),heading6:pe(zs),contentSeparator:pe(br),list:pe(br),quote:pe(br),emphasis:pe(br),strong:pe(br),link:pe(br),monospace:pe(br),strikethrough:pe(br),inserted:pe(),deleted:pe(),changed:pe(),invalid:pe(),meta:qf,documentMeta:pe(qf),annotation:pe(qf),processingInstruction:pe(qf),definition:Qr.defineModifier(),constant:Qr.defineModifier(),function:Qr.defineModifier(),standard:Qr.defineModifier(),local:Qr.defineModifier(),special:Qr.defineModifier()};qQ([{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 jh;const wl=new Ge;function EQ(n){return Pe.define({combine:n?e=>e.concat(n):void 0})}const Zd=new Ge;class lr{constructor(e,t,i=[],r=""){this.data=e,this.name=r,ut.prototype.hasOwnProperty("tree")||Object.defineProperty(ut.prototype,"tree",{get(){return ei(this)}}),this.parser=t,this.extension=[_s.of(this),ut.languageData.of((s,l,o)=>{let f=H1(s,l,o),u=f.type.prop(wl);if(!u)return[];let h=s.facet(u),O=f.type.prop(Zd);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 H1(e,t,i).type.prop(wl)==this.data}findRegions(e){let t=e.facet(_s);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(wl)==this.data){i.push({from:l,to:l+s.length});return}let o=s.prop(Ge.mounted);if(o){if(o.tree.prop(wl)==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 ks(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function ei(n){let e=n.field(lr.state,!1);return e?e.tree:Gt.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 wc{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 wc(e,t,[],Gt.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!=Gt.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(Lr.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=K1(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=Lr.applyChanges(i,f),r=Gt.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=K1(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 AQ{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 Gt(Ki.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 K1(n,e,t){return Lr.applyChanges(n,[{fromA:e,toA:t,fromB:e,toB:t}])}class Vl{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 Vl(t)}static init(e){let t=Math.min(3e3,e.doc.length),i=wc.create(e.facet(_s).parser,e,{from:0,to:t});return i.work(20,t)||i.takeTree(),new Vl(i)}}lr.state=wi.define({create:Vl.init,update(n,e){for(let t of e.effects)if(t.is(lr.setState))return t.value;return e.startState.facet(_s)!=e.state.facet(_s)?Vl.init(e.state):n.apply(e)}});let MQ=n=>{let e=setTimeout(()=>n(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(MQ=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"&&(!((jh=navigator.scheduling)===null||jh===void 0)&&jh.isInputPending)?()=>navigator.scheduling.isInputPending():null,lX=di.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=MQ(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:lr.setState.of(new Vl(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=>kn(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()}}}),_s=Pe.define({combine(n){return n.length?n[0]:null},enables:n=>[lr.state,lX,be.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=Pe.define(),jc=Pe.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 yc(n){let e=n.facet(jc);return e.charCodeAt(0)==9?n.tabSize*e.length:e.length}function ea(n,e){let t="",i=n.tabSize,r=n.facet(jc)[0];if(r==" "){for(;e>=i;)t+=" ",e-=i;r=" "}for(let s=0;s=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 Nl=new Ge;function aX(n,e,t){return DQ(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(Nl);if(e)return e;let t=n.firstChild,i;if(t&&(i=t.type.prop(Ge.closedBy))){let r=n.lastChild,s=r&&i.indexOf(r.name)>-1;return l=>zQ(l,!0,1,void 0,s&&!fX(l)?r.from:void 0)}return n.parent==null?uX:null}function DQ(n,e,t){for(;n;n=n.parent){let i=cX(n);if(i)return i(Ad.create(t,e,n))}return null}function uX(){return 0}class Ad 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 Ad(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?DQ(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.fromzQ(i,e,t,n)}function zQ(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 Tl({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 ut.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=Rd(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=Pe.define(),Ll=new Ge;function $r(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 vc(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 IQ(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 Fc=Me.define({map:IQ}),ca=Me.define({map:IQ});function NQ(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 Ks=wi.define({create(){return Re.none},update(n,e){n=n.map(e.changes);for(let t of e.effects)t.is(Fc)&&!$X(n,t.value.from,t.value.to)?n=n.update({add:[J1.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=>be.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 LQ(n,e){return n.field(Ks,!1)?e:e.concat(Me.appendConfig.of(FQ()))}const QX=n=>{for(let e of NQ(n)){let t=vc(n.state,e.from,e.to);if(t)return n.dispatch({effects:LQ(n.state,[Fc.of(t),jQ(n,t)])}),!0}return!1},wX=n=>{if(!n.state.field(Ks,!1))return!1;let e=[];for(let t of NQ(n)){let i=Pc(n.state,t.from,t.to);i&&e.push(ca.of(i),jQ(n,i,!1))}return e.length&&n.dispatch({effects:e}),e.length>0};function jQ(n,e,t=!0){let i=n.state.doc.lineAt(e.from).number,r=n.state.doc.lineAt(e.to).number;return be.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(Ks,!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=Pe.define({combine(n){return xr(n,kX)}});function FQ(n){let e=[Ks,xX];return n&&e.push(BQ.of(n)),e}const J1=Re.replace({widget:new class extends Ws{toDOM(n){let{state:e}=n,t=e.facet(BQ),i=s=>{let l=n.lineBlockAt(n.posAtDOM(s.target)),o=Pc(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 Fh extends Fr{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 Fh(e,!0),i=new Fh(e,!1),r=di.fromClass(class{constructor(l){this.from=l.viewport.from,this.markers=this.buildMarkers(l)}update(l){(l.docChanged||l.viewportChanged||l.startState.facet(_s)!=l.state.facet(_s)||l.startState.field(Ks,!1)!=l.state.field(Ks,!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=Pc(l.state,f.from,f.to)?i:vc(l.state,f.from,f.to)?t:null;u&&o.add(f.from,f.from,u)}return o.finish()}}),{domEventHandlers:s}=e;return[r,WC({class:"cm-foldGutter",markers(l){var o;return((o=l.plugin(r))===null||o===void 0?void 0:o.markers)||wt.empty},initialSpacer(){return new Fh(e,!1)},domEventHandlers:Object.assign(Object.assign({},s),{click:(l,o,f)=>{if(s.click&&s.click(l,o,f))return!0;let u=Pc(l.state,o.from,o.to);if(u)return l.dispatch({effects:ca.of(u)}),!0;let h=vc(l.state,o.from,o.to);return h?(l.dispatch({effects:Fc.of(h)}),!0):!1}})}),FQ()]}const xX=be.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=Qs.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 lr?o=>o.prop(wl)==l.data:l?o=>o==l:void 0,this.style=qQ(e.map(o=>({tag:o.tag,class:o.class||r(Object.assign({},o,{tag:null}))})),{all:s}).style,this.module=i?new Qs(i):null,this.themeType=t.themeType}static define(e,t){return new ua(e,t||{})}}const td=Pe.define(),GQ=Pe.define({combine(n){return n.length?[n[0]]:null}});function Gh(n){let e=n.facet(td);return e.length?e:n.facet(GQ)}function HQ(n,e){let t=[XX],i;return n instanceof ua&&(n.module&&t.push(be.styleModule.of(n.module)),i=n.themeType),e!=null&&e.fallback?t.push(GQ.of(n)):i?t.push(td.computeN([be.darkTheme],r=>r.facet(be.darkTheme)==(i=="dark")?[n]:[])):t.push(td.of(n)),t}class CX{constructor(e){this.markCache=Object.create(null),this.tree=ei(e.state),this.decorations=this.buildDeco(e,Gh(e.state))}update(e){let t=ei(e.state),i=Gh(e.state),r=i!=Gh(e.startState);t.length{i.add(l,o,this.markCache[f]||(this.markCache[f]=Re.mark({class:f})))},r,s);return i.finish()}}const XX=Js.high(di.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=be.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),KQ=1e4,JQ="()[]{}",ew=Pe.define({combine(n){return xr(n,{afterCursor:!0,brackets:JQ,maxScanDistance:KQ,renderMatch:UX})}}),RX=Re.mark({class:"cm-matchingBracket"}),AX=Re.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=wi.define({create(){return Re.none},update(n,e){if(!e.docChanged&&!e.selection)return n;let t=[],i=e.state.facet(ew);for(let r of e.state.selection.ranges){if(!r.empty)continue;let s=Pr(e.state,r.head,-1,i)||r.head>0&&Pr(e.state,r.head-1,1,i)||i.afterCursor&&(Pr(e.state,r.head,1,i)||r.headbe.decorations.from(n)}),VX=[YX,ZX];function qX(n={}){return[ew.of(n),VX]}const tw=new Ge;function id(n,e,t){let i=n.prop(e<0?Ge.openedBy:Ge.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 nd(n){let e=n.type.prop(tw);return e?e(n.node):n}function Pr(n,e,t,i={}){let r=i.maxScanDistance||KQ,s=i.brackets||JQ,l=ei(n),o=l.resolveInner(e,t);for(let f=o;f;f=f.parent){let u=id(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 Q=t>0?0:g.length-1,$=t>0?g.length:-1;Q!=$;Q+=t){let P=l.indexOf(g[Q]);if(!(P<0||i.resolveInner(b+Q,1).type!=r))if(P%2==0==t>0)O++;else{if(O==1)return{start:u,end:{from:b+Q,to:b+Q+1},matched:P>>1==f>>1};O--}}t>0&&(p+=g.length)}return h.done?{start:u,matched:!1}:null}const DX=Object.create(null),e0=[Ki.none],t0=[],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 Hh(n,e){t0.indexOf(n)>-1||(t0.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):Hh(s,`Modifier ${s} used at start of tag`):t?Hh(s,`Tag ${s} used as modifier`):t=l:Hh(s,`Unknown highlighting tag ${s}`)}if(!t)return 0;let i=e.replace(/ /g,"_"),r=Ki.define({id:e0.length,name:i,props:[Il({[i]:t})]});return e0.push(r),r.id}const NX=n=>{let e=Yd(n.state);return e.line?LX(n):e.block?BX(n):!1};function Ud(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=Ud(HX,0),jX=Ud(iw,0),BX=Ud((n,e)=>iw(n,e,GX(e)),0);function Yd(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 iw(n,e,t=e.selection.ranges){let i=t.map(s=>Yd(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=Yd(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 rd=Gr.define(),KX=Gr.define(),JX=Pe.define(),nw=Pe.define({combine(n){return xr(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 rw=wi.define({create(){return kr.empty},update(n,e){let t=e.state.facet(nw),i=e.annotation(rd);if(i){let f=e.docChanged?K.single(eT(e.changes)):void 0,u=hn.fromTransaction(e,f),h=i.side,O=h==0?n.undone:n.done;return u?O=kc(O,O.length,t.minDepth,u):O=ow(O,e.startState.selection),new kr(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(Qi.addToHistory)===!1)return e.changes.empty?n:n.addMapping(e.changes.desc);let s=hn.fromTransaction(e),l=e.annotation(Qi.time),o=e.annotation(Qi.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 kr(n.done.map(hn.fromJSON),n.undone.map(hn.fromJSON))}});function tT(n={}){return[rw,nw.of(n),be.domEventHandlers({beforeinput(e,t){let i=e.inputType=="historyUndo"?sw:e.inputType=="historyRedo"?sd:null;return i?(e.preventDefault(),i(t)):!1}})]}function Gc(n,e){return function({state:t,dispatch:i}){if(!e&&t.readOnly)return!1;let r=t.field(rw,!1);if(!r)return!1;let s=r.pop(n,t,e);return s?(i(s),!0):!1}}const sw=Gc(0,!1),sd=Gc(1,!1),iT=Gc(0,!0),nT=Gc(1,!0);class hn{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 hn(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 hn(e.changes&&$i.fromJSON(e.changes),[],e.mapped&&_r.fromJSON(e.mapped),e.startSelection&&K.fromJSON(e.startSelection),e.selectionsAfter.map(K.fromJSON))}static fromTransaction(e,t){let i=In;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 hn(e.changes.invert(e.startState.doc),i,void 0,t||e.startState.selection,In)}static selection(e){return new hn(void 0,In,void 0,void 0,e)}}function kc(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 lw(n,e){return n.length?e.length?n.concat(e):n:e}const In=[],lT=200;function ow(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),kc(n,n.length-1,1e9,t.setSelAfter(i)))}else return[hn.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 Kh(n,e){if(!n.length)return n;let t=n.length,i=In;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?[hn.selection(i)]:In}function aT(n,e,t){let i=lw(n.selectionsAfter.length?n.selectionsAfter.map(o=>o.map(e)):In,t);if(!n.changes)return hn.selection(i);let r=n.changes.map(e),s=e.mapDesc(n.changes,!0),l=n.mapped?n.mapped.composeDesc(s):s;return new hn(r,Me.mapEffects(n.effects,e),l,n.startSelection.map(s),i)}const fT=/^(input\.type|delete)($|\.)/;class kr{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 kr(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):Hc(t,e))}function Li(n){return n.textDirectionAt(n.state.selection.main.head)==Ft.LTR}const fw=n=>aw(n,!Li(n)),cw=n=>aw(n,Li(n));function uw(n,e){return ar(n,t=>t.empty?n.moveByGroup(t,e):Hc(t,e))}const uT=n=>uw(n,!Li(n)),hT=n=>uw(n,Li(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 Kc(n,e,t){let i=ei(n).resolveInner(e.head),r=t?Ge.closedBy:Ge.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?Pr(n,i.from,1):Pr(n,i.to,-1))&&l.matched?o=t?l.end.to:l.end.from:o=t?i.to:i.from,K.cursor(o,t?-1:1)}const dT=n=>ar(n,e=>Kc(n.state,e,!Li(n))),pT=n=>ar(n,e=>Kc(n.state,e,Li(n)));function hw(n,e){return ar(n,t=>{if(!t.empty)return Hc(t,e);let i=n.moveVertically(t,e);return i.head!=t.head?i:n.moveToLineBoundary(t,e)})}const Ow=n=>hw(n,!1),dw=n=>hw(n,!0);function pw(n){return Math.max(n.defaultLineHeight,Math.min(n.dom.clientHeight,innerHeight)-5)}function gw(n,e){let{state:t}=n,i=jl(t.selection,o=>o.empty?n.moveVertically(o,e,pw(n)):Hc(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.bottomgw(n,!1),ld=n=>gw(n,!0);function xs(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=>ar(n,e=>xs(n,e,!0)),mT=n=>ar(n,e=>xs(n,e,!1)),ST=n=>ar(n,e=>xs(n,e,!Li(n))),bT=n=>ar(n,e=>xs(n,e,Li(n))),$T=n=>ar(n,e=>K.cursor(n.lineBlockAt(e.head).from,1)),QT=n=>ar(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=Pr(n,s.head,-1)||Pr(n,s.head,1)||s.head>0&&Pr(n,s.head-1,1)||s.headwT(n,e,!1);function Fn(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 mw(n,e){return Fn(n,t=>n.moveByChar(t,e))}const Sw=n=>mw(n,!Li(n)),bw=n=>mw(n,Li(n));function $w(n,e){return Fn(n,t=>n.moveByGroup(t,e))}const vT=n=>$w(n,!Li(n)),PT=n=>$w(n,Li(n)),kT=n=>Fn(n,e=>Kc(n.state,e,!Li(n))),_T=n=>Fn(n,e=>Kc(n.state,e,Li(n)));function Qw(n,e){return Fn(n,t=>n.moveVertically(t,e))}const ww=n=>Qw(n,!1),yw=n=>Qw(n,!0);function vw(n,e){return Fn(n,t=>n.moveVertically(t,e,pw(n)))}const n0=n=>vw(n,!1),r0=n=>vw(n,!0),WT=n=>Fn(n,e=>xs(n,e,!0)),xT=n=>Fn(n,e=>xs(n,e,!1)),CT=n=>Fn(n,e=>xs(n,e,!Li(n))),XT=n=>Fn(n,e=>xs(n,e,Li(n))),TT=n=>Fn(n,e=>K.cursor(n.lineBlockAt(e.head).from)),ZT=n=>Fn(n,e=>K.cursor(n.lineBlockAt(e.head).to)),s0=({state:n,dispatch:e})=>(e(Xr(n,{anchor:0})),!0),l0=({state:n,dispatch:e})=>(e(Xr(n,{anchor:n.doc.length})),!0),o0=({state:n,dispatch:e})=>(e(Xr(n,{anchor:n.selection.main.anchor,head:0})),!0),a0=({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=eu(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 Jc(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=Ef(n,f,!0)),l=Math.min(l,f),o=Math.max(o,f)}else l=Ef(n,l,!1),o=Ef(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"?be.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function Ef(n,e,t){if(n instanceof be)for(let i of n.state.facet(be.atomicRanges).map(r=>r(n)))i.between(e,e,(r,s)=>{re&&(e=t?s:r)});return e}const Pw=(n,e)=>Jc(n,t=>{let{state:i}=n,r=i.doc.lineAt(t),s,l;if(!e&&t>r.from&&tPw(n,!1),kw=n=>Pw(n,!0),_w=(n,e)=>Jc(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=Ni(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}),Ww=n=>_w(n,!1),VT=n=>_w(n,!0),xw=n=>Jc(n,e=>{let t=n.lineBlockAt(e).to;return eJc(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:St.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:Ni(s.text,r-s.from,!1)+s.from,o=r==s.to?r+1:Ni(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 eu(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 Cw(n,e,t){if(n.readOnly)return!1;let i=[],r=[];for(let s of eu(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})=>Cw(n,e,!1),zT=({state:n,dispatch:e})=>Cw(n,e,!0);function Xw(n,e,t){if(n.readOnly)return!1;let i=[];for(let r of eu(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})=>Xw(n,e,!1),NT=({state:n,dispatch:e})=>Xw(n,e,!0),LT=n=>{if(n.state.readOnly)return!1;let{state:e}=n,t=e.changes(eu(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 jT(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(Ge.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 BT=Tw(!1),FT=Tw(!0);function Tw(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&&jT(e,s);n&&(s=l=(l<=o.to?o:e.doc.lineAt(l)).to);let u=new Bc(e,{simulateBreak:s,simulateDoubleBreak:!!f}),h=Rd(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=Vd(n,(s,l,o)=>{let f=Rd(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(Vd(n,(t,i)=>{i.push({from:t.from,insert:n.facet(jc)})}),{userEvent:"input.indent"})),!0),Rw=({state:n,dispatch:e})=>n.readOnly?!1:(e(n.update(Vd(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-yc(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:Rw},{key:"Mod-]",run:Zw},{key:"Mod-Alt-\\",run:GT},{key:"Shift-Mod-k",run:LT},{key:"Shift-Mod-\\",run:yT},{key:"Mod-/",run:NX},{key:"Alt-A",run:jX}].concat(KT),eZ={key:"Tab",run:Zw,shift:Rw};function xt(){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 ql{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(f0(o)):f0,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 Zi(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=gd(e),i=this.bufferStart+this.bufferPos;this.bufferPos+=yn(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=_c(this.text,r+(i==r?1:0)),i==this.curLineStart+this.curLine.length&&this.nextLine(),(ithis.value.to)&&(!this.test||this.test(i,r,t)))return this.value={from:i,to:r,match:t},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=i||r.to<=t){let o=new Zl(t,e.sliceString(t,i));return Jh.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=_c(this.text,r+(i==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Zl.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(Yw.prototype[Symbol.iterator]=Vw.prototype[Symbol.iterator]=function(){return this});function tZ(n){try{return new RegExp(n,qd),!0}catch{return!1}}function _c(n,e){if(e>=n.length)return e;let t=n.lineAt(e),i;for(;e=56320&&i<57344;)e++;return e}function ad(n){let e=xt("input",{class:"cm-textfield",name:"line"}),t=xt("form",{class:"cm-gotoLine",onkeydown:r=>{r.keyCode==27?(r.preventDefault(),n.dispatch({effects:Wc.of(!1)}),n.focus()):r.keyCode==13&&(r.preventDefault(),i())},onsubmit:r=>{r.preventDefault(),i()}},xt("label",n.state.phrase("Go to line"),": ",e)," ",xt("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:Wc.of(!1),selection:K.cursor(g.from+Math.max(0,Math.min(O,g.length))),scrollIntoView:!0}),n.focus()}return{dom:t}}const Wc=Me.define(),c0=wi.define({create(){return!0},update(n,e){for(let t of e.effects)t.is(Wc)&&(n=t.value);return n},provide:n=>Ho.from(n,e=>e?ad:null)}),iZ=n=>{let e=Go(n,ad);if(!e){let t=[Wc.of(!0)];n.state.field(c0,!1)==null&&t.push(Me.appendConfig.of([c0,nZ])),n.dispatch({effects:t}),e=Go(n,ad)}return e&&e.dom.querySelector("input").focus(),!0},nZ=be.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),rZ={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},qw=Pe.define({combine(n){return xr(n,rZ,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function sZ(n){let e=[cZ,fZ];return n&&e.push(qw.of(n)),e}const lZ=Re.mark({class:"cm-selectionMatch"}),oZ=Re.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function u0(n,e,t,i){return(t==0||n(e.sliceDoc(t-1,t))!=zt.Word)&&(i==e.doc.length||n(e.sliceDoc(i,i+1))!=zt.Word)}function aZ(n,e,t,i){return n(e.sliceDoc(t,t+1))==zt.Word&&n(e.sliceDoc(i-1,i))==zt.Word}const fZ=di.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(qw),{state:t}=n,i=t.selection;if(i.ranges.length>1)return Re.none;let r=i.main,s,l=null;if(r.empty){if(!e.highlightWordAroundCursor)return Re.none;let f=t.wordAt(r.head);if(!f)return Re.none;l=t.charCategorizer(r.head),s=t.sliceDoc(f.from,f.to)}else{let f=r.to-r.from;if(f200)return Re.none;if(e.wholeWords){if(s=t.sliceDoc(r.from,r.to),l=t.charCategorizer(r.head),!(u0(l,t,r.from,r.to)&&aZ(l,t,r.from,r.to)))return Re.none}else if(s=t.sliceDoc(r.from,r.to).trim(),!s)return Re.none}let o=[];for(let f of n.visibleRanges){let u=new ql(t.doc,s,f.from,f.to);for(;!u.next().done;){let{from:h,to:O}=u.value;if((!l||u0(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 Re.none}}return Re.set(o)}},{decorations:n=>n.decorations}),cZ=be.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 ql(n.doc,e,i[i.length-1].to);;)if(o.next(),o.done){if(l)return null;o=new ql(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:be.scrollIntoView(r.to)})),!0):!1},Ed=Pe.define({combine(n){return xr(n,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:e=>new PZ(e)})}});class Ew{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:ut.create({doc:e});return i==null&&(i=r.doc.length),this.regexp?bl(this,r,t,i):Sl(this,r,t,i)}}class Mw{constructor(e){this.spec=e}}function Sl(n,e,t,i){return new ql(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=Sl(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 bl(n,e,t,i){return new Yw(e.doc,n.search,{ignoreCase:!n.caseSensitive,test:n.wholeWord?gZ(e.charCategorizer(e.selection.main.head)):void 0},t,i)}function xc(n,e){return n.slice(Ni(n,e,!1),e)}function Cc(n,e){return n.slice(e,Ni(n,e))}function gZ(n){return(e,t,i)=>!i[0].length||(n(xc(i.input,i.index))!=zt.Word||n(Cc(i.input,i.index))!=zt.Word)&&(n(Cc(i.input,i.index+i[0].length))!=zt.Word||n(xc(i.input,i.index+i[0].length))!=zt.Word)}class mZ extends Mw{nextMatch(e,t,i){let r=bl(this.spec,e,i,e.doc.length).next();return r.done&&(r=bl(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=bl(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=bl(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=Me.define(),Md=Me.define(),Ss=wi.define({create(n){return new eO(fd(n).create(),null)},update(n,e){for(let t of e.effects)t.is(ta)?n=new eO(t.value.create(),n.panel):t.is(Md)&&(n=new eO(n.query,t.value?Dd:null));return n},provide:n=>Ho.from(n,e=>e.panel)});class eO{constructor(e,t){this.query=e,this.panel=t}}const SZ=Re.mark({class:"cm-searchMatch"}),bZ=Re.mark({class:"cm-searchMatch cm-searchMatch-selected"}),$Z=di.fromClass(class{constructor(n){this.view=n,this.decorations=this.highlight(n.state.field(Ss))}update(n){let e=n.state.field(Ss);(e!=n.startState.field(Ss)||n.docChanged||n.selectionSet||n.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:n,panel:e}){if(!e||!n.spec.valid)return Re.none;let{view:t}=this,i=new $s;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(Ss,!1);return t&&t.query.spec.valid?n(e,t):Dw(e)}}const Xc=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:zd(n,i),userEvent:"select.search"}),!0):!1}),Tc=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:zd(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 ql(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},h0=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(be.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(zd(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:be.announce.of(i),userEvent:"input.replace.all"}),!0});function Dd(n){return n.state.facet(Ed).createPanel(n)}function fd(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(Ed);return new Ew({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 Dw=n=>{let e=n.state.field(Ss,!1);if(e&&e.panel){let t=Go(n,Dd);if(!t)return!1;let i=t.dom.querySelector("[main-field]");if(i&&i!=n.root.activeElement){let r=fd(n.state,e.query.spec);r.valid&&n.dispatch({effects:ta.of(r)}),i.focus(),i.select()}}else n.dispatch({effects:[Md.of(!0),e?ta.of(fd(n.state,e.query.spec)):Me.appendConfig.of(_Z)]});return!0},zw=n=>{let e=n.state.field(Ss,!1);if(!e||!e.panel)return!1;let t=Go(n,Dd);return t&&t.dom.contains(n.root.activeElement)&&n.focus(),n.dispatch({effects:Md.of(!1)}),!0},vZ=[{key:"Mod-f",run:Dw,scope:"editor search-panel"},{key:"F3",run:Xc,shift:Tc,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:Xc,shift:Tc,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:zw,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(Ss).query.spec;this.commit=this.commit.bind(this),this.searchField=xt("input",{value:t.search,placeholder:$n(e,"Find"),"aria-label":$n(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:$n(e,"Replace"),"aria-label":$n(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 i(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,i("next",()=>Xc(e),[$n(e,"next")]),i("prev",()=>Tc(e),[$n(e,"previous")]),i("select",()=>QZ(e),[$n(e,"all")]),xt("label",null,[this.caseField,$n(e,"match case")]),xt("label",null,[this.reField,$n(e,"regexp")]),xt("label",null,[this.wordField,$n(e,"by word")]),...e.state.readOnly?[]:[xt("br"),this.replaceField,i("replace",()=>h0(e),[$n(e,"replace")]),i("replaceAll",()=>yZ(e),[$n(e,"replace all")])],xt("button",{name:"close",onclick:()=>zw(e),"aria-label":$n(e,"close"),type:"button"},["×"])])}commit(){let e=new Ew({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){q5(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?Tc:Xc)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),h0(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(Ed).top}}function $n(n,e){return n.state.phrase(e)}const Mf=30,Df=/[\s\.,:;?!]/;function zd(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-Mf),l=Math.min(r,t+Mf),o=n.state.sliceDoc(s,l);if(s!=i.from){for(let f=0;fo.length-Mf;f--)if(!Df.test(o[f-1])&&Df.test(o[f])){o=o.slice(0,f);break}}return be.announce.of(`${n.state.phrase("current match")}. ${o} ${n.state.phrase("on line")} ${i.number}.`)}const kZ=be.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=[Ss,Js.lowest($Z),kZ];class Iw{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(Lw(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 O0(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 d0{constructor(e,t,i){this.completion=e,this.source=t,this.match=i}}function bs(n){return n.selection.main.head}function Lw(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=Gr.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 jw(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 p0=new WeakMap;function TZ(n){if(!Array.isArray(n))return n;let e=p0.get(n);return e||p0.set(n,e=Nw(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:(Z=gd(X))!=Z.toLowerCase()?1:Z!=Z.toUpperCase()?2:0;(!x||I==1&&$||C==0&&I!=0)&&(t[O]==X||i[O]==X&&(p=!0)?l[O++]=x:l.length&&(P=!1)),C=I,x+=yn(X)}return O==f&&l[0]==0&&P?this.result(-100+(p?-200:0),l,e):g==f&&b==0?[-200-e.length,0,Q]:o>-1?[-700-e.length,o,o+this.pattern.length]:g==f?[-200+-700-e.length,b,Q]:O==f?this.result(-100+(p?-200:0)+-700+(P?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?yn(Zi(i,l)):1);s>1&&r[s-1]==l?r[s-1]=o:(r[s++]=l,r[s++]=o)}return r}}const jn=Pe.define({combine(n){return xr(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=>g0(e(i),t(i)),optionClass:(e,t)=>i=>g0(e(i),t(i)),addToOptions:(e,t)=>e.concat(t)})}});function g0(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 m0(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=m0(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=m0(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=>kn(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 S0(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 d0(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 d0(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):S0(o.completion)>S0(s)&&(r[r.length-1]=o),s=o.completion;return r}class yl{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 yl(this.options,b0(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 yl(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(Dn),above:s.aboveCursor},r?r.timestamp:Date.now(),o,!1)}map(e){return new yl(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class Zc{constructor(e,t,i){this.active=e,this.id=t,this.open=i}static start(){return new Zc(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",bs(t)).map(TZ)).map(o=>(this.active.find(u=>u.source==o)||new un(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=yl.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 un(o.source,0):o));for(let o of e.effects)o.is(Fw)&&(l=l&&l.setSelected(o.value,this.id));return s==this.active&&l==this.open?this:new Zc(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 cd(n){return n.isUserEvent("input.type")?"input":n.isUserEvent("delete.backward")?"delete":null}class un{constructor(e,t,i=-1){this.source=e,this.state=t,this.explicitPos=i}hasResult(){return!1}update(e,t){let i=cd(e),r=this;i?r=r.handleUserEvent(e,i,t):e.docChanged?r=r.handleChange(e):e.selection&&r.state!=0&&(r=new un(r.source,0));for(let s of e.effects)if(s.is(Id))r=new un(r.source,1,s.value?bs(e.state):-1);else if(s.is(Rc))r=new un(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 un(this.source,1)}handleChange(e){return e.changes.touchesRange(bs(e.startState))?new un(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new un(this.source,this.state,e.mapPos(this.explicitPos))}}class Eo extends un{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=bs(e.state);if((this.explicitPos<0?o<=s:ol||t=="delete"&&bs(e.startState)==this.from)return new un(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 Iw(e.state,o,f>=0)))?new Eo(this.source,f,u,u.from,(r=u.to)!==null&&r!==void 0?r:bs(e.state)):new un(this.source,1,f)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new un(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):Lw(n,!0).test(r)}const Id=Me.define(),Rc=Me.define(),Bw=Me.define({map(n,e){return n.map(t=>t.map(e))}}),Fw=Me.define(),Dn=wi.define({create(){return Zc.start()},update(n,e){return n.update(e)},provide:n=>[kd.from(n,e=>e.tooltip),be.contentAttributes.from(n,e=>e.attrs)]});function zf(n,e="option"){return t=>{let i=t.state.field(Dn,!1);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp-1?i.open.selected+r*(n?1:-1):n?0:l-1;return o<0?o=e=="page"?0:l-1:o>=l&&(o=e=="page"?l-1:0),t.dispatch({effects:Fw.of(o)}),!0}}const zZ=n=>{let e=n.state.field(Dn,!1);return n.state.readOnly||!e||!e.open||e.open.selected<0||Date.now()-e.open.timestampn.state.field(Dn,!1)?(n.dispatch({effects:Id.of(!0)}),!0):!1,NZ=n=>{let e=n.state.field(Dn,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(n.dispatch({effects:Rc.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 $0=50,jZ=50,BZ=1e3,FZ=di.fromClass(class{constructor(n){this.view=n,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of n.state.field(Dn).active)e.state==1&&this.startQuery(e)}update(n){let e=n.state.field(Dn);if(!n.selectionSet&&!n.docChanged&&n.startState.field(Dn)==e)return;let t=n.transactions.some(i=>(i.selection||i.docChanged)&&!cd(i));for(let i=0;ijZ&&Date.now()-r.time>BZ){for(let s of r.context.abortListeners)try{s()}catch(l){kn(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(),$0):-1,this.composing!=0)for(let i of n.transactions)cd(i)=="input"?this.composing=2:this.composing==2&&i.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:n}=this.view,e=n.field(Dn);for(let t of e.active)t.state==1&&!this.running.some(i=>i.active.source==t.source)&&this.startQuery(t)}startQuery(n){let{state:e}=this.view,t=bs(e),i=new Iw(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:Rc.of(null)}),kn(this.view.state,s)})}scheduleAccept(){this.running.every(n=>n.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),$0))}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 un(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(Dn,!1);n&&n.tooltip&&this.view.state.facet(jn).closeOnBlur&&this.view.dispatch({effects:Rc.of(null)})},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:Id.of(!1)}),20),this.composing=0}}}),Gw=be.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 Nd{constructor(e,t,i){this.field=e,this.from=t,this.to=i}map(e){let t=e.mapPos(this.from,-1,Ai.TrackDel),i=e.mapPos(this.to,1,Ai.TrackDel);return t==null||i==null?null:new Nd(this.field,t,i)}}class Ld{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 Nd(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 Ld(i,r)}}let HZ=Re.widget({widget:new class extends Ws{toDOM(){let n=document.createElement("span");return n.className="cm-snippetFieldPosition",n}ignoreEvent(){return!1}}}),KZ=Re.mark({class:"cm-snippetField"});class Bl{constructor(e,t){this.ranges=e,this.active=t,this.deco=Re.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 Bl(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=Me.define({map(n,e){return n&&n.map(e)}}),JZ=Me.define(),ia=wi.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 Bl(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=>be.decorations.from(n,e=>e?e.deco:Re.none)});function jd(n,e){return K.create(n.filter(t=>t.field==e).map(t=>K.range(t.from,t.to)))}function eR(n){let e=Ld.parse(n);return(t,i,r,s)=>{let{text:l,ranges:o}=e.instantiate(t.state,r),f={changes:{from:r,to:s,insert:St.of(l)},scrollIntoView:!0};if(o.length&&(f.selection=jd(o,0)),o.length>1){let u=new Bl(o,0),h=f.effects=[Oa.of(u)];t.state.field(ia,!1)===void 0&&h.push(Me.appendConfig.of([ia,sR,lR,Gw]))}t.dispatch(t.state.update(f))}}function Hw(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:jd(i.ranges,r),effects:Oa.of(s?null:new Bl(i.ranges,r))})),!0}}const tR=({state:n,dispatch:e})=>n.field(ia,!1)?(e(n.update({effects:Oa.of(null)})),!0):!1,iR=Hw(1),nR=Hw(-1),rR=[{key:"Tab",run:iR,shift:nR},{key:"Escape",run:tR}],Q0=Pe.define({combine(n){return n.length?n[0]:rR}}),sR=Js.highest(oa.compute([Q0],n=>n.facet(Q0)));function rr(n,e){return Object.assign(Object.assign({},e),{apply:eR(n)})}const lR=be.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:jd(t.ranges,r.field),effects:Oa.of(t.ranges.some(s=>s.field>r.field)?new Bl(t.ranges,r.field):null)}),!0)}}),na={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Bs=Me.define({map(n,e){let t=e.mapPos(n,-1,Ai.TrackAfter);return t??void 0}}),Bd=Me.define({map(n,e){return e.mapPos(n)}}),Fd=new class extends Gs{};Fd.startSide=1;Fd.endSide=-1;const Kw=wi.define({create(){return wt.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=wt.empty)}n=n.map(e.changes);for(let t of e.effects)t.is(Bs)?n=n.update({add:[Fd.range(t.value,t.value+1)]}):t.is(Bd)&&(n=n.update({filter:i=>i!=t.value}));return n}});function oR(){return[fR,Kw]}const tO="()[]{}<>";function Jw(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&&yn(Zi(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=ey(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&&tu(n.doc,l.head)==Jw(Zi(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=ey(n,n.selection.main.head),i=t.brackets||na.brackets;for(let r of i){let s=Jw(Zi(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&&ty(n,n.selection.main.from))return pR(n,r,s)}return null}function ty(n,e){let t=!1;return n.field(Kw).between(0,n.doc.length,i=>{i==e&&(t=!0)}),t}function tu(n,e){let t=n.sliceString(e,e+2);return t.slice(0,yn(Zi(t,0)))}function OR(n,e){let t=n.sliceString(e-2,e);return yn(Zi(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:Bs.of(l.to+e.length),range:K.range(l.anchor+e.length,l.head+e.length)};let o=tu(n.doc,l.head);return!o||/\s/.test(o)||i.indexOf(o)>-1?{changes:{insert:e+t,from:l.head},effects:Bs.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&&tu(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})=>Bd.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:Bs.of(o.to+e.length),range:K.range(o.anchor+e.length,o.head+e.length)};let f=o.head,u=tu(n.doc,f),h;if(u==e){if(w0(n,f))return{changes:{insert:e+e,from:f},effects:Bs.of(f+e.length),range:K.cursor(f+e.length)};if(ty(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:Bd.of(f)}}}else{if(t&&n.sliceDoc(f-2*e.length,f)==e+e&&(h=y0(n,f-2*e.length,r))>-1&&w0(n,h))return{changes:{insert:e+e+e+e,from:f},effects:Bs.of(f+e.length),range:K.cursor(f+e.length)};if(n.charCategorizer(f)(u)!=zt.Word&&y0(n,f,r)>-1&&!mR(n,f,e,r))return{changes:{insert:e+e,from:f},effects:Bs.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 w0(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 y0(n,e,t){let i=n.charCategorizer(e);if(i(n.sliceDoc(e-1,e))!=zt.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))!=zt.Word)return s}return-1}function SR(n={}){return[Dn,jn.of(n),FZ,bR,Gw]}const iy=[{key:"Ctrl-Space",run:IZ},{key:"Escape",run:NZ},{key:"ArrowDown",run:zf(!0)},{key:"ArrowUp",run:zf(!1)},{key:"PageDown",run:zf(!0,"page")},{key:"PageUp",run:zf(!1,"page")},{key:"Enter",run:zZ}],bR=Js.highest(oa.computeN([jn],n=>n.facet(jn).defaultKeymap?[iy]:[]));class $R{constructor(e,t,i){this.from=e,this.to=t,this.diagnostic=i}}class Ns{constructor(e,t,i){this.diagnostics=e,this.panel=t,this.selected=i}static init(e,t,i){let r=e,s=i.facet(vl).markerFilter;s&&(r=s(r));let l=Re.set(r.map(o=>o.from==o.to||o.from==o.to-1&&i.doc.lineAt(o.from).to==o.from?Re.widget({widget:new CR(o),diagnostic:o}).range(o.from):Re.mark({attributes:{class:"cm-lintRange cm-lintRange-"+o.severity},diagnostic:o}).range(o.from,o.to)),!0);return new Ns(l,t,El(l))}}function El(n,e=null,t=0){let i=null;return n.between(t,1e9,(r,s,{spec:l})=>{if(!(e&&l.diagnostic!=e))return i=new $R(r,s,l.diagnostic),!1}),i}function QR(n,e){return!!(n.effects.some(t=>t.is(Gd))||n.changes.touchesRange(e.pos))}function ny(n,e){return n.field(Pn,!1)?e:e.concat(Me.appendConfig.of([Pn,be.decorations.compute([Pn],t=>{let{selected:i,panel:r}=t.field(Pn);return!i||!r||i.from==i.to?Re.none:Re.set([yR.range(i.from,i.to)])}),vC(vR,{hideOn:QR}),TR]))}function wR(n,e){return{effects:ny(n,[Gd.of(e)])}}const Gd=Me.define(),Hd=Me.define(),ry=Me.define(),Pn=wi.define({create(){return new Ns(Re.none,null,null)},update(n,e){if(e.docChanged){let t=n.diagnostics.map(e.changes),i=null;if(n.selected){let r=e.changes.mapPos(n.selected.from,1);i=El(t,n.selected.diagnostic,r)||El(t,null,r)}n=new Ns(t,n.panel,i)}for(let t of e.effects)t.is(Gd)?n=Ns.init(t.value,n.panel,e.state):t.is(Hd)?n=new Ns(n.diagnostics,t.value?iu.open:null,n.selected):t.is(ry)&&(n=new Ns(n.diagnostics,n.panel,t.value));return n},provide:n=>[Ho.from(n,e=>e.panel),be.decorations.from(n,e=>e.diagnostics)]}),yR=Re.mark({class:"cm-lintRange cm-lintRange-active"});function vR(n,e,t){let{diagnostics:i}=n.state.field(Pn),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)&&(ely(n,t,!1)))}const kR=n=>{let e=n.state.field(Pn,!1);(!e||!e.panel)&&n.dispatch({effects:ny(n.state,[Hd.of(!0)])});let t=Go(n,iu.open);return t&&t.dom.querySelector(".cm-panel-lint ul").focus(),!0},v0=n=>{let e=n.state.field(Pn,!1);return!e||!e.panel?!1:(n.dispatch({effects:Hd.of(!1)}),!0)},_R=n=>{let e=n.state.field(Pn,!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=di.fromClass(class{constructor(n){this.view=n,this.timeout=-1,this.set=!0;let{delay:e}=n.state.facet(vl);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=>{kn(this.view.state,i)})}}update(n){let e=n.state.facet(vl);(n.docChanged||e!=n.startState.facet(vl))&&(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)}}),vl=Pe.define({combine(n){return Object.assign({sources:n.map(e=>e.source)},xr(n.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null}))},enables:xR});function sy(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 ly(n,e,t){var i;let r=t?sy(e.actions):[];return xt("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},xt("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=El(n.state.field(Pn).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),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 CR extends Ws{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 P0{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=ly(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class iu{constructor(e){this.view=e,this.items=[];let t=r=>{if(r.keyCode==27)v0(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=sy(s.actions);for(let o=0;o{for(let s=0;sv0(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(Pn).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(Pn),i=El(t.diagnostics,this.items[e].diagnostic);i&&this.view.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:ry.of(i)})}static open(e){return new iu(e)}}function XR(n,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(n)}')`}function iO(n){return XR(``,'width="6" height="3"')}const TR=be.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:iO("#d11")},".cm-lintRange-warning":{backgroundImage:iO("orange")},".cm-lintRange-info":{backgroundImage:iO("#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=(()=>[RC(),YC(),iC(),tT(),WX(),N5(),G5(),ut.allowMultipleSelections.of(!0),gX(),HQ(TX,{fallback:!0}),qX(),oR(),SR(),dC(),mC(),aC(),sZ(),oa.of([...uR,...JT,...vZ,...cT,...PX,...iy,...WR])])(),Wi=({variant:n,settings:e,styles:t})=>{const i=be.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,HQ(r)]};Wi({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"}]});Wi({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"}]});Wi({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"}]});Wi({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"}]});Wi({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"}]});Wi({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"}]});Wi({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"}]});Wi({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"}]});Wi({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"}]});Wi({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"}]});Wi({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"}]});Wi({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"}]});Wi({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"}]});Wi({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"}]});Wi({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"}]});Wi({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=Il({String:S.string,Number:S.number,"True False":S.bool,PropertyName:S.propertyName,Null:S.null,",":S.separator,"[ ]":S.squareBracket,"{ }":S.brace}),AR=Ps.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=ks.define({name:"json",parser:AR.configure({props:[Nl.add({Object:Tl({except:/^\s*\}/}),Array:Tl({except:/^\s*\]/})}),Ll.add({"Object Array":$r})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function YR(){return new fa(UR)}const VR=54,qR=1,ER=55,MR=2,DR=56,zR=3,k0=4,IR=5,Ac=6,oy=7,ay=8,fy=9,cy=10,NR=11,LR=12,jR=13,nO=57,BR=14,_0=58,uy=20,FR=22,hy=23,GR=24,ud=26,Oy=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},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 lA(n){return n==45||n==46||n==58||n>=65&&n<=90||n==95||n>=97&&n<=122||n>=161}function dy(n){return n==9||n==10||n==13||n==32}let x0=null,C0=null,X0=0;function hd(n,e){let t=n.pos+e;if(X0==t&&C0==n)return x0;let i=n.peek(e);for(;dy(i);)i=n.peek(++e);let r="";for(;lA(i);)r+=String.fromCharCode(i),i=n.peek(++e);return C0=n,X0=t,x0=r?r.toLowerCase():i==oA||i==aA?void 0:null}const py=60,Uc=62,Kd=47,oA=63,aA=33,fA=45;function T0(n,e){this.name=n,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t-1?new T0(hd(i,1)||"",n):n},reduce(n,e){return e==uy&&n?n.parent:n},reuse(n,e,t,i){let r=e.type.id;return r==Ac||r==eA?new T0(hd(i,1)||"",n):n},hash(n){return n?n.hash:0},strict:!1}),hA=new Cr((n,e)=>{if(n.next!=py){n.next<0&&e.context&&n.acceptToken(nO);return}n.advance();let t=n.next==Kd;t&&n.advance();let i=hd(n,0);if(i===void 0)return;if(!i)return n.acceptToken(t?BR:Ac);let r=e.context?e.context.name:null;if(t){if(i==r)return n.acceptToken(NR);if(r&&sA[r])return n.acceptToken(nO,-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(jR)}else{if(i=="script")return n.acceptToken(oy);if(i=="style")return n.acceptToken(ay);if(i=="textarea")return n.acceptToken(fy);if(rA.hasOwnProperty(i))return n.acceptToken(cy);r&&W0[r]&&W0[r][i]?n.acceptToken(nO,-1):n.acceptToken(Ac)}},{contextual:!0}),OA=new Cr(n=>{for(let e=0,t=0;;t++){if(n.next<0){t&&n.acceptToken(_0);break}if(n.next==fA)e++;else if(n.next==Uc&&e>=2){t>3&&n.acceptToken(_0,-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 Cr((n,e)=>{if(n.next==Kd&&n.peek(1)==Uc){let t=e.dialectEnabled(nA)||dA(e.context);n.acceptToken(t?IR:k0,2)}else n.next==Uc&&n.acceptToken(k0,1)});function Jd(n,e,t){let i=2+n.length;return new Cr(r=>{for(let s=0,l=0,o=0;;o++){if(r.next<0){o&&r.acceptToken(e);break}if(s==0&&r.next==py||s==1&&r.next==Kd||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=Jd("script",VR,qR),mA=Jd("style",ER,MR),SA=Jd("textarea",DR,zR),bA=Il({"Text RawText":S.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":S.angleBracket,TagName:S.tagName,"MismatchedCloseTag/TagName":[S.tagName,S.invalid],AttributeName:S.attributeName,"AttributeValue UnquotedAttributeValue":S.attributeValue,Is:S.definitionOperator,"EntityReference CharacterReference":S.character,Comment:S.blockComment,ProcessingInst:S.processingInstruction,DoctypeDecl:S.documentMeta}),$A=Ps.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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!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXhgXTgX~OS!fOhyO~OS!gOhyO~OS!hOhyO~OS!iOT!jOhyO~OS!jOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context: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",-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Hp!a!b# p!b#s!Nc#s$f!Hp$f;'S!Nc;'S;=`#!}<%l?Ah!Nc?Ah?BY!Hp?BY?Mn!Nc?MnO!HpT# ubhSOq!Hpqr!Ncrs!Hpsw!Ncwx!Hpx!P!Nc!P!Q!Hp!Q!_!Nc!_!`!Hp!`!a!If!a#s!Nc#s$f!Hp$f;'S!Nc;'S;=`#!}<%l?Ah!Nc?Ah?BY!Hp?BY?Mn!Nc?MnO!HpT##QP;=`<%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 gy(n,e){let t=Object.create(null);for(let i of n.getChildren(hy)){let r=i.getChild(GR),s=i.getChild(ud)||i.getChild(Oy);r&&(t[e.read(r.from,r.to)]=s?s.type.id==ud?e.read(s.from+1,s.to-1):e.read(s.from,s.to):"")}return t}function Z0(n,e){let t=n.getChild(FR);return t?e.read(t.from,t.to):" "}function rO(n,e,t){let i;for(let r of t)if(!r.attrs||r.attrs(i||(i=gy(n.node.parent.firstChild,e))))return{parser:r.parser};return null}function my(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 rO(o,f,t);if(u==KR)return rO(o,f,i);if(u==JR)return rO(o,f,r);if(u==uy&&s.length){let h=o.node,O=h.firstChild,p=O&&Z0(O,f),g;if(p){for(let b of s)if(b.tag==p&&(!b.attrs||b.attrs(g||(g=gy(h,f))))){let Q=h.lastChild;return{parser:b.parser,overlay:[{from:O.to,to:Q.type.id==tA?Q.from:h.to}]}}}}if(l&&u==hy){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!=Z0(h.parent,f))continue;let b=h.lastChild;if(b.type.id==ud){let Q=b.from+1,$=b.lastChild,P=b.to-($&&$.isError?0:1);if(P>Q)return{parser:g.parser,overlay:[{from:Q,to:P}]}}else if(b.type.id==Oy)return{parser:g.parser,overlay:[{from:b.from,to:b.to}]}}}}return null})}const QA=95,R0=1,wA=96,yA=97,A0=2,Sy=[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,by=95,kA=91,ic=45,_A=46,WA=35,xA=37;function Yc(n){return n>=65&&n<=90||n>=97&&n<=122||n>=161}function CA(n){return n>=48&&n<=57}const XA=new Cr((n,e)=>{for(let t=!1,i=0,r=0;;r++){let{next:s}=n;if(Yc(s)||s==ic||s==by||t&&CA(s))!t&&(s!=ic||r>0)&&(t=!0),i===r&&s==ic&&i++,n.advance();else{t&&n.acceptToken(s==PA?wA:i==2&&e.canShift(A0)?A0:yA);break}}}),TA=new Cr(n=>{if(Sy.includes(n.peek(-1))){let{next:e}=n;(Yc(e)||e==by||e==WA||e==_A||e==kA||e==vA||e==ic)&&n.acceptToken(QA)}}),ZA=new Cr(n=>{if(!Sy.includes(n.peek(-1))){let{next:e}=n;if(e==xA&&(n.advance(),n.acceptToken(R0)),Yc(e)){do n.advance();while(Yc(n.next));n.acceptToken(R0)}}}),RA=Il({"AtKeyword import charset namespace keyframes media supports":S.definitionKeyword,"from to selector":S.keyword,NamespaceName:S.namespace,KeyframeName:S.labelName,KeyframeRangeName:S.operatorKeyword,TagName:S.tagName,ClassName:S.className,PseudoClassName:S.constant(S.className),IdName:S.labelName,"FeatureName PropertyName":S.propertyName,AttributeName:S.attributeName,NumberLiteral:S.number,KeywordQuery:S.keyword,UnaryQueryOp:S.operatorKeyword,"CallTag ValueName":S.atom,VariableName:S.variableName,Callee:S.operatorKeyword,Unit:S.unit,"UniversalSelector NestingSelector":S.definitionOperator,MatchOp:S.compareOperator,"ChildOp SiblingOp, LogicOp":S.logicOperator,BinOp:S.arithmeticOperator,Important:S.modifier,Comment:S.blockComment,ColorLiteral:S.color,"ParenthesizedContent StringLiteral":S.string,":":S.punctuation,"PseudoOp #":S.derefOperator,"; ,":S.separator,"( )":S.paren,"[ ]":S.squareBracket,"{ }":S.brace}),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=Ps.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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`%o<%lO%^XG_WOy%^z!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHO[!YPoWOy%^z}%^}!OGw!O!Q%^!Q![Gw![!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHySxPOy%^z;'S%^;'S;=`%o<%lO%^^I[SvUOy%^z;'S%^;'S;=`%o<%lO%^XIkUOy%^z#b%^#b#cI}#c;'S%^;'S;=`%o<%lO%^XJSUoWOy%^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 sO=null;function lO(){if(!sO&&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)));sO=e.sort().map(i=>({type:"property",label:i}))}return sO||[]}const U0=["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})),Y0=["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 V0=new RQ,DA=["Declaration"];function zA(n){for(let e=n;;){if(e.type.isTop)return e;if(!(e=e.parent))return n}}function $y(n,e,t){if(e.to-e.from>4096){let i=V0.get(e);if(i)return i;let r=[],s=new Set,l=e.cursor(Rt.IncludeAnonymous);if(l.firstChild())do for(let o of $y(n,l.node,t))s.has(o.label)||(s.add(o.label),r.push(o));while(l.nextSibling());return V0.set(e,r),r}else{let i=[],r=new Set;return e.cursor().iterate(s=>{var l;if(t(s)&&s.matchContext(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:lO(),validFor:cs};if(r.name=="ValueName")return{from:r.from,options:Y0,validFor:cs};if(r.name=="PseudoClassName")return{from:r.from,options:U0,validFor:cs};if(n(r)||(e.explicit||s)&&MA(r,t.doc))return{from:n(r)||s?r.from:i,options:$y(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:lO(),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:U0,validFor:cs}:o&&o.name==":"&&l.name=="Declaration"||l.name=="ArgList"?{from:i,options:Y0,validFor:cs}:l.name=="Block"||l.name=="Styles"?{from:i,options:lO(),validFor:cs}:null},NA=IA(n=>n.name=="VariableName"),Vc=ks.define({name:"css",parser:VA.configure({props:[Nl.add({Declaration:Tl()}),Ll.add({Block:$r})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function LA(){return new fa(Vc,Vc.data.of({autocomplete:NA}))}const q0=302,E0=1,jA=2,M0=303,BA=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],Qy=125,JA=59,D0=47,e9=42,t9=43,i9=45,n9=new YQ({start:!1,shift(n,e){return e==GA||e==HA||e==BA?n:e==FA},strict:!1}),r9=new Cr((n,e)=>{let{next:t}=n;(t==Qy||t==-1||e.context)&&e.canShift(M0)&&n.acceptToken(M0)},{contextual:!0,fallback:!0}),s9=new Cr((n,e)=>{let{next:t}=n,i;KA.indexOf(t)>-1||t==D0&&((i=n.peek(1))==D0||i==e9)||t!=Qy&&t!=JA&&t!=-1&&!e.context&&e.canShift(q0)&&n.acceptToken(q0)},{contextual:!0}),l9=new Cr((n,e)=>{let{next:t}=n;if((t==t9||t==i9)&&(n.advance(),t==n.next)){n.advance();let i=!e.context&&e.canShift(E0);n.acceptToken(i?E0:jA)}},{contextual:!0}),o9=Il({"get set async static":S.modifier,"for while do if else switch try catch finally return throw break continue default case":S.controlKeyword,"in of await yield void typeof delete instanceof":S.operatorKeyword,"let var const 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=Ps.deserialize({version:14,states:"$6[O`QUOOO%QQUOOO'TQWOOP(bOSOOO*pQ(CjO'#CfO*wOpO'#CgO+VO!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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: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!^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h9=[rr("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),rr("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),rr("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),rr("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),rr("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),rr(`try { \${} } catch (\${error}) { \${} @@ -25,35 +25,35 @@ var $x=Object.defineProperty;var Qx=(n,e,t)=>e in n?$x(n,e,{enumerable:!0,config constructor(\${params}) { \${} } -}`,{label:"class",detail:"definition",type:"keyword"}),rr('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),rr('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],z0=new RQ,wy=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 yy(n,e){let t=z0.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)||wy.has(l.name))return!1}else if(l.to-l.from>8192){for(let o of yy(n,l.node))i.push(o);return!1}}),z0.set(e,i),i}const I0=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,vy=["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(vy.indexOf(e.name)>-1)return null;let t=e.name=="VariableName"||e.to-e.from<20&&I0.test(n.state.sliceDoc(e.from,e.to));if(!t&&!n.explicit)return null;let i=[];for(let r=e;r;r=r.parent)wy.has(r.name)&&(i=i.concat(yy(n.state.doc,r)));return{options:i,from:t?e.from:n.pos,validFor:I0}}const _r=ks.define({name:"javascript",parser:u9.configure({props:[Nl.add({IfStatement:Tl({except:/^\s*({|else\b)/}),TryStatement:Tl({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:cs({closing:"}"}),ArrowFunction:n=>n.baseIndent+n.unit,"TemplateString BlockComment":()=>null,"Statement Property":Tl({except:/^{/}),JSXElement(n){let e=/^\s*<\//.test(n.textAfter);return n.lineIndent(n.node.from)+(e?0:n.unit)},JSXEscape(n){let e=/\s*\}/.test(n.textAfter);return n.lineIndent(n.node.from)+(e?0:n.unit)},"JSXOpenTag JSXSelfClosingTag"(n){return n.column(n.node.from)+n.unit}}),Ll.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":br,BlockComment(n){return{from:n.from+2,to:n.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),Py={test:n=>/^JSX/.test(n.name),facet:EQ({commentTokens:{block:{open:"{/*",close:"*/}"}}})},ky=_r.configure({dialect:"ts"},"typescript"),_y=_r.configure({dialect:"jsx",props:[Td.add(n=>n.isTop?[Py]:void 0)]}),Wy=_r.configure({dialect:"jsx ts",props:[Td.add(n=>n.isTop?[Py]: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?Wy:_y:n.typescript?ky:_r;return new fa(e,[_r.data.of({autocomplete:xZ(vy,Nw(h9.concat(g9)))}),_r.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 N0(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=Se.inputHandler.of((n,e,t,i)=>{if(($9?n.composing:n.compositionStarted)||n.state.readOnly||e!=t||i!=">"&&i!="/"||!_r.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=N0(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"],oO=["ascii","utf-8","utf-16","latin1","latin1"],aO=["get","post","put","delete"],fO=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],Qn=["true","false"],We={},w9={a:{attrs:{href:null,ping:null,type:null,media:null,target:Po,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:Po}},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:fO,formmethod:aO,formnovalidate:["novalidate"],formtarget:Po,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":oO,autocomplete:["on","off"],enctype:fO,method:aO,novalidate:["novalidate"],target:Po}},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:fO,formmethod:aO,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: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:oO,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:oO}},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},xy={accesskey:null,class:null,contenteditable:Qn,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:Qn,autocorrect:Qn,autocapitalize:Qn,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":Qn,"aria-autocomplete":["inline","list","both","none"],"aria-busy":Qn,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":Qn,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":Qn,"aria-hidden":Qn,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":Qn,"aria-multiselectable":Qn,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":Qn,"aria-relevant":null,"aria-required":Qn,"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},Cy="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 Cy)xy[n]=null;class qc{constructor(e,t){this.tags=Object.assign(Object.assign({},w9),e),this.globalAttrs=Object.assign(Object.assign({},xy),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}qc.default=new qc;function Ml(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 Dl(n,e=!1){for(;n;n=n.parent)if(n.name=="Element")if(e)e=!1;else return n;return null}function Xy(n,e,t){let i=t.tags[Ml(n,Dl(e))];return(i==null?void 0:i.children)||t.allTags}function Jd(n,e){let t=[];for(let i=Dl(e);i&&!i.type.isTop;i=Dl(i.parent)){let r=Ml(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 Ty=/^[:\-\.\w\u00b7-\uffff]*$/;function L0(n,e,t,i,r){let s=/\s*>/.test(n.sliceDoc(r,r+5))?"":">",l=Dl(t,!0);return{from:i,to:r,options:Xy(n.doc,l,e).map(o=>({label:o,type:"type"})).concat(Jd(n.doc,t).map((o,f)=>({label:"/"+o,apply:"/"+o+s,type:"type",boost:99-f}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function B0(n,e,t,i){let r=/\s*>/.test(n.sliceDoc(i,i+5))?"":">";return{from:t,to:i,options:Jd(n.doc,e).map((s,l)=>({label:s,apply:s+r,type:"type",boost:99-l})),validFor:Ty}}function y9(n,e,t,i){let r=[],s=0;for(let l of Xy(n.doc,t,e))r.push({label:"<"+l,type:"type"});for(let l of Jd(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=Dl(t),l=s?e.tags[Ml(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:Ty}}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=Dl(t),p=O?e.tags[Ml(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=_r.parser.configure({top:"SingleExpression"}),Zy=[{tag:"script",attrs:n=>n.type=="text/typescript"||n.lang=="ts",parser:ky.parser},{tag:"script",attrs:n=>n.type=="text/babel"||n.type=="text/jsx",parser:_y.parser},{tag:"script",attrs:n=>n.type=="text/typescript-jsx",parser:Wy.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:_r.parser},{tag:"style",attrs(n){return(!n.lang||n.lang=="css")&&(!n.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(n.type))},parser:Vc.parser}],Ry=[{name:"style",parser:Vc.parser.configure({top:"Styles"})}].concat(Cy.map(n=>({name:n,parser:_r.parser}))),Ay=ks.define({name:"html",parser:$A.configure({props:[Nl.add({Element(n){let e=/^(\s*)(<\/)?/.exec(n.textAfter);return n.node.to<=n.pos+e[0].length?n.continue():n.lineIndent(n.node.from)+(e[2]?0:n.unit)},"OpenTag CloseTag SelfClosingTag"(n){return n.column(n.node.from)+n.unit},Document(n){if(n.pos+/\s*/.exec(n.textAfter)[0].lengthn.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),nc=Ay.configure({wrap:my(Zy,Ry)});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=my((n.nestedLanguages||[]).concat(Zy),(n.nestedAttributes||[]).concat(Ry)));let i=t?Ay.configure({wrap:t,dialect:e}):e?nc.configure({dialect:e}):nc;return new fa(i,[nc.data.of({autocomplete:_9(n)}),n.autoCloseTags!==!1?C9:[],m9().support,LA().support])}const j0=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),C9=Se.inputHandler.of((n,e,t,i,r)=>{if(n.composing||n.state.readOnly||e!=t||i!=">"&&i!="/"||!nc.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"&&($=Ml(l.doc,b.parent,g))&&!j0.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"&&($=Ml(l.doc,Q,g))&&!j0.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 Ec={exports:{}};/** +}`,{label:"class",detail:"definition",type:"keyword"}),rr('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),rr('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],z0=new RQ,wy=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 yy(n,e){let t=z0.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(Rt.IncludeAnonymous).iterate(l=>{if(r)r=!1;else if(l.name){let o=d9[l.name];if(o&&o(l,s)||wy.has(l.name))return!1}else if(l.to-l.from>8192){for(let o of yy(n,l.node))i.push(o);return!1}}),z0.set(e,i),i}const I0=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,vy=["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(vy.indexOf(e.name)>-1)return null;let t=e.name=="VariableName"||e.to-e.from<20&&I0.test(n.state.sliceDoc(e.from,e.to));if(!t&&!n.explicit)return null;let i=[];for(let r=e;r;r=r.parent)wy.has(r.name)&&(i=i.concat(yy(n.state.doc,r)));return{options:i,from:t?e.from:n.pos,validFor:I0}}const Wr=ks.define({name:"javascript",parser:u9.configure({props:[Nl.add({IfStatement:Tl({except:/^\s*({|else\b)/}),TryStatement:Tl({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":Tl({except:/^{/}),JSXElement(n){let e=/^\s*<\//.test(n.textAfter);return n.lineIndent(n.node.from)+(e?0:n.unit)},JSXEscape(n){let e=/\s*\}/.test(n.textAfter);return n.lineIndent(n.node.from)+(e?0:n.unit)},"JSXOpenTag JSXSelfClosingTag"(n){return n.column(n.node.from)+n.unit}}),Ll.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":$r,BlockComment(n){return{from:n.from+2,to:n.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),Py={test:n=>/^JSX/.test(n.name),facet:EQ({commentTokens:{block:{open:"{/*",close:"*/}"}}})},ky=Wr.configure({dialect:"ts"},"typescript"),_y=Wr.configure({dialect:"jsx",props:[Zd.add(n=>n.isTop?[Py]:void 0)]}),Wy=Wr.configure({dialect:"jsx ts",props:[Zd.add(n=>n.isTop?[Py]: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?Wy:_y:n.typescript?ky:Wr;return new fa(e,[Wr.data.of({autocomplete:xZ(vy,Nw(h9.concat(g9)))}),Wr.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 N0(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=be.inputHandler.of((n,e,t,i)=>{if(($9?n.composing:n.compositionStarted)||n.state.readOnly||e!=t||i!=">"&&i!="/"||!Wr.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=N0(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"],oO=["ascii","utf-8","utf-16","latin1","latin1"],aO=["get","post","put","delete"],fO=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],Qn=["true","false"],xe={},w9={a:{attrs:{href:null,ping:null,type:null,media:null,target:Po,hreflang:null}},abbr:xe,address:xe,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:xe,aside:xe,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:xe,base:{attrs:{href:null,target:Po}},bdi:xe,bdo:xe,blockquote:{attrs:{cite:null}},body:xe,br:xe,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:fO,formmethod:aO,formnovalidate:["novalidate"],formtarget:Po,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:xe,center:xe,cite:xe,code:xe,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:xe,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:xe,div:xe,dl:xe,dt:xe,em:xe,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:xe,figure:xe,footer:xe,form:{attrs:{action:null,name:null,"accept-charset":oO,autocomplete:["on","off"],enctype:fO,method:aO,novalidate:["novalidate"],target:Po}},h1:xe,h2:xe,h3:xe,h4:xe,h5:xe,h6:xe,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:xe,hgroup:xe,hr:xe,html:{attrs:{manifest:null}},i:xe,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:fO,formmethod:aO,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:xe,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:xe,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:xe,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:oO,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:xe,noscript:xe,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:xe,param:{attrs:{name:null,value:null}},pre:xe,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:xe,rt:xe,ruby:xe,samp:xe,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:oO}},section:xe,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:xe,source:{attrs:{src:null,type:null,media:null}},span:xe,strong:xe,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:xe,summary:xe,sup:xe,table:xe,tbody:xe,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:xe,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:xe,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:xe,time:{attrs:{datetime:null}},title:xe,tr:xe,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:xe,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:xe},xy={accesskey:null,class:null,contenteditable:Qn,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:Qn,autocorrect:Qn,autocapitalize:Qn,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":Qn,"aria-autocomplete":["inline","list","both","none"],"aria-busy":Qn,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":Qn,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":Qn,"aria-hidden":Qn,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":Qn,"aria-multiselectable":Qn,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":Qn,"aria-relevant":null,"aria-required":Qn,"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},Cy="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 Cy)xy[n]=null;class qc{constructor(e,t){this.tags=Object.assign(Object.assign({},w9),e),this.globalAttrs=Object.assign(Object.assign({},xy),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}qc.default=new qc;function Ml(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 Dl(n,e=!1){for(;n;n=n.parent)if(n.name=="Element")if(e)e=!1;else return n;return null}function Xy(n,e,t){let i=t.tags[Ml(n,Dl(e))];return(i==null?void 0:i.children)||t.allTags}function ep(n,e){let t=[];for(let i=Dl(e);i&&!i.type.isTop;i=Dl(i.parent)){let r=Ml(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 Ty=/^[:\-\.\w\u00b7-\uffff]*$/;function L0(n,e,t,i,r){let s=/\s*>/.test(n.sliceDoc(r,r+5))?"":">",l=Dl(t,!0);return{from:i,to:r,options:Xy(n.doc,l,e).map(o=>({label:o,type:"type"})).concat(ep(n.doc,t).map((o,f)=>({label:"/"+o,apply:"/"+o+s,type:"type",boost:99-f}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function j0(n,e,t,i){let r=/\s*>/.test(n.sliceDoc(i,i+5))?"":">";return{from:t,to:i,options:ep(n.doc,e).map((s,l)=>({label:s,apply:s+r,type:"type",boost:99-l})),validFor:Ty}}function y9(n,e,t,i){let r=[],s=0;for(let l of Xy(n.doc,t,e))r.push({label:"<"+l,type:"type"});for(let l of ep(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=Dl(t),l=s?e.tags[Ml(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:Ty}}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=Dl(t),p=O?e.tags[Ml(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=Wr.parser.configure({top:"SingleExpression"}),Zy=[{tag:"script",attrs:n=>n.type=="text/typescript"||n.lang=="ts",parser:ky.parser},{tag:"script",attrs:n=>n.type=="text/babel"||n.type=="text/jsx",parser:_y.parser},{tag:"script",attrs:n=>n.type=="text/typescript-jsx",parser:Wy.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:Wr.parser},{tag:"style",attrs(n){return(!n.lang||n.lang=="css")&&(!n.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(n.type))},parser:Vc.parser}],Ry=[{name:"style",parser:Vc.parser.configure({top:"Styles"})}].concat(Cy.map(n=>({name:n,parser:Wr.parser}))),Ay=ks.define({name:"html",parser:$A.configure({props:[Nl.add({Element(n){let e=/^(\s*)(<\/)?/.exec(n.textAfter);return n.node.to<=n.pos+e[0].length?n.continue():n.lineIndent(n.node.from)+(e[2]?0:n.unit)},"OpenTag CloseTag SelfClosingTag"(n){return n.column(n.node.from)+n.unit},Document(n){if(n.pos+/\s*/.exec(n.textAfter)[0].lengthn.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),nc=Ay.configure({wrap:my(Zy,Ry)});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=my((n.nestedLanguages||[]).concat(Zy),(n.nestedAttributes||[]).concat(Ry)));let i=t?Ay.configure({wrap:t,dialect:e}):e?nc.configure({dialect:e}):nc;return new fa(i,[nc.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=be.inputHandler.of((n,e,t,i,r)=>{if(n.composing||n.state.readOnly||e!=t||i!=">"&&i!="/"||!nc.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),Q;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"&&(Q=Ml(l.doc,b.parent,g))&&!B0.has(Q)){let $=g+(l.doc.sliceString(g,g+1)===">"?1:0),P=``;return{range:f,changes:{from:g,to:$,insert:P}}}}else if(p&&i=="/"&&b.name=="IncompleteCloseTag"){let $=b.parent;if(b.from==g-2&&((O=$.lastChild)===null||O===void 0?void 0:O.name)!="CloseTag"&&(Q=Ml(l.doc,$,g))&&!B0.has(Q)){let P=g+(l.doc.sliceString(g,g+1)===">"?1:0),x=`${Q}>`;return{range:K.cursor(g+x.length,-1),changes:{from:g,to:P,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 C7(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Ec={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 - */Ec.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,z=128,q=256,F=512,I=30,re="...",ae=800,ye=16,we=1,qe=2,ue=3,fe=1/0,Te=9007199254740991,Ce=17976931348623157e292,Xe=0/0,Ke=4294967295,Nt=Ke-1,ti=Ke>>>1,Wt=[["ary",z],["bind",Q],["bindKey",_],["curry",Z],["curryRight",C],["flip",F],["partial",X],["partialRight",R],["rearg",q]],xt="[object Arguments]",Tt="[object Array]",$e="[object AsyncFunction]",te="[object Boolean]",H="[object Date]",ie="[object DOMException]",ce="[object Error]",Je="[object Function]",et="[object GeneratorFunction]",at="[object Map]",pt="[object Number]",tt="[object Null]",le="[object Object]",yi="[object Promise]",Zt="[object Proxy]",ht="[object RegExp]",ze="[object Set]",bt="[object String]",gt="[object Symbol]",Ge="[object Undefined]",Ot="[object WeakMap]",yt="[object WeakSet]",ii="[object ArrayBuffer]",st="[object DataView]",_n="[object Float32Array]",ui="[object Float64Array]",pi="[object Int8Array]",Ji="[object Int16Array]",Wn="[object Int32Array]",ni="[object Uint8Array]",mt="[object Uint8ClampedArray]",ar="[object Uint16Array]",gi="[object Uint32Array]",vi=/\b__p \+= '';/g,Gr=/\b(__p \+=) '' \+/g,Vi=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Vt=/&(?:amp|lt|gt|quot|#39);/g,Xr=/[&<>"']/g,ri=RegExp(Vt.source),Hr=RegExp(Xr.source),Bi=/<%-([\s\S]+?)%>/g,qt=/<%([\s\S]+?)%>/g,Et=/<%=([\s\S]+?)%>/g,Lt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,fr=/^\w*$/,ft=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Rt=/[\\^$.*+?()[\]{}|]/g,Bt=RegExp(Rt.source),Ct=/^\s+/,Mt=/\s/,jt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,xn=/\{\n\/\* \[wrapped with (.+)\] \*/,si=/,? & /,Cs=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Tr=/[()=,{}\[\]\/\s]/,Fl=/\\(\\)?/g,L=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Oe=/\w*$/,cr=/^[-+]0x[0-9a-f]+$/i,ur=/^0b[01]+$/i,Xs=/^\[object .+?Constructor\]$/,Ts=/^0o[0-7]+$/i,Kr=/^(?:0|[1-9]\d*)$/,Zs=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,mi=/($^)/,Cn=/['\n\r\u2028\u2029\\]/g,en="\\ud800-\\udfff",da="\\u0300-\\u036f",nu="\\ufe20-\\ufe2f",ru="\\u20d0-\\u20ff",pa=da+nu+ru,ga="\\u2700-\\u27bf",ma="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",Sa="A-Z\\xc0-\\xd6\\xd8-\\xde",ba="\\ufe0e\\ufe0f",$a=su+lu+ou+au,Gl="['’]",fu="["+en+"]",Qa="["+$a+"]",tl="["+pa+"]",wa="\\d+",cu="["+ga+"]",ya="["+ma+"]",va="[^"+en+$a+wa+ga+ma+Sa+"]",Hl="\\ud83c[\\udffb-\\udfff]",uu="(?:"+tl+"|"+Hl+")",Pa="[^"+en+"]",Kl="(?:\\ud83c[\\udde6-\\uddff]){2}",Jl="[\\ud800-\\udbff][\\udc00-\\udfff]",Jr="["+Sa+"]",ka="\\u200d",_a="(?:"+ya+"|"+va+")",hu="(?:"+Jr+"|"+va+")",Wa="(?:"+Gl+"(?:d|ll|m|re|s|t|ve))?",xa="(?:"+Gl+"(?:D|LL|M|RE|S|T|VE))?",Ca=uu+"?",Xa="["+ba+"]?",Ou="(?:"+ka+"(?:"+[Pa,Kl,Jl].join("|")+")"+Xa+Ca+")*",du="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",pu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ta=Xa+Ca+Ou,gu="(?:"+[cu,Kl,Jl].join("|")+")"+Ta,mu="(?:"+[Pa+tl+"?",tl,Kl,Jl,fu].join("|")+")",Su=RegExp(Gl,"g"),bu=RegExp(tl,"g"),eo=RegExp(Hl+"(?="+Hl+")|"+mu+Ta,"g"),$u=RegExp([Jr+"?"+ya+"+"+Wa+"(?="+[Qa,Jr,"$"].join("|")+")",hu+"+"+xa+"(?="+[Qa,Jr+_a,"$"].join("|")+")",Jr+"?"+_a+"+"+Wa,Jr+"+"+xa,pu,du,wa,gu].join("|"),"g"),Qu=RegExp("["+ka+en+pa+ba+"]"),A=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,he=["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"],be=-1,de={};de[_n]=de[ui]=de[pi]=de[Ji]=de[Wn]=de[ni]=de[mt]=de[ar]=de[gi]=!0,de[xt]=de[Tt]=de[ii]=de[te]=de[st]=de[H]=de[ce]=de[Je]=de[at]=de[pt]=de[le]=de[ht]=de[ze]=de[bt]=de[Ot]=!1;var ge={};ge[xt]=ge[Tt]=ge[ii]=ge[st]=ge[te]=ge[H]=ge[_n]=ge[ui]=ge[pi]=ge[Ji]=ge[Wn]=ge[at]=ge[pt]=ge[le]=ge[ht]=ge[ze]=ge[bt]=ge[gt]=ge[ni]=ge[mt]=ge[ar]=ge[gi]=!0,ge[ce]=ge[Je]=ge[Ot]=!1;var Ie={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},lt={"&":"&","<":"<",">":">",'"':""","'":"'"},tn={"&":"&","<":"<",">":">",""":'"',"'":"'"},li={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},wu=parseFloat,My=parseInt,tp=typeof ko=="object"&&ko&&ko.Object===Object&&ko,Dy=typeof self=="object"&&self&&self.Object===Object&&self,Wi=tp||Dy||Function("return this")(),yu=e&&!e.nodeType&&e,Rs=yu&&!0&&n&&!n.nodeType&&n,ip=Rs&&Rs.exports===yu,vu=ip&&tp.process,Xn=function(){try{var E=Rs&&Rs.require&&Rs.require("util").types;return E||vu&&vu.binding&&vu.binding("util")}catch{}}(),np=Xn&&Xn.isArrayBuffer,rp=Xn&&Xn.isDate,sp=Xn&&Xn.isMap,lp=Xn&&Xn.isRegExp,op=Xn&&Xn.isSet,ap=Xn&&Xn.isTypedArray;function On(E,G,B){switch(B.length){case 0:return E.call(G);case 1:return E.call(G,B[0]);case 2:return E.call(G,B[0],B[1]);case 3:return E.call(G,B[0],B[1],B[2])}return E.apply(G,B)}function zy(E,G,B,ve){for(var De=-1,$t=E==null?0:E.length;++De<$t;){var Si=E[De];G(ve,Si,B(Si),E)}return ve}function Tn(E,G){for(var B=-1,ve=E==null?0:E.length;++B-1}function Pu(E,G,B){for(var ve=-1,De=E==null?0:E.length;++ve-1;);return B}function gp(E,G){for(var B=E.length;B--&&il(G,E[B],0)>-1;);return B}function Ky(E,G){for(var B=E.length,ve=0;B--;)E[B]===G&&++ve;return ve}var Jy=xu(Ie),ev=xu(lt);function tv(E){return"\\"+li[E]}function iv(E,G){return E==null?t:E[G]}function nl(E){return Qu.test(E)}function nv(E){return A.test(E)}function rv(E){for(var G,B=[];!(G=E.next()).done;)B.push(G.value);return B}function Zu(E){var G=-1,B=Array(E.size);return E.forEach(function(ve,De){B[++G]=[De,ve]}),B}function mp(E,G){return function(B){return E(G(B))}}function is(E,G){for(var B=-1,ve=E.length,De=0,$t=[];++B-1}function Nv(a,c){var d=this.__data__,m=Ga(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 An(a,c,d,m,w,W){var T,U=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=Ne(a);if(ee){if(T=FP(a),!U)return nn(a,T)}else{var ne=Ei(a),me=ne==Je||ne==et;if(as(a))return Jp(a,U);if(ne==le||ne==xt||me&&!w){if(T=M||me?{}:Sg(a),!U)return M?VP(a,oP(T,a)):YP(a,xp(T,a))}else{if(!ge[ne])return w?a:{};T=GP(a,ne,U)}}W||(W=new Hn);var _e=W.get(a);if(_e)return _e;W.set(a,T),Bg(a)?a.forEach(function(Ue){T.add(An(Ue,c,d,Ue,a,W))}):Ng(a)&&a.forEach(function(Ue,ot){T.set(ot,An(Ue,c,d,ot,a,W))});var Ae=J?M?sh:rh:M?sn:Pi,je=ee?t:Ae(a);return Tn(je||a,function(Ue,ot){je&&(ot=Ue,Ue=a[ot]),oo(T,ot,An(Ue,c,d,ot,a,W))}),T}function aP(a){var c=Pi(a);return function(d){return Cp(d,a,c)}}function Cp(a,c,d){var m=d.length;if(a==null)return!m;for(a=Pt(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 Xp(a,c,d){if(typeof a!="function")throw new Zn(l);return po(function(){a.apply(t,d)},c)}function ao(a,c,d,m){var w=-1,W=Za,T=!0,U=a.length,M=[],J=c.length;if(!U)return M;d&&(c=Dt(c,dn(d))),m?(W=Pu,T=!1):c.length>=r&&(W=to,T=!1,c=new Ys(c));e:for(;++ww?0:w+d),m=m===t||m>w?w:Le(m),m<0&&(m+=w),m=d>m?0:Fg(m);d0&&d(U)?c>1?xi(U,c-1,d,m,w):ts(w,U):m||(w[w.length]=U)}return w}var Eu=sg(),Rp=sg(!0);function hr(a,c){return a&&Eu(a,c,Pi)}function Mu(a,c){return a&&Rp(a,c,Pi)}function Ka(a,c){return es(c,function(d){return qr(a[d])})}function qs(a,c){c=ls(c,a);for(var d=0,m=c.length;a!=null&&dc}function uP(a,c){return a!=null&&vt.call(a,c)}function hP(a,c){return a!=null&&c in Pt(a)}function OP(a,c,d){return a>=qi(c,d)&&a=120&&ee.length>=120)?new Ys(T&&ee):t}ee=a[0];var ne=-1,me=U[0];e:for(;++ne-1;)U!==a&&za.call(U,M,1),za.call(a,M,1);return a}function Np(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)?za.call(a,w,1):Hu(a,w)}}return a}function ju(a,c){return a+La(Pp()*(c-a+1))}function kP(a,c,d,m){for(var w=-1,W=bi(Na((c-a)/(d||1)),0),T=B(W);W--;)T[m?W:++w]=a,a+=d;return T}function Fu(a,c){var d="";if(!a||c<1||c>Te)return d;do c%2&&(d+=a),c=La(c/2),c&&(a+=a);while(c);return d}function He(a,c){return hh(Qg(a,c,ln),a+"")}function _P(a){return Wp(dl(a))}function WP(a,c){var d=dl(a);return cf(d,Vs(c,0,d.length))}function uo(a,c,d,m){if(!Ft(a))return a;c=ls(c,a);for(var w=-1,W=c.length,T=W-1,U=a;U!=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=B(w);++m>>1,T=a[W];T!==null&&!gn(T)&&(d?T<=c:T=r){var J=c?null:DP(a);if(J)return Aa(J);T=!1,w=to,M=new Ys}else M=c?[]:U;e:for(;++m=m?a:Un(a,c,d)}var Kp=bv||function(a){return Wi.clearTimeout(a)};function Jp(a,c){if(c)return a.slice();var d=a.length,m=$p?$p(d):new a.constructor(d);return a.copy(m),m}function th(a){var c=new a.constructor(a.byteLength);return new Ma(c).set(new Ma(a)),c}function ZP(a,c){var d=c?th(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function RP(a){var c=new a.constructor(a.source,Oe.exec(a));return c.lastIndex=a.lastIndex,c}function AP(a){return lo?Pt(lo.call(a)):{}}function eg(a,c){var d=c?th(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function tg(a,c){if(a!==c){var d=a!==t,m=a===null,w=a===a,W=gn(a),T=c!==t,U=c===null,M=c===c,J=gn(c);if(!U&&!J&&!W&&a>c||W&&T&&M&&!U&&!J||m&&T&&M||!d&&M||!w)return 1;if(!m&&!W&&!J&&a=U)return M;var J=d[m];return M*(J=="desc"?-1:1)}}return a.index-c.index}function ig(a,c,d,m){for(var w=-1,W=a.length,T=d.length,U=-1,M=c.length,J=bi(W-T,0),ee=B(M+J),ne=!m;++U1?d[w-1]:t,T=w>2?d[2]:t;for(W=a.length>3&&typeof W=="function"?(w--,W):t,T&&Fi(d[0],d[1],T)&&(W=w<3?t:W,w=1),c=Pt(c);++m-1?w[W?c[T]:T]:t}}function ag(a){return Yr(function(c){var d=c.length,m=d,w=Rn.prototype.thru;for(a&&c.reverse();m--;){var W=c[m];if(typeof W!="function")throw new Zn(l);if(w&&!T&&af(W)=="wrapper")var T=new Rn([],!0)}for(m=T?m:d;++m1&&dt.reverse(),ee&&MU))return!1;var J=W.get(a),ee=W.get(c);if(J&&ee)return J==c&&ee==a;var ne=-1,me=!0,_e=d&$?new Ys:t;for(W.set(a,c),W.set(c,a);++ne1?"& ":"")+c[m],c=c.join(d>2?", ":" "),a.replace(jt,`{ + */Ec.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,Q=2,$=1,P=2,x=4,R=8,C=16,X=32,Z=64,I=128,q=256,N=512,z=30,ie="...",fe=800,we=16,ye=1,qe=2,he=3,ce=1/0,Xe=9007199254740991,ke=17976931348623157e292,Te=0/0,Le=4294967295,Kt=Le-1,ii=Le>>>1,Ct=[["ary",I],["bind",$],["bindKey",P],["curry",R],["curryRight",C],["flip",N],["partial",X],["partialRight",Z],["rearg",q]],Ut="[object Arguments]",It="[object Array]",ge="[object AsyncFunction]",te="[object Boolean]",H="[object Date]",ne="[object DOMException]",ae="[object Error]",rt="[object Function]",Je="[object GeneratorFunction]",at="[object Map]",pt="[object Number]",et="[object Null]",se="[object Object]",yi="[object Promise]",Xt="[object Proxy]",ht="[object RegExp]",ze="[object Set]",bt="[object String]",gt="[object Symbol]",He="[object Undefined]",Ot="[object WeakMap]",yt="[object WeakSet]",ni="[object ArrayBuffer]",st="[object DataView]",_n="[object Float32Array]",hi="[object Float64Array]",pi="[object Int8Array]",Ji="[object Int16Array]",Wn="[object Int32Array]",ri="[object Uint8Array]",mt="[object Uint8ClampedArray]",fr="[object Uint16Array]",gi="[object Uint32Array]",vi=/\b__p \+= '';/g,Hr=/\b(__p \+=) '' \+/g,qi=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Yt=/&(?:amp|lt|gt|quot|#39);/g,Tr=/[&<>"']/g,si=RegExp(Yt.source),Kr=RegExp(Tr.source),ji=/<%-([\s\S]+?)%>/g,Vt=/<%([\s\S]+?)%>/g,qt=/<%=([\s\S]+?)%>/g,Nt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,cr=/^\w*$/,ft=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Tt=/[\\^$.*+?()[\]{}|]/g,Lt=RegExp(Tt.source),Wt=/^\s+/,Et=/\s/,jt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,xn=/\{\n\/\* \[wrapped with (.+)\] \*/,li=/,? & /,Cs=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Zr=/[()=,{}\[\]\/\s]/,Fl=/\\(\\)?/g,j=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Oe=/\w*$/,ur=/^[-+]0x[0-9a-f]+$/i,hr=/^0b[01]+$/i,Xs=/^\[object .+?Constructor\]$/,Ts=/^0o[0-7]+$/i,Jr=/^(?:0|[1-9]\d*)$/,Zs=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,mi=/($^)/,Cn=/['\n\r\u2028\u2029\\]/g,en="\\ud800-\\udfff",da="\\u0300-\\u036f",nu="\\ufe20-\\ufe2f",ru="\\u20d0-\\u20ff",pa=da+nu+ru,ga="\\u2700-\\u27bf",ma="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",Sa="A-Z\\xc0-\\xd6\\xd8-\\xde",ba="\\ufe0e\\ufe0f",$a=su+lu+ou+au,Gl="['’]",fu="["+en+"]",Qa="["+$a+"]",tl="["+pa+"]",wa="\\d+",cu="["+ga+"]",ya="["+ma+"]",va="[^"+en+$a+wa+ga+ma+Sa+"]",Hl="\\ud83c[\\udffb-\\udfff]",uu="(?:"+tl+"|"+Hl+")",Pa="[^"+en+"]",Kl="(?:\\ud83c[\\udde6-\\uddff]){2}",Jl="[\\ud800-\\udbff][\\udc00-\\udfff]",es="["+Sa+"]",ka="\\u200d",_a="(?:"+ya+"|"+va+")",hu="(?:"+es+"|"+va+")",Wa="(?:"+Gl+"(?:d|ll|m|re|s|t|ve))?",xa="(?:"+Gl+"(?:D|LL|M|RE|S|T|VE))?",Ca=uu+"?",Xa="["+ba+"]?",Ou="(?:"+ka+"(?:"+[Pa,Kl,Jl].join("|")+")"+Xa+Ca+")*",du="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",pu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ta=Xa+Ca+Ou,gu="(?:"+[cu,Kl,Jl].join("|")+")"+Ta,mu="(?:"+[Pa+tl+"?",tl,Kl,Jl,fu].join("|")+")",Su=RegExp(Gl,"g"),bu=RegExp(tl,"g"),eo=RegExp(Hl+"(?="+Hl+")|"+mu+Ta,"g"),$u=RegExp([es+"?"+ya+"+"+Wa+"(?="+[Qa,es,"$"].join("|")+")",hu+"+"+xa+"(?="+[Qa,es+_a,"$"].join("|")+")",es+"?"+_a+"+"+Wa,es+"+"+xa,pu,du,wa,gu].join("|"),"g"),Qu=RegExp("["+ka+en+pa+ba+"]"),A=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ue=["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"],$e=-1,de={};de[_n]=de[hi]=de[pi]=de[Ji]=de[Wn]=de[ri]=de[mt]=de[fr]=de[gi]=!0,de[Ut]=de[It]=de[ni]=de[te]=de[st]=de[H]=de[ae]=de[rt]=de[at]=de[pt]=de[se]=de[ht]=de[ze]=de[bt]=de[Ot]=!1;var me={};me[Ut]=me[It]=me[ni]=me[st]=me[te]=me[H]=me[_n]=me[hi]=me[pi]=me[Ji]=me[Wn]=me[at]=me[pt]=me[se]=me[ht]=me[ze]=me[bt]=me[gt]=me[ri]=me[mt]=me[fr]=me[gi]=!0,me[ae]=me[rt]=me[Ot]=!1;var Ie={À:"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",Ü:"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={"&":"&","<":"<",">":">",'"':""","'":"'"},tn={"&":"&","<":"<",">":">",""":'"',"'":"'"},oi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},wu=parseFloat,My=parseInt,ip=typeof ko=="object"&&ko&&ko.Object===Object&&ko,Dy=typeof self=="object"&&self&&self.Object===Object&&self,xi=ip||Dy||Function("return this")(),yu=e&&!e.nodeType&&e,Rs=yu&&!0&&n&&!n.nodeType&&n,np=Rs&&Rs.exports===yu,vu=np&&ip.process,Xn=function(){try{var E=Rs&&Rs.require&&Rs.require("util").types;return E||vu&&vu.binding&&vu.binding("util")}catch{}}(),rp=Xn&&Xn.isArrayBuffer,sp=Xn&&Xn.isDate,lp=Xn&&Xn.isMap,op=Xn&&Xn.isRegExp,ap=Xn&&Xn.isSet,fp=Xn&&Xn.isTypedArray;function On(E,G,B){switch(B.length){case 0:return E.call(G);case 1:return E.call(G,B[0]);case 2:return E.call(G,B[0],B[1]);case 3:return E.call(G,B[0],B[1],B[2])}return E.apply(G,B)}function zy(E,G,B,ve){for(var De=-1,$t=E==null?0:E.length;++De<$t;){var Si=E[De];G(ve,Si,B(Si),E)}return ve}function Tn(E,G){for(var B=-1,ve=E==null?0:E.length;++B-1}function Pu(E,G,B){for(var ve=-1,De=E==null?0:E.length;++ve-1;);return B}function mp(E,G){for(var B=E.length;B--&&il(G,E[B],0)>-1;);return B}function Ky(E,G){for(var B=E.length,ve=0;B--;)E[B]===G&&++ve;return ve}var Jy=xu(Ie),ev=xu(lt);function tv(E){return"\\"+oi[E]}function iv(E,G){return E==null?t:E[G]}function nl(E){return Qu.test(E)}function nv(E){return A.test(E)}function rv(E){for(var G,B=[];!(G=E.next()).done;)B.push(G.value);return B}function Zu(E){var G=-1,B=Array(E.size);return E.forEach(function(ve,De){B[++G]=[De,ve]}),B}function Sp(E,G){return function(B){return E(G(B))}}function ns(E,G){for(var B=-1,ve=E.length,De=0,$t=[];++B-1}function Nv(a,c){var d=this.__data__,m=Ga(d,a);return m<0?(++this.size,d.push([a,c])):d[m][1]=c,this}Rr.prototype.clear=Mv,Rr.prototype.delete=Dv,Rr.prototype.get=zv,Rr.prototype.has=Iv,Rr.prototype.set=Nv;function Ar(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,W){var T,U=c&O,M=c&p,J=c&g;if(d&&(T=w?d(a,m,w,W):d(a)),T!==t)return T;if(!Bt(a))return a;var ee=Ne(a);if(ee){if(T=FP(a),!U)return nn(a,T)}else{var re=Mi(a),Se=re==rt||re==Je;if(fs(a))return eg(a,U);if(re==se||re==Ut||Se&&!w){if(T=M||Se?{}:bg(a),!U)return M?VP(a,oP(T,a)):YP(a,Cp(T,a))}else{if(!me[re])return w?a:{};T=GP(a,re,U)}}W||(W=new Hn);var We=W.get(a);if(We)return We;W.set(a,T),Bg(a)?a.forEach(function(Ue){T.add(An(Ue,c,d,Ue,a,W))}):Lg(a)&&a.forEach(function(Ue,ot){T.set(ot,An(Ue,c,d,ot,a,W))});var Ae=J?M?sh:rh:M?sn:Pi,Fe=ee?t:Ae(a);return Tn(Fe||a,function(Ue,ot){Fe&&(ot=Ue,Ue=a[ot]),oo(T,ot,An(Ue,c,d,ot,a,W))}),T}function aP(a){var c=Pi(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=Pt(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 Tp(a,c,d){if(typeof a!="function")throw new Zn(l);return po(function(){a.apply(t,d)},c)}function ao(a,c,d,m){var w=-1,W=Za,T=!0,U=a.length,M=[],J=c.length;if(!U)return M;d&&(c=Mt(c,dn(d))),m?(W=Pu,T=!1):c.length>=r&&(W=to,T=!1,c=new Ys(c));e:for(;++ww?0:w+d),m=m===t||m>w?w:je(m),m<0&&(m+=w),m=d>m?0:Gg(m);d0&&d(U)?c>1?Ci(U,c-1,d,m,w):is(w,U):m||(w[w.length]=U)}return w}var Eu=lg(),Ap=lg(!0);function Or(a,c){return a&&Eu(a,c,Pi)}function Mu(a,c){return a&&Ap(a,c,Pi)}function Ka(a,c){return ts(c,function(d){return Er(a[d])})}function qs(a,c){c=os(c,a);for(var d=0,m=c.length;a!=null&&dc}function uP(a,c){return a!=null&&vt.call(a,c)}function hP(a,c){return a!=null&&c in Pt(a)}function OP(a,c,d){return a>=Ei(c,d)&&a=120&&ee.length>=120)?new Ys(T&&ee):t}ee=a[0];var re=-1,Se=U[0];e:for(;++re-1;)U!==a&&za.call(U,M,1),za.call(a,M,1);return a}function Lp(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;qr(w)?za.call(a,w,1):Hu(a,w)}}return a}function Bu(a,c){return a+La(kp()*(c-a+1))}function kP(a,c,d,m){for(var w=-1,W=bi(Na((c-a)/(d||1)),0),T=B(W);W--;)T[m?W:++w]=a,a+=d;return T}function Fu(a,c){var d="";if(!a||c<1||c>Xe)return d;do c%2&&(d+=a),c=La(c/2),c&&(a+=a);while(c);return d}function Ke(a,c){return hh(wg(a,c,ln),a+"")}function _P(a){return xp(dl(a))}function WP(a,c){var d=dl(a);return cf(d,Vs(c,0,d.length))}function uo(a,c,d,m){if(!Bt(a))return a;c=os(c,a);for(var w=-1,W=c.length,T=W-1,U=a;U!=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=B(w);++m>>1,T=a[W];T!==null&&!gn(T)&&(d?T<=c:T=r){var J=c?null:DP(a);if(J)return Aa(J);T=!1,w=to,M=new Ys}else M=c?[]:U;e:for(;++m=m?a:Un(a,c,d)}var Jp=bv||function(a){return xi.clearTimeout(a)};function eg(a,c){if(c)return a.slice();var d=a.length,m=Qp?Qp(d):new a.constructor(d);return a.copy(m),m}function th(a){var c=new a.constructor(a.byteLength);return new Ma(c).set(new Ma(a)),c}function ZP(a,c){var d=c?th(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function RP(a){var c=new a.constructor(a.source,Oe.exec(a));return c.lastIndex=a.lastIndex,c}function AP(a){return lo?Pt(lo.call(a)):{}}function tg(a,c){var d=c?th(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function ig(a,c){if(a!==c){var d=a!==t,m=a===null,w=a===a,W=gn(a),T=c!==t,U=c===null,M=c===c,J=gn(c);if(!U&&!J&&!W&&a>c||W&&T&&M&&!U&&!J||m&&T&&M||!d&&M||!w)return 1;if(!m&&!W&&!J&&a=U)return M;var J=d[m];return M*(J=="desc"?-1:1)}}return a.index-c.index}function ng(a,c,d,m){for(var w=-1,W=a.length,T=d.length,U=-1,M=c.length,J=bi(W-T,0),ee=B(M+J),re=!m;++U1?d[w-1]:t,T=w>2?d[2]:t;for(W=a.length>3&&typeof W=="function"?(w--,W):t,T&&Fi(d[0],d[1],T)&&(W=w<3?t:W,w=1),c=Pt(c);++m-1?w[W?c[T]:T]:t}}function fg(a){return Vr(function(c){var d=c.length,m=d,w=Rn.prototype.thru;for(a&&c.reverse();m--;){var W=c[m];if(typeof W!="function")throw new Zn(l);if(w&&!T&&af(W)=="wrapper")var T=new Rn([],!0)}for(m=T?m:d;++m1&&dt.reverse(),ee&&MU))return!1;var J=W.get(a),ee=W.get(c);if(J&&ee)return J==c&&ee==a;var re=-1,Se=!0,We=d&Q?new Ys:t;for(W.set(a,c),W.set(c,a);++re1?"& ":"")+c[m],c=c.join(d>2?", ":" "),a.replace(jt,`{ /* [wrapped with `+c+`] */ -`)}function KP(a){return Ne(a)||Ds(a)||!!(yp&&a&&a[yp])}function Vr(a,c){var d=typeof a;return c=c??Te,!!c&&(d=="number"||d!="symbol"&&Kr.test(a))&&a>-1&&a%1==0&&a0){if(++c>=ae)return arguments[0]}else c=0;return a.apply(t,arguments)}}function cf(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,Zg(a,d)});function Rg(a){var c=P(a);return c.__chain__=!0,c}function fk(a,c){return c(a),a}function uf(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 qu(W,a)};return c>1||this.__actions__.length||!(m instanceof ct)||!Vr(d)?this.thru(w):(m=m.slice(d,+d+(c?1:0)),m.__actions__.push({func:uf,args:[w],thisArg:t}),new Rn(m,this.__chain__).thru(function(W){return c&&!W.length&&W.push(t),W}))});function uk(){return Rg(this)}function hk(){return new Rn(this.value(),this.__chain__)}function Ok(){this.__values__===t&&(this.__values__=jg(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 Fa;){var m=_g(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 ct){var c=a;return this.__actions__.length&&(c=new ct(this)),c=c.reverse(),c.__actions__.push({func:uf,args:[Oh],thisArg:t}),new Rn(c,this.__chain__)}return this.thru(Oh)}function mk(){return Gp(this.__wrapped__,this.__actions__)}var Sk=nf(function(a,c,d){vt.call(a,d)?++a[d]:Ar(a,d,1)});function bk(a,c,d){var m=Ne(a)?fp:fP;return d&&Fi(a,c,d)&&(c=t),m(a,Ze(c,3))}function $k(a,c){var d=Ne(a)?es:Zp;return d(a,Ze(c,3))}var Qk=og(Wg),wk=og(xg);function yk(a,c){return xi(hf(a,c),1)}function vk(a,c){return xi(hf(a,c),fe)}function Pk(a,c,d){return d=d===t?1:Le(d),xi(hf(a,c),d)}function Ag(a,c){var d=Ne(a)?Tn:rs;return d(a,Ze(c,3))}function Ug(a,c){var d=Ne(a)?Iy:Tp;return d(a,Ze(c,3))}var kk=nf(function(a,c,d){vt.call(a,d)?a[d].push(c):Ar(a,d,[c])});function _k(a,c,d,m){a=rn(a)?a:dl(a),d=d&&!m?Le(d):0;var w=a.length;return d<0&&(d=bi(w+d,0)),mf(a)?d<=w&&a.indexOf(c,d)>-1:!!w&&il(a,c,d)>-1}var Wk=He(function(a,c,d){var m=-1,w=typeof c=="function",W=rn(a)?B(a.length):[];return rs(a,function(T){W[++m]=w?On(c,T,d):fo(T,c,d)}),W}),xk=nf(function(a,c,d){Ar(a,d,c)});function hf(a,c){var d=Ne(a)?Dt:qp;return d(a,Ze(c,3))}function Ck(a,c,d,m){return a==null?[]:(Ne(c)||(c=c==null?[]:[c]),d=m?t:d,Ne(d)||(d=d==null?[]:[d]),zp(a,c,d))}var Xk=nf(function(a,c,d){a[d?0:1].push(c)},function(){return[[],[]]});function Tk(a,c,d){var m=Ne(a)?ku:Op,w=arguments.length<3;return m(a,Ze(c,4),d,w,rs)}function Zk(a,c,d){var m=Ne(a)?Ny:Op,w=arguments.length<3;return m(a,Ze(c,4),d,w,Tp)}function Rk(a,c){var d=Ne(a)?es:Zp;return d(a,pf(Ze(c,3)))}function Ak(a){var c=Ne(a)?Wp:_P;return c(a)}function Uk(a,c,d){(d?Fi(a,c,d):c===t)?c=1:c=Le(c);var m=Ne(a)?rP:WP;return m(a,c)}function Yk(a){var c=Ne(a)?sP:CP;return c(a)}function Vk(a){if(a==null)return 0;if(rn(a))return mf(a)?rl(a):a.length;var c=Ei(a);return c==at||c==ze?a.size:Nu(a).length}function qk(a,c,d){var m=Ne(a)?_u:XP;return d&&Fi(a,c,d)&&(c=t),m(a,Ze(c,3))}var Ek=He(function(a,c){if(a==null)return[];var d=c.length;return d>1&&Fi(a,c[0],c[1])?c=[]:d>2&&Fi(c[0],c[1],c[2])&&(c=[c[0]]),zp(a,xi(c,1),[])}),Of=$v||function(){return Wi.Date.now()};function Mk(a,c){if(typeof c!="function")throw new Zn(l);return a=Le(a),function(){if(--a<1)return c.apply(this,arguments)}}function Yg(a,c,d){return c=d?t:c,c=a&&c==null?a.length:c,Ur(a,z,t,t,t,t,c)}function Vg(a,c){var d;if(typeof c!="function")throw new Zn(l);return a=Le(a),function(){return--a>0&&(d=c.apply(this,arguments)),a<=1&&(c=t),d}}var ph=He(function(a,c,d){var m=Q;if(d.length){var w=is(d,hl(ph));m|=X}return Ur(a,m,c,d,w)}),qg=He(function(a,c,d){var m=Q|_;if(d.length){var w=is(d,hl(qg));m|=X}return Ur(c,m,a,d,w)});function Eg(a,c,d){c=d?t:c;var m=Ur(a,Z,t,t,t,t,t,c);return m.placeholder=Eg.placeholder,m}function Mg(a,c,d){c=d?t:c;var m=Ur(a,C,t,t,t,t,t,c);return m.placeholder=Mg.placeholder,m}function Dg(a,c,d){var m,w,W,T,U,M,J=0,ee=!1,ne=!1,me=!0;if(typeof a!="function")throw new Zn(l);c=Vn(c)||0,Ft(d)&&(ee=!!d.leading,ne="maxWait"in d,W=ne?bi(Vn(d.maxWait)||0,c):W,me="trailing"in d?!!d.trailing:me);function _e(ai){var Jn=m,Mr=w;return m=w=t,J=ai,T=a.apply(Mr,Jn),T}function Ae(ai){return J=ai,U=po(ot,c),ee?_e(ai):T}function je(ai){var Jn=ai-M,Mr=ai-J,om=c-Jn;return ne?qi(om,W-Mr):om}function Ue(ai){var Jn=ai-M,Mr=ai-J;return M===t||Jn>=c||Jn<0||ne&&Mr>=W}function ot(){var ai=Of();if(Ue(ai))return dt(ai);U=po(ot,je(ai))}function dt(ai){return U=t,me&&m?_e(ai):(m=w=t,T)}function mn(){U!==t&&Kp(U),J=0,m=M=w=U=t}function Gi(){return U===t?T:dt(Of())}function Sn(){var ai=Of(),Jn=Ue(ai);if(m=arguments,w=this,M=ai,Jn){if(U===t)return Ae(M);if(ne)return Kp(U),U=po(ot,c),_e(M)}return U===t&&(U=po(ot,c)),T}return Sn.cancel=mn,Sn.flush=Gi,Sn}var Dk=He(function(a,c){return Xp(a,1,c)}),zk=He(function(a,c,d){return Xp(a,Vn(c)||0,d)});function Ik(a){return Ur(a,F)}function df(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],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(df.Cache||Rr),d}df.Cache=Rr;function pf(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 Nk(a){return Vg(2,a)}var Lk=TP(function(a,c){c=c.length==1&&Ne(c[0])?Dt(c[0],dn(Ze())):Dt(xi(c,1),dn(Ze()));var d=c.length;return He(function(m){for(var w=-1,W=qi(m.length,d);++w=c}),Ds=Up(function(){return arguments}())?Up:function(a){return Jt(a)&&vt.call(a,"callee")&&!wp.call(a,"callee")},Ne=B.isArray,o_=np?dn(np):pP;function rn(a){return a!=null&&gf(a.length)&&!qr(a)}function oi(a){return Jt(a)&&rn(a)}function a_(a){return a===!0||a===!1||Jt(a)&&ji(a)==te}var as=wv||_h,f_=rp?dn(rp):gP;function c_(a){return Jt(a)&&a.nodeType===1&&!go(a)}function u_(a){if(a==null)return!0;if(rn(a)&&(Ne(a)||typeof a=="string"||typeof a.splice=="function"||as(a)||Ol(a)||Ds(a)))return!a.length;var c=Ei(a);if(c==at||c==ze)return!a.size;if(Oo(a))return!Nu(a).length;for(var d in a)if(vt.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 mh(a){if(!Jt(a))return!1;var c=ji(a);return c==ce||c==ie||typeof a.message=="string"&&typeof a.name=="string"&&!go(a)}function d_(a){return typeof a=="number"&&vp(a)}function qr(a){if(!Ft(a))return!1;var c=ji(a);return c==Je||c==et||c==$e||c==Zt}function Ig(a){return typeof a=="number"&&a==Le(a)}function gf(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=Te}function Ft(a){var c=typeof a;return a!=null&&(c=="object"||c=="function")}function Jt(a){return a!=null&&typeof a=="object"}var Ng=sp?dn(sp):SP;function p_(a,c){return a===c||Iu(a,c,oh(c))}function g_(a,c,d){return d=typeof d=="function"?d:t,Iu(a,c,oh(c),d)}function m_(a){return Lg(a)&&a!=+a}function S_(a){if(t2(a))throw new De(s);return Yp(a)}function b_(a){return a===null}function $_(a){return a==null}function Lg(a){return typeof a=="number"||Jt(a)&&ji(a)==pt}function go(a){if(!Jt(a)||ji(a)!=le)return!1;var c=Da(a);if(c===null)return!0;var d=vt.call(c,"constructor")&&c.constructor;return typeof d=="function"&&d instanceof d&&Va.call(d)==gv}var Sh=lp?dn(lp):bP;function Q_(a){return Ig(a)&&a>=-Te&&a<=Te}var Bg=op?dn(op):$P;function mf(a){return typeof a=="string"||!Ne(a)&&Jt(a)&&ji(a)==bt}function gn(a){return typeof a=="symbol"||Jt(a)&&ji(a)==gt}var Ol=ap?dn(ap):QP;function w_(a){return a===t}function y_(a){return Jt(a)&&Ei(a)==Ot}function v_(a){return Jt(a)&&ji(a)==yt}var P_=of(Lu),k_=of(function(a,c){return a<=c});function jg(a){if(!a)return[];if(rn(a))return mf(a)?Gn(a):nn(a);if(io&&a[io])return rv(a[io]());var c=Ei(a),d=c==at?Zu:c==ze?Aa:dl;return d(a)}function Er(a){if(!a)return a===0?a:0;if(a=Vn(a),a===fe||a===-fe){var c=a<0?-1:1;return c*Ce}return a===a?a:0}function Le(a){var c=Er(a),d=c%1;return c===c?d?c-d:c:0}function Fg(a){return a?Vs(Le(a),0,Ke):0}function Vn(a){if(typeof a=="number")return a;if(gn(a))return Xe;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=dp(a);var d=ur.test(a);return d||Ts.test(a)?My(a.slice(2),d?2:8):cr.test(a)?Xe:+a}function Gg(a){return Or(a,sn(a))}function __(a){return a?Vs(Le(a),-Te,Te):a===0?a:0}function Qt(a){return a==null?"":pn(a)}var W_=cl(function(a,c){if(Oo(c)||rn(c)){Or(c,Pi(c),a);return}for(var d in c)vt.call(c,d)&&oo(a,d,c[d])}),Hg=cl(function(a,c){Or(c,sn(c),a)}),Sf=cl(function(a,c,d,m){Or(c,sn(c),a,m)}),x_=cl(function(a,c,d,m){Or(c,Pi(c),a,m)}),C_=Yr(qu);function X_(a,c){var d=fl(a);return c==null?d:xp(d,c)}var T_=He(function(a,c){a=Pt(a);var d=-1,m=c.length,w=m>2?c[2]:t;for(w&&Fi(c[0],c[1],w)&&(m=1);++d1),W}),Or(a,sh(a),d),m&&(d=An(d,O|p|g,zP));for(var w=c.length;w--;)Hu(d,c[w]);return d});function G_(a,c){return Jg(a,pf(Ze(c)))}var H_=Yr(function(a,c){return a==null?{}:vP(a,c)});function Jg(a,c){if(a==null)return{};var d=Dt(sh(a),function(m){return[m]});return c=Ze(c),Ip(a,d,function(m,w){return c(m,w[0])})}function K_(a,c,d){c=ls(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=Pp();return qi(a+w*(c-a+wu("1e-"+((w+"").length-1))),c)}return ju(a,c)}var fW=ul(function(a,c,d){return c=c.toLowerCase(),a+(d?im(c):c)});function im(a){return Qh(Qt(a).toLowerCase())}function nm(a){return a=Qt(a),a&&a.replace(Zs,Jy).replace(bu,"")}function cW(a,c,d){a=Qt(a),c=pn(c);var m=a.length;d=d===t?m:Vs(Le(d),0,m);var w=d;return d-=c.length,d>=0&&a.slice(d,w)==c}function uW(a){return a=Qt(a),a&&Hr.test(a)?a.replace(Xr,ev):a}function hW(a){return a=Qt(a),a&&Bt.test(a)?a.replace(Rt,"\\$&"):a}var OW=ul(function(a,c,d){return a+(d?"-":"")+c.toLowerCase()}),dW=ul(function(a,c,d){return a+(d?" ":"")+c.toLowerCase()}),pW=lg("toLowerCase");function gW(a,c,d){a=Qt(a),c=Le(c);var m=c?rl(a):0;if(!c||m>=c)return a;var w=(c-m)/2;return lf(La(w),d)+a+lf(Na(w),d)}function mW(a,c,d){a=Qt(a),c=Le(c);var m=c?rl(a):0;return c&&m>>0,d?(a=Qt(a),a&&(typeof c=="string"||c!=null&&!Sh(c))&&(c=pn(c),!c&&nl(a))?os(Gn(a),0,d):a.split(c,d)):[]}var vW=ul(function(a,c,d){return a+(d?" ":"")+Qh(c)});function PW(a,c,d){return a=Qt(a),d=d==null?0:Vs(Le(d),0,a.length),c=pn(c),a.slice(d,d+c.length)==c}function kW(a,c,d){var m=P.templateSettings;d&&Fi(a,c,d)&&(c=t),a=Qt(a),c=Sf({},c,m,Og);var w=Sf({},c.imports,m.imports,Og),W=Pi(w),T=Tu(w,W),U,M,J=0,ee=c.interpolate||mi,ne="__p += '",me=Ru((c.escape||mi).source+"|"+ee.source+"|"+(ee===Et?L:mi).source+"|"+(c.evaluate||mi).source+"|$","g"),_e="//# sourceURL="+(vt.call(c,"sourceURL")?(c.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++be+"]")+` -`;a.replace(me,function(Ue,ot,dt,mn,Gi,Sn){return dt||(dt=mn),ne+=a.slice(J,Sn).replace(Cn,tv),ot&&(U=!0,ne+=`' + +`)}function KP(a){return Ne(a)||Ds(a)||!!(vp&&a&&a[vp])}function qr(a,c){var d=typeof a;return c=c??Xe,!!c&&(d=="number"||d!="symbol"&&Jr.test(a))&&a>-1&&a%1==0&&a0){if(++c>=fe)return arguments[0]}else c=0;return a.apply(t,arguments)}}function cf(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,Rg(a,d)});function Ag(a){var c=k(a);return c.__chain__=!0,c}function fk(a,c){return c(a),a}function uf(a,c){return c(a)}var ck=Vr(function(a){var c=a.length,d=c?a[0]:0,m=this.__wrapped__,w=function(W){return qu(W,a)};return c>1||this.__actions__.length||!(m instanceof ct)||!qr(d)?this.thru(w):(m=m.slice(d,+d+(c?1:0)),m.__actions__.push({func:uf,args:[w],thisArg:t}),new Rn(m,this.__chain__).thru(function(W){return c&&!W.length&&W.push(t),W}))});function uk(){return Ag(this)}function hk(){return new Rn(this.value(),this.__chain__)}function Ok(){this.__values__===t&&(this.__values__=Fg(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 Fa;){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 gk(){var a=this.__wrapped__;if(a instanceof ct){var c=a;return this.__actions__.length&&(c=new ct(this)),c=c.reverse(),c.__actions__.push({func:uf,args:[Oh],thisArg:t}),new Rn(c,this.__chain__)}return this.thru(Oh)}function mk(){return Hp(this.__wrapped__,this.__actions__)}var Sk=nf(function(a,c,d){vt.call(a,d)?++a[d]:Ur(a,d,1)});function bk(a,c,d){var m=Ne(a)?cp:fP;return d&&Fi(a,c,d)&&(c=t),m(a,Ze(c,3))}function $k(a,c){var d=Ne(a)?ts:Rp;return d(a,Ze(c,3))}var Qk=ag(xg),wk=ag(Cg);function yk(a,c){return Ci(hf(a,c),1)}function vk(a,c){return Ci(hf(a,c),ce)}function Pk(a,c,d){return d=d===t?1:je(d),Ci(hf(a,c),d)}function Ug(a,c){var d=Ne(a)?Tn:ss;return d(a,Ze(c,3))}function Yg(a,c){var d=Ne(a)?Iy:Zp;return d(a,Ze(c,3))}var kk=nf(function(a,c,d){vt.call(a,d)?a[d].push(c):Ur(a,d,[c])});function _k(a,c,d,m){a=rn(a)?a:dl(a),d=d&&!m?je(d):0;var w=a.length;return d<0&&(d=bi(w+d,0)),mf(a)?d<=w&&a.indexOf(c,d)>-1:!!w&&il(a,c,d)>-1}var Wk=Ke(function(a,c,d){var m=-1,w=typeof c=="function",W=rn(a)?B(a.length):[];return ss(a,function(T){W[++m]=w?On(c,T,d):fo(T,c,d)}),W}),xk=nf(function(a,c,d){Ur(a,d,c)});function hf(a,c){var d=Ne(a)?Mt:Ep;return d(a,Ze(c,3))}function Ck(a,c,d,m){return a==null?[]:(Ne(c)||(c=c==null?[]:[c]),d=m?t:d,Ne(d)||(d=d==null?[]:[d]),Ip(a,c,d))}var Xk=nf(function(a,c,d){a[d?0:1].push(c)},function(){return[[],[]]});function Tk(a,c,d){var m=Ne(a)?ku:dp,w=arguments.length<3;return m(a,Ze(c,4),d,w,ss)}function Zk(a,c,d){var m=Ne(a)?Ny:dp,w=arguments.length<3;return m(a,Ze(c,4),d,w,Zp)}function Rk(a,c){var d=Ne(a)?ts:Rp;return d(a,pf(Ze(c,3)))}function Ak(a){var c=Ne(a)?xp:_P;return c(a)}function Uk(a,c,d){(d?Fi(a,c,d):c===t)?c=1:c=je(c);var m=Ne(a)?rP:WP;return m(a,c)}function Yk(a){var c=Ne(a)?sP:CP;return c(a)}function Vk(a){if(a==null)return 0;if(rn(a))return mf(a)?rl(a):a.length;var c=Mi(a);return c==at||c==ze?a.size:Nu(a).length}function qk(a,c,d){var m=Ne(a)?_u:XP;return d&&Fi(a,c,d)&&(c=t),m(a,Ze(c,3))}var Ek=Ke(function(a,c){if(a==null)return[];var d=c.length;return d>1&&Fi(a,c[0],c[1])?c=[]:d>2&&Fi(c[0],c[1],c[2])&&(c=[c[0]]),Ip(a,Ci(c,1),[])}),Of=$v||function(){return xi.Date.now()};function Mk(a,c){if(typeof c!="function")throw new Zn(l);return a=je(a),function(){if(--a<1)return c.apply(this,arguments)}}function Vg(a,c,d){return c=d?t:c,c=a&&c==null?a.length:c,Yr(a,I,t,t,t,t,c)}function qg(a,c){var d;if(typeof c!="function")throw new Zn(l);return a=je(a),function(){return--a>0&&(d=c.apply(this,arguments)),a<=1&&(c=t),d}}var ph=Ke(function(a,c,d){var m=$;if(d.length){var w=ns(d,hl(ph));m|=X}return Yr(a,m,c,d,w)}),Eg=Ke(function(a,c,d){var m=$|P;if(d.length){var w=ns(d,hl(Eg));m|=X}return Yr(c,m,a,d,w)});function Mg(a,c,d){c=d?t:c;var m=Yr(a,R,t,t,t,t,t,c);return m.placeholder=Mg.placeholder,m}function Dg(a,c,d){c=d?t:c;var m=Yr(a,C,t,t,t,t,t,c);return m.placeholder=Dg.placeholder,m}function zg(a,c,d){var m,w,W,T,U,M,J=0,ee=!1,re=!1,Se=!0;if(typeof a!="function")throw new Zn(l);c=Vn(c)||0,Bt(d)&&(ee=!!d.leading,re="maxWait"in d,W=re?bi(Vn(d.maxWait)||0,c):W,Se="trailing"in d?!!d.trailing:Se);function We(fi){var Jn=m,Dr=w;return m=w=t,J=fi,T=a.apply(Dr,Jn),T}function Ae(fi){return J=fi,U=po(ot,c),ee?We(fi):T}function Fe(fi){var Jn=fi-M,Dr=fi-J,am=c-Jn;return re?Ei(am,W-Dr):am}function Ue(fi){var Jn=fi-M,Dr=fi-J;return M===t||Jn>=c||Jn<0||re&&Dr>=W}function ot(){var fi=Of();if(Ue(fi))return dt(fi);U=po(ot,Fe(fi))}function dt(fi){return U=t,Se&&m?We(fi):(m=w=t,T)}function mn(){U!==t&&Jp(U),J=0,m=M=w=U=t}function Gi(){return U===t?T:dt(Of())}function Sn(){var fi=Of(),Jn=Ue(fi);if(m=arguments,w=this,M=fi,Jn){if(U===t)return Ae(M);if(re)return Jp(U),U=po(ot,c),We(M)}return U===t&&(U=po(ot,c)),T}return Sn.cancel=mn,Sn.flush=Gi,Sn}var Dk=Ke(function(a,c){return Tp(a,1,c)}),zk=Ke(function(a,c,d){return Tp(a,Vn(c)||0,d)});function Ik(a){return Yr(a,N)}function df(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],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(df.Cache||Ar),d}df.Cache=Ar;function pf(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 Nk(a){return qg(2,a)}var Lk=TP(function(a,c){c=c.length==1&&Ne(c[0])?Mt(c[0],dn(Ze())):Mt(Ci(c,1),dn(Ze()));var d=c.length;return Ke(function(m){for(var w=-1,W=Ei(m.length,d);++w=c}),Ds=Yp(function(){return arguments}())?Yp:function(a){return Jt(a)&&vt.call(a,"callee")&&!yp.call(a,"callee")},Ne=B.isArray,o_=rp?dn(rp):pP;function rn(a){return a!=null&&gf(a.length)&&!Er(a)}function ai(a){return Jt(a)&&rn(a)}function a_(a){return a===!0||a===!1||Jt(a)&&Bi(a)==te}var fs=wv||_h,f_=sp?dn(sp):gP;function c_(a){return Jt(a)&&a.nodeType===1&&!go(a)}function u_(a){if(a==null)return!0;if(rn(a)&&(Ne(a)||typeof a=="string"||typeof a.splice=="function"||fs(a)||Ol(a)||Ds(a)))return!a.length;var c=Mi(a);if(c==at||c==ze)return!a.size;if(Oo(a))return!Nu(a).length;for(var d in a)if(vt.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 mh(a){if(!Jt(a))return!1;var c=Bi(a);return c==ae||c==ne||typeof a.message=="string"&&typeof a.name=="string"&&!go(a)}function d_(a){return typeof a=="number"&&Pp(a)}function Er(a){if(!Bt(a))return!1;var c=Bi(a);return c==rt||c==Je||c==ge||c==Xt}function Ng(a){return typeof a=="number"&&a==je(a)}function gf(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=Xe}function Bt(a){var c=typeof a;return a!=null&&(c=="object"||c=="function")}function Jt(a){return a!=null&&typeof a=="object"}var Lg=lp?dn(lp):SP;function p_(a,c){return a===c||Iu(a,c,oh(c))}function g_(a,c,d){return d=typeof d=="function"?d:t,Iu(a,c,oh(c),d)}function m_(a){return jg(a)&&a!=+a}function S_(a){if(t2(a))throw new De(s);return Vp(a)}function b_(a){return a===null}function $_(a){return a==null}function jg(a){return typeof a=="number"||Jt(a)&&Bi(a)==pt}function go(a){if(!Jt(a)||Bi(a)!=se)return!1;var c=Da(a);if(c===null)return!0;var d=vt.call(c,"constructor")&&c.constructor;return typeof d=="function"&&d instanceof d&&Va.call(d)==gv}var Sh=op?dn(op):bP;function Q_(a){return Ng(a)&&a>=-Xe&&a<=Xe}var Bg=ap?dn(ap):$P;function mf(a){return typeof a=="string"||!Ne(a)&&Jt(a)&&Bi(a)==bt}function gn(a){return typeof a=="symbol"||Jt(a)&&Bi(a)==gt}var Ol=fp?dn(fp):QP;function w_(a){return a===t}function y_(a){return Jt(a)&&Mi(a)==Ot}function v_(a){return Jt(a)&&Bi(a)==yt}var P_=of(Lu),k_=of(function(a,c){return a<=c});function Fg(a){if(!a)return[];if(rn(a))return mf(a)?Gn(a):nn(a);if(io&&a[io])return rv(a[io]());var c=Mi(a),d=c==at?Zu:c==ze?Aa:dl;return d(a)}function Mr(a){if(!a)return a===0?a:0;if(a=Vn(a),a===ce||a===-ce){var c=a<0?-1:1;return c*ke}return a===a?a:0}function je(a){var c=Mr(a),d=c%1;return c===c?d?c-d:c:0}function Gg(a){return a?Vs(je(a),0,Le):0}function Vn(a){if(typeof a=="number")return a;if(gn(a))return Te;if(Bt(a)){var c=typeof a.valueOf=="function"?a.valueOf():a;a=Bt(c)?c+"":c}if(typeof a!="string")return a===0?a:+a;a=pp(a);var d=hr.test(a);return d||Ts.test(a)?My(a.slice(2),d?2:8):ur.test(a)?Te:+a}function Hg(a){return dr(a,sn(a))}function __(a){return a?Vs(je(a),-Xe,Xe):a===0?a:0}function Qt(a){return a==null?"":pn(a)}var W_=cl(function(a,c){if(Oo(c)||rn(c)){dr(c,Pi(c),a);return}for(var d in c)vt.call(c,d)&&oo(a,d,c[d])}),Kg=cl(function(a,c){dr(c,sn(c),a)}),Sf=cl(function(a,c,d,m){dr(c,sn(c),a,m)}),x_=cl(function(a,c,d,m){dr(c,Pi(c),a,m)}),C_=Vr(qu);function X_(a,c){var d=fl(a);return c==null?d:Cp(d,c)}var T_=Ke(function(a,c){a=Pt(a);var d=-1,m=c.length,w=m>2?c[2]:t;for(w&&Fi(c[0],c[1],w)&&(m=1);++d1),W}),dr(a,sh(a),d),m&&(d=An(d,O|p|g,zP));for(var w=c.length;w--;)Hu(d,c[w]);return d});function G_(a,c){return em(a,pf(Ze(c)))}var H_=Vr(function(a,c){return a==null?{}:vP(a,c)});function em(a,c){if(a==null)return{};var d=Mt(sh(a),function(m){return[m]});return c=Ze(c),Np(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=kp();return Ei(a+w*(c-a+wu("1e-"+((w+"").length-1))),c)}return Bu(a,c)}var fW=ul(function(a,c,d){return c=c.toLowerCase(),a+(d?nm(c):c)});function nm(a){return Qh(Qt(a).toLowerCase())}function rm(a){return a=Qt(a),a&&a.replace(Zs,Jy).replace(bu,"")}function cW(a,c,d){a=Qt(a),c=pn(c);var m=a.length;d=d===t?m:Vs(je(d),0,m);var w=d;return d-=c.length,d>=0&&a.slice(d,w)==c}function uW(a){return a=Qt(a),a&&Kr.test(a)?a.replace(Tr,ev):a}function hW(a){return a=Qt(a),a&&Lt.test(a)?a.replace(Tt,"\\$&"):a}var OW=ul(function(a,c,d){return a+(d?"-":"")+c.toLowerCase()}),dW=ul(function(a,c,d){return a+(d?" ":"")+c.toLowerCase()}),pW=og("toLowerCase");function gW(a,c,d){a=Qt(a),c=je(c);var m=c?rl(a):0;if(!c||m>=c)return a;var w=(c-m)/2;return lf(La(w),d)+a+lf(Na(w),d)}function mW(a,c,d){a=Qt(a),c=je(c);var m=c?rl(a):0;return c&&m>>0,d?(a=Qt(a),a&&(typeof c=="string"||c!=null&&!Sh(c))&&(c=pn(c),!c&&nl(a))?as(Gn(a),0,d):a.split(c,d)):[]}var vW=ul(function(a,c,d){return a+(d?" ":"")+Qh(c)});function PW(a,c,d){return a=Qt(a),d=d==null?0:Vs(je(d),0,a.length),c=pn(c),a.slice(d,d+c.length)==c}function kW(a,c,d){var m=k.templateSettings;d&&Fi(a,c,d)&&(c=t),a=Qt(a),c=Sf({},c,m,dg);var w=Sf({},c.imports,m.imports,dg),W=Pi(w),T=Tu(w,W),U,M,J=0,ee=c.interpolate||mi,re="__p += '",Se=Ru((c.escape||mi).source+"|"+ee.source+"|"+(ee===qt?j:mi).source+"|"+(c.evaluate||mi).source+"|$","g"),We="//# sourceURL="+(vt.call(c,"sourceURL")?(c.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++$e+"]")+` +`;a.replace(Se,function(Ue,ot,dt,mn,Gi,Sn){return dt||(dt=mn),re+=a.slice(J,Sn).replace(Cn,tv),ot&&(U=!0,re+=`' + __e(`+ot+`) + -'`),Gi&&(M=!0,ne+=`'; +'`),Gi&&(M=!0,re+=`'; `+Gi+`; -__p += '`),dt&&(ne+=`' + +__p += '`),dt&&(re+=`' + ((__t = (`+dt+`)) == null ? '' : __t) + -'`),J=Sn+Ue.length,Ue}),ne+=`'; -`;var Ae=vt.call(c,"variable")&&c.variable;if(!Ae)ne=`with (obj) { -`+ne+` +'`),J=Sn+Ue.length,Ue}),re+=`'; +`;var Ae=vt.call(c,"variable")&&c.variable;if(!Ae)re=`with (obj) { +`+re+` } -`;else if(Tr.test(Ae))throw new De(o);ne=(M?ne.replace(vi,""):ne).replace(Gr,"$1").replace(Vi,"$1;"),ne="function("+(Ae||"obj")+`) { +`;else if(Zr.test(Ae))throw new De(o);re=(M?re.replace(vi,""):re).replace(Hr,"$1").replace(qi,"$1;"),re="function("+(Ae||"obj")+`) { `+(Ae?"":`obj || (obj = {}); `)+"var __t, __p = ''"+(U?", __e = _.escape":"")+(M?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+ne+`return __p -}`;var je=sm(function(){return $t(W,_e+"return "+ne).apply(t,T)});if(je.source=ne,mh(je))throw je;return je}function _W(a){return Qt(a).toLowerCase()}function WW(a){return Qt(a).toUpperCase()}function xW(a,c,d){if(a=Qt(a),a&&(d||c===t))return dp(a);if(!a||!(c=pn(c)))return a;var m=Gn(a),w=Gn(c),W=pp(m,w),T=gp(m,w)+1;return os(m,W,T).join("")}function CW(a,c,d){if(a=Qt(a),a&&(d||c===t))return a.slice(0,Sp(a)+1);if(!a||!(c=pn(c)))return a;var m=Gn(a),w=gp(m,Gn(c))+1;return os(m,0,w).join("")}function XW(a,c,d){if(a=Qt(a),a&&(d||c===t))return a.replace(Ct,"");if(!a||!(c=pn(c)))return a;var m=Gn(a),w=pp(m,Gn(c));return os(m,w).join("")}function TW(a,c){var d=I,m=re;if(Ft(c)){var w="separator"in c?c.separator:w;d="length"in c?Le(c.length):d,m="omission"in c?pn(c.omission):m}a=Qt(a);var W=a.length;if(nl(a)){var T=Gn(a);W=T.length}if(d>=W)return a;var U=d-rl(m);if(U<1)return m;var M=T?os(T,0,U).join(""):a.slice(0,U);if(w===t)return M+m;if(T&&(U+=M.length-U),Sh(w)){if(a.slice(U).search(w)){var J,ee=M;for(w.global||(w=Ru(w.source,Qt(Oe.exec(w))+"g")),w.lastIndex=0;J=w.exec(ee);)var ne=J.index;M=M.slice(0,ne===t?U:ne)}}else if(a.indexOf(pn(w),U)!=U){var me=M.lastIndexOf(w);me>-1&&(M=M.slice(0,me))}return M+m}function ZW(a){return a=Qt(a),a&&ri.test(a)?a.replace(Vt,av):a}var RW=ul(function(a,c,d){return a+(d?" ":"")+c.toUpperCase()}),Qh=lg("toUpperCase");function rm(a,c,d){return a=Qt(a),c=d?t:c,c===t?nv(a)?uv(a):jy(a):a.match(c)||[]}var sm=He(function(a,c){try{return On(a,t,c)}catch(d){return mh(d)?d:new De(d)}}),AW=Yr(function(a,c){return Tn(c,function(d){d=dr(d),Ar(a,d,ph(a[d],a))}),a});function UW(a){var c=a==null?0:a.length,d=Ze();return a=c?Dt(a,function(m){if(typeof m[1]!="function")throw new Zn(l);return[d(m[0]),m[1]]}):[],He(function(m){for(var w=-1;++wTe)return[];var d=Ke,m=qi(a,Ke);c=Ze(c),a-=Ke;for(var w=Xu(m,c);++d0||c<0)?new ct(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)},ct.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},ct.prototype.toArray=function(){return this.take(Ke)},hr(ct.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__,U=m?[1]:arguments,M=T instanceof ct,J=U[0],ee=M||Ne(T),ne=function(ot){var dt=w.apply(P,ts([ot],U));return m&&me?dt[0]:dt};ee&&d&&typeof J=="function"&&J.length!=1&&(M=ee=!1);var me=this.__chain__,_e=!!this.__actions__.length,Ae=W&&!me,je=M&&!_e;if(!W&&ee){T=je?T:new ct(this);var Ue=a.apply(T,U);return Ue.__actions__.push({func:uf,args:[ne],thisArg:t}),new Rn(Ue,me)}return Ae&&je?a.apply(this,U):(Ue=this.thru(ne),Ae?m?Ue.value()[0]:Ue.value():Ue)})}),Tn(["pop","push","shift","sort","splice","unshift"],function(a){var c=Ua[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(Ne(W)?W:[],w)}return this[d](function(T){return c.apply(Ne(T)?T:[],w)})}}),hr(ct.prototype,function(a,c){var d=P[c];if(d){var m=d.name+"";vt.call(al,m)||(al[m]=[]),al[m].push({name:c,func:d})}}),al[rf(t,_).name]=[{name:"wrapper",func:t}],ct.prototype.clone=Zv,ct.prototype.reverse=Rv,ct.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},sl=hv();Rs?((Rs.exports=sl)._=sl,yu._=sl):Wi._=sl}).call(ko)})(Ec,Ec.exports);var X9=Ec.exports;const T9=ks.define({parser:G4.configure({props:[Nl.add({ParenthesisedExpression:cs({closing:")",align:!1}),Application:cs({closing:")",align:!1}),GeneratorCallGenerators:cs({closing:")",align:!1}),LetItems:cs({closing:"}",align:!1}),ArrayLiteral:cs({closing:"]",align:!1}),ArrayLiteral2d:cs({closing:"|]",align:!1}),SetLiteral:cs({closing:"}",align:!1})}),Ll.add({ParenthesisedExpression:br,Application:br,GeneratorCallGenerators:br,LetItems:br,ArrayLiteral:br,ArrayLiteral2d:br,SetLiteral:br}),Il({Keyword:S.keyword,"Identifier QuotedIdentifier":S.variableName,"Call/Identifier Call/QuotedIdentifier GeneratorCall/Identifier GeneratorCall/QuotedIdentifier":S.name,Absent:S.null,Anonymous:S.null,BooleanLiteral:S.bool,Number:S.number,Infinity:S.number,StringLiteral:S.string,LineComment:S.comment,BlockComment:S.comment,"( )":S.paren,"{ }":S.paren,"[ ]":S.paren})]}),languageData:{commentTokens:{line:"%"}}});function F0(){return new fa(T9)}const Uy=_i({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"}]}),Yy=_i({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"}]}),ep=new zl,Ls=new zl,Z9=Ls.reconfigure(Se.editable.of(!1)),R9=Ls.reconfigure(Se.editable.of(!0)),A9=ep.reconfigure(Uy),U9=ep.reconfigure(Yy);function If(n,e,t,i=!1){const r=[ZR,oa.of([eZ]),ep.of(t?Yy:Uy),Se.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,Ls.of(Se.editable.of(!i)),YR()]:n===".mzc"?[...r,Ls.of(Se.editable.of(!1))]:n===".dzn"?[...r,Ls.of(Se.editable.of(!i)),F0()]:n===".html"?[...r,Ls.of(Se.editable.of(!i)),x9()]:[...r,Ls.of(Se.editable.of(!i)),F0(),Se.updateListener.of(X9.debounce(e,250))]}function G0(n,e,t){const i=n.slice();return i[4]=e[t],i}function H0(n,e,t){const i=n.slice();return i[7]=e[t],i}function K0(n,e,t){const i=n.slice();return i[10]=e[t],i[12]=t,i}function Y9(n){let e,t,i=Mc(n[0].location)+"",r,s,l,o,f,u,h;return{c(){e=k("pre"),t=k("a"),r=Qe(i),l=Qe(":"),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=se(t,"click",n[3]),u=!0)},p(O,p){p&1&&i!==(i=Mc(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=rt(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 Vy extends Yi{constructor(e){super(),Ui(this,e,I9,z9,Ai,{msg:0})}}function sS(n,e,t){const i=n.slice();return i[40]=e[t],i}function lS(n,e,t){const i=n.slice();return i[43]=e[t],i}function oS(n,e,t){const i=n.slice();return i[52]=e[t],i}function aS(n,e,t){const i=n.slice();return i[49]=e[t],i}function fS(n,e,t){const i=n.slice();return i[46]=e[t],i}const N9=n=>({}),cS=n=>({});function uS(n,e,t){const i=n.slice();return i[46]=e[t],i}function hS(n){let e,t,i,r,s,l,o,f,u,h,O,p,g;function b(q,F){return q[13].length===0?B9:L9}let $=b(n),Q=$(n),_=rt(n[14]),x=[];for(let q=0;q<_.length;q+=1)x[q]=OS(uS(n,_,q));let Z=n[19]&&dS(n),C=n[18]&&pS(n),X=n[17]&&gS(n),R=n[16]&&mS(n),z=n[15]&&SS(n);return{c(){e=k("button"),Q.c(),i=N();for(let q=0;q{o=null}),nt()),u[2]?f?(f.p(u,h),h[0]&4&&D(f,1)):(f=QS(u),f.c(),D(f,1),f.m(e,null)):f&&(it(),j(f,1,1,()=>{f=null}),nt())},i(u){r||(D(l,u),D(o),D(f),r=!0)},o(u){j(l,u),j(o),j(f),r=!1},d(u){u&&Y(e),l&&l.d(u),o&&o.d(),f&&f.d()}}}function $S(n){let e,t,i,r,s,l,o;return r=new _t({props:{icon:h4}}),{c(){e=k("p"),t=k("button"),i=k("span"),Ee(r.$$.fragment),y(i,"class","icon"),y(t,"class","button is-small"),y(t,"title","Clear output on each run"),oe(t,"is-primary",n[0]),oe(t,"is-light",!n[0]),y(e,"class","control")},m(f,u){V(f,e,u),v(e,t),v(t,i),Ye(r,i,null),s=!0,l||(o=se(t,"click",n[33]),l=!0)},p(f,u){(!s||u[0]&1)&&oe(t,"is-primary",f[0]),(!s||u[0]&1)&&oe(t,"is-light",!f[0])},i(f){s||(D(r.$$.fragment,f),s=!0)},o(f){j(r.$$.fragment,f),s=!1},d(f){f&&Y(e),Ve(r),l=!1,o()}}}function QS(n){let e,t,i,r,s,l,o;return r=new _t({props:{icon:PQ}}),{c(){e=k("p"),t=k("button"),i=k("span"),Ee(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),Ye(r,i,null),s=!0,l||(o=se(t,"click",n[34]),l=!0)},p:xe,i(f){s||(D(r.$$.fragment,f),s=!0)},o(f){j(r.$$.fragment,f),s=!1},d(f){f&&Y(e),Ve(r),l=!1,o()}}}function j9(n){let e;return{c(){e=Qe("Running")},m(t,i){V(t,e,i)},d(t){t&&Y(e)}}}function F9(n){let e;return{c(){e=Qe("Compiling")},m(t,i){V(t,e,i)},d(t){t&&Y(e)}}}function G9(n){let e,t,i,r=Dc(n[43].runTime)+"",s,l,o=n[43].code&&wS(n);return{c(){o&&o.c(),e=N(),t=k("pre"),i=Qe("Finished in "),s=Qe(r),l=Qe("."),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=wS(f),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),u[0]&2&&r!==(r=Dc(f[43].runTime)+"")&&Be(s,r)},i:xe,o:xe,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])&&yS(n);return{c(){i&&i.c(),e=ci()},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=yS(r),i.c(),D(i,1),i.m(e.parentNode,e)):i&&(it(),j(i,1,1,()=>{i=null}),nt())},i(r){t||(D(i),t=!0)},o(r){j(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=Qe(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:xe,o:xe,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:xe,i:xe,o:xe,d(r){r&&(Y(e),Y(t),Y(i))}}}function e8(n){let e,t=n[8]&&vS(n);return{c(){t&&t.c(),e=ci()},m(i,r){t&&t.m(i,r),V(i,e,r)},p(i,r){i[8]?t?t.p(i,r):(t=vS(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:xe,o:xe,d(i){i&&Y(e),t&&t.d(i)}}}function t8(n){let e,t=n[9]&&kS(n);return{c(){t&&t.c(),e=ci()},m(i,r){t&&t.m(i,r),V(i,e,r)},p(i,r){i[9]?t?t.p(i,r):(t=kS(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:xe,o:xe,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=Qe(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:xe,o:xe,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&&_S(n);return{c(){i&&i.c(),t=ci()},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=_S(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:xe,o:xe,d(r){r&&Y(t),i&&i.d(r)}}}function r8(n){let e,t=n[10]&&WS(n);return{c(){t&&t.c(),e=ci()},m(i,r){t&&t.m(i,r),V(i,e,r)},p(i,r){i[10]?t?t.p(i,r):(t=WS(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:xe,o:xe,d(i){i&&Y(e),t&&t.d(i)}}}function s8(n){let e,t,i,r,s,l,o,f=rt(AS(n[43],n[13])),u=[];for(let O=0;Oj(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}),nt())},i(r){t||(D(i),t=!0)},o(r){j(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=Qe(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:xe,o:xe,d(r){r&&Y(e)}}}function xS(n){let e,t;return e=new Vy({props:{msg:n[49]}}),e.$on("goto",n[35]),{c(){Ee(e.$$.fragment)},m(i,r){Ye(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){j(e.$$.fragment,i),t=!1},d(i){Ve(e,i)}}}function CS(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=ci()},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&&(it(),j(l[h],1,1,()=>{l[h]=null}),nt()),~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){j(t),r=!1},d(f){f&&Y(i),~e&&l[e].d(f)}}}function XS(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=ci()},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=Qe(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=Qe(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 TS(n){let e=n[13].indexOf(n[46])===-1&&n[46]!=="vis_json",t,i=e&&XS(n);return{c(){i&&i.c(),t=ci()},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=XS(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(r){r&&Y(t),i&&i.d(r)}}}function ZS(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=ci()},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&&(it(),j(l[h],1,1,()=>{l[h]=null}),nt()),~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){j(t),r=!1},d(f){f&&Y(i),~e&&l[e].d(f)}}}function RS(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=rt(n[40].output),b=[];for(let Q=0;Qj(b[Q],1,1,()=>{b[Q]=null});return{c(){e=k("details"),t=k("summary"),p.c(),i=N(),s=Qe(r),l=N(),o=k("div");for(let Q=0;Qj(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}),nt()),(!o||b[0]&48)&&oe(t,"is-empty",!g[4]&&!g[5]),(!o||b[0]&64)&&oe(t,"is-tab",g[6]),b[0]&8404738){h=rt(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 AS(n,e){const t=[];let i=[];const r=()=>{if(i.length>0){const s=i.join("").split(` +`)+re+`return __p +}`;var Fe=lm(function(){return $t(W,We+"return "+re).apply(t,T)});if(Fe.source=re,mh(Fe))throw Fe;return Fe}function _W(a){return Qt(a).toLowerCase()}function WW(a){return Qt(a).toUpperCase()}function xW(a,c,d){if(a=Qt(a),a&&(d||c===t))return pp(a);if(!a||!(c=pn(c)))return a;var m=Gn(a),w=Gn(c),W=gp(m,w),T=mp(m,w)+1;return as(m,W,T).join("")}function CW(a,c,d){if(a=Qt(a),a&&(d||c===t))return a.slice(0,bp(a)+1);if(!a||!(c=pn(c)))return a;var m=Gn(a),w=mp(m,Gn(c))+1;return as(m,0,w).join("")}function XW(a,c,d){if(a=Qt(a),a&&(d||c===t))return a.replace(Wt,"");if(!a||!(c=pn(c)))return a;var m=Gn(a),w=gp(m,Gn(c));return as(m,w).join("")}function TW(a,c){var d=z,m=ie;if(Bt(c)){var w="separator"in c?c.separator:w;d="length"in c?je(c.length):d,m="omission"in c?pn(c.omission):m}a=Qt(a);var W=a.length;if(nl(a)){var T=Gn(a);W=T.length}if(d>=W)return a;var U=d-rl(m);if(U<1)return m;var M=T?as(T,0,U).join(""):a.slice(0,U);if(w===t)return M+m;if(T&&(U+=M.length-U),Sh(w)){if(a.slice(U).search(w)){var J,ee=M;for(w.global||(w=Ru(w.source,Qt(Oe.exec(w))+"g")),w.lastIndex=0;J=w.exec(ee);)var re=J.index;M=M.slice(0,re===t?U:re)}}else if(a.indexOf(pn(w),U)!=U){var Se=M.lastIndexOf(w);Se>-1&&(M=M.slice(0,Se))}return M+m}function ZW(a){return a=Qt(a),a&&si.test(a)?a.replace(Yt,av):a}var RW=ul(function(a,c,d){return a+(d?" ":"")+c.toUpperCase()}),Qh=og("toUpperCase");function sm(a,c,d){return a=Qt(a),c=d?t:c,c===t?nv(a)?uv(a):By(a):a.match(c)||[]}var lm=Ke(function(a,c){try{return On(a,t,c)}catch(d){return mh(d)?d:new De(d)}}),AW=Vr(function(a,c){return Tn(c,function(d){d=pr(d),Ur(a,d,ph(a[d],a))}),a});function UW(a){var c=a==null?0:a.length,d=Ze();return a=c?Mt(a,function(m){if(typeof m[1]!="function")throw new Zn(l);return[d(m[0]),m[1]]}):[],Ke(function(m){for(var w=-1;++wXe)return[];var d=Le,m=Ei(a,Le);c=Ze(c),a-=Le;for(var w=Xu(m,c);++d0||c<0)?new ct(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),c!==t&&(c=je(c),d=c<0?d.dropRight(-c):d.take(c-a)),d)},ct.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},ct.prototype.toArray=function(){return this.take(Le)},Or(ct.prototype,function(a,c){var d=/^(?:filter|find|map|reject)|While$/.test(c),m=/^(?:head|last)$/.test(c),w=k[m?"take"+(c=="last"?"Right":""):c],W=m||/^find/.test(c);w&&(k.prototype[c]=function(){var T=this.__wrapped__,U=m?[1]:arguments,M=T instanceof ct,J=U[0],ee=M||Ne(T),re=function(ot){var dt=w.apply(k,is([ot],U));return m&&Se?dt[0]:dt};ee&&d&&typeof J=="function"&&J.length!=1&&(M=ee=!1);var Se=this.__chain__,We=!!this.__actions__.length,Ae=W&&!Se,Fe=M&&!We;if(!W&&ee){T=Fe?T:new ct(this);var Ue=a.apply(T,U);return Ue.__actions__.push({func:uf,args:[re],thisArg:t}),new Rn(Ue,Se)}return Ae&&Fe?a.apply(this,U):(Ue=this.thru(re),Ae?m?Ue.value()[0]:Ue.value():Ue)})}),Tn(["pop","push","shift","sort","splice","unshift"],function(a){var c=Ua[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",m=/^(?:pop|shift)$/.test(a);k.prototype[a]=function(){var w=arguments;if(m&&!this.__chain__){var W=this.value();return c.apply(Ne(W)?W:[],w)}return this[d](function(T){return c.apply(Ne(T)?T:[],w)})}}),Or(ct.prototype,function(a,c){var d=k[c];if(d){var m=d.name+"";vt.call(al,m)||(al[m]=[]),al[m].push({name:c,func:d})}}),al[rf(t,P).name]=[{name:"wrapper",func:t}],ct.prototype.clone=Zv,ct.prototype.reverse=Rv,ct.prototype.value=Av,k.prototype.at=ck,k.prototype.chain=uk,k.prototype.commit=hk,k.prototype.next=Ok,k.prototype.plant=pk,k.prototype.reverse=gk,k.prototype.toJSON=k.prototype.valueOf=k.prototype.value=mk,k.prototype.first=k.prototype.head,io&&(k.prototype[io]=dk),k},sl=hv();Rs?((Rs.exports=sl)._=sl,yu._=sl):xi._=sl}).call(ko)})(Ec,Ec.exports);var X9=Ec.exports;const T9=ks.define({parser:G4.configure({props:[Nl.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})}),Ll.add({ParenthesisedExpression:$r,Application:$r,GeneratorCallGenerators:$r,LetItems:$r,ArrayLiteral:$r,ArrayLiteral2d:$r,SetLiteral:$r}),Il({Keyword:S.keyword,"Identifier QuotedIdentifier":S.variableName,"Call/Identifier Call/QuotedIdentifier GeneratorCall/Identifier GeneratorCall/QuotedIdentifier":S.name,Absent:S.null,Anonymous:S.null,BooleanLiteral:S.bool,Number:S.number,Infinity:S.number,StringLiteral:S.string,LineComment:S.comment,BlockComment:S.comment,"( )":S.paren,"{ }":S.paren,"[ ]":S.paren})]}),languageData:{commentTokens:{line:"%"}}});function F0(){return new fa(T9)}const Uy=Wi({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"}]}),Yy=Wi({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"}]}),tp=new zl,Ls=new zl,Z9=Ls.reconfigure(be.editable.of(!1)),R9=Ls.reconfigure(be.editable.of(!0)),A9=tp.reconfigure(Uy),U9=tp.reconfigure(Yy);function If(n,e,t,i=!1){const r=[ZR,oa.of([eZ]),tp.of(t?Yy:Uy),be.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,Ls.of(be.editable.of(!i)),YR()]:n===".mzc"?[...r,Ls.of(be.editable.of(!1))]:n===".dzn"?[...r,Ls.of(be.editable.of(!i)),F0()]:n===".html"?[...r,Ls.of(be.editable.of(!i)),x9()]:[...r,Ls.of(be.editable.of(!i)),F0(),be.updateListener.of(X9.debounce(e,250))]}function G0(n,e,t){const i=n.slice();return i[4]=e[t],i}function H0(n,e,t){const i=n.slice();return i[7]=e[t],i}function K0(n,e,t){const i=n.slice();return i[10]=e[t],i[12]=t,i}function Y9(n){let e,t,i=Mc(n[0].location)+"",r,s,l,o,f,u,h;return{c(){e=_("pre"),t=_("a"),r=Qe(i),l=Qe(":"),o=L(),f=_("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=le(t,"click",n[3]),u=!0)},p(O,p){p&1&&i!==(i=Mc(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 Vy extends Vi{constructor(e){super(),Yi(this,e,I9,z9,Ui,{msg:0})}}function sS(n,e,t){const i=n.slice();return i[40]=e[t],i}function lS(n,e,t){const i=n.slice();return i[43]=e[t],i}function oS(n,e,t){const i=n.slice();return i[52]=e[t],i}function aS(n,e,t){const i=n.slice();return i[49]=e[t],i}function fS(n,e,t){const i=n.slice();return i[46]=e[t],i}const N9=n=>({}),cS=n=>({});function uS(n,e,t){const i=n.slice();return i[46]=e[t],i}function hS(n){let e,t,i,r,s,l,o,f,u,h,O,p,g;function b(q,N){return q[13].length===0?j9:L9}let Q=b(n),$=Q(n),P=nt(n[14]),x=[];for(let q=0;q{o=null}),it()),u[2]?f?(f.p(u,h),h[0]&4&&D(f,1)):(f=QS(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 $S(n){let e,t,i,r,s,l,o;return r=new _t({props:{icon:h4}}),{c(){e=_("p"),t=_("button"),i=_("span"),Ee(r.$$.fragment),y(i,"class","icon"),y(t,"class","button is-small"),y(t,"title","Clear output on each run"),oe(t,"is-primary",n[0]),oe(t,"is-light",!n[0]),y(e,"class","control")},m(f,u){V(f,e,u),v(e,t),v(t,i),Ye(r,i,null),s=!0,l||(o=le(t,"click",n[33]),l=!0)},p(f,u){(!s||u[0]&1)&&oe(t,"is-primary",f[0]),(!s||u[0]&1)&&oe(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),Ve(r),l=!1,o()}}}function QS(n){let e,t,i,r,s,l,o;return r=new _t({props:{icon:PQ}}),{c(){e=_("p"),t=_("button"),i=_("span"),Ee(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),Ye(r,i,null),s=!0,l||(o=le(t,"click",n[34]),l=!0)},p:Ce,i(f){s||(D(r.$$.fragment,f),s=!0)},o(f){F(r.$$.fragment,f),s=!1},d(f){f&&Y(e),Ve(r),l=!1,o()}}}function B9(n){let e;return{c(){e=Qe("Running")},m(t,i){V(t,e,i)},d(t){t&&Y(e)}}}function F9(n){let e;return{c(){e=Qe("Compiling")},m(t,i){V(t,e,i)},d(t){t&&Y(e)}}}function G9(n){let e,t,i,r=Dc(n[43].runTime)+"",s,l,o=n[43].code&&wS(n);return{c(){o&&o.c(),e=L(),t=_("pre"),i=Qe("Finished in "),s=Qe(r),l=Qe("."),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=wS(f),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),u[0]&2&&r!==(r=Dc(f[43].runTime)+"")&&Be(s,r)},i:Ce,o:Ce,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])&&yS(n);return{c(){i&&i.c(),e=ui()},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=yS(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=_("pre"),i=Qe(t),r=L(),s=_("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:Ce,o:Ce,d(l){l&&(Y(e),Y(r),Y(s))}}}function J9(n){let e,t,i;return{c(){e=_("pre"),e.textContent="Stopped.",t=L(),i=_("br"),y(e,"class","mzn-runtime")},m(r,s){V(r,e,s),V(r,t,s),V(r,i,s)},p:Ce,i:Ce,o:Ce,d(r){r&&(Y(e),Y(t),Y(i))}}}function e8(n){let e,t=n[8]&&vS(n);return{c(){t&&t.c(),e=ui()},m(i,r){t&&t.m(i,r),V(i,e,r)},p(i,r){i[8]?t?t.p(i,r):(t=vS(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ce,o:Ce,d(i){i&&Y(e),t&&t.d(i)}}}function t8(n){let e,t=n[9]&&kS(n);return{c(){t&&t.c(),e=ui()},m(i,r){t&&t.m(i,r),V(i,e,r)},p(i,r){i[9]?t?t.p(i,r):(t=kS(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ce,o:Ce,d(i){i&&Y(e),t&&t.d(i)}}}function i8(n){let e,t=n[43].comment+"",i;return{c(){e=_("pre"),i=Qe(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:Ce,o:Ce,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&&_S(n);return{c(){i&&i.c(),t=ui()},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=_S(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:Ce,o:Ce,d(r){r&&Y(t),i&&i.d(r)}}}function r8(n){let e,t=n[10]&&WS(n);return{c(){t&&t.c(),e=ui()},m(i,r){t&&t.m(i,r),V(i,e,r)},p(i,r){i[10]?t?t.p(i,r):(t=WS(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ce,o:Ce,d(i){i&&Y(e),t&&t.d(i)}}}function s8(n){let e,t,i,r,s,l,o,f=nt(AS(n[43],n[13])),u=[];for(let O=0;OF(u[O],1,1,()=>{u[O]=null});return{c(){e=_("span"),t=_("pre"),t.textContent="% Solution checker report:",i=L(),r=_("br"),s=L();for(let O=0;O%%%mzn-stat-end',i=L(),r=_("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=_("pre"),i=Qe(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:Ce,o:Ce,d(r){r&&Y(e)}}}function xS(n){let e,t;return e=new Vy({props:{msg:n[49]}}),e.$on("goto",n[35]),{c(){Ee(e.$$.fragment)},m(i,r){Ye(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){Ve(e,i)}}}function CS(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=ui()},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 XS(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=ui()},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=_("pre"),i=Qe(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=_("pre"),i=Qe(t),r=L(),s=_("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 TS(n){let e=n[13].indexOf(n[46])===-1&&n[46]!=="vis_json",t,i=e&&XS(n);return{c(){i&&i.c(),t=ui()},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=XS(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(r){r&&Y(t),i&&i.d(r)}}}function ZS(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=ui()},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 RS(n){let e,t,i,r=n[40].files.join(", ")+"",s,l,o,f,u;function h($,P){return $[40].isCompile?F9:B9}let O=h(n),p=O(n),g=nt(n[40].output),b=[];for(let $=0;$F(b[$],1,1,()=>{b[$]=null});return{c(){e=_("details"),t=_("summary"),p.c(),i=L(),s=Qe(r),l=L(),o=_("div");for(let $=0;$F(O[g],1,1,()=>{O[g]=null});return{c(){e=_("div"),t=_("div"),f&&f.c(),i=L(),u&&u.c(),r=L(),s=_("div"),l=_("div");for(let g=0;g{u=null}),it()),(!o||b[0]&48)&&oe(t,"is-empty",!g[4]&&!g[5]),(!o||b[0]&64)&&oe(t,"is-tab",g[6]),b[0]&8404738){h=nt(g[1]);let Q;for(Q=0;Q0&&(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 AS(n,e){const t=[];let i=[];const r=()=>{if(i.length>0){const s=i.join("").split(` `);s[s.length-1]===""&&s.splice(s.length-1,1),t.push({type:"text",message:s.map(l=>`% ${l}`).join(` -`)}),i=[]}};if(n.messages){for(const s of n.messages)if(s.type==="solution")for(const l of s.sections)e.indexOf(l)===-1&&l!=="raw"&&i.push(n.output[l]);else s.type==="trace"?e.indexOf(s.section)===-1&&s.section!=="raw"&&i.push(s.message):(r(),t.push(s));r()}else{for(const s of n.sections)e.indexOf(s)===-1&&s!=="raw"&&i.push(n.output[s]);r()}return t}function d8(n,e,t){let i,r,s,l,o,f,{$$slots:u={},$$scope:h}=e;const O=jn();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,z=!0,q=!0;function F($e){const te=$e.flatMap(ce=>ce.output),H=new Set([...te.filter(ce=>ce.type==="solution"||ce.type==="checker").flatMap(ce=>ce.sections.filter(Je=>ce.output[Je].length>0)),...te.filter(ce=>ce.type==="trace").map(ce=>ce.section)]);H.delete("raw"),H.delete("vis_json");const ie=[...H.values()];return ie.sort(),t(13,ae=ae.filter(ce=>H.has(ce))),ie}function I($e){ae.indexOf($e)===-1?t(13,ae=[...ae,$e]):t(13,ae=ae.filter(te=>te!==$e))}function re(){ae.length===0?t(13,ae=[...f]):t(13,ae=[])}let ae=[];const ye={ALL_SOLUTIONS:"==========",OPTIMAL_SOLUTION:"==========",UNSATISFIABLE:"=====UNSATISFIABLE=====",UNSAT_OR_UNBOUNDED:"=====UNSATorUNBOUNDED=====",UNBOUNDED:"=====UNBOUNDED=====",UNKNOWN:"=====UNKNOWN=====",ERROR:"=====ERROR====="};async function we($e){Z&&(await Os(),Z.scrollTo(0,Z.scrollHeight))}const qe=()=>re(),ue=$e=>I($e),fe=()=>t(8,C=!C),Te=()=>t(9,X=!X),Ce=()=>t(10,R=!R),Xe=()=>t(11,z=!z),Ke=()=>t(12,q=!q),Nt=()=>t(0,g=!g),ti=()=>O("clear");function Wt($e){Om.call(this,n,$e)}function xt($e){Om.call(this,n,$e)}function Tt($e){hi[$e?"unshift":"push"](()=>{Z=$e,t(7,Z)})}return n.$$set=$e=>{"output"in $e&&t(1,p=$e.output),"autoClearOutput"in $e&&t(0,g=$e.autoClearOutput),"showClearOutput"in $e&&t(2,b=$e.showClearOutput),"showAutoClearOutput"in $e&&t(3,$=$e.showAutoClearOutput),"showSectionToggles"in $e&&t(4,Q=$e.showSectionToggles),"showRightControls"in $e&&t(5,_=$e.showRightControls),"isTab"in $e&&t(6,x=$e.isTab),"$$scope"in $e&&t(24,h=$e.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&2&&t(19,i=p.some($e=>$e.output.some(te=>te.type==="statistics"))),n.$$.dirty[0]&2&&t(18,r=p.some($e=>$e.output.some(te=>te.type==="stderr"))),n.$$.dirty[0]&2&&t(17,s=p.some($e=>$e.output.some(te=>te.type==="time"))),n.$$.dirty[0]&2&&t(16,l=p.some($e=>$e.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($e=>$e.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=F(p)),n.$$.dirty[0]&2&&we()},[g,p,b,$,Q,_,x,Z,C,X,R,z,q,ae,f,o,l,s,r,i,O,I,re,ye,h,u,qe,ue,fe,Te,Ce,Xe,Ke,Nt,ti,Wt,xt,Tt]}class p8 extends Yi{constructor(e){super(),Ui(this,e,d8,O8,Ai,{output:1,autoClearOutput:0,showClearOutput:2,showAutoClearOutput:3,showSectionToggles:4,showRightControls:5,isTab:6},null,[-1,-1])}}const g8=`const MiniZincIDE = (() => { +`)}),i=[]}};if(n.messages){for(const s of n.messages)if(s.type==="solution")for(const l of s.sections)e.indexOf(l)===-1&&l!=="raw"&&i.push(n.output[l]);else s.type==="trace"?e.indexOf(s.section)===-1&&s.section!=="raw"&&i.push(s.message):(r(),t.push(s));r()}else{for(const s of n.sections)e.indexOf(s)===-1&&s!=="raw"&&i.push(n.output[s]);r()}return t}function d8(n,e,t){let i,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:Q=!0}=e,{showSectionToggles:$=!0}=e,{showRightControls:P=!0}=e,{isTab:x=!1}=e,R,C=!0,X=!0,Z=!0,I=!0,q=!0;function N(ge){const te=ge.flatMap(ae=>ae.output),H=new Set([...te.filter(ae=>ae.type==="solution"||ae.type==="checker").flatMap(ae=>ae.sections.filter(rt=>ae.output[rt].length>0)),...te.filter(ae=>ae.type==="trace").map(ae=>ae.section)]);H.delete("raw"),H.delete("vis_json");const ne=[...H.values()];return ne.sort(),t(13,fe=fe.filter(ae=>H.has(ae))),ne}function z(ge){fe.indexOf(ge)===-1?t(13,fe=[...fe,ge]):t(13,fe=fe.filter(te=>te!==ge))}function ie(){fe.length===0?t(13,fe=[...f]):t(13,fe=[])}let fe=[];const we={ALL_SOLUTIONS:"==========",OPTIMAL_SOLUTION:"==========",UNSATISFIABLE:"=====UNSATISFIABLE=====",UNSAT_OR_UNBOUNDED:"=====UNSATorUNBOUNDED=====",UNBOUNDED:"=====UNBOUNDED=====",UNKNOWN:"=====UNKNOWN=====",ERROR:"=====ERROR====="};async function ye(ge){R&&(await sr(),R.scrollTo(0,R.scrollHeight))}const qe=()=>ie(),he=ge=>z(ge),ce=()=>t(8,C=!C),Xe=()=>t(9,X=!X),ke=()=>t(10,Z=!Z),Te=()=>t(11,I=!I),Le=()=>t(12,q=!q),Kt=()=>t(0,g=!g),ii=()=>O("clear");function Ct(ge){hO.call(this,n,ge)}function Ut(ge){hO.call(this,n,ge)}function It(ge){Dt[ge?"unshift":"push"](()=>{R=ge,t(7,R)})}return n.$$set=ge=>{"output"in ge&&t(1,p=ge.output),"autoClearOutput"in ge&&t(0,g=ge.autoClearOutput),"showClearOutput"in ge&&t(2,b=ge.showClearOutput),"showAutoClearOutput"in ge&&t(3,Q=ge.showAutoClearOutput),"showSectionToggles"in ge&&t(4,$=ge.showSectionToggles),"showRightControls"in ge&&t(5,P=ge.showRightControls),"isTab"in ge&&t(6,x=ge.isTab),"$$scope"in ge&&t(24,h=ge.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&2&&t(19,i=p.some(ge=>ge.output.some(te=>te.type==="statistics"))),n.$$.dirty[0]&2&&t(18,r=p.some(ge=>ge.output.some(te=>te.type==="stderr"))),n.$$.dirty[0]&2&&t(17,s=p.some(ge=>ge.output.some(te=>te.type==="time"))),n.$$.dirty[0]&2&&t(16,l=p.some(ge=>ge.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(ge=>ge.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=N(p)),n.$$.dirty[0]&2&&ye()},[g,p,b,Q,$,P,x,R,C,X,Z,I,q,fe,f,o,l,s,r,i,O,z,ie,we,h,u,qe,he,ce,Xe,ke,Te,Le,Kt,ii,Ct,Ut,It]}class p8 extends Vi{constructor(e){super(),Yi(this,e,d8,O8,Ui,{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 = []; @@ -194,7 +194,7 @@ function print() { __p += __j.call(arguments, '') } getFinishTime, }; })(); -`;function US(n,e,t){const i=n.slice();return i[23]=e[t],i[24]=e,i[25]=t,i}function YS(n){let e,t,i,r,s,l,o,f,u,h,O,p,g,b,$,Q,_,x,Z;return Q=new _t({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"),Ee(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"),oe(b,"is-primary",n[0]),oe(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),Ii(s,n[1]),v(e,o),v(e,f),v(f,u),Ii(u,n[1]),v(e,O),v(e,p),v(p,g),v(g,b),v(b,$),Ye(Q,$,null),_=!0,x||(Z=[se(s,"input",n[12]),se(u,"change",n[13]),se(u,"input",n[13]),se(b,"click",n[14])],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]&&Ii(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&&Ii(u,C[1]),(!_||X&1)&&oe(b,"is-primary",C[0]),(!_||X&1)&&oe(b,"is-light",!C[0])},i(C){_||(D(Q.$$.fragment,C),_=!0)},o(C){j(Q.$$.fragment,C),_=!1},d(C){C&&Y(e),Ve(Q),x=!1,It(Z)}}}function VS(n){let e,t,i=n[24],r=n[25],s,l;const o=()=>n[15](e,i,r),f=()=>n[15](null,i,r);function u(...h){return n[16](n[23],...h)}return{c(){e=k("iframe"),y(e,"class","vis-window svelte-152bhkz"),fm(e.src,t=n[23].url)||y(e,"src",t),y(e,"title","Visualisation")},m(h,O){V(h,e,O),o(),s||(l=se(e,"load",u),s=!0)},p(h,O){n=h,O&8&&!fm(e.src,t=n[23].url)&&y(e,"src",t),(i!==n[24]||r!==n[25])&&(f(),i=n[24],r=n[25],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&&YS(n),u=rt(n[3]),h=[];for(let O=0;O0?f?(f.p(O,p),p&4&&D(f,1)):(f=YS(O),f.c(),D(f,1),f.m(e,t)):f&&(it(),j(f,1,1,()=>{f=null}),nt()),p&8){u=rt(O[3]);let g;for(g=0;g{ae=Ce});ye.then(Ce=>{Ce.contentWindow.postMessage({event:"init",payload:re},"*")});const we=s.reduce((Ce,Xe)=>({...Ce,[Xe.name]:Xe.state.doc.toString()}),{}),qe=[],ue=new DOMParser().parseFromString(I,"text/html");for(const Ce of ue.getElementsByTagName("script")){const Xe=Ce.getAttribute("src");if(Xe==="/minizinc-ide.js")Ce.src=S8;else if(Xe in we&&Xe.endsWith(".js")){const Ke=URL.createObjectURL(new Blob([we[Xe]],{type:"text/javascript; charset=utf-8"}));Ce.src=Ke,qe.push(Ke)}}for(const Ce of ue.getElementsByTagName("link")){const Xe=Ce.getAttribute("href");if(Xe in we&&Xe.endsWith(".css")){const Ke=URL.createObjectURL(new Blob([we[Xe]],{type:"text/css; charset=utf-8"}));Ce.href=Ke,qe.push(Ke)}}const fe=new XMLSerializer().serializeToString(ue.doctype)+ue.documentElement.outerHTML;console.log(fe);const Te=URL.createObjectURL(new Blob([fe],{type:"text/html; charset=utf-8"}));t(3,O=[...O,{url:Te,extraUrls:qe,makeReady:ae,ready:ye,solutions:[],element:null}])}function Q(I,re){for(let ae=0;aeye.element.contentWindow===I.source);switch(re.event){case"rebroadcast":for(const we of O)qn(re.message,we);re.message.event==="goToSolution"&&(l=re.message.payload===-1,t(0,o=re.message.payload===-1),f=re.message.payload+1,t(1,u=re.message.payload+1));break;case"solve":r("solve",{modelFile:re.modelFile,dataFiles:re.dataFiles,options:re.options});break;case"getNumSolutions":qn({event:"response",id:re.id,payload:ae.solutions.length},ae);break;case"getSolution":const ye=re.index<0?re.index+ae.solutions.length:re.index;if(ye<0||ye>=ae.solutions.length)qn({event:"error",id:re.id,message:"Solution index out of range"},ae);else{qn({event:"response",id:re.id,payload:ae.solutions[re.index===-1?ae.solutions.length-1:re.index]},ae);break}case"getAllSolutions":qn({event:"response",id:re.id,payload:ae.solutions},ae);break;case"getStatus":qn({event:"response",id:re.id,payload:p},ae);break;case"getFinishTime":qn({event:"response",id:re.id,payload:g},ae);break}}function C(I,re,ae){if(o&&f===u&&(f=h,t(1,u=h)),o!==l){l=o;for(const ye of O)qn({event:"goToSolution",payload:o?-1:u-1},ye)}if(f!==u){f=u,l=!1,t(0,o=!1);for(const ye of O)qn({event:"goToSolution",payload:u-1},ye)}}function X(){u=Mo(this.value),t(1,u)}function R(){u=Mo(this.value),t(1,u)}const z=()=>t(0,o=!o);function q(I,re,ae){hi[I?"unshift":"push"](()=>{re[ae].element=I,t(3,O)})}const F=(I,re)=>I.makeReady(re.target);return n.$$set=I=>{"files"in I&&t(6,s=I.files)},n.$$.update=()=>{n.$$.dirty&8&&t(4,i=Math.ceil(Math.sqrt(O.length))),n.$$.dirty&7&&C()},[o,u,h,O,i,Z,s,b,$,Q,_,x,X,R,z,q,F]}class $8 extends Yi{constructor(e){super(),Ui(this,e,b8,m8,Ai,{files:6,reset:7,addVisualisation:8,addSolution:9,status:10,finish:11})}get reset(){return this.$$.ctx[7]}get addVisualisation(){return this.$$.ctx[8]}get addSolution(){return this.$$.ctx[9]}get status(){return this.$$.ctx[10]}get finish(){return this.$$.ctx[11]}}function Q8(n){let e,t,i,r,s,l,o,f,u,h,O,p,g,b,$,Q,_,x,Z,C,X,R,z,q,F,I,re,ae,ye,we,qe,ue;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"),z=k("li"),q=k("a"),q.textContent="Custom visualisation (.html)",F=N(),I=k("p"),I.textContent="Import",re=N(),ae=k("ul"),ye=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(C,"class","menu-label"),y(R,"class","menu-list"),y(I,"class","menu-label"),y(ae,"class","menu-list"),y(e,"class","menu")},m(fe,Te){V(fe,e,Te),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,z),v(z,q),v(e,F),v(e,I),v(e,re),v(e,ae),v(ae,ye),v(ye,we),qe||(ue=[se(l,"click",n[5]),se(u,"click",n[6]),se($,"click",n[7]),se(x,"click",n[8]),se(q,"click",n[9]),se(we,"click",n[10])],qe=!0)},p:xe,d(fe){fe&&Y(e),qe=!1,It(ue)}}}function w8(n){let e,t,i,r,s,l;return e=new Ul({props:{active:n[0],title:"Create new file",$$slots:{default:[Q8]},$$scope:{ctx:n}}}),e.$on("cancel",n[11]),{c(){Ee(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){Ye(e,o,f),V(o,t,f),V(o,i,f),n[12](i),r=!0,s||(l=[se(i,"change",n[13]),se(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){j(e.$$.fragment,o),r=!1},d(o){o&&(Y(t),Y(i)),Ve(e,o),n[12](null),s=!1,It(l)}}}function y8(n,e,t){let{active:i=!1}=e;const r=jn();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=z=>X(z),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 $(_){hi[_?"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 Yi{constructor(e){super(),Ui(this,e,y8,w8,Ai,{active:0})}}function qS(n,e,t){const i=n.slice();return i[15]=e[t],i}function ES(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 _t({props:{icon:n[18].readOnly?GO:_1}});function f(){return n[11](n[19],n[18])}return{c(){e=k("button"),t=k("span"),Ee(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"),oe(e,"is-primary",!n[18].readOnly),oe(e,"is-light",n[18].readOnly)},m(u,h){V(u,e,h),v(e,t),Ye(i,t,null),s=!0,l||(o=se(e,"click",f),l=!0)},p(u,h){n=u;const O={};h&2&&(O.icon=n[18].readOnly?GO:_1),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)&&oe(e,"is-primary",!n[18].readOnly),(!s||h&2)&&oe(e,"is-light",n[18].readOnly)},i(u){s||(D(i.$$.fragment,u),s=!0)},o(u){j(i.$$.fragment,u),s=!1},d(u){u&&Y(e),Ve(i),l=!1,o()}}}function k8(n){let e,t,i,r;return i=new _t({props:{icon:GO}}),{c(){e=k("button"),t=k("span"),Ee(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),Ye(i,t,null),r=!0},p:xe,i(s){r||(D(i.$$.fragment,s),r=!0)},o(s){j(i.$$.fragment,s),r=!1},d(s){s&&Y(e),Ve(i)}}}function MS(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,z,q,F,I;p=new _t({props:{icon:n[18].hidden?k1:W1}});function re(){return n[10](n[19],n[18])}const ae=[k8,P8],ye=[];function we(ue,fe){return fe&2&&(Q=null),Q==null&&(Q=!!ue[18].name.endsWith(".mzc")),Q?0:1}_=we(n,-1),x=ye[_]=ae[_](n),z=new _t({props:{icon:PQ}});function qe(){return n[12](n[19])}return{c(){e=k("tr"),t=k("td"),r=Qe(i),s=N(),l=k("td"),o=k("div"),f=k("div"),u=k("p"),h=k("button"),O=k("span"),Ee(p.$$.fragment),b=N(),$=k("p"),x.c(),Z=N(),C=k("p"),X=k("button"),R=k("span"),Ee(z.$$.fragment),y(O,"class","icon"),y(h,"class","button is-small"),y(h,"title",g="Click to "+(n[18].hidden?"show":"hide")+" this file"),oe(h,"is-primary",!n[18].hidden),oe(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(ue,fe){V(ue,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),Ye(p,O,null),v(f,b),v(f,$),ye[_].m($,null),v(f,Z),v(f,C),v(C,X),v(X,R),Ye(z,R,null),q=!0,F||(I=[se(h,"click",re),se(X,"click",qe)],F=!0)},p(ue,fe){n=ue,(!q||fe&2)&&i!==(i=n[18].name+"")&&Be(r,i);const Te={};fe&2&&(Te.icon=n[18].hidden?k1:W1),p.$set(Te),(!q||fe&2&&g!==(g="Click to "+(n[18].hidden?"show":"hide")+" this file"))&&y(h,"title",g),(!q||fe&2)&&oe(h,"is-primary",!n[18].hidden),(!q||fe&2)&&oe(h,"is-light",n[18].hidden);let Ce=_;_=we(n,fe),_===Ce?ye[_].p(n,fe):(it(),j(ye[Ce],1,1,()=>{ye[Ce]=null}),nt(),x=ye[_],x?x.p(n,fe):(x=ye[_]=ae[_](n),x.c()),D(x,1),x.m($,null))},i(ue){q||(D(p.$$.fragment,ue),D(x),D(z.$$.fragment,ue),q=!0)},o(ue){j(p.$$.fragment,ue),j(x),j(z.$$.fragment,ue),q=!1},d(ue){ue&&Y(e),Ve(p),ye[_].d(),Ve(z),F=!1,It(I)}}}function DS(n){let e,t=n[15].label+"",i,r,s,l,o=rt(n[15].files),f=[];for(let h=0;hj(f[h],1,1,()=>{f[h]=null});return{c(){e=k("p"),i=Qe(t),r=N(),s=k("table");for(let h=0;hj(p[b],1,1,()=>{p[b]=null});return s=new _t({props:{icon:_Q}}),{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 Yi{constructor(e){super(),Ui(this,e,C8,x8,Ai,{active:0,files:3})}}function zS(n,e,t){const i=n.slice();return i[9]=e[t],i}function IS(n){let e,t=n[9]+"",i,r;return{c(){e=k("option"),i=Qe(t),e.__value=r=n[9],Ii(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,Ii(e,e.__value))},d(s){s&&Y(e)}}}function T8(n){let e,t,i,r,s=rt(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=cO(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 Yi{constructor(e){super(),Ui(this,e,A8,R8,Ai,{modelFiles:0,active:1})}}function NS(n,e,t){const i=n.slice();return i[20]=e[t],i[21]=e,i[22]=t,i}function LS(n,e,t){const i=n.slice();return i[17]=e[t],i}function BS(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",oe(i,"is-active",!n[2]),oe(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=[se(r,"click",n[11]),se(o,"click",n[12])],f=!0)},p(h,O){O&4&&oe(i,"is-active",!h[2]),O&4&&oe(l,"is-active",h[2])},d(h){h&&Y(e),f=!1,It(u)}}}function Y8(n){let e,t=rt(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 Yi{constructor(e){super(),Ui(this,e,D8,M8,Ai,{active:0,parameters:9,dataFiles:1})}}function GS(n){let e,t,i,r,s,l,o,f,u,h,O,p,g,b,$,Q,_,x=Mn(n[1],"-a"),Z,C=Mn(n[1],"-f"),X,R,z,q,F,I,re,ae,ye,we=Mn(n[1],"-v"),qe,ue,fe,Te,Ce,Xe,Ke,Nt=Mn(n[1],"-s"),ti,Wt,xt,Tt,$e,te,H,ie,ce,Je,et,at,pt,tt,le,yi,Zt;r=new _t({props:{icon:WQ}});let ht=x&&HS(n),ze=C&&KS(n),bt=we&&JS(n),gt=Nt&&eb(n);return{c(){e=k("div"),t=k("button"),i=k("span"),Ee(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(),ht&&ht.c(),Z=N(),ze&&ze.c(),X=N(),R=k("h5"),R.textContent="Output options",z=N(),q=k("div"),F=k("p"),I=k("input"),re=N(),ae=k("label"),ae.textContent="Verbose compilation",ye=N(),bt&&bt.c(),qe=N(),ue=k("div"),fe=k("p"),Te=k("input"),Ce=N(),Xe=k("label"),Xe.textContent="Compilation statistics",Ke=N(),gt&>.c(),ti=N(),Wt=k("div"),xt=k("p"),Tt=k("input"),$e=N(),te=k("label"),te.textContent="Timing information",H=N(),ie=k("div"),ce=k("p"),Je=k("button"),Je.textContent="Accept",et=N(),at=k("p"),pt=k("button"),pt.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(I,"id","enable-verbose-compile"),y(I,"type","checkbox"),y(I,"class","svelte-1uq9463"),y(ae,"for","enable-verbose-compile"),y(ae,"class","svelte-1uq9463"),y(F,"class","control checkbox-control svelte-1uq9463"),y(q,"class","field"),y(Te,"id","enable-compilation-satistics"),y(Te,"type","checkbox"),y(Te,"class","svelte-1uq9463"),y(Xe,"for","enable-compilation-satistics"),y(Xe,"class","svelte-1uq9463"),y(fe,"class","control checkbox-control svelte-1uq9463"),y(ue,"class","field"),y(Tt,"id","enable-timing-information"),y(Tt,"type","checkbox"),y(Tt,"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(Je,"class","button is-primary"),y(ce,"class","control"),y(pt,"class","button is-danger"),y(at,"class","control"),y(ie,"class","field is-grouped bottom-buttons svelte-1uq9463"),y(e,"class","config-window svelte-1uq9463")},m(Ge,Ot){V(Ge,e,Ot),v(e,t),v(t,i),Ye(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,$),Ii($,n[2]),v(e,_),ht&&ht.m(e,null),v(e,Z),ze&&ze.m(e,null),v(e,X),v(e,R),v(e,z),v(e,q),v(q,F),v(F,I),I.checked=n[5],v(F,re),v(F,ae),v(e,ye),bt&&bt.m(e,null),v(e,qe),v(e,ue),v(ue,fe),v(fe,Te),Te.checked=n[7],v(fe,Ce),v(fe,Xe),v(e,Ke),gt&>.m(e,null),v(e,ti),v(e,Wt),v(Wt,xt),v(xt,Tt),Tt.checked=n[9],v(xt,$e),v(xt,te),v(e,H),v(e,ie),v(ie,ce),v(ce,Je),v(ie,et),v(ie,at),v(at,pt),le=!0,yi||(Zt=[se(t,"click",n[17]),se(h,"change",n[18]),se($,"input",n[19]),se(I,"change",n[22]),se(Te,"change",n[24]),se(Tt,"change",n[26]),se(Je,"click",n[27]),se(pt,"click",n[12])],yi=!0)},p(Ge,Ot){Ot&8&&(h.checked=Ge[3]),(!le||Ot&8&&Q!==(Q=!Ge[3]))&&($.disabled=Q),Ot&4&&Mo($.value)!==Ge[2]&&Ii($,Ge[2]),Ot&2&&(x=Mn(Ge[1],"-a")),x?ht?ht.p(Ge,Ot):(ht=HS(Ge),ht.c(),ht.m(e,Z)):ht&&(ht.d(1),ht=null),Ot&2&&(C=Mn(Ge[1],"-f")),C?ze?ze.p(Ge,Ot):(ze=KS(Ge),ze.c(),ze.m(e,X)):ze&&(ze.d(1),ze=null),Ot&32&&(I.checked=Ge[5]),Ot&2&&(we=Mn(Ge[1],"-v")),we?bt?bt.p(Ge,Ot):(bt=JS(Ge),bt.c(),bt.m(e,qe)):bt&&(bt.d(1),bt=null),Ot&128&&(Te.checked=Ge[7]),Ot&2&&(Nt=Mn(Ge[1],"-s")),Nt?gt?gt.p(Ge,Ot):(gt=eb(Ge),gt.c(),gt.m(e,ti)):gt&&(gt.d(1),gt=null),Ot&512&&(Tt.checked=Ge[9])},i(Ge){le||(D(r.$$.fragment,Ge),Ge&&lr(()=>{le&&(tt||(tt=$l(e,pc,{x:100,duration:200},!0)),tt.run(1))}),le=!0)},o(Ge){j(r.$$.fragment,Ge),Ge&&(tt||(tt=$l(e,pc,{x:100,duration:200},!1)),tt.run(0)),le=!1},d(Ge){Ge&&Y(e),Ve(r),ht&&ht.d(),ze&&ze.d(),bt&&bt.d(),gt&>.d(),Ge&&tt&&tt.end(),yi=!1,It(Zt)}}}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="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=se(i,"change",n[20]),l=!0)},p(f,u){u&16&&(i.checked=f[4])},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="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=se(i,"change",n[21]),l=!0)},p(f,u){u&1024&&(i.checked=f[10])},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="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=se(i,"change",n[23]),l=!0)},p(f,u){u&64&&(i.checked=f[6])},d(f){f&&Y(e),l=!1,o()}}}function eb(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=se(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]&&GS(n);return{c(){i&&i.c(),e=ci()},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=GS(r),i.c(),D(i,1),i.m(e.parentNode,e)):i&&(it(),j(i,1,1,()=>{i=null}),nt())},i(r){t||(D(i),t=!0)},o(r){j(i),t=!1},d(r){r&&Y(e),i&&i.d(r)}}}function Mn(n,e){return n.indexOf(e)!==-1}function N8(n,e,t){const i=jn();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 $(ue){const fe=ue*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 _(ue){t(3,l=ue.enableTimeLimit),t(2,o=ue.timeLimit),t(4,f=ue.allSolutions),t(5,u=ue.verboseCompilation),t(6,h=ue.verboseSolving),t(7,O=ue.compilerStatistics),t(8,p=ue.solvingStatistics),t(9,g=ue.outputTime),t(10,b=ue.freeSearch)}function x(){return{enableTimeLimit:l,timeLimit:o,allSolutions:f,verboseCompilation:u,verboseSolving:h,compilerStatistics:O,solvingStatistics:p,outputTime:g,freeSearch:b}}function Z(ue){const fe={solver:ue};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 C(ue){const fe={solver:ue};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 z(){o=Mo(this.value),t(2,o)}function q(){f=this.checked,t(4,f)}function F(){b=this.checked,t(10,b)}function I(){u=this.checked,t(5,u)}function re(){h=this.checked,t(6,h)}function ae(){O=this.checked,t(7,O)}function ye(){p=this.checked,t(8,p)}function we(){g=this.checked,t(9,g)}const qe=()=>i("close");return n.$$set=ue=>{"active"in ue&&t(0,r=ue.active),"stdFlags"in ue&&t(1,s=ue.stdFlags)},n.$$.update=()=>{n.$$.dirty&4&&$(o)},[r,s,o,l,f,u,h,O,p,g,b,i,Q,_,x,Z,C,X,R,z,q,F,I,re,ae,ye,we,qe]}class L8 extends Yi{constructor(e){super(),Ui(this,e,N8,I8,Ai,{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 tb(n,e,t){const i=n.slice();return i[13]=e[t],i}const B8=n=>({item:n&2}),ib=n=>({item:n[13]}),j8=n=>({item:n&4}),nb=n=>({item:n[2]});function rb(n){let e;const t=n[8].selected,i=on(t,n,n[7],nb),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)&&fn(i,t,s,s[7],e?an(t,s[7],l,j8):cn(s[7]),nb):r&&r.p&&(!e||l&4)&&r.p(s,e?l:-1)},i(s){e||(D(r,s),e=!0)},o(s){j(r,s),e=!1},d(s){r&&r.d(s)}}}function F8(n){let e=n[2].label+"",t;return{c(){t=Qe(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=Qe(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 sb(n){let e,t,i,r,s;const l=n[8].item,o=on(l,n,n[7],ib),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"),oe(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=se(e,"click",u),r=!0)},p(h,O){n=h,o?o.p&&(!i||O&130)&&fn(o,l,n,n[7],i?an(l,n[7],O,B8):cn(n[7]),ib):f&&f.p&&(!i||O&2)&&f.p(n,i?O:-1),(!i||O&6)&&oe(e,"is-active",n[2]===n[13])},i(h){i||(D(f,h),i=!0)},o(h){j(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]&&rb(n);f=new _t({props:{icon:u4}});let Q=rt(n[1]),_=[];for(let Z=0;Zj(_[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"),Ee(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"),oe(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),Ye(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=[se(document.body,"click",n[6]),se(r,"click",n[9])],g=!0)},p(Z,[C]){if(Z[2]?$?($.p(Z,C),C&4&&D($,1)):($=rb(Z),$.c(),D($,1),$.m(s,null)):$&&(it(),j($,1,1,()=>{$=null}),nt()),(!p||C&8)&&(r.disabled=Z[3]),C&166){Q=rt(Z[1]);let X;for(X=0;Xt(0,f=!f),b=Q=>O(Q);function $(Q){hi[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 Yi{constructor(e){super(),Ui(this,e,K8,H8,Ai,{items:1,currentItem:2,active:0,disabled:3})}}const qy=Me.define({map:(n,e)=>({from:e.mapPos(n.from),to:e.mapPos(n.to),msg:n.msg,type:n.type})}),Ey=Me.define(),lb=wi.define({create(){return Re.none},update(n,e){n=n.map(e.changes);for(const t of e.effects)t.is(Ey)&&(n=Re.none),t.is(qy)&&(n=n.update({add:[Re.mark({class:`cm-mzn-underline-${t.value.type}`,attributes:{title:t.value.msg}}).range(t.value.from,t.value.to)]}));return n},provide:n=>Se.decorations.from(n)});function hd(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=>qy.of({from:hd(r.location.firstLine,r.location.firstColumn,n),to:hd(r.location.lastLine,r.location.lastColumn,n)+1,msg:`${r.type==="error"?"Error":"Warning"}: ${r.what}: ${r.message}`,type:r.type}));t.state.field(lb,!1)||i.push(Me.appendConfig.of([lb])),t.dispatch({effects:[Ey.of(null),...i]})}const t6=n=>({}),ob=n=>({}),i6=n=>({}),ab=n=>({}),n6=n=>({}),fb=n=>({}),r6=n=>({}),cb=n=>({});function ub(n,e,t){const i=n.slice();return i[150]=e[t],i[152]=t,i}const s6=n=>({}),hb=n=>({});function Ob(n,e,t){const i=n.slice();return i[150]=e[t],i[152]=t,i}const l6=n=>({}),db=n=>({}),o6=n=>({}),pb=n=>({});function a6(n){let e,t,i,r,s,l,o,f,u;return s=new _t({props:{icon:O4}}),{c(){e=k("button"),t=k("span"),t.textContent="Run",i=N(),r=k("span"),Ee(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),Ye(s,r,null),o=!0,f||(u=se(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){j(s.$$.fragment,h),o=!1},d(h){h&&Y(e),Ve(s),f=!1,u()}}}function f6(n){let e,t,i,r,s,l,o,f;return s=new _t({props:{icon:c4}}),{c(){e=k("button"),t=k("span"),t.textContent="Stop",i=N(),r=k("span"),Ee(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),Ye(s,r,null),l=!0,o||(f=se(e,"click",n[62]),o=!0)},p:xe,i(u){l||(D(s.$$.fragment,u),l=!0)},o(u){j(s.$$.fragment,u),l=!1},d(u){u&&Y(e),Ve(s),o=!1,f()}}}function gb(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=se(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 mb(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})=>({154:r}),({item:r})=>[0,0,0,0,r?1073741824:0]]},$$scope:{ctx:n}}}),t.$on("selectItem",n[69]),{c(){e=k("div"),Ee(t.$$.fragment),y(e,"class","control is-hidden-mobile")},m(r,s){V(r,e,s),Ye(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]&1073742080&&(l.$$scope={dirty:s,ctx:r}),t.$set(l)},i(r){i||(D(t.$$.fragment,r),i=!0)},o(r){j(t.$$.fragment,r),i=!1},d(r){r&&Y(e),Ve(t)}}}function c6(n){let e,t=n[154].label+"",i,r,s=n[154].detail+"",l,o;return{c(){e=k("span"),i=Qe(t),r=Qe(" ("),l=Qe(s),o=Qe(")"),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]&1073741824&&t!==(t=f[154].label+"")&&Be(i,t),u[4]&1073741824&&s!==(s=f[154].detail+"")&&Be(l,s)},d(f){f&&Y(e)}}}function Sb(n){let e,t,i,r,s,l=rt(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}),nt())},i($){u||(D(b),u=!0)},o($){j(b),u=!1},d($){$&&Y(e),ki(g,$),b&&b.d(),h=!1,O()}}}function Qb(n){let e,t=n[150].name+"",i,r,s=n[150].version+"",l,o;return{c(){e=k("option"),i=Qe(t),r=N(),l=Qe(s),o=N(),e.__value=n[152],Ii(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[150].name+"")&&Be(i,t),u[0]&8388608&&s!==(s=f[150].version+"")&&Be(l,s)},d(f){f&&Y(e)}}}function wb(n){let e,t,i,r,s,l,o;return r=new _t({props:{icon:kQ}}),{c(){e=k("div"),t=k("button"),i=k("span"),Ee(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),Ye(r,i,null),s=!0,l||(o=se(t,"click",n[52]),l=!0)},p:xe,i(f){s||(D(r.$$.fragment,f),s=!0)},o(f){j(r.$$.fragment,f),s=!1},d(f){f&&Y(e),Ve(r),l=!1,o()}}}function yb(n){let e,t,i,r,s,l,o,f;return r=new _t({props:{icon:yQ}}),{c(){e=k("div"),t=k("button"),i=k("span"),Ee(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),Ye(r,i,null),l=!0,o||(f=se(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){j(r.$$.fragment,u),l=!1},d(u){u&&Y(e),Ve(r),o=!1,f()}}}function vb(n){let e,t,i,r,s,l,o,f;return r=new _t({props:{icon:f4}}),{c(){e=k("div"),t=k("button"),i=k("span"),Ee(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),Ye(r,i,null),l=!0,o||(f=se(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){j(r.$$.fragment,u),l=!1},d(u){u&&Y(e),Ve(r),o=!1,f()}}}function Pb(n){let e,t,i,r,s,l,o,f;return r=new _t({props:{icon:vQ}}),{c(){e=k("div"),t=k("button"),i=k("span"),Ee(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),Ye(r,i,null),l=!0,o||(f=se(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){j(r.$$.fragment,u),l=!1},d(u){u&&Y(e),Ve(r),o=!1,f()}}}function kb(n){let e,t,i,r,s,l,o,f;return i=new _t({props:{icon:d4}}),{c(){e=k("a"),t=k("span"),Ee(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),Ye(i,t,null),v(e,r),v(e,s),l=!0,o||(f=se(e,"click",n[93]),o=!0)},p:xe,i(u){l||(D(i.$$.fragment,u),l=!0)},o(u){j(i.$$.fragment,u),l=!1},d(u){u&&Y(e),Ve(i),o=!1,f()}}}function _b(n){let e,t,i,r,s,l,o,f;return i=new _t({props:{icon:kQ}}),{c(){e=k("a"),t=k("span"),Ee(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),Ye(i,t,null),v(e,r),v(e,s),l=!0,o||(f=se(e,"click",n[94]),o=!0)},p:xe,i(u){l||(D(i.$$.fragment,u),l=!0)},o(u){j(i.$$.fragment,u),l=!1},d(u){u&&Y(e),Ve(i),o=!1,f()}}}function Wb(n){let e,t,i,r,s,l,o=n[0]?"latest":"edge",f,u,h,O,p;return i=new _t({props:{icon:r4}}),{c(){e=k("a"),t=k("span"),Ee(i.$$.fragment),r=N(),s=k("span"),l=Qe("Switch to the "),f=Qe(o),u=Qe(" 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),Ye(i,t,null),v(e,r),v(e,s),v(s,l),v(s,f),v(s,u),h=!0,O||(p=se(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){j(i.$$.fragment,g),h=!1},d(g){g&&Y(e),Ve(i),O=!1,p()}}}function xb(n){let e,t,i,r,s,l,o,f;return i=new _t({props:{icon:yQ}}),{c(){e=k("a"),t=k("span"),Ee(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),Ye(i,t,null),v(e,r),v(e,s),l=!0,o||(f=se(e,"click",n[96]),o=!0)},p:xe,i(u){l||(D(i.$$.fragment,u),l=!0)},o(u){j(i.$$.fragment,u),l=!1},d(u){u&&Y(e),Ve(i),o=!1,f()}}}function Cb(n){let e,t,i,r,s,l,o,f;return i=new _t({props:{icon:vQ}}),{c(){e=k("a"),t=k("span"),Ee(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),Ye(i,t,null),v(e,r),v(e,s),l=!0,o||(f=se(e,"click",n[97]),o=!0)},p:xe,i(u){l||(D(i.$$.fragment,u),l=!0)},o(u){j(i.$$.fragment,u),l=!1},d(u){u&&Y(e),Ve(i),o=!1,f()}}}function Xb(n){let e,t,i={state:n[50]};return e=new EC({props:i}),n[110](e),{c(){Ee(e.$$.fragment)},m(r,s){Ye(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){j(e.$$.fragment,r),t=!1},d(r){n[110](null),Ve(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]&&Xb(n);return{c(){e=k("div"),t=k("div"),Ee(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),Ye(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=Xb(f),o.c(),D(o,1),o.m(s,null)):o&&(it(),j(o,1,1,()=>{o=null}),nt())},i(f){l||(D(i.$$.fragment,f),D(o),l=!0)},o(f){j(i.$$.fragment,f),j(o),l=!1},d(f){f&&Y(e),Ve(i),o&&o.d()}}}function Tb(n){let e,t,i,r,s,l,o,f,u,h,O,p,g=n[12]&&Zb(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);"),oe(r,"is-active",!n[42]),y(f,"href","javascript:void(0);"),oe(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=[se(s,"click",n[98]),se(f,"click",n[99])],O=!0)},p(b,$){(!h||$[1]&2048)&&oe(r,"is-active",!b[42]),(!h||$[1]&2048)&&oe(o,"is-active",b[42]),b[12]?g?(g.p(b,$),$[0]&4096&&D(g,1)):(g=Zb(b),g.c(),D(g,1),g.m(i,null)):g&&(it(),j(g,1,1,()=>{g=null}),nt())},i(b){h||(D(g),h=!0)},o(b){j(g),h=!1},d(b){b&&Y(e),g&&g.d(),O=!1,It(p)}}}function Zb(n){let e,t,i,r,s,l,o;return r=new _t({props:{icon:xQ}}),{c(){e=k("li"),t=k("button"),i=k("span"),Ee(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),Ye(r,i,null),s=!0,l||(o=se(t,"click",n[68]),l=!0)},p:xe,i(f){s||(D(r.$$.fragment,f),s=!0)},o(f){j(r.$$.fragment,f),s=!1},d(f){f&&Y(e),Ve(r),l=!1,o()}}}function Rb(n){let e,t,i,r,s,l;return i=new _t({props:{icon:xQ}}),{c(){e=k("button"),t=k("span"),Ee(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),Ye(i,t,null),r=!0,s||(l=se(e,"click",n[68]),s=!0)},p:xe,i(o){r||(D(i.$$.fragment,o),r=!0)},o(o){j(i.$$.fragment,o),r=!1},d(o){o&&Y(e),Ve(i),s=!1,l()}}}function h6(n){let e,t,i=n[12]&&!n[41]&&Rb(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=Rb(r),i.c(),D(i,1),i.m(e,null)):i&&(it(),j(i,1,1,()=>{i=null}),nt())},i(r){t||(D(i),t=!0)},o(r){j(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]&&Tb(n),p={files:n[19]};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}),hi.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"),Ee(s.$$.fragment),l=N(),o=k("div"),Ee(f.$$.fragment),y(r,"class","tab-window svelte-1llogi3"),oe(r,"visible",n[42]),y(o,"class","tab-window svelte-1llogi3"),oe(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),Ye(s,r,null),v(i,l),v(i,o),Ye(f,o,null),h=!0},p($,Q){$[41]?O?(O.p($,Q),Q[1]&1024&&D(O,1)):(O=Tb($),O.c(),D(O,1),O.m(e,t)):O&&(it(),j(O,1,1,()=>{O=null}),nt());const _={};Q[0]&524288&&(_.files=$[19]),s.$set(_),(!h||Q[1]&2048)&&oe(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)&&oe(o,"visible",!$[41]||!$[42])},i($){h||(D(O),D(s.$$.fragment,$),D(f.$$.fragment,$),h=!0)},o($){j(O),j(s.$$.fragment,$),j(f.$$.fragment,$),h=!1},d($){$&&Y(e),O&&O.d(),n[100](null),Ve(s),Ve(f)}}}function d6(n){let e,t,i,r=n[19][n[28]].name+"",s,l,o,f;return{c(){e=k("p"),t=Qe("Are you sure you wish to delete "),i=k("code"),s=Qe(r),l=Qe("?"),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=[se(t,"click",n[121]),se(r,"click",n[122])],s=!0)},p:xe,d(o){o&&Y(e),s=!1,It(l)}}}function g6(n){let e,t,i,r,s,l,o,f,u,h,O;return f=new _t({props:{icon:s4}}),{c(){e=k("div"),t=k("p"),i=k("input"),r=N(),s=k("p"),l=k("button"),o=k("span"),Ee(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"),oe(l,"is-primary",!n[39]),oe(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),Ye(f,o,null),u=!0,h||(O=[se(i,"click",n[130]),se(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)&&oe(l,"is-primary",!p[39]),(!u||g[1]&256)&&oe(l,"is-success",p[39])},i(p){u||(D(f.$$.fragment,p),u=!0)},o(p){j(f.$$.fragment,p),u=!1},d(p){p&&Y(e),n[129](null),Ve(f),h=!1,It(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=se(t,"click",n[128]),i=!0)},p:xe,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,z,q,F,I,re,ae,ye,we,qe,ue,fe,Te,Ce,Xe,Ke,Nt,ti,Wt,xt,Tt,$e,te,H,ie,ce,Je,et,at,pt,tt,le,yi,Zt,ht,ze,bt,gt,Ge,Ot,yt,ii,st;const _n=n[87]["navbar-before-run-buttons"],ui=on(_n,n,n[132],pb),pi=[f6,a6],Ji=[];function Wn(L,Oe){return L[46]?0:1}h=Wn(n),O=Ji[h]=pi[h](n);let ni=n[7]&&gb(n),mt=n[4]&&mb(n);const ar=n[87]["navbar-run-buttons"],gi=on(ar,n,n[132],db);let vi=n[5]&&n[23].length>0&&Sb(n);const Gr=n[87]["navbar-after-run-buttons"],Vi=on(Gr,n,n[132],hb);let Vt=n[5]&&n[23].length>0&&$b(n);const Xr=n[87]["navbar-after-solver-selector"],ri=on(Xr,n,n[132],cb),Hr=n[87]["navbar-before-share-buttons"],Bi=on(Hr,n,n[132],fb);let qt=n[9]&&yb(n),Et=n[10]&&vb(n),Lt=n[11]&&Pb(n);const fr=n[87]["navbar-share-buttons"],ft=on(fr,n,n[132],ab);let Rt=n[7]&&!n[46]&&n[48]&&kb(n),Bt=n[8]&&n[5]&&n[23].length>0&&_b(n),Ct=n[4]&&!n[46]&&Wb(n),Mt=n[9]&&n[17]===0&&xb(n),jt=n[11]&&n[17]===0&&Cb(n);const xn=n[87]["navbar-after-share-buttons"],si=on(xn,n,n[132],ob);function Cs(L){n[111](L)}let Tr={direction:n[2],showPanels:n[47],$$slots:{panelB:[O6],panelA:[u6]},$$scope:{ctx:n}};n[3]!==void 0&&(Tr.split=n[3]),ie=new GC({props:Tr}),hi.push(()=>Ao(ie,"split",Cs));let Fl={active:n[34],stdFlags:n[44]};return et=new L8({props:Fl}),n[112](et),et.$on("close",n[113]),pt=new X8({props:{active:n[29],files:n[19]}}),pt.$on("close",n[114]),pt.$on("delete",n[115]),pt.$on("modifyFile",n[116]),pt.$on("newFile",n[117]),le=new v8({props:{active:n[27]}}),le.$on("cancel",n[118]),le.$on("new",n[119]),le.$on("open",n[120]),Zt=new Ul({props:{active:n[28]!==null,title:"Delete file",$$slots:{footer:[p6],default:[d6]},$$scope:{ctx:n}}}),Zt.$on("cancel",n[123]),ze=new U8({props:{active:n[30],modelFiles:n[43]}}),ze.$on("accept",n[124]),ze.$on("cancel",n[125]),gt=new z8({props:{active:n[31],dataFiles:n[45],parameters:n[33]}}),gt.$on("accept",n[126]),gt.$on("cancel",n[127]),Ot=new Ul({props:{active:n[38],title:"Share this project",$$slots:{footer:[m6],default:[g6]},$$scope:{ctx:n}}}),Ot.$on("cancel",n[131]),{c(){e=k("div"),t=k("div"),i=k("div"),r=k("nav"),s=k("div"),ui&&ui.c(),l=N(),o=k("div"),f=k("div"),u=k("div"),O.c(),p=N(),ni&&ni.c(),g=N(),mt&&mt.c(),b=N(),gi&&gi.c(),$=N(),vi&&vi.c(),Q=N(),Vi&&Vi.c(),_=N(),Vt&&Vt.c(),x=N(),ri&&ri.c(),Z=N(),C=k("a"),X=k("span"),R=N(),z=k("span"),q=N(),F=k("span"),I=N(),re=k("div"),ae=k("div"),ye=N(),we=k("div"),Bi&&Bi.c(),qe=N(),ue=k("div"),fe=k("div"),qt&&qt.c(),Te=N(),Et&&Et.c(),Ce=N(),Lt&&Lt.c(),Xe=N(),ft&&ft.c(),Ke=N(),Rt&&Rt.c(),Nt=N(),Bt&&Bt.c(),ti=N(),Ct&&Ct.c(),Wt=N(),Mt&&Mt.c(),xt=N(),jt&&jt.c(),Tt=N(),si&&si.c(),$e=N(),te=k("div"),H=k("div"),Ee(ie.$$.fragment),Je=N(),Ee(et.$$.fragment),at=N(),Ee(pt.$$.fragment),tt=N(),Ee(le.$$.fragment),yi=N(),Ee(Zt.$$.fragment),ht=N(),Ee(ze.$$.fragment),bt=N(),Ee(gt.$$.fragment),Ge=N(),Ee(Ot.$$.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(z,"aria-hidden","true"),y(F,"aria-hidden","true"),y(C,"role","button"),y(C,"class","navbar-burger"),y(C,"aria-label","menu"),y(C,"aria-expanded",n[25]),oe(C,"is-active",n[25]),y(s,"class","navbar-brand"),y(ae,"class","navbar-start is-hidden-tablet"),y(fe,"class","field has-addons"),y(ue,"class","navbar-item is-hidden-mobile"),y(we,"class","navbar-end"),y(re,"class","navbar-menu"),oe(re,"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"),oe(e,"is-dark",n[22])},m(L,Oe){V(L,e,Oe),v(e,t),v(t,i),v(i,r),v(r,s),ui&&ui.m(s,null),v(s,l),v(s,o),v(o,f),v(f,u),Ji[h].m(u,null),v(f,p),ni&&ni.m(f,null),v(f,g),mt&&mt.m(f,null),v(f,b),gi&&gi.m(f,null),v(f,$),vi&&vi.m(f,null),v(s,Q),Vi&&Vi.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,z),v(C,q),v(C,F),v(r,I),v(r,re),v(re,ae),v(re,ye),v(re,we),Bi&&Bi.m(we,null),v(we,qe),v(we,ue),v(ue,fe),qt&&qt.m(fe,null),v(fe,Te),Et&&Et.m(fe,null),v(fe,Ce),Lt&&Lt.m(fe,null),v(fe,Xe),ft&&ft.m(fe,null),v(we,Ke),Rt&&Rt.m(we,null),v(we,Nt),Bt&&Bt.m(we,null),v(we,ti),Ct&&Ct.m(we,null),v(we,Wt),Mt&&Mt.m(we,null),v(we,xt),jt&&jt.m(we,null),v(we,Tt),si&&si.m(we,null),v(t,$e),v(t,te),v(te,H),Ye(ie,H,null),v(te,Je),Ye(et,te,null),v(e,at),Ye(pt,e,null),v(e,tt),Ye(le,e,null),v(e,yi),Ye(Zt,e,null),v(e,ht),Ye(ze,e,null),v(e,bt),Ye(gt,e,null),v(e,Ge),Ye(Ot,e,null),yt=!0,ii||(st=se(C,"click",n[90]),ii=!0)},p(L,Oe){ui&&ui.p&&(!yt||Oe[4]&256)&&fn(ui,_n,L,L[132],yt?an(_n,L[132],Oe,o6):cn(L[132]),pb);let cr=h;h=Wn(L),h===cr?Ji[h].p(L,Oe):(it(),j(Ji[cr],1,1,()=>{Ji[cr]=null}),nt(),O=Ji[h],O?O.p(L,Oe):(O=Ji[h]=pi[h](L),O.c()),D(O,1),O.m(u,null)),L[7]?ni?ni.p(L,Oe):(ni=gb(L),ni.c(),ni.m(f,g)):ni&&(ni.d(1),ni=null),L[4]?mt?(mt.p(L,Oe),Oe[0]&16&&D(mt,1)):(mt=mb(L),mt.c(),D(mt,1),mt.m(f,b)):mt&&(it(),j(mt,1,1,()=>{mt=null}),nt()),gi&&gi.p&&(!yt||Oe[4]&256)&&fn(gi,ar,L,L[132],yt?an(ar,L[132],Oe,l6):cn(L[132]),db),L[5]&&L[23].length>0?vi?vi.p(L,Oe):(vi=Sb(L),vi.c(),vi.m(f,null)):vi&&(vi.d(1),vi=null),Vi&&Vi.p&&(!yt||Oe[4]&256)&&fn(Vi,Gr,L,L[132],yt?an(Gr,L[132],Oe,s6):cn(L[132]),hb),L[5]&&L[23].length>0?Vt?(Vt.p(L,Oe),Oe[0]&8388640&&D(Vt,1)):(Vt=$b(L),Vt.c(),D(Vt,1),Vt.m(s,x)):Vt&&(it(),j(Vt,1,1,()=>{Vt=null}),nt()),ri&&ri.p&&(!yt||Oe[4]&256)&&fn(ri,Xr,L,L[132],yt?an(Xr,L[132],Oe,r6):cn(L[132]),cb),(!yt||Oe[0]&33554432)&&y(C,"aria-expanded",L[25]),(!yt||Oe[0]&33554432)&&oe(C,"is-active",L[25]),Bi&&Bi.p&&(!yt||Oe[4]&256)&&fn(Bi,Hr,L,L[132],yt?an(Hr,L[132],Oe,n6):cn(L[132]),fb),L[9]?qt?(qt.p(L,Oe),Oe[0]&512&&D(qt,1)):(qt=yb(L),qt.c(),D(qt,1),qt.m(fe,Te)):qt&&(it(),j(qt,1,1,()=>{qt=null}),nt()),L[10]?Et?(Et.p(L,Oe),Oe[0]&1024&&D(Et,1)):(Et=vb(L),Et.c(),D(Et,1),Et.m(fe,Ce)):Et&&(it(),j(Et,1,1,()=>{Et=null}),nt()),L[11]?Lt?(Lt.p(L,Oe),Oe[0]&2048&&D(Lt,1)):(Lt=Pb(L),Lt.c(),D(Lt,1),Lt.m(fe,Xe)):Lt&&(it(),j(Lt,1,1,()=>{Lt=null}),nt()),ft&&ft.p&&(!yt||Oe[4]&256)&&fn(ft,fr,L,L[132],yt?an(fr,L[132],Oe,i6):cn(L[132]),ab),L[7]&&!L[46]&&L[48]?Rt?(Rt.p(L,Oe),Oe[0]&128|Oe[1]&163840&&D(Rt,1)):(Rt=kb(L),Rt.c(),D(Rt,1),Rt.m(we,Nt)):Rt&&(it(),j(Rt,1,1,()=>{Rt=null}),nt()),L[8]&&L[5]&&L[23].length>0?Bt?(Bt.p(L,Oe),Oe[0]&8388896&&D(Bt,1)):(Bt=_b(L),Bt.c(),D(Bt,1),Bt.m(we,ti)):Bt&&(it(),j(Bt,1,1,()=>{Bt=null}),nt()),L[4]&&!L[46]?Ct?(Ct.p(L,Oe),Oe[0]&16|Oe[1]&32768&&D(Ct,1)):(Ct=Wb(L),Ct.c(),D(Ct,1),Ct.m(we,Wt)):Ct&&(it(),j(Ct,1,1,()=>{Ct=null}),nt()),L[9]&&L[17]===0?Mt?(Mt.p(L,Oe),Oe[0]&131584&&D(Mt,1)):(Mt=xb(L),Mt.c(),D(Mt,1),Mt.m(we,xt)):Mt&&(it(),j(Mt,1,1,()=>{Mt=null}),nt()),L[11]&&L[17]===0?jt?(jt.p(L,Oe),Oe[0]&133120&&D(jt,1)):(jt=Cb(L),jt.c(),D(jt,1),jt.m(we,Tt)):jt&&(it(),j(jt,1,1,()=>{jt=null}),nt()),si&&si.p&&(!yt||Oe[4]&256)&&fn(si,xn,L,L[132],yt?an(xn,L[132],Oe,t6):cn(L[132]),ob),(!yt||Oe[0]&33554432)&&oe(re,"is-active",L[25]);const ur={};Oe[0]&4&&(ur.direction=L[2]),Oe[1]&65536&&(ur.showPanels=L[47]),Oe[0]&958001218|Oe[1]&527874|Oe[4]&256&&(ur.$$scope={dirty:Oe,ctx:L}),!ce&&Oe[0]&8&&(ce=!0,ur.split=L[3],Ro(()=>ce=!1)),ie.$set(ur);const Xs={};Oe[1]&8&&(Xs.active=L[34]),Oe[1]&8192&&(Xs.stdFlags=L[44]),et.$set(Xs);const Ts={};Oe[0]&536870912&&(Ts.active=L[29]),Oe[0]&524288&&(Ts.files=L[19]),pt.$set(Ts);const Kr={};Oe[0]&134217728&&(Kr.active=L[27]),le.$set(Kr);const Zs={};Oe[0]&268435456&&(Zs.active=L[28]!==null),Oe[0]&268959744|Oe[4]&256&&(Zs.$$scope={dirty:Oe,ctx:L}),Zt.$set(Zs);const mi={};Oe[0]&1073741824&&(mi.active=L[30]),Oe[1]&4096&&(mi.modelFiles=L[43]),ze.$set(mi);const Cn={};Oe[1]&1&&(Cn.active=L[31]),Oe[1]&16384&&(Cn.dataFiles=L[45]),Oe[1]&4&&(Cn.parameters=L[33]),gt.$set(Cn);const en={};Oe[1]&128&&(en.active=L[38]),Oe[1]&448|Oe[4]&256&&(en.$$scope={dirty:Oe,ctx:L}),Ot.$set(en),(!yt||Oe[0]&4194304)&&oe(e,"is-dark",L[22])},i(L){yt||(D(ui,L),D(O),D(mt),D(gi,L),D(Vi,L),D(Vt),D(ri,L),D(Bi,L),D(qt),D(Et),D(Lt),D(ft,L),D(Rt),D(Bt),D(Ct),D(Mt),D(jt),D(si,L),D(ie.$$.fragment,L),D(et.$$.fragment,L),D(pt.$$.fragment,L),D(le.$$.fragment,L),D(Zt.$$.fragment,L),D(ze.$$.fragment,L),D(gt.$$.fragment,L),D(Ot.$$.fragment,L),yt=!0)},o(L){j(ui,L),j(O),j(mt),j(gi,L),j(Vi,L),j(Vt),j(ri,L),j(Bi,L),j(qt),j(Et),j(Lt),j(ft,L),j(Rt),j(Bt),j(Ct),j(Mt),j(jt),j(si,L),j(ie.$$.fragment,L),j(et.$$.fragment,L),j(pt.$$.fragment,L),j(le.$$.fragment,L),j(Zt.$$.fragment,L),j(ze.$$.fragment,L),j(gt.$$.fragment,L),j(Ot.$$.fragment,L),yt=!1},d(L){L&&Y(e),ui&&ui.d(L),Ji[h].d(),ni&&ni.d(),mt&&mt.d(),gi&&gi.d(L),vi&&vi.d(),Vi&&Vi.d(L),Vt&&Vt.d(),ri&&ri.d(L),Bi&&Bi.d(L),qt&&qt.d(),Et&&Et.d(),Lt&&Lt.d(),ft&&ft.d(L),Rt&&Rt.d(),Bt&&Bt.d(),Ct&&Ct.d(),Mt&&Mt.d(),jt&&jt.d(),si&&si.d(L),Ve(ie),n[112](null),Ve(et),Ve(pt),Ve(le),Ve(Zt),Ve(ze),Ve(gt),Ve(Ot),ii=!1,st()}}}function Ab(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:z=!0}=e,{edgeMiniZinc:q=!1}=e,{autoClearOutput:F=!1}=e,{canEditTabs:I=!0}=e,{compilationEnabled:re=!0}=e,{project:ae}=e,{enabledSolvers:ye=null}=e,{canEditSolverSettings:we=!0}=e,{showShareButton:qe=!0}=e,{showDownloadButton:ue=!0}=e,{externalPlaygroundURL:fe=null}=e,{splitterDirection:Te="vertical"}=e,{splitterSize:Ce=75}=e,{canSwitchOrientation:Xe=!0}=e,{showClearOutput:Ke=!0}=e,{showAutoClearOutput:Nt=!0}=e,{showOutputSectionToggles:ti=!0}=e,{showOutputRightControls:Wt=!0}=e,{theme:xt="auto"}=e,{hideOutputOnStartup:Tt=!0}=e,$e=0,te=[],H,ie,ce={latest:{label:"Latest",detail:"stable"},edge:{label:"Edge",detail:"development"}};function Je(A){const he=q?yx:wx;if(ie!==he){t(17,$e++,$e);const be=H;H=new Promise(async(de,ge)=>{be&&await be,ie&&ie.shutdown(),ie=he,ie.shutdown(),await ie.init();const[Ie]=/version \d+\.\d+\.\d+(?:, build .*)?$/m.exec(await ie.version()),lt=q?"edge":"latest";t(18,ce={...ce,[lt]:{...ce[lt],detail:Ie}}),t(78,te=await ie.solvers()),await Os(),t(17,$e--,$e),de()})}return H}const et=new Promise((A,he)=>{Ic(()=>{Je(),A();const be=window.matchMedia("(prefers-color-scheme: dark)"),de=()=>{t(81,Kr=window.matchMedia("(prefers-color-scheme: dark)").matches)};return de(),be.addEventListener("change",de),()=>be.removeEventListener("change",de)})});async function at(A){t(0,q=A.minizincVersion==="edge"),await et,t(19,le=[]),gi(A.files),t(20,Zt=A.tab||0),A.solverId&&(await Je(),t(21,pi=Q.findIndex(he=>he.id===A.solverId))),A.solverConfig&&ht.load(A.solverConfig)}function pt(){return le.length>0}let tt,le=[],yi=!1,Zt=0,ht,ze=!1,bt=null,gt=!1,Ge=!1,Ot=null,yt=!1,ii=[],st=null,_n=[],ui={},pi=-1;async function Ji(A,he){if(await Je(),pi<0||pi>=Q.length){const be=Q.findIndex(de=>de.extraInfo&&de.extraInfo.isDefault);be!==-1&&t(21,pi=be)}}let Wn=!1;function ni(){t(34,Wn=!Wn)}async function mt(A){for(tt&&Zt=0&&le[A].hidden;)A--;A===-1&&(A=le.findIndex(he=>!he.hidden)),t(20,Zt=A),await Os(),tt&&h&&(tt.focus(),h.scrollTop!==void 0&&tt.getView().requestMeasure({read(he){he.scrollDOM.scrollTo(h.scrollLeft,h.scrollTop)}}))}function ar(A){let he=`Untitled${A}`,be=2;for(;le.find(de=>de.name===he);)he=`Untitled-${be++}${A}`;t(19,le=[...le,{name:he,state:ut.create({extensions:If(A,cr,Z)})}]),mt(le.length-1),t(27,ze=!1)}function gi(A){let he=[];for(const be of A){const de=be.name.endsWith(".mzc.mzn")?be.name.length-8:be.name.lastIndexOf("."),ge=be.name.substring(0,de).replaceAll(/[\/\\\.]/g,""),Ie=be.name.substring(de);let lt=`${ge}${Ie}`,tn=2;for(;le.find(wu=>wu.name===lt);)lt=`${ge}-${tn++}${Ie}`;const li=If(Ie,cr,Z,be.readOnly);he.push({...be,hidden:be.hidden||Ie===".mzc",name:lt,state:ut.create({doc:be.contents,extensions:li,selection:{anchor:be.anchor||0}})})}t(19,le=[...le,...he]),mt(le.length-1),t(27,ze=!1)}function vi(A){const{index:he,name:be,suffix:de}=A.detail;let ge=be,Ie=2;for(;le.some(lt=>lt===ge+de);)ge=`${be}-${Ie++}`;h&&t(83,h.state=tt.getState(),h),t(19,le=[...le.slice(0,he),{...le[he],name:be+de},...le.slice(he+1)])}function Gr(A){const he=r===1&&!le[A].hidden;t(19,le=[...le.slice(0,A),...le.slice(A+1),...he?[{name:"Untitled.mzn",state:ut.create({extensions:If(".mzn",cr,Z)})}]:[]]),Zt>=le.length?mt(le.length-1):mt(Zt),t(28,bt=null)}function Vi(A,he){h&&t(83,h.state=tt.getState(),h);const be={...le[A],...he};"readOnly"in he&&Ab(be,he.readOnly?Z9:R9),t(19,le=[...le.slice(0,A),be,...le.slice(A+1)]),mt(Zt)}function Vt(A,he){let be;A0){await Os();const he=tt.getView();he&&he.state===A.state&&(he.dispatch({effects:A.effects}),A.effects=[])}}let ri=null;async function Hr(A){t(17,$e++,$e),t(83,h.state=tt.getState(),h);let he=O?h:null;if(!he){if(b.length===0)return t(17,$e--,$e),!1;if(b.length===1)he=le.find(ge=>ge.name===b[0]);else try{const ge=await new Promise((Ie,lt)=>{t(35,ri=Ie),t(30,Ge=!0)});if(!ge)return t(17,$e--,$e),!1;he=le.find(Ie=>Ie.name===ge.modelFile)}finally{t(30,Ge=!1)}}const be=new ie.Model,de=[he.name];if(A){const ge=he.name.substring(0,he.name.length-4),Ie=le.find(lt=>lt.name===`${ge}.mzc`||lt.name===`${ge}.mzc.mzn`);Ie&&de.push(Ie.name)}he!==h&&de.push(h.name);for(const ge of le)be.addFile(ge.name,ge.state.doc.toString(),de.indexOf(ge.name)!==-1);try{const{input:ge}=await be.interface({options:ht.getCompilationConfiguration(_.id)});if(Object.keys(ge).length>0){const Ie={};for(const lt in ge)Ie[lt]=ui[lt];t(33,ui=Ie),p&&_n.indexOf(h.name)===-1&&(_n=[..._n,h.name]);try{const lt=await new Promise((tn,li)=>{t(35,ri=tn),t(31,Ot=!0)});if(!lt)return t(17,$e--,$e),!1;if(lt.parameters){let tn="";for(const li in lt.parameters)lt.parameters[li].trim().length>0&&(tn+=`${li} = ${lt.parameters[li]}; -`);be.addDznString(tn),t(33,ui=lt.parameters)}else{for(const tn of lt.dataFiles)de.indexOf(tn)===-1&&(be.addFile(tn),de.push(tn));_n=lt.dataFiles}}finally{t(31,Ot=!1)}}}catch(ge){console.error(ge)}return t(17,$e--,$e),{model:be,fileList:de}}async function Bi(){if(g){const ge=new ie.Model;ge.addFile(h.name,h.state.doc.toString());const Ie=[h.name],lt=ht.getSolvingConfiguration(_.id);await qt(ge,Ie,lt);return}const A=await Hr(!0);if(!A)return;const{model:he,fileList:be}=A,de=ht.getSolvingConfiguration(_.id);await qt(he,be,de)}async function qt(A,he,be){t(79,yt=!0);const de=Date.now();F&&t(32,ii=[]),t(32,ii=[...ii,{files:he,output:[]}]),t(80,st=A.solve({options:be,jsonOutput:!1})),Rt(),st.on("error",ft),st.on("warning",ft),st.on("solution",ge=>ft(ge,Date.now()-de)),st.on("status",ge=>ft(ge,Date.now()-de)),st.on("statistics",ft),st.on("trace",ge=>ft(ge,Date.now()-de)),st.on("statistics",ft),st.on("comment",ft),st.on("time",ft),st.on("checker",ft),st.on("stderr",ft);try{await st,ft({type:"exit",code:0,runTime:Date.now()-de})}catch(ge){ft({type:"exit",code:ge.code,runTime:Date.now()-de})}t(80,st=null)}async function Et(){t(79,yt=!0);const A=await Hr(!0);if(!A)return;Rt();const{model:he,fileList:be}=A,de=be[0],ge=Date.now();F&&t(32,ii=[]),t(32,ii=[...ii,{files:be,isCompile:!0,output:[]}]),t(80,st=he.compile({options:ht.getCompilationConfiguration(_.id)})),st.on("error",ft),st.on("warning",ft),st.on("statistics",ft),st.on("trace",ft),st.on("statistics",ft),st.on("stderr",ft);try{const Ie=await st;t(19,le=[...le,{name:`${de.substring(0,de.indexOf("."))}.fzn`,state:ut.create({extensions:If(".fzn",cr,Z),doc:Ie})}]),mt(le.length-1),ft({type:"exit",code:0,runTime:Date.now()-ge})}catch(Ie){ft({type:"exit",code:Ie.code,runTime:Date.now()-ge})}t(80,st=null)}function Lt(){ft({type:"cancel"}),st.cancel()}let fr=null;function ft(A,he){fr?fr.then(()=>{fr=Bt(A,he)}):fr=Bt(A,he),ii[ii.length-1].output.push(A),t(32,ii)}function Rt(){mi&&mi.reset(),t(41,Cn=!1),t(42,en=!1)}async function Bt(A,he){if(A.type==="trace"&&A.section==="vis_json"){Cn||(t(41,Cn=!0),t(42,en=!0)),await Os();const be=le.find(ge=>ge.name===A.message.url);let de=null;if(be)de=be.state.doc.toString();else try{de=await ie.readStdlibFileContents(A.message.url)}catch(ge){console.error(ge);return}if(de===null){console.error(`Failed to get visualisation file ${A.message.url}`);return}mi.addVisualisation(de,A.message.userData);return}if(Cn){for(;!mi;)await Os();switch(A.type){case"solution":mi.addSolution(A.output.vis_json,"time"in A?A.time:he);break;case"status":mi.status(A.status,"time"in A?A.time:he);break;case"exit":mi.status("time"in A?A.time:he);break}}}function Ct(){return h&&t(83,h.state=tt.getState(),h),{files:le.map(A=>({name:A.name,contents:A.state.doc.toString(),...A.hidden?{hidden:!0}:{},...A.readOnly?{readOnly:!0}:{}})),tab:Zt,solverId:_.id,solverConfig:ht.save(),minizincVersion:q?"edge":"latest"}}let Mt=!1;async function jt(){t(36,Mt=!0);try{const A=(await pm(()=>import("./jszip.min-5f8ca889.js").then(li=>li.j),[])).default,he=(await pm(()=>import("./FileSaver.min-2842c259.js").then(li=>li.F),[])).default,be=Ct(),de=le.map(li=>li.name),ge=le.filter(li=>!li.hidden).map(li=>li.name);let Ie=_.id;Ie==="org.minizinc.gecode_presolver"?Ie="org.gecode.gecode":Ie==="org.minizinc.chuffed"&&(Ie="org.chuffed.chuffed");const lt=new A;for(const li of be.files)lt.file(li.name,li.contents);lt.file("Project.mzp",JSON.stringify({version:105,projectFiles:de,openFiles:ge,openTab:be.tab,selectedBuiltinConfigId:Ie,selectedBuiltinConfigVersion:"default"}));const tn=await lt.generateAsync({type:"blob"});he.saveAs(tn,"Project.zip")}catch(A){console.error(A)}finally{t(36,Mt=!1)}}let xn,si=null,Cs=!1;function Tr(A){const he=Ct(),be=new URL(A);return be.hash=`#project=${encodeURIComponent(JSON.stringify(he))}`,t(39,Cs=!1),be.toString()}function Fl(){xn.select(),xn.setSelectionRange(0,si.length),navigator.clipboard.writeText(si),t(39,Cs=!0)}function L(){fe&&window.open(Tr(fe),"_blank").focus()}let Oe=null;async function cr(A){const he=A.view;if(!($e!==0||!_||!h||!h.name.endsWith(".mzn")))try{const be=he.state.doc.toString();if(be===Oe)return;Oe=be;const de=new ie.Model;for(const lt of le)de.addFile(lt.name,lt.state.doc.toString(),!1);const ge=de.addString(be),Ie=await de.check({options:ht.getCompilationConfiguration(_.id)});if(he.state.doc.toString()!==be)return;e6(be,Ie.filter(lt=>lt.location.filename===ge),he)}catch(be){console.error(be)}}function ur(A){const he=le.findIndex(be=>be.name===A.filename);if(he!==-1){mt(he);const be=le[he].state.doc.toString(),de=hd(A.firstLine,A.firstColumn,be);tt.focus(),tt.setCursor(de)}}function Xs(){Te==="horizontal"?t(2,Te="vertical"):t(2,Te="horizontal")}function Ts(A){t(0,q=A.detail.item===ce.edge)}let Kr=!1;function Zs(A){h&&t(83,h.state=tt.getState(),h),le.forEach(he=>Ab(he,A?U9:A9)),Xr(h)}let mi,Cn=!1,en=!1;function da(A){st&&Lt();const he=[A.modelFile],be=A.modelFile.substring(0,A.modelFile.length-4),de=le.find(Ie=>Ie.name===`${be}.mzc`||Ie.name===`${be}.mzc.mzn`);if(de&&he.push(de.name),A.dataFiles)for(const Ie of A.dataFiles)he.push(Ie);const ge=new ie.Model;for(const Ie of le)ge.addFile(Ie.name,Ie.state.doc.toString(),he.indexOf(Ie.name)!==-1);qt(ge,he,A.options||ht.getSolvingConfiguration(_.id))}function nu(){pi=cO(this),t(21,pi)}function ru(){pi=cO(this),t(21,pi)}const pa=()=>{t(25,yi=!yi),t(34,Wn=!1)},ga=()=>t(38,si=Tr(window.location.href)),ma=()=>jt(),su=()=>{Et(),t(25,yi=!1)},lu=()=>{ni(),t(25,yi=!1)},ou=()=>{t(0,q=!q),t(25,yi=!1)},au=()=>{t(38,si=Tr(window.location.href)),t(25,yi=!1)},Sa=()=>{L(),t(25,yi=!1)},ba=()=>{t(42,en=!1)},$a=()=>{t(42,en=!0)};function Gl(A){hi[A?"unshift":"push"](()=>{mi=A,t(40,mi)})}const fu=A=>da(A.detail);function Qa(A){F=A,t(1,F)}const tl=()=>t(32,ii=[]),wa=A=>ur(A.detail.location),cu=A=>mt(A.detail.index),ya=A=>Vt(A.detail.src,A.detail.dest),va=()=>t(27,ze=!0),Hl=A=>t(28,bt=A.detail.index),uu=()=>t(29,gt=!0);function Pa(A){hi[A?"unshift":"push"](()=>{tt=A,t(24,tt)})}function Kl(A){Ce=A,t(3,Ce)}function Jl(A){hi[A?"unshift":"push"](()=>{ht=A,t(26,ht)})}const Jr=()=>t(34,Wn=!1),ka=()=>t(29,gt=!1),_a=A=>t(28,bt=A.detail.index),hu=A=>Vi(A.detail.index,A.detail.options),Wa=()=>t(27,ze=!0),xa=()=>t(27,ze=!1),Ca=A=>ar(A.detail.type),Xa=A=>gi(A.detail.files),Ou=()=>Gr(bt),du=()=>t(28,bt=null),pu=()=>t(28,bt=null),Ta=A=>ri(A.detail),gu=()=>ri(!1),mu=A=>ri(A.detail),Su=()=>ri(!1),bu=()=>t(38,si=null);function eo(A){hi[A?"unshift":"push"](()=>{xn=A,t(37,xn)})}const $u=()=>xn.select(),Qu=()=>t(38,si=null);return n.$$set=A=>{"showVersionSwitcher"in A&&t(4,R=A.showVersionSwitcher),"showSolverDropdown"in A&&t(5,z=A.showSolverDropdown),"edgeMiniZinc"in A&&t(0,q=A.edgeMiniZinc),"autoClearOutput"in A&&t(1,F=A.autoClearOutput),"canEditTabs"in A&&t(6,I=A.canEditTabs),"compilationEnabled"in A&&t(7,re=A.compilationEnabled),"project"in A&&t(71,ae=A.project),"enabledSolvers"in A&&t(72,ye=A.enabledSolvers),"canEditSolverSettings"in A&&t(8,we=A.canEditSolverSettings),"showShareButton"in A&&t(9,qe=A.showShareButton),"showDownloadButton"in A&&t(10,ue=A.showDownloadButton),"externalPlaygroundURL"in A&&t(11,fe=A.externalPlaygroundURL),"splitterDirection"in A&&t(2,Te=A.splitterDirection),"splitterSize"in A&&t(3,Ce=A.splitterSize),"canSwitchOrientation"in A&&t(12,Xe=A.canSwitchOrientation),"showClearOutput"in A&&t(13,Ke=A.showClearOutput),"showAutoClearOutput"in A&&t(14,Nt=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,Tt=A.hideOutputOnStartup),"$$scope"in A&&t(132,X=A.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&262144&&t(51,i=[ce.latest,ce.edge]),n.$$.dirty[0]&1&&Je(),n.$$.dirty[2]&512&&at(ae),n.$$.dirty[0]&524288&&(r=le.filter(A=>!A.hidden).length),n.$$.dirty[0]&1572864&&t(83,h=Ztye.indexOf(A.id)!==-1):te),n.$$.dirty[0]&10485760&&t(82,_=pi>=0&&piA.name.endsWith(".mzn")&&!A.name.endsWith(".mzc.mzn")).map(A=>A.name)),n.$$.dirty[0]&524288&&t(45,$=le.filter(A=>A.name.endsWith(".dzn")||A.name.endsWith(".json")).map(A=>A.name)),n.$$.dirty[0]&10485760&&Ji(),n.$$.dirty[2]&1048576&&t(44,x=_?_.stdFlags:[]),n.$$.dirty[2]&2097152&&Xr(h),n.$$.dirty[2]&526336&&t(22,Z={dark:!0,light:!1,auto:Kr}[xt]),n.$$.dirty[0]&4194304&&Zs(Z)},[q,F,Te,Ce,R,z,I,re,we,qe,ue,fe,Xe,Ke,Nt,ti,Wt,$e,ce,le,Zt,pi,Z,Q,tt,yi,ht,ze,bt,gt,Ge,Ot,ii,ui,Wn,ri,Mt,xn,si,Cs,mi,Cn,en,b,x,$,u,f,o,l,s,i,ni,mt,ar,gi,vi,Gr,Vi,Vt,Bi,Et,Lt,jt,Tr,Fl,L,ur,Xs,Ts,da,ae,ye,xt,Tt,at,pt,Ct,te,yt,st,Kr,_,h,g,p,O,C,nu,ru,pa,ga,ma,su,lu,ou,au,Sa,ba,$a,Gl,fu,Qa,tl,wa,cu,ya,va,Hl,uu,Pa,Kl,Jl,Jr,ka,_a,hu,Wa,xa,Ca,Xa,Ou,du,pu,Ta,gu,mu,Su,bu,eo,$u,Qu,X]}class $6 extends Yi{constructor(e){super(),Ui(this,e,b6,S6,Ai,{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:Ub}=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),hi.push(()=>Ao(t,"autoClearOutput",u)),hi.push(()=>Ao(t,"splitterDirection",h)),hi.push(()=>Ao(t,"splitterSize",O)),{c(){e=k("div"),Ee(t.$$.fragment),y(e,"class","playground-app svelte-tuc1wl")},m(g,b){V(g,e,b),Ye(t,e,null),l=!0,o||(f=[se(Ub,"beforeunload",n[4]),se(Ub,"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){j(t.$$.fragment,g),l=!1},d(g){g&&Y(e),n[5](null),Ve(t),o=!1,It(f)}}}const Yb=`% Use this editor as a MiniZinc scratch book -`,Vb="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(()=>Vb[Math.floor(Math.random()*Vb.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:Yb,anchor:Yb.length}]}),l=$}Ic(()=>u());function h(){const $=i.getProject();t(2,s.sessions[l]={...$,timestamp:Date.now()},s),localStorage.setItem("mznPlayground",JSON.stringify(s))}function O($){hi[$?"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 Yi{constructor(e){super(),Ui(this,e,w6,Q6,Ai,{})}}new y6({target:document.getElementById("app")});export{ko as c,W6 as g}; +`;function US(n,e,t){const i=n.slice();return i[23]=e[t],i[24]=e,i[25]=t,i}function YS(n){let e,t,i,r,s,l,o,f,u,h,O,p,g,b,Q,$,P,x,R;return $=new _t({props:{icon:l4}}),{c(){e=_("div"),t=_("div"),t.innerHTML="Solution:",i=L(),r=_("div"),s=_("input"),o=L(),f=_("div"),u=_("input"),O=L(),p=_("div"),g=_("p"),b=_("button"),Q=_("span"),Ee($.$$.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(Q,"class","icon"),y(b,"class","button is-small"),y(b,"title","Follow latest solution"),oe(b,"is-primary",n[0]),oe(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),ki(s,n[1]),v(e,o),v(e,f),v(f,u),ki(u,n[1]),v(e,O),v(e,p),v(p,g),v(g,b),v(b,Q),Ye($,Q,null),P=!0,x||(R=[le(s,"input",n[12]),le(u,"change",n[13]),le(u,"input",n[13]),le(b,"click",n[14])],x=!0)},p(C,X){(!P||X&4&&l!==(l=C[2]>0?1:0))&&y(s,"min",l),(!P||X&4)&&y(s,"max",C[2]),X&2&&Mo(s.value)!==C[1]&&ki(s,C[1]),(!P||X&4&&h!==(h=C[2]>0?1:0))&&y(u,"min",h),(!P||X&4)&&y(u,"max",C[2]),X&2&&ki(u,C[1]),(!P||X&1)&&oe(b,"is-primary",C[0]),(!P||X&1)&&oe(b,"is-light",!C[0])},i(C){P||(D($.$$.fragment,C),P=!0)},o(C){F($.$$.fragment,C),P=!1},d(C){C&&Y(e),Ve($),x=!1,ti(R)}}}function VS(n){let e,t,i=n[24],r=n[25],s,l;const o=()=>n[15](e,i,r),f=()=>n[15](null,i,r);function u(...h){return n[16](n[23],...h)}return{c(){e=_("iframe"),y(e,"class","vis-window svelte-152bhkz"),cm(e.src,t=n[23].url)||y(e,"src",t),y(e,"title","Visualisation")},m(h,O){V(h,e,O),o(),s||(l=le(e,"load",u),s=!0)},p(h,O){n=h,O&8&&!cm(e.src,t=n[23].url)&&y(e,"src",t),(i!==n[24]||r!==n[25])&&(f(),i=n[24],r=n[25],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&&YS(n),u=nt(n[3]),h=[];for(let O=0;O0?f?(f.p(O,p),p&4&&D(f,1)):(f=YS(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{fe=ke});we.then(ke=>{ke.contentWindow.postMessage({event:"init",payload:ie},"*")});const ye=s.reduce((ke,Te)=>({...ke,[Te.name]:Te.state.doc.toString()}),{}),qe=[],he=new DOMParser().parseFromString(z,"text/html");for(const ke of he.getElementsByTagName("script")){const Te=ke.getAttribute("src");if(Te==="/minizinc-ide.js")ke.src=S8;else if(Te in ye&&Te.endsWith(".js")){const Le=URL.createObjectURL(new Blob([ye[Te]],{type:"text/javascript; charset=utf-8"}));ke.src=Le,qe.push(Le)}}for(const ke of he.getElementsByTagName("link")){const Te=ke.getAttribute("href");if(Te in ye&&Te.endsWith(".css")){const Le=URL.createObjectURL(new Blob([ye[Te]],{type:"text/css; charset=utf-8"}));ke.href=Le,qe.push(Le)}}const ce=new XMLSerializer().serializeToString(he.doctype)+he.documentElement.outerHTML;console.log(ce);const Xe=URL.createObjectURL(new Blob([ce],{type:"text/html; charset=utf-8"}));t(3,O=[...O,{url:Xe,extraUrls:qe,makeReady:fe,ready:we,solutions:[],element:null}])}function $(z,ie){for(let fe=0;fewe.element.contentWindow===z.source);switch(ie.event){case"rebroadcast":for(const ye of O)qn(ie.message,ye);ie.message.event==="goToSolution"&&(l=ie.message.payload===-1,t(0,o=ie.message.payload===-1),f=ie.message.payload+1,t(1,u=ie.message.payload+1));break;case"solve":r("solve",{modelFile:ie.modelFile,dataFiles:ie.dataFiles,options:ie.options});break;case"getNumSolutions":qn({event:"response",id:ie.id,payload:fe.solutions.length},fe);break;case"getSolution":const we=ie.index<0?ie.index+fe.solutions.length:ie.index;if(we<0||we>=fe.solutions.length)qn({event:"error",id:ie.id,message:"Solution index out of range"},fe);else{qn({event:"response",id:ie.id,payload:fe.solutions[ie.index===-1?fe.solutions.length-1:ie.index]},fe);break}case"getAllSolutions":qn({event:"response",id:ie.id,payload:fe.solutions},fe);break;case"getStatus":qn({event:"response",id:ie.id,payload:p},fe);break;case"getFinishTime":qn({event:"response",id:ie.id,payload:g},fe);break}}function C(z,ie,fe){if(o&&f===u&&(f=h,t(1,u=h)),o!==l){l=o;for(const we of O)qn({event:"goToSolution",payload:o?-1:u-1},we)}if(f!==u){f=u,l=!1,t(0,o=!1);for(const we of O)qn({event:"goToSolution",payload:u-1},we)}}function X(){u=Mo(this.value),t(1,u)}function Z(){u=Mo(this.value),t(1,u)}const I=()=>t(0,o=!o);function q(z,ie,fe){Dt[z?"unshift":"push"](()=>{ie[fe].element=z,t(3,O)})}const N=(z,ie)=>z.makeReady(ie.target);return n.$$set=z=>{"files"in z&&t(6,s=z.files)},n.$$.update=()=>{n.$$.dirty&8&&t(4,i=Math.ceil(Math.sqrt(O.length))),n.$$.dirty&7&&C()},[o,u,h,O,i,R,s,b,Q,$,P,x,X,Z,I,q,N]}class $8 extends Vi{constructor(e){super(),Yi(this,e,b8,m8,Ui,{files:6,reset:7,addVisualisation:8,addSolution:9,status:10,finish:11})}get reset(){return this.$$.ctx[7]}get addVisualisation(){return this.$$.ctx[8]}get addSolution(){return this.$$.ctx[9]}get status(){return this.$$.ctx[10]}get finish(){return this.$$.ctx[11]}}function Q8(n){let e,t,i,r,s,l,o,f,u,h,O,p,g,b,Q,$,P,x,R,C,X,Z,I,q,N,z,ie,fe,we,ye,qe,he;return{c(){e=_("aside"),t=_("p"),t.textContent="Model",i=L(),r=_("ul"),s=_("li"),l=_("button"),l.textContent="Model file (.mzn)",o=L(),f=_("li"),u=_("button"),u.textContent="Solution checker model (.mzc.mzn)",h=L(),O=_("p"),O.textContent="Data",p=L(),g=_("ul"),b=_("li"),Q=_("button"),Q.textContent="Data file (.dzn)",$=L(),P=_("li"),x=_("button"),x.textContent="JSON data file (.json)",R=L(),C=_("p"),C.textContent="Visualisation",X=L(),Z=_("ul"),I=_("li"),q=_("button"),q.textContent="Custom visualisation (.html)",N=L(),z=_("p"),z.textContent="Import",ie=L(),fe=_("ul"),we=_("li"),ye=_("button"),ye.textContent="Upload file(s)",y(t,"class","menu-label"),y(l,"type","button"),y(l,"class","button is-text svelte-1kj2hj8"),y(u,"type","button"),y(u,"class","button is-text svelte-1kj2hj8"),y(r,"class","menu-list svelte-1kj2hj8"),y(O,"class","menu-label"),y(Q,"type","button"),y(Q,"class","button is-text svelte-1kj2hj8"),y(x,"type","button"),y(x,"class","button is-text svelte-1kj2hj8"),y(g,"class","menu-list svelte-1kj2hj8"),y(C,"class","menu-label"),y(q,"type","button"),y(q,"class","button is-text svelte-1kj2hj8"),y(Z,"class","menu-list svelte-1kj2hj8"),y(z,"class","menu-label"),y(ye,"type","button"),y(ye,"class","button is-text svelte-1kj2hj8"),y(fe,"class","menu-list svelte-1kj2hj8"),y(e,"class","menu")},m(ce,Xe){V(ce,e,Xe),v(e,t),v(e,i),v(e,r),v(r,s),v(s,l),n[7](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,Q),v(g,$),v(g,P),v(P,x),v(e,R),v(e,C),v(e,X),v(e,Z),v(Z,I),v(I,q),v(e,N),v(e,z),v(e,ie),v(e,fe),v(fe,we),v(we,ye),qe||(he=[le(l,"click",n[8]),le(u,"click",n[9]),le(Q,"click",n[10]),le(x,"click",n[11]),le(q,"click",n[12]),le(ye,"click",n[13])],qe=!0)},p:Ce,d(ce){ce&&Y(e),n[7](null),qe=!1,ti(he)}}}function w8(n){let e,t,i,r,s,l;return e=new Ul({props:{active:n[0],title:"Create new file",$$slots:{default:[Q8]},$$scope:{ctx:n}}}),e.$on("activate",n[5]),e.$on("cancel",n[14]),{c(){Ee(e.$$.fragment),t=L(),i=_("input"),y(i,"class","is-hidden svelte-1kj2hj8"),y(i,"type","file"),i.multiple=!0,y(i,"accept",".mzn,.mzc,.dzn,.json,.html")},m(o,f){Ye(e,o,f),V(o,t,f),V(o,i,f),n[15](i),r=!0,s||(l=[le(i,"change",n[16]),le(i,"change",n[6])],s=!0)},p(o,[f]){const u={};f&1&&(u.active=o[0]),f&131082&&(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)),Ve(e,o),n[15](null),s=!1,ti(l)}}}function y8(n,e,t){let{active:i=!1}=e;const r=Bn();let s,l,o;async function f(){await sr(),o&&o.focus()}async function u(){const C=[];for(const Z of l)C.push(new Promise((I,q)=>{const N=new FileReader;N.onload=()=>{I({name:Z.name,contents:N.result})},N.onerror=z=>q(z),N.readAsText(Z)}));const X=await Promise.all(C);r("open",{files:X})}function h(C){Dt[C?"unshift":"push"](()=>{o=C,t(3,o)})}const O=()=>r("new",{type:".mzn"}),p=()=>r("new",{type:".mzc.mzn"}),g=()=>r("new",{type:".dzn"}),b=()=>r("new",{type:".json"}),Q=()=>r("new",{type:".html"}),$=()=>s.click(),P=()=>r("cancel");function x(C){Dt[C?"unshift":"push"](()=>{s=C,t(1,s)})}function R(){l=this.files,t(2,l)}return n.$$set=C=>{"active"in C&&t(0,i=C.active)},[i,s,l,o,r,f,u,h,O,p,g,b,Q,$,P,x,R]}class v8 extends Vi{constructor(e){super(),Yi(this,e,y8,w8,Ui,{active:0})}}function qS(n,e,t){const i=n.slice();return i[14]=e[t],i}function ES(n,e,t){const i=n.slice();return i[17]=e[t].file,i[18]=e[t].index,i}function P8(n){let e,t,i,r,s,l,o;i=new _t({props:{icon:n[17].readOnly?HO:_1}});function f(){return n[11](n[18],n[17])}return{c(){e=_("button"),t=_("span"),Ee(i.$$.fragment),y(t,"class","icon"),y(e,"class","button is-small"),y(e,"title",r="Click to "+(n[17].readOnly?"unlock":"lock")+" this file for editing"),y(e,"type","button"),oe(e,"is-primary",!n[17].readOnly),oe(e,"is-light",n[17].readOnly)},m(u,h){V(u,e,h),v(e,t),Ye(i,t,null),s=!0,l||(o=le(e,"click",f),l=!0)},p(u,h){n=u;const O={};h&2&&(O.icon=n[17].readOnly?HO:_1),i.$set(O),(!s||h&2&&r!==(r="Click to "+(n[17].readOnly?"unlock":"lock")+" this file for editing"))&&y(e,"title",r),(!s||h&2)&&oe(e,"is-primary",!n[17].readOnly),(!s||h&2)&&oe(e,"is-light",n[17].readOnly)},i(u){s||(D(i.$$.fragment,u),s=!0)},o(u){F(i.$$.fragment,u),s=!1},d(u){u&&Y(e),Ve(i),l=!1,o()}}}function k8(n){let e,t,i,r;return i=new _t({props:{icon:HO}}),{c(){e=_("button"),t=_("span"),Ee(i.$$.fragment),y(t,"class","icon"),y(e,"class","button is-small is-light"),y(e,"title","Compiled checkers are read only"),y(e,"type","button"),e.disabled=!0},m(s,l){V(s,e,l),v(e,t),Ye(i,t,null),r=!0},p:Ce,i(s){r||(D(i.$$.fragment,s),r=!0)},o(s){F(i.$$.fragment,s),r=!1},d(s){s&&Y(e),Ve(i)}}}function MS(n){let e,t,i=n[17].name+"",r,s,l,o,f,u,h,O,p,g,b,Q,$,P,x,R,C,X,Z,I,q,N,z;p=new _t({props:{icon:n[17].hidden?k1:W1}});function ie(){return n[10](n[18],n[17])}const fe=[k8,P8],we=[];function ye(he,ce){return ce&2&&($=null),$==null&&($=!!he[17].name.endsWith(".mzc")),$?0:1}P=ye(n,-1),x=we[P]=fe[P](n),I=new _t({props:{icon:PQ}});function qe(){return n[12](n[18])}return{c(){e=_("tr"),t=_("td"),r=Qe(i),s=L(),l=_("td"),o=_("div"),f=_("div"),u=_("p"),h=_("button"),O=_("span"),Ee(p.$$.fragment),b=L(),Q=_("p"),x.c(),R=L(),C=_("p"),X=_("button"),Z=_("span"),Ee(I.$$.fragment),y(O,"class","icon"),y(h,"class","button is-small"),y(h,"title",g="Click to "+(n[17].hidden?"show":"hide")+" this file"),y(h,"type","button"),oe(h,"is-primary",!n[17].hidden),oe(h,"is-light",n[17].hidden),y(u,"class","control"),y(Q,"class","control"),y(Z,"class","icon"),y(X,"class","button is-small is-danger"),y(X,"title","Delete this file"),y(X,"type","button"),y(C,"class","control"),y(f,"class","field is-grouped"),y(o,"class","tool-buttons svelte-1bgv9sn")},m(he,ce){V(he,e,ce),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),Ye(p,O,null),v(f,b),v(f,Q),we[P].m(Q,null),v(f,R),v(f,C),v(C,X),v(X,Z),Ye(I,Z,null),q=!0,N||(z=[le(h,"click",ie),le(X,"click",qe)],N=!0)},p(he,ce){n=he,(!q||ce&2)&&i!==(i=n[17].name+"")&&Be(r,i);const Xe={};ce&2&&(Xe.icon=n[17].hidden?k1:W1),p.$set(Xe),(!q||ce&2&&g!==(g="Click to "+(n[17].hidden?"show":"hide")+" this file"))&&y(h,"title",g),(!q||ce&2)&&oe(h,"is-primary",!n[17].hidden),(!q||ce&2)&&oe(h,"is-light",n[17].hidden);let ke=P;P=ye(n,ce),P===ke?we[P].p(n,ce):(tt(),F(we[ke],1,1,()=>{we[ke]=null}),it(),x=we[P],x?x.p(n,ce):(x=we[P]=fe[P](n),x.c()),D(x,1),x.m(Q,null))},i(he){q||(D(p.$$.fragment,he),D(x),D(I.$$.fragment,he),q=!0)},o(he){F(p.$$.fragment,he),F(x),F(I.$$.fragment,he),q=!1},d(he){he&&Y(e),Ve(p),we[P].d(),Ve(I),N=!1,ti(z)}}}function DS(n){let e,t=n[14].label+"",i,r,s,l,o=nt(n[14].files),f=[];for(let h=0;hF(f[h],1,1,()=>{f[h]=null});return{c(){e=_("p"),i=Qe(t),r=L(),s=_("table");for(let h=0;hF(p[b],1,1,()=>{p[b]=null});return s=new _t({props:{icon:_Q}}),{c(){for(let b=0;bAccept',y(e,"slot","footer")},m(t,i){V(t,e,i)},p:Ce,d(t){t&&Y(e)}}}function x8(n){let e,t;return e=new Ul({props:{active:n[0],title:"Manage files",$$slots:{footer:[W8],default:[_8]},$$scope:{ctx:n}}}),e.$on("submit",n[3]),e.$on("cancel",n[3]),{c(){Ee(e.$$.fragment)},m(i,r){Ye(e,i,r),t=!0},p(i,[r]){const s={};r&1&&(s.active=i[0]),r&2097154&&(s.$$scope={dirty:r,ctx:i}),e.$set(s)},i(i){t||(D(e.$$.fragment,i),t=!0)},o(i){F(e.$$.fragment,i),t=!1},d(i){Ve(e,i)}}}function C8(n,e,t){let i,r,s,l,o,f,{active:u=!1}=e,{files:h=[]}=e;const O=Bn();function p(){O("close")}const g=(P,x)=>O("modifyFile",{index:P,options:{hidden:!x.hidden}}),b=(P,x)=>O("modifyFile",{index:P,options:{readOnly:!x.readOnly}}),Q=P=>O("delete",{index:P}),$=()=>O("newFile");return n.$$set=P=>{"active"in P&&t(0,u=P.active),"files"in P&&t(4,h=P.files)},n.$$.update=()=>{n.$$.dirty&16&&t(9,i=h.map((P,x)=>({file:P,index:x}))),n.$$.dirty&512&&t(8,r=i.filter(P=>P.file.name.endsWith(".mzn")&&!P.file.name.endsWith(".mzc.mzn")).sort((P,x)=>P.file.name.localeCompare(x.file.name))),n.$$.dirty&512&&t(7,s=i.filter(P=>P.file.name.endsWith(".dzn")||P.file.name.endsWith(".json")).sort((P,x)=>P.file.name.localeCompare(x.file.name))),n.$$.dirty&512&&t(6,l=i.filter(P=>P.file.name.endsWith(".mzc")||P.file.name.endsWith(".mzc.mzn")).sort((P,x)=>P.file.name.localeCompare(x.file.name))),n.$$.dirty&512&&t(5,o=i.filter(P=>!P.file.name.endsWith(".mzn")&&!P.file.name.endsWith(".mzc")&&!P.file.name.endsWith(".dzn")&&!P.file.name.endsWith(".json")).sort((P,x)=>P.file.name.localeCompare(x.file.name))),n.$$.dirty&480&&t(1,f=[{label:"Model files",files:r},{label:"Data files",files:s},{label:"Solution checkers",files:l},{label:"Other files",files:o}].filter(P=>P.files.length>0))},[u,f,O,p,h,o,l,s,r,i,g,b,Q,$]}class X8 extends Vi{constructor(e){super(),Yi(this,e,C8,x8,Ui,{active:0,files:4})}}function zS(n,e,t){const i=n.slice();return i[9]=e[t],i}function IS(n){let e,t=n[9]+"",i,r;return{c(){e=_("option"),i=Qe(t),e.__value=r=n[9],ki(e,e.__value),y(e,"class","svelte-1x5266v")},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,ki(e,e.__value))},d(s){s&&Y(e)}}}function T8(n){let e,t,i,r,s,l=nt(n[0]),o=[];for(let f=0;fn[6].call(t)),y(e,"class","select is-fullwidth is-multiple svelte-1x5266v")},m(f,u){V(f,e,u),v(e,t);for(let h=0;h0&&t(2,l=p[0])}function f(){i("accept",{modelFile:l})}const u=()=>i("cancel");function h(){l=cO(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 Vi{constructor(e){super(),Yi(this,e,A8,R8,Ui,{modelFiles:0,active:1})}}function NS(n,e,t){const i=n.slice();return i[25]=e[t],i[26]=e,i[27]=t,i}function LS(n,e,t){const i=n.slice();return i[22]=e[t],i}function jS(n){let e,t,i,r,s,l,o,f,u;return{c(){e=_("div"),t=_("ul"),i=_("li"),r=_("a"),r.textContent="Enter parameters",s=L(),l=_("li"),o=_("a"),o.textContent="Select data file",oe(i,"is-active",!n[2]),oe(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=[le(r,"click",n[13]),le(o,"click",n[14])],f=!0)},p(h,O){O&4&&oe(i,"is-active",!h[2]),O&4&&oe(l,"is-active",h[2])},d(h){h&&Y(e),f=!1,ti(u)}}}function Y8(n){let e,t=nt(n[5]),i=[];for(let r=0;rn[16].call(t)),y(e,"class","select is-fullwidth is-multiple")},m(f,u){V(f,e,u),v(e,t);for(let h=0;hN[z]===void 0?{name:z,value:""}:{name:z,value:N[z]}))}function Q(){r?s("accept",{dataFiles:h}):s("accept",{parameters:O.reduce((N,z)=>({...N,[z.name]:z.value}),{})})}const $=()=>s("cancel"),P=()=>t(2,u=!1),x=()=>t(2,u=!0);function R(N){Dt[N?"unshift":"push"](()=>{p=N,t(6,p)})}function C(){h=Cx(this),t(4,h),t(1,f)}function X(N){Dt[N?"unshift":"push"](()=>{p=N,t(6,p)})}function Z(N,z){N[z].value=this.value,t(5,O)}function I(N,z){N[z].value=this.value,t(5,O)}const q=()=>s("cancel");return n.$$set=N=>{"active"in N&&t(0,l=N.active),"parameters"in N&&t(11,o=N.parameters),"dataFiles"in N&&t(1,f=N.dataFiles)},n.$$.update=()=>{n.$$.dirty&2048&&b(o),n.$$.dirty&2&&t(3,i=f.length>0),n.$$.dirty&12&&t(7,r=i&&u)},[l,f,u,i,h,O,p,r,s,g,Q,o,$,P,x,R,C,X,Z,I,q]}class N8 extends Vi{constructor(e){super(),Yi(this,e,I8,z8,Ui,{active:0,parameters:11,dataFiles:1})}}function GS(n){let e,t,i,r,s,l,o,f,u,h,O,p,g,b,Q,$,P,x,R=Mn(n[1],"-a"),C,X=Mn(n[1],"-f"),Z,I,q,N,z,ie,fe,we,ye,qe=Mn(n[1],"-v"),he,ce,Xe,ke,Te,Le,Kt,ii=Mn(n[1],"-s"),Ct,Ut,It,ge,te,H,ne,ae,rt,Je,at,pt,et,se,yi,Xt;r=new _t({props:{icon:WQ}});let ht=R&&HS(n),ze=X&&KS(n),bt=qe&&JS(n),gt=ii&&eb(n);return{c(){e=_("div"),t=_("button"),i=_("span"),Ee(r.$$.fragment),s=L(),l=_("h5"),l.textContent="Solving options",o=L(),f=_("form"),u=_("div"),h=_("p"),O=_("input"),p=L(),g=_("label"),g.textContent="Time limit (s)",b=L(),Q=_("p"),$=_("input"),x=L(),ht&&ht.c(),C=L(),ze&&ze.c(),Z=L(),I=_("h5"),I.textContent="Output options",q=L(),N=_("div"),z=_("p"),ie=_("input"),fe=L(),we=_("label"),we.textContent="Verbose compilation",ye=L(),bt&&bt.c(),he=L(),ce=_("div"),Xe=_("p"),ke=_("input"),Te=L(),Le=_("label"),Le.textContent="Compilation statistics",Kt=L(),gt&>.c(),Ct=L(),Ut=_("div"),It=_("p"),ge=_("input"),te=L(),H=_("label"),H.textContent="Timing information",ne=L(),ae=_("div"),rt=_("p"),rt.innerHTML='',Je=L(),at=_("p"),pt=_("button"),pt.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(O,"id","enable-timelimit"),y(O,"type","checkbox"),y(O,"class","svelte-1uq9463"),y(g,"for","enable-timelimit"),y(g,"class","svelte-1uq9463"),y(h,"class","control checkbox-control svelte-1uq9463"),y($,"class","input is-fullwidth"),y($,"type","number"),y($,"step","1"),y($,"min",0),$.disabled=P=!n[3],y(Q,"class","control is-expanded"),y(u,"class","field is-grouped"),y(I,"class","title is-5"),y(ie,"id","enable-verbose-compile"),y(ie,"type","checkbox"),y(ie,"class","svelte-1uq9463"),y(we,"for","enable-verbose-compile"),y(we,"class","svelte-1uq9463"),y(z,"class","control checkbox-control svelte-1uq9463"),y(N,"class","field"),y(ke,"id","enable-compilation-satistics"),y(ke,"type","checkbox"),y(ke,"class","svelte-1uq9463"),y(Le,"for","enable-compilation-satistics"),y(Le,"class","svelte-1uq9463"),y(Xe,"class","control checkbox-control svelte-1uq9463"),y(ce,"class","field"),y(ge,"id","enable-timing-information"),y(ge,"type","checkbox"),y(ge,"class","svelte-1uq9463"),y(H,"for","enable-timing-information"),y(H,"class","svelte-1uq9463"),y(It,"class","control checkbox-control svelte-1uq9463"),y(Ut,"class","field"),y(rt,"class","control"),y(pt,"type","button"),y(pt,"class","button is-danger"),y(at,"class","control"),y(ae,"class","field is-grouped bottom-buttons svelte-1uq9463"),y(e,"class","config-window svelte-1uq9463")},m(He,Ot){V(He,e,Ot),v(e,t),v(t,i),Ye(r,i,null),v(e,s),v(e,l),v(e,o),v(e,f),v(f,u),v(u,h),v(h,O),O.checked=n[3],v(h,p),v(h,g),v(u,b),v(u,Q),v(Q,$),ki($,n[2]),v(f,x),ht&&ht.m(f,null),v(f,C),ze&&ze.m(f,null),v(f,Z),v(f,I),v(f,q),v(f,N),v(N,z),v(z,ie),ie.checked=n[5],v(z,fe),v(z,we),v(f,ye),bt&&bt.m(f,null),v(f,he),v(f,ce),v(ce,Xe),v(Xe,ke),ke.checked=n[7],v(Xe,Te),v(Xe,Le),v(f,Kt),gt&>.m(f,null),v(f,Ct),v(f,Ut),v(Ut,It),v(It,ge),ge.checked=n[9],v(It,te),v(It,H),v(f,ne),v(f,ae),v(ae,rt),v(ae,Je),v(ae,at),v(at,pt),se=!0,yi||(Xt=[le(t,"click",n[17]),le(O,"change",n[18]),le($,"input",n[19]),le(ie,"change",n[22]),le(ke,"change",n[24]),le(ge,"change",n[26]),le(pt,"click",n[12]),le(f,"submit",n[27])],yi=!0)},p(He,Ot){Ot&8&&(O.checked=He[3]),(!se||Ot&8&&P!==(P=!He[3]))&&($.disabled=P),Ot&4&&Mo($.value)!==He[2]&&ki($,He[2]),Ot&2&&(R=Mn(He[1],"-a")),R?ht?ht.p(He,Ot):(ht=HS(He),ht.c(),ht.m(f,C)):ht&&(ht.d(1),ht=null),Ot&2&&(X=Mn(He[1],"-f")),X?ze?ze.p(He,Ot):(ze=KS(He),ze.c(),ze.m(f,Z)):ze&&(ze.d(1),ze=null),Ot&32&&(ie.checked=He[5]),Ot&2&&(qe=Mn(He[1],"-v")),qe?bt?bt.p(He,Ot):(bt=JS(He),bt.c(),bt.m(f,he)):bt&&(bt.d(1),bt=null),Ot&128&&(ke.checked=He[7]),Ot&2&&(ii=Mn(He[1],"-s")),ii?gt?gt.p(He,Ot):(gt=eb(He),gt.c(),gt.m(f,Ct)):gt&&(gt.d(1),gt=null),Ot&512&&(ge.checked=He[9])},i(He){se||(D(r.$$.fragment,He),He&&or(()=>{se&&(et||(et=$l(e,pc,{x:100,duration:200},!0)),et.run(1))}),se=!0)},o(He){F(r.$$.fragment,He),He&&(et||(et=$l(e,pc,{x:100,duration:200},!1)),et.run(0)),se=!1},d(He){He&&Y(e),Ve(r),ht&&ht.d(),ze&&ze.d(),bt&&bt.d(),gt&>.d(),He&&et&&et.end(),yi=!1,ti(Xt)}}}function HS(n){let e,t,i,r,s,l,o;return{c(){e=_("div"),t=_("p"),i=_("input"),r=L(),s=_("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=le(i,"change",n[20]),l=!0)},p(f,u){u&16&&(i.checked=f[4])},d(f){f&&Y(e),l=!1,o()}}}function KS(n){let e,t,i,r,s,l,o;return{c(){e=_("div"),t=_("p"),i=_("input"),r=L(),s=_("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=le(i,"change",n[21]),l=!0)},p(f,u){u&1024&&(i.checked=f[10])},d(f){f&&Y(e),l=!1,o()}}}function JS(n){let e,t,i,r,s,l,o;return{c(){e=_("div"),t=_("p"),i=_("input"),r=L(),s=_("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=le(i,"change",n[23]),l=!0)},p(f,u){u&64&&(i.checked=f[6])},d(f){f&&Y(e),l=!1,o()}}}function eb(n){let e,t,i,r,s,l,o;return{c(){e=_("div"),t=_("p"),i=_("input"),r=L(),s=_("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=le(i,"change",n[25]),l=!0)},p(f,u){u&256&&(i.checked=f[8])},d(f){f&&Y(e),l=!1,o()}}}function L8(n){let e,t,i=n[0]&&GS(n);return{c(){i&&i.c(),e=ui()},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=GS(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 Mn(n,e){return n.indexOf(e)!==-1}function j8(n,e,t){const i=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 Q(he){const ce=he*1e3;ce!==Math.floor(ce)&&t(2,o=Math.floor(ce)/1e3)}function $(){t(3,l=!1),t(2,o=1),t(4,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 P(he){t(3,l=he.enableTimeLimit),t(2,o=he.timeLimit),t(4,f=he.allSolutions),t(5,u=he.verboseCompilation),t(6,h=he.verboseSolving),t(7,O=he.compilerStatistics),t(8,p=he.solvingStatistics),t(9,g=he.outputTime),t(10,b=he.freeSearch)}function x(){return{enableTimeLimit:l,timeLimit:o,allSolutions:f,verboseCompilation:u,verboseSolving:h,compilerStatistics:O,solvingStatistics:p,outputTime:g,freeSearch:b}}function R(he){const ce={solver:he};return l&&o>0&&(ce["time-limit"]=o*1e3),f&&Mn(s,"-a")&&(ce["all-satisfaction"]=!0),u&&(ce["verbose-compilation"]=!0),h&&Mn(s,"-v")&&(ce["verbose-solving"]=!0),O&&(ce["compiler-statistics"]=!0),p&&Mn(s,"-s")&&(ce["solver-statistics"]=!0),g&&(ce["output-time"]=!0),b&&Mn(s,"-f")&&(ce["free-search"]=!0),ce}function C(he){const ce={solver:he};return u&&(ce["verbose-compilation"]=!0),O&&(ce["compiler-statistics"]=!0),ce}const X=()=>i("close");function Z(){l=this.checked,t(3,l)}function I(){o=Mo(this.value),t(2,o)}function q(){f=this.checked,t(4,f)}function N(){b=this.checked,t(10,b)}function z(){u=this.checked,t(5,u)}function ie(){h=this.checked,t(6,h)}function fe(){O=this.checked,t(7,O)}function we(){p=this.checked,t(8,p)}function ye(){g=this.checked,t(9,g)}const qe=()=>i("close");return n.$$set=he=>{"active"in he&&t(0,r=he.active),"stdFlags"in he&&t(1,s=he.stdFlags)},n.$$.update=()=>{n.$$.dirty&4&&Q(o)},[r,s,o,l,f,u,h,O,p,g,b,i,$,P,x,R,C,X,Z,I,q,N,z,ie,fe,we,ye,qe]}class B8 extends Vi{constructor(e){super(),Yi(this,e,j8,L8,Ui,{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 tb(n,e,t){const i=n.slice();return i[13]=e[t],i}const F8=n=>({item:n&2}),ib=n=>({item:n[13]}),G8=n=>({item:n&4}),nb=n=>({item:n[2]});function rb(n){let e;const t=n[8].selected,i=on(t,n,n[7],nb),r=i||H8(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)&&fn(i,t,s,s[7],e?an(t,s[7],l,G8):cn(s[7]),nb):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 H8(n){let e=n[2].label+"",t;return{c(){t=Qe(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 K8(n){let e=n[13].label+"",t;return{c(){t=Qe(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 sb(n){let e,t,i,r,s;const l=n[8].item,o=on(l,n,n[7],ib),f=o||K8(n);function u(){return n[10](n[13])}return{c(){e=_("a"),f&&f.c(),t=L(),y(e,"href","javascript:void(0);"),y(e,"class","dropdown-item"),oe(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=le(e,"click",u),r=!0)},p(h,O){n=h,o?o.p&&(!i||O&130)&&fn(o,l,n,n[7],i?an(l,n[7],O,F8):cn(n[7]),ib):f&&f.p&&(!i||O&2)&&f.p(n,i?O:-1),(!i||O&6)&&oe(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 J8(n){let e,t,i,r,s,l,o,f,u,h,O,p,g,b,Q=n[2]&&rb(n);f=new _t({props:{icon:u4}});let $=nt(n[1]),P=[];for(let R=0;R<$.length;R+=1)P[R]=sb(tb(n,$,R));const x=R=>F(P[R],1,1,()=>{P[R]=null});return{c(){e=L(),t=_("div"),i=_("div"),r=_("button"),s=_("span"),Q&&Q.c(),l=L(),o=_("span"),Ee(f.$$.fragment),u=L(),h=_("div"),O=_("div");for(let R=0;R{Q=null}),it()),(!p||C&8)&&(r.disabled=R[3]),C&166){$=nt(R[1]);let X;for(X=0;X<$.length;X+=1){const Z=tb(R,$,X);P[X]?(P[X].p(Z,C),D(P[X],1)):(P[X]=sb(Z),P[X].c(),D(P[X],1),P[X].m(O,null))}for(tt(),X=$.length;Xt(0,f=!f),b=$=>O($);function Q($){Dt[$?"unshift":"push"](()=>{h=$,t(4,h)})}return n.$$set=$=>{"items"in $&&t(1,l=$.items),"currentItem"in $&&t(2,o=$.currentItem),"active"in $&&t(0,f=$.active),"disabled"in $&&t(3,u=$.disabled),"$$scope"in $&&t(7,r=$.$$scope)},[f,l,o,u,h,O,p,r,i,g,b,Q]}class t7 extends Vi{constructor(e){super(),Yi(this,e,e7,J8,Ui,{items:1,currentItem:2,active:0,disabled:3})}}const qy=Me.define({map:(n,e)=>({from:e.mapPos(n.from),to:e.mapPos(n.to),msg:n.msg,type:n.type})}),Ey=Me.define(),lb=wi.define({create(){return Re.none},update(n,e){n=n.map(e.changes);for(const t of e.effects)t.is(Ey)&&(n=Re.none),t.is(qy)&&(n=n.update({add:[Re.mark({class:`cm-mzn-underline-${t.value.type}`,attributes:{title:t.value.msg}}).range(t.value.from,t.value.to)]}));return n},provide:n=>be.decorations.from(n)});function Od(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 i7(n,e,t){const i=e.map(r=>qy.of({from:Od(r.location.firstLine,r.location.firstColumn,n),to:Od(r.location.lastLine,r.location.lastColumn,n)+1,msg:`${r.type==="error"?"Error":"Warning"}: ${r.what}: ${r.message}`,type:r.type}));t.state.field(lb,!1)||i.push(Me.appendConfig.of([lb])),t.dispatch({effects:[Ey.of(null),...i]})}const n7=n=>({}),ob=n=>({}),r7=n=>({}),ab=n=>({}),s7=n=>({}),fb=n=>({}),l7=n=>({}),cb=n=>({});function ub(n,e,t){const i=n.slice();return i[150]=e[t],i[152]=t,i}const o7=n=>({}),hb=n=>({});function Ob(n,e,t){const i=n.slice();return i[150]=e[t],i[152]=t,i}const a7=n=>({}),db=n=>({}),f7=n=>({}),pb=n=>({});function c7(n){let e,t,i,r,s,l,o,f,u;return s=new _t({props:{icon:O4}}),{c(){e=_("button"),t=_("span"),t.textContent="Run",i=L(),r=_("span"),Ee(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),Ye(s,r,null),o=!0,f||(u=le(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),Ve(s),f=!1,u()}}}function u7(n){let e,t,i,r,s,l,o,f;return s=new _t({props:{icon:c4}}),{c(){e=_("button"),t=_("span"),t.textContent="Stop",i=L(),r=_("span"),Ee(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),Ye(s,r,null),l=!0,o||(f=le(e,"click",n[62]),o=!0)},p:Ce,i(u){l||(D(s.$$.fragment,u),l=!0)},o(u){F(s.$$.fragment,u),l=!1},d(u){u&&Y(e),Ve(s),o=!1,f()}}}function gb(n){let e,t,i,r,s,l;return{c(){e=_("div"),t=_("button"),i=_("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=le(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 mb(n){let e,t,i;return t=new t7({props:{items:n[51],currentItem:n[0]?n[18].edge:n[18].latest,disabled:n[46],$$slots:{item:[h7,({item:r})=>({154:r}),({item:r})=>[0,0,0,0,r?1073741824:0]]},$$scope:{ctx:n}}}),t.$on("selectItem",n[69]),{c(){e=_("div"),Ee(t.$$.fragment),y(e,"class","control is-hidden-mobile")},m(r,s){V(r,e,s),Ye(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]&1073742080&&(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),Ve(t)}}}function h7(n){let e,t=n[154].label+"",i,r,s=n[154].detail+"",l,o;return{c(){e=_("span"),i=Qe(t),r=Qe(" ("),l=Qe(s),o=Qe(")"),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]&1073741824&&t!==(t=f[154].label+"")&&Be(i,t),u[4]&1073741824&&s!==(s=f[154].detail+"")&&Be(l,s)},d(f){f&&Y(e)}}}function Sb(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=L(),s=_("div"),l=_("div"),o=_("select");for(let Q=0;Qn[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(Q,e,$),v(e,t),v(t,i),v(t,r),v(t,s),v(s,l),v(l,o);for(let P=0;P{b=null}),it())},i(Q){u||(D(b),u=!0)},o(Q){F(b),u=!1},d(Q){Q&&Y(e),_i(g,Q),b&&b.d(),h=!1,O()}}}function Qb(n){let e,t=n[150].name+"",i,r,s=n[150].version+"",l,o;return{c(){e=_("option"),i=Qe(t),r=L(),l=Qe(s),o=L(),e.__value=n[152],ki(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[150].name+"")&&Be(i,t),u[0]&8388608&&s!==(s=f[150].version+"")&&Be(l,s)},d(f){f&&Y(e)}}}function wb(n){let e,t,i,r,s,l,o;return r=new _t({props:{icon:kQ}}),{c(){e=_("div"),t=_("button"),i=_("span"),Ee(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),Ye(r,i,null),s=!0,l||(o=le(t,"click",n[52]),l=!0)},p:Ce,i(f){s||(D(r.$$.fragment,f),s=!0)},o(f){F(r.$$.fragment,f),s=!1},d(f){f&&Y(e),Ve(r),l=!1,o()}}}function yb(n){let e,t,i,r,s,l,o,f;return r=new _t({props:{icon:yQ}}),{c(){e=_("div"),t=_("button"),i=_("span"),Ee(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),Ye(r,i,null),l=!0,o||(f=le(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),Ve(r),o=!1,f()}}}function vb(n){let e,t,i,r,s,l,o,f;return r=new _t({props:{icon:f4}}),{c(){e=_("div"),t=_("button"),i=_("span"),Ee(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),Ye(r,i,null),l=!0,o||(f=le(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),Ve(r),o=!1,f()}}}function Pb(n){let e,t,i,r,s,l,o,f;return r=new _t({props:{icon:vQ}}),{c(){e=_("div"),t=_("button"),i=_("span"),Ee(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),Ye(r,i,null),l=!0,o||(f=le(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),Ve(r),o=!1,f()}}}function kb(n){let e,t,i,r,s,l,o,f;return i=new _t({props:{icon:d4}}),{c(){e=_("a"),t=_("span"),Ee(i.$$.fragment),r=L(),s=_("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),Ye(i,t,null),v(e,r),v(e,s),l=!0,o||(f=le(e,"click",n[93]),o=!0)},p:Ce,i(u){l||(D(i.$$.fragment,u),l=!0)},o(u){F(i.$$.fragment,u),l=!1},d(u){u&&Y(e),Ve(i),o=!1,f()}}}function _b(n){let e,t,i,r,s,l,o,f;return i=new _t({props:{icon:kQ}}),{c(){e=_("a"),t=_("span"),Ee(i.$$.fragment),r=L(),s=_("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),Ye(i,t,null),v(e,r),v(e,s),l=!0,o||(f=le(e,"click",n[94]),o=!0)},p:Ce,i(u){l||(D(i.$$.fragment,u),l=!0)},o(u){F(i.$$.fragment,u),l=!1},d(u){u&&Y(e),Ve(i),o=!1,f()}}}function Wb(n){let e,t,i,r,s,l,o=n[0]?"latest":"edge",f,u,h,O,p;return i=new _t({props:{icon:r4}}),{c(){e=_("a"),t=_("span"),Ee(i.$$.fragment),r=L(),s=_("span"),l=Qe("Switch to the "),f=Qe(o),u=Qe(" 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),Ye(i,t,null),v(e,r),v(e,s),v(s,l),v(s,f),v(s,u),h=!0,O||(p=le(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),Ve(i),O=!1,p()}}}function xb(n){let e,t,i,r,s,l,o,f;return i=new _t({props:{icon:yQ}}),{c(){e=_("a"),t=_("span"),Ee(i.$$.fragment),r=L(),s=_("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),Ye(i,t,null),v(e,r),v(e,s),l=!0,o||(f=le(e,"click",n[96]),o=!0)},p:Ce,i(u){l||(D(i.$$.fragment,u),l=!0)},o(u){F(i.$$.fragment,u),l=!1},d(u){u&&Y(e),Ve(i),o=!1,f()}}}function Cb(n){let e,t,i,r,s,l,o,f;return i=new _t({props:{icon:vQ}}),{c(){e=_("a"),t=_("span"),Ee(i.$$.fragment),r=L(),s=_("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),Ye(i,t,null),v(e,r),v(e,s),l=!0,o||(f=le(e,"click",n[97]),o=!0)},p:Ce,i(u){l||(D(i.$$.fragment,u),l=!0)},o(u){F(i.$$.fragment,u),l=!1},d(u){u&&Y(e),Ve(i),o=!1,f()}}}function Xb(n){let e,t,i={state:n[50]};return e=new EC({props:i}),n[110](e),{c(){Ee(e.$$.fragment)},m(r,s){Ye(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),Ve(e,r)}}}function O7(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]&&Xb(n);return{c(){e=_("div"),t=_("div"),Ee(i.$$.fragment),r=L(),s=_("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),Ye(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=Xb(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),Ve(i),o&&o.d()}}}function Tb(n){let e,t,i,r,s,l,o,f,u,h,O,p,g=n[12]&&Zb(n);return{c(){e=_("div"),t=_("div"),i=_("ul"),r=_("li"),s=_("a"),s.textContent="Output",l=L(),o=_("li"),f=_("a"),f.textContent="Visualisation",u=L(),g&&g.c(),y(s,"href","javascript:void(0);"),oe(r,"is-active",!n[42]),y(f,"href","javascript:void(0);"),oe(o,"is-active",n[42]),y(t,"class","tabs is-boxed"),y(e,"class","top svelte-1llogi3")},m(b,Q){V(b,e,Q),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=[le(s,"click",n[98]),le(f,"click",n[99])],O=!0)},p(b,Q){(!h||Q[1]&2048)&&oe(r,"is-active",!b[42]),(!h||Q[1]&2048)&&oe(o,"is-active",b[42]),b[12]?g?(g.p(b,Q),Q[0]&4096&&D(g,1)):(g=Zb(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,ti(p)}}}function Zb(n){let e,t,i,r,s,l,o;return r=new _t({props:{icon:xQ}}),{c(){e=_("li"),t=_("button"),i=_("span"),Ee(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),Ye(r,i,null),s=!0,l||(o=le(t,"click",n[68]),l=!0)},p:Ce,i(f){s||(D(r.$$.fragment,f),s=!0)},o(f){F(r.$$.fragment,f),s=!1},d(f){f&&Y(e),Ve(r),l=!1,o()}}}function Rb(n){let e,t,i,r,s,l;return i=new _t({props:{icon:xQ}}),{c(){e=_("button"),t=_("span"),Ee(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),Ye(i,t,null),r=!0,s||(l=le(e,"click",n[68]),s=!0)},p:Ce,i(o){r||(D(i.$$.fragment,o),r=!0)},o(o){F(i.$$.fragment,o),r=!1},d(o){o&&Y(e),Ve(i),s=!1,l()}}}function d7(n){let e,t,i=n[12]&&!n[41]&&Rb(n);return{c(){e=_("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=Rb(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 p7(n){let e,t,i,r,s,l,o,f,u,h,O=n[41]&&Tb(n),p={files:n[19]};s=new $8({props:p}),n[100](s),s.$on("solve",n[101]);function g(Q){n[102](Q)}let b={output:n[32],showClearOutput:n[13],showAutoClearOutput:n[14],showSectionToggles:n[15],showRightControls:n[16],isTab:n[41],$$slots:{"before-right-controls":[d7]},$$scope:{ctx:n}};return n[1]!==void 0&&(b.autoClearOutput=n[1]),f=new p8({props:b}),Dt.push(()=>Ao(f,"autoClearOutput",g)),f.$on("clear",n[103]),f.$on("goto",n[104]),{c(){e=_("div"),O&&O.c(),t=L(),i=_("div"),r=_("div"),Ee(s.$$.fragment),l=L(),o=_("div"),Ee(f.$$.fragment),y(r,"class","tab-window svelte-1llogi3"),oe(r,"visible",n[42]),y(o,"class","tab-window svelte-1llogi3"),oe(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(Q,e,$),O&&O.m(e,null),v(e,t),v(e,i),v(i,r),Ye(s,r,null),v(i,l),v(i,o),Ye(f,o,null),h=!0},p(Q,$){Q[41]?O?(O.p(Q,$),$[1]&1024&&D(O,1)):(O=Tb(Q),O.c(),D(O,1),O.m(e,t)):O&&(tt(),F(O,1,1,()=>{O=null}),it());const P={};$[0]&524288&&(P.files=Q[19]),s.$set(P),(!h||$[1]&2048)&&oe(r,"visible",Q[42]);const x={};$[1]&2&&(x.output=Q[32]),$[0]&8192&&(x.showClearOutput=Q[13]),$[0]&16384&&(x.showAutoClearOutput=Q[14]),$[0]&32768&&(x.showSectionToggles=Q[15]),$[0]&65536&&(x.showRightControls=Q[16]),$[1]&1024&&(x.isTab=Q[41]),$[0]&4096|$[1]&1024|$[4]&256&&(x.$$scope={dirty:$,ctx:Q}),!u&&$[0]&2&&(u=!0,x.autoClearOutput=Q[1],Ro(()=>u=!1)),f.$set(x),(!h||$[1]&3072)&&oe(o,"visible",!Q[41]||!Q[42])},i(Q){h||(D(O),D(s.$$.fragment,Q),D(f.$$.fragment,Q),h=!0)},o(Q){F(O),F(s.$$.fragment,Q),F(f.$$.fragment,Q),h=!1},d(Q){Q&&Y(e),O&&O.d(),n[100](null),Ve(s),Ve(f)}}}function g7(n){let e,t,i,r=n[19][n[28]].name+"",s,l,o,f;return{c(){e=_("p"),t=Qe("Are you sure you wish to delete "),i=_("code"),s=Qe(r),l=Qe("?"),o=L(),f=_("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 m7(n){let e,t,i,r,s,l;return{c(){e=_("div"),t=_("button"),t.textContent="Delete",i=L(),r=_("button"),r.textContent="Cancel",y(t,"class","button is-danger"),y(r,"type","button"),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=[le(t,"click",n[121]),le(r,"click",n[122])],s=!0)},p:Ce,d(o){o&&Y(e),s=!1,ti(l)}}}function S7(n){let e,t,i,r,s,l,o,f,u,h,O;return f=new _t({props:{icon:s4}}),{c(){e=_("div"),t=_("p"),i=_("input"),r=L(),s=_("p"),l=_("button"),o=_("span"),Ee(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,"type","button"),y(l,"class","button"),oe(l,"is-primary",!n[39]),oe(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),Ye(f,o,null),u=!0,h||(O=[le(i,"click",n[130]),le(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)&&oe(l,"is-primary",!p[39]),(!u||g[1]&256)&&oe(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),Ve(f),h=!1,ti(O)}}}function b7(n){let e,t,i,r;return{c(){e=_("div"),t=_("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=le(t,"click",n[128]),i=!0)},p:Ce,d(s){s&&Y(e),i=!1,r()}}}function $7(n){let e,t,i,r,s,l,o,f,u,h,O,p,g,b,Q,$,P,x,R,C,X,Z,I,q,N,z,ie,fe,we,ye,qe,he,ce,Xe,ke,Te,Le,Kt,ii,Ct,Ut,It,ge,te,H,ne,ae,rt,Je,at,pt,et,se,yi,Xt,ht,ze,bt,gt,He,Ot,yt,ni,st;const _n=n[87]["navbar-before-run-buttons"],hi=on(_n,n,n[132],pb),pi=[u7,c7],Ji=[];function Wn(j,Oe){return j[46]?0:1}h=Wn(n),O=Ji[h]=pi[h](n);let ri=n[7]&&gb(n),mt=n[4]&&mb(n);const fr=n[87]["navbar-run-buttons"],gi=on(fr,n,n[132],db);let vi=n[5]&&n[23].length>0&&Sb(n);const Hr=n[87]["navbar-after-run-buttons"],qi=on(Hr,n,n[132],hb);let Yt=n[5]&&n[23].length>0&&$b(n);const Tr=n[87]["navbar-after-solver-selector"],si=on(Tr,n,n[132],cb),Kr=n[87]["navbar-before-share-buttons"],ji=on(Kr,n,n[132],fb);let Vt=n[9]&&yb(n),qt=n[10]&&vb(n),Nt=n[11]&&Pb(n);const cr=n[87]["navbar-share-buttons"],ft=on(cr,n,n[132],ab);let Tt=n[7]&&!n[46]&&n[48]&&kb(n),Lt=n[8]&&n[5]&&n[23].length>0&&_b(n),Wt=n[4]&&!n[46]&&Wb(n),Et=n[9]&&n[17]===0&&xb(n),jt=n[11]&&n[17]===0&&Cb(n);const xn=n[87]["navbar-after-share-buttons"],li=on(xn,n,n[132],ob);function Cs(j){n[111](j)}let Zr={direction:n[2],showPanels:n[47],$$slots:{panelB:[p7],panelA:[O7]},$$scope:{ctx:n}};n[3]!==void 0&&(Zr.split=n[3]),ne=new GC({props:Zr}),Dt.push(()=>Ao(ne,"split",Cs));let Fl={active:n[34],stdFlags:n[44]};return Je=new B8({props:Fl}),n[112](Je),Je.$on("close",n[113]),pt=new X8({props:{active:n[29],files:n[19]}}),pt.$on("close",n[114]),pt.$on("delete",n[115]),pt.$on("modifyFile",n[116]),pt.$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]),Xt=new Ul({props:{active:n[28]!==null,title:"Delete file",$$slots:{footer:[m7],default:[g7]},$$scope:{ctx:n}}}),Xt.$on("cancel",n[123]),ze=new U8({props:{active:n[30],modelFiles:n[43]}}),ze.$on("accept",n[124]),ze.$on("cancel",n[125]),gt=new N8({props:{active:n[31],dataFiles:n[45],parameters:n[33]}}),gt.$on("accept",n[126]),gt.$on("cancel",n[127]),Ot=new Ul({props:{active:n[38],title:"Share this project",$$slots:{footer:[b7],default:[S7]},$$scope:{ctx:n}}}),Ot.$on("cancel",n[131]),{c(){e=_("div"),t=_("div"),i=_("div"),r=_("nav"),s=_("div"),hi&&hi.c(),l=L(),o=_("div"),f=_("div"),u=_("div"),O.c(),p=L(),ri&&ri.c(),g=L(),mt&&mt.c(),b=L(),gi&&gi.c(),Q=L(),vi&&vi.c(),$=L(),qi&&qi.c(),P=L(),Yt&&Yt.c(),x=L(),si&&si.c(),R=L(),C=_("a"),X=_("span"),Z=L(),I=_("span"),q=L(),N=_("span"),z=L(),ie=_("div"),fe=_("div"),we=L(),ye=_("div"),ji&&ji.c(),qe=L(),he=_("div"),ce=_("div"),Vt&&Vt.c(),Xe=L(),qt&&qt.c(),ke=L(),Nt&&Nt.c(),Te=L(),ft&&ft.c(),Le=L(),Tt&&Tt.c(),Kt=L(),Lt&&Lt.c(),ii=L(),Wt&&Wt.c(),Ct=L(),Et&&Et.c(),Ut=L(),jt&&jt.c(),It=L(),li&&li.c(),ge=L(),te=_("div"),H=_("div"),Ee(ne.$$.fragment),rt=L(),Ee(Je.$$.fragment),at=L(),Ee(pt.$$.fragment),et=L(),Ee(se.$$.fragment),yi=L(),Ee(Xt.$$.fragment),ht=L(),Ee(ze.$$.fragment),bt=L(),Ee(gt.$$.fragment),He=L(),Ee(Ot.$$.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(N,"aria-hidden","true"),y(C,"role","button"),y(C,"class","navbar-burger"),y(C,"aria-label","menu"),y(C,"aria-expanded",n[25]),oe(C,"is-active",n[25]),y(s,"class","navbar-brand"),y(fe,"class","navbar-start is-hidden-tablet"),y(ce,"class","field has-addons"),y(he,"class","navbar-item is-hidden-mobile"),y(ye,"class","navbar-end"),y(ie,"class","navbar-menu"),oe(ie,"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"),oe(e,"is-dark",n[22])},m(j,Oe){V(j,e,Oe),v(e,t),v(t,i),v(i,r),v(r,s),hi&&hi.m(s,null),v(s,l),v(s,o),v(o,f),v(f,u),Ji[h].m(u,null),v(f,p),ri&&ri.m(f,null),v(f,g),mt&&mt.m(f,null),v(f,b),gi&&gi.m(f,null),v(f,Q),vi&&vi.m(f,null),v(s,$),qi&&qi.m(s,null),v(s,P),Yt&&Yt.m(s,null),v(s,x),si&&si.m(s,null),v(s,R),v(s,C),v(C,X),v(C,Z),v(C,I),v(C,q),v(C,N),v(r,z),v(r,ie),v(ie,fe),v(ie,we),v(ie,ye),ji&&ji.m(ye,null),v(ye,qe),v(ye,he),v(he,ce),Vt&&Vt.m(ce,null),v(ce,Xe),qt&&qt.m(ce,null),v(ce,ke),Nt&&Nt.m(ce,null),v(ce,Te),ft&&ft.m(ce,null),v(ye,Le),Tt&&Tt.m(ye,null),v(ye,Kt),Lt&&Lt.m(ye,null),v(ye,ii),Wt&&Wt.m(ye,null),v(ye,Ct),Et&&Et.m(ye,null),v(ye,Ut),jt&&jt.m(ye,null),v(ye,It),li&&li.m(ye,null),v(t,ge),v(t,te),v(te,H),Ye(ne,H,null),v(te,rt),Ye(Je,te,null),v(e,at),Ye(pt,e,null),v(e,et),Ye(se,e,null),v(e,yi),Ye(Xt,e,null),v(e,ht),Ye(ze,e,null),v(e,bt),Ye(gt,e,null),v(e,He),Ye(Ot,e,null),yt=!0,ni||(st=le(C,"click",n[90]),ni=!0)},p(j,Oe){hi&&hi.p&&(!yt||Oe[4]&256)&&fn(hi,_n,j,j[132],yt?an(_n,j[132],Oe,f7):cn(j[132]),pb);let ur=h;h=Wn(j),h===ur?Ji[h].p(j,Oe):(tt(),F(Ji[ur],1,1,()=>{Ji[ur]=null}),it(),O=Ji[h],O?O.p(j,Oe):(O=Ji[h]=pi[h](j),O.c()),D(O,1),O.m(u,null)),j[7]?ri?ri.p(j,Oe):(ri=gb(j),ri.c(),ri.m(f,g)):ri&&(ri.d(1),ri=null),j[4]?mt?(mt.p(j,Oe),Oe[0]&16&&D(mt,1)):(mt=mb(j),mt.c(),D(mt,1),mt.m(f,b)):mt&&(tt(),F(mt,1,1,()=>{mt=null}),it()),gi&&gi.p&&(!yt||Oe[4]&256)&&fn(gi,fr,j,j[132],yt?an(fr,j[132],Oe,a7):cn(j[132]),db),j[5]&&j[23].length>0?vi?vi.p(j,Oe):(vi=Sb(j),vi.c(),vi.m(f,null)):vi&&(vi.d(1),vi=null),qi&&qi.p&&(!yt||Oe[4]&256)&&fn(qi,Hr,j,j[132],yt?an(Hr,j[132],Oe,o7):cn(j[132]),hb),j[5]&&j[23].length>0?Yt?(Yt.p(j,Oe),Oe[0]&8388640&&D(Yt,1)):(Yt=$b(j),Yt.c(),D(Yt,1),Yt.m(s,x)):Yt&&(tt(),F(Yt,1,1,()=>{Yt=null}),it()),si&&si.p&&(!yt||Oe[4]&256)&&fn(si,Tr,j,j[132],yt?an(Tr,j[132],Oe,l7):cn(j[132]),cb),(!yt||Oe[0]&33554432)&&y(C,"aria-expanded",j[25]),(!yt||Oe[0]&33554432)&&oe(C,"is-active",j[25]),ji&&ji.p&&(!yt||Oe[4]&256)&&fn(ji,Kr,j,j[132],yt?an(Kr,j[132],Oe,s7):cn(j[132]),fb),j[9]?Vt?(Vt.p(j,Oe),Oe[0]&512&&D(Vt,1)):(Vt=yb(j),Vt.c(),D(Vt,1),Vt.m(ce,Xe)):Vt&&(tt(),F(Vt,1,1,()=>{Vt=null}),it()),j[10]?qt?(qt.p(j,Oe),Oe[0]&1024&&D(qt,1)):(qt=vb(j),qt.c(),D(qt,1),qt.m(ce,ke)):qt&&(tt(),F(qt,1,1,()=>{qt=null}),it()),j[11]?Nt?(Nt.p(j,Oe),Oe[0]&2048&&D(Nt,1)):(Nt=Pb(j),Nt.c(),D(Nt,1),Nt.m(ce,Te)):Nt&&(tt(),F(Nt,1,1,()=>{Nt=null}),it()),ft&&ft.p&&(!yt||Oe[4]&256)&&fn(ft,cr,j,j[132],yt?an(cr,j[132],Oe,r7):cn(j[132]),ab),j[7]&&!j[46]&&j[48]?Tt?(Tt.p(j,Oe),Oe[0]&128|Oe[1]&163840&&D(Tt,1)):(Tt=kb(j),Tt.c(),D(Tt,1),Tt.m(ye,Kt)):Tt&&(tt(),F(Tt,1,1,()=>{Tt=null}),it()),j[8]&&j[5]&&j[23].length>0?Lt?(Lt.p(j,Oe),Oe[0]&8388896&&D(Lt,1)):(Lt=_b(j),Lt.c(),D(Lt,1),Lt.m(ye,ii)):Lt&&(tt(),F(Lt,1,1,()=>{Lt=null}),it()),j[4]&&!j[46]?Wt?(Wt.p(j,Oe),Oe[0]&16|Oe[1]&32768&&D(Wt,1)):(Wt=Wb(j),Wt.c(),D(Wt,1),Wt.m(ye,Ct)):Wt&&(tt(),F(Wt,1,1,()=>{Wt=null}),it()),j[9]&&j[17]===0?Et?(Et.p(j,Oe),Oe[0]&131584&&D(Et,1)):(Et=xb(j),Et.c(),D(Et,1),Et.m(ye,Ut)):Et&&(tt(),F(Et,1,1,()=>{Et=null}),it()),j[11]&&j[17]===0?jt?(jt.p(j,Oe),Oe[0]&133120&&D(jt,1)):(jt=Cb(j),jt.c(),D(jt,1),jt.m(ye,It)):jt&&(tt(),F(jt,1,1,()=>{jt=null}),it()),li&&li.p&&(!yt||Oe[4]&256)&&fn(li,xn,j,j[132],yt?an(xn,j[132],Oe,n7):cn(j[132]),ob),(!yt||Oe[0]&33554432)&&oe(ie,"is-active",j[25]);const hr={};Oe[0]&4&&(hr.direction=j[2]),Oe[1]&65536&&(hr.showPanels=j[47]),Oe[0]&958001218|Oe[1]&527874|Oe[4]&256&&(hr.$$scope={dirty:Oe,ctx:j}),!ae&&Oe[0]&8&&(ae=!0,hr.split=j[3],Ro(()=>ae=!1)),ne.$set(hr);const Xs={};Oe[1]&8&&(Xs.active=j[34]),Oe[1]&8192&&(Xs.stdFlags=j[44]),Je.$set(Xs);const Ts={};Oe[0]&536870912&&(Ts.active=j[29]),Oe[0]&524288&&(Ts.files=j[19]),pt.$set(Ts);const Jr={};Oe[0]&134217728&&(Jr.active=j[27]),se.$set(Jr);const Zs={};Oe[0]&268435456&&(Zs.active=j[28]!==null),Oe[0]&268959744|Oe[4]&256&&(Zs.$$scope={dirty:Oe,ctx:j}),Xt.$set(Zs);const mi={};Oe[0]&1073741824&&(mi.active=j[30]),Oe[1]&4096&&(mi.modelFiles=j[43]),ze.$set(mi);const Cn={};Oe[1]&1&&(Cn.active=j[31]),Oe[1]&16384&&(Cn.dataFiles=j[45]),Oe[1]&4&&(Cn.parameters=j[33]),gt.$set(Cn);const en={};Oe[1]&128&&(en.active=j[38]),Oe[1]&448|Oe[4]&256&&(en.$$scope={dirty:Oe,ctx:j}),Ot.$set(en),(!yt||Oe[0]&4194304)&&oe(e,"is-dark",j[22])},i(j){yt||(D(hi,j),D(O),D(mt),D(gi,j),D(qi,j),D(Yt),D(si,j),D(ji,j),D(Vt),D(qt),D(Nt),D(ft,j),D(Tt),D(Lt),D(Wt),D(Et),D(jt),D(li,j),D(ne.$$.fragment,j),D(Je.$$.fragment,j),D(pt.$$.fragment,j),D(se.$$.fragment,j),D(Xt.$$.fragment,j),D(ze.$$.fragment,j),D(gt.$$.fragment,j),D(Ot.$$.fragment,j),yt=!0)},o(j){F(hi,j),F(O),F(mt),F(gi,j),F(qi,j),F(Yt),F(si,j),F(ji,j),F(Vt),F(qt),F(Nt),F(ft,j),F(Tt),F(Lt),F(Wt),F(Et),F(jt),F(li,j),F(ne.$$.fragment,j),F(Je.$$.fragment,j),F(pt.$$.fragment,j),F(se.$$.fragment,j),F(Xt.$$.fragment,j),F(ze.$$.fragment,j),F(gt.$$.fragment,j),F(Ot.$$.fragment,j),yt=!1},d(j){j&&Y(e),hi&&hi.d(j),Ji[h].d(),ri&&ri.d(),mt&&mt.d(),gi&&gi.d(j),vi&&vi.d(),qi&&qi.d(j),Yt&&Yt.d(),si&&si.d(j),ji&&ji.d(j),Vt&&Vt.d(),qt&&qt.d(),Nt&&Nt.d(),ft&&ft.d(j),Tt&&Tt.d(),Lt&&Lt.d(),Wt&&Wt.d(),Et&&Et.d(),jt&&jt.d(),li&&li.d(j),Ve(ne),n[112](null),Ve(Je),Ve(pt),Ve(se),Ve(Xt),Ve(ze),Ve(gt),Ve(Ot),ni=!1,st()}}}function Ab(n,e){n.effects=n.effects?[...n.effects,e]:[e]}function Q7(n,e,t){let i,r,s,l,o,f,u,h,O,p,g,b,Q,$,P,x,R,{$$slots:C={},$$scope:X}=e,{showVersionSwitcher:Z=!0}=e,{showSolverDropdown:I=!0}=e,{edgeMiniZinc:q=!1}=e,{autoClearOutput:N=!1}=e,{canEditTabs:z=!0}=e,{compilationEnabled:ie=!0}=e,{project:fe}=e,{enabledSolvers:we=null}=e,{canEditSolverSettings:ye=!0}=e,{showShareButton:qe=!0}=e,{showDownloadButton:he=!0}=e,{externalPlaygroundURL:ce=null}=e,{splitterDirection:Xe="vertical"}=e,{splitterSize:ke=75}=e,{canSwitchOrientation:Te=!0}=e,{showClearOutput:Le=!0}=e,{showAutoClearOutput:Kt=!0}=e,{showOutputSectionToggles:ii=!0}=e,{showOutputRightControls:Ct=!0}=e,{theme:Ut="auto"}=e,{hideOutputOnStartup:It=!0}=e,ge=0,te=[],H,ne,ae={latest:{label:"Latest",detail:"stable"},edge:{label:"Edge",detail:"development"}};function rt(A){const ue=q?yx:wx;if(ne!==ue){t(17,ge++,ge);const $e=H;H=new Promise(async(de,me)=>{$e&&await $e,ne&&ne.shutdown(),ne=ue,ne.shutdown(),await ne.init();const[Ie]=/version \d+\.\d+\.\d+(?:, build .*)?$/m.exec(await ne.version()),lt=q?"edge":"latest";t(18,ae={...ae,[lt]:{...ae[lt],detail:Ie}}),t(78,te=await ne.solvers()),await sr(),t(17,ge--,ge),de()})}return H}const Je=new Promise((A,ue)=>{Ic(()=>{rt(),A();const $e=window.matchMedia("(prefers-color-scheme: dark)"),de=()=>{t(81,Jr=window.matchMedia("(prefers-color-scheme: dark)").matches)};return de(),$e.addEventListener("change",de),()=>$e.removeEventListener("change",de)})});async function at(A){t(0,q=A.minizincVersion==="edge"),await Je,t(19,se=[]),gi(A.files),t(20,Xt=A.tab||0),A.solverId&&(await rt(),t(21,pi=$.findIndex(ue=>ue.id===A.solverId))),A.solverConfig&&ht.load(A.solverConfig)}function pt(){return se.length>0}let et,se=[],yi=!1,Xt=0,ht,ze=!1,bt=null,gt=!1,He=!1,Ot=null,yt=!1,ni=[],st=null,_n=[],hi={},pi=-1;async function Ji(A,ue){if(await rt(),pi<0||pi>=$.length){const $e=$.findIndex(de=>de.extraInfo&&de.extraInfo.isDefault);$e!==-1&&t(21,pi=$e)}}let Wn=!1;function ri(){t(34,Wn=!Wn)}async function mt(A){for(et&&Xt=0&&se[A].hidden;)A--;A===-1&&(A=se.findIndex(ue=>!ue.hidden)),t(20,Xt=A),await sr(),et&&h&&(et.focus(),h.scrollTop!==void 0&&et.getView().requestMeasure({read(ue){ue.scrollDOM.scrollTo(h.scrollLeft,h.scrollTop)}}))}function fr(A){let ue=`Untitled${A}`,$e=2;for(;se.find(de=>de.name===ue);)ue=`Untitled-${$e++}${A}`;t(19,se=[...se,{name:ue,state:ut.create({extensions:If(A,ur,R)})}]),mt(se.length-1),t(27,ze=!1)}function gi(A){let ue=[];for(const $e of A){const de=$e.name.endsWith(".mzc.mzn")?$e.name.length-8:$e.name.lastIndexOf("."),me=$e.name.substring(0,de).replaceAll(/[\/\\\.]/g,""),Ie=$e.name.substring(de);let lt=`${me}${Ie}`,tn=2;for(;se.find(wu=>wu.name===lt);)lt=`${me}-${tn++}${Ie}`;const oi=If(Ie,ur,R,$e.readOnly);ue.push({...$e,hidden:$e.hidden||Ie===".mzc",name:lt,state:ut.create({doc:$e.contents,extensions:oi,selection:{anchor:$e.anchor||0}})})}t(19,se=[...se,...ue]),mt(se.length-1),t(27,ze=!1)}function vi(A){const{index:ue,name:$e,suffix:de}=A.detail;let me=$e,Ie=2;for(;se.some(lt=>lt===me+de);)me=`${$e}-${Ie++}`;h&&t(83,h.state=et.getState(),h),t(19,se=[...se.slice(0,ue),{...se[ue],name:$e+de},...se.slice(ue+1)])}function Hr(A){const ue=r===1&&!se[A].hidden;t(19,se=[...se.slice(0,A),...se.slice(A+1),...ue?[{name:"Untitled.mzn",state:ut.create({extensions:If(".mzn",ur,R)})}]:[]]),Xt>=se.length?mt(se.length-1):mt(Xt),t(28,bt=null)}function qi(A,ue){h&&t(83,h.state=et.getState(),h);const $e={...se[A],...ue};"readOnly"in ue&&Ab($e,ue.readOnly?Z9:R9),t(19,se=[...se.slice(0,A),$e,...se.slice(A+1)]),mt(Xt)}function Yt(A,ue){let $e;A0){await sr();const ue=et.getView();ue&&ue.state===A.state&&(ue.dispatch({effects:A.effects}),A.effects=[])}}let si=null;async function Kr(A){t(17,ge++,ge),t(83,h.state=et.getState(),h);let ue=O?h:null;if(!ue){if(b.length===0)return t(17,ge--,ge),!1;if(b.length===1)ue=se.find(me=>me.name===b[0]);else try{const me=await new Promise((Ie,lt)=>{t(35,si=Ie),t(30,He=!0)});if(!me)return t(17,ge--,ge),!1;ue=se.find(Ie=>Ie.name===me.modelFile)}finally{t(30,He=!1)}}const $e=new ne.Model,de=[ue.name];if(A){const me=ue.name.substring(0,ue.name.length-4),Ie=se.find(lt=>lt.name===`${me}.mzc`||lt.name===`${me}.mzc.mzn`);Ie&&de.push(Ie.name)}ue!==h&&de.push(h.name);for(const me of se)$e.addFile(me.name,me.state.doc.toString(),de.indexOf(me.name)!==-1);try{const{input:me}=await $e.interface({options:ht.getCompilationConfiguration(P.id)});if(Object.keys(me).length>0){const Ie={};for(const lt in me)Ie[lt]=hi[lt];t(33,hi=Ie),p&&_n.indexOf(h.name)===-1&&(_n=[..._n,h.name]);try{const lt=await new Promise((tn,oi)=>{t(35,si=tn),t(31,Ot=!0)});if(!lt)return t(17,ge--,ge),!1;if(lt.parameters){let tn="";for(const oi in lt.parameters)lt.parameters[oi].trim().length>0&&(tn+=`${oi} = ${lt.parameters[oi]}; +`);$e.addDznString(tn),t(33,hi=lt.parameters)}else{for(const tn of lt.dataFiles)de.indexOf(tn)===-1&&($e.addFile(tn),de.push(tn));_n=lt.dataFiles}}finally{t(31,Ot=!1)}}}catch(me){console.error(me)}return t(17,ge--,ge),{model:$e,fileList:de}}async function ji(){if(g){const me=new ne.Model;me.addFile(h.name,h.state.doc.toString());const Ie=[h.name],lt=ht.getSolvingConfiguration(P.id);await Vt(me,Ie,lt);return}const A=await Kr(!0);if(!A)return;const{model:ue,fileList:$e}=A,de=ht.getSolvingConfiguration(P.id);await Vt(ue,$e,de)}async function Vt(A,ue,$e){t(79,yt=!0);const de=Date.now();N&&t(32,ni=[]),t(32,ni=[...ni,{files:ue,output:[]}]),t(80,st=A.solve({options:$e,jsonOutput:!1})),Tt(),st.on("error",ft),st.on("warning",ft),st.on("solution",me=>ft(me,Date.now()-de)),st.on("status",me=>ft(me,Date.now()-de)),st.on("statistics",ft),st.on("trace",me=>ft(me,Date.now()-de)),st.on("statistics",ft),st.on("comment",ft),st.on("time",ft),st.on("checker",ft),st.on("stderr",ft);try{await st,ft({type:"exit",code:0,runTime:Date.now()-de})}catch(me){ft({type:"exit",code:me.code,runTime:Date.now()-de})}t(80,st=null)}async function qt(){t(79,yt=!0);const A=await Kr(!0);if(!A)return;Tt();const{model:ue,fileList:$e}=A,de=$e[0],me=Date.now();N&&t(32,ni=[]),t(32,ni=[...ni,{files:$e,isCompile:!0,output:[]}]),t(80,st=ue.compile({options:ht.getCompilationConfiguration(P.id)})),st.on("error",ft),st.on("warning",ft),st.on("statistics",ft),st.on("trace",ft),st.on("statistics",ft),st.on("stderr",ft);try{const Ie=await st;t(19,se=[...se,{name:`${de.substring(0,de.indexOf("."))}.fzn`,state:ut.create({extensions:If(".fzn",ur,R),doc:Ie})}]),mt(se.length-1),ft({type:"exit",code:0,runTime:Date.now()-me})}catch(Ie){ft({type:"exit",code:Ie.code,runTime:Date.now()-me})}t(80,st=null)}function Nt(){ft({type:"cancel"}),st.cancel()}let cr=null;function ft(A,ue){cr?cr.then(()=>{cr=Lt(A,ue)}):cr=Lt(A,ue),ni[ni.length-1].output.push(A),t(32,ni)}function Tt(){mi&&mi.reset(),t(41,Cn=!1),t(42,en=!1)}async function Lt(A,ue){if(A.type==="trace"&&A.section==="vis_json"){Cn||(t(41,Cn=!0),t(42,en=!0)),await sr();const $e=se.find(me=>me.name===A.message.url);let de=null;if($e)de=$e.state.doc.toString();else try{de=await ne.readStdlibFileContents(A.message.url)}catch(me){console.error(me);return}if(de===null){console.error(`Failed to get visualisation file ${A.message.url}`);return}mi.addVisualisation(de,A.message.userData);return}if(Cn){for(;!mi;)await sr();switch(A.type){case"solution":mi.addSolution(A.output.vis_json,"time"in A?A.time:ue);break;case"status":mi.status(A.status,"time"in A?A.time:ue);break;case"exit":mi.status("time"in A?A.time:ue);break}}}function Wt(){return h&&t(83,h.state=et.getState(),h),{files:se.map(A=>({name:A.name,contents:A.state.doc.toString(),...A.hidden?{hidden:!0}:{},...A.readOnly?{readOnly:!0}:{}})),tab:Xt,solverId:P.id,solverConfig:ht.save(),minizincVersion:q?"edge":"latest"}}let Et=!1;async function jt(){t(36,Et=!0);try{const A=(await pm(()=>import("./jszip.min-8a5f07ed.js").then(oi=>oi.j),[])).default,ue=(await pm(()=>import("./FileSaver.min-ddfe5bfc.js").then(oi=>oi.F),[])).default,$e=Wt(),de=se.map(oi=>oi.name),me=se.filter(oi=>!oi.hidden).map(oi=>oi.name);let Ie=P.id;Ie==="org.minizinc.gecode_presolver"?Ie="org.gecode.gecode":Ie==="org.minizinc.chuffed"&&(Ie="org.chuffed.chuffed");const lt=new A;for(const oi of $e.files)lt.file(oi.name,oi.contents);lt.file("Project.mzp",JSON.stringify({version:105,projectFiles:de,openFiles:me,openTab:$e.tab,selectedBuiltinConfigId:Ie,selectedBuiltinConfigVersion:"default"}));const tn=await lt.generateAsync({type:"blob"});ue.saveAs(tn,"Project.zip")}catch(A){console.error(A)}finally{t(36,Et=!1)}}let xn,li=null,Cs=!1;function Zr(A){const ue=Wt(),$e=new URL(A);return $e.hash=`#project=${encodeURIComponent(JSON.stringify(ue))}`,t(39,Cs=!1),$e.toString()}function Fl(){xn.select(),xn.setSelectionRange(0,li.length),navigator.clipboard.writeText(li),t(39,Cs=!0)}function j(){ce&&window.open(Zr(ce),"_blank").focus()}let Oe=null;async function ur(A){const ue=A.view;if(!(ge!==0||!P||!h||!h.name.endsWith(".mzn")))try{const $e=ue.state.doc.toString();if($e===Oe)return;Oe=$e;const de=new ne.Model;for(const lt of se)de.addFile(lt.name,lt.state.doc.toString(),!1);const me=de.addString($e),Ie=await de.check({options:ht.getCompilationConfiguration(P.id)});if(ue.state.doc.toString()!==$e)return;i7($e,Ie.filter(lt=>lt.location.filename===me),ue)}catch($e){console.error($e)}}function hr(A){const ue=se.findIndex($e=>$e.name===A.filename);if(ue!==-1){mt(ue);const $e=se[ue].state.doc.toString(),de=Od(A.firstLine,A.firstColumn,$e);et.focus(),et.setCursor(de)}}function Xs(){Xe==="horizontal"?t(2,Xe="vertical"):t(2,Xe="horizontal")}function Ts(A){t(0,q=A.detail.item===ae.edge)}let Jr=!1;function Zs(A){h&&t(83,h.state=et.getState(),h),se.forEach(ue=>Ab(ue,A?U9:A9)),Tr(h)}let mi,Cn=!1,en=!1;function da(A){st&&Nt();const ue=[A.modelFile],$e=A.modelFile.substring(0,A.modelFile.length-4),de=se.find(Ie=>Ie.name===`${$e}.mzc`||Ie.name===`${$e}.mzc.mzn`);if(de&&ue.push(de.name),A.dataFiles)for(const Ie of A.dataFiles)ue.push(Ie);const me=new ne.Model;for(const Ie of se)me.addFile(Ie.name,Ie.state.doc.toString(),ue.indexOf(Ie.name)!==-1);Vt(me,ue,A.options||ht.getSolvingConfiguration(P.id))}function nu(){pi=cO(this),t(21,pi)}function ru(){pi=cO(this),t(21,pi)}const pa=()=>{t(25,yi=!yi),t(34,Wn=!1)},ga=()=>t(38,li=Zr(window.location.href)),ma=()=>jt(),su=()=>{qt(),t(25,yi=!1)},lu=()=>{ri(),t(25,yi=!1)},ou=()=>{t(0,q=!q),t(25,yi=!1)},au=()=>{t(38,li=Zr(window.location.href)),t(25,yi=!1)},Sa=()=>{j(),t(25,yi=!1)},ba=()=>{t(42,en=!1)},$a=()=>{t(42,en=!0)};function Gl(A){Dt[A?"unshift":"push"](()=>{mi=A,t(40,mi)})}const fu=A=>da(A.detail);function Qa(A){N=A,t(1,N)}const tl=()=>t(32,ni=[]),wa=A=>hr(A.detail.location),cu=A=>mt(A.detail.index),ya=A=>Yt(A.detail.src,A.detail.dest),va=()=>t(27,ze=!0),Hl=A=>t(28,bt=A.detail.index),uu=()=>t(29,gt=!0);function Pa(A){Dt[A?"unshift":"push"](()=>{et=A,t(24,et)})}function Kl(A){ke=A,t(3,ke)}function Jl(A){Dt[A?"unshift":"push"](()=>{ht=A,t(26,ht)})}const es=()=>t(34,Wn=!1),ka=()=>t(29,gt=!1),_a=A=>t(28,bt=A.detail.index),hu=A=>qi(A.detail.index,A.detail.options),Wa=()=>t(27,ze=!0),xa=()=>t(27,ze=!1),Ca=A=>fr(A.detail.type),Xa=A=>gi(A.detail.files),Ou=()=>Hr(bt),du=()=>t(28,bt=null),pu=()=>t(28,bt=null),Ta=A=>si(A.detail),gu=()=>si(!1),mu=A=>si(A.detail),Su=()=>si(!1),bu=()=>t(38,li=null);function eo(A){Dt[A?"unshift":"push"](()=>{xn=A,t(37,xn)})}const $u=()=>xn.select(),Qu=()=>t(38,li=null);return n.$$set=A=>{"showVersionSwitcher"in A&&t(4,Z=A.showVersionSwitcher),"showSolverDropdown"in A&&t(5,I=A.showSolverDropdown),"edgeMiniZinc"in A&&t(0,q=A.edgeMiniZinc),"autoClearOutput"in A&&t(1,N=A.autoClearOutput),"canEditTabs"in A&&t(6,z=A.canEditTabs),"compilationEnabled"in A&&t(7,ie=A.compilationEnabled),"project"in A&&t(71,fe=A.project),"enabledSolvers"in A&&t(72,we=A.enabledSolvers),"canEditSolverSettings"in A&&t(8,ye=A.canEditSolverSettings),"showShareButton"in A&&t(9,qe=A.showShareButton),"showDownloadButton"in A&&t(10,he=A.showDownloadButton),"externalPlaygroundURL"in A&&t(11,ce=A.externalPlaygroundURL),"splitterDirection"in A&&t(2,Xe=A.splitterDirection),"splitterSize"in A&&t(3,ke=A.splitterSize),"canSwitchOrientation"in A&&t(12,Te=A.canSwitchOrientation),"showClearOutput"in A&&t(13,Le=A.showClearOutput),"showAutoClearOutput"in A&&t(14,Kt=A.showAutoClearOutput),"showOutputSectionToggles"in A&&t(15,ii=A.showOutputSectionToggles),"showOutputRightControls"in A&&t(16,Ct=A.showOutputRightControls),"theme"in A&&t(73,Ut=A.theme),"hideOutputOnStartup"in A&&t(74,It=A.hideOutputOnStartup),"$$scope"in A&&t(132,X=A.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&262144&&t(51,i=[ae.latest,ae.edge]),n.$$.dirty[0]&1&&rt(),n.$$.dirty[2]&512&&at(fe),n.$$.dirty[0]&524288&&(r=se.filter(A=>!A.hidden).length),n.$$.dirty[0]&1572864&&t(83,h=Xtwe.indexOf(A.id)!==-1):te),n.$$.dirty[0]&10485760&&t(82,P=pi>=0&&pi<$.length?$[pi]:null),n.$$.dirty[2]&2097152&&t(86,O=h&&h.name.endsWith(".mzn")&&!h.name.endsWith(".mzc.mzn")),n.$$.dirty[2]&2097152&&t(85,p=h&&(h.name.endsWith(".dzn")||h.name.endsWith(".json"))),n.$$.dirty[2]&2097152&&t(84,g=h&&h.name.endsWith(".fzn")),n.$$.dirty[0]&131072|n.$$.dirty[2]&30408704&&t(49,l=ge===0&&P&&(O||p||g)),n.$$.dirty[0]&131072|n.$$.dirty[2]&26214400&&t(48,o=ge===0&&P&&(O||p)),n.$$.dirty[2]&135168&&t(47,f=!It||yt?"all":"a"),n.$$.dirty[2]&262144&&t(46,u=st!==null),n.$$.dirty[0]&524288&&t(43,b=se.filter(A=>A.name.endsWith(".mzn")&&!A.name.endsWith(".mzc.mzn")).map(A=>A.name)),n.$$.dirty[0]&524288&&t(45,Q=se.filter(A=>A.name.endsWith(".dzn")||A.name.endsWith(".json")).map(A=>A.name)),n.$$.dirty[0]&10485760&&Ji(),n.$$.dirty[2]&1048576&&t(44,x=P?P.stdFlags:[]),n.$$.dirty[2]&2097152&&Tr(h),n.$$.dirty[2]&526336&&t(22,R={dark:!0,light:!1,auto:Jr}[Ut]),n.$$.dirty[0]&4194304&&Zs(R)},[q,N,Xe,ke,Z,I,z,ie,ye,qe,he,ce,Te,Le,Kt,ii,Ct,ge,ae,se,Xt,pi,R,$,et,yi,ht,ze,bt,gt,He,Ot,ni,hi,Wn,si,Et,xn,li,Cs,mi,Cn,en,b,x,Q,u,f,o,l,s,i,ri,mt,fr,gi,vi,Hr,qi,Yt,ji,qt,Nt,jt,Zr,Fl,j,hr,Xs,Ts,da,fe,we,Ut,It,at,pt,Wt,te,yt,st,Jr,P,h,g,p,O,C,nu,ru,pa,ga,ma,su,lu,ou,au,Sa,ba,$a,Gl,fu,Qa,tl,wa,cu,ya,va,Hl,uu,Pa,Kl,Jl,es,ka,_a,hu,Wa,xa,Ca,Xa,Ou,du,pu,Ta,gu,mu,Su,bu,eo,$u,Qu,X]}class w7 extends Vi{constructor(e){super(),Yi(this,e,Q7,$7,Ui,{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:Ub}=kx;function y7(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 w7({props:p}),n[5](t),Dt.push(()=>Ao(t,"autoClearOutput",u)),Dt.push(()=>Ao(t,"splitterDirection",h)),Dt.push(()=>Ao(t,"splitterSize",O)),{c(){e=_("div"),Ee(t.$$.fragment),y(e,"class","playground-app svelte-tuc1wl")},m(g,b){V(g,e,b),Ye(t,e,null),l=!0,o||(f=[le(Ub,"beforeunload",n[4]),le(Ub,"hashchange",n[3])],o=!0)},p(g,[b]){const Q={};b&2&&(Q.project=g[1]),!i&&b&4&&(i=!0,Q.autoClearOutput=g[2].autoClearOutput,Ro(()=>i=!1)),!r&&b&4&&(r=!0,Q.splitterDirection=g[2].splitterDirection,Ro(()=>r=!1)),!s&&b&4&&(s=!0,Q.splitterSize=g[2].splitterSize,Ro(()=>s=!1)),t.$set(Q)},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),Ve(t),o=!1,ti(f)}}}const Yb=`% Use this editor as a MiniZinc scratch book +`,Vb="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";function v7(n,e,t){let i,r={files:[]},s={autoClearOutput:!1,splitterDirection:"vertical",splitterSize:75,sessions:{}};try{const Q=localStorage.getItem("mznPlayground");Q&&Q.length>0&&(s={...s,...JSON.parse(Q)})}catch(Q){console.error(Q)}let l;function o(){if(Object.keys(s.sessions).length>=5){const x=Object.keys(s.sessions).map(R=>({key:R,value:s.sessions[R]}));x.sort((R,C)=>C.value.timestamp-R.value.timestamp),t(2,s.sessions=x.slice(0,5-1).reduce((R,C)=>({...R,[C.key]:C.value}),{}),s)}const $=()=>Array(6).fill(0).map(()=>Vb[Math.floor(Math.random()*Vb.length)]).join("");let P=$();for(;P in s.sessions;)P=$();return P}function f(Q){return Q.solverId||(Q.solver===0?Q.solverId="org.minizinc.gecode_presolver":r.solver===1&&(Q.solverId="org.minizinc.mip.coin-bc")),Q}function u(){if(l&&i.hasFiles()){const $=i.getProject();t(2,s.sessions[l]=$,s)}if(window.location.hash.startsWith("#project="))try{const $=decodeURIComponent(window.location.hash.substring(9));t(1,r=f(JSON.parse($))),l=o(),window.history.replaceState(void 0,void 0,`#session=${l}`);return}catch($){console.error($)}if(window.location.hash.startsWith("#code="))try{const $=decodeURIComponent(window.location.hash.substring(6));t(1,r={files:[{name:"Playground.mzn",contents:$,anchor:$.length}]}),l=o(),window.history.replaceState(void 0,void 0,`#session=${l}`)}catch($){console.error($)}window.location.hash.startsWith("#session=")||window.history.replaceState(void 0,void 0,`#session=${o()}`);const Q=window.location.hash.substring(9);if(Q!==l&&s.sessions&&s.sessions[Q])try{t(1,r=f(s.sessions[Q])),l=Q}catch($){console.error($)}r.files.length===0&&t(1,r={files:[{name:"Playground.mzn",contents:Yb,anchor:Yb.length}]}),l=Q}Ic(()=>u());function h(){const Q=i.getProject();t(2,s.sessions[l]={...Q,timestamp:Date.now()},s),localStorage.setItem("mznPlayground",JSON.stringify(s))}function O(Q){Dt[Q?"unshift":"push"](()=>{i=Q,t(0,i)})}function p(Q){n.$$.not_equal(s.autoClearOutput,Q)&&(s.autoClearOutput=Q,t(2,s))}function g(Q){n.$$.not_equal(s.splitterDirection,Q)&&(s.splitterDirection=Q,t(2,s))}function b(Q){n.$$.not_equal(s.splitterSize,Q)&&(s.splitterSize=Q,t(2,s))}return[i,r,s,u,h,O,p,g,b]}class P7 extends Vi{constructor(e){super(),Yi(this,e,v7,y7,Ui,{})}}new P7({target:document.getElementById("app")});export{ko as c,C7 as g}; diff --git a/develop/assets/index-6b340418.css b/develop/assets/index-ddcaacd4.css similarity index 99% rename from develop/assets/index-6b340418.css rename to develop/assets/index-ddcaacd4.css index aa3318d..07855b3 100644 --- a/develop/assets/index-6b340418.css +++ b/develop/assets/index-ddcaacd4.css @@ -1 +1 @@ -.mzn-playground{--mzn-playground-border: hsl(0, 0%, 86%);--mzn-playground-input-background-color: hsl(0, 0%, 100%);--mzn-playground-splitter: #EEE;--mzn-playground-gray: gray;--mzn-playground-blue: blue;--mzn-playground-red: red;--mzn-playground-yellow: #d1d100}.mzn-playground.is-dark .file-cta,.mzn-playground.is-dark .file-name,.mzn-playground.is-dark .select select,.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input,.mzn-playground.is-dark .button,.mzn-playground .file-cta,.mzn-playground .file-name,.mzn-playground .select select,.mzn-playground .textarea,.mzn-playground .input,.mzn-playground .button{-moz-appearance:none;-webkit-appearance:none;align-items:center;border:1px solid transparent;border-radius:4px;box-shadow:none;display:inline-flex;font-size:1rem;height:2.5em;justify-content:flex-start;line-height:1.5;padding-bottom:calc(.5em - 1px);padding-left:calc(.75em - 1px);padding-right:calc(.75em - 1px);padding-top:calc(.5em - 1px);position:relative;vertical-align:top}.mzn-playground .file-cta:focus,.mzn-playground .file-name:focus,.mzn-playground.is-dark .select select:focus,.mzn-playground .select select:focus,.mzn-playground .textarea:focus,.mzn-playground .input:focus,.mzn-playground .button:focus,.mzn-playground .is-focused.file-cta,.mzn-playground .is-focused.file-name,.mzn-playground.is-dark .select select.is-focused,.mzn-playground .select select.is-focused,.mzn-playground .is-focused.textarea,.mzn-playground .is-focused.input,.mzn-playground .is-focused.button,.mzn-playground .file-cta:active,.mzn-playground .file-name:active,.mzn-playground.is-dark .select select:active,.mzn-playground .select select:active,.mzn-playground .textarea:active,.mzn-playground .input:active,.mzn-playground .button:active,.mzn-playground .is-active.file-cta,.mzn-playground .is-active.file-name,.mzn-playground.is-dark .select select.is-active,.mzn-playground .select select.is-active,.mzn-playground .is-active.textarea,.mzn-playground .is-active.input,.mzn-playground .is-active.button{outline:none}.mzn-playground [disabled].file-cta,.mzn-playground [disabled].file-name,.mzn-playground.is-dark .select select[disabled],.mzn-playground .select select[disabled],.mzn-playground [disabled].textarea,.mzn-playground [disabled].input,.mzn-playground [disabled].button,fieldset[disabled] .mzn-playground .file-cta,fieldset[disabled] .mzn-playground .file-name,fieldset[disabled] .mzn-playground.is-dark .select select,fieldset[disabled] .mzn-playground .select select,fieldset[disabled] .mzn-playground .textarea,fieldset[disabled] .mzn-playground .input,fieldset[disabled] .mzn-playground .button{cursor:not-allowed}.mzn-playground.is-dark .tabs,.mzn-playground.is-dark .file,.mzn-playground.is-dark .button,.mzn-playground .tabs,.mzn-playground .file,.mzn-playground .button{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mzn-playground.is-dark .navbar-link:not(.is-arrowless):after,.mzn-playground.is-dark .select:not(.is-multiple):not(.is-loading):after,.mzn-playground .navbar-link:not(.is-arrowless):after,.mzn-playground .select:not(.is-multiple):not(.is-loading):after{border:3px solid transparent;border-radius:2px;border-right:0;border-top:0;content:" ";display:block;height:.625em;margin-top:-.4375em;pointer-events:none;position:absolute;top:50%;transform:rotate(-45deg);transform-origin:center;width:.625em}.mzn-playground .tabs:not(:last-child),.mzn-playground .block:not(:last-child),.mzn-playground .table-container:not(:last-child),.mzn-playground .table:not(:last-child){margin-bottom:1.5rem}.mzn-playground.is-dark .modal-close,.mzn-playground.is-dark .delete,.mzn-playground .modal-close,.mzn-playground .delete{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-moz-appearance:none;-webkit-appearance:none;background-color:#0a0a0a33;border:none;border-radius:9999px;cursor:pointer;pointer-events:auto;display:inline-block;flex-grow:0;flex-shrink:0;font-size:0;height:20px;max-height:20px;max-width:20px;min-height:20px;min-width:20px;outline:none;position:relative;vertical-align:top;width:20px}.mzn-playground.is-dark .modal-close:before,.mzn-playground.is-dark .delete:before,.mzn-playground .modal-close:before,.mzn-playground .delete:before,.mzn-playground.is-dark .modal-close:after,.mzn-playground.is-dark .delete:after,.mzn-playground .modal-close:after,.mzn-playground .delete:after{background-color:#fff;content:"";display:block;left:50%;position:absolute;top:50%;transform:translate(-50%) translateY(-50%) rotate(45deg);transform-origin:center center}.mzn-playground.is-dark .modal-close:before,.mzn-playground.is-dark .delete:before,.mzn-playground .modal-close:before,.mzn-playground .delete:before{height:2px;width:50%}.mzn-playground.is-dark .modal-close:after,.mzn-playground.is-dark .delete:after,.mzn-playground .modal-close:after,.mzn-playground .delete:after{height:50%;width:2px}.mzn-playground .modal-close:hover,.mzn-playground .delete:hover,.mzn-playground .modal-close:focus,.mzn-playground .delete:focus{background-color:#0a0a0a4d}.mzn-playground .modal-close:active,.mzn-playground .delete:active{background-color:#0a0a0a66}.mzn-playground .is-small.modal-close,.mzn-playground .is-small.delete{height:16px;max-height:16px;max-width:16px;min-height:16px;min-width:16px;width:16px}.mzn-playground .is-medium.modal-close,.mzn-playground .is-medium.delete{height:24px;max-height:24px;max-width:24px;min-height:24px;min-width:24px;width:24px}.mzn-playground .is-large.modal-close,.mzn-playground .is-large.delete{height:32px;max-height:32px;max-width:32px;min-height:32px;min-width:32px;width:32px}.mzn-playground.is-dark .control.is-loading:after,.mzn-playground.is-dark .select.is-loading:after,.mzn-playground.is-dark .loader,.mzn-playground.is-dark .button.is-loading:after,.mzn-playground .control.is-loading:after,.mzn-playground .select.is-loading:after,.mzn-playground .loader,.mzn-playground .button.is-loading:after{animation:spinAround .5s infinite linear;border:2px solid hsl(0,0%,86%);border-radius:9999px;border-right-color:transparent;border-top-color:transparent;content:"";display:block;height:1em;position:relative;width:1em}.mzn-playground.is-dark .modal-background,.mzn-playground.is-dark .modal,.mzn-playground .modal-background,.mzn-playground .modal{bottom:0;left:0;position:absolute;right:0;top:0}.mzn-playground.is-dark .navbar-burger,.mzn-playground .navbar-burger{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;color:currentColor;font-family:inherit;font-size:1em;margin:0;padding:0}.mzn-playground html,.mzn-playground body,.mzn-playground p,.mzn-playground ol,.mzn-playground ul,.mzn-playground li,.mzn-playground dl,.mzn-playground dt,.mzn-playground dd,.mzn-playground blockquote,.mzn-playground figure,.mzn-playground fieldset,.mzn-playground legend,.mzn-playground textarea,.mzn-playground pre,.mzn-playground iframe,.mzn-playground hr,.mzn-playground h1,.mzn-playground h2,.mzn-playground h3,.mzn-playground h4,.mzn-playground h5,.mzn-playground h6{margin:0;padding:0}.mzn-playground h1,.mzn-playground h2,.mzn-playground h3,.mzn-playground h4,.mzn-playground h5,.mzn-playground h6{font-size:100%;font-weight:400}.mzn-playground ul{list-style:none}.mzn-playground button,.mzn-playground input,.mzn-playground select,.mzn-playground textarea{margin:0}.mzn-playground html{box-sizing:border-box}.mzn-playground *,.mzn-playground *:before,.mzn-playground *:after{box-sizing:inherit}.mzn-playground img,.mzn-playground video{height:auto;max-width:100%}.mzn-playground iframe{border:0}.mzn-playground table{border-collapse:collapse;border-spacing:0}.mzn-playground td,.mzn-playground th{padding:0}.mzn-playground td:not([align]),.mzn-playground th:not([align]){text-align:inherit}.mzn-playground html{background-color:#fff;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;min-width:300px;overflow-x:hidden;overflow-y:scroll;text-rendering:optimizeLegibility;text-size-adjust:100%}.mzn-playground article,.mzn-playground aside,.mzn-playground figure,.mzn-playground footer,.mzn-playground header,.mzn-playground hgroup,.mzn-playground section{display:block}.mzn-playground body,.mzn-playground button,.mzn-playground input,.mzn-playground optgroup,.mzn-playground select,.mzn-playground textarea{font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif}.mzn-playground code,.mzn-playground pre{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:auto;font-family:monospace}.mzn-playground body{color:#4a4a4a;font-size:1em;font-weight:400;line-height:1.5}.mzn-playground a{color:#485fc7;cursor:pointer;text-decoration:none}.mzn-playground a strong{color:currentColor}.mzn-playground a:hover{color:#363636}.mzn-playground code{background-color:#f5f5f5;color:#da1039;font-size:.875em;font-weight:400;padding:.25em .5em}.mzn-playground hr{background-color:#f5f5f5;border:none;display:block;height:2px;margin:1.5rem 0}.mzn-playground img{height:auto;max-width:100%}.mzn-playground input[type=checkbox],.mzn-playground input[type=radio]{vertical-align:baseline}.mzn-playground small{font-size:.875em}.mzn-playground span{font-style:inherit;font-weight:inherit}.mzn-playground strong{color:#363636;font-weight:700}.mzn-playground fieldset{border:none}.mzn-playground pre{-webkit-overflow-scrolling:touch;background-color:#f5f5f5;color:#4a4a4a;font-size:1em;overflow-x:auto;padding:1.25rem 1.5rem;white-space:pre;word-wrap:normal}.mzn-playground pre code{background-color:transparent;color:currentColor;font-size:1em;padding:0}.mzn-playground table td,.mzn-playground table th{vertical-align:top}.mzn-playground table td:not([align]),.mzn-playground table th:not([align]){text-align:inherit}.mzn-playground table th{color:#363636}.mzn-playground .button{background-color:#fff;border-color:#dbdbdb;border-width:1px;color:#363636;cursor:pointer;justify-content:center;padding-bottom:calc(.5em - 1px);padding-left:1em;padding-right:1em;padding-top:calc(.5em - 1px);text-align:center;white-space:nowrap}.mzn-playground .button strong{color:inherit}.mzn-playground .button .icon,.mzn-playground .button .icon.is-small,.mzn-playground .button .icon.is-medium,.mzn-playground .button .icon.is-large{height:1.5em;width:1.5em}.mzn-playground .button .icon:first-child:not(:last-child){margin-left:calc(-.5em - 1px);margin-right:.25em}.mzn-playground .button .icon:last-child:not(:first-child){margin-left:.25em;margin-right:calc(-.5em - 1px)}.mzn-playground .button .icon:first-child:last-child{margin-left:calc(-.5em - 1px);margin-right:calc(-.5em - 1px)}.mzn-playground .button:hover,.mzn-playground .button.is-hovered{border-color:#b5b5b5;color:#363636}.mzn-playground .button:focus,.mzn-playground .button.is-focused{border-color:#485fc7;color:#363636}.mzn-playground .button:focus:not(:active),.mzn-playground .button.is-focused:not(:active){box-shadow:0 0 0 .125em #485fc740}.mzn-playground .button:active,.mzn-playground .button.is-active{border-color:#4a4a4a;color:#363636}.mzn-playground .button.is-text{background-color:transparent;border-color:transparent;color:#4a4a4a;text-decoration:underline}.mzn-playground .button.is-text:hover,.mzn-playground .button.is-text.is-hovered,.mzn-playground .button.is-text:focus,.mzn-playground .button.is-text.is-focused{background-color:#f5f5f5;color:#363636}.mzn-playground .button.is-text:active,.mzn-playground .button.is-text.is-active{background-color:#e8e8e8;color:#363636}.mzn-playground .button.is-text[disabled],fieldset[disabled] .mzn-playground .button.is-text{background-color:transparent;border-color:transparent;box-shadow:none}.mzn-playground .button.is-ghost{background:none;border-color:transparent;color:#485fc7;text-decoration:none}.mzn-playground .button.is-ghost:hover,.mzn-playground .button.is-ghost.is-hovered{color:#485fc7;text-decoration:underline}.mzn-playground .button.is-white{background-color:#fff;border-color:transparent;color:#0a0a0a}.mzn-playground .button.is-white:hover,.mzn-playground .button.is-white.is-hovered{background-color:#f9f9f9;border-color:transparent;color:#0a0a0a}.mzn-playground .button.is-white:focus,.mzn-playground .button.is-white.is-focused{border-color:transparent;color:#0a0a0a}.mzn-playground .button.is-white:focus:not(:active),.mzn-playground .button.is-white.is-focused:not(:active){box-shadow:0 0 0 .125em #ffffff40}.mzn-playground .button.is-white:active,.mzn-playground .button.is-white.is-active{background-color:#f2f2f2;border-color:transparent;color:#0a0a0a}.mzn-playground .button.is-white[disabled],fieldset[disabled] .mzn-playground .button.is-white{background-color:#fff;border-color:#fff;box-shadow:none}.mzn-playground .button.is-white.is-inverted{background-color:#0a0a0a;color:#fff}.mzn-playground .button.is-white.is-inverted:hover,.mzn-playground .button.is-white.is-inverted.is-hovered{background-color:#000}.mzn-playground .button.is-white.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-white.is-inverted{background-color:#0a0a0a;border-color:transparent;box-shadow:none;color:#fff}.mzn-playground .button.is-white.is-loading:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground .button.is-white.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-white.is-outlined:hover,.mzn-playground .button.is-white.is-outlined.is-hovered,.mzn-playground .button.is-white.is-outlined:focus,.mzn-playground .button.is-white.is-outlined.is-focused{background-color:#fff;border-color:#fff;color:#0a0a0a}.mzn-playground .button.is-white.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground .button.is-white.is-outlined.is-loading:hover:after,.mzn-playground .button.is-white.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-white.is-outlined.is-loading:focus:after,.mzn-playground .button.is-white.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground .button.is-white.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-white.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-white.is-inverted.is-outlined{background-color:transparent;border-color:#0a0a0a;color:#0a0a0a}.mzn-playground .button.is-white.is-inverted.is-outlined:hover,.mzn-playground .button.is-white.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-white.is-inverted.is-outlined:focus,.mzn-playground .button.is-white.is-inverted.is-outlined.is-focused{background-color:#0a0a0a;color:#fff}.mzn-playground .button.is-white.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-white.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-white.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-white.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground .button.is-white.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-white.is-inverted.is-outlined{background-color:transparent;border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.mzn-playground .button.is-black{background-color:#0a0a0a;border-color:transparent;color:#fff}.mzn-playground .button.is-black:hover,.mzn-playground .button.is-black.is-hovered{background-color:#040404;border-color:transparent;color:#fff}.mzn-playground .button.is-black:focus,.mzn-playground .button.is-black.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-black:focus:not(:active),.mzn-playground .button.is-black.is-focused:not(:active){box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground .button.is-black:active,.mzn-playground .button.is-black.is-active{background-color:#000;border-color:transparent;color:#fff}.mzn-playground .button.is-black[disabled],fieldset[disabled] .mzn-playground .button.is-black{background-color:#0a0a0a;border-color:#0a0a0a;box-shadow:none}.mzn-playground .button.is-black.is-inverted{background-color:#fff;color:#0a0a0a}.mzn-playground .button.is-black.is-inverted:hover,.mzn-playground .button.is-black.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-black.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-black.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#0a0a0a}.mzn-playground .button.is-black.is-loading:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground .button.is-black.is-outlined{background-color:transparent;border-color:#0a0a0a;color:#0a0a0a}.mzn-playground .button.is-black.is-outlined:hover,.mzn-playground .button.is-black.is-outlined.is-hovered,.mzn-playground .button.is-black.is-outlined:focus,.mzn-playground .button.is-black.is-outlined.is-focused{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.mzn-playground .button.is-black.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground .button.is-black.is-outlined.is-loading:hover:after,.mzn-playground .button.is-black.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-black.is-outlined.is-loading:focus:after,.mzn-playground .button.is-black.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground .button.is-black.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-black.is-outlined{background-color:transparent;border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.mzn-playground .button.is-black.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-black.is-inverted.is-outlined:hover,.mzn-playground .button.is-black.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-black.is-inverted.is-outlined:focus,.mzn-playground .button.is-black.is-inverted.is-outlined.is-focused{background-color:#fff;color:#0a0a0a}.mzn-playground .button.is-black.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-black.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-black.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-black.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground .button.is-black.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-black.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-light{background-color:#f5f5f5;border-color:transparent;color:#000000b3}.mzn-playground .button.is-light:hover,.mzn-playground .button.is-light.is-hovered{background-color:#eee;border-color:transparent;color:#000000b3}.mzn-playground .button.is-light:focus,.mzn-playground .button.is-light.is-focused{border-color:transparent;color:#000000b3}.mzn-playground .button.is-light:focus:not(:active),.mzn-playground .button.is-light.is-focused:not(:active){box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground .button.is-light:active,.mzn-playground .button.is-light.is-active{background-color:#e8e8e8;border-color:transparent;color:#000000b3}.mzn-playground .button.is-light[disabled],fieldset[disabled] .mzn-playground .button.is-light{background-color:#f5f5f5;border-color:#f5f5f5;box-shadow:none}.mzn-playground .button.is-light.is-inverted{background-color:#000000b3;color:#f5f5f5}.mzn-playground .button.is-light.is-inverted:hover,.mzn-playground .button.is-light.is-inverted.is-hovered{background-color:#000000b3}.mzn-playground .button.is-light.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-light.is-inverted{background-color:#000000b3;border-color:transparent;box-shadow:none;color:#f5f5f5}.mzn-playground .button.is-light.is-loading:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground .button.is-light.is-outlined{background-color:transparent;border-color:#f5f5f5;color:#f5f5f5}.mzn-playground .button.is-light.is-outlined:hover,.mzn-playground .button.is-light.is-outlined.is-hovered,.mzn-playground .button.is-light.is-outlined:focus,.mzn-playground .button.is-light.is-outlined.is-focused{background-color:#f5f5f5;border-color:#f5f5f5;color:#000000b3}.mzn-playground .button.is-light.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,96%) hsl(0,0%,96%)!important}.mzn-playground .button.is-light.is-outlined.is-loading:hover:after,.mzn-playground .button.is-light.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-light.is-outlined.is-loading:focus:after,.mzn-playground .button.is-light.is-outlined.is-loading.is-focused:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground .button.is-light.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-light.is-outlined{background-color:transparent;border-color:#f5f5f5;box-shadow:none;color:#f5f5f5}.mzn-playground .button.is-light.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;color:#000000b3}.mzn-playground .button.is-light.is-inverted.is-outlined:hover,.mzn-playground .button.is-light.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-light.is-inverted.is-outlined:focus,.mzn-playground .button.is-light.is-inverted.is-outlined.is-focused{background-color:#000000b3;color:#f5f5f5}.mzn-playground .button.is-light.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-light.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-light.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-light.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,96%) hsl(0,0%,96%)!important}.mzn-playground .button.is-light.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-light.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;box-shadow:none;color:#000000b3}.mzn-playground .button.is-dark{background-color:#363636;border-color:transparent;color:#fff}.mzn-playground .button.is-dark:hover,.mzn-playground .button.is-dark.is-hovered{background-color:#2f2f2f;border-color:transparent;color:#fff}.mzn-playground .button.is-dark:focus,.mzn-playground .button.is-dark.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-dark:focus:not(:active),.mzn-playground .button.is-dark.is-focused:not(:active){box-shadow:0 0 0 .125em #36363640}.mzn-playground .button.is-dark:active,.mzn-playground .button.is-dark.is-active{background-color:#292929;border-color:transparent;color:#fff}.mzn-playground .button.is-dark[disabled],fieldset[disabled] .mzn-playground .button.is-dark{background-color:#363636;border-color:#363636;box-shadow:none}.mzn-playground .button.is-dark.is-inverted{background-color:#fff;color:#363636}.mzn-playground .button.is-dark.is-inverted:hover,.mzn-playground .button.is-dark.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-dark.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-dark.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#363636}.mzn-playground .button.is-dark.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-dark.is-outlined{background-color:transparent;border-color:#363636;color:#363636}.mzn-playground .button.is-dark.is-outlined:hover,.mzn-playground .button.is-dark.is-outlined.is-hovered,.mzn-playground .button.is-dark.is-outlined:focus,.mzn-playground .button.is-dark.is-outlined.is-focused{background-color:#363636;border-color:#363636;color:#fff}.mzn-playground .button.is-dark.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,21%) hsl(0,0%,21%)!important}.mzn-playground .button.is-dark.is-outlined.is-loading:hover:after,.mzn-playground .button.is-dark.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-dark.is-outlined.is-loading:focus:after,.mzn-playground .button.is-dark.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-dark.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-dark.is-outlined{background-color:transparent;border-color:#363636;box-shadow:none;color:#363636}.mzn-playground .button.is-dark.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-dark.is-inverted.is-outlined:hover,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-dark.is-inverted.is-outlined:focus,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-focused{background-color:#fff;color:#363636}.mzn-playground .button.is-dark.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,21%) hsl(0,0%,21%)!important}.mzn-playground .button.is-dark.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-dark.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-primary{background-color:#1491eb;border-color:transparent;color:#fff}.mzn-playground .button.is-primary:hover,.mzn-playground .button.is-primary.is-hovered{background-color:#138adf;border-color:transparent;color:#fff}.mzn-playground .button.is-primary:focus,.mzn-playground .button.is-primary.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-primary:focus:not(:active),.mzn-playground .button.is-primary.is-focused:not(:active){box-shadow:0 0 0 .125em #1491eb40}.mzn-playground .button.is-primary:active,.mzn-playground .button.is-primary.is-active{background-color:#1283d4;border-color:transparent;color:#fff}.mzn-playground .button.is-primary[disabled],fieldset[disabled] .mzn-playground .button.is-primary{background-color:#1491eb;border-color:#1491eb;box-shadow:none}.mzn-playground .button.is-primary.is-inverted{background-color:#fff;color:#1491eb}.mzn-playground .button.is-primary.is-inverted:hover,.mzn-playground .button.is-primary.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-primary.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-primary.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#1491eb}.mzn-playground .button.is-primary.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-primary.is-outlined{background-color:transparent;border-color:#1491eb;color:#1491eb}.mzn-playground .button.is-primary.is-outlined:hover,.mzn-playground .button.is-primary.is-outlined.is-hovered,.mzn-playground .button.is-primary.is-outlined:focus,.mzn-playground .button.is-primary.is-outlined.is-focused{background-color:#1491eb;border-color:#1491eb;color:#fff}.mzn-playground .button.is-primary.is-outlined.is-loading:after{border-color:transparent transparent #1491eb #1491eb!important}.mzn-playground .button.is-primary.is-outlined.is-loading:hover:after,.mzn-playground .button.is-primary.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-primary.is-outlined.is-loading:focus:after,.mzn-playground .button.is-primary.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-primary.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-primary.is-outlined{background-color:transparent;border-color:#1491eb;box-shadow:none;color:#1491eb}.mzn-playground .button.is-primary.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-primary.is-inverted.is-outlined:hover,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-primary.is-inverted.is-outlined:focus,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-focused{background-color:#fff;color:#1491eb}.mzn-playground .button.is-primary.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #1491eb #1491eb!important}.mzn-playground .button.is-primary.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-primary.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-primary.is-light{background-color:#ecf6fd;color:#1074bc}.mzn-playground .button.is-primary.is-light:hover,.mzn-playground .button.is-primary.is-light.is-hovered{background-color:#e0f1fc;border-color:transparent;color:#1074bc}.mzn-playground .button.is-primary.is-light:active,.mzn-playground .button.is-primary.is-light.is-active{background-color:#d5ebfb;border-color:transparent;color:#1074bc}.mzn-playground .button.is-link{background-color:#485fc7;border-color:transparent;color:#fff}.mzn-playground .button.is-link:hover,.mzn-playground .button.is-link.is-hovered{background-color:#3e56c4;border-color:transparent;color:#fff}.mzn-playground .button.is-link:focus,.mzn-playground .button.is-link.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-link:focus:not(:active),.mzn-playground .button.is-link.is-focused:not(:active){box-shadow:0 0 0 .125em #485fc740}.mzn-playground .button.is-link:active,.mzn-playground .button.is-link.is-active{background-color:#3a51bb;border-color:transparent;color:#fff}.mzn-playground .button.is-link[disabled],fieldset[disabled] .mzn-playground .button.is-link{background-color:#485fc7;border-color:#485fc7;box-shadow:none}.mzn-playground .button.is-link.is-inverted{background-color:#fff;color:#485fc7}.mzn-playground .button.is-link.is-inverted:hover,.mzn-playground .button.is-link.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-link.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-link.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#485fc7}.mzn-playground .button.is-link.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-link.is-outlined{background-color:transparent;border-color:#485fc7;color:#485fc7}.mzn-playground .button.is-link.is-outlined:hover,.mzn-playground .button.is-link.is-outlined.is-hovered,.mzn-playground .button.is-link.is-outlined:focus,.mzn-playground .button.is-link.is-outlined.is-focused{background-color:#485fc7;border-color:#485fc7;color:#fff}.mzn-playground .button.is-link.is-outlined.is-loading:after{border-color:transparent transparent hsl(229,53%,53%) hsl(229,53%,53%)!important}.mzn-playground .button.is-link.is-outlined.is-loading:hover:after,.mzn-playground .button.is-link.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-link.is-outlined.is-loading:focus:after,.mzn-playground .button.is-link.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-link.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-link.is-outlined{background-color:transparent;border-color:#485fc7;box-shadow:none;color:#485fc7}.mzn-playground .button.is-link.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-link.is-inverted.is-outlined:hover,.mzn-playground .button.is-link.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-link.is-inverted.is-outlined:focus,.mzn-playground .button.is-link.is-inverted.is-outlined.is-focused{background-color:#fff;color:#485fc7}.mzn-playground .button.is-link.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-link.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-link.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-link.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(229,53%,53%) hsl(229,53%,53%)!important}.mzn-playground .button.is-link.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-link.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-link.is-light{background-color:#eff1fa;color:#3850b7}.mzn-playground .button.is-link.is-light:hover,.mzn-playground .button.is-link.is-light.is-hovered{background-color:#e6e9f7;border-color:transparent;color:#3850b7}.mzn-playground .button.is-link.is-light:active,.mzn-playground .button.is-link.is-light.is-active{background-color:#dce0f4;border-color:transparent;color:#3850b7}.mzn-playground .button.is-info{background-color:#3e8ed0;border-color:transparent;color:#fff}.mzn-playground .button.is-info:hover,.mzn-playground .button.is-info.is-hovered{background-color:#3488ce;border-color:transparent;color:#fff}.mzn-playground .button.is-info:focus,.mzn-playground .button.is-info.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-info:focus:not(:active),.mzn-playground .button.is-info.is-focused:not(:active){box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground .button.is-info:active,.mzn-playground .button.is-info.is-active{background-color:#3082c5;border-color:transparent;color:#fff}.mzn-playground .button.is-info[disabled],fieldset[disabled] .mzn-playground .button.is-info{background-color:#3e8ed0;border-color:#3e8ed0;box-shadow:none}.mzn-playground .button.is-info.is-inverted{background-color:#fff;color:#3e8ed0}.mzn-playground .button.is-info.is-inverted:hover,.mzn-playground .button.is-info.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-info.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-info.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#3e8ed0}.mzn-playground .button.is-info.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-info.is-outlined{background-color:transparent;border-color:#3e8ed0;color:#3e8ed0}.mzn-playground .button.is-info.is-outlined:hover,.mzn-playground .button.is-info.is-outlined.is-hovered,.mzn-playground .button.is-info.is-outlined:focus,.mzn-playground .button.is-info.is-outlined.is-focused{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.mzn-playground .button.is-info.is-outlined.is-loading:after{border-color:transparent transparent hsl(207,61%,53%) hsl(207,61%,53%)!important}.mzn-playground .button.is-info.is-outlined.is-loading:hover:after,.mzn-playground .button.is-info.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-info.is-outlined.is-loading:focus:after,.mzn-playground .button.is-info.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-info.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-info.is-outlined{background-color:transparent;border-color:#3e8ed0;box-shadow:none;color:#3e8ed0}.mzn-playground .button.is-info.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-info.is-inverted.is-outlined:hover,.mzn-playground .button.is-info.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-info.is-inverted.is-outlined:focus,.mzn-playground .button.is-info.is-inverted.is-outlined.is-focused{background-color:#fff;color:#3e8ed0}.mzn-playground .button.is-info.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-info.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-info.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-info.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(207,61%,53%) hsl(207,61%,53%)!important}.mzn-playground .button.is-info.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-info.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-info.is-light{background-color:#eff5fb;color:#296fa8}.mzn-playground .button.is-info.is-light:hover,.mzn-playground .button.is-info.is-light.is-hovered{background-color:#e4eff9;border-color:transparent;color:#296fa8}.mzn-playground .button.is-info.is-light:active,.mzn-playground .button.is-info.is-light.is-active{background-color:#dae9f6;border-color:transparent;color:#296fa8}.mzn-playground .button.is-success{background-color:#48c78e;border-color:transparent;color:#fff}.mzn-playground .button.is-success:hover,.mzn-playground .button.is-success.is-hovered{background-color:#3ec487;border-color:transparent;color:#fff}.mzn-playground .button.is-success:focus,.mzn-playground .button.is-success.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-success:focus:not(:active),.mzn-playground .button.is-success.is-focused:not(:active){box-shadow:0 0 0 .125em #48c78e40}.mzn-playground .button.is-success:active,.mzn-playground .button.is-success.is-active{background-color:#3abb81;border-color:transparent;color:#fff}.mzn-playground .button.is-success[disabled],fieldset[disabled] .mzn-playground .button.is-success{background-color:#48c78e;border-color:#48c78e;box-shadow:none}.mzn-playground .button.is-success.is-inverted{background-color:#fff;color:#48c78e}.mzn-playground .button.is-success.is-inverted:hover,.mzn-playground .button.is-success.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-success.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-success.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#48c78e}.mzn-playground .button.is-success.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-success.is-outlined{background-color:transparent;border-color:#48c78e;color:#48c78e}.mzn-playground .button.is-success.is-outlined:hover,.mzn-playground .button.is-success.is-outlined.is-hovered,.mzn-playground .button.is-success.is-outlined:focus,.mzn-playground .button.is-success.is-outlined.is-focused{background-color:#48c78e;border-color:#48c78e;color:#fff}.mzn-playground .button.is-success.is-outlined.is-loading:after{border-color:transparent transparent hsl(153,53%,53%) hsl(153,53%,53%)!important}.mzn-playground .button.is-success.is-outlined.is-loading:hover:after,.mzn-playground .button.is-success.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-success.is-outlined.is-loading:focus:after,.mzn-playground .button.is-success.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-success.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-success.is-outlined{background-color:transparent;border-color:#48c78e;box-shadow:none;color:#48c78e}.mzn-playground .button.is-success.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-success.is-inverted.is-outlined:hover,.mzn-playground .button.is-success.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-success.is-inverted.is-outlined:focus,.mzn-playground .button.is-success.is-inverted.is-outlined.is-focused{background-color:#fff;color:#48c78e}.mzn-playground .button.is-success.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-success.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-success.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-success.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(153,53%,53%) hsl(153,53%,53%)!important}.mzn-playground .button.is-success.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-success.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-success.is-light{background-color:#effaf5;color:#257953}.mzn-playground .button.is-success.is-light:hover,.mzn-playground .button.is-success.is-light.is-hovered{background-color:#e6f7ef;border-color:transparent;color:#257953}.mzn-playground .button.is-success.is-light:active,.mzn-playground .button.is-success.is-light.is-active{background-color:#dcf4e9;border-color:transparent;color:#257953}.mzn-playground .button.is-warning{background-color:#ffe08a;border-color:transparent;color:#000000b3}.mzn-playground .button.is-warning:hover,.mzn-playground .button.is-warning.is-hovered{background-color:#ffdc7d;border-color:transparent;color:#000000b3}.mzn-playground .button.is-warning:focus,.mzn-playground .button.is-warning.is-focused{border-color:transparent;color:#000000b3}.mzn-playground .button.is-warning:focus:not(:active),.mzn-playground .button.is-warning.is-focused:not(:active){box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground .button.is-warning:active,.mzn-playground .button.is-warning.is-active{background-color:#ffd970;border-color:transparent;color:#000000b3}.mzn-playground .button.is-warning[disabled],fieldset[disabled] .mzn-playground .button.is-warning{background-color:#ffe08a;border-color:#ffe08a;box-shadow:none}.mzn-playground .button.is-warning.is-inverted{background-color:#000000b3;color:#ffe08a}.mzn-playground .button.is-warning.is-inverted:hover,.mzn-playground .button.is-warning.is-inverted.is-hovered{background-color:#000000b3}.mzn-playground .button.is-warning.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-warning.is-inverted{background-color:#000000b3;border-color:transparent;box-shadow:none;color:#ffe08a}.mzn-playground .button.is-warning.is-loading:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground .button.is-warning.is-outlined{background-color:transparent;border-color:#ffe08a;color:#ffe08a}.mzn-playground .button.is-warning.is-outlined:hover,.mzn-playground .button.is-warning.is-outlined.is-hovered,.mzn-playground .button.is-warning.is-outlined:focus,.mzn-playground .button.is-warning.is-outlined.is-focused{background-color:#ffe08a;border-color:#ffe08a;color:#000000b3}.mzn-playground .button.is-warning.is-outlined.is-loading:after{border-color:transparent transparent hsl(44,100%,77%) hsl(44,100%,77%)!important}.mzn-playground .button.is-warning.is-outlined.is-loading:hover:after,.mzn-playground .button.is-warning.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-warning.is-outlined.is-loading:focus:after,.mzn-playground .button.is-warning.is-outlined.is-loading.is-focused:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground .button.is-warning.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-warning.is-outlined{background-color:transparent;border-color:#ffe08a;box-shadow:none;color:#ffe08a}.mzn-playground .button.is-warning.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;color:#000000b3}.mzn-playground .button.is-warning.is-inverted.is-outlined:hover,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-warning.is-inverted.is-outlined:focus,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-focused{background-color:#000000b3;color:#ffe08a}.mzn-playground .button.is-warning.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(44,100%,77%) hsl(44,100%,77%)!important}.mzn-playground .button.is-warning.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-warning.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;box-shadow:none;color:#000000b3}.mzn-playground .button.is-warning.is-light{background-color:#fffaeb;color:#946c00}.mzn-playground .button.is-warning.is-light:hover,.mzn-playground .button.is-warning.is-light.is-hovered{background-color:#fff6de;border-color:transparent;color:#946c00}.mzn-playground .button.is-warning.is-light:active,.mzn-playground .button.is-warning.is-light.is-active{background-color:#fff3d1;border-color:transparent;color:#946c00}.mzn-playground .button.is-danger{background-color:#f14668;border-color:transparent;color:#fff}.mzn-playground .button.is-danger:hover,.mzn-playground .button.is-danger.is-hovered{background-color:#f03a5f;border-color:transparent;color:#fff}.mzn-playground .button.is-danger:focus,.mzn-playground .button.is-danger.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-danger:focus:not(:active),.mzn-playground .button.is-danger.is-focused:not(:active){box-shadow:0 0 0 .125em #f1466840}.mzn-playground .button.is-danger:active,.mzn-playground .button.is-danger.is-active{background-color:#ef2e55;border-color:transparent;color:#fff}.mzn-playground .button.is-danger[disabled],fieldset[disabled] .mzn-playground .button.is-danger{background-color:#f14668;border-color:#f14668;box-shadow:none}.mzn-playground .button.is-danger.is-inverted{background-color:#fff;color:#f14668}.mzn-playground .button.is-danger.is-inverted:hover,.mzn-playground .button.is-danger.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-danger.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-danger.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#f14668}.mzn-playground .button.is-danger.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-danger.is-outlined{background-color:transparent;border-color:#f14668;color:#f14668}.mzn-playground .button.is-danger.is-outlined:hover,.mzn-playground .button.is-danger.is-outlined.is-hovered,.mzn-playground .button.is-danger.is-outlined:focus,.mzn-playground .button.is-danger.is-outlined.is-focused{background-color:#f14668;border-color:#f14668;color:#fff}.mzn-playground .button.is-danger.is-outlined.is-loading:after{border-color:transparent transparent hsl(348,86%,61%) hsl(348,86%,61%)!important}.mzn-playground .button.is-danger.is-outlined.is-loading:hover:after,.mzn-playground .button.is-danger.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-danger.is-outlined.is-loading:focus:after,.mzn-playground .button.is-danger.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-danger.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-danger.is-outlined{background-color:transparent;border-color:#f14668;box-shadow:none;color:#f14668}.mzn-playground .button.is-danger.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-danger.is-inverted.is-outlined:hover,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-danger.is-inverted.is-outlined:focus,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-focused{background-color:#fff;color:#f14668}.mzn-playground .button.is-danger.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(348,86%,61%) hsl(348,86%,61%)!important}.mzn-playground .button.is-danger.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-danger.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-danger.is-light{background-color:#feecf0;color:#cc0f35}.mzn-playground .button.is-danger.is-light:hover,.mzn-playground .button.is-danger.is-light.is-hovered{background-color:#fde0e6;border-color:transparent;color:#cc0f35}.mzn-playground .button.is-danger.is-light:active,.mzn-playground .button.is-danger.is-light.is-active{background-color:#fcd4dc;border-color:transparent;color:#cc0f35}.mzn-playground .button.is-small{font-size:.75rem}.mzn-playground .button.is-small:not(.is-rounded){border-radius:2px}.mzn-playground .button.is-normal{font-size:1rem}.mzn-playground .button.is-medium{font-size:1.25rem}.mzn-playground .button.is-large{font-size:1.5rem}.mzn-playground .button[disabled],fieldset[disabled] .mzn-playground .button{background-color:#fff;border-color:#dbdbdb;box-shadow:none;opacity:.5}.mzn-playground .button.is-fullwidth{display:flex;width:100%}.mzn-playground .button.is-loading{color:transparent!important;pointer-events:none}.mzn-playground .button.is-loading:after{position:absolute;left:calc(50% - .5em);top:calc(50% - .5em);position:absolute!important}.mzn-playground .button.is-static{background-color:#f5f5f5;border-color:#dbdbdb;color:#7a7a7a;box-shadow:none;pointer-events:none}.mzn-playground .button.is-rounded{border-radius:9999px;padding-left:1.25em;padding-right:1.25em}.mzn-playground .buttons{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-start}.mzn-playground .buttons .button{margin-bottom:.5rem}.mzn-playground .buttons .button:not(:last-child):not(.is-fullwidth){margin-right:.5rem}.mzn-playground .buttons:last-child{margin-bottom:-.5rem}.mzn-playground .buttons:not(:last-child){margin-bottom:1rem}.mzn-playground .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large){font-size:.75rem}.mzn-playground .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large):not(.is-rounded){border-radius:2px}.mzn-playground .buttons.are-medium .button:not(.is-small):not(.is-normal):not(.is-large){font-size:1.25rem}.mzn-playground .buttons.are-large .button:not(.is-small):not(.is-normal):not(.is-medium){font-size:1.5rem}.mzn-playground .buttons.has-addons .button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground .buttons.has-addons .button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.mzn-playground .buttons.has-addons .button:last-child{margin-right:0}.mzn-playground .buttons.has-addons .button:hover,.mzn-playground .buttons.has-addons .button.is-hovered{z-index:2}.mzn-playground .buttons.has-addons .button:focus,.mzn-playground .buttons.has-addons .button.is-focused,.mzn-playground .buttons.has-addons .button:active,.mzn-playground .buttons.has-addons .button.is-active,.mzn-playground .buttons.has-addons .button.is-selected{z-index:3}.mzn-playground .buttons.has-addons .button:focus:hover,.mzn-playground .buttons.has-addons .button.is-focused:hover,.mzn-playground .buttons.has-addons .button:active:hover,.mzn-playground .buttons.has-addons .button.is-active:hover,.mzn-playground .buttons.has-addons .button.is-selected:hover{z-index:4}.mzn-playground .buttons.has-addons .button.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground .buttons.is-centered{justify-content:center}.mzn-playground .buttons.is-centered:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}.mzn-playground .buttons.is-right{justify-content:flex-end}.mzn-playground .buttons.is-right:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}@media screen and (max-width: 768px){.mzn-playground .button.is-responsive.is-small{font-size:.5625rem}.mzn-playground .button.is-responsive,.mzn-playground .button.is-responsive.is-normal{font-size:.65625rem}.mzn-playground .button.is-responsive.is-medium{font-size:.75rem}.mzn-playground .button.is-responsive.is-large{font-size:1rem}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .button.is-responsive.is-small{font-size:.65625rem}.mzn-playground .button.is-responsive,.mzn-playground .button.is-responsive.is-normal{font-size:.75rem}.mzn-playground .button.is-responsive.is-medium{font-size:1rem}.mzn-playground .button.is-responsive.is-large{font-size:1.25rem}}.mzn-playground .icon{align-items:center;display:inline-flex;justify-content:center;height:1.5rem;width:1.5rem}.mzn-playground .icon.is-small{height:1rem;width:1rem}.mzn-playground .icon.is-medium{height:2rem;width:2rem}.mzn-playground .icon.is-large{height:3rem;width:3rem}.mzn-playground .icon-text{align-items:flex-start;color:inherit;display:inline-flex;flex-wrap:wrap;line-height:1.5rem;vertical-align:top}.mzn-playground .icon-text .icon{flex-grow:0;flex-shrink:0}.mzn-playground .icon-text .icon:not(:last-child){margin-right:.25em}.mzn-playground .icon-text .icon:not(:first-child){margin-left:.25em}.mzn-playground div.icon-text{display:flex}.mzn-playground .table{background-color:#fff;color:#363636}.mzn-playground .table td,.mzn-playground .table th{border:1px solid hsl(0,0%,86%);border-width:0 0 1px;padding:.5em .75em;vertical-align:top}.mzn-playground .table td.is-white,.mzn-playground .table th.is-white{background-color:#fff;border-color:#fff;color:#0a0a0a}.mzn-playground .table td.is-black,.mzn-playground .table th.is-black{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.mzn-playground .table td.is-light,.mzn-playground .table th.is-light{background-color:#f5f5f5;border-color:#f5f5f5;color:#000000b3}.mzn-playground .table td.is-dark,.mzn-playground .table th.is-dark{background-color:#363636;border-color:#363636;color:#fff}.mzn-playground .table td.is-primary,.mzn-playground .table th.is-primary{background-color:#1491eb;border-color:#1491eb;color:#fff}.mzn-playground .table td.is-link,.mzn-playground .table th.is-link{background-color:#485fc7;border-color:#485fc7;color:#fff}.mzn-playground .table td.is-info,.mzn-playground .table th.is-info{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.mzn-playground .table td.is-success,.mzn-playground .table th.is-success{background-color:#48c78e;border-color:#48c78e;color:#fff}.mzn-playground .table td.is-warning,.mzn-playground .table th.is-warning{background-color:#ffe08a;border-color:#ffe08a;color:#000000b3}.mzn-playground .table td.is-danger,.mzn-playground .table th.is-danger{background-color:#f14668;border-color:#f14668;color:#fff}.mzn-playground .table td.is-narrow,.mzn-playground .table th.is-narrow{white-space:nowrap;width:1%}.mzn-playground .table td.is-selected,.mzn-playground .table th.is-selected{background-color:#1491eb;color:#fff}.mzn-playground .table td.is-selected a,.mzn-playground .table td.is-selected strong,.mzn-playground .table th.is-selected a,.mzn-playground .table th.is-selected strong{color:currentColor}.mzn-playground .table td.is-vcentered,.mzn-playground .table th.is-vcentered{vertical-align:middle}.mzn-playground .table th{color:#363636}.mzn-playground .table th:not([align]){text-align:left}.mzn-playground .table tr.is-selected{background-color:#1491eb;color:#fff}.mzn-playground .table tr.is-selected a,.mzn-playground .table tr.is-selected strong{color:currentColor}.mzn-playground .table tr.is-selected td,.mzn-playground .table tr.is-selected th{border-color:#fff;color:currentColor}.mzn-playground .table thead{background-color:transparent}.mzn-playground .table thead td,.mzn-playground .table thead th{border-width:0 0 2px;color:#363636}.mzn-playground .table tfoot{background-color:transparent}.mzn-playground .table tfoot td,.mzn-playground .table tfoot th{border-width:2px 0 0;color:#363636}.mzn-playground .table tbody{background-color:transparent}.mzn-playground .table tbody tr:last-child td,.mzn-playground .table tbody tr:last-child th{border-bottom-width:0}.mzn-playground .table.is-bordered td,.mzn-playground .table.is-bordered th{border-width:1px}.mzn-playground .table.is-bordered tr:last-child td,.mzn-playground .table.is-bordered tr:last-child th{border-bottom-width:1px}.mzn-playground .table.is-fullwidth{width:100%}.mzn-playground .table.is-hoverable tbody tr:not(.is-selected):hover{background-color:#fafafa}.mzn-playground .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover{background-color:#fafafa}.mzn-playground .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover:nth-child(2n){background-color:#f5f5f5}.mzn-playground .table.is-narrow td,.mzn-playground .table.is-narrow th{padding:.25em .5em}.mzn-playground .table.is-striped tbody tr:not(.is-selected):nth-child(2n){background-color:#fafafa}.mzn-playground .table-container{-webkit-overflow-scrolling:touch;overflow:auto;overflow-y:hidden;max-width:100%}.mzn-playground .heading{display:block;font-size:11px;letter-spacing:1px;margin-bottom:5px;text-transform:uppercase}.mzn-playground .number{align-items:center;background-color:#f5f5f5;border-radius:9999px;display:inline-flex;font-size:1.25rem;height:2em;justify-content:center;margin-right:1.5rem;min-width:2.5em;padding:.25rem .5rem;text-align:center;vertical-align:top}.mzn-playground.is-dark .select select,.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input,.mzn-playground .select select,.mzn-playground .textarea,.mzn-playground .input{background-color:#fff;border-color:#dbdbdb;border-radius:4px;color:#363636}.mzn-playground.is-dark .select select::-moz-placeholder,.mzn-playground.is-dark .textarea::-moz-placeholder,.mzn-playground.is-dark .input::-moz-placeholder,.mzn-playground .select select::-moz-placeholder,.mzn-playground .textarea::-moz-placeholder,.mzn-playground .input::-moz-placeholder{color:#3636364d}.mzn-playground.is-dark .select select::-webkit-input-placeholder,.mzn-playground.is-dark .textarea::-webkit-input-placeholder,.mzn-playground.is-dark .input::-webkit-input-placeholder,.mzn-playground .select select::-webkit-input-placeholder,.mzn-playground .textarea::-webkit-input-placeholder,.mzn-playground .input::-webkit-input-placeholder{color:#3636364d}.mzn-playground.is-dark .select select:-moz-placeholder,.mzn-playground .select select:-moz-placeholder,.mzn-playground .textarea:-moz-placeholder,.mzn-playground .input:-moz-placeholder{color:#3636364d}.mzn-playground.is-dark .select select:-ms-input-placeholder,.mzn-playground .select select:-ms-input-placeholder,.mzn-playground .textarea:-ms-input-placeholder,.mzn-playground .input:-ms-input-placeholder{color:#3636364d}.mzn-playground.is-dark .select select:hover,.mzn-playground .select select:hover,.mzn-playground .textarea:hover,.mzn-playground .input:hover,.mzn-playground.is-dark .select select.is-hovered,.mzn-playground .select select.is-hovered,.mzn-playground .is-hovered.textarea,.mzn-playground .is-hovered.input{border-color:#b5b5b5}.mzn-playground.is-dark .select select:focus,.mzn-playground .select select:focus,.mzn-playground .textarea:focus,.mzn-playground .input:focus,.mzn-playground.is-dark .select select.is-focused,.mzn-playground .select select.is-focused,.mzn-playground .is-focused.textarea,.mzn-playground .is-focused.input,.mzn-playground.is-dark .select select:active,.mzn-playground .select select:active,.mzn-playground .textarea:active,.mzn-playground .input:active,.mzn-playground.is-dark .select select.is-active,.mzn-playground .select select.is-active,.mzn-playground .is-active.textarea,.mzn-playground .is-active.input{border-color:#485fc7;box-shadow:0 0 0 .125em #485fc740}.mzn-playground.is-dark .select select[disabled],.mzn-playground .select select[disabled],.mzn-playground [disabled].textarea,.mzn-playground [disabled].input,fieldset[disabled] .mzn-playground.is-dark .select select,fieldset[disabled] .mzn-playground .select select,fieldset[disabled] .mzn-playground .textarea,fieldset[disabled] .mzn-playground .input{background-color:#f5f5f5;border-color:#f5f5f5;box-shadow:none;color:#7a7a7a}.mzn-playground.is-dark .select select[disabled]::-moz-placeholder,.mzn-playground .select select[disabled]::-moz-placeholder,.mzn-playground [disabled].textarea::-moz-placeholder,.mzn-playground [disabled].input::-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select::-moz-placeholder,fieldset[disabled] .mzn-playground .select select::-moz-placeholder,fieldset[disabled] .mzn-playground .textarea::-moz-placeholder,fieldset[disabled] .mzn-playground .input::-moz-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]::-webkit-input-placeholder,.mzn-playground .select select[disabled]::-webkit-input-placeholder,.mzn-playground [disabled].textarea::-webkit-input-placeholder,.mzn-playground [disabled].input::-webkit-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select::-webkit-input-placeholder,fieldset[disabled] .mzn-playground .select select::-webkit-input-placeholder,fieldset[disabled] .mzn-playground .textarea::-webkit-input-placeholder,fieldset[disabled] .mzn-playground .input::-webkit-input-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]:-moz-placeholder,.mzn-playground .select select[disabled]:-moz-placeholder,.mzn-playground [disabled].textarea:-moz-placeholder,.mzn-playground [disabled].input:-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select:-moz-placeholder,fieldset[disabled] .mzn-playground .select select:-moz-placeholder,fieldset[disabled] .mzn-playground .textarea:-moz-placeholder,fieldset[disabled] .mzn-playground .input:-moz-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]:-ms-input-placeholder,.mzn-playground .select select[disabled]:-ms-input-placeholder,.mzn-playground [disabled].textarea:-ms-input-placeholder,.mzn-playground [disabled].input:-ms-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select:-ms-input-placeholder,fieldset[disabled] .mzn-playground .select select:-ms-input-placeholder,fieldset[disabled] .mzn-playground .textarea:-ms-input-placeholder,fieldset[disabled] .mzn-playground .input:-ms-input-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input,.mzn-playground .textarea,.mzn-playground .input{box-shadow:inset 0 .0625em .125em #0a0a0a0d;max-width:100%;width:100%}.mzn-playground [readonly].textarea,.mzn-playground [readonly].input{box-shadow:none}.mzn-playground .is-white.textarea,.mzn-playground .is-white.input{border-color:#fff}.mzn-playground .is-white.textarea:focus,.mzn-playground .is-white.input:focus,.mzn-playground .is-white.is-focused.textarea,.mzn-playground .is-white.is-focused.input,.mzn-playground .is-white.textarea:active,.mzn-playground .is-white.input:active,.mzn-playground .is-white.is-active.textarea,.mzn-playground .is-white.is-active.input{box-shadow:0 0 0 .125em #ffffff40}.mzn-playground .is-black.textarea,.mzn-playground .is-black.input{border-color:#0a0a0a}.mzn-playground .is-black.textarea:focus,.mzn-playground .is-black.input:focus,.mzn-playground .is-black.is-focused.textarea,.mzn-playground .is-black.is-focused.input,.mzn-playground .is-black.textarea:active,.mzn-playground .is-black.input:active,.mzn-playground .is-black.is-active.textarea,.mzn-playground .is-black.is-active.input{box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground .is-light.textarea,.mzn-playground .is-light.input{border-color:#f5f5f5}.mzn-playground .is-light.textarea:focus,.mzn-playground .is-light.input:focus,.mzn-playground .is-light.is-focused.textarea,.mzn-playground .is-light.is-focused.input,.mzn-playground .is-light.textarea:active,.mzn-playground .is-light.input:active,.mzn-playground .is-light.is-active.textarea,.mzn-playground .is-light.is-active.input{box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground .is-dark.textarea,.mzn-playground .is-dark.input{border-color:#363636}.mzn-playground .is-dark.textarea:focus,.mzn-playground .is-dark.input:focus,.mzn-playground .is-dark.is-focused.textarea,.mzn-playground .is-dark.is-focused.input,.mzn-playground .is-dark.textarea:active,.mzn-playground .is-dark.input:active,.mzn-playground .is-dark.is-active.textarea,.mzn-playground .is-dark.is-active.input{box-shadow:0 0 0 .125em #36363640}.mzn-playground .is-primary.textarea,.mzn-playground .is-primary.input{border-color:#1491eb}.mzn-playground .is-primary.textarea:focus,.mzn-playground .is-primary.input:focus,.mzn-playground .is-primary.is-focused.textarea,.mzn-playground .is-primary.is-focused.input,.mzn-playground .is-primary.textarea:active,.mzn-playground .is-primary.input:active,.mzn-playground .is-primary.is-active.textarea,.mzn-playground .is-primary.is-active.input{box-shadow:0 0 0 .125em #1491eb40}.mzn-playground .is-link.textarea,.mzn-playground .is-link.input{border-color:#485fc7}.mzn-playground .is-link.textarea:focus,.mzn-playground .is-link.input:focus,.mzn-playground .is-link.is-focused.textarea,.mzn-playground .is-link.is-focused.input,.mzn-playground .is-link.textarea:active,.mzn-playground .is-link.input:active,.mzn-playground .is-link.is-active.textarea,.mzn-playground .is-link.is-active.input{box-shadow:0 0 0 .125em #485fc740}.mzn-playground .is-info.textarea,.mzn-playground .is-info.input{border-color:#3e8ed0}.mzn-playground .is-info.textarea:focus,.mzn-playground .is-info.input:focus,.mzn-playground .is-info.is-focused.textarea,.mzn-playground .is-info.is-focused.input,.mzn-playground .is-info.textarea:active,.mzn-playground .is-info.input:active,.mzn-playground .is-info.is-active.textarea,.mzn-playground .is-info.is-active.input{box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground .is-success.textarea,.mzn-playground .is-success.input{border-color:#48c78e}.mzn-playground .is-success.textarea:focus,.mzn-playground .is-success.input:focus,.mzn-playground .is-success.is-focused.textarea,.mzn-playground .is-success.is-focused.input,.mzn-playground .is-success.textarea:active,.mzn-playground .is-success.input:active,.mzn-playground .is-success.is-active.textarea,.mzn-playground .is-success.is-active.input{box-shadow:0 0 0 .125em #48c78e40}.mzn-playground .is-warning.textarea,.mzn-playground .is-warning.input{border-color:#ffe08a}.mzn-playground .is-warning.textarea:focus,.mzn-playground .is-warning.input:focus,.mzn-playground .is-warning.is-focused.textarea,.mzn-playground .is-warning.is-focused.input,.mzn-playground .is-warning.textarea:active,.mzn-playground .is-warning.input:active,.mzn-playground .is-warning.is-active.textarea,.mzn-playground .is-warning.is-active.input{box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground .is-danger.textarea,.mzn-playground .is-danger.input{border-color:#f14668}.mzn-playground .is-danger.textarea:focus,.mzn-playground .is-danger.input:focus,.mzn-playground .is-danger.is-focused.textarea,.mzn-playground .is-danger.is-focused.input,.mzn-playground .is-danger.textarea:active,.mzn-playground .is-danger.input:active,.mzn-playground .is-danger.is-active.textarea,.mzn-playground .is-danger.is-active.input{box-shadow:0 0 0 .125em #f1466840}.mzn-playground .is-small.textarea,.mzn-playground .is-small.input{border-radius:2px;font-size:.75rem}.mzn-playground .is-medium.textarea,.mzn-playground .is-medium.input{font-size:1.25rem}.mzn-playground .is-large.textarea,.mzn-playground .is-large.input{font-size:1.5rem}.mzn-playground .is-fullwidth.textarea,.mzn-playground .is-fullwidth.input{display:block;width:100%}.mzn-playground .is-inline.textarea,.mzn-playground .is-inline.input{display:inline;width:auto}.mzn-playground .input.is-rounded{border-radius:9999px;padding-left:calc(1.125em - 1px);padding-right:calc(1.125em - 1px)}.mzn-playground .input.is-static{background-color:transparent;border-color:transparent;box-shadow:none;padding-left:0;padding-right:0}.mzn-playground .textarea{display:block;max-width:100%;min-width:100%;padding:calc(.75em - 1px);resize:vertical}.mzn-playground .textarea:not([rows]){max-height:40em;min-height:8em}.mzn-playground .textarea[rows]{height:initial}.mzn-playground .textarea.has-fixed-size{resize:none}.mzn-playground.is-dark .radio,.mzn-playground.is-dark .checkbox,.mzn-playground .radio,.mzn-playground .checkbox{cursor:pointer;display:inline-block;line-height:1.25;position:relative}.mzn-playground.is-dark .radio input,.mzn-playground.is-dark .checkbox input,.mzn-playground .radio input,.mzn-playground .checkbox input{cursor:pointer}.mzn-playground .radio:hover,.mzn-playground .checkbox:hover{color:#363636}.mzn-playground [disabled].radio,.mzn-playground [disabled].checkbox,fieldset[disabled] .mzn-playground .radio,fieldset[disabled] .mzn-playground .checkbox,.mzn-playground .radio input[disabled],.mzn-playground .checkbox input[disabled]{color:#7a7a7a;cursor:not-allowed}.mzn-playground .radio+.radio{margin-left:.5em}.mzn-playground .select{display:inline-block;max-width:100%;position:relative;vertical-align:top}.mzn-playground .select:not(.is-multiple){height:2.5em}.mzn-playground .select:not(.is-multiple):not(.is-loading):after{border-color:#485fc7;right:1.125em;z-index:4}.mzn-playground .select.is-rounded select{border-radius:9999px;padding-left:1em}.mzn-playground .select select{cursor:pointer;display:block;font-size:1em;max-width:100%;outline:none}.mzn-playground .select select::-ms-expand{display:none}.mzn-playground .select select[disabled]:hover,fieldset[disabled] .mzn-playground .select select:hover{border-color:#f5f5f5}.mzn-playground .select select:not([multiple]){padding-right:2.5em}.mzn-playground .select select[multiple]{height:auto;padding:0}.mzn-playground .select select[multiple] option{padding:.5em 1em}.mzn-playground .select:not(.is-multiple):not(.is-loading):hover:after{border-color:#363636}.mzn-playground .select.is-white:not(:hover):after{border-color:#fff}.mzn-playground .select.is-white select{border-color:#fff}.mzn-playground .select.is-white select:hover,.mzn-playground .select.is-white select.is-hovered{border-color:#f2f2f2}.mzn-playground .select.is-white select:focus,.mzn-playground .select.is-white select.is-focused,.mzn-playground .select.is-white select:active,.mzn-playground .select.is-white select.is-active{box-shadow:0 0 0 .125em #ffffff40}.mzn-playground .select.is-black:not(:hover):after{border-color:#0a0a0a}.mzn-playground .select.is-black select{border-color:#0a0a0a}.mzn-playground .select.is-black select:hover,.mzn-playground .select.is-black select.is-hovered{border-color:#000}.mzn-playground .select.is-black select:focus,.mzn-playground .select.is-black select.is-focused,.mzn-playground .select.is-black select:active,.mzn-playground .select.is-black select.is-active{box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground .select.is-light:not(:hover):after{border-color:#f5f5f5}.mzn-playground .select.is-light select{border-color:#f5f5f5}.mzn-playground .select.is-light select:hover,.mzn-playground .select.is-light select.is-hovered{border-color:#e8e8e8}.mzn-playground .select.is-light select:focus,.mzn-playground .select.is-light select.is-focused,.mzn-playground .select.is-light select:active,.mzn-playground .select.is-light select.is-active{box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground .select.is-dark:not(:hover):after{border-color:#363636}.mzn-playground .select.is-dark select{border-color:#363636}.mzn-playground .select.is-dark select:hover,.mzn-playground .select.is-dark select.is-hovered{border-color:#292929}.mzn-playground .select.is-dark select:focus,.mzn-playground .select.is-dark select.is-focused,.mzn-playground .select.is-dark select:active,.mzn-playground .select.is-dark select.is-active{box-shadow:0 0 0 .125em #36363640}.mzn-playground .select.is-primary:not(:hover):after{border-color:#1491eb}.mzn-playground .select.is-primary select{border-color:#1491eb}.mzn-playground .select.is-primary select:hover,.mzn-playground .select.is-primary select.is-hovered{border-color:#1283d4}.mzn-playground .select.is-primary select:focus,.mzn-playground .select.is-primary select.is-focused,.mzn-playground .select.is-primary select:active,.mzn-playground .select.is-primary select.is-active{box-shadow:0 0 0 .125em #1491eb40}.mzn-playground .select.is-link:not(:hover):after{border-color:#485fc7}.mzn-playground .select.is-link select{border-color:#485fc7}.mzn-playground .select.is-link select:hover,.mzn-playground .select.is-link select.is-hovered{border-color:#3a51bb}.mzn-playground .select.is-link select:focus,.mzn-playground .select.is-link select.is-focused,.mzn-playground .select.is-link select:active,.mzn-playground .select.is-link select.is-active{box-shadow:0 0 0 .125em #485fc740}.mzn-playground .select.is-info:not(:hover):after{border-color:#3e8ed0}.mzn-playground .select.is-info select{border-color:#3e8ed0}.mzn-playground .select.is-info select:hover,.mzn-playground .select.is-info select.is-hovered{border-color:#3082c5}.mzn-playground .select.is-info select:focus,.mzn-playground .select.is-info select.is-focused,.mzn-playground .select.is-info select:active,.mzn-playground .select.is-info select.is-active{box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground .select.is-success:not(:hover):after{border-color:#48c78e}.mzn-playground .select.is-success select{border-color:#48c78e}.mzn-playground .select.is-success select:hover,.mzn-playground .select.is-success select.is-hovered{border-color:#3abb81}.mzn-playground .select.is-success select:focus,.mzn-playground .select.is-success select.is-focused,.mzn-playground .select.is-success select:active,.mzn-playground .select.is-success select.is-active{box-shadow:0 0 0 .125em #48c78e40}.mzn-playground .select.is-warning:not(:hover):after{border-color:#ffe08a}.mzn-playground .select.is-warning select{border-color:#ffe08a}.mzn-playground .select.is-warning select:hover,.mzn-playground .select.is-warning select.is-hovered{border-color:#ffd970}.mzn-playground .select.is-warning select:focus,.mzn-playground .select.is-warning select.is-focused,.mzn-playground .select.is-warning select:active,.mzn-playground .select.is-warning select.is-active{box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground .select.is-danger:not(:hover):after{border-color:#f14668}.mzn-playground .select.is-danger select{border-color:#f14668}.mzn-playground .select.is-danger select:hover,.mzn-playground .select.is-danger select.is-hovered{border-color:#ef2e55}.mzn-playground .select.is-danger select:focus,.mzn-playground .select.is-danger select.is-focused,.mzn-playground .select.is-danger select:active,.mzn-playground .select.is-danger select.is-active{box-shadow:0 0 0 .125em #f1466840}.mzn-playground .select.is-small{border-radius:2px;font-size:.75rem}.mzn-playground .select.is-medium{font-size:1.25rem}.mzn-playground .select.is-large{font-size:1.5rem}.mzn-playground .select.is-disabled:after{border-color:#7a7a7a!important;opacity:.5}.mzn-playground .select.is-fullwidth,.mzn-playground .select.is-fullwidth select{width:100%}.mzn-playground .select.is-loading:after{margin-top:0;position:absolute;right:.625em;top:.625em;transform:none}.mzn-playground .select.is-loading.is-small:after{font-size:.75rem}.mzn-playground .select.is-loading.is-medium:after{font-size:1.25rem}.mzn-playground .select.is-loading.is-large:after{font-size:1.5rem}.mzn-playground .file{align-items:stretch;display:flex;justify-content:flex-start;position:relative}.mzn-playground .file.is-white .file-cta{background-color:#fff;border-color:transparent;color:#0a0a0a}.mzn-playground .file.is-white:hover .file-cta,.mzn-playground .file.is-white.is-hovered .file-cta{background-color:#f9f9f9;border-color:transparent;color:#0a0a0a}.mzn-playground .file.is-white:focus .file-cta,.mzn-playground .file.is-white.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #ffffff40;color:#0a0a0a}.mzn-playground .file.is-white:active .file-cta,.mzn-playground .file.is-white.is-active .file-cta{background-color:#f2f2f2;border-color:transparent;color:#0a0a0a}.mzn-playground .file.is-black .file-cta{background-color:#0a0a0a;border-color:transparent;color:#fff}.mzn-playground .file.is-black:hover .file-cta,.mzn-playground .file.is-black.is-hovered .file-cta{background-color:#040404;border-color:transparent;color:#fff}.mzn-playground .file.is-black:focus .file-cta,.mzn-playground .file.is-black.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #0a0a0a40;color:#fff}.mzn-playground .file.is-black:active .file-cta,.mzn-playground .file.is-black.is-active .file-cta{background-color:#000;border-color:transparent;color:#fff}.mzn-playground .file.is-light .file-cta{background-color:#f5f5f5;border-color:transparent;color:#000000b3}.mzn-playground .file.is-light:hover .file-cta,.mzn-playground .file.is-light.is-hovered .file-cta{background-color:#eee;border-color:transparent;color:#000000b3}.mzn-playground .file.is-light:focus .file-cta,.mzn-playground .file.is-light.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #f5f5f540;color:#000000b3}.mzn-playground .file.is-light:active .file-cta,.mzn-playground .file.is-light.is-active .file-cta{background-color:#e8e8e8;border-color:transparent;color:#000000b3}.mzn-playground .file.is-dark .file-cta{background-color:#363636;border-color:transparent;color:#fff}.mzn-playground .file.is-dark:hover .file-cta,.mzn-playground .file.is-dark.is-hovered .file-cta{background-color:#2f2f2f;border-color:transparent;color:#fff}.mzn-playground .file.is-dark:focus .file-cta,.mzn-playground .file.is-dark.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #36363640;color:#fff}.mzn-playground .file.is-dark:active .file-cta,.mzn-playground .file.is-dark.is-active .file-cta{background-color:#292929;border-color:transparent;color:#fff}.mzn-playground .file.is-primary .file-cta{background-color:#1491eb;border-color:transparent;color:#fff}.mzn-playground .file.is-primary:hover .file-cta,.mzn-playground .file.is-primary.is-hovered .file-cta{background-color:#138adf;border-color:transparent;color:#fff}.mzn-playground .file.is-primary:focus .file-cta,.mzn-playground .file.is-primary.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #1491eb40;color:#fff}.mzn-playground .file.is-primary:active .file-cta,.mzn-playground .file.is-primary.is-active .file-cta{background-color:#1283d4;border-color:transparent;color:#fff}.mzn-playground .file.is-link .file-cta{background-color:#485fc7;border-color:transparent;color:#fff}.mzn-playground .file.is-link:hover .file-cta,.mzn-playground .file.is-link.is-hovered .file-cta{background-color:#3e56c4;border-color:transparent;color:#fff}.mzn-playground .file.is-link:focus .file-cta,.mzn-playground .file.is-link.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #485fc740;color:#fff}.mzn-playground .file.is-link:active .file-cta,.mzn-playground .file.is-link.is-active .file-cta{background-color:#3a51bb;border-color:transparent;color:#fff}.mzn-playground .file.is-info .file-cta{background-color:#3e8ed0;border-color:transparent;color:#fff}.mzn-playground .file.is-info:hover .file-cta,.mzn-playground .file.is-info.is-hovered .file-cta{background-color:#3488ce;border-color:transparent;color:#fff}.mzn-playground .file.is-info:focus .file-cta,.mzn-playground .file.is-info.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #3e8ed040;color:#fff}.mzn-playground .file.is-info:active .file-cta,.mzn-playground .file.is-info.is-active .file-cta{background-color:#3082c5;border-color:transparent;color:#fff}.mzn-playground .file.is-success .file-cta{background-color:#48c78e;border-color:transparent;color:#fff}.mzn-playground .file.is-success:hover .file-cta,.mzn-playground .file.is-success.is-hovered .file-cta{background-color:#3ec487;border-color:transparent;color:#fff}.mzn-playground .file.is-success:focus .file-cta,.mzn-playground .file.is-success.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #48c78e40;color:#fff}.mzn-playground .file.is-success:active .file-cta,.mzn-playground .file.is-success.is-active .file-cta{background-color:#3abb81;border-color:transparent;color:#fff}.mzn-playground .file.is-warning .file-cta{background-color:#ffe08a;border-color:transparent;color:#000000b3}.mzn-playground .file.is-warning:hover .file-cta,.mzn-playground .file.is-warning.is-hovered .file-cta{background-color:#ffdc7d;border-color:transparent;color:#000000b3}.mzn-playground .file.is-warning:focus .file-cta,.mzn-playground .file.is-warning.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #ffe08a40;color:#000000b3}.mzn-playground .file.is-warning:active .file-cta,.mzn-playground .file.is-warning.is-active .file-cta{background-color:#ffd970;border-color:transparent;color:#000000b3}.mzn-playground .file.is-danger .file-cta{background-color:#f14668;border-color:transparent;color:#fff}.mzn-playground .file.is-danger:hover .file-cta,.mzn-playground .file.is-danger.is-hovered .file-cta{background-color:#f03a5f;border-color:transparent;color:#fff}.mzn-playground .file.is-danger:focus .file-cta,.mzn-playground .file.is-danger.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #f1466840;color:#fff}.mzn-playground .file.is-danger:active .file-cta,.mzn-playground .file.is-danger.is-active .file-cta{background-color:#ef2e55;border-color:transparent;color:#fff}.mzn-playground .file.is-small{font-size:.75rem}.mzn-playground .file.is-normal{font-size:1rem}.mzn-playground .file.is-medium{font-size:1.25rem}.mzn-playground .file.is-medium .file-icon .fa{font-size:21px}.mzn-playground .file.is-large{font-size:1.5rem}.mzn-playground .file.is-large .file-icon .fa{font-size:28px}.mzn-playground .file.has-name .file-cta{border-bottom-right-radius:0;border-top-right-radius:0}.mzn-playground .file.has-name .file-name{border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground .file.has-name.is-empty .file-cta{border-radius:4px}.mzn-playground .file.has-name.is-empty .file-name{display:none}.mzn-playground .file.is-boxed .file-label{flex-direction:column}.mzn-playground .file.is-boxed .file-cta{flex-direction:column;height:auto;padding:1em 3em}.mzn-playground .file.is-boxed .file-name{border-width:0 1px 1px}.mzn-playground .file.is-boxed .file-icon{height:1.5em;width:1.5em}.mzn-playground .file.is-boxed .file-icon .fa{font-size:21px}.mzn-playground .file.is-boxed.is-small .file-icon .fa{font-size:14px}.mzn-playground .file.is-boxed.is-medium .file-icon .fa{font-size:28px}.mzn-playground .file.is-boxed.is-large .file-icon .fa{font-size:35px}.mzn-playground .file.is-boxed.has-name .file-cta{border-radius:4px 4px 0 0}.mzn-playground .file.is-boxed.has-name .file-name{border-radius:0 0 4px 4px;border-width:0 1px 1px}.mzn-playground .file.is-centered{justify-content:center}.mzn-playground .file.is-fullwidth .file-label{width:100%}.mzn-playground .file.is-fullwidth .file-name{flex-grow:1;max-width:none}.mzn-playground .file.is-right{justify-content:flex-end}.mzn-playground .file.is-right .file-cta{border-radius:0 4px 4px 0}.mzn-playground .file.is-right .file-name{border-radius:4px 0 0 4px;border-width:1px 0 1px 1px;order:-1}.mzn-playground .file-label{align-items:stretch;display:flex;cursor:pointer;justify-content:flex-start;overflow:hidden;position:relative}.mzn-playground .file-label:hover .file-cta{background-color:#eee;color:#363636}.mzn-playground .file-label:hover .file-name{border-color:#d5d5d5}.mzn-playground .file-label:active .file-cta{background-color:#e8e8e8;color:#363636}.mzn-playground .file-label:active .file-name{border-color:#cfcfcf}.mzn-playground .file-input{height:100%;left:0;opacity:0;outline:none;position:absolute;top:0;width:100%}.mzn-playground .file-cta,.mzn-playground .file-name{border-color:#dbdbdb;border-radius:4px;font-size:1em;padding-left:1em;padding-right:1em;white-space:nowrap}.mzn-playground .file-cta{background-color:#f5f5f5;color:#4a4a4a}.mzn-playground .file-name{border-color:#dbdbdb;border-style:solid;border-width:1px 1px 1px 0;display:block;max-width:16em;overflow:hidden;text-align:inherit;text-overflow:ellipsis}.mzn-playground .file-icon{align-items:center;display:flex;height:1em;justify-content:center;margin-right:.5em;width:1em}.mzn-playground .file-icon .fa{font-size:14px}.mzn-playground .label{color:#363636;display:block;font-size:1rem;font-weight:700}.mzn-playground .label:not(:last-child){margin-bottom:.5em}.mzn-playground .label.is-small{font-size:.75rem}.mzn-playground .label.is-medium{font-size:1.25rem}.mzn-playground .label.is-large{font-size:1.5rem}.mzn-playground .help{display:block;font-size:.75rem;margin-top:.25rem}.mzn-playground .help.is-white{color:#fff}.mzn-playground .help.is-black{color:#0a0a0a}.mzn-playground .help.is-light{color:#f5f5f5}.mzn-playground .help.is-dark{color:#363636}.mzn-playground .help.is-primary{color:#1491eb}.mzn-playground .help.is-link{color:#485fc7}.mzn-playground .help.is-info{color:#3e8ed0}.mzn-playground .help.is-success{color:#48c78e}.mzn-playground .help.is-warning{color:#ffe08a}.mzn-playground .help.is-danger{color:#f14668}.mzn-playground .field:not(:last-child){margin-bottom:.75rem}.mzn-playground .field.has-addons{display:flex;justify-content:flex-start}.mzn-playground .field.has-addons .control:not(:last-child){margin-right:-1px}.mzn-playground .field.has-addons .control:not(:first-child):not(:last-child) .button,.mzn-playground .field.has-addons .control:not(:first-child):not(:last-child) .input,.mzn-playground .field.has-addons .control:not(:first-child):not(:last-child) .select select{border-radius:0}.mzn-playground .field.has-addons .control:first-child:not(:only-child) .button,.mzn-playground .field.has-addons .control:first-child:not(:only-child) .input,.mzn-playground .field.has-addons .control:first-child:not(:only-child) .select select{border-bottom-right-radius:0;border-top-right-radius:0}.mzn-playground .field.has-addons .control:last-child:not(:only-child) .button,.mzn-playground .field.has-addons .control:last-child:not(:only-child) .input,.mzn-playground .field.has-addons .control:last-child:not(:only-child) .select select{border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground .field.has-addons .control .button:not([disabled]):hover,.mzn-playground .field.has-addons .control .button:not([disabled]).is-hovered,.mzn-playground .field.has-addons .control .input:not([disabled]):hover,.mzn-playground .field.has-addons .control .input:not([disabled]).is-hovered,.mzn-playground .field.has-addons .control .select select:not([disabled]):hover,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-hovered{z-index:2}.mzn-playground .field.has-addons .control .button:not([disabled]):focus,.mzn-playground .field.has-addons .control .button:not([disabled]).is-focused,.mzn-playground .field.has-addons .control .button:not([disabled]):active,.mzn-playground .field.has-addons .control .button:not([disabled]).is-active,.mzn-playground .field.has-addons .control .input:not([disabled]):focus,.mzn-playground .field.has-addons .control .input:not([disabled]).is-focused,.mzn-playground .field.has-addons .control .input:not([disabled]):active,.mzn-playground .field.has-addons .control .input:not([disabled]).is-active,.mzn-playground .field.has-addons .control .select select:not([disabled]):focus,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-focused,.mzn-playground .field.has-addons .control .select select:not([disabled]):active,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-active{z-index:3}.mzn-playground .field.has-addons .control .button:not([disabled]):focus:hover,.mzn-playground .field.has-addons .control .button:not([disabled]).is-focused:hover,.mzn-playground .field.has-addons .control .button:not([disabled]):active:hover,.mzn-playground .field.has-addons .control .button:not([disabled]).is-active:hover,.mzn-playground .field.has-addons .control .input:not([disabled]):focus:hover,.mzn-playground .field.has-addons .control .input:not([disabled]).is-focused:hover,.mzn-playground .field.has-addons .control .input:not([disabled]):active:hover,.mzn-playground .field.has-addons .control .input:not([disabled]).is-active:hover,.mzn-playground .field.has-addons .control .select select:not([disabled]):focus:hover,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-focused:hover,.mzn-playground .field.has-addons .control .select select:not([disabled]):active:hover,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-active:hover{z-index:4}.mzn-playground .field.has-addons .control.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground .field.has-addons.has-addons-centered{justify-content:center}.mzn-playground .field.has-addons.has-addons-right{justify-content:flex-end}.mzn-playground .field.has-addons.has-addons-fullwidth .control{flex-grow:1;flex-shrink:0}.mzn-playground .field.is-grouped{display:flex;justify-content:flex-start}.mzn-playground .field.is-grouped>.control{flex-shrink:0}.mzn-playground .field.is-grouped>.control:not(:last-child){margin-bottom:0;margin-right:.75rem}.mzn-playground .field.is-grouped>.control.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground .field.is-grouped.is-grouped-centered{justify-content:center}.mzn-playground .field.is-grouped.is-grouped-right{justify-content:flex-end}.mzn-playground .field.is-grouped.is-grouped-multiline{flex-wrap:wrap}.mzn-playground .field.is-grouped.is-grouped-multiline>.control:last-child,.mzn-playground .field.is-grouped.is-grouped-multiline>.control:not(:last-child){margin-bottom:.75rem}.mzn-playground .field.is-grouped.is-grouped-multiline:last-child{margin-bottom:-.75rem}.mzn-playground .field.is-grouped.is-grouped-multiline:not(:last-child){margin-bottom:0}@media screen and (min-width: 769px),print{.mzn-playground .field.is-horizontal{display:flex}}.mzn-playground .field-label .label{font-size:inherit}@media screen and (max-width: 768px){.mzn-playground .field-label{margin-bottom:.5rem}}@media screen and (min-width: 769px),print{.mzn-playground .field-label{flex-basis:0;flex-grow:1;flex-shrink:0;margin-right:1.5rem;text-align:right}.mzn-playground .field-label.is-small{font-size:.75rem;padding-top:.375em}.mzn-playground .field-label.is-normal{padding-top:.375em}.mzn-playground .field-label.is-medium{font-size:1.25rem;padding-top:.375em}.mzn-playground .field-label.is-large{font-size:1.5rem;padding-top:.375em}}.mzn-playground .field-body .field .field{margin-bottom:0}@media screen and (min-width: 769px),print{.mzn-playground .field-body{display:flex;flex-basis:0;flex-grow:5;flex-shrink:1}.mzn-playground .field-body .field{margin-bottom:0}.mzn-playground .field-body>.field{flex-shrink:1}.mzn-playground .field-body>.field:not(.is-narrow){flex-grow:1}.mzn-playground .field-body>.field:not(:last-child){margin-right:.75rem}}.mzn-playground .control{box-sizing:border-box;clear:both;font-size:1rem;position:relative;text-align:inherit}.mzn-playground .control.has-icons-left .input:focus~.icon,.mzn-playground .control.has-icons-left .select:focus~.icon,.mzn-playground .control.has-icons-right .input:focus~.icon,.mzn-playground .control.has-icons-right .select:focus~.icon{color:#4a4a4a}.mzn-playground .control.has-icons-left .input.is-small~.icon,.mzn-playground .control.has-icons-left .select.is-small~.icon,.mzn-playground .control.has-icons-right .input.is-small~.icon,.mzn-playground .control.has-icons-right .select.is-small~.icon{font-size:.75rem}.mzn-playground .control.has-icons-left .input.is-medium~.icon,.mzn-playground .control.has-icons-left .select.is-medium~.icon,.mzn-playground .control.has-icons-right .input.is-medium~.icon,.mzn-playground .control.has-icons-right .select.is-medium~.icon{font-size:1.25rem}.mzn-playground .control.has-icons-left .input.is-large~.icon,.mzn-playground .control.has-icons-left .select.is-large~.icon,.mzn-playground .control.has-icons-right .input.is-large~.icon,.mzn-playground .control.has-icons-right .select.is-large~.icon{font-size:1.5rem}.mzn-playground .control.has-icons-left .icon,.mzn-playground .control.has-icons-right .icon{color:#dbdbdb;height:2.5em;pointer-events:none;position:absolute;top:0;width:2.5em;z-index:4}.mzn-playground .control.has-icons-left .input,.mzn-playground .control.has-icons-left .select select{padding-left:2.5em}.mzn-playground .control.has-icons-left .icon.is-left{left:0}.mzn-playground .control.has-icons-right .input,.mzn-playground .control.has-icons-right .select select{padding-right:2.5em}.mzn-playground .control.has-icons-right .icon.is-right{right:0}.mzn-playground .control.is-loading:after{position:absolute!important;right:.625em;top:.625em;z-index:4}.mzn-playground .control.is-loading.is-small:after{font-size:.75rem}.mzn-playground .control.is-loading.is-medium:after{font-size:1.25rem}.mzn-playground .control.is-loading.is-large:after{font-size:1.5rem}.mzn-playground .dropdown{display:inline-flex;position:relative;vertical-align:top}.mzn-playground .dropdown.is-active .dropdown-menu,.mzn-playground .dropdown.is-hoverable:hover .dropdown-menu{display:block}.mzn-playground .dropdown.is-right .dropdown-menu{left:auto;right:0}.mzn-playground .dropdown.is-up .dropdown-menu{bottom:100%;padding-bottom:4px;padding-top:initial;top:auto}.mzn-playground .dropdown-menu{display:none;left:0;min-width:12rem;padding-top:4px;position:absolute;top:100%;z-index:20}.mzn-playground .dropdown-content{background-color:#fff;border-radius:4px;box-shadow:0 .5em 1em -.125em #0a0a0a1a,0 0 0 1px #0a0a0a05;padding-bottom:.5rem;padding-top:.5rem}.mzn-playground .dropdown-item{color:#4a4a4a;display:block;font-size:.875rem;line-height:1.5;padding:.375rem 1rem;position:relative}.mzn-playground a.dropdown-item,.mzn-playground button.dropdown-item{padding-right:3rem;text-align:inherit;white-space:nowrap;width:100%}.mzn-playground a.dropdown-item:hover,.mzn-playground button.dropdown-item:hover{background-color:#f5f5f5;color:#0a0a0a}.mzn-playground a.dropdown-item.is-active,.mzn-playground button.dropdown-item.is-active{background-color:#485fc7;color:#fff}.mzn-playground .dropdown-divider{background-color:#ededed;border:none;display:block;height:1px;margin:.5rem 0}.mzn-playground .menu{font-size:1rem}.mzn-playground .menu.is-small{font-size:.75rem}.mzn-playground .menu.is-medium{font-size:1.25rem}.mzn-playground .menu.is-large{font-size:1.5rem}.mzn-playground .menu-list{line-height:1.25}.mzn-playground .menu-list a{border-radius:2px;color:#4a4a4a;display:block;padding:.5em .75em}.mzn-playground .menu-list a:hover{background-color:#f5f5f5;color:#363636}.mzn-playground .menu-list a.is-active{background-color:#485fc7;color:#fff}.mzn-playground .menu-list li ul{border-left:1px solid hsl(0,0%,86%);margin:.75em;padding-left:.75em}.mzn-playground .menu-label{color:#7a7a7a;font-size:.75em;letter-spacing:.1em;text-transform:uppercase}.mzn-playground .menu-label:not(:first-child){margin-top:1em}.mzn-playground .menu-label:not(:last-child){margin-bottom:1em}.mzn-playground .modal{align-items:center;display:none;flex-direction:column;justify-content:center;overflow:hidden;position:fixed;z-index:40}.mzn-playground .modal.is-active{display:flex}.mzn-playground .modal-background{background-color:#0a0a0adb}.mzn-playground .modal-content,.mzn-playground .modal-card{margin:0 20px;max-height:calc(100vh - 160px);overflow:auto;position:relative;width:100%}@media screen and (min-width: 769px){.mzn-playground .modal-content,.mzn-playground .modal-card{margin:0 auto;max-height:calc(100vh - 40px);width:640px}}.mzn-playground .modal-close{background:none;height:40px;position:fixed;right:20px;top:20px;width:40px}.mzn-playground .modal-card{display:flex;flex-direction:column;max-height:calc(100vh - 40px);overflow:hidden;-ms-overflow-y:visible}.mzn-playground .modal-card-head,.mzn-playground .modal-card-foot{align-items:center;background-color:#f5f5f5;display:flex;flex-shrink:0;justify-content:flex-start;padding:20px;position:relative}.mzn-playground .modal-card-head{border-bottom:1px solid hsl(0,0%,86%);border-top-left-radius:6px;border-top-right-radius:6px}.mzn-playground .modal-card-title{color:#363636;flex-grow:1;flex-shrink:0;font-size:1.5rem;line-height:1}.mzn-playground .modal-card-foot{border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:1px solid hsl(0,0%,86%)}.mzn-playground .modal-card-foot .button:not(:last-child){margin-right:.5em}.mzn-playground .modal-card-body{-webkit-overflow-scrolling:touch;background-color:#fff;flex-grow:1;flex-shrink:1;overflow:auto;padding:20px}.mzn-playground .navbar{background-color:#fff;min-height:3.25rem;position:relative;z-index:30}.mzn-playground .navbar.is-white{background-color:#fff;color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-brand>.navbar-item,.mzn-playground .navbar.is-white .navbar-brand .navbar-link{color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-white .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-white .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-white .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-white .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-white .navbar-brand .navbar-link.is-active{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-brand .navbar-link:after{border-color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-burger{color:#0a0a0a}@media screen and (min-width: 769px){.mzn-playground .navbar.is-white .navbar-start>.navbar-item,.mzn-playground .navbar.is-white .navbar-start .navbar-link,.mzn-playground .navbar.is-white .navbar-end>.navbar-item,.mzn-playground .navbar.is-white .navbar-end .navbar-link{color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-white .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-white .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-white .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-white .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-white .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-white .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-white .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-white .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-white .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-white .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-white .navbar-end .navbar-link.is-active{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-start .navbar-link:after,.mzn-playground .navbar.is-white .navbar-end .navbar-link:after{border-color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-white .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-white .navbar-item.has-dropdown.is-active .navbar-link{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-dropdown a.navbar-item.is-active{background-color:#fff;color:#0a0a0a}}.mzn-playground .navbar.is-black{background-color:#0a0a0a;color:#fff}.mzn-playground .navbar.is-black .navbar-brand>.navbar-item,.mzn-playground .navbar.is-black .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-black .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-black .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-black .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-black .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-black .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-black .navbar-brand .navbar-link.is-active{background-color:#000;color:#fff}.mzn-playground .navbar.is-black .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-black .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-black .navbar-start>.navbar-item,.mzn-playground .navbar.is-black .navbar-start .navbar-link,.mzn-playground .navbar.is-black .navbar-end>.navbar-item,.mzn-playground .navbar.is-black .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-black .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-black .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-black .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-black .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-black .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-black .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-black .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-black .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-black .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-black .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-black .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-black .navbar-end .navbar-link.is-active{background-color:#000;color:#fff}.mzn-playground .navbar.is-black .navbar-start .navbar-link:after,.mzn-playground .navbar.is-black .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-black .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-black .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-black .navbar-item.has-dropdown.is-active .navbar-link{background-color:#000;color:#fff}.mzn-playground .navbar.is-black .navbar-dropdown a.navbar-item.is-active{background-color:#0a0a0a;color:#fff}}.mzn-playground .navbar.is-light{background-color:#f5f5f5;color:#000000b3}.mzn-playground .navbar.is-light .navbar-brand>.navbar-item,.mzn-playground .navbar.is-light .navbar-brand .navbar-link{color:#000000b3}.mzn-playground .navbar.is-light .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-light .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-light .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-light .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-light .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-light .navbar-brand .navbar-link.is-active{background-color:#e8e8e8;color:#000000b3}.mzn-playground .navbar.is-light .navbar-brand .navbar-link:after{border-color:#000000b3}.mzn-playground .navbar.is-light .navbar-burger{color:#000000b3}@media screen and (min-width: 769px){.mzn-playground .navbar.is-light .navbar-start>.navbar-item,.mzn-playground .navbar.is-light .navbar-start .navbar-link,.mzn-playground .navbar.is-light .navbar-end>.navbar-item,.mzn-playground .navbar.is-light .navbar-end .navbar-link{color:#000000b3}.mzn-playground .navbar.is-light .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-light .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-light .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-light .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-light .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-light .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-light .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-light .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-light .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-light .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-light .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-light .navbar-end .navbar-link.is-active{background-color:#e8e8e8;color:#000000b3}.mzn-playground .navbar.is-light .navbar-start .navbar-link:after,.mzn-playground .navbar.is-light .navbar-end .navbar-link:after{border-color:#000000b3}.mzn-playground .navbar.is-light .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-light .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-light .navbar-item.has-dropdown.is-active .navbar-link{background-color:#e8e8e8;color:#000000b3}.mzn-playground .navbar.is-light .navbar-dropdown a.navbar-item.is-active{background-color:#f5f5f5;color:#000000b3}}.mzn-playground .navbar.is-dark{background-color:#363636;color:#fff}.mzn-playground .navbar.is-dark .navbar-brand>.navbar-item,.mzn-playground .navbar.is-dark .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-dark .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-dark .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-dark .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-dark .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-dark .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-dark .navbar-brand .navbar-link.is-active{background-color:#292929;color:#fff}.mzn-playground .navbar.is-dark .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-dark .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-dark .navbar-start>.navbar-item,.mzn-playground .navbar.is-dark .navbar-start .navbar-link,.mzn-playground .navbar.is-dark .navbar-end>.navbar-item,.mzn-playground .navbar.is-dark .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-dark .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-dark .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-dark .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-dark .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-dark .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-dark .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-dark .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-dark .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-dark .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-dark .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-dark .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-dark .navbar-end .navbar-link.is-active{background-color:#292929;color:#fff}.mzn-playground .navbar.is-dark .navbar-start .navbar-link:after,.mzn-playground .navbar.is-dark .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-dark .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-dark .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-dark .navbar-item.has-dropdown.is-active .navbar-link{background-color:#292929;color:#fff}.mzn-playground .navbar.is-dark .navbar-dropdown a.navbar-item.is-active{background-color:#363636;color:#fff}}.mzn-playground .navbar.is-primary{background-color:#1491eb;color:#fff}.mzn-playground .navbar.is-primary .navbar-brand>.navbar-item,.mzn-playground .navbar.is-primary .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-primary .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-primary .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-primary .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-primary .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-primary .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-primary .navbar-brand .navbar-link.is-active{background-color:#1283d4;color:#fff}.mzn-playground .navbar.is-primary .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-primary .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-primary .navbar-start>.navbar-item,.mzn-playground .navbar.is-primary .navbar-start .navbar-link,.mzn-playground .navbar.is-primary .navbar-end>.navbar-item,.mzn-playground .navbar.is-primary .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-primary .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-primary .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-primary .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-primary .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-primary .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-primary .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-primary .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-primary .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-primary .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-primary .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-primary .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-primary .navbar-end .navbar-link.is-active{background-color:#1283d4;color:#fff}.mzn-playground .navbar.is-primary .navbar-start .navbar-link:after,.mzn-playground .navbar.is-primary .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-primary .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-primary .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-primary .navbar-item.has-dropdown.is-active .navbar-link{background-color:#1283d4;color:#fff}.mzn-playground .navbar.is-primary .navbar-dropdown a.navbar-item.is-active{background-color:#1491eb;color:#fff}}.mzn-playground .navbar.is-link{background-color:#485fc7;color:#fff}.mzn-playground .navbar.is-link .navbar-brand>.navbar-item,.mzn-playground .navbar.is-link .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-link .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-link .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-link .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-link .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-link .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-link .navbar-brand .navbar-link.is-active{background-color:#3a51bb;color:#fff}.mzn-playground .navbar.is-link .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-link .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-link .navbar-start>.navbar-item,.mzn-playground .navbar.is-link .navbar-start .navbar-link,.mzn-playground .navbar.is-link .navbar-end>.navbar-item,.mzn-playground .navbar.is-link .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-link .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-link .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-link .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-link .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-link .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-link .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-link .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-link .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-link .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-link .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-link .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-link .navbar-end .navbar-link.is-active{background-color:#3a51bb;color:#fff}.mzn-playground .navbar.is-link .navbar-start .navbar-link:after,.mzn-playground .navbar.is-link .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-link .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-link .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-link .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3a51bb;color:#fff}.mzn-playground .navbar.is-link .navbar-dropdown a.navbar-item.is-active{background-color:#485fc7;color:#fff}}.mzn-playground .navbar.is-info{background-color:#3e8ed0;color:#fff}.mzn-playground .navbar.is-info .navbar-brand>.navbar-item,.mzn-playground .navbar.is-info .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-info .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-info .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-info .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-info .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-info .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-info .navbar-brand .navbar-link.is-active{background-color:#3082c5;color:#fff}.mzn-playground .navbar.is-info .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-info .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-info .navbar-start>.navbar-item,.mzn-playground .navbar.is-info .navbar-start .navbar-link,.mzn-playground .navbar.is-info .navbar-end>.navbar-item,.mzn-playground .navbar.is-info .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-info .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-info .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-info .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-info .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-info .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-info .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-info .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-info .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-info .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-info .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-info .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-info .navbar-end .navbar-link.is-active{background-color:#3082c5;color:#fff}.mzn-playground .navbar.is-info .navbar-start .navbar-link:after,.mzn-playground .navbar.is-info .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-info .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-info .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-info .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3082c5;color:#fff}.mzn-playground .navbar.is-info .navbar-dropdown a.navbar-item.is-active{background-color:#3e8ed0;color:#fff}}.mzn-playground .navbar.is-success{background-color:#48c78e;color:#fff}.mzn-playground .navbar.is-success .navbar-brand>.navbar-item,.mzn-playground .navbar.is-success .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-success .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-success .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-success .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-success .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-success .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-success .navbar-brand .navbar-link.is-active{background-color:#3abb81;color:#fff}.mzn-playground .navbar.is-success .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-success .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-success .navbar-start>.navbar-item,.mzn-playground .navbar.is-success .navbar-start .navbar-link,.mzn-playground .navbar.is-success .navbar-end>.navbar-item,.mzn-playground .navbar.is-success .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-success .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-success .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-success .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-success .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-success .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-success .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-success .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-success .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-success .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-success .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-success .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-success .navbar-end .navbar-link.is-active{background-color:#3abb81;color:#fff}.mzn-playground .navbar.is-success .navbar-start .navbar-link:after,.mzn-playground .navbar.is-success .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-success .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-success .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-success .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3abb81;color:#fff}.mzn-playground .navbar.is-success .navbar-dropdown a.navbar-item.is-active{background-color:#48c78e;color:#fff}}.mzn-playground .navbar.is-warning{background-color:#ffe08a;color:#000000b3}.mzn-playground .navbar.is-warning .navbar-brand>.navbar-item,.mzn-playground .navbar.is-warning .navbar-brand .navbar-link{color:#000000b3}.mzn-playground .navbar.is-warning .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-warning .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-warning .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-warning .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-warning .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-warning .navbar-brand .navbar-link.is-active{background-color:#ffd970;color:#000000b3}.mzn-playground .navbar.is-warning .navbar-brand .navbar-link:after{border-color:#000000b3}.mzn-playground .navbar.is-warning .navbar-burger{color:#000000b3}@media screen and (min-width: 769px){.mzn-playground .navbar.is-warning .navbar-start>.navbar-item,.mzn-playground .navbar.is-warning .navbar-start .navbar-link,.mzn-playground .navbar.is-warning .navbar-end>.navbar-item,.mzn-playground .navbar.is-warning .navbar-end .navbar-link{color:#000000b3}.mzn-playground .navbar.is-warning .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-warning .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-warning .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-warning .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-warning .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-warning .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-warning .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-warning .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-warning .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-warning .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-warning .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-warning .navbar-end .navbar-link.is-active{background-color:#ffd970;color:#000000b3}.mzn-playground .navbar.is-warning .navbar-start .navbar-link:after,.mzn-playground .navbar.is-warning .navbar-end .navbar-link:after{border-color:#000000b3}.mzn-playground .navbar.is-warning .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-warning .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-warning .navbar-item.has-dropdown.is-active .navbar-link{background-color:#ffd970;color:#000000b3}.mzn-playground .navbar.is-warning .navbar-dropdown a.navbar-item.is-active{background-color:#ffe08a;color:#000000b3}}.mzn-playground .navbar.is-danger{background-color:#f14668;color:#fff}.mzn-playground .navbar.is-danger .navbar-brand>.navbar-item,.mzn-playground .navbar.is-danger .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-danger .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-danger .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-danger .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-danger .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-danger .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-danger .navbar-brand .navbar-link.is-active{background-color:#ef2e55;color:#fff}.mzn-playground .navbar.is-danger .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-danger .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-danger .navbar-start>.navbar-item,.mzn-playground .navbar.is-danger .navbar-start .navbar-link,.mzn-playground .navbar.is-danger .navbar-end>.navbar-item,.mzn-playground .navbar.is-danger .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-danger .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-danger .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-danger .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-danger .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-danger .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-danger .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-danger .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-danger .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-danger .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-danger .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-danger .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-danger .navbar-end .navbar-link.is-active{background-color:#ef2e55;color:#fff}.mzn-playground .navbar.is-danger .navbar-start .navbar-link:after,.mzn-playground .navbar.is-danger .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-danger .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-danger .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-danger .navbar-item.has-dropdown.is-active .navbar-link{background-color:#ef2e55;color:#fff}.mzn-playground .navbar.is-danger .navbar-dropdown a.navbar-item.is-active{background-color:#f14668;color:#fff}}.mzn-playground .navbar>.container{align-items:stretch;display:flex;min-height:3.25rem;width:100%}.mzn-playground .navbar.has-shadow{box-shadow:0 2px #f5f5f5}.mzn-playground .navbar.is-fixed-bottom,.mzn-playground .navbar.is-fixed-top{left:0;position:fixed;right:0;z-index:30}.mzn-playground .navbar.is-fixed-bottom{bottom:0}.mzn-playground .navbar.is-fixed-bottom.has-shadow{box-shadow:0 -2px #f5f5f5}.mzn-playground .navbar.is-fixed-top{top:0}.mzn-playground html.has-navbar-fixed-top,.mzn-playground body.has-navbar-fixed-top{padding-top:3.25rem}.mzn-playground html.has-navbar-fixed-bottom,.mzn-playground body.has-navbar-fixed-bottom{padding-bottom:3.25rem}.mzn-playground .navbar-brand,.mzn-playground .navbar-tabs{align-items:stretch;display:flex;flex-shrink:0;min-height:3.25rem}.mzn-playground .navbar-brand a.navbar-item:focus,.mzn-playground .navbar-brand a.navbar-item:hover{background-color:transparent}.mzn-playground .navbar-tabs{-webkit-overflow-scrolling:touch;max-width:100vw;overflow-x:auto;overflow-y:hidden}.mzn-playground .navbar-burger{color:#4a4a4a;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;cursor:pointer;display:block;height:3.25rem;position:relative;width:3.25rem;margin-left:auto}.mzn-playground .navbar-burger span{background-color:currentColor;display:block;height:1px;left:calc(50% - 8px);position:absolute;transform-origin:center;transition-duration:86ms;transition-property:background-color,opacity,transform;transition-timing-function:ease-out;width:16px}.mzn-playground .navbar-burger span:nth-child(1){top:calc(50% - 6px)}.mzn-playground .navbar-burger span:nth-child(2){top:calc(50% - 1px)}.mzn-playground .navbar-burger span:nth-child(3){top:calc(50% + 4px)}.mzn-playground .navbar-burger:hover{background-color:#0000000d}.mzn-playground .navbar-burger.is-active span:nth-child(1){transform:translateY(5px) rotate(45deg)}.mzn-playground .navbar-burger.is-active span:nth-child(2){opacity:0}.mzn-playground .navbar-burger.is-active span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}.mzn-playground .navbar-menu{display:none}.mzn-playground .navbar-item,.mzn-playground .navbar-link{color:#4a4a4a;display:block;line-height:1.5;padding:.5rem .75rem;position:relative}.mzn-playground .navbar-item .icon:only-child,.mzn-playground .navbar-link .icon:only-child{margin-left:-.25rem;margin-right:-.25rem}.mzn-playground a.navbar-item,.mzn-playground .navbar-link{cursor:pointer}.mzn-playground a.navbar-item:focus,.mzn-playground a.navbar-item:focus-within,.mzn-playground a.navbar-item:hover,.mzn-playground a.navbar-item.is-active,.mzn-playground .navbar-link:focus,.mzn-playground .navbar-link:focus-within,.mzn-playground .navbar-link:hover,.mzn-playground .navbar-link.is-active{background-color:#fafafa;color:#485fc7}.mzn-playground .navbar-item{flex-grow:0;flex-shrink:0}.mzn-playground .navbar-item img{max-height:1.75rem}.mzn-playground .navbar-item.has-dropdown{padding:0}.mzn-playground .navbar-item.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground .navbar-item.is-tab{border-bottom:1px solid transparent;min-height:3.25rem;padding-bottom:calc(.5rem - 1px)}.mzn-playground .navbar-item.is-tab:focus,.mzn-playground .navbar-item.is-tab:hover{background-color:transparent;border-bottom-color:#485fc7}.mzn-playground .navbar-item.is-tab.is-active{background-color:transparent;border-bottom-color:#485fc7;border-bottom-style:solid;border-bottom-width:3px;color:#485fc7;padding-bottom:calc(.5rem - 3px)}.mzn-playground .navbar-content{flex-grow:1;flex-shrink:1}.mzn-playground .navbar-link:not(.is-arrowless){padding-right:2.5em}.mzn-playground .navbar-link:not(.is-arrowless):after{border-color:#485fc7;margin-top:-.375em;right:1.125em}.mzn-playground .navbar-dropdown{font-size:.875rem;padding-bottom:.5rem;padding-top:.5rem}.mzn-playground .navbar-dropdown .navbar-item{padding-left:1.5rem;padding-right:1.5rem}.mzn-playground .navbar-divider{background-color:#f5f5f5;border:none;display:none;height:2px;margin:.5rem 0}@media screen and (max-width: 768px){.mzn-playground .navbar>.container{display:block}.mzn-playground .navbar-brand .navbar-item,.mzn-playground .navbar-tabs .navbar-item{align-items:center;display:flex}.mzn-playground .navbar-link:after{display:none}.mzn-playground .navbar-menu{background-color:#fff;box-shadow:0 8px 16px #0a0a0a1a;padding:.5rem 0}.mzn-playground .navbar-menu.is-active{display:block}.mzn-playground .navbar.is-fixed-bottom-touch,.mzn-playground .navbar.is-fixed-top-touch{left:0;position:fixed;right:0;z-index:30}.mzn-playground .navbar.is-fixed-bottom-touch{bottom:0}.mzn-playground .navbar.is-fixed-bottom-touch.has-shadow{box-shadow:0 -2px 3px #0a0a0a1a}.mzn-playground .navbar.is-fixed-top-touch{top:0}.mzn-playground .navbar.is-fixed-top .navbar-menu,.mzn-playground .navbar.is-fixed-top-touch .navbar-menu{-webkit-overflow-scrolling:touch;max-height:calc(100vh - 3.25rem);overflow:auto}.mzn-playground html.has-navbar-fixed-top-touch,.mzn-playground body.has-navbar-fixed-top-touch{padding-top:3.25rem}.mzn-playground html.has-navbar-fixed-bottom-touch,.mzn-playground body.has-navbar-fixed-bottom-touch{padding-bottom:3.25rem}}@media screen and (min-width: 769px){.mzn-playground .navbar,.mzn-playground .navbar-menu,.mzn-playground .navbar-start,.mzn-playground .navbar-end{align-items:stretch;display:flex}.mzn-playground .navbar{min-height:3.25rem}.mzn-playground .navbar.is-spaced{padding:1rem 2rem}.mzn-playground .navbar.is-spaced .navbar-start,.mzn-playground .navbar.is-spaced .navbar-end{align-items:center}.mzn-playground .navbar.is-spaced a.navbar-item,.mzn-playground .navbar.is-spaced .navbar-link{border-radius:4px}.mzn-playground .navbar.is-transparent a.navbar-item:focus,.mzn-playground .navbar.is-transparent a.navbar-item:hover,.mzn-playground .navbar.is-transparent a.navbar-item.is-active,.mzn-playground .navbar.is-transparent .navbar-link:focus,.mzn-playground .navbar.is-transparent .navbar-link:hover,.mzn-playground .navbar.is-transparent .navbar-link.is-active{background-color:transparent!important}.mzn-playground .navbar.is-transparent .navbar-item.has-dropdown.is-active .navbar-link,.mzn-playground .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus .navbar-link,.mzn-playground .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus-within .navbar-link,.mzn-playground .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:hover .navbar-link{background-color:transparent!important}.mzn-playground .navbar.is-transparent .navbar-dropdown a.navbar-item:focus,.mzn-playground .navbar.is-transparent .navbar-dropdown a.navbar-item:hover{background-color:#f5f5f5;color:#0a0a0a}.mzn-playground .navbar.is-transparent .navbar-dropdown a.navbar-item.is-active{background-color:#f5f5f5;color:#485fc7}.mzn-playground .navbar-burger{display:none}.mzn-playground .navbar-item,.mzn-playground .navbar-link{align-items:center;display:flex}.mzn-playground .navbar-item.has-dropdown{align-items:stretch}.mzn-playground .navbar-item.has-dropdown-up .navbar-link:after{transform:rotate(135deg) translate(.25em,-.25em)}.mzn-playground .navbar-item.has-dropdown-up .navbar-dropdown{border-bottom:2px solid hsl(0,0%,86%);border-radius:6px 6px 0 0;border-top:none;bottom:100%;box-shadow:0 -8px 8px #0a0a0a1a;top:auto}.mzn-playground .navbar-item.is-active .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:focus .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:focus-within .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:hover .navbar-dropdown{display:block}.navbar.is-spaced .mzn-playground .navbar-item.is-active .navbar-dropdown,.mzn-playground .navbar-item.is-active .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground .navbar-item.is-hoverable:focus .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:focus .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground .navbar-item.is-hoverable:focus-within .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:focus-within .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground .navbar-item.is-hoverable:hover .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:hover .navbar-dropdown.is-boxed{opacity:1;pointer-events:auto;transform:translateY(0)}.mzn-playground .navbar-menu{flex-grow:1;flex-shrink:0}.mzn-playground .navbar-start{justify-content:flex-start;margin-right:auto}.mzn-playground .navbar-end{justify-content:flex-end;margin-left:auto}.mzn-playground .navbar-dropdown{background-color:#fff;border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:2px solid hsl(0,0%,86%);box-shadow:0 8px 8px #0a0a0a1a;display:none;font-size:.875rem;left:0;min-width:100%;position:absolute;top:100%;z-index:20}.mzn-playground .navbar-dropdown .navbar-item{padding:.375rem 1rem;white-space:nowrap}.mzn-playground .navbar-dropdown a.navbar-item{padding-right:3rem}.mzn-playground .navbar-dropdown a.navbar-item:focus,.mzn-playground .navbar-dropdown a.navbar-item:hover{background-color:#f5f5f5;color:#0a0a0a}.mzn-playground .navbar-dropdown a.navbar-item.is-active{background-color:#f5f5f5;color:#485fc7}.navbar.is-spaced .mzn-playground .navbar-dropdown,.mzn-playground .navbar-dropdown.is-boxed{border-radius:6px;border-top:none;box-shadow:0 8px 8px #0a0a0a1a,0 0 0 1px #0a0a0a1a;display:block;opacity:0;pointer-events:none;top:calc(100% - 4px);transform:translateY(-5px);transition-duration:86ms;transition-property:opacity,transform}.mzn-playground .navbar-dropdown.is-right{left:auto;right:0}.mzn-playground .navbar-divider{display:block}.mzn-playground .navbar>.container .navbar-brand,.mzn-playground .container>.navbar .navbar-brand{margin-left:-.75rem}.mzn-playground .navbar>.container .navbar-menu,.mzn-playground .container>.navbar .navbar-menu{margin-right:-.75rem}.mzn-playground .navbar.is-fixed-bottom-desktop,.mzn-playground .navbar.is-fixed-top-desktop{left:0;position:fixed;right:0;z-index:30}.mzn-playground .navbar.is-fixed-bottom-desktop{bottom:0}.mzn-playground .navbar.is-fixed-bottom-desktop.has-shadow{box-shadow:0 -2px 3px #0a0a0a1a}.mzn-playground .navbar.is-fixed-top-desktop{top:0}.mzn-playground html.has-navbar-fixed-top-desktop,.mzn-playground body.has-navbar-fixed-top-desktop{padding-top:3.25rem}.mzn-playground html.has-navbar-fixed-bottom-desktop,.mzn-playground body.has-navbar-fixed-bottom-desktop{padding-bottom:3.25rem}.mzn-playground html.has-spaced-navbar-fixed-top,.mzn-playground body.has-spaced-navbar-fixed-top{padding-top:5.25rem}.mzn-playground html.has-spaced-navbar-fixed-bottom,.mzn-playground body.has-spaced-navbar-fixed-bottom{padding-bottom:5.25rem}.mzn-playground a.navbar-item.is-active,.mzn-playground .navbar-link.is-active{color:#0a0a0a}.mzn-playground a.navbar-item.is-active:not(:focus):not(:hover),.mzn-playground .navbar-link.is-active:not(:focus):not(:hover){background-color:transparent}.mzn-playground .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar-item.has-dropdown.is-active .navbar-link{background-color:#fafafa}}.mzn-playground .hero.is-fullheight-with-navbar{min-height:calc(100vh - 3.25rem)}.mzn-playground .panel{border-radius:6px;box-shadow:0 .5em 1em -.125em #0a0a0a1a,0 0 0 1px #0a0a0a05;font-size:1rem}.mzn-playground .panel:not(:last-child){margin-bottom:1.5rem}.mzn-playground .panel.is-white .panel-heading{background-color:#fff;color:#0a0a0a}.mzn-playground .panel.is-white .panel-tabs a.is-active{border-bottom-color:#fff}.mzn-playground .panel.is-white .panel-block.is-active .panel-icon{color:#fff}.mzn-playground .panel.is-black .panel-heading{background-color:#0a0a0a;color:#fff}.mzn-playground .panel.is-black .panel-tabs a.is-active{border-bottom-color:#0a0a0a}.mzn-playground .panel.is-black .panel-block.is-active .panel-icon{color:#0a0a0a}.mzn-playground .panel.is-light .panel-heading{background-color:#f5f5f5;color:#000000b3}.mzn-playground .panel.is-light .panel-tabs a.is-active{border-bottom-color:#f5f5f5}.mzn-playground .panel.is-light .panel-block.is-active .panel-icon{color:#f5f5f5}.mzn-playground .panel.is-dark .panel-heading{background-color:#363636;color:#fff}.mzn-playground .panel.is-dark .panel-tabs a.is-active{border-bottom-color:#363636}.mzn-playground .panel.is-dark .panel-block.is-active .panel-icon{color:#363636}.mzn-playground .panel.is-primary .panel-heading{background-color:#1491eb;color:#fff}.mzn-playground .panel.is-primary .panel-tabs a.is-active{border-bottom-color:#1491eb}.mzn-playground .panel.is-primary .panel-block.is-active .panel-icon{color:#1491eb}.mzn-playground .panel.is-link .panel-heading{background-color:#485fc7;color:#fff}.mzn-playground .panel.is-link .panel-tabs a.is-active{border-bottom-color:#485fc7}.mzn-playground .panel.is-link .panel-block.is-active .panel-icon{color:#485fc7}.mzn-playground .panel.is-info .panel-heading{background-color:#3e8ed0;color:#fff}.mzn-playground .panel.is-info .panel-tabs a.is-active{border-bottom-color:#3e8ed0}.mzn-playground .panel.is-info .panel-block.is-active .panel-icon{color:#3e8ed0}.mzn-playground .panel.is-success .panel-heading{background-color:#48c78e;color:#fff}.mzn-playground .panel.is-success .panel-tabs a.is-active{border-bottom-color:#48c78e}.mzn-playground .panel.is-success .panel-block.is-active .panel-icon{color:#48c78e}.mzn-playground .panel.is-warning .panel-heading{background-color:#ffe08a;color:#000000b3}.mzn-playground .panel.is-warning .panel-tabs a.is-active{border-bottom-color:#ffe08a}.mzn-playground .panel.is-warning .panel-block.is-active .panel-icon{color:#ffe08a}.mzn-playground .panel.is-danger .panel-heading{background-color:#f14668;color:#fff}.mzn-playground .panel.is-danger .panel-tabs a.is-active{border-bottom-color:#f14668}.mzn-playground .panel.is-danger .panel-block.is-active .panel-icon{color:#f14668}.mzn-playground .panel-tabs:not(:last-child),.mzn-playground .panel-block:not(:last-child){border-bottom:1px solid hsl(0,0%,93%)}.mzn-playground .panel-heading{background-color:#ededed;border-radius:6px 6px 0 0;color:#363636;font-size:1.25em;font-weight:700;line-height:1.25;padding:.75em 1em}.mzn-playground .panel-tabs{align-items:flex-end;display:flex;font-size:.875em;justify-content:center}.mzn-playground .panel-tabs a{border-bottom:1px solid hsl(0,0%,86%);margin-bottom:-1px;padding:.5em}.mzn-playground .panel-tabs a.is-active{border-bottom-color:#4a4a4a;color:#363636}.mzn-playground .panel-list a{color:#4a4a4a}.mzn-playground .panel-list a:hover{color:#485fc7}.mzn-playground .panel-block{align-items:center;color:#363636;display:flex;justify-content:flex-start;padding:.5em .75em}.mzn-playground .panel-block input[type=checkbox]{margin-right:.75em}.mzn-playground .panel-block>.control{flex-grow:1;flex-shrink:1;width:100%}.mzn-playground .panel-block.is-wrapped{flex-wrap:wrap}.mzn-playground .panel-block.is-active{border-left-color:#485fc7;color:#363636}.mzn-playground .panel-block.is-active .panel-icon{color:#485fc7}.mzn-playground .panel-block:last-child{border-bottom-left-radius:6px;border-bottom-right-radius:6px}.mzn-playground a.panel-block,.mzn-playground label.panel-block{cursor:pointer}.mzn-playground a.panel-block:hover,.mzn-playground label.panel-block:hover{background-color:#f5f5f5}.mzn-playground .panel-icon{display:inline-block;font-size:14px;height:1em;line-height:1em;text-align:center;vertical-align:top;width:1em;color:#7a7a7a;margin-right:.75em}.mzn-playground .panel-icon .fa{font-size:inherit;line-height:inherit}.mzn-playground .tabs{-webkit-overflow-scrolling:touch;align-items:stretch;display:flex;font-size:1rem;justify-content:space-between;overflow:hidden;overflow-x:auto;white-space:nowrap}.mzn-playground .tabs a{align-items:center;border-bottom-color:#dbdbdb;border-bottom-style:solid;border-bottom-width:1px;color:#4a4a4a;display:flex;justify-content:center;margin-bottom:-1px;padding:.5em 1em;vertical-align:top}.mzn-playground .tabs a:hover{border-bottom-color:#363636;color:#363636}.mzn-playground .tabs li{display:block}.mzn-playground .tabs li.is-active a{border-bottom-color:#485fc7;color:#485fc7}.mzn-playground .tabs ul{align-items:center;border-bottom-color:#dbdbdb;border-bottom-style:solid;border-bottom-width:1px;display:flex;flex-grow:1;flex-shrink:0;justify-content:flex-start}.mzn-playground .tabs ul.is-left{padding-right:.75em}.mzn-playground .tabs ul.is-center{flex:none;justify-content:center;padding-left:.75em;padding-right:.75em}.mzn-playground .tabs ul.is-right{justify-content:flex-end;padding-left:.75em}.mzn-playground .tabs .icon:first-child{margin-right:.5em}.mzn-playground .tabs .icon:last-child{margin-left:.5em}.mzn-playground .tabs.is-centered ul{justify-content:center}.mzn-playground .tabs.is-right ul{justify-content:flex-end}.mzn-playground .tabs.is-boxed a{border:1px solid transparent;border-radius:4px 4px 0 0}.mzn-playground .tabs.is-boxed a:hover{background-color:#f5f5f5;border-bottom-color:#dbdbdb}.mzn-playground .tabs.is-boxed li.is-active a{background-color:#fff;border-color:#dbdbdb;border-bottom-color:transparent!important}.mzn-playground .tabs.is-fullwidth li{flex-grow:1;flex-shrink:0}.mzn-playground .tabs.is-toggle a{border-color:#dbdbdb;border-style:solid;border-width:1px;margin-bottom:0;position:relative}.mzn-playground .tabs.is-toggle a:hover{background-color:#f5f5f5;border-color:#b5b5b5;z-index:2}.mzn-playground .tabs.is-toggle li+li{margin-left:-1px}.mzn-playground .tabs.is-toggle li:first-child a{border-top-left-radius:4px;border-bottom-left-radius:4px}.mzn-playground .tabs.is-toggle li:last-child a{border-top-right-radius:4px;border-bottom-right-radius:4px}.mzn-playground .tabs.is-toggle li.is-active a{background-color:#485fc7;border-color:#485fc7;color:#fff;z-index:1}.mzn-playground .tabs.is-toggle ul{border-bottom:none}.mzn-playground .tabs.is-toggle.is-toggle-rounded li:first-child a{border-bottom-left-radius:9999px;border-top-left-radius:9999px;padding-left:1.25em}.mzn-playground .tabs.is-toggle.is-toggle-rounded li:last-child a{border-bottom-right-radius:9999px;border-top-right-radius:9999px;padding-right:1.25em}.mzn-playground .tabs.is-small{font-size:.75rem}.mzn-playground .tabs.is-medium{font-size:1.25rem}.mzn-playground .tabs.is-large{font-size:1.5rem}.mzn-playground .is-block{display:block!important}@media screen and (max-width: 768px){.mzn-playground .is-block-mobile{display:block!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-block-tablet{display:block!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-block-tablet-only{display:block!important}}@media screen and (max-width: 1023px){.mzn-playground .is-block-touch{display:block!important}}@media screen and (min-width: 1024px){.mzn-playground .is-block-desktop{display:block!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-block-desktop-only{display:block!important}}@media screen and (min-width: 1216px){.mzn-playground .is-block-widescreen{display:block!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-block-widescreen-only{display:block!important}}@media screen and (min-width: 1408px){.mzn-playground .is-block-fullhd{display:block!important}}.mzn-playground .is-flex{display:flex!important}@media screen and (max-width: 768px){.mzn-playground .is-flex-mobile{display:flex!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-flex-tablet{display:flex!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-flex-tablet-only{display:flex!important}}@media screen and (max-width: 1023px){.mzn-playground .is-flex-touch{display:flex!important}}@media screen and (min-width: 1024px){.mzn-playground .is-flex-desktop{display:flex!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-flex-desktop-only{display:flex!important}}@media screen and (min-width: 1216px){.mzn-playground .is-flex-widescreen{display:flex!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-flex-widescreen-only{display:flex!important}}@media screen and (min-width: 1408px){.mzn-playground .is-flex-fullhd{display:flex!important}}.mzn-playground .is-inline{display:inline!important}@media screen and (max-width: 768px){.mzn-playground .is-inline-mobile{display:inline!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-inline-tablet{display:inline!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-inline-tablet-only{display:inline!important}}@media screen and (max-width: 1023px){.mzn-playground .is-inline-touch{display:inline!important}}@media screen and (min-width: 1024px){.mzn-playground .is-inline-desktop{display:inline!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-inline-desktop-only{display:inline!important}}@media screen and (min-width: 1216px){.mzn-playground .is-inline-widescreen{display:inline!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-inline-widescreen-only{display:inline!important}}@media screen and (min-width: 1408px){.mzn-playground .is-inline-fullhd{display:inline!important}}.mzn-playground .is-inline-block{display:inline-block!important}@media screen and (max-width: 768px){.mzn-playground .is-inline-block-mobile{display:inline-block!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-inline-block-tablet{display:inline-block!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-inline-block-tablet-only{display:inline-block!important}}@media screen and (max-width: 1023px){.mzn-playground .is-inline-block-touch{display:inline-block!important}}@media screen and (min-width: 1024px){.mzn-playground .is-inline-block-desktop{display:inline-block!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-inline-block-desktop-only{display:inline-block!important}}@media screen and (min-width: 1216px){.mzn-playground .is-inline-block-widescreen{display:inline-block!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-inline-block-widescreen-only{display:inline-block!important}}@media screen and (min-width: 1408px){.mzn-playground .is-inline-block-fullhd{display:inline-block!important}}.mzn-playground .is-inline-flex{display:inline-flex!important}@media screen and (max-width: 768px){.mzn-playground .is-inline-flex-mobile{display:inline-flex!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-inline-flex-tablet{display:inline-flex!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-inline-flex-tablet-only{display:inline-flex!important}}@media screen and (max-width: 1023px){.mzn-playground .is-inline-flex-touch{display:inline-flex!important}}@media screen and (min-width: 1024px){.mzn-playground .is-inline-flex-desktop{display:inline-flex!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-inline-flex-desktop-only{display:inline-flex!important}}@media screen and (min-width: 1216px){.mzn-playground .is-inline-flex-widescreen{display:inline-flex!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-inline-flex-widescreen-only{display:inline-flex!important}}@media screen and (min-width: 1408px){.mzn-playground .is-inline-flex-fullhd{display:inline-flex!important}}.mzn-playground .is-hidden{display:none!important}.mzn-playground .is-sr-only{border:none!important;clip:rect(0,0,0,0)!important;height:.01em!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:.01em!important}@media screen and (max-width: 768px){.mzn-playground .is-hidden-mobile{display:none!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-hidden-tablet{display:none!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-hidden-tablet-only{display:none!important}}@media screen and (max-width: 1023px){.mzn-playground .is-hidden-touch{display:none!important}}@media screen and (min-width: 1024px){.mzn-playground .is-hidden-desktop{display:none!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-hidden-desktop-only{display:none!important}}@media screen and (min-width: 1216px){.mzn-playground .is-hidden-widescreen{display:none!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-hidden-widescreen-only{display:none!important}}@media screen and (min-width: 1408px){.mzn-playground .is-hidden-fullhd{display:none!important}}.mzn-playground .is-invisible{visibility:hidden!important}@media screen and (max-width: 768px){.mzn-playground .is-invisible-mobile{visibility:hidden!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-invisible-tablet{visibility:hidden!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-invisible-tablet-only{visibility:hidden!important}}@media screen and (max-width: 1023px){.mzn-playground .is-invisible-touch{visibility:hidden!important}}@media screen and (min-width: 1024px){.mzn-playground .is-invisible-desktop{visibility:hidden!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-invisible-desktop-only{visibility:hidden!important}}@media screen and (min-width: 1216px){.mzn-playground .is-invisible-widescreen{visibility:hidden!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-invisible-widescreen-only{visibility:hidden!important}}@media screen and (min-width: 1408px){.mzn-playground .is-invisible-fullhd{visibility:hidden!important}}.mzn-playground{box-sizing:border-box;background-color:#fff;font-size:16px;min-width:300px;font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif;color:#4a4a4a;font-size:1em;font-weight:400;line-height:1.5}.mzn-playground .navbar-item,.mzn-playground .navbar-link{padding:.5rem}.mzn-playground.is-dark{--mzn-playground-border: hsl(0, 0%, 29%);--mzn-playground-input-background-color: hsl(0, 0%, 12%);--mzn-playground-splitter: hsl(0, 0%, 29%);--mzn-playground-gray: gray;--mzn-playground-blue: #33beff;--mzn-playground-red: red;--mzn-playground-yellow: #d1d100}.mzn-playground.is-dark .file-cta,.mzn-playground.is-dark .file-name,.mzn-playground.is-dark .select select,.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input,.mzn-playground.is-dark .button{-moz-appearance:none;-webkit-appearance:none;align-items:center;border:1px solid transparent;border-radius:4px;box-shadow:none;display:inline-flex;font-size:1rem;height:2.5em;justify-content:flex-start;line-height:1.5;padding-bottom:calc(.5em - 1px);padding-left:calc(.75em - 1px);padding-right:calc(.75em - 1px);padding-top:calc(.5em - 1px);position:relative;vertical-align:top}.mzn-playground.is-dark .file-cta:focus,.mzn-playground.is-dark .file-name:focus,.mzn-playground.is-dark .select select:focus,.mzn-playground.is-dark .textarea:focus,.mzn-playground.is-dark .input:focus,.mzn-playground.is-dark .button:focus,.mzn-playground.is-dark .is-focused.file-cta,.mzn-playground.is-dark .is-focused.file-name,.mzn-playground.is-dark .select select.is-focused,.mzn-playground.is-dark .is-focused.textarea,.mzn-playground.is-dark .is-focused.input,.mzn-playground.is-dark .is-focused.button,.mzn-playground.is-dark .file-cta:active,.mzn-playground.is-dark .file-name:active,.mzn-playground.is-dark .select select:active,.mzn-playground.is-dark .textarea:active,.mzn-playground.is-dark .input:active,.mzn-playground.is-dark .button:active,.mzn-playground.is-dark .is-active.file-cta,.mzn-playground.is-dark .is-active.file-name,.mzn-playground.is-dark .select select.is-active,.mzn-playground.is-dark .is-active.textarea,.mzn-playground.is-dark .is-active.input,.mzn-playground.is-dark .is-active.button{outline:none}.mzn-playground.is-dark [disabled].file-cta,.mzn-playground.is-dark [disabled].file-name,.mzn-playground.is-dark .select select[disabled],.mzn-playground.is-dark [disabled].textarea,.mzn-playground.is-dark [disabled].input,.mzn-playground.is-dark [disabled].button,fieldset[disabled] .mzn-playground.is-dark .file-cta,fieldset[disabled] .mzn-playground.is-dark .file-name,fieldset[disabled] .mzn-playground.is-dark .select select,fieldset[disabled] .mzn-playground.is-dark .textarea,fieldset[disabled] .mzn-playground.is-dark .input,fieldset[disabled] .mzn-playground.is-dark .button{cursor:not-allowed}.mzn-playground.is-dark .tabs,.mzn-playground.is-dark .file,.mzn-playground.is-dark .button{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mzn-playground.is-dark .navbar-link:not(.is-arrowless):after,.mzn-playground.is-dark .select:not(.is-multiple):not(.is-loading):after{border:3px solid transparent;border-radius:2px;border-right:0;border-top:0;content:" ";display:block;height:.625em;margin-top:-.4375em;pointer-events:none;position:absolute;top:50%;transform:rotate(-45deg);transform-origin:center;width:.625em}.mzn-playground.is-dark .tabs:not(:last-child),.mzn-playground.is-dark .block:not(:last-child),.mzn-playground.is-dark .table-container:not(:last-child),.mzn-playground.is-dark .table:not(:last-child){margin-bottom:1.5rem}.mzn-playground.is-dark .modal-close,.mzn-playground.is-dark .delete{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-moz-appearance:none;-webkit-appearance:none;background-color:#0a0a0a33;border:none;border-radius:9999px;cursor:pointer;pointer-events:auto;display:inline-block;flex-grow:0;flex-shrink:0;font-size:0;height:20px;max-height:20px;max-width:20px;min-height:20px;min-width:20px;outline:none;position:relative;vertical-align:top;width:20px}.mzn-playground.is-dark .modal-close:before,.mzn-playground.is-dark .delete:before,.mzn-playground.is-dark .modal-close:after,.mzn-playground.is-dark .delete:after{background-color:#292929;content:"";display:block;left:50%;position:absolute;top:50%;transform:translate(-50%) translateY(-50%) rotate(45deg);transform-origin:center center}.mzn-playground.is-dark .modal-close:before,.mzn-playground.is-dark .delete:before{height:2px;width:50%}.mzn-playground.is-dark .modal-close:after,.mzn-playground.is-dark .delete:after{height:50%;width:2px}.mzn-playground.is-dark .modal-close:hover,.mzn-playground.is-dark .delete:hover,.mzn-playground.is-dark .modal-close:focus,.mzn-playground.is-dark .delete:focus{background-color:#0a0a0a4d}.mzn-playground.is-dark .modal-close:active,.mzn-playground.is-dark .delete:active{background-color:#0a0a0a66}.mzn-playground.is-dark .is-small.modal-close,.mzn-playground.is-dark .is-small.delete{height:16px;max-height:16px;max-width:16px;min-height:16px;min-width:16px;width:16px}.mzn-playground.is-dark .is-medium.modal-close,.mzn-playground.is-dark .is-medium.delete{height:24px;max-height:24px;max-width:24px;min-height:24px;min-width:24px;width:24px}.mzn-playground.is-dark .is-large.modal-close,.mzn-playground.is-dark .is-large.delete{height:32px;max-height:32px;max-width:32px;min-height:32px;min-width:32px;width:32px}.mzn-playground.is-dark .control.is-loading:after,.mzn-playground.is-dark .select.is-loading:after,.mzn-playground.is-dark .loader,.mzn-playground.is-dark .button.is-loading:after{animation:spinAround .5s infinite linear;border:2px solid hsl(0,0%,86%);border-radius:9999px;border-right-color:transparent;border-top-color:transparent;content:"";display:block;height:1em;position:relative;width:1em}.mzn-playground.is-dark .modal-background,.mzn-playground.is-dark .modal{bottom:0;left:0;position:absolute;right:0;top:0}.mzn-playground.is-dark .navbar-burger{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;color:currentColor;font-family:inherit;font-size:1em;margin:0;padding:0}.mzn-playground.is-dark html,.mzn-playground.is-dark body,.mzn-playground.is-dark p,.mzn-playground.is-dark ol,.mzn-playground.is-dark ul,.mzn-playground.is-dark li,.mzn-playground.is-dark dl,.mzn-playground.is-dark dt,.mzn-playground.is-dark dd,.mzn-playground.is-dark blockquote,.mzn-playground.is-dark figure,.mzn-playground.is-dark fieldset,.mzn-playground.is-dark legend,.mzn-playground.is-dark textarea,.mzn-playground.is-dark pre,.mzn-playground.is-dark iframe,.mzn-playground.is-dark hr,.mzn-playground.is-dark h1,.mzn-playground.is-dark h2,.mzn-playground.is-dark h3,.mzn-playground.is-dark h4,.mzn-playground.is-dark h5,.mzn-playground.is-dark h6{margin:0;padding:0}.mzn-playground.is-dark h1,.mzn-playground.is-dark h2,.mzn-playground.is-dark h3,.mzn-playground.is-dark h4,.mzn-playground.is-dark h5,.mzn-playground.is-dark h6{font-size:100%;font-weight:400}.mzn-playground.is-dark ul{list-style:none}.mzn-playground.is-dark button,.mzn-playground.is-dark input,.mzn-playground.is-dark select,.mzn-playground.is-dark textarea{margin:0}.mzn-playground.is-dark html{box-sizing:border-box}.mzn-playground.is-dark *,.mzn-playground.is-dark *:before,.mzn-playground.is-dark *:after{box-sizing:inherit}.mzn-playground.is-dark img,.mzn-playground.is-dark video{height:auto;max-width:100%}.mzn-playground.is-dark iframe{border:0}.mzn-playground.is-dark table{border-collapse:collapse;border-spacing:0}.mzn-playground.is-dark td,.mzn-playground.is-dark th{padding:0}.mzn-playground.is-dark td:not([align]),.mzn-playground.is-dark th:not([align]){text-align:inherit}.mzn-playground.is-dark html{background-color:#292929;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;min-width:300px;overflow-x:hidden;overflow-y:scroll;text-rendering:optimizeLegibility;text-size-adjust:100%}.mzn-playground.is-dark article,.mzn-playground.is-dark aside,.mzn-playground.is-dark figure,.mzn-playground.is-dark footer,.mzn-playground.is-dark header,.mzn-playground.is-dark hgroup,.mzn-playground.is-dark section{display:block}.mzn-playground.is-dark body,.mzn-playground.is-dark button,.mzn-playground.is-dark input,.mzn-playground.is-dark optgroup,.mzn-playground.is-dark select,.mzn-playground.is-dark textarea{font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif}.mzn-playground.is-dark code,.mzn-playground.is-dark pre{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:auto;font-family:monospace}.mzn-playground.is-dark body{color:#ffebeb;font-size:1em;font-weight:400;line-height:1.5}.mzn-playground.is-dark a{color:#6294ff;cursor:pointer;text-decoration:none}.mzn-playground.is-dark a strong{color:currentColor}.mzn-playground.is-dark a:hover{color:#b5b5b5}.mzn-playground.is-dark code{background-color:#141414;color:#da1039;font-size:.875em;font-weight:400;padding:.25em .5em}.mzn-playground.is-dark hr{background-color:#141414;border:none;display:block;height:2px;margin:1.5rem 0}.mzn-playground.is-dark img{height:auto;max-width:100%}.mzn-playground.is-dark input[type=checkbox],.mzn-playground.is-dark input[type=radio]{vertical-align:baseline}.mzn-playground.is-dark small{font-size:.875em}.mzn-playground.is-dark span{font-style:inherit;font-weight:inherit}.mzn-playground.is-dark strong{color:#fff;font-weight:700}.mzn-playground.is-dark fieldset{border:none}.mzn-playground.is-dark pre{-webkit-overflow-scrolling:touch;background-color:#141414;color:#ffebeb;font-size:1em;overflow-x:auto;padding:1.25rem 1.5rem;white-space:pre;word-wrap:normal}.mzn-playground.is-dark pre code{background-color:transparent;color:currentColor;font-size:1em;padding:0}.mzn-playground.is-dark table td,.mzn-playground.is-dark table th{vertical-align:top}.mzn-playground.is-dark table td:not([align]),.mzn-playground.is-dark table th:not([align]){text-align:inherit}.mzn-playground.is-dark table th{color:#fff}@keyframes spinAround{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.mzn-playground.is-dark .button{background-color:#1f1f1f;border-color:#4a4a4a;border-width:1px;color:#fff;cursor:pointer;justify-content:center;padding-bottom:calc(.5em - 1px);padding-left:1em;padding-right:1em;padding-top:calc(.5em - 1px);text-align:center;white-space:nowrap}.mzn-playground.is-dark .button strong{color:inherit}.mzn-playground.is-dark .button .icon,.mzn-playground.is-dark .button .icon.is-small,.mzn-playground.is-dark .button .icon.is-medium,.mzn-playground.is-dark .button .icon.is-large{height:1.5em;width:1.5em}.mzn-playground.is-dark .button .icon:first-child:not(:last-child){margin-left:calc(-.5em - 1px);margin-right:.25em}.mzn-playground.is-dark .button .icon:last-child:not(:first-child){margin-left:.25em;margin-right:calc(-.5em - 1px)}.mzn-playground.is-dark .button .icon:first-child:last-child{margin-left:calc(-.5em - 1px);margin-right:calc(-.5em - 1px)}.mzn-playground.is-dark .button:hover,.mzn-playground.is-dark .button.is-hovered{border-color:#4a4a4a;color:#b5b5b5}.mzn-playground.is-dark .button:focus,.mzn-playground.is-dark .button.is-focused{border-color:#3850b7;color:#c9c9c9}.mzn-playground.is-dark .button:focus:not(:active),.mzn-playground.is-dark .button.is-focused:not(:active){box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .button:active,.mzn-playground.is-dark .button.is-active{border-color:#b5b5b5;color:#c9c9c9}.mzn-playground.is-dark .button.is-text{background-color:transparent;border-color:transparent;color:#ffebeb;text-decoration:underline}.mzn-playground.is-dark .button.is-text:hover,.mzn-playground.is-dark .button.is-text.is-hovered,.mzn-playground.is-dark .button.is-text:focus,.mzn-playground.is-dark .button.is-text.is-focused{background-color:#141414;color:#fff}.mzn-playground.is-dark .button.is-text:active,.mzn-playground.is-dark .button.is-text.is-active{background-color:#080808;color:#fff}.mzn-playground.is-dark .button.is-text[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-text{background-color:transparent;border-color:transparent;box-shadow:none}.mzn-playground.is-dark .button.is-ghost{background:none;border-color:transparent;color:#6294ff;text-decoration:none}.mzn-playground.is-dark .button.is-ghost:hover,.mzn-playground.is-dark .button.is-ghost.is-hovered{color:#6294ff;text-decoration:underline}.mzn-playground.is-dark .button.is-white{background-color:#fff;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .button.is-white:hover,.mzn-playground.is-dark .button.is-white.is-hovered{background-color:#f9f9f9;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .button.is-white:focus,.mzn-playground.is-dark .button.is-white.is-focused{border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .button.is-white:focus:not(:active),.mzn-playground.is-dark .button.is-white.is-focused:not(:active){box-shadow:0 0 0 .125em #ffffff40}.mzn-playground.is-dark .button.is-white:active,.mzn-playground.is-dark .button.is-white.is-active{background-color:#f2f2f2;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .button.is-white[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-white{background-color:#fff;border-color:#fff;box-shadow:none}.mzn-playground.is-dark .button.is-white.is-inverted{background-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .button.is-white.is-inverted:hover,.mzn-playground.is-dark .button.is-white.is-inverted.is-hovered{background-color:#000}.mzn-playground.is-dark .button.is-white.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-white.is-inverted{background-color:#0a0a0a;border-color:transparent;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-white.is-loading:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground.is-dark .button.is-white.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-white.is-outlined:hover,.mzn-playground.is-dark .button.is-white.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-white.is-outlined:focus,.mzn-playground.is-dark .button.is-white.is-outlined.is-focused{background-color:#fff;border-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .button.is-white.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground.is-dark .button.is-white.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-white.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-white.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-white.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground.is-dark .button.is-white.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-white.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined{background-color:transparent;border-color:#0a0a0a;color:#0a0a0a}.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-focused{background-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-white.is-inverted.is-outlined{background-color:transparent;border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.mzn-playground.is-dark .button.is-black{background-color:#0a0a0a;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-black:hover,.mzn-playground.is-dark .button.is-black.is-hovered{background-color:#040404;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-black:focus,.mzn-playground.is-dark .button.is-black.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-black:focus:not(:active),.mzn-playground.is-dark .button.is-black.is-focused:not(:active){box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground.is-dark .button.is-black:active,.mzn-playground.is-dark .button.is-black.is-active{background-color:#000;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-black[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-black{background-color:#0a0a0a;border-color:#0a0a0a;box-shadow:none}.mzn-playground.is-dark .button.is-black.is-inverted{background-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-inverted:hover,.mzn-playground.is-dark .button.is-black.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-black.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-black.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-loading:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground.is-dark .button.is-black.is-outlined{background-color:transparent;border-color:#0a0a0a;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-outlined:hover,.mzn-playground.is-dark .button.is-black.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-black.is-outlined:focus,.mzn-playground.is-dark .button.is-black.is-outlined.is-focused{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .button.is-black.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground.is-dark .button.is-black.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-black.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-black.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-black.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground.is-dark .button.is-black.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-black.is-outlined{background-color:transparent;border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-focused{background-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-black.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-light{background-color:#f5f5f5;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-light:hover,.mzn-playground.is-dark .button.is-light.is-hovered{background-color:#eee;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-light:focus,.mzn-playground.is-dark .button.is-light.is-focused{border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-light:focus:not(:active),.mzn-playground.is-dark .button.is-light.is-focused:not(:active){box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground.is-dark .button.is-light:active,.mzn-playground.is-dark .button.is-light.is-active{background-color:#e8e8e8;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-light[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-light{background-color:#f5f5f5;border-color:#f5f5f5;box-shadow:none}.mzn-playground.is-dark .button.is-light.is-inverted{background-color:#000000b3;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-inverted:hover,.mzn-playground.is-dark .button.is-light.is-inverted.is-hovered{background-color:#000000b3}.mzn-playground.is-dark .button.is-light.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-light.is-inverted{background-color:#000000b3;border-color:transparent;box-shadow:none;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-loading:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground.is-dark .button.is-light.is-outlined{background-color:transparent;border-color:#f5f5f5;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-outlined:hover,.mzn-playground.is-dark .button.is-light.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-light.is-outlined:focus,.mzn-playground.is-dark .button.is-light.is-outlined.is-focused{background-color:#f5f5f5;border-color:#f5f5f5;color:#000000b3}.mzn-playground.is-dark .button.is-light.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,96%) hsl(0,0%,96%)!important}.mzn-playground.is-dark .button.is-light.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-light.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-light.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-light.is-outlined.is-loading.is-focused:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground.is-dark .button.is-light.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-light.is-outlined{background-color:transparent;border-color:#f5f5f5;box-shadow:none;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;color:#000000b3}.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-focused{background-color:#000000b3;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,96%) hsl(0,0%,96%)!important}.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-light.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;box-shadow:none;color:#000000b3}.mzn-playground.is-dark .button.is-dark{background-color:#363636;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-dark:hover,.mzn-playground.is-dark .button.is-dark.is-hovered{background-color:#2f2f2f;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-dark:focus,.mzn-playground.is-dark .button.is-dark.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-dark:focus:not(:active),.mzn-playground.is-dark .button.is-dark.is-focused:not(:active){box-shadow:0 0 0 .125em #36363640}.mzn-playground.is-dark .button.is-dark:active,.mzn-playground.is-dark .button.is-dark.is-active{background-color:#292929;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-dark[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-dark{background-color:#363636;border-color:#363636;box-shadow:none}.mzn-playground.is-dark .button.is-dark.is-inverted{background-color:#fff;color:#363636}.mzn-playground.is-dark .button.is-dark.is-inverted:hover,.mzn-playground.is-dark .button.is-dark.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-dark.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-dark.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#363636}.mzn-playground.is-dark .button.is-dark.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-dark.is-outlined{background-color:transparent;border-color:#363636;color:#363636}.mzn-playground.is-dark .button.is-dark.is-outlined:hover,.mzn-playground.is-dark .button.is-dark.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-dark.is-outlined:focus,.mzn-playground.is-dark .button.is-dark.is-outlined.is-focused{background-color:#363636;border-color:#363636;color:#fff}.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,21%) hsl(0,0%,21%)!important}.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-dark.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-dark.is-outlined{background-color:transparent;border-color:#363636;box-shadow:none;color:#363636}.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-focused{background-color:#fff;color:#363636}.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,21%) hsl(0,0%,21%)!important}.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-primary{background-color:#1491eb;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-primary:hover,.mzn-playground.is-dark .button.is-primary.is-hovered{background-color:#138adf;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-primary:focus,.mzn-playground.is-dark .button.is-primary.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-primary:focus:not(:active),.mzn-playground.is-dark .button.is-primary.is-focused:not(:active){box-shadow:0 0 0 .125em #1491eb40}.mzn-playground.is-dark .button.is-primary:active,.mzn-playground.is-dark .button.is-primary.is-active{background-color:#1283d4;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-primary[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-primary{background-color:#1491eb;border-color:#1491eb;box-shadow:none}.mzn-playground.is-dark .button.is-primary.is-inverted{background-color:#fff;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-inverted:hover,.mzn-playground.is-dark .button.is-primary.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-primary.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-primary.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-primary.is-outlined{background-color:transparent;border-color:#1491eb;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-outlined:hover,.mzn-playground.is-dark .button.is-primary.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-primary.is-outlined:focus,.mzn-playground.is-dark .button.is-primary.is-outlined.is-focused{background-color:#1491eb;border-color:#1491eb;color:#fff}.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading:after{border-color:transparent transparent #1491eb #1491eb!important}.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-primary.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-primary.is-outlined{background-color:transparent;border-color:#1491eb;box-shadow:none;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-focused{background-color:#fff;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #1491eb #1491eb!important}.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-primary.is-light{background-color:#ecf6fd;color:#1074bc}.mzn-playground.is-dark .button.is-primary.is-light:hover,.mzn-playground.is-dark .button.is-primary.is-light.is-hovered{background-color:#e0f1fc;border-color:transparent;color:#1074bc}.mzn-playground.is-dark .button.is-primary.is-light:active,.mzn-playground.is-dark .button.is-primary.is-light.is-active{background-color:#d5ebfb;border-color:transparent;color:#1074bc}.mzn-playground.is-dark .button.is-link{background-color:#6294ff;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-link:hover,.mzn-playground.is-dark .button.is-link.is-hovered{background-color:#558bff;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-link:focus,.mzn-playground.is-dark .button.is-link.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-link:focus:not(:active),.mzn-playground.is-dark .button.is-link.is-focused:not(:active){box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .button.is-link:active,.mzn-playground.is-dark .button.is-link.is-active{background-color:#4983ff;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-link[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-link{background-color:#6294ff;border-color:#6294ff;box-shadow:none}.mzn-playground.is-dark .button.is-link.is-inverted{background-color:#fff;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-inverted:hover,.mzn-playground.is-dark .button.is-link.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-link.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-link.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-link.is-outlined{background-color:transparent;border-color:#6294ff;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-outlined:hover,.mzn-playground.is-dark .button.is-link.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-link.is-outlined:focus,.mzn-playground.is-dark .button.is-link.is-outlined.is-focused{background-color:#6294ff;border-color:#6294ff;color:#fff}.mzn-playground.is-dark .button.is-link.is-outlined.is-loading:after{border-color:transparent transparent #6294ff #6294ff!important}.mzn-playground.is-dark .button.is-link.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-link.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-link.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-link.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-link.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-link.is-outlined{background-color:transparent;border-color:#6294ff;box-shadow:none;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-focused{background-color:#fff;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #6294ff #6294ff!important}.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-link.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-link.is-light{background-color:#ebf1ff;color:#003ec2}.mzn-playground.is-dark .button.is-link.is-light:hover,.mzn-playground.is-dark .button.is-link.is-light.is-hovered{background-color:#dee8ff;border-color:transparent;color:#003ec2}.mzn-playground.is-dark .button.is-link.is-light:active,.mzn-playground.is-dark .button.is-link.is-light.is-active{background-color:#d1e0ff;border-color:transparent;color:#003ec2}.mzn-playground.is-dark .button.is-info{background-color:#3e8ed0;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-info:hover,.mzn-playground.is-dark .button.is-info.is-hovered{background-color:#3488ce;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-info:focus,.mzn-playground.is-dark .button.is-info.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-info:focus:not(:active),.mzn-playground.is-dark .button.is-info.is-focused:not(:active){box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground.is-dark .button.is-info:active,.mzn-playground.is-dark .button.is-info.is-active{background-color:#3082c5;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-info[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-info{background-color:#3e8ed0;border-color:#3e8ed0;box-shadow:none}.mzn-playground.is-dark .button.is-info.is-inverted{background-color:#fff;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-inverted:hover,.mzn-playground.is-dark .button.is-info.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-info.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-info.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-info.is-outlined{background-color:transparent;border-color:#3e8ed0;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-outlined:hover,.mzn-playground.is-dark .button.is-info.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-info.is-outlined:focus,.mzn-playground.is-dark .button.is-info.is-outlined.is-focused{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.mzn-playground.is-dark .button.is-info.is-outlined.is-loading:after{border-color:transparent transparent hsl(207,61%,53%) hsl(207,61%,53%)!important}.mzn-playground.is-dark .button.is-info.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-info.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-info.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-info.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-info.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-info.is-outlined{background-color:transparent;border-color:#3e8ed0;box-shadow:none;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-focused{background-color:#fff;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(207,61%,53%) hsl(207,61%,53%)!important}.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-info.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-info.is-light{background-color:#eff5fb;color:#296fa8}.mzn-playground.is-dark .button.is-info.is-light:hover,.mzn-playground.is-dark .button.is-info.is-light.is-hovered{background-color:#e4eff9;border-color:transparent;color:#296fa8}.mzn-playground.is-dark .button.is-info.is-light:active,.mzn-playground.is-dark .button.is-info.is-light.is-active{background-color:#dae9f6;border-color:transparent;color:#296fa8}.mzn-playground.is-dark .button.is-success{background-color:#48c78e;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-success:hover,.mzn-playground.is-dark .button.is-success.is-hovered{background-color:#3ec487;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-success:focus,.mzn-playground.is-dark .button.is-success.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-success:focus:not(:active),.mzn-playground.is-dark .button.is-success.is-focused:not(:active){box-shadow:0 0 0 .125em #48c78e40}.mzn-playground.is-dark .button.is-success:active,.mzn-playground.is-dark .button.is-success.is-active{background-color:#3abb81;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-success[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-success{background-color:#48c78e;border-color:#48c78e;box-shadow:none}.mzn-playground.is-dark .button.is-success.is-inverted{background-color:#fff;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-inverted:hover,.mzn-playground.is-dark .button.is-success.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-success.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-success.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-success.is-outlined{background-color:transparent;border-color:#48c78e;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-outlined:hover,.mzn-playground.is-dark .button.is-success.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-success.is-outlined:focus,.mzn-playground.is-dark .button.is-success.is-outlined.is-focused{background-color:#48c78e;border-color:#48c78e;color:#fff}.mzn-playground.is-dark .button.is-success.is-outlined.is-loading:after{border-color:transparent transparent hsl(153,53%,53%) hsl(153,53%,53%)!important}.mzn-playground.is-dark .button.is-success.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-success.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-success.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-success.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-success.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-success.is-outlined{background-color:transparent;border-color:#48c78e;box-shadow:none;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-focused{background-color:#fff;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(153,53%,53%) hsl(153,53%,53%)!important}.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-success.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-success.is-light{background-color:#effaf5;color:#257953}.mzn-playground.is-dark .button.is-success.is-light:hover,.mzn-playground.is-dark .button.is-success.is-light.is-hovered{background-color:#e6f7ef;border-color:transparent;color:#257953}.mzn-playground.is-dark .button.is-success.is-light:active,.mzn-playground.is-dark .button.is-success.is-light.is-active{background-color:#dcf4e9;border-color:transparent;color:#257953}.mzn-playground.is-dark .button.is-warning{background-color:#ffe08a;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-warning:hover,.mzn-playground.is-dark .button.is-warning.is-hovered{background-color:#ffdc7d;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-warning:focus,.mzn-playground.is-dark .button.is-warning.is-focused{border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-warning:focus:not(:active),.mzn-playground.is-dark .button.is-warning.is-focused:not(:active){box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground.is-dark .button.is-warning:active,.mzn-playground.is-dark .button.is-warning.is-active{background-color:#ffd970;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-warning[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-warning{background-color:#ffe08a;border-color:#ffe08a;box-shadow:none}.mzn-playground.is-dark .button.is-warning.is-inverted{background-color:#000000b3;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-inverted:hover,.mzn-playground.is-dark .button.is-warning.is-inverted.is-hovered{background-color:#000000b3}.mzn-playground.is-dark .button.is-warning.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-warning.is-inverted{background-color:#000000b3;border-color:transparent;box-shadow:none;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-loading:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground.is-dark .button.is-warning.is-outlined{background-color:transparent;border-color:#ffe08a;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-outlined:hover,.mzn-playground.is-dark .button.is-warning.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-warning.is-outlined:focus,.mzn-playground.is-dark .button.is-warning.is-outlined.is-focused{background-color:#ffe08a;border-color:#ffe08a;color:#000000b3}.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading:after{border-color:transparent transparent hsl(44,100%,77%) hsl(44,100%,77%)!important}.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading.is-focused:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground.is-dark .button.is-warning.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-warning.is-outlined{background-color:transparent;border-color:#ffe08a;box-shadow:none;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;color:#000000b3}.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-focused{background-color:#000000b3;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(44,100%,77%) hsl(44,100%,77%)!important}.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;box-shadow:none;color:#000000b3}.mzn-playground.is-dark .button.is-warning.is-light{background-color:#fffaeb;color:#946c00}.mzn-playground.is-dark .button.is-warning.is-light:hover,.mzn-playground.is-dark .button.is-warning.is-light.is-hovered{background-color:#fff6de;border-color:transparent;color:#946c00}.mzn-playground.is-dark .button.is-warning.is-light:active,.mzn-playground.is-dark .button.is-warning.is-light.is-active{background-color:#fff3d1;border-color:transparent;color:#946c00}.mzn-playground.is-dark .button.is-danger{background-color:#f14668;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-danger:hover,.mzn-playground.is-dark .button.is-danger.is-hovered{background-color:#f03a5f;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-danger:focus,.mzn-playground.is-dark .button.is-danger.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-danger:focus:not(:active),.mzn-playground.is-dark .button.is-danger.is-focused:not(:active){box-shadow:0 0 0 .125em #f1466840}.mzn-playground.is-dark .button.is-danger:active,.mzn-playground.is-dark .button.is-danger.is-active{background-color:#ef2e55;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-danger[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-danger{background-color:#f14668;border-color:#f14668;box-shadow:none}.mzn-playground.is-dark .button.is-danger.is-inverted{background-color:#fff;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-inverted:hover,.mzn-playground.is-dark .button.is-danger.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-danger.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-danger.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-danger.is-outlined{background-color:transparent;border-color:#f14668;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-outlined:hover,.mzn-playground.is-dark .button.is-danger.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-danger.is-outlined:focus,.mzn-playground.is-dark .button.is-danger.is-outlined.is-focused{background-color:#f14668;border-color:#f14668;color:#fff}.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading:after{border-color:transparent transparent hsl(348,86%,61%) hsl(348,86%,61%)!important}.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-danger.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-danger.is-outlined{background-color:transparent;border-color:#f14668;box-shadow:none;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-focused{background-color:#fff;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(348,86%,61%) hsl(348,86%,61%)!important}.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-danger.is-light{background-color:#feecf0;color:#cc0f35}.mzn-playground.is-dark .button.is-danger.is-light:hover,.mzn-playground.is-dark .button.is-danger.is-light.is-hovered{background-color:#fde0e6;border-color:transparent;color:#cc0f35}.mzn-playground.is-dark .button.is-danger.is-light:active,.mzn-playground.is-dark .button.is-danger.is-light.is-active{background-color:#fcd4dc;border-color:transparent;color:#cc0f35}.mzn-playground.is-dark .button.is-small{font-size:.75rem}.mzn-playground.is-dark .button.is-small:not(.is-rounded){border-radius:2px}.mzn-playground.is-dark .button.is-normal{font-size:1rem}.mzn-playground.is-dark .button.is-medium{font-size:1.25rem}.mzn-playground.is-dark .button.is-large{font-size:1.5rem}.mzn-playground.is-dark .button[disabled],fieldset[disabled] .mzn-playground.is-dark .button{background-color:#292929;border-color:#4a4a4a;box-shadow:none;opacity:.5}.mzn-playground.is-dark .button.is-fullwidth{display:flex;width:100%}.mzn-playground.is-dark .button.is-loading{color:transparent!important;pointer-events:none}.mzn-playground.is-dark .button.is-loading:after{position:absolute;left:calc(50% - .5em);top:calc(50% - .5em);position:absolute!important}.mzn-playground.is-dark .button.is-static{background-color:#333;border-color:#4a4a4a;color:#7a7a7a;box-shadow:none;pointer-events:none}.mzn-playground.is-dark .button.is-rounded{border-radius:9999px;padding-left:1.25em;padding-right:1.25em}.mzn-playground.is-dark .buttons{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-start}.mzn-playground.is-dark .buttons .button{margin-bottom:.5rem}.mzn-playground.is-dark .buttons .button:not(:last-child):not(.is-fullwidth){margin-right:.5rem}.mzn-playground.is-dark .buttons:last-child{margin-bottom:-.5rem}.mzn-playground.is-dark .buttons:not(:last-child){margin-bottom:1rem}.mzn-playground.is-dark .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large){font-size:.75rem}.mzn-playground.is-dark .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large):not(.is-rounded){border-radius:2px}.mzn-playground.is-dark .buttons.are-medium .button:not(.is-small):not(.is-normal):not(.is-large){font-size:1.25rem}.mzn-playground.is-dark .buttons.are-large .button:not(.is-small):not(.is-normal):not(.is-medium){font-size:1.5rem}.mzn-playground.is-dark .buttons.has-addons .button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground.is-dark .buttons.has-addons .button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.mzn-playground.is-dark .buttons.has-addons .button:last-child{margin-right:0}.mzn-playground.is-dark .buttons.has-addons .button:hover,.mzn-playground.is-dark .buttons.has-addons .button.is-hovered{z-index:2}.mzn-playground.is-dark .buttons.has-addons .button:focus,.mzn-playground.is-dark .buttons.has-addons .button.is-focused,.mzn-playground.is-dark .buttons.has-addons .button:active,.mzn-playground.is-dark .buttons.has-addons .button.is-active,.mzn-playground.is-dark .buttons.has-addons .button.is-selected{z-index:3}.mzn-playground.is-dark .buttons.has-addons .button:focus:hover,.mzn-playground.is-dark .buttons.has-addons .button.is-focused:hover,.mzn-playground.is-dark .buttons.has-addons .button:active:hover,.mzn-playground.is-dark .buttons.has-addons .button.is-active:hover,.mzn-playground.is-dark .buttons.has-addons .button.is-selected:hover{z-index:4}.mzn-playground.is-dark .buttons.has-addons .button.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .buttons.is-centered{justify-content:center}.mzn-playground.is-dark .buttons.is-centered:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}.mzn-playground.is-dark .buttons.is-right{justify-content:flex-end}.mzn-playground.is-dark .buttons.is-right:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}@media screen and (max-width: 768px){.mzn-playground.is-dark .button.is-responsive.is-small{font-size:.5625rem}.mzn-playground.is-dark .button.is-responsive,.mzn-playground.is-dark .button.is-responsive.is-normal{font-size:.65625rem}.mzn-playground.is-dark .button.is-responsive.is-medium{font-size:.75rem}.mzn-playground.is-dark .button.is-responsive.is-large{font-size:1rem}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .button.is-responsive.is-small{font-size:.65625rem}.mzn-playground.is-dark .button.is-responsive,.mzn-playground.is-dark .button.is-responsive.is-normal{font-size:.75rem}.mzn-playground.is-dark .button.is-responsive.is-medium{font-size:1rem}.mzn-playground.is-dark .button.is-responsive.is-large{font-size:1.25rem}}.mzn-playground.is-dark .icon{align-items:center;display:inline-flex;justify-content:center;height:1.5rem;width:1.5rem}.mzn-playground.is-dark .icon.is-small{height:1rem;width:1rem}.mzn-playground.is-dark .icon.is-medium{height:2rem;width:2rem}.mzn-playground.is-dark .icon.is-large{height:3rem;width:3rem}.mzn-playground.is-dark .icon-text{align-items:flex-start;color:inherit;display:inline-flex;flex-wrap:wrap;line-height:1.5rem;vertical-align:top}.mzn-playground.is-dark .icon-text .icon{flex-grow:0;flex-shrink:0}.mzn-playground.is-dark .icon-text .icon:not(:last-child){margin-right:.25em}.mzn-playground.is-dark .icon-text .icon:not(:first-child){margin-left:.25em}.mzn-playground.is-dark div.icon-text{display:flex}.mzn-playground.is-dark .table{background-color:#292929;color:#fff}.mzn-playground.is-dark .table td,.mzn-playground.is-dark .table th{border:1px solid hsl(0,0%,29%);border-width:0 0 1px;padding:.5em .75em;vertical-align:top}.mzn-playground.is-dark .table td.is-white,.mzn-playground.is-dark .table th.is-white{background-color:#fff;border-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .table td.is-black,.mzn-playground.is-dark .table th.is-black{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .table td.is-light,.mzn-playground.is-dark .table th.is-light{background-color:#f5f5f5;border-color:#f5f5f5;color:#000000b3}.mzn-playground.is-dark .table td.is-dark,.mzn-playground.is-dark .table th.is-dark{background-color:#363636;border-color:#363636;color:#fff}.mzn-playground.is-dark .table td.is-primary,.mzn-playground.is-dark .table th.is-primary{background-color:#1491eb;border-color:#1491eb;color:#fff}.mzn-playground.is-dark .table td.is-link,.mzn-playground.is-dark .table th.is-link{background-color:#6294ff;border-color:#6294ff;color:#fff}.mzn-playground.is-dark .table td.is-info,.mzn-playground.is-dark .table th.is-info{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.mzn-playground.is-dark .table td.is-success,.mzn-playground.is-dark .table th.is-success{background-color:#48c78e;border-color:#48c78e;color:#fff}.mzn-playground.is-dark .table td.is-warning,.mzn-playground.is-dark .table th.is-warning{background-color:#ffe08a;border-color:#ffe08a;color:#000000b3}.mzn-playground.is-dark .table td.is-danger,.mzn-playground.is-dark .table th.is-danger{background-color:#f14668;border-color:#f14668;color:#fff}.mzn-playground.is-dark .table td.is-narrow,.mzn-playground.is-dark .table th.is-narrow{white-space:nowrap;width:1%}.mzn-playground.is-dark .table td.is-selected,.mzn-playground.is-dark .table th.is-selected{background-color:#1491eb;color:#fff}.mzn-playground.is-dark .table td.is-selected a,.mzn-playground.is-dark .table td.is-selected strong,.mzn-playground.is-dark .table th.is-selected a,.mzn-playground.is-dark .table th.is-selected strong{color:currentColor}.mzn-playground.is-dark .table td.is-vcentered,.mzn-playground.is-dark .table th.is-vcentered{vertical-align:middle}.mzn-playground.is-dark .table th{color:#fff}.mzn-playground.is-dark .table th:not([align]){text-align:left}.mzn-playground.is-dark .table tr.is-selected{background-color:#1491eb;color:#fff}.mzn-playground.is-dark .table tr.is-selected a,.mzn-playground.is-dark .table tr.is-selected strong{color:currentColor}.mzn-playground.is-dark .table tr.is-selected td,.mzn-playground.is-dark .table tr.is-selected th{border-color:#fff;color:currentColor}.mzn-playground.is-dark .table thead{background-color:transparent}.mzn-playground.is-dark .table thead td,.mzn-playground.is-dark .table thead th{border-width:0 0 2px;color:#fff}.mzn-playground.is-dark .table tfoot{background-color:transparent}.mzn-playground.is-dark .table tfoot td,.mzn-playground.is-dark .table tfoot th{border-width:2px 0 0;color:#fff}.mzn-playground.is-dark .table tbody{background-color:transparent}.mzn-playground.is-dark .table tbody tr:last-child td,.mzn-playground.is-dark .table tbody tr:last-child th{border-bottom-width:0}.mzn-playground.is-dark .table.is-bordered td,.mzn-playground.is-dark .table.is-bordered th{border-width:1px}.mzn-playground.is-dark .table.is-bordered tr:last-child td,.mzn-playground.is-dark .table.is-bordered tr:last-child th{border-bottom-width:1px}.mzn-playground.is-dark .table.is-fullwidth{width:100%}.mzn-playground.is-dark .table.is-hoverable tbody tr:not(.is-selected):hover{background-color:#2e2e2e}.mzn-playground.is-dark .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover{background-color:#2e2e2e}.mzn-playground.is-dark .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover:nth-child(2n){background-color:#333}.mzn-playground.is-dark .table.is-narrow td,.mzn-playground.is-dark .table.is-narrow th{padding:.25em .5em}.mzn-playground.is-dark .table.is-striped tbody tr:not(.is-selected):nth-child(2n){background-color:#2e2e2e}.mzn-playground.is-dark .table-container{-webkit-overflow-scrolling:touch;overflow:auto;overflow-y:hidden;max-width:100%}.mzn-playground.is-dark .heading{display:block;font-size:11px;letter-spacing:1px;margin-bottom:5px;text-transform:uppercase}.mzn-playground.is-dark .number{align-items:center;background-color:#141414;border-radius:9999px;display:inline-flex;font-size:1.25rem;height:2em;justify-content:center;margin-right:1.5rem;min-width:2.5em;padding:.25rem .5rem;text-align:center;vertical-align:top}.mzn-playground.is-dark .select select,.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input{background-color:#1f1f1f;border-color:#4a4a4a;border-radius:4px;color:#fff}.mzn-playground.is-dark .select select::-moz-placeholder,.mzn-playground.is-dark .textarea::-moz-placeholder,.mzn-playground.is-dark .input::-moz-placeholder{color:#ffffff4d}.mzn-playground.is-dark .select select::-webkit-input-placeholder,.mzn-playground.is-dark .textarea::-webkit-input-placeholder,.mzn-playground.is-dark .input::-webkit-input-placeholder{color:#ffffff4d}.mzn-playground.is-dark .select select:-moz-placeholder,.mzn-playground.is-dark .textarea:-moz-placeholder,.mzn-playground.is-dark .input:-moz-placeholder{color:#ffffff4d}.mzn-playground.is-dark .select select:-ms-input-placeholder,.mzn-playground.is-dark .textarea:-ms-input-placeholder,.mzn-playground.is-dark .input:-ms-input-placeholder{color:#ffffff4d}.mzn-playground.is-dark .select select:hover,.mzn-playground.is-dark .textarea:hover,.mzn-playground.is-dark .input:hover,.mzn-playground.is-dark .select select.is-hovered,.mzn-playground.is-dark .is-hovered.textarea,.mzn-playground.is-dark .is-hovered.input{border-color:#b5b5b5}.mzn-playground.is-dark .select select:focus,.mzn-playground.is-dark .textarea:focus,.mzn-playground.is-dark .input:focus,.mzn-playground.is-dark .select select.is-focused,.mzn-playground.is-dark .is-focused.textarea,.mzn-playground.is-dark .is-focused.input,.mzn-playground.is-dark .select select:active,.mzn-playground.is-dark .textarea:active,.mzn-playground.is-dark .input:active,.mzn-playground.is-dark .select select.is-active,.mzn-playground.is-dark .is-active.textarea,.mzn-playground.is-dark .is-active.input{border-color:#6294ff;box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .select select[disabled],.mzn-playground.is-dark [disabled].textarea,.mzn-playground.is-dark [disabled].input,fieldset[disabled] .mzn-playground.is-dark .select select,fieldset[disabled] .mzn-playground.is-dark .textarea,fieldset[disabled] .mzn-playground.is-dark .input{background-color:#141414;border-color:#141414;box-shadow:none;color:#7a7a7a}.mzn-playground.is-dark .select select[disabled]::-moz-placeholder,.mzn-playground.is-dark [disabled].textarea::-moz-placeholder,.mzn-playground.is-dark [disabled].input::-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select::-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .textarea::-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .input::-moz-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]::-webkit-input-placeholder,.mzn-playground.is-dark [disabled].textarea::-webkit-input-placeholder,.mzn-playground.is-dark [disabled].input::-webkit-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select::-webkit-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .textarea::-webkit-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .input::-webkit-input-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]:-moz-placeholder,.mzn-playground.is-dark [disabled].textarea:-moz-placeholder,.mzn-playground.is-dark [disabled].input:-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select:-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .textarea:-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .input:-moz-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]:-ms-input-placeholder,.mzn-playground.is-dark [disabled].textarea:-ms-input-placeholder,.mzn-playground.is-dark [disabled].input:-ms-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select:-ms-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .textarea:-ms-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .input:-ms-input-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input{box-shadow:inset 0 .0625em .125em #0a0a0a0d;max-width:100%;width:100%}.mzn-playground.is-dark [readonly].textarea,.mzn-playground.is-dark [readonly].input{box-shadow:none}.mzn-playground.is-dark .is-white.textarea,.mzn-playground.is-dark .is-white.input{border-color:#fff}.mzn-playground.is-dark .is-white.textarea:focus,.mzn-playground.is-dark .is-white.input:focus,.mzn-playground.is-dark .is-white.is-focused.textarea,.mzn-playground.is-dark .is-white.is-focused.input,.mzn-playground.is-dark .is-white.textarea:active,.mzn-playground.is-dark .is-white.input:active,.mzn-playground.is-dark .is-white.is-active.textarea,.mzn-playground.is-dark .is-white.is-active.input{box-shadow:0 0 0 .125em #ffffff40}.mzn-playground.is-dark .is-black.textarea,.mzn-playground.is-dark .is-black.input{border-color:#0a0a0a}.mzn-playground.is-dark .is-black.textarea:focus,.mzn-playground.is-dark .is-black.input:focus,.mzn-playground.is-dark .is-black.is-focused.textarea,.mzn-playground.is-dark .is-black.is-focused.input,.mzn-playground.is-dark .is-black.textarea:active,.mzn-playground.is-dark .is-black.input:active,.mzn-playground.is-dark .is-black.is-active.textarea,.mzn-playground.is-dark .is-black.is-active.input{box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground.is-dark .is-light.textarea,.mzn-playground.is-dark .is-light.input{border-color:#f5f5f5}.mzn-playground.is-dark .is-light.textarea:focus,.mzn-playground.is-dark .is-light.input:focus,.mzn-playground.is-dark .is-light.is-focused.textarea,.mzn-playground.is-dark .is-light.is-focused.input,.mzn-playground.is-dark .is-light.textarea:active,.mzn-playground.is-dark .is-light.input:active,.mzn-playground.is-dark .is-light.is-active.textarea,.mzn-playground.is-dark .is-light.is-active.input{box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground.is-dark .is-dark.textarea,.mzn-playground.is-dark .is-dark.input{border-color:#363636}.mzn-playground.is-dark .is-dark.textarea:focus,.mzn-playground.is-dark .is-dark.input:focus,.mzn-playground.is-dark .is-dark.is-focused.textarea,.mzn-playground.is-dark .is-dark.is-focused.input,.mzn-playground.is-dark .is-dark.textarea:active,.mzn-playground.is-dark .is-dark.input:active,.mzn-playground.is-dark .is-dark.is-active.textarea,.mzn-playground.is-dark .is-dark.is-active.input{box-shadow:0 0 0 .125em #36363640}.mzn-playground.is-dark .is-primary.textarea,.mzn-playground.is-dark .is-primary.input{border-color:#1491eb}.mzn-playground.is-dark .is-primary.textarea:focus,.mzn-playground.is-dark .is-primary.input:focus,.mzn-playground.is-dark .is-primary.is-focused.textarea,.mzn-playground.is-dark .is-primary.is-focused.input,.mzn-playground.is-dark .is-primary.textarea:active,.mzn-playground.is-dark .is-primary.input:active,.mzn-playground.is-dark .is-primary.is-active.textarea,.mzn-playground.is-dark .is-primary.is-active.input{box-shadow:0 0 0 .125em #1491eb40}.mzn-playground.is-dark .is-link.textarea,.mzn-playground.is-dark .is-link.input{border-color:#6294ff}.mzn-playground.is-dark .is-link.textarea:focus,.mzn-playground.is-dark .is-link.input:focus,.mzn-playground.is-dark .is-link.is-focused.textarea,.mzn-playground.is-dark .is-link.is-focused.input,.mzn-playground.is-dark .is-link.textarea:active,.mzn-playground.is-dark .is-link.input:active,.mzn-playground.is-dark .is-link.is-active.textarea,.mzn-playground.is-dark .is-link.is-active.input{box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .is-info.textarea,.mzn-playground.is-dark .is-info.input{border-color:#3e8ed0}.mzn-playground.is-dark .is-info.textarea:focus,.mzn-playground.is-dark .is-info.input:focus,.mzn-playground.is-dark .is-info.is-focused.textarea,.mzn-playground.is-dark .is-info.is-focused.input,.mzn-playground.is-dark .is-info.textarea:active,.mzn-playground.is-dark .is-info.input:active,.mzn-playground.is-dark .is-info.is-active.textarea,.mzn-playground.is-dark .is-info.is-active.input{box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground.is-dark .is-success.textarea,.mzn-playground.is-dark .is-success.input{border-color:#48c78e}.mzn-playground.is-dark .is-success.textarea:focus,.mzn-playground.is-dark .is-success.input:focus,.mzn-playground.is-dark .is-success.is-focused.textarea,.mzn-playground.is-dark .is-success.is-focused.input,.mzn-playground.is-dark .is-success.textarea:active,.mzn-playground.is-dark .is-success.input:active,.mzn-playground.is-dark .is-success.is-active.textarea,.mzn-playground.is-dark .is-success.is-active.input{box-shadow:0 0 0 .125em #48c78e40}.mzn-playground.is-dark .is-warning.textarea,.mzn-playground.is-dark .is-warning.input{border-color:#ffe08a}.mzn-playground.is-dark .is-warning.textarea:focus,.mzn-playground.is-dark .is-warning.input:focus,.mzn-playground.is-dark .is-warning.is-focused.textarea,.mzn-playground.is-dark .is-warning.is-focused.input,.mzn-playground.is-dark .is-warning.textarea:active,.mzn-playground.is-dark .is-warning.input:active,.mzn-playground.is-dark .is-warning.is-active.textarea,.mzn-playground.is-dark .is-warning.is-active.input{box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground.is-dark .is-danger.textarea,.mzn-playground.is-dark .is-danger.input{border-color:#f14668}.mzn-playground.is-dark .is-danger.textarea:focus,.mzn-playground.is-dark .is-danger.input:focus,.mzn-playground.is-dark .is-danger.is-focused.textarea,.mzn-playground.is-dark .is-danger.is-focused.input,.mzn-playground.is-dark .is-danger.textarea:active,.mzn-playground.is-dark .is-danger.input:active,.mzn-playground.is-dark .is-danger.is-active.textarea,.mzn-playground.is-dark .is-danger.is-active.input{box-shadow:0 0 0 .125em #f1466840}.mzn-playground.is-dark .is-small.textarea,.mzn-playground.is-dark .is-small.input{border-radius:2px;font-size:.75rem}.mzn-playground.is-dark .is-medium.textarea,.mzn-playground.is-dark .is-medium.input{font-size:1.25rem}.mzn-playground.is-dark .is-large.textarea,.mzn-playground.is-dark .is-large.input{font-size:1.5rem}.mzn-playground.is-dark .is-fullwidth.textarea,.mzn-playground.is-dark .is-fullwidth.input{display:block;width:100%}.mzn-playground.is-dark .is-inline.textarea,.mzn-playground.is-dark .is-inline.input{display:inline;width:auto}.mzn-playground.is-dark .input.is-rounded{border-radius:9999px;padding-left:calc(1.125em - 1px);padding-right:calc(1.125em - 1px)}.mzn-playground.is-dark .input.is-static{background-color:transparent;border-color:transparent;box-shadow:none;padding-left:0;padding-right:0}.mzn-playground.is-dark .textarea{display:block;max-width:100%;min-width:100%;padding:calc(.75em - 1px);resize:vertical}.mzn-playground.is-dark .textarea:not([rows]){max-height:40em;min-height:8em}.mzn-playground.is-dark .textarea[rows]{height:initial}.mzn-playground.is-dark .textarea.has-fixed-size{resize:none}.mzn-playground.is-dark .radio,.mzn-playground.is-dark .checkbox{cursor:pointer;display:inline-block;line-height:1.25;position:relative}.mzn-playground.is-dark .radio input,.mzn-playground.is-dark .checkbox input{cursor:pointer}.mzn-playground.is-dark .radio:hover,.mzn-playground.is-dark .checkbox:hover{color:#fff}.mzn-playground.is-dark [disabled].radio,.mzn-playground.is-dark [disabled].checkbox,fieldset[disabled] .mzn-playground.is-dark .radio,fieldset[disabled] .mzn-playground.is-dark .checkbox,.mzn-playground.is-dark .radio input[disabled],.mzn-playground.is-dark .checkbox input[disabled]{color:#7a7a7a;cursor:not-allowed}.mzn-playground.is-dark .radio+.radio{margin-left:.5em}.mzn-playground.is-dark .select{display:inline-block;max-width:100%;position:relative;vertical-align:top}.mzn-playground.is-dark .select:not(.is-multiple){height:2.5em}.mzn-playground.is-dark .select:not(.is-multiple):not(.is-loading):after{border-color:#6294ff;right:1.125em;z-index:4}.mzn-playground.is-dark .select.is-rounded select{border-radius:9999px;padding-left:1em}.mzn-playground.is-dark .select select{cursor:pointer;display:block;font-size:1em;max-width:100%;outline:none}.mzn-playground.is-dark .select select::-ms-expand{display:none}.mzn-playground.is-dark .select select[disabled]:hover,fieldset[disabled] .mzn-playground.is-dark .select select:hover{border-color:#141414}.mzn-playground.is-dark .select select:not([multiple]){padding-right:2.5em}.mzn-playground.is-dark .select select[multiple]{height:auto;padding:0}.mzn-playground.is-dark .select select[multiple] option{padding:.5em 1em}.mzn-playground.is-dark .select:not(.is-multiple):not(.is-loading):hover:after{border-color:#fff}.mzn-playground.is-dark .select.is-white:not(:hover):after{border-color:#fff}.mzn-playground.is-dark .select.is-white select{border-color:#fff}.mzn-playground.is-dark .select.is-white select:hover,.mzn-playground.is-dark .select.is-white select.is-hovered{border-color:#f2f2f2}.mzn-playground.is-dark .select.is-white select:focus,.mzn-playground.is-dark .select.is-white select.is-focused,.mzn-playground.is-dark .select.is-white select:active,.mzn-playground.is-dark .select.is-white select.is-active{box-shadow:0 0 0 .125em #ffffff40}.mzn-playground.is-dark .select.is-black:not(:hover):after{border-color:#0a0a0a}.mzn-playground.is-dark .select.is-black select{border-color:#0a0a0a}.mzn-playground.is-dark .select.is-black select:hover,.mzn-playground.is-dark .select.is-black select.is-hovered{border-color:#000}.mzn-playground.is-dark .select.is-black select:focus,.mzn-playground.is-dark .select.is-black select.is-focused,.mzn-playground.is-dark .select.is-black select:active,.mzn-playground.is-dark .select.is-black select.is-active{box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground.is-dark .select.is-light:not(:hover):after{border-color:#f5f5f5}.mzn-playground.is-dark .select.is-light select{border-color:#f5f5f5}.mzn-playground.is-dark .select.is-light select:hover,.mzn-playground.is-dark .select.is-light select.is-hovered{border-color:#e8e8e8}.mzn-playground.is-dark .select.is-light select:focus,.mzn-playground.is-dark .select.is-light select.is-focused,.mzn-playground.is-dark .select.is-light select:active,.mzn-playground.is-dark .select.is-light select.is-active{box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground.is-dark .select.is-dark:not(:hover):after{border-color:#363636}.mzn-playground.is-dark .select.is-dark select{border-color:#363636}.mzn-playground.is-dark .select.is-dark select:hover,.mzn-playground.is-dark .select.is-dark select.is-hovered{border-color:#292929}.mzn-playground.is-dark .select.is-dark select:focus,.mzn-playground.is-dark .select.is-dark select.is-focused,.mzn-playground.is-dark .select.is-dark select:active,.mzn-playground.is-dark .select.is-dark select.is-active{box-shadow:0 0 0 .125em #36363640}.mzn-playground.is-dark .select.is-primary:not(:hover):after{border-color:#1491eb}.mzn-playground.is-dark .select.is-primary select{border-color:#1491eb}.mzn-playground.is-dark .select.is-primary select:hover,.mzn-playground.is-dark .select.is-primary select.is-hovered{border-color:#1283d4}.mzn-playground.is-dark .select.is-primary select:focus,.mzn-playground.is-dark .select.is-primary select.is-focused,.mzn-playground.is-dark .select.is-primary select:active,.mzn-playground.is-dark .select.is-primary select.is-active{box-shadow:0 0 0 .125em #1491eb40}.mzn-playground.is-dark .select.is-link:not(:hover):after{border-color:#6294ff}.mzn-playground.is-dark .select.is-link select{border-color:#6294ff}.mzn-playground.is-dark .select.is-link select:hover,.mzn-playground.is-dark .select.is-link select.is-hovered{border-color:#4983ff}.mzn-playground.is-dark .select.is-link select:focus,.mzn-playground.is-dark .select.is-link select.is-focused,.mzn-playground.is-dark .select.is-link select:active,.mzn-playground.is-dark .select.is-link select.is-active{box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .select.is-info:not(:hover):after{border-color:#3e8ed0}.mzn-playground.is-dark .select.is-info select{border-color:#3e8ed0}.mzn-playground.is-dark .select.is-info select:hover,.mzn-playground.is-dark .select.is-info select.is-hovered{border-color:#3082c5}.mzn-playground.is-dark .select.is-info select:focus,.mzn-playground.is-dark .select.is-info select.is-focused,.mzn-playground.is-dark .select.is-info select:active,.mzn-playground.is-dark .select.is-info select.is-active{box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground.is-dark .select.is-success:not(:hover):after{border-color:#48c78e}.mzn-playground.is-dark .select.is-success select{border-color:#48c78e}.mzn-playground.is-dark .select.is-success select:hover,.mzn-playground.is-dark .select.is-success select.is-hovered{border-color:#3abb81}.mzn-playground.is-dark .select.is-success select:focus,.mzn-playground.is-dark .select.is-success select.is-focused,.mzn-playground.is-dark .select.is-success select:active,.mzn-playground.is-dark .select.is-success select.is-active{box-shadow:0 0 0 .125em #48c78e40}.mzn-playground.is-dark .select.is-warning:not(:hover):after{border-color:#ffe08a}.mzn-playground.is-dark .select.is-warning select{border-color:#ffe08a}.mzn-playground.is-dark .select.is-warning select:hover,.mzn-playground.is-dark .select.is-warning select.is-hovered{border-color:#ffd970}.mzn-playground.is-dark .select.is-warning select:focus,.mzn-playground.is-dark .select.is-warning select.is-focused,.mzn-playground.is-dark .select.is-warning select:active,.mzn-playground.is-dark .select.is-warning select.is-active{box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground.is-dark .select.is-danger:not(:hover):after{border-color:#f14668}.mzn-playground.is-dark .select.is-danger select{border-color:#f14668}.mzn-playground.is-dark .select.is-danger select:hover,.mzn-playground.is-dark .select.is-danger select.is-hovered{border-color:#ef2e55}.mzn-playground.is-dark .select.is-danger select:focus,.mzn-playground.is-dark .select.is-danger select.is-focused,.mzn-playground.is-dark .select.is-danger select:active,.mzn-playground.is-dark .select.is-danger select.is-active{box-shadow:0 0 0 .125em #f1466840}.mzn-playground.is-dark .select.is-small{border-radius:2px;font-size:.75rem}.mzn-playground.is-dark .select.is-medium{font-size:1.25rem}.mzn-playground.is-dark .select.is-large{font-size:1.5rem}.mzn-playground.is-dark .select.is-disabled:after{border-color:#7a7a7a!important;opacity:.5}.mzn-playground.is-dark .select.is-fullwidth,.mzn-playground.is-dark .select.is-fullwidth select{width:100%}.mzn-playground.is-dark .select.is-loading:after{margin-top:0;position:absolute;right:.625em;top:.625em;transform:none}.mzn-playground.is-dark .select.is-loading.is-small:after{font-size:.75rem}.mzn-playground.is-dark .select.is-loading.is-medium:after{font-size:1.25rem}.mzn-playground.is-dark .select.is-loading.is-large:after{font-size:1.5rem}.mzn-playground.is-dark .file{align-items:stretch;display:flex;justify-content:flex-start;position:relative}.mzn-playground.is-dark .file.is-white .file-cta{background-color:#fff;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .file.is-white:hover .file-cta,.mzn-playground.is-dark .file.is-white.is-hovered .file-cta{background-color:#f9f9f9;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .file.is-white:focus .file-cta,.mzn-playground.is-dark .file.is-white.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #ffffff40;color:#0a0a0a}.mzn-playground.is-dark .file.is-white:active .file-cta,.mzn-playground.is-dark .file.is-white.is-active .file-cta{background-color:#f2f2f2;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .file.is-black .file-cta{background-color:#0a0a0a;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-black:hover .file-cta,.mzn-playground.is-dark .file.is-black.is-hovered .file-cta{background-color:#040404;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-black:focus .file-cta,.mzn-playground.is-dark .file.is-black.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #0a0a0a40;color:#fff}.mzn-playground.is-dark .file.is-black:active .file-cta,.mzn-playground.is-dark .file.is-black.is-active .file-cta{background-color:#000;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-light .file-cta{background-color:#f5f5f5;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-light:hover .file-cta,.mzn-playground.is-dark .file.is-light.is-hovered .file-cta{background-color:#eee;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-light:focus .file-cta,.mzn-playground.is-dark .file.is-light.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #f5f5f540;color:#000000b3}.mzn-playground.is-dark .file.is-light:active .file-cta,.mzn-playground.is-dark .file.is-light.is-active .file-cta{background-color:#e8e8e8;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-dark .file-cta{background-color:#363636;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-dark:hover .file-cta,.mzn-playground.is-dark .file.is-dark.is-hovered .file-cta{background-color:#2f2f2f;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-dark:focus .file-cta,.mzn-playground.is-dark .file.is-dark.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #36363640;color:#fff}.mzn-playground.is-dark .file.is-dark:active .file-cta,.mzn-playground.is-dark .file.is-dark.is-active .file-cta{background-color:#292929;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-primary .file-cta{background-color:#1491eb;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-primary:hover .file-cta,.mzn-playground.is-dark .file.is-primary.is-hovered .file-cta{background-color:#138adf;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-primary:focus .file-cta,.mzn-playground.is-dark .file.is-primary.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #1491eb40;color:#fff}.mzn-playground.is-dark .file.is-primary:active .file-cta,.mzn-playground.is-dark .file.is-primary.is-active .file-cta{background-color:#1283d4;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-link .file-cta{background-color:#6294ff;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-link:hover .file-cta,.mzn-playground.is-dark .file.is-link.is-hovered .file-cta{background-color:#558bff;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-link:focus .file-cta,.mzn-playground.is-dark .file.is-link.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #6294ff40;color:#fff}.mzn-playground.is-dark .file.is-link:active .file-cta,.mzn-playground.is-dark .file.is-link.is-active .file-cta{background-color:#4983ff;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-info .file-cta{background-color:#3e8ed0;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-info:hover .file-cta,.mzn-playground.is-dark .file.is-info.is-hovered .file-cta{background-color:#3488ce;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-info:focus .file-cta,.mzn-playground.is-dark .file.is-info.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #3e8ed040;color:#fff}.mzn-playground.is-dark .file.is-info:active .file-cta,.mzn-playground.is-dark .file.is-info.is-active .file-cta{background-color:#3082c5;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-success .file-cta{background-color:#48c78e;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-success:hover .file-cta,.mzn-playground.is-dark .file.is-success.is-hovered .file-cta{background-color:#3ec487;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-success:focus .file-cta,.mzn-playground.is-dark .file.is-success.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #48c78e40;color:#fff}.mzn-playground.is-dark .file.is-success:active .file-cta,.mzn-playground.is-dark .file.is-success.is-active .file-cta{background-color:#3abb81;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-warning .file-cta{background-color:#ffe08a;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-warning:hover .file-cta,.mzn-playground.is-dark .file.is-warning.is-hovered .file-cta{background-color:#ffdc7d;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-warning:focus .file-cta,.mzn-playground.is-dark .file.is-warning.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #ffe08a40;color:#000000b3}.mzn-playground.is-dark .file.is-warning:active .file-cta,.mzn-playground.is-dark .file.is-warning.is-active .file-cta{background-color:#ffd970;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-danger .file-cta{background-color:#f14668;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-danger:hover .file-cta,.mzn-playground.is-dark .file.is-danger.is-hovered .file-cta{background-color:#f03a5f;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-danger:focus .file-cta,.mzn-playground.is-dark .file.is-danger.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #f1466840;color:#fff}.mzn-playground.is-dark .file.is-danger:active .file-cta,.mzn-playground.is-dark .file.is-danger.is-active .file-cta{background-color:#ef2e55;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-small{font-size:.75rem}.mzn-playground.is-dark .file.is-normal{font-size:1rem}.mzn-playground.is-dark .file.is-medium{font-size:1.25rem}.mzn-playground.is-dark .file.is-medium .file-icon .fa{font-size:21px}.mzn-playground.is-dark .file.is-large{font-size:1.5rem}.mzn-playground.is-dark .file.is-large .file-icon .fa{font-size:28px}.mzn-playground.is-dark .file.has-name .file-cta{border-bottom-right-radius:0;border-top-right-radius:0}.mzn-playground.is-dark .file.has-name .file-name{border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground.is-dark .file.has-name.is-empty .file-cta{border-radius:4px}.mzn-playground.is-dark .file.has-name.is-empty .file-name{display:none}.mzn-playground.is-dark .file.is-boxed .file-label{flex-direction:column}.mzn-playground.is-dark .file.is-boxed .file-cta{flex-direction:column;height:auto;padding:1em 3em}.mzn-playground.is-dark .file.is-boxed .file-name{border-width:0 1px 1px}.mzn-playground.is-dark .file.is-boxed .file-icon{height:1.5em;width:1.5em}.mzn-playground.is-dark .file.is-boxed .file-icon .fa{font-size:21px}.mzn-playground.is-dark .file.is-boxed.is-small .file-icon .fa{font-size:14px}.mzn-playground.is-dark .file.is-boxed.is-medium .file-icon .fa{font-size:28px}.mzn-playground.is-dark .file.is-boxed.is-large .file-icon .fa{font-size:35px}.mzn-playground.is-dark .file.is-boxed.has-name .file-cta{border-radius:4px 4px 0 0}.mzn-playground.is-dark .file.is-boxed.has-name .file-name{border-radius:0 0 4px 4px;border-width:0 1px 1px}.mzn-playground.is-dark .file.is-centered{justify-content:center}.mzn-playground.is-dark .file.is-fullwidth .file-label{width:100%}.mzn-playground.is-dark .file.is-fullwidth .file-name{flex-grow:1;max-width:none}.mzn-playground.is-dark .file.is-right{justify-content:flex-end}.mzn-playground.is-dark .file.is-right .file-cta{border-radius:0 4px 4px 0}.mzn-playground.is-dark .file.is-right .file-name{border-radius:4px 0 0 4px;border-width:1px 0 1px 1px;order:-1}.mzn-playground.is-dark .file-label{align-items:stretch;display:flex;cursor:pointer;justify-content:flex-start;overflow:hidden;position:relative}.mzn-playground.is-dark .file-label:hover .file-cta{background-color:#2d2d2d;color:#fff}.mzn-playground.is-dark .file-label:hover .file-name{border-color:#444}.mzn-playground.is-dark .file-label:active .file-cta{background-color:#262626;color:#fff}.mzn-playground.is-dark .file-label:active .file-name{border-color:#3d3d3d}.mzn-playground.is-dark .file-input{height:100%;left:0;opacity:0;outline:none;position:absolute;top:0;width:100%}.mzn-playground.is-dark .file-cta,.mzn-playground.is-dark .file-name{border-color:#4a4a4a;border-radius:4px;font-size:1em;padding-left:1em;padding-right:1em;white-space:nowrap}.mzn-playground.is-dark .file-cta{background-color:#333;color:#ffebeb}.mzn-playground.is-dark .file-name{border-color:#4a4a4a;border-style:solid;border-width:1px 1px 1px 0;display:block;max-width:16em;overflow:hidden;text-align:inherit;text-overflow:ellipsis}.mzn-playground.is-dark .file-icon{align-items:center;display:flex;height:1em;justify-content:center;margin-right:.5em;width:1em}.mzn-playground.is-dark .file-icon .fa{font-size:14px}.mzn-playground.is-dark .label{color:#b5b5b5;display:block;font-size:1rem;font-weight:700}.mzn-playground.is-dark .label:not(:last-child){margin-bottom:.5em}.mzn-playground.is-dark .label.is-small{font-size:.75rem}.mzn-playground.is-dark .label.is-medium{font-size:1.25rem}.mzn-playground.is-dark .label.is-large{font-size:1.5rem}.mzn-playground.is-dark .help{display:block;font-size:.75rem;margin-top:.25rem}.mzn-playground.is-dark .help.is-white{color:#fff}.mzn-playground.is-dark .help.is-black{color:#0a0a0a}.mzn-playground.is-dark .help.is-light{color:#f5f5f5}.mzn-playground.is-dark .help.is-dark{color:#363636}.mzn-playground.is-dark .help.is-primary{color:#1491eb}.mzn-playground.is-dark .help.is-link{color:#6294ff}.mzn-playground.is-dark .help.is-info{color:#3e8ed0}.mzn-playground.is-dark .help.is-success{color:#48c78e}.mzn-playground.is-dark .help.is-warning{color:#ffe08a}.mzn-playground.is-dark .help.is-danger{color:#f14668}.mzn-playground.is-dark .field:not(:last-child){margin-bottom:.75rem}.mzn-playground.is-dark .field.has-addons{display:flex;justify-content:flex-start}.mzn-playground.is-dark .field.has-addons .control:not(:last-child){margin-right:-1px}.mzn-playground.is-dark .field.has-addons .control:not(:first-child):not(:last-child) .button,.mzn-playground.is-dark .field.has-addons .control:not(:first-child):not(:last-child) .input,.mzn-playground.is-dark .field.has-addons .control:not(:first-child):not(:last-child) .select select{border-radius:0}.mzn-playground.is-dark .field.has-addons .control:first-child:not(:only-child) .button,.mzn-playground.is-dark .field.has-addons .control:first-child:not(:only-child) .input,.mzn-playground.is-dark .field.has-addons .control:first-child:not(:only-child) .select select{border-bottom-right-radius:0;border-top-right-radius:0}.mzn-playground.is-dark .field.has-addons .control:last-child:not(:only-child) .button,.mzn-playground.is-dark .field.has-addons .control:last-child:not(:only-child) .input,.mzn-playground.is-dark .field.has-addons .control:last-child:not(:only-child) .select select{border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):hover,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-hovered,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-hovered,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-hovered{z-index:2}.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):focus,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-focused,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):active,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-active,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):focus,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-focused,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):active,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-active,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):focus,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-focused,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):active,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-active{z-index:3}.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):focus:hover,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-focused:hover,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):active:hover,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-active:hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):focus:hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-focused:hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):active:hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-active:hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):focus:hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-focused:hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):active:hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-active:hover{z-index:4}.mzn-playground.is-dark .field.has-addons .control.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .field.has-addons.has-addons-centered{justify-content:center}.mzn-playground.is-dark .field.has-addons.has-addons-right{justify-content:flex-end}.mzn-playground.is-dark .field.has-addons.has-addons-fullwidth .control{flex-grow:1;flex-shrink:0}.mzn-playground.is-dark .field.is-grouped{display:flex;justify-content:flex-start}.mzn-playground.is-dark .field.is-grouped>.control{flex-shrink:0}.mzn-playground.is-dark .field.is-grouped>.control:not(:last-child){margin-bottom:0;margin-right:.75rem}.mzn-playground.is-dark .field.is-grouped>.control.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .field.is-grouped.is-grouped-centered{justify-content:center}.mzn-playground.is-dark .field.is-grouped.is-grouped-right{justify-content:flex-end}.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline{flex-wrap:wrap}.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline>.control:last-child,.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline>.control:not(:last-child){margin-bottom:.75rem}.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline:last-child{margin-bottom:-.75rem}.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline:not(:last-child){margin-bottom:0}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .field.is-horizontal{display:flex}}.mzn-playground.is-dark .field-label .label{font-size:inherit}@media screen and (max-width: 768px){.mzn-playground.is-dark .field-label{margin-bottom:.5rem}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .field-label{flex-basis:0;flex-grow:1;flex-shrink:0;margin-right:1.5rem;text-align:right}.mzn-playground.is-dark .field-label.is-small{font-size:.75rem;padding-top:.375em}.mzn-playground.is-dark .field-label.is-normal{padding-top:.375em}.mzn-playground.is-dark .field-label.is-medium{font-size:1.25rem;padding-top:.375em}.mzn-playground.is-dark .field-label.is-large{font-size:1.5rem;padding-top:.375em}}.mzn-playground.is-dark .field-body .field .field{margin-bottom:0}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .field-body{display:flex;flex-basis:0;flex-grow:5;flex-shrink:1}.mzn-playground.is-dark .field-body .field{margin-bottom:0}.mzn-playground.is-dark .field-body>.field{flex-shrink:1}.mzn-playground.is-dark .field-body>.field:not(.is-narrow){flex-grow:1}.mzn-playground.is-dark .field-body>.field:not(:last-child){margin-right:.75rem}}.mzn-playground.is-dark .control{box-sizing:border-box;clear:both;font-size:1rem;position:relative;text-align:inherit}.mzn-playground.is-dark .control.has-icons-left .input:focus~.icon,.mzn-playground.is-dark .control.has-icons-left .select:focus~.icon,.mzn-playground.is-dark .control.has-icons-right .input:focus~.icon,.mzn-playground.is-dark .control.has-icons-right .select:focus~.icon{color:#ffebeb}.mzn-playground.is-dark .control.has-icons-left .input.is-small~.icon,.mzn-playground.is-dark .control.has-icons-left .select.is-small~.icon,.mzn-playground.is-dark .control.has-icons-right .input.is-small~.icon,.mzn-playground.is-dark .control.has-icons-right .select.is-small~.icon{font-size:.75rem}.mzn-playground.is-dark .control.has-icons-left .input.is-medium~.icon,.mzn-playground.is-dark .control.has-icons-left .select.is-medium~.icon,.mzn-playground.is-dark .control.has-icons-right .input.is-medium~.icon,.mzn-playground.is-dark .control.has-icons-right .select.is-medium~.icon{font-size:1.25rem}.mzn-playground.is-dark .control.has-icons-left .input.is-large~.icon,.mzn-playground.is-dark .control.has-icons-left .select.is-large~.icon,.mzn-playground.is-dark .control.has-icons-right .input.is-large~.icon,.mzn-playground.is-dark .control.has-icons-right .select.is-large~.icon{font-size:1.5rem}.mzn-playground.is-dark .control.has-icons-left .icon,.mzn-playground.is-dark .control.has-icons-right .icon{color:#4a4a4a;height:2.5em;pointer-events:none;position:absolute;top:0;width:2.5em;z-index:4}.mzn-playground.is-dark .control.has-icons-left .input,.mzn-playground.is-dark .control.has-icons-left .select select{padding-left:2.5em}.mzn-playground.is-dark .control.has-icons-left .icon.is-left{left:0}.mzn-playground.is-dark .control.has-icons-right .input,.mzn-playground.is-dark .control.has-icons-right .select select{padding-right:2.5em}.mzn-playground.is-dark .control.has-icons-right .icon.is-right{right:0}.mzn-playground.is-dark .control.is-loading:after{position:absolute!important;right:.625em;top:.625em;z-index:4}.mzn-playground.is-dark .control.is-loading.is-small:after{font-size:.75rem}.mzn-playground.is-dark .control.is-loading.is-medium:after{font-size:1.25rem}.mzn-playground.is-dark .control.is-loading.is-large:after{font-size:1.5rem}.mzn-playground.is-dark .dropdown{display:inline-flex;position:relative;vertical-align:top}.mzn-playground.is-dark .dropdown.is-active .dropdown-menu,.mzn-playground.is-dark .dropdown.is-hoverable:hover .dropdown-menu{display:block}.mzn-playground.is-dark .dropdown.is-right .dropdown-menu{left:auto;right:0}.mzn-playground.is-dark .dropdown.is-up .dropdown-menu{bottom:100%;padding-bottom:4px;padding-top:initial;top:auto}.mzn-playground.is-dark .dropdown-menu{display:none;left:0;min-width:12rem;padding-top:4px;position:absolute;top:100%;z-index:20}.mzn-playground.is-dark .dropdown-content{background-color:#292929;border-radius:4px;box-shadow:0 .5em 1em -.125em #0a0a0a1a,0 0 0 1px #0a0a0a05;padding-bottom:.5rem;padding-top:.5rem}.mzn-playground.is-dark .dropdown-item{color:#ffebeb;display:block;font-size:.875rem;line-height:1.5;padding:.375rem 1rem;position:relative}.mzn-playground.is-dark a.dropdown-item,.mzn-playground.is-dark button.dropdown-item{padding-right:3rem;text-align:inherit;white-space:nowrap;width:100%}.mzn-playground.is-dark a.dropdown-item:hover,.mzn-playground.is-dark button.dropdown-item:hover{background-color:#1f1f1f;color:#ffebeb}.mzn-playground.is-dark a.dropdown-item.is-active,.mzn-playground.is-dark button.dropdown-item.is-active{background-color:#6294ff;color:#fff}.mzn-playground.is-dark .dropdown-divider{background-color:#ededed;border:none;display:block;height:1px;margin:.5rem 0}.mzn-playground.is-dark .menu{font-size:1rem}.mzn-playground.is-dark .menu.is-small{font-size:.75rem}.mzn-playground.is-dark .menu.is-medium{font-size:1.25rem}.mzn-playground.is-dark .menu.is-large{font-size:1.5rem}.mzn-playground.is-dark .menu-list{line-height:1.25}.mzn-playground.is-dark .menu-list a{border-radius:2px;color:#ffebeb;display:block;padding:.5em .75em}.mzn-playground.is-dark .menu-list a:hover{background-color:#141414;color:#fff}.mzn-playground.is-dark .menu-list a.is-active{background-color:#6294ff;color:#fff}.mzn-playground.is-dark .menu-list li ul{border-left:1px solid hsl(0,0%,29%);margin:.75em;padding-left:.75em}.mzn-playground.is-dark .menu-label{color:#7a7a7a;font-size:.75em;letter-spacing:.1em;text-transform:uppercase}.mzn-playground.is-dark .menu-label:not(:first-child){margin-top:1em}.mzn-playground.is-dark .menu-label:not(:last-child){margin-bottom:1em}.mzn-playground.is-dark .modal{align-items:center;display:none;flex-direction:column;justify-content:center;overflow:hidden;position:fixed;z-index:40}.mzn-playground.is-dark .modal.is-active{display:flex}.mzn-playground.is-dark .modal-background{background-color:#0a0a0adb}.mzn-playground.is-dark .modal-content,.mzn-playground.is-dark .modal-card{margin:0 20px;max-height:calc(100vh - 160px);overflow:auto;position:relative;width:100%}@media screen and (min-width: 769px){.mzn-playground.is-dark .modal-content,.mzn-playground.is-dark .modal-card{margin:0 auto;max-height:calc(100vh - 40px);width:640px}}.mzn-playground.is-dark .modal-close{background:none;height:40px;position:fixed;right:20px;top:20px;width:40px}.mzn-playground.is-dark .modal-card{display:flex;flex-direction:column;max-height:calc(100vh - 40px);overflow:hidden;-ms-overflow-y:visible}.mzn-playground.is-dark .modal-card-head,.mzn-playground.is-dark .modal-card-foot{align-items:center;background-color:#141414;display:flex;flex-shrink:0;justify-content:flex-start;padding:20px;position:relative}.mzn-playground.is-dark .modal-card-head{border-bottom:1px solid hsl(0,0%,29%);border-top-left-radius:6px;border-top-right-radius:6px}.mzn-playground.is-dark .modal-card-title{color:#fff;flex-grow:1;flex-shrink:0;font-size:1.5rem;line-height:1}.mzn-playground.is-dark .modal-card-foot{border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:1px solid hsl(0,0%,29%)}.mzn-playground.is-dark .modal-card-foot .button:not(:last-child){margin-right:.5em}.mzn-playground.is-dark .modal-card-body{-webkit-overflow-scrolling:touch;background-color:#292929;flex-grow:1;flex-shrink:1;overflow:auto;padding:20px}.mzn-playground.is-dark .navbar{background-color:#292929;min-height:3.25rem;position:relative;z-index:30}.mzn-playground.is-dark .navbar.is-white{background-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link{color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-white .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-white .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link.is-active{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link:after{border-color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-burger{color:#0a0a0a}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-white .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-white .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link{color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-white .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-white .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-white .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-white .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-white .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link.is-active{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link:after{border-color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-white .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-white .navbar-item.has-dropdown.is-active .navbar-link{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-dropdown a.navbar-item.is-active{background-color:#fff;color:#0a0a0a}}.mzn-playground.is-dark .navbar.is-black{background-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-black .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-black .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link.is-active{background-color:#000;color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-black .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-black .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-black .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-black .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-black .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-black .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-black .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link.is-active{background-color:#000;color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-black .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-black .navbar-item.has-dropdown.is-active .navbar-link{background-color:#000;color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-dropdown a.navbar-item.is-active{background-color:#0a0a0a;color:#fff}}.mzn-playground.is-dark .navbar.is-light{background-color:#f5f5f5;color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link{color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-light .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-light .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link.is-active{background-color:#e8e8e8;color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link:after{border-color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-burger{color:#000000b3}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-light .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-light .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link{color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-light .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-light .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-light .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-light .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-light .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link.is-active{background-color:#e8e8e8;color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link:after{border-color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-light .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-light .navbar-item.has-dropdown.is-active .navbar-link{background-color:#e8e8e8;color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-dropdown a.navbar-item.is-active{background-color:#f5f5f5;color:#000000b3}}.mzn-playground.is-dark .navbar.is-dark{background-color:#363636;color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link.is-active{background-color:#292929;color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-dark .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-dark .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-dark .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link.is-active{background-color:#292929;color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-dark .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-dark .navbar-item.has-dropdown.is-active .navbar-link{background-color:#292929;color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-dropdown a.navbar-item.is-active{background-color:#363636;color:#fff}}.mzn-playground.is-dark .navbar.is-primary{background-color:#1491eb;color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link.is-active{background-color:#1283d4;color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-primary .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-primary .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-primary .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link.is-active{background-color:#1283d4;color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-primary .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-primary .navbar-item.has-dropdown.is-active .navbar-link{background-color:#1283d4;color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-dropdown a.navbar-item.is-active{background-color:#1491eb;color:#fff}}.mzn-playground.is-dark .navbar.is-link{background-color:#6294ff;color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-link .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-link .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link.is-active{background-color:#4983ff;color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-link .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-link .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-link .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-link .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-link .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-link .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-link .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link.is-active{background-color:#4983ff;color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-link .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-link .navbar-item.has-dropdown.is-active .navbar-link{background-color:#4983ff;color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-dropdown a.navbar-item.is-active{background-color:#6294ff;color:#fff}}.mzn-playground.is-dark .navbar.is-info{background-color:#3e8ed0;color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-info .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-info .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link.is-active{background-color:#3082c5;color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-info .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-info .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-info .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-info .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-info .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-info .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-info .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link.is-active{background-color:#3082c5;color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-info .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-info .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3082c5;color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-dropdown a.navbar-item.is-active{background-color:#3e8ed0;color:#fff}}.mzn-playground.is-dark .navbar.is-success{background-color:#48c78e;color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-success .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-success .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link.is-active{background-color:#3abb81;color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-success .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-success .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-success .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-success .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-success .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-success .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-success .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link.is-active{background-color:#3abb81;color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-success .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-success .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3abb81;color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-dropdown a.navbar-item.is-active{background-color:#48c78e;color:#fff}}.mzn-playground.is-dark .navbar.is-warning{background-color:#ffe08a;color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link{color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link.is-active{background-color:#ffd970;color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link:after{border-color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-burger{color:#000000b3}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-warning .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-warning .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link{color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-warning .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link.is-active{background-color:#ffd970;color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link:after{border-color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-warning .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-warning .navbar-item.has-dropdown.is-active .navbar-link{background-color:#ffd970;color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-dropdown a.navbar-item.is-active{background-color:#ffe08a;color:#000000b3}}.mzn-playground.is-dark .navbar.is-danger{background-color:#f14668;color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link.is-active{background-color:#ef2e55;color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-danger .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-danger .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-danger .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link.is-active{background-color:#ef2e55;color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-danger .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-danger .navbar-item.has-dropdown.is-active .navbar-link{background-color:#ef2e55;color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-dropdown a.navbar-item.is-active{background-color:#f14668;color:#fff}}.mzn-playground.is-dark .navbar>.container{align-items:stretch;display:flex;min-height:3.25rem;width:100%}.mzn-playground.is-dark .navbar.has-shadow{box-shadow:0 2px #141414}.mzn-playground.is-dark .navbar.is-fixed-bottom,.mzn-playground.is-dark .navbar.is-fixed-top{left:0;position:fixed;right:0;z-index:30}.mzn-playground.is-dark .navbar.is-fixed-bottom{bottom:0}.mzn-playground.is-dark .navbar.is-fixed-bottom.has-shadow{box-shadow:0 -2px #141414}.mzn-playground.is-dark .navbar.is-fixed-top{top:0}.mzn-playground.is-dark html.has-navbar-fixed-top,.mzn-playground.is-dark body.has-navbar-fixed-top{padding-top:3.25rem}.mzn-playground.is-dark html.has-navbar-fixed-bottom,.mzn-playground.is-dark body.has-navbar-fixed-bottom{padding-bottom:3.25rem}.mzn-playground.is-dark .navbar-brand,.mzn-playground.is-dark .navbar-tabs{align-items:stretch;display:flex;flex-shrink:0;min-height:3.25rem}.mzn-playground.is-dark .navbar-brand a.navbar-item:focus,.mzn-playground.is-dark .navbar-brand a.navbar-item:hover{background-color:transparent}.mzn-playground.is-dark .navbar-tabs{-webkit-overflow-scrolling:touch;max-width:100vw;overflow-x:auto;overflow-y:hidden}.mzn-playground.is-dark .navbar-burger{color:#ffebeb;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;cursor:pointer;display:block;height:3.25rem;position:relative;width:3.25rem;margin-left:auto}.mzn-playground.is-dark .navbar-burger span{background-color:currentColor;display:block;height:1px;left:calc(50% - 8px);position:absolute;transform-origin:center;transition-duration:86ms;transition-property:background-color,opacity,transform;transition-timing-function:ease-out;width:16px}.mzn-playground.is-dark .navbar-burger span:nth-child(1){top:calc(50% - 6px)}.mzn-playground.is-dark .navbar-burger span:nth-child(2){top:calc(50% - 1px)}.mzn-playground.is-dark .navbar-burger span:nth-child(3){top:calc(50% + 4px)}.mzn-playground.is-dark .navbar-burger:hover{background-color:#0000000d}.mzn-playground.is-dark .navbar-burger.is-active span:nth-child(1){transform:translateY(5px) rotate(45deg)}.mzn-playground.is-dark .navbar-burger.is-active span:nth-child(2){opacity:0}.mzn-playground.is-dark .navbar-burger.is-active span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}.mzn-playground.is-dark .navbar-menu{display:none}.mzn-playground.is-dark .navbar-item,.mzn-playground.is-dark .navbar-link{color:#ffebeb;display:block;line-height:1.5;padding:.5rem .75rem;position:relative}.mzn-playground.is-dark .navbar-item .icon:only-child,.mzn-playground.is-dark .navbar-link .icon:only-child{margin-left:-.25rem;margin-right:-.25rem}.mzn-playground.is-dark a.navbar-item,.mzn-playground.is-dark .navbar-link{cursor:pointer}.mzn-playground.is-dark a.navbar-item:focus,.mzn-playground.is-dark a.navbar-item:focus-within,.mzn-playground.is-dark a.navbar-item:hover,.mzn-playground.is-dark a.navbar-item.is-active,.mzn-playground.is-dark .navbar-link:focus,.mzn-playground.is-dark .navbar-link:focus-within,.mzn-playground.is-dark .navbar-link:hover,.mzn-playground.is-dark .navbar-link.is-active{background-color:#2e2e2e;color:#6294ff}.mzn-playground.is-dark .navbar-item{flex-grow:0;flex-shrink:0}.mzn-playground.is-dark .navbar-item img{max-height:1.75rem}.mzn-playground.is-dark .navbar-item.has-dropdown{padding:0}.mzn-playground.is-dark .navbar-item.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .navbar-item.is-tab{border-bottom:1px solid transparent;min-height:3.25rem;padding-bottom:calc(.5rem - 1px)}.mzn-playground.is-dark .navbar-item.is-tab:focus,.mzn-playground.is-dark .navbar-item.is-tab:hover{background-color:transparent;border-bottom-color:#6294ff}.mzn-playground.is-dark .navbar-item.is-tab.is-active{background-color:transparent;border-bottom-color:#6294ff;border-bottom-style:solid;border-bottom-width:3px;color:#6294ff;padding-bottom:calc(.5rem - 3px)}.mzn-playground.is-dark .navbar-content{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .navbar-link:not(.is-arrowless){padding-right:2.5em}.mzn-playground.is-dark .navbar-link:not(.is-arrowless):after{border-color:#6294ff;margin-top:-.375em;right:1.125em}.mzn-playground.is-dark .navbar-dropdown{font-size:.875rem;padding-bottom:.5rem;padding-top:.5rem}.mzn-playground.is-dark .navbar-dropdown .navbar-item{padding-left:1.5rem;padding-right:1.5rem}.mzn-playground.is-dark .navbar-divider{background-color:#141414;border:none;display:none;height:2px;margin:.5rem 0}@media screen and (max-width: 768px){.mzn-playground.is-dark .navbar>.container{display:block}.mzn-playground.is-dark .navbar-brand .navbar-item,.mzn-playground.is-dark .navbar-tabs .navbar-item{align-items:center;display:flex}.mzn-playground.is-dark .navbar-link:after{display:none}.mzn-playground.is-dark .navbar-menu{background-color:#292929;box-shadow:0 8px 16px #0a0a0a1a;padding:.5rem 0}.mzn-playground.is-dark .navbar-menu.is-active{display:block}.mzn-playground.is-dark .navbar.is-fixed-bottom-touch,.mzn-playground.is-dark .navbar.is-fixed-top-touch{left:0;position:fixed;right:0;z-index:30}.mzn-playground.is-dark .navbar.is-fixed-bottom-touch{bottom:0}.mzn-playground.is-dark .navbar.is-fixed-bottom-touch.has-shadow{box-shadow:0 -2px 3px #0a0a0a1a}.mzn-playground.is-dark .navbar.is-fixed-top-touch{top:0}.mzn-playground.is-dark .navbar.is-fixed-top .navbar-menu,.mzn-playground.is-dark .navbar.is-fixed-top-touch .navbar-menu{-webkit-overflow-scrolling:touch;max-height:calc(100vh - 3.25rem);overflow:auto}.mzn-playground.is-dark html.has-navbar-fixed-top-touch,.mzn-playground.is-dark body.has-navbar-fixed-top-touch{padding-top:3.25rem}.mzn-playground.is-dark html.has-navbar-fixed-bottom-touch,.mzn-playground.is-dark body.has-navbar-fixed-bottom-touch{padding-bottom:3.25rem}}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar,.mzn-playground.is-dark .navbar-menu,.mzn-playground.is-dark .navbar-start,.mzn-playground.is-dark .navbar-end{align-items:stretch;display:flex}.mzn-playground.is-dark .navbar{min-height:3.25rem}.mzn-playground.is-dark .navbar.is-spaced{padding:1rem 2rem}.mzn-playground.is-dark .navbar.is-spaced .navbar-start,.mzn-playground.is-dark .navbar.is-spaced .navbar-end{align-items:center}.mzn-playground.is-dark .navbar.is-spaced a.navbar-item,.mzn-playground.is-dark .navbar.is-spaced .navbar-link{border-radius:4px}.mzn-playground.is-dark .navbar.is-transparent a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-transparent a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-transparent a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-transparent .navbar-link:focus,.mzn-playground.is-dark .navbar.is-transparent .navbar-link:hover,.mzn-playground.is-dark .navbar.is-transparent .navbar-link.is-active{background-color:transparent!important}.mzn-playground.is-dark .navbar.is-transparent .navbar-item.has-dropdown.is-active .navbar-link,.mzn-playground.is-dark .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus .navbar-link,.mzn-playground.is-dark .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus-within .navbar-link,.mzn-playground.is-dark .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:hover .navbar-link{background-color:transparent!important}.mzn-playground.is-dark .navbar.is-transparent .navbar-dropdown a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-transparent .navbar-dropdown a.navbar-item:hover{background-color:#141414;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-transparent .navbar-dropdown a.navbar-item.is-active{background-color:#141414;color:#6294ff}.mzn-playground.is-dark .navbar-burger{display:none}.mzn-playground.is-dark .navbar-item,.mzn-playground.is-dark .navbar-link{align-items:center;display:flex}.mzn-playground.is-dark .navbar-item.has-dropdown{align-items:stretch}.mzn-playground.is-dark .navbar-item.has-dropdown-up .navbar-link:after{transform:rotate(135deg) translate(.25em,-.25em)}.mzn-playground.is-dark .navbar-item.has-dropdown-up .navbar-dropdown{border-bottom:2px solid hsl(0,0%,29%);border-radius:6px 6px 0 0;border-top:none;bottom:100%;box-shadow:0 -8px 8px #0a0a0a1a;top:auto}.mzn-playground.is-dark .navbar-item.is-active .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:focus .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:focus-within .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:hover .navbar-dropdown{display:block}.navbar.is-spaced .mzn-playground.is-dark .navbar-item.is-active .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-active .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground.is-dark .navbar-item.is-hoverable:focus .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:focus .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground.is-dark .navbar-item.is-hoverable:focus-within .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:focus-within .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground.is-dark .navbar-item.is-hoverable:hover .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:hover .navbar-dropdown.is-boxed{opacity:1;pointer-events:auto;transform:translateY(0)}.mzn-playground.is-dark .navbar-menu{flex-grow:1;flex-shrink:0}.mzn-playground.is-dark .navbar-start{justify-content:flex-start;margin-right:auto}.mzn-playground.is-dark .navbar-end{justify-content:flex-end;margin-left:auto}.mzn-playground.is-dark .navbar-dropdown{background-color:#292929;border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:2px solid hsl(0,0%,29%);box-shadow:0 8px 8px #0a0a0a1a;display:none;font-size:.875rem;left:0;min-width:100%;position:absolute;top:100%;z-index:20}.mzn-playground.is-dark .navbar-dropdown .navbar-item{padding:.375rem 1rem;white-space:nowrap}.mzn-playground.is-dark .navbar-dropdown a.navbar-item{padding-right:3rem}.mzn-playground.is-dark .navbar-dropdown a.navbar-item:focus,.mzn-playground.is-dark .navbar-dropdown a.navbar-item:hover{background-color:#141414;color:#0a0a0a}.mzn-playground.is-dark .navbar-dropdown a.navbar-item.is-active{background-color:#141414;color:#6294ff}.navbar.is-spaced .mzn-playground.is-dark .navbar-dropdown,.mzn-playground.is-dark .navbar-dropdown.is-boxed{border-radius:6px;border-top:none;box-shadow:0 8px 8px #0a0a0a1a,0 0 0 1px #0a0a0a1a;display:block;opacity:0;pointer-events:none;top:calc(100% - 4px);transform:translateY(-5px);transition-duration:86ms;transition-property:opacity,transform}.mzn-playground.is-dark .navbar-dropdown.is-right{left:auto;right:0}.mzn-playground.is-dark .navbar-divider{display:block}.mzn-playground.is-dark .navbar>.container .navbar-brand,.mzn-playground.is-dark .container>.navbar .navbar-brand{margin-left:-.75rem}.mzn-playground.is-dark .navbar>.container .navbar-menu,.mzn-playground.is-dark .container>.navbar .navbar-menu{margin-right:-.75rem}.mzn-playground.is-dark .navbar.is-fixed-bottom-desktop,.mzn-playground.is-dark .navbar.is-fixed-top-desktop{left:0;position:fixed;right:0;z-index:30}.mzn-playground.is-dark .navbar.is-fixed-bottom-desktop{bottom:0}.mzn-playground.is-dark .navbar.is-fixed-bottom-desktop.has-shadow{box-shadow:0 -2px 3px #0a0a0a1a}.mzn-playground.is-dark .navbar.is-fixed-top-desktop{top:0}.mzn-playground.is-dark html.has-navbar-fixed-top-desktop,.mzn-playground.is-dark body.has-navbar-fixed-top-desktop{padding-top:3.25rem}.mzn-playground.is-dark html.has-navbar-fixed-bottom-desktop,.mzn-playground.is-dark body.has-navbar-fixed-bottom-desktop{padding-bottom:3.25rem}.mzn-playground.is-dark html.has-spaced-navbar-fixed-top,.mzn-playground.is-dark body.has-spaced-navbar-fixed-top{padding-top:5.25rem}.mzn-playground.is-dark html.has-spaced-navbar-fixed-bottom,.mzn-playground.is-dark body.has-spaced-navbar-fixed-bottom{padding-bottom:5.25rem}.mzn-playground.is-dark a.navbar-item.is-active,.mzn-playground.is-dark .navbar-link.is-active{color:#0a0a0a}.mzn-playground.is-dark a.navbar-item.is-active:not(:focus):not(:hover),.mzn-playground.is-dark .navbar-link.is-active:not(:focus):not(:hover){background-color:transparent}.mzn-playground.is-dark .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar-item.has-dropdown.is-active .navbar-link{background-color:#2e2e2e}}.mzn-playground.is-dark .hero.is-fullheight-with-navbar{min-height:calc(100vh - 3.25rem)}.mzn-playground.is-dark .panel{border-radius:6px;box-shadow:0 .5em 1em -.125em #0a0a0a1a,0 0 0 1px #0a0a0a05;font-size:1rem}.mzn-playground.is-dark .panel:not(:last-child){margin-bottom:1.5rem}.mzn-playground.is-dark .panel.is-white .panel-heading{background-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .panel.is-white .panel-tabs a.is-active{border-bottom-color:#fff}.mzn-playground.is-dark .panel.is-white .panel-block.is-active .panel-icon{color:#fff}.mzn-playground.is-dark .panel.is-black .panel-heading{background-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .panel.is-black .panel-tabs a.is-active{border-bottom-color:#0a0a0a}.mzn-playground.is-dark .panel.is-black .panel-block.is-active .panel-icon{color:#0a0a0a}.mzn-playground.is-dark .panel.is-light .panel-heading{background-color:#f5f5f5;color:#000000b3}.mzn-playground.is-dark .panel.is-light .panel-tabs a.is-active{border-bottom-color:#f5f5f5}.mzn-playground.is-dark .panel.is-light .panel-block.is-active .panel-icon{color:#f5f5f5}.mzn-playground.is-dark .panel.is-dark .panel-heading{background-color:#363636;color:#fff}.mzn-playground.is-dark .panel.is-dark .panel-tabs a.is-active{border-bottom-color:#363636}.mzn-playground.is-dark .panel.is-dark .panel-block.is-active .panel-icon{color:#363636}.mzn-playground.is-dark .panel.is-primary .panel-heading{background-color:#1491eb;color:#fff}.mzn-playground.is-dark .panel.is-primary .panel-tabs a.is-active{border-bottom-color:#1491eb}.mzn-playground.is-dark .panel.is-primary .panel-block.is-active .panel-icon{color:#1491eb}.mzn-playground.is-dark .panel.is-link .panel-heading{background-color:#6294ff;color:#fff}.mzn-playground.is-dark .panel.is-link .panel-tabs a.is-active{border-bottom-color:#6294ff}.mzn-playground.is-dark .panel.is-link .panel-block.is-active .panel-icon{color:#6294ff}.mzn-playground.is-dark .panel.is-info .panel-heading{background-color:#3e8ed0;color:#fff}.mzn-playground.is-dark .panel.is-info .panel-tabs a.is-active{border-bottom-color:#3e8ed0}.mzn-playground.is-dark .panel.is-info .panel-block.is-active .panel-icon{color:#3e8ed0}.mzn-playground.is-dark .panel.is-success .panel-heading{background-color:#48c78e;color:#fff}.mzn-playground.is-dark .panel.is-success .panel-tabs a.is-active{border-bottom-color:#48c78e}.mzn-playground.is-dark .panel.is-success .panel-block.is-active .panel-icon{color:#48c78e}.mzn-playground.is-dark .panel.is-warning .panel-heading{background-color:#ffe08a;color:#000000b3}.mzn-playground.is-dark .panel.is-warning .panel-tabs a.is-active{border-bottom-color:#ffe08a}.mzn-playground.is-dark .panel.is-warning .panel-block.is-active .panel-icon{color:#ffe08a}.mzn-playground.is-dark .panel.is-danger .panel-heading{background-color:#f14668;color:#fff}.mzn-playground.is-dark .panel.is-danger .panel-tabs a.is-active{border-bottom-color:#f14668}.mzn-playground.is-dark .panel.is-danger .panel-block.is-active .panel-icon{color:#f14668}.mzn-playground.is-dark .panel-tabs:not(:last-child),.mzn-playground.is-dark .panel-block:not(:last-child){border-bottom:1px solid hsl(0,0%,93%)}.mzn-playground.is-dark .panel-heading{background-color:#ededed;border-radius:6px 6px 0 0;color:#fff;font-size:1.25em;font-weight:700;line-height:1.25;padding:.75em 1em}.mzn-playground.is-dark .panel-tabs{align-items:flex-end;display:flex;font-size:.875em;justify-content:center}.mzn-playground.is-dark .panel-tabs a{border-bottom:1px solid hsl(0,0%,29%);margin-bottom:-1px;padding:.5em}.mzn-playground.is-dark .panel-tabs a.is-active{border-bottom-color:#b5b5b5;color:#c9c9c9}.mzn-playground.is-dark .panel-list a{color:#ffebeb}.mzn-playground.is-dark .panel-list a:hover{color:#6294ff}.mzn-playground.is-dark .panel-block{align-items:center;color:#fff;display:flex;justify-content:flex-start;padding:.5em .75em}.mzn-playground.is-dark .panel-block input[type=checkbox]{margin-right:.75em}.mzn-playground.is-dark .panel-block>.control{flex-grow:1;flex-shrink:1;width:100%}.mzn-playground.is-dark .panel-block.is-wrapped{flex-wrap:wrap}.mzn-playground.is-dark .panel-block.is-active{border-left-color:#6294ff;color:#c9c9c9}.mzn-playground.is-dark .panel-block.is-active .panel-icon{color:#6294ff}.mzn-playground.is-dark .panel-block:last-child{border-bottom-left-radius:6px;border-bottom-right-radius:6px}.mzn-playground.is-dark a.panel-block,.mzn-playground.is-dark label.panel-block{cursor:pointer}.mzn-playground.is-dark a.panel-block:hover,.mzn-playground.is-dark label.panel-block:hover{background-color:#141414}.mzn-playground.is-dark .panel-icon{display:inline-block;font-size:14px;height:1em;line-height:1em;text-align:center;vertical-align:top;width:1em;color:#7a7a7a;margin-right:.75em}.mzn-playground.is-dark .panel-icon .fa{font-size:inherit;line-height:inherit}.mzn-playground.is-dark .tabs{-webkit-overflow-scrolling:touch;align-items:stretch;display:flex;font-size:1rem;justify-content:space-between;overflow:hidden;overflow-x:auto;white-space:nowrap}.mzn-playground.is-dark .tabs a{align-items:center;border-bottom-color:#4a4a4a;border-bottom-style:solid;border-bottom-width:1px;color:#ffebeb;display:flex;justify-content:center;margin-bottom:-1px;padding:.5em 1em;vertical-align:top}.mzn-playground.is-dark .tabs a:hover{border-bottom-color:#fff;color:#fff}.mzn-playground.is-dark .tabs li{display:block}.mzn-playground.is-dark .tabs li.is-active a{border-bottom-color:#6294ff;color:#6294ff}.mzn-playground.is-dark .tabs ul{align-items:center;border-bottom-color:#4a4a4a;border-bottom-style:solid;border-bottom-width:1px;display:flex;flex-grow:1;flex-shrink:0;justify-content:flex-start}.mzn-playground.is-dark .tabs ul.is-left{padding-right:.75em}.mzn-playground.is-dark .tabs ul.is-center{flex:none;justify-content:center;padding-left:.75em;padding-right:.75em}.mzn-playground.is-dark .tabs ul.is-right{justify-content:flex-end;padding-left:.75em}.mzn-playground.is-dark .tabs .icon:first-child{margin-right:.5em}.mzn-playground.is-dark .tabs .icon:last-child{margin-left:.5em}.mzn-playground.is-dark .tabs.is-centered ul{justify-content:center}.mzn-playground.is-dark .tabs.is-right ul{justify-content:flex-end}.mzn-playground.is-dark .tabs.is-boxed a{border:1px solid transparent;border-radius:4px 4px 0 0}.mzn-playground.is-dark .tabs.is-boxed a:hover{background-color:#141414;border-bottom-color:#4a4a4a}.mzn-playground.is-dark .tabs.is-boxed li.is-active a{background-color:#292929;border-color:#4a4a4a;border-bottom-color:transparent!important}.mzn-playground.is-dark .tabs.is-fullwidth li{flex-grow:1;flex-shrink:0}.mzn-playground.is-dark .tabs.is-toggle a{border-color:#4a4a4a;border-style:solid;border-width:1px;margin-bottom:0;position:relative}.mzn-playground.is-dark .tabs.is-toggle a:hover{background-color:#141414;border-color:#b5b5b5;z-index:2}.mzn-playground.is-dark .tabs.is-toggle li+li{margin-left:-1px}.mzn-playground.is-dark .tabs.is-toggle li:first-child a{border-top-left-radius:4px;border-bottom-left-radius:4px}.mzn-playground.is-dark .tabs.is-toggle li:last-child a{border-top-right-radius:4px;border-bottom-right-radius:4px}.mzn-playground.is-dark .tabs.is-toggle li.is-active a{background-color:#6294ff;border-color:#6294ff;color:#fff;z-index:1}.mzn-playground.is-dark .tabs.is-toggle ul{border-bottom:none}.mzn-playground.is-dark .tabs.is-toggle.is-toggle-rounded li:first-child a{border-bottom-left-radius:9999px;border-top-left-radius:9999px;padding-left:1.25em}.mzn-playground.is-dark .tabs.is-toggle.is-toggle-rounded li:last-child a{border-bottom-right-radius:9999px;border-top-right-radius:9999px;padding-right:1.25em}.mzn-playground.is-dark .tabs.is-small{font-size:.75rem}.mzn-playground.is-dark .tabs.is-medium{font-size:1.25rem}.mzn-playground.is-dark .tabs.is-large{font-size:1.5rem}.mzn-playground.is-dark .is-block{display:block!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-block-mobile{display:block!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-block-tablet{display:block!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-block-tablet-only{display:block!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-block-touch{display:block!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-block-desktop{display:block!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-block-desktop-only{display:block!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-block-widescreen{display:block!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-block-widescreen-only{display:block!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-block-fullhd{display:block!important}}.mzn-playground.is-dark .is-flex{display:flex!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-flex-mobile{display:flex!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-flex-tablet{display:flex!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-flex-tablet-only{display:flex!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-flex-touch{display:flex!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-flex-desktop{display:flex!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-flex-desktop-only{display:flex!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-flex-widescreen{display:flex!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-flex-widescreen-only{display:flex!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-flex-fullhd{display:flex!important}}.mzn-playground.is-dark .is-inline{display:inline!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-inline-mobile{display:inline!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-inline-tablet{display:inline!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-inline-tablet-only{display:inline!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-inline-touch{display:inline!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-inline-desktop{display:inline!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-inline-desktop-only{display:inline!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-inline-widescreen{display:inline!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-inline-widescreen-only{display:inline!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-inline-fullhd{display:inline!important}}.mzn-playground.is-dark .is-inline-block{display:inline-block!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-inline-block-mobile{display:inline-block!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-inline-block-tablet{display:inline-block!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-inline-block-tablet-only{display:inline-block!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-inline-block-touch{display:inline-block!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-inline-block-desktop{display:inline-block!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-inline-block-desktop-only{display:inline-block!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-inline-block-widescreen{display:inline-block!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-inline-block-widescreen-only{display:inline-block!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-inline-block-fullhd{display:inline-block!important}}.mzn-playground.is-dark .is-inline-flex{display:inline-flex!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-inline-flex-mobile{display:inline-flex!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-inline-flex-tablet{display:inline-flex!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-inline-flex-tablet-only{display:inline-flex!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-inline-flex-touch{display:inline-flex!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-inline-flex-desktop{display:inline-flex!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-inline-flex-desktop-only{display:inline-flex!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-inline-flex-widescreen{display:inline-flex!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-inline-flex-widescreen-only{display:inline-flex!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-inline-flex-fullhd{display:inline-flex!important}}.mzn-playground.is-dark .is-hidden{display:none!important}.mzn-playground.is-dark .is-sr-only{border:none!important;clip:rect(0,0,0,0)!important;height:.01em!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:.01em!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-hidden-mobile{display:none!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-hidden-tablet{display:none!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-hidden-tablet-only{display:none!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-hidden-touch{display:none!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-hidden-desktop{display:none!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-hidden-desktop-only{display:none!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-hidden-widescreen{display:none!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-hidden-widescreen-only{display:none!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-hidden-fullhd{display:none!important}}.mzn-playground.is-dark .is-invisible{visibility:hidden!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-invisible-mobile{visibility:hidden!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-invisible-tablet{visibility:hidden!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-invisible-tablet-only{visibility:hidden!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-invisible-touch{visibility:hidden!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-invisible-desktop{visibility:hidden!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-invisible-desktop-only{visibility:hidden!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-invisible-widescreen{visibility:hidden!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-invisible-widescreen-only{visibility:hidden!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-invisible-fullhd{visibility:hidden!important}}.mzn-playground.is-dark{box-sizing:border-box;background-color:#292929;font-size:16px;min-width:300px;font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif;color:#ffebeb;font-size:1em;font-weight:400;line-height:1.5}.mzn-playground.is-dark .navbar-item,.mzn-playground.is-dark .navbar-link{padding:.5rem}.mzn-playground.is-dark .delete{background-color:#333}.mzn-playground.is-dark .delete:before,.mzn-playground.is-dark .delete:after{background-color:#ffebeb}.mzn-playground.is-dark .delete:hover,.mzn-playground.is-dark .delete:focus{background-color:#292929}.mzn-playground.is-dark .delete:active{background-color:#333}.mzn-playground.is-dark *{scrollbar-width:thin;scrollbar-color:hsl(0,0%,24%) hsl(0,0%,16%)}.mzn-playground.is-dark *::-webkit-scrollbar{width:8px}.mzn-playground.is-dark *::-webkit-scrollbar-track{background:hsl(0,0%,16%)}.mzn-playground.is-dark *::-webkit-scrollbar-thumb{background-color:#3d3d3d}.mzn-playground .output-window pre,.mzn-playground.is-dark .output-window pre{padding:0;background:none;display:inline;color:inherit;white-space:pre-wrap}.mzn-playground .mzn-trace,.mzn-playground .mzn-comment,.mzn-playground .mzn-stderr,.mzn-playground .mzn-checker,.mzn-playground.is-dark .mzn-trace,.mzn-playground.is-dark .mzn-comment,.mzn-playground.is-dark .mzn-stderr,.mzn-playground.is-dark .mzn-checker{color:var(--mzn-playground-gray)!important}.mzn-playground .mzn-stat,.mzn-playground .mzn-runtime,.mzn-playground.is-dark .mzn-stat,.mzn-playground.is-dark .mzn-runtime{color:var(--mzn-playground-blue)!important}.mzn-playground .mzn-error,.mzn-playground.is-dark .mzn-error{color:var(--mzn-playground-red)!important}.mzn-playground .mzn-warning,.mzn-playground.is-dark .mzn-warning{color:var(--mzn-playground-yellow)!important}.mzn-playground .mzn-link,.mzn-playground.is-dark .mzn-link{text-decoration:underline!important}html,body{margin:0}.mzn-editor.svelte-1fycn7h{height:100%;overflow:auto}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning{position:relative;display:inline-block}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:after{border-color:var(--mzn-playground-red)}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:after{border-color:var(--mzn-playground-yellow)}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:after,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:after{content:"";border-bottom-width:2px;border-bottom-style:dotted;position:absolute;display:block;pointer-events:none}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:before{left:2px;right:0;bottom:2px}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:after,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:after{left:0;right:2px;bottom:0}.split.svelte-e8t4e8{width:100%;height:100%;display:flex;flex-direction:column}.split.horizontal.svelte-e8t4e8{flex-direction:row}.no-splitter.svelte-e8t4e8{flex:1 1 auto}.split.svelte-e8t4e8 .gutter{background-color:var(--mzn-playground-splitter);background-repeat:no-repeat;background-position:50%}.split.svelte-e8t4e8 .gutter.gutter-vertical{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=);cursor:row-resize}.split.svelte-e8t4e8 .gutter.gutter-horizontal{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==);cursor:col-resize}.spin.svelte-1cj2gr0{animation:svelte-1cj2gr0-spin 2s 0s infinite linear}.pulse.svelte-1cj2gr0{animation:svelte-1cj2gr0-spin 1s infinite steps(8)}@keyframes svelte-1cj2gr0-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.close-tab.svelte-1ul6ap.svelte-1ul6ap{padding-left:.5rem;cursor:pointer}.active.svelte-1ul6ap:not(.readonly) .filename.svelte-1ul6ap{cursor:text}.active.filename-link.svelte-1ul6ap.svelte-1ul6ap{cursor:default}.tabs.svelte-7ub6h4{margin-bottom:0}.add-icon.svelte-7ub6h4{margin:0!important}.right.svelte-7ub6h4{flex:1 1 auto;display:flex!important;justify-content:flex-end;padding-right:.5rem!important}pre.svelte-w513p9{padding:0;background:none;display:inline;color:inherit;white-space:pre-wrap}.mzn-error.svelte-w513p9{color:var(--mzn-playground-red)}.mzn-warning.svelte-w513p9{color:var(--mzn-playground-yellow)}.mzn-link.svelte-w513p9{text-decoration:underline}.stack.svelte-147pmov.svelte-147pmov{display:flex;flex-direction:column;height:100%}.stack.svelte-147pmov>.grow.svelte-147pmov{flex:1 1 0;overflow:hidden}.stack.svelte-147pmov>.top.svelte-147pmov{flex:0 0 auto;display:flex;padding:.5rem;border-bottom:solid 1px var(--mzn-playground-border)}.stack.svelte-147pmov>.top.is-empty.svelte-147pmov{padding:0}.stack.svelte-147pmov>.top.is-empty.is-tab.svelte-147pmov{border-bottom:0}.top.svelte-147pmov>.field.svelte-147pmov{margin-bottom:0}.grow.svelte-147pmov.svelte-147pmov{background-color:var(--mzn-playground-input-background-color)}.spacer.svelte-147pmov.svelte-147pmov{flex:1 1 auto}.section-toggle.svelte-147pmov.svelte-147pmov{margin-right:.5rem}.output-window.svelte-147pmov.svelte-147pmov{height:100%;overflow:auto;padding:.5rem}details.svelte-147pmov.svelte-147pmov{margin-bottom:.5rem}.messages.svelte-147pmov.svelte-147pmov{padding-left:.5rem;line-height:1.25}.mzn-checker.svelte-147pmov.svelte-147pmov{display:block}.stack.svelte-152bhkz.svelte-152bhkz{display:flex;flex-direction:column;height:100%}.stack.svelte-152bhkz>.grow.svelte-152bhkz{flex:1 1 0;overflow:hidden}.stack.svelte-152bhkz>.top.svelte-152bhkz{flex:0 0 auto;display:flex;padding:.5rem;border-bottom:solid 1px var(--mzn-playground-border)}.top.svelte-152bhkz>.field.svelte-152bhkz{margin-bottom:0}.vis-grid.svelte-152bhkz.svelte-152bhkz{width:100%;height:100%;display:grid;grid-auto-rows:auto;gap:1px;background:var(--mzn-playground-border)}.vis-window.svelte-152bhkz.svelte-152bhkz{background:#fff;border:0;width:100%;height:100%}.solution-slider.svelte-152bhkz.svelte-152bhkz{flex:1 1 auto;padding:0 1rem;display:flex;align-items:center}.solution-label.svelte-152bhkz.svelte-152bhkz{display:flex;align-items:center;padding-right:1rem}.solution-slider.svelte-152bhkz>input.svelte-152bhkz{width:100%}.is-hidden.svelte-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} +.mzn-playground{--mzn-playground-border: hsl(0, 0%, 86%);--mzn-playground-input-background-color: hsl(0, 0%, 100%);--mzn-playground-splitter: #EEE;--mzn-playground-gray: gray;--mzn-playground-blue: blue;--mzn-playground-red: red;--mzn-playground-yellow: #d1d100}.mzn-playground.is-dark .file-cta,.mzn-playground.is-dark .file-name,.mzn-playground.is-dark .select select,.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input,.mzn-playground.is-dark .button,.mzn-playground .file-cta,.mzn-playground .file-name,.mzn-playground .select select,.mzn-playground .textarea,.mzn-playground .input,.mzn-playground .button{-moz-appearance:none;-webkit-appearance:none;align-items:center;border:1px solid transparent;border-radius:4px;box-shadow:none;display:inline-flex;font-size:1rem;height:2.5em;justify-content:flex-start;line-height:1.5;padding-bottom:calc(.5em - 1px);padding-left:calc(.75em - 1px);padding-right:calc(.75em - 1px);padding-top:calc(.5em - 1px);position:relative;vertical-align:top}.mzn-playground .file-cta:focus,.mzn-playground .file-name:focus,.mzn-playground.is-dark .select select:focus,.mzn-playground .select select:focus,.mzn-playground .textarea:focus,.mzn-playground .input:focus,.mzn-playground .button:focus,.mzn-playground .is-focused.file-cta,.mzn-playground .is-focused.file-name,.mzn-playground.is-dark .select select.is-focused,.mzn-playground .select select.is-focused,.mzn-playground .is-focused.textarea,.mzn-playground .is-focused.input,.mzn-playground .is-focused.button,.mzn-playground .file-cta:active,.mzn-playground .file-name:active,.mzn-playground.is-dark .select select:active,.mzn-playground .select select:active,.mzn-playground .textarea:active,.mzn-playground .input:active,.mzn-playground .button:active,.mzn-playground .is-active.file-cta,.mzn-playground .is-active.file-name,.mzn-playground.is-dark .select select.is-active,.mzn-playground .select select.is-active,.mzn-playground .is-active.textarea,.mzn-playground .is-active.input,.mzn-playground .is-active.button{outline:none}.mzn-playground [disabled].file-cta,.mzn-playground [disabled].file-name,.mzn-playground.is-dark .select select[disabled],.mzn-playground .select select[disabled],.mzn-playground [disabled].textarea,.mzn-playground [disabled].input,.mzn-playground [disabled].button,fieldset[disabled] .mzn-playground .file-cta,fieldset[disabled] .mzn-playground .file-name,fieldset[disabled] .mzn-playground.is-dark .select select,fieldset[disabled] .mzn-playground .select select,fieldset[disabled] .mzn-playground .textarea,fieldset[disabled] .mzn-playground .input,fieldset[disabled] .mzn-playground .button{cursor:not-allowed}.mzn-playground.is-dark .tabs,.mzn-playground.is-dark .file,.mzn-playground.is-dark .button,.mzn-playground .tabs,.mzn-playground .file,.mzn-playground .button{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mzn-playground.is-dark .navbar-link:not(.is-arrowless):after,.mzn-playground.is-dark .select:not(.is-multiple):not(.is-loading):after,.mzn-playground .navbar-link:not(.is-arrowless):after,.mzn-playground .select:not(.is-multiple):not(.is-loading):after{border:3px solid transparent;border-radius:2px;border-right:0;border-top:0;content:" ";display:block;height:.625em;margin-top:-.4375em;pointer-events:none;position:absolute;top:50%;transform:rotate(-45deg);transform-origin:center;width:.625em}.mzn-playground .tabs:not(:last-child),.mzn-playground .block:not(:last-child),.mzn-playground .table-container:not(:last-child),.mzn-playground .table:not(:last-child){margin-bottom:1.5rem}.mzn-playground.is-dark .modal-close,.mzn-playground.is-dark .delete,.mzn-playground .modal-close,.mzn-playground .delete{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-moz-appearance:none;-webkit-appearance:none;background-color:#0a0a0a33;border:none;border-radius:9999px;cursor:pointer;pointer-events:auto;display:inline-block;flex-grow:0;flex-shrink:0;font-size:0;height:20px;max-height:20px;max-width:20px;min-height:20px;min-width:20px;outline:none;position:relative;vertical-align:top;width:20px}.mzn-playground.is-dark .modal-close:before,.mzn-playground.is-dark .delete:before,.mzn-playground .modal-close:before,.mzn-playground .delete:before,.mzn-playground.is-dark .modal-close:after,.mzn-playground.is-dark .delete:after,.mzn-playground .modal-close:after,.mzn-playground .delete:after{background-color:#fff;content:"";display:block;left:50%;position:absolute;top:50%;transform:translate(-50%) translateY(-50%) rotate(45deg);transform-origin:center center}.mzn-playground.is-dark .modal-close:before,.mzn-playground.is-dark .delete:before,.mzn-playground .modal-close:before,.mzn-playground .delete:before{height:2px;width:50%}.mzn-playground.is-dark .modal-close:after,.mzn-playground.is-dark .delete:after,.mzn-playground .modal-close:after,.mzn-playground .delete:after{height:50%;width:2px}.mzn-playground .modal-close:hover,.mzn-playground .delete:hover,.mzn-playground .modal-close:focus,.mzn-playground .delete:focus{background-color:#0a0a0a4d}.mzn-playground .modal-close:active,.mzn-playground .delete:active{background-color:#0a0a0a66}.mzn-playground .is-small.modal-close,.mzn-playground .is-small.delete{height:16px;max-height:16px;max-width:16px;min-height:16px;min-width:16px;width:16px}.mzn-playground .is-medium.modal-close,.mzn-playground .is-medium.delete{height:24px;max-height:24px;max-width:24px;min-height:24px;min-width:24px;width:24px}.mzn-playground .is-large.modal-close,.mzn-playground .is-large.delete{height:32px;max-height:32px;max-width:32px;min-height:32px;min-width:32px;width:32px}.mzn-playground.is-dark .control.is-loading:after,.mzn-playground.is-dark .select.is-loading:after,.mzn-playground.is-dark .loader,.mzn-playground.is-dark .button.is-loading:after,.mzn-playground .control.is-loading:after,.mzn-playground .select.is-loading:after,.mzn-playground .loader,.mzn-playground .button.is-loading:after{animation:spinAround .5s infinite linear;border:2px solid hsl(0,0%,86%);border-radius:9999px;border-right-color:transparent;border-top-color:transparent;content:"";display:block;height:1em;position:relative;width:1em}.mzn-playground.is-dark .modal-background,.mzn-playground.is-dark .modal,.mzn-playground .modal-background,.mzn-playground .modal{bottom:0;left:0;position:absolute;right:0;top:0}.mzn-playground.is-dark .navbar-burger,.mzn-playground .navbar-burger{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;color:currentColor;font-family:inherit;font-size:1em;margin:0;padding:0}.mzn-playground html,.mzn-playground body,.mzn-playground p,.mzn-playground ol,.mzn-playground ul,.mzn-playground li,.mzn-playground dl,.mzn-playground dt,.mzn-playground dd,.mzn-playground blockquote,.mzn-playground figure,.mzn-playground fieldset,.mzn-playground legend,.mzn-playground textarea,.mzn-playground pre,.mzn-playground iframe,.mzn-playground hr,.mzn-playground h1,.mzn-playground h2,.mzn-playground h3,.mzn-playground h4,.mzn-playground h5,.mzn-playground h6{margin:0;padding:0}.mzn-playground h1,.mzn-playground h2,.mzn-playground h3,.mzn-playground h4,.mzn-playground h5,.mzn-playground h6{font-size:100%;font-weight:400}.mzn-playground ul{list-style:none}.mzn-playground button,.mzn-playground input,.mzn-playground select,.mzn-playground textarea{margin:0}.mzn-playground html{box-sizing:border-box}.mzn-playground *,.mzn-playground *:before,.mzn-playground *:after{box-sizing:inherit}.mzn-playground img,.mzn-playground video{height:auto;max-width:100%}.mzn-playground iframe{border:0}.mzn-playground table{border-collapse:collapse;border-spacing:0}.mzn-playground td,.mzn-playground th{padding:0}.mzn-playground td:not([align]),.mzn-playground th:not([align]){text-align:inherit}.mzn-playground html{background-color:#fff;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;min-width:300px;overflow-x:hidden;overflow-y:scroll;text-rendering:optimizeLegibility;text-size-adjust:100%}.mzn-playground article,.mzn-playground aside,.mzn-playground figure,.mzn-playground footer,.mzn-playground header,.mzn-playground hgroup,.mzn-playground section{display:block}.mzn-playground body,.mzn-playground button,.mzn-playground input,.mzn-playground optgroup,.mzn-playground select,.mzn-playground textarea{font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif}.mzn-playground code,.mzn-playground pre{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:auto;font-family:monospace}.mzn-playground body{color:#4a4a4a;font-size:1em;font-weight:400;line-height:1.5}.mzn-playground a{color:#485fc7;cursor:pointer;text-decoration:none}.mzn-playground a strong{color:currentColor}.mzn-playground a:hover{color:#363636}.mzn-playground code{background-color:#f5f5f5;color:#da1039;font-size:.875em;font-weight:400;padding:.25em .5em}.mzn-playground hr{background-color:#f5f5f5;border:none;display:block;height:2px;margin:1.5rem 0}.mzn-playground img{height:auto;max-width:100%}.mzn-playground input[type=checkbox],.mzn-playground input[type=radio]{vertical-align:baseline}.mzn-playground small{font-size:.875em}.mzn-playground span{font-style:inherit;font-weight:inherit}.mzn-playground strong{color:#363636;font-weight:700}.mzn-playground fieldset{border:none}.mzn-playground pre{-webkit-overflow-scrolling:touch;background-color:#f5f5f5;color:#4a4a4a;font-size:1em;overflow-x:auto;padding:1.25rem 1.5rem;white-space:pre;word-wrap:normal}.mzn-playground pre code{background-color:transparent;color:currentColor;font-size:1em;padding:0}.mzn-playground table td,.mzn-playground table th{vertical-align:top}.mzn-playground table td:not([align]),.mzn-playground table th:not([align]){text-align:inherit}.mzn-playground table th{color:#363636}.mzn-playground .button{background-color:#fff;border-color:#dbdbdb;border-width:1px;color:#363636;cursor:pointer;justify-content:center;padding-bottom:calc(.5em - 1px);padding-left:1em;padding-right:1em;padding-top:calc(.5em - 1px);text-align:center;white-space:nowrap}.mzn-playground .button strong{color:inherit}.mzn-playground .button .icon,.mzn-playground .button .icon.is-small,.mzn-playground .button .icon.is-medium,.mzn-playground .button .icon.is-large{height:1.5em;width:1.5em}.mzn-playground .button .icon:first-child:not(:last-child){margin-left:calc(-.5em - 1px);margin-right:.25em}.mzn-playground .button .icon:last-child:not(:first-child){margin-left:.25em;margin-right:calc(-.5em - 1px)}.mzn-playground .button .icon:first-child:last-child{margin-left:calc(-.5em - 1px);margin-right:calc(-.5em - 1px)}.mzn-playground .button:hover,.mzn-playground .button.is-hovered{border-color:#b5b5b5;color:#363636}.mzn-playground .button:focus,.mzn-playground .button.is-focused{border-color:#485fc7;color:#363636}.mzn-playground .button:focus:not(:active),.mzn-playground .button.is-focused:not(:active){box-shadow:0 0 0 .125em #485fc740}.mzn-playground .button:active,.mzn-playground .button.is-active{border-color:#4a4a4a;color:#363636}.mzn-playground .button.is-text{background-color:transparent;border-color:transparent;color:#4a4a4a;text-decoration:underline}.mzn-playground .button.is-text:hover,.mzn-playground .button.is-text.is-hovered,.mzn-playground .button.is-text:focus,.mzn-playground .button.is-text.is-focused{background-color:#f5f5f5;color:#363636}.mzn-playground .button.is-text:active,.mzn-playground .button.is-text.is-active{background-color:#e8e8e8;color:#363636}.mzn-playground .button.is-text[disabled],fieldset[disabled] .mzn-playground .button.is-text{background-color:transparent;border-color:transparent;box-shadow:none}.mzn-playground .button.is-ghost{background:none;border-color:transparent;color:#485fc7;text-decoration:none}.mzn-playground .button.is-ghost:hover,.mzn-playground .button.is-ghost.is-hovered{color:#485fc7;text-decoration:underline}.mzn-playground .button.is-white{background-color:#fff;border-color:transparent;color:#0a0a0a}.mzn-playground .button.is-white:hover,.mzn-playground .button.is-white.is-hovered{background-color:#f9f9f9;border-color:transparent;color:#0a0a0a}.mzn-playground .button.is-white:focus,.mzn-playground .button.is-white.is-focused{border-color:transparent;color:#0a0a0a}.mzn-playground .button.is-white:focus:not(:active),.mzn-playground .button.is-white.is-focused:not(:active){box-shadow:0 0 0 .125em #ffffff40}.mzn-playground .button.is-white:active,.mzn-playground .button.is-white.is-active{background-color:#f2f2f2;border-color:transparent;color:#0a0a0a}.mzn-playground .button.is-white[disabled],fieldset[disabled] .mzn-playground .button.is-white{background-color:#fff;border-color:#fff;box-shadow:none}.mzn-playground .button.is-white.is-inverted{background-color:#0a0a0a;color:#fff}.mzn-playground .button.is-white.is-inverted:hover,.mzn-playground .button.is-white.is-inverted.is-hovered{background-color:#000}.mzn-playground .button.is-white.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-white.is-inverted{background-color:#0a0a0a;border-color:transparent;box-shadow:none;color:#fff}.mzn-playground .button.is-white.is-loading:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground .button.is-white.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-white.is-outlined:hover,.mzn-playground .button.is-white.is-outlined.is-hovered,.mzn-playground .button.is-white.is-outlined:focus,.mzn-playground .button.is-white.is-outlined.is-focused{background-color:#fff;border-color:#fff;color:#0a0a0a}.mzn-playground .button.is-white.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground .button.is-white.is-outlined.is-loading:hover:after,.mzn-playground .button.is-white.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-white.is-outlined.is-loading:focus:after,.mzn-playground .button.is-white.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground .button.is-white.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-white.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-white.is-inverted.is-outlined{background-color:transparent;border-color:#0a0a0a;color:#0a0a0a}.mzn-playground .button.is-white.is-inverted.is-outlined:hover,.mzn-playground .button.is-white.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-white.is-inverted.is-outlined:focus,.mzn-playground .button.is-white.is-inverted.is-outlined.is-focused{background-color:#0a0a0a;color:#fff}.mzn-playground .button.is-white.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-white.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-white.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-white.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground .button.is-white.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-white.is-inverted.is-outlined{background-color:transparent;border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.mzn-playground .button.is-black{background-color:#0a0a0a;border-color:transparent;color:#fff}.mzn-playground .button.is-black:hover,.mzn-playground .button.is-black.is-hovered{background-color:#040404;border-color:transparent;color:#fff}.mzn-playground .button.is-black:focus,.mzn-playground .button.is-black.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-black:focus:not(:active),.mzn-playground .button.is-black.is-focused:not(:active){box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground .button.is-black:active,.mzn-playground .button.is-black.is-active{background-color:#000;border-color:transparent;color:#fff}.mzn-playground .button.is-black[disabled],fieldset[disabled] .mzn-playground .button.is-black{background-color:#0a0a0a;border-color:#0a0a0a;box-shadow:none}.mzn-playground .button.is-black.is-inverted{background-color:#fff;color:#0a0a0a}.mzn-playground .button.is-black.is-inverted:hover,.mzn-playground .button.is-black.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-black.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-black.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#0a0a0a}.mzn-playground .button.is-black.is-loading:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground .button.is-black.is-outlined{background-color:transparent;border-color:#0a0a0a;color:#0a0a0a}.mzn-playground .button.is-black.is-outlined:hover,.mzn-playground .button.is-black.is-outlined.is-hovered,.mzn-playground .button.is-black.is-outlined:focus,.mzn-playground .button.is-black.is-outlined.is-focused{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.mzn-playground .button.is-black.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground .button.is-black.is-outlined.is-loading:hover:after,.mzn-playground .button.is-black.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-black.is-outlined.is-loading:focus:after,.mzn-playground .button.is-black.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground .button.is-black.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-black.is-outlined{background-color:transparent;border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.mzn-playground .button.is-black.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-black.is-inverted.is-outlined:hover,.mzn-playground .button.is-black.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-black.is-inverted.is-outlined:focus,.mzn-playground .button.is-black.is-inverted.is-outlined.is-focused{background-color:#fff;color:#0a0a0a}.mzn-playground .button.is-black.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-black.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-black.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-black.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground .button.is-black.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-black.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-light{background-color:#f5f5f5;border-color:transparent;color:#000000b3}.mzn-playground .button.is-light:hover,.mzn-playground .button.is-light.is-hovered{background-color:#eee;border-color:transparent;color:#000000b3}.mzn-playground .button.is-light:focus,.mzn-playground .button.is-light.is-focused{border-color:transparent;color:#000000b3}.mzn-playground .button.is-light:focus:not(:active),.mzn-playground .button.is-light.is-focused:not(:active){box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground .button.is-light:active,.mzn-playground .button.is-light.is-active{background-color:#e8e8e8;border-color:transparent;color:#000000b3}.mzn-playground .button.is-light[disabled],fieldset[disabled] .mzn-playground .button.is-light{background-color:#f5f5f5;border-color:#f5f5f5;box-shadow:none}.mzn-playground .button.is-light.is-inverted{background-color:#000000b3;color:#f5f5f5}.mzn-playground .button.is-light.is-inverted:hover,.mzn-playground .button.is-light.is-inverted.is-hovered{background-color:#000000b3}.mzn-playground .button.is-light.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-light.is-inverted{background-color:#000000b3;border-color:transparent;box-shadow:none;color:#f5f5f5}.mzn-playground .button.is-light.is-loading:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground .button.is-light.is-outlined{background-color:transparent;border-color:#f5f5f5;color:#f5f5f5}.mzn-playground .button.is-light.is-outlined:hover,.mzn-playground .button.is-light.is-outlined.is-hovered,.mzn-playground .button.is-light.is-outlined:focus,.mzn-playground .button.is-light.is-outlined.is-focused{background-color:#f5f5f5;border-color:#f5f5f5;color:#000000b3}.mzn-playground .button.is-light.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,96%) hsl(0,0%,96%)!important}.mzn-playground .button.is-light.is-outlined.is-loading:hover:after,.mzn-playground .button.is-light.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-light.is-outlined.is-loading:focus:after,.mzn-playground .button.is-light.is-outlined.is-loading.is-focused:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground .button.is-light.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-light.is-outlined{background-color:transparent;border-color:#f5f5f5;box-shadow:none;color:#f5f5f5}.mzn-playground .button.is-light.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;color:#000000b3}.mzn-playground .button.is-light.is-inverted.is-outlined:hover,.mzn-playground .button.is-light.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-light.is-inverted.is-outlined:focus,.mzn-playground .button.is-light.is-inverted.is-outlined.is-focused{background-color:#000000b3;color:#f5f5f5}.mzn-playground .button.is-light.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-light.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-light.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-light.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,96%) hsl(0,0%,96%)!important}.mzn-playground .button.is-light.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-light.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;box-shadow:none;color:#000000b3}.mzn-playground .button.is-dark{background-color:#363636;border-color:transparent;color:#fff}.mzn-playground .button.is-dark:hover,.mzn-playground .button.is-dark.is-hovered{background-color:#2f2f2f;border-color:transparent;color:#fff}.mzn-playground .button.is-dark:focus,.mzn-playground .button.is-dark.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-dark:focus:not(:active),.mzn-playground .button.is-dark.is-focused:not(:active){box-shadow:0 0 0 .125em #36363640}.mzn-playground .button.is-dark:active,.mzn-playground .button.is-dark.is-active{background-color:#292929;border-color:transparent;color:#fff}.mzn-playground .button.is-dark[disabled],fieldset[disabled] .mzn-playground .button.is-dark{background-color:#363636;border-color:#363636;box-shadow:none}.mzn-playground .button.is-dark.is-inverted{background-color:#fff;color:#363636}.mzn-playground .button.is-dark.is-inverted:hover,.mzn-playground .button.is-dark.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-dark.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-dark.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#363636}.mzn-playground .button.is-dark.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-dark.is-outlined{background-color:transparent;border-color:#363636;color:#363636}.mzn-playground .button.is-dark.is-outlined:hover,.mzn-playground .button.is-dark.is-outlined.is-hovered,.mzn-playground .button.is-dark.is-outlined:focus,.mzn-playground .button.is-dark.is-outlined.is-focused{background-color:#363636;border-color:#363636;color:#fff}.mzn-playground .button.is-dark.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,21%) hsl(0,0%,21%)!important}.mzn-playground .button.is-dark.is-outlined.is-loading:hover:after,.mzn-playground .button.is-dark.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-dark.is-outlined.is-loading:focus:after,.mzn-playground .button.is-dark.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-dark.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-dark.is-outlined{background-color:transparent;border-color:#363636;box-shadow:none;color:#363636}.mzn-playground .button.is-dark.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-dark.is-inverted.is-outlined:hover,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-dark.is-inverted.is-outlined:focus,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-focused{background-color:#fff;color:#363636}.mzn-playground .button.is-dark.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-dark.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,21%) hsl(0,0%,21%)!important}.mzn-playground .button.is-dark.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-dark.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-primary{background-color:#1491eb;border-color:transparent;color:#fff}.mzn-playground .button.is-primary:hover,.mzn-playground .button.is-primary.is-hovered{background-color:#138adf;border-color:transparent;color:#fff}.mzn-playground .button.is-primary:focus,.mzn-playground .button.is-primary.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-primary:focus:not(:active),.mzn-playground .button.is-primary.is-focused:not(:active){box-shadow:0 0 0 .125em #1491eb40}.mzn-playground .button.is-primary:active,.mzn-playground .button.is-primary.is-active{background-color:#1283d4;border-color:transparent;color:#fff}.mzn-playground .button.is-primary[disabled],fieldset[disabled] .mzn-playground .button.is-primary{background-color:#1491eb;border-color:#1491eb;box-shadow:none}.mzn-playground .button.is-primary.is-inverted{background-color:#fff;color:#1491eb}.mzn-playground .button.is-primary.is-inverted:hover,.mzn-playground .button.is-primary.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-primary.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-primary.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#1491eb}.mzn-playground .button.is-primary.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-primary.is-outlined{background-color:transparent;border-color:#1491eb;color:#1491eb}.mzn-playground .button.is-primary.is-outlined:hover,.mzn-playground .button.is-primary.is-outlined.is-hovered,.mzn-playground .button.is-primary.is-outlined:focus,.mzn-playground .button.is-primary.is-outlined.is-focused{background-color:#1491eb;border-color:#1491eb;color:#fff}.mzn-playground .button.is-primary.is-outlined.is-loading:after{border-color:transparent transparent #1491eb #1491eb!important}.mzn-playground .button.is-primary.is-outlined.is-loading:hover:after,.mzn-playground .button.is-primary.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-primary.is-outlined.is-loading:focus:after,.mzn-playground .button.is-primary.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-primary.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-primary.is-outlined{background-color:transparent;border-color:#1491eb;box-shadow:none;color:#1491eb}.mzn-playground .button.is-primary.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-primary.is-inverted.is-outlined:hover,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-primary.is-inverted.is-outlined:focus,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-focused{background-color:#fff;color:#1491eb}.mzn-playground .button.is-primary.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-primary.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #1491eb #1491eb!important}.mzn-playground .button.is-primary.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-primary.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-primary.is-light{background-color:#ecf6fd;color:#1074bc}.mzn-playground .button.is-primary.is-light:hover,.mzn-playground .button.is-primary.is-light.is-hovered{background-color:#e0f1fc;border-color:transparent;color:#1074bc}.mzn-playground .button.is-primary.is-light:active,.mzn-playground .button.is-primary.is-light.is-active{background-color:#d5ebfb;border-color:transparent;color:#1074bc}.mzn-playground .button.is-link{background-color:#485fc7;border-color:transparent;color:#fff}.mzn-playground .button.is-link:hover,.mzn-playground .button.is-link.is-hovered{background-color:#3e56c4;border-color:transparent;color:#fff}.mzn-playground .button.is-link:focus,.mzn-playground .button.is-link.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-link:focus:not(:active),.mzn-playground .button.is-link.is-focused:not(:active){box-shadow:0 0 0 .125em #485fc740}.mzn-playground .button.is-link:active,.mzn-playground .button.is-link.is-active{background-color:#3a51bb;border-color:transparent;color:#fff}.mzn-playground .button.is-link[disabled],fieldset[disabled] .mzn-playground .button.is-link{background-color:#485fc7;border-color:#485fc7;box-shadow:none}.mzn-playground .button.is-link.is-inverted{background-color:#fff;color:#485fc7}.mzn-playground .button.is-link.is-inverted:hover,.mzn-playground .button.is-link.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-link.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-link.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#485fc7}.mzn-playground .button.is-link.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-link.is-outlined{background-color:transparent;border-color:#485fc7;color:#485fc7}.mzn-playground .button.is-link.is-outlined:hover,.mzn-playground .button.is-link.is-outlined.is-hovered,.mzn-playground .button.is-link.is-outlined:focus,.mzn-playground .button.is-link.is-outlined.is-focused{background-color:#485fc7;border-color:#485fc7;color:#fff}.mzn-playground .button.is-link.is-outlined.is-loading:after{border-color:transparent transparent hsl(229,53%,53%) hsl(229,53%,53%)!important}.mzn-playground .button.is-link.is-outlined.is-loading:hover:after,.mzn-playground .button.is-link.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-link.is-outlined.is-loading:focus:after,.mzn-playground .button.is-link.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-link.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-link.is-outlined{background-color:transparent;border-color:#485fc7;box-shadow:none;color:#485fc7}.mzn-playground .button.is-link.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-link.is-inverted.is-outlined:hover,.mzn-playground .button.is-link.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-link.is-inverted.is-outlined:focus,.mzn-playground .button.is-link.is-inverted.is-outlined.is-focused{background-color:#fff;color:#485fc7}.mzn-playground .button.is-link.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-link.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-link.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-link.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(229,53%,53%) hsl(229,53%,53%)!important}.mzn-playground .button.is-link.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-link.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-link.is-light{background-color:#eff1fa;color:#3850b7}.mzn-playground .button.is-link.is-light:hover,.mzn-playground .button.is-link.is-light.is-hovered{background-color:#e6e9f7;border-color:transparent;color:#3850b7}.mzn-playground .button.is-link.is-light:active,.mzn-playground .button.is-link.is-light.is-active{background-color:#dce0f4;border-color:transparent;color:#3850b7}.mzn-playground .button.is-info{background-color:#3e8ed0;border-color:transparent;color:#fff}.mzn-playground .button.is-info:hover,.mzn-playground .button.is-info.is-hovered{background-color:#3488ce;border-color:transparent;color:#fff}.mzn-playground .button.is-info:focus,.mzn-playground .button.is-info.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-info:focus:not(:active),.mzn-playground .button.is-info.is-focused:not(:active){box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground .button.is-info:active,.mzn-playground .button.is-info.is-active{background-color:#3082c5;border-color:transparent;color:#fff}.mzn-playground .button.is-info[disabled],fieldset[disabled] .mzn-playground .button.is-info{background-color:#3e8ed0;border-color:#3e8ed0;box-shadow:none}.mzn-playground .button.is-info.is-inverted{background-color:#fff;color:#3e8ed0}.mzn-playground .button.is-info.is-inverted:hover,.mzn-playground .button.is-info.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-info.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-info.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#3e8ed0}.mzn-playground .button.is-info.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-info.is-outlined{background-color:transparent;border-color:#3e8ed0;color:#3e8ed0}.mzn-playground .button.is-info.is-outlined:hover,.mzn-playground .button.is-info.is-outlined.is-hovered,.mzn-playground .button.is-info.is-outlined:focus,.mzn-playground .button.is-info.is-outlined.is-focused{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.mzn-playground .button.is-info.is-outlined.is-loading:after{border-color:transparent transparent hsl(207,61%,53%) hsl(207,61%,53%)!important}.mzn-playground .button.is-info.is-outlined.is-loading:hover:after,.mzn-playground .button.is-info.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-info.is-outlined.is-loading:focus:after,.mzn-playground .button.is-info.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-info.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-info.is-outlined{background-color:transparent;border-color:#3e8ed0;box-shadow:none;color:#3e8ed0}.mzn-playground .button.is-info.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-info.is-inverted.is-outlined:hover,.mzn-playground .button.is-info.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-info.is-inverted.is-outlined:focus,.mzn-playground .button.is-info.is-inverted.is-outlined.is-focused{background-color:#fff;color:#3e8ed0}.mzn-playground .button.is-info.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-info.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-info.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-info.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(207,61%,53%) hsl(207,61%,53%)!important}.mzn-playground .button.is-info.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-info.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-info.is-light{background-color:#eff5fb;color:#296fa8}.mzn-playground .button.is-info.is-light:hover,.mzn-playground .button.is-info.is-light.is-hovered{background-color:#e4eff9;border-color:transparent;color:#296fa8}.mzn-playground .button.is-info.is-light:active,.mzn-playground .button.is-info.is-light.is-active{background-color:#dae9f6;border-color:transparent;color:#296fa8}.mzn-playground .button.is-success{background-color:#48c78e;border-color:transparent;color:#fff}.mzn-playground .button.is-success:hover,.mzn-playground .button.is-success.is-hovered{background-color:#3ec487;border-color:transparent;color:#fff}.mzn-playground .button.is-success:focus,.mzn-playground .button.is-success.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-success:focus:not(:active),.mzn-playground .button.is-success.is-focused:not(:active){box-shadow:0 0 0 .125em #48c78e40}.mzn-playground .button.is-success:active,.mzn-playground .button.is-success.is-active{background-color:#3abb81;border-color:transparent;color:#fff}.mzn-playground .button.is-success[disabled],fieldset[disabled] .mzn-playground .button.is-success{background-color:#48c78e;border-color:#48c78e;box-shadow:none}.mzn-playground .button.is-success.is-inverted{background-color:#fff;color:#48c78e}.mzn-playground .button.is-success.is-inverted:hover,.mzn-playground .button.is-success.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-success.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-success.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#48c78e}.mzn-playground .button.is-success.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-success.is-outlined{background-color:transparent;border-color:#48c78e;color:#48c78e}.mzn-playground .button.is-success.is-outlined:hover,.mzn-playground .button.is-success.is-outlined.is-hovered,.mzn-playground .button.is-success.is-outlined:focus,.mzn-playground .button.is-success.is-outlined.is-focused{background-color:#48c78e;border-color:#48c78e;color:#fff}.mzn-playground .button.is-success.is-outlined.is-loading:after{border-color:transparent transparent hsl(153,53%,53%) hsl(153,53%,53%)!important}.mzn-playground .button.is-success.is-outlined.is-loading:hover:after,.mzn-playground .button.is-success.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-success.is-outlined.is-loading:focus:after,.mzn-playground .button.is-success.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-success.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-success.is-outlined{background-color:transparent;border-color:#48c78e;box-shadow:none;color:#48c78e}.mzn-playground .button.is-success.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-success.is-inverted.is-outlined:hover,.mzn-playground .button.is-success.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-success.is-inverted.is-outlined:focus,.mzn-playground .button.is-success.is-inverted.is-outlined.is-focused{background-color:#fff;color:#48c78e}.mzn-playground .button.is-success.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-success.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-success.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-success.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(153,53%,53%) hsl(153,53%,53%)!important}.mzn-playground .button.is-success.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-success.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-success.is-light{background-color:#effaf5;color:#257953}.mzn-playground .button.is-success.is-light:hover,.mzn-playground .button.is-success.is-light.is-hovered{background-color:#e6f7ef;border-color:transparent;color:#257953}.mzn-playground .button.is-success.is-light:active,.mzn-playground .button.is-success.is-light.is-active{background-color:#dcf4e9;border-color:transparent;color:#257953}.mzn-playground .button.is-warning{background-color:#ffe08a;border-color:transparent;color:#000000b3}.mzn-playground .button.is-warning:hover,.mzn-playground .button.is-warning.is-hovered{background-color:#ffdc7d;border-color:transparent;color:#000000b3}.mzn-playground .button.is-warning:focus,.mzn-playground .button.is-warning.is-focused{border-color:transparent;color:#000000b3}.mzn-playground .button.is-warning:focus:not(:active),.mzn-playground .button.is-warning.is-focused:not(:active){box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground .button.is-warning:active,.mzn-playground .button.is-warning.is-active{background-color:#ffd970;border-color:transparent;color:#000000b3}.mzn-playground .button.is-warning[disabled],fieldset[disabled] .mzn-playground .button.is-warning{background-color:#ffe08a;border-color:#ffe08a;box-shadow:none}.mzn-playground .button.is-warning.is-inverted{background-color:#000000b3;color:#ffe08a}.mzn-playground .button.is-warning.is-inverted:hover,.mzn-playground .button.is-warning.is-inverted.is-hovered{background-color:#000000b3}.mzn-playground .button.is-warning.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-warning.is-inverted{background-color:#000000b3;border-color:transparent;box-shadow:none;color:#ffe08a}.mzn-playground .button.is-warning.is-loading:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground .button.is-warning.is-outlined{background-color:transparent;border-color:#ffe08a;color:#ffe08a}.mzn-playground .button.is-warning.is-outlined:hover,.mzn-playground .button.is-warning.is-outlined.is-hovered,.mzn-playground .button.is-warning.is-outlined:focus,.mzn-playground .button.is-warning.is-outlined.is-focused{background-color:#ffe08a;border-color:#ffe08a;color:#000000b3}.mzn-playground .button.is-warning.is-outlined.is-loading:after{border-color:transparent transparent hsl(44,100%,77%) hsl(44,100%,77%)!important}.mzn-playground .button.is-warning.is-outlined.is-loading:hover:after,.mzn-playground .button.is-warning.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-warning.is-outlined.is-loading:focus:after,.mzn-playground .button.is-warning.is-outlined.is-loading.is-focused:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground .button.is-warning.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-warning.is-outlined{background-color:transparent;border-color:#ffe08a;box-shadow:none;color:#ffe08a}.mzn-playground .button.is-warning.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;color:#000000b3}.mzn-playground .button.is-warning.is-inverted.is-outlined:hover,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-warning.is-inverted.is-outlined:focus,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-focused{background-color:#000000b3;color:#ffe08a}.mzn-playground .button.is-warning.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-warning.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(44,100%,77%) hsl(44,100%,77%)!important}.mzn-playground .button.is-warning.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-warning.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;box-shadow:none;color:#000000b3}.mzn-playground .button.is-warning.is-light{background-color:#fffaeb;color:#946c00}.mzn-playground .button.is-warning.is-light:hover,.mzn-playground .button.is-warning.is-light.is-hovered{background-color:#fff6de;border-color:transparent;color:#946c00}.mzn-playground .button.is-warning.is-light:active,.mzn-playground .button.is-warning.is-light.is-active{background-color:#fff3d1;border-color:transparent;color:#946c00}.mzn-playground .button.is-danger{background-color:#f14668;border-color:transparent;color:#fff}.mzn-playground .button.is-danger:hover,.mzn-playground .button.is-danger.is-hovered{background-color:#f03a5f;border-color:transparent;color:#fff}.mzn-playground .button.is-danger:focus,.mzn-playground .button.is-danger.is-focused{border-color:transparent;color:#fff}.mzn-playground .button.is-danger:focus:not(:active),.mzn-playground .button.is-danger.is-focused:not(:active){box-shadow:0 0 0 .125em #f1466840}.mzn-playground .button.is-danger:active,.mzn-playground .button.is-danger.is-active{background-color:#ef2e55;border-color:transparent;color:#fff}.mzn-playground .button.is-danger[disabled],fieldset[disabled] .mzn-playground .button.is-danger{background-color:#f14668;border-color:#f14668;box-shadow:none}.mzn-playground .button.is-danger.is-inverted{background-color:#fff;color:#f14668}.mzn-playground .button.is-danger.is-inverted:hover,.mzn-playground .button.is-danger.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground .button.is-danger.is-inverted[disabled],fieldset[disabled] .mzn-playground .button.is-danger.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#f14668}.mzn-playground .button.is-danger.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-danger.is-outlined{background-color:transparent;border-color:#f14668;color:#f14668}.mzn-playground .button.is-danger.is-outlined:hover,.mzn-playground .button.is-danger.is-outlined.is-hovered,.mzn-playground .button.is-danger.is-outlined:focus,.mzn-playground .button.is-danger.is-outlined.is-focused{background-color:#f14668;border-color:#f14668;color:#fff}.mzn-playground .button.is-danger.is-outlined.is-loading:after{border-color:transparent transparent hsl(348,86%,61%) hsl(348,86%,61%)!important}.mzn-playground .button.is-danger.is-outlined.is-loading:hover:after,.mzn-playground .button.is-danger.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-danger.is-outlined.is-loading:focus:after,.mzn-playground .button.is-danger.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground .button.is-danger.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-danger.is-outlined{background-color:transparent;border-color:#f14668;box-shadow:none;color:#f14668}.mzn-playground .button.is-danger.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground .button.is-danger.is-inverted.is-outlined:hover,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-hovered,.mzn-playground .button.is-danger.is-inverted.is-outlined:focus,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-focused{background-color:#fff;color:#f14668}.mzn-playground .button.is-danger.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground .button.is-danger.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(348,86%,61%) hsl(348,86%,61%)!important}.mzn-playground .button.is-danger.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground .button.is-danger.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground .button.is-danger.is-light{background-color:#feecf0;color:#cc0f35}.mzn-playground .button.is-danger.is-light:hover,.mzn-playground .button.is-danger.is-light.is-hovered{background-color:#fde0e6;border-color:transparent;color:#cc0f35}.mzn-playground .button.is-danger.is-light:active,.mzn-playground .button.is-danger.is-light.is-active{background-color:#fcd4dc;border-color:transparent;color:#cc0f35}.mzn-playground .button.is-small{font-size:.75rem}.mzn-playground .button.is-small:not(.is-rounded){border-radius:2px}.mzn-playground .button.is-normal{font-size:1rem}.mzn-playground .button.is-medium{font-size:1.25rem}.mzn-playground .button.is-large{font-size:1.5rem}.mzn-playground .button[disabled],fieldset[disabled] .mzn-playground .button{background-color:#fff;border-color:#dbdbdb;box-shadow:none;opacity:.5}.mzn-playground .button.is-fullwidth{display:flex;width:100%}.mzn-playground .button.is-loading{color:transparent!important;pointer-events:none}.mzn-playground .button.is-loading:after{position:absolute;left:calc(50% - .5em);top:calc(50% - .5em);position:absolute!important}.mzn-playground .button.is-static{background-color:#f5f5f5;border-color:#dbdbdb;color:#7a7a7a;box-shadow:none;pointer-events:none}.mzn-playground .button.is-rounded{border-radius:9999px;padding-left:1.25em;padding-right:1.25em}.mzn-playground .buttons{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-start}.mzn-playground .buttons .button{margin-bottom:.5rem}.mzn-playground .buttons .button:not(:last-child):not(.is-fullwidth){margin-right:.5rem}.mzn-playground .buttons:last-child{margin-bottom:-.5rem}.mzn-playground .buttons:not(:last-child){margin-bottom:1rem}.mzn-playground .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large){font-size:.75rem}.mzn-playground .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large):not(.is-rounded){border-radius:2px}.mzn-playground .buttons.are-medium .button:not(.is-small):not(.is-normal):not(.is-large){font-size:1.25rem}.mzn-playground .buttons.are-large .button:not(.is-small):not(.is-normal):not(.is-medium){font-size:1.5rem}.mzn-playground .buttons.has-addons .button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground .buttons.has-addons .button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.mzn-playground .buttons.has-addons .button:last-child{margin-right:0}.mzn-playground .buttons.has-addons .button:hover,.mzn-playground .buttons.has-addons .button.is-hovered{z-index:2}.mzn-playground .buttons.has-addons .button:focus,.mzn-playground .buttons.has-addons .button.is-focused,.mzn-playground .buttons.has-addons .button:active,.mzn-playground .buttons.has-addons .button.is-active,.mzn-playground .buttons.has-addons .button.is-selected{z-index:3}.mzn-playground .buttons.has-addons .button:focus:hover,.mzn-playground .buttons.has-addons .button.is-focused:hover,.mzn-playground .buttons.has-addons .button:active:hover,.mzn-playground .buttons.has-addons .button.is-active:hover,.mzn-playground .buttons.has-addons .button.is-selected:hover{z-index:4}.mzn-playground .buttons.has-addons .button.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground .buttons.is-centered{justify-content:center}.mzn-playground .buttons.is-centered:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}.mzn-playground .buttons.is-right{justify-content:flex-end}.mzn-playground .buttons.is-right:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}@media screen and (max-width: 768px){.mzn-playground .button.is-responsive.is-small{font-size:.5625rem}.mzn-playground .button.is-responsive,.mzn-playground .button.is-responsive.is-normal{font-size:.65625rem}.mzn-playground .button.is-responsive.is-medium{font-size:.75rem}.mzn-playground .button.is-responsive.is-large{font-size:1rem}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .button.is-responsive.is-small{font-size:.65625rem}.mzn-playground .button.is-responsive,.mzn-playground .button.is-responsive.is-normal{font-size:.75rem}.mzn-playground .button.is-responsive.is-medium{font-size:1rem}.mzn-playground .button.is-responsive.is-large{font-size:1.25rem}}.mzn-playground .icon{align-items:center;display:inline-flex;justify-content:center;height:1.5rem;width:1.5rem}.mzn-playground .icon.is-small{height:1rem;width:1rem}.mzn-playground .icon.is-medium{height:2rem;width:2rem}.mzn-playground .icon.is-large{height:3rem;width:3rem}.mzn-playground .icon-text{align-items:flex-start;color:inherit;display:inline-flex;flex-wrap:wrap;line-height:1.5rem;vertical-align:top}.mzn-playground .icon-text .icon{flex-grow:0;flex-shrink:0}.mzn-playground .icon-text .icon:not(:last-child){margin-right:.25em}.mzn-playground .icon-text .icon:not(:first-child){margin-left:.25em}.mzn-playground div.icon-text{display:flex}.mzn-playground .table{background-color:#fff;color:#363636}.mzn-playground .table td,.mzn-playground .table th{border:1px solid hsl(0,0%,86%);border-width:0 0 1px;padding:.5em .75em;vertical-align:top}.mzn-playground .table td.is-white,.mzn-playground .table th.is-white{background-color:#fff;border-color:#fff;color:#0a0a0a}.mzn-playground .table td.is-black,.mzn-playground .table th.is-black{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.mzn-playground .table td.is-light,.mzn-playground .table th.is-light{background-color:#f5f5f5;border-color:#f5f5f5;color:#000000b3}.mzn-playground .table td.is-dark,.mzn-playground .table th.is-dark{background-color:#363636;border-color:#363636;color:#fff}.mzn-playground .table td.is-primary,.mzn-playground .table th.is-primary{background-color:#1491eb;border-color:#1491eb;color:#fff}.mzn-playground .table td.is-link,.mzn-playground .table th.is-link{background-color:#485fc7;border-color:#485fc7;color:#fff}.mzn-playground .table td.is-info,.mzn-playground .table th.is-info{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.mzn-playground .table td.is-success,.mzn-playground .table th.is-success{background-color:#48c78e;border-color:#48c78e;color:#fff}.mzn-playground .table td.is-warning,.mzn-playground .table th.is-warning{background-color:#ffe08a;border-color:#ffe08a;color:#000000b3}.mzn-playground .table td.is-danger,.mzn-playground .table th.is-danger{background-color:#f14668;border-color:#f14668;color:#fff}.mzn-playground .table td.is-narrow,.mzn-playground .table th.is-narrow{white-space:nowrap;width:1%}.mzn-playground .table td.is-selected,.mzn-playground .table th.is-selected{background-color:#1491eb;color:#fff}.mzn-playground .table td.is-selected a,.mzn-playground .table td.is-selected strong,.mzn-playground .table th.is-selected a,.mzn-playground .table th.is-selected strong{color:currentColor}.mzn-playground .table td.is-vcentered,.mzn-playground .table th.is-vcentered{vertical-align:middle}.mzn-playground .table th{color:#363636}.mzn-playground .table th:not([align]){text-align:left}.mzn-playground .table tr.is-selected{background-color:#1491eb;color:#fff}.mzn-playground .table tr.is-selected a,.mzn-playground .table tr.is-selected strong{color:currentColor}.mzn-playground .table tr.is-selected td,.mzn-playground .table tr.is-selected th{border-color:#fff;color:currentColor}.mzn-playground .table thead{background-color:transparent}.mzn-playground .table thead td,.mzn-playground .table thead th{border-width:0 0 2px;color:#363636}.mzn-playground .table tfoot{background-color:transparent}.mzn-playground .table tfoot td,.mzn-playground .table tfoot th{border-width:2px 0 0;color:#363636}.mzn-playground .table tbody{background-color:transparent}.mzn-playground .table tbody tr:last-child td,.mzn-playground .table tbody tr:last-child th{border-bottom-width:0}.mzn-playground .table.is-bordered td,.mzn-playground .table.is-bordered th{border-width:1px}.mzn-playground .table.is-bordered tr:last-child td,.mzn-playground .table.is-bordered tr:last-child th{border-bottom-width:1px}.mzn-playground .table.is-fullwidth{width:100%}.mzn-playground .table.is-hoverable tbody tr:not(.is-selected):hover{background-color:#fafafa}.mzn-playground .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover{background-color:#fafafa}.mzn-playground .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover:nth-child(2n){background-color:#f5f5f5}.mzn-playground .table.is-narrow td,.mzn-playground .table.is-narrow th{padding:.25em .5em}.mzn-playground .table.is-striped tbody tr:not(.is-selected):nth-child(2n){background-color:#fafafa}.mzn-playground .table-container{-webkit-overflow-scrolling:touch;overflow:auto;overflow-y:hidden;max-width:100%}.mzn-playground .heading{display:block;font-size:11px;letter-spacing:1px;margin-bottom:5px;text-transform:uppercase}.mzn-playground .number{align-items:center;background-color:#f5f5f5;border-radius:9999px;display:inline-flex;font-size:1.25rem;height:2em;justify-content:center;margin-right:1.5rem;min-width:2.5em;padding:.25rem .5rem;text-align:center;vertical-align:top}.mzn-playground.is-dark .select select,.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input,.mzn-playground .select select,.mzn-playground .textarea,.mzn-playground .input{background-color:#fff;border-color:#dbdbdb;border-radius:4px;color:#363636}.mzn-playground.is-dark .select select::-moz-placeholder,.mzn-playground.is-dark .textarea::-moz-placeholder,.mzn-playground.is-dark .input::-moz-placeholder,.mzn-playground .select select::-moz-placeholder,.mzn-playground .textarea::-moz-placeholder,.mzn-playground .input::-moz-placeholder{color:#3636364d}.mzn-playground.is-dark .select select::-webkit-input-placeholder,.mzn-playground.is-dark .textarea::-webkit-input-placeholder,.mzn-playground.is-dark .input::-webkit-input-placeholder,.mzn-playground .select select::-webkit-input-placeholder,.mzn-playground .textarea::-webkit-input-placeholder,.mzn-playground .input::-webkit-input-placeholder{color:#3636364d}.mzn-playground.is-dark .select select:-moz-placeholder,.mzn-playground .select select:-moz-placeholder,.mzn-playground .textarea:-moz-placeholder,.mzn-playground .input:-moz-placeholder{color:#3636364d}.mzn-playground.is-dark .select select:-ms-input-placeholder,.mzn-playground .select select:-ms-input-placeholder,.mzn-playground .textarea:-ms-input-placeholder,.mzn-playground .input:-ms-input-placeholder{color:#3636364d}.mzn-playground.is-dark .select select:hover,.mzn-playground .select select:hover,.mzn-playground .textarea:hover,.mzn-playground .input:hover,.mzn-playground.is-dark .select select.is-hovered,.mzn-playground .select select.is-hovered,.mzn-playground .is-hovered.textarea,.mzn-playground .is-hovered.input{border-color:#b5b5b5}.mzn-playground.is-dark .select select:focus,.mzn-playground .select select:focus,.mzn-playground .textarea:focus,.mzn-playground .input:focus,.mzn-playground.is-dark .select select.is-focused,.mzn-playground .select select.is-focused,.mzn-playground .is-focused.textarea,.mzn-playground .is-focused.input,.mzn-playground.is-dark .select select:active,.mzn-playground .select select:active,.mzn-playground .textarea:active,.mzn-playground .input:active,.mzn-playground.is-dark .select select.is-active,.mzn-playground .select select.is-active,.mzn-playground .is-active.textarea,.mzn-playground .is-active.input{border-color:#485fc7;box-shadow:0 0 0 .125em #485fc740}.mzn-playground.is-dark .select select[disabled],.mzn-playground .select select[disabled],.mzn-playground [disabled].textarea,.mzn-playground [disabled].input,fieldset[disabled] .mzn-playground.is-dark .select select,fieldset[disabled] .mzn-playground .select select,fieldset[disabled] .mzn-playground .textarea,fieldset[disabled] .mzn-playground .input{background-color:#f5f5f5;border-color:#f5f5f5;box-shadow:none;color:#7a7a7a}.mzn-playground.is-dark .select select[disabled]::-moz-placeholder,.mzn-playground .select select[disabled]::-moz-placeholder,.mzn-playground [disabled].textarea::-moz-placeholder,.mzn-playground [disabled].input::-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select::-moz-placeholder,fieldset[disabled] .mzn-playground .select select::-moz-placeholder,fieldset[disabled] .mzn-playground .textarea::-moz-placeholder,fieldset[disabled] .mzn-playground .input::-moz-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]::-webkit-input-placeholder,.mzn-playground .select select[disabled]::-webkit-input-placeholder,.mzn-playground [disabled].textarea::-webkit-input-placeholder,.mzn-playground [disabled].input::-webkit-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select::-webkit-input-placeholder,fieldset[disabled] .mzn-playground .select select::-webkit-input-placeholder,fieldset[disabled] .mzn-playground .textarea::-webkit-input-placeholder,fieldset[disabled] .mzn-playground .input::-webkit-input-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]:-moz-placeholder,.mzn-playground .select select[disabled]:-moz-placeholder,.mzn-playground [disabled].textarea:-moz-placeholder,.mzn-playground [disabled].input:-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select:-moz-placeholder,fieldset[disabled] .mzn-playground .select select:-moz-placeholder,fieldset[disabled] .mzn-playground .textarea:-moz-placeholder,fieldset[disabled] .mzn-playground .input:-moz-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]:-ms-input-placeholder,.mzn-playground .select select[disabled]:-ms-input-placeholder,.mzn-playground [disabled].textarea:-ms-input-placeholder,.mzn-playground [disabled].input:-ms-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select:-ms-input-placeholder,fieldset[disabled] .mzn-playground .select select:-ms-input-placeholder,fieldset[disabled] .mzn-playground .textarea:-ms-input-placeholder,fieldset[disabled] .mzn-playground .input:-ms-input-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input,.mzn-playground .textarea,.mzn-playground .input{box-shadow:inset 0 .0625em .125em #0a0a0a0d;max-width:100%;width:100%}.mzn-playground [readonly].textarea,.mzn-playground [readonly].input{box-shadow:none}.mzn-playground .is-white.textarea,.mzn-playground .is-white.input{border-color:#fff}.mzn-playground .is-white.textarea:focus,.mzn-playground .is-white.input:focus,.mzn-playground .is-white.is-focused.textarea,.mzn-playground .is-white.is-focused.input,.mzn-playground .is-white.textarea:active,.mzn-playground .is-white.input:active,.mzn-playground .is-white.is-active.textarea,.mzn-playground .is-white.is-active.input{box-shadow:0 0 0 .125em #ffffff40}.mzn-playground .is-black.textarea,.mzn-playground .is-black.input{border-color:#0a0a0a}.mzn-playground .is-black.textarea:focus,.mzn-playground .is-black.input:focus,.mzn-playground .is-black.is-focused.textarea,.mzn-playground .is-black.is-focused.input,.mzn-playground .is-black.textarea:active,.mzn-playground .is-black.input:active,.mzn-playground .is-black.is-active.textarea,.mzn-playground .is-black.is-active.input{box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground .is-light.textarea,.mzn-playground .is-light.input{border-color:#f5f5f5}.mzn-playground .is-light.textarea:focus,.mzn-playground .is-light.input:focus,.mzn-playground .is-light.is-focused.textarea,.mzn-playground .is-light.is-focused.input,.mzn-playground .is-light.textarea:active,.mzn-playground .is-light.input:active,.mzn-playground .is-light.is-active.textarea,.mzn-playground .is-light.is-active.input{box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground .is-dark.textarea,.mzn-playground .is-dark.input{border-color:#363636}.mzn-playground .is-dark.textarea:focus,.mzn-playground .is-dark.input:focus,.mzn-playground .is-dark.is-focused.textarea,.mzn-playground .is-dark.is-focused.input,.mzn-playground .is-dark.textarea:active,.mzn-playground .is-dark.input:active,.mzn-playground .is-dark.is-active.textarea,.mzn-playground .is-dark.is-active.input{box-shadow:0 0 0 .125em #36363640}.mzn-playground .is-primary.textarea,.mzn-playground .is-primary.input{border-color:#1491eb}.mzn-playground .is-primary.textarea:focus,.mzn-playground .is-primary.input:focus,.mzn-playground .is-primary.is-focused.textarea,.mzn-playground .is-primary.is-focused.input,.mzn-playground .is-primary.textarea:active,.mzn-playground .is-primary.input:active,.mzn-playground .is-primary.is-active.textarea,.mzn-playground .is-primary.is-active.input{box-shadow:0 0 0 .125em #1491eb40}.mzn-playground .is-link.textarea,.mzn-playground .is-link.input{border-color:#485fc7}.mzn-playground .is-link.textarea:focus,.mzn-playground .is-link.input:focus,.mzn-playground .is-link.is-focused.textarea,.mzn-playground .is-link.is-focused.input,.mzn-playground .is-link.textarea:active,.mzn-playground .is-link.input:active,.mzn-playground .is-link.is-active.textarea,.mzn-playground .is-link.is-active.input{box-shadow:0 0 0 .125em #485fc740}.mzn-playground .is-info.textarea,.mzn-playground .is-info.input{border-color:#3e8ed0}.mzn-playground .is-info.textarea:focus,.mzn-playground .is-info.input:focus,.mzn-playground .is-info.is-focused.textarea,.mzn-playground .is-info.is-focused.input,.mzn-playground .is-info.textarea:active,.mzn-playground .is-info.input:active,.mzn-playground .is-info.is-active.textarea,.mzn-playground .is-info.is-active.input{box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground .is-success.textarea,.mzn-playground .is-success.input{border-color:#48c78e}.mzn-playground .is-success.textarea:focus,.mzn-playground .is-success.input:focus,.mzn-playground .is-success.is-focused.textarea,.mzn-playground .is-success.is-focused.input,.mzn-playground .is-success.textarea:active,.mzn-playground .is-success.input:active,.mzn-playground .is-success.is-active.textarea,.mzn-playground .is-success.is-active.input{box-shadow:0 0 0 .125em #48c78e40}.mzn-playground .is-warning.textarea,.mzn-playground .is-warning.input{border-color:#ffe08a}.mzn-playground .is-warning.textarea:focus,.mzn-playground .is-warning.input:focus,.mzn-playground .is-warning.is-focused.textarea,.mzn-playground .is-warning.is-focused.input,.mzn-playground .is-warning.textarea:active,.mzn-playground .is-warning.input:active,.mzn-playground .is-warning.is-active.textarea,.mzn-playground .is-warning.is-active.input{box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground .is-danger.textarea,.mzn-playground .is-danger.input{border-color:#f14668}.mzn-playground .is-danger.textarea:focus,.mzn-playground .is-danger.input:focus,.mzn-playground .is-danger.is-focused.textarea,.mzn-playground .is-danger.is-focused.input,.mzn-playground .is-danger.textarea:active,.mzn-playground .is-danger.input:active,.mzn-playground .is-danger.is-active.textarea,.mzn-playground .is-danger.is-active.input{box-shadow:0 0 0 .125em #f1466840}.mzn-playground .is-small.textarea,.mzn-playground .is-small.input{border-radius:2px;font-size:.75rem}.mzn-playground .is-medium.textarea,.mzn-playground .is-medium.input{font-size:1.25rem}.mzn-playground .is-large.textarea,.mzn-playground .is-large.input{font-size:1.5rem}.mzn-playground .is-fullwidth.textarea,.mzn-playground .is-fullwidth.input{display:block;width:100%}.mzn-playground .is-inline.textarea,.mzn-playground .is-inline.input{display:inline;width:auto}.mzn-playground .input.is-rounded{border-radius:9999px;padding-left:calc(1.125em - 1px);padding-right:calc(1.125em - 1px)}.mzn-playground .input.is-static{background-color:transparent;border-color:transparent;box-shadow:none;padding-left:0;padding-right:0}.mzn-playground .textarea{display:block;max-width:100%;min-width:100%;padding:calc(.75em - 1px);resize:vertical}.mzn-playground .textarea:not([rows]){max-height:40em;min-height:8em}.mzn-playground .textarea[rows]{height:initial}.mzn-playground .textarea.has-fixed-size{resize:none}.mzn-playground.is-dark .radio,.mzn-playground.is-dark .checkbox,.mzn-playground .radio,.mzn-playground .checkbox{cursor:pointer;display:inline-block;line-height:1.25;position:relative}.mzn-playground.is-dark .radio input,.mzn-playground.is-dark .checkbox input,.mzn-playground .radio input,.mzn-playground .checkbox input{cursor:pointer}.mzn-playground .radio:hover,.mzn-playground .checkbox:hover{color:#363636}.mzn-playground [disabled].radio,.mzn-playground [disabled].checkbox,fieldset[disabled] .mzn-playground .radio,fieldset[disabled] .mzn-playground .checkbox,.mzn-playground .radio input[disabled],.mzn-playground .checkbox input[disabled]{color:#7a7a7a;cursor:not-allowed}.mzn-playground .radio+.radio{margin-left:.5em}.mzn-playground .select{display:inline-block;max-width:100%;position:relative;vertical-align:top}.mzn-playground .select:not(.is-multiple){height:2.5em}.mzn-playground .select:not(.is-multiple):not(.is-loading):after{border-color:#485fc7;right:1.125em;z-index:4}.mzn-playground .select.is-rounded select{border-radius:9999px;padding-left:1em}.mzn-playground .select select{cursor:pointer;display:block;font-size:1em;max-width:100%;outline:none}.mzn-playground .select select::-ms-expand{display:none}.mzn-playground .select select[disabled]:hover,fieldset[disabled] .mzn-playground .select select:hover{border-color:#f5f5f5}.mzn-playground .select select:not([multiple]){padding-right:2.5em}.mzn-playground .select select[multiple]{height:auto;padding:0}.mzn-playground .select select[multiple] option{padding:.5em 1em}.mzn-playground .select:not(.is-multiple):not(.is-loading):hover:after{border-color:#363636}.mzn-playground .select.is-white:not(:hover):after{border-color:#fff}.mzn-playground .select.is-white select{border-color:#fff}.mzn-playground .select.is-white select:hover,.mzn-playground .select.is-white select.is-hovered{border-color:#f2f2f2}.mzn-playground .select.is-white select:focus,.mzn-playground .select.is-white select.is-focused,.mzn-playground .select.is-white select:active,.mzn-playground .select.is-white select.is-active{box-shadow:0 0 0 .125em #ffffff40}.mzn-playground .select.is-black:not(:hover):after{border-color:#0a0a0a}.mzn-playground .select.is-black select{border-color:#0a0a0a}.mzn-playground .select.is-black select:hover,.mzn-playground .select.is-black select.is-hovered{border-color:#000}.mzn-playground .select.is-black select:focus,.mzn-playground .select.is-black select.is-focused,.mzn-playground .select.is-black select:active,.mzn-playground .select.is-black select.is-active{box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground .select.is-light:not(:hover):after{border-color:#f5f5f5}.mzn-playground .select.is-light select{border-color:#f5f5f5}.mzn-playground .select.is-light select:hover,.mzn-playground .select.is-light select.is-hovered{border-color:#e8e8e8}.mzn-playground .select.is-light select:focus,.mzn-playground .select.is-light select.is-focused,.mzn-playground .select.is-light select:active,.mzn-playground .select.is-light select.is-active{box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground .select.is-dark:not(:hover):after{border-color:#363636}.mzn-playground .select.is-dark select{border-color:#363636}.mzn-playground .select.is-dark select:hover,.mzn-playground .select.is-dark select.is-hovered{border-color:#292929}.mzn-playground .select.is-dark select:focus,.mzn-playground .select.is-dark select.is-focused,.mzn-playground .select.is-dark select:active,.mzn-playground .select.is-dark select.is-active{box-shadow:0 0 0 .125em #36363640}.mzn-playground .select.is-primary:not(:hover):after{border-color:#1491eb}.mzn-playground .select.is-primary select{border-color:#1491eb}.mzn-playground .select.is-primary select:hover,.mzn-playground .select.is-primary select.is-hovered{border-color:#1283d4}.mzn-playground .select.is-primary select:focus,.mzn-playground .select.is-primary select.is-focused,.mzn-playground .select.is-primary select:active,.mzn-playground .select.is-primary select.is-active{box-shadow:0 0 0 .125em #1491eb40}.mzn-playground .select.is-link:not(:hover):after{border-color:#485fc7}.mzn-playground .select.is-link select{border-color:#485fc7}.mzn-playground .select.is-link select:hover,.mzn-playground .select.is-link select.is-hovered{border-color:#3a51bb}.mzn-playground .select.is-link select:focus,.mzn-playground .select.is-link select.is-focused,.mzn-playground .select.is-link select:active,.mzn-playground .select.is-link select.is-active{box-shadow:0 0 0 .125em #485fc740}.mzn-playground .select.is-info:not(:hover):after{border-color:#3e8ed0}.mzn-playground .select.is-info select{border-color:#3e8ed0}.mzn-playground .select.is-info select:hover,.mzn-playground .select.is-info select.is-hovered{border-color:#3082c5}.mzn-playground .select.is-info select:focus,.mzn-playground .select.is-info select.is-focused,.mzn-playground .select.is-info select:active,.mzn-playground .select.is-info select.is-active{box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground .select.is-success:not(:hover):after{border-color:#48c78e}.mzn-playground .select.is-success select{border-color:#48c78e}.mzn-playground .select.is-success select:hover,.mzn-playground .select.is-success select.is-hovered{border-color:#3abb81}.mzn-playground .select.is-success select:focus,.mzn-playground .select.is-success select.is-focused,.mzn-playground .select.is-success select:active,.mzn-playground .select.is-success select.is-active{box-shadow:0 0 0 .125em #48c78e40}.mzn-playground .select.is-warning:not(:hover):after{border-color:#ffe08a}.mzn-playground .select.is-warning select{border-color:#ffe08a}.mzn-playground .select.is-warning select:hover,.mzn-playground .select.is-warning select.is-hovered{border-color:#ffd970}.mzn-playground .select.is-warning select:focus,.mzn-playground .select.is-warning select.is-focused,.mzn-playground .select.is-warning select:active,.mzn-playground .select.is-warning select.is-active{box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground .select.is-danger:not(:hover):after{border-color:#f14668}.mzn-playground .select.is-danger select{border-color:#f14668}.mzn-playground .select.is-danger select:hover,.mzn-playground .select.is-danger select.is-hovered{border-color:#ef2e55}.mzn-playground .select.is-danger select:focus,.mzn-playground .select.is-danger select.is-focused,.mzn-playground .select.is-danger select:active,.mzn-playground .select.is-danger select.is-active{box-shadow:0 0 0 .125em #f1466840}.mzn-playground .select.is-small{border-radius:2px;font-size:.75rem}.mzn-playground .select.is-medium{font-size:1.25rem}.mzn-playground .select.is-large{font-size:1.5rem}.mzn-playground .select.is-disabled:after{border-color:#7a7a7a!important;opacity:.5}.mzn-playground .select.is-fullwidth,.mzn-playground .select.is-fullwidth select{width:100%}.mzn-playground .select.is-loading:after{margin-top:0;position:absolute;right:.625em;top:.625em;transform:none}.mzn-playground .select.is-loading.is-small:after{font-size:.75rem}.mzn-playground .select.is-loading.is-medium:after{font-size:1.25rem}.mzn-playground .select.is-loading.is-large:after{font-size:1.5rem}.mzn-playground .file{align-items:stretch;display:flex;justify-content:flex-start;position:relative}.mzn-playground .file.is-white .file-cta{background-color:#fff;border-color:transparent;color:#0a0a0a}.mzn-playground .file.is-white:hover .file-cta,.mzn-playground .file.is-white.is-hovered .file-cta{background-color:#f9f9f9;border-color:transparent;color:#0a0a0a}.mzn-playground .file.is-white:focus .file-cta,.mzn-playground .file.is-white.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #ffffff40;color:#0a0a0a}.mzn-playground .file.is-white:active .file-cta,.mzn-playground .file.is-white.is-active .file-cta{background-color:#f2f2f2;border-color:transparent;color:#0a0a0a}.mzn-playground .file.is-black .file-cta{background-color:#0a0a0a;border-color:transparent;color:#fff}.mzn-playground .file.is-black:hover .file-cta,.mzn-playground .file.is-black.is-hovered .file-cta{background-color:#040404;border-color:transparent;color:#fff}.mzn-playground .file.is-black:focus .file-cta,.mzn-playground .file.is-black.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #0a0a0a40;color:#fff}.mzn-playground .file.is-black:active .file-cta,.mzn-playground .file.is-black.is-active .file-cta{background-color:#000;border-color:transparent;color:#fff}.mzn-playground .file.is-light .file-cta{background-color:#f5f5f5;border-color:transparent;color:#000000b3}.mzn-playground .file.is-light:hover .file-cta,.mzn-playground .file.is-light.is-hovered .file-cta{background-color:#eee;border-color:transparent;color:#000000b3}.mzn-playground .file.is-light:focus .file-cta,.mzn-playground .file.is-light.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #f5f5f540;color:#000000b3}.mzn-playground .file.is-light:active .file-cta,.mzn-playground .file.is-light.is-active .file-cta{background-color:#e8e8e8;border-color:transparent;color:#000000b3}.mzn-playground .file.is-dark .file-cta{background-color:#363636;border-color:transparent;color:#fff}.mzn-playground .file.is-dark:hover .file-cta,.mzn-playground .file.is-dark.is-hovered .file-cta{background-color:#2f2f2f;border-color:transparent;color:#fff}.mzn-playground .file.is-dark:focus .file-cta,.mzn-playground .file.is-dark.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #36363640;color:#fff}.mzn-playground .file.is-dark:active .file-cta,.mzn-playground .file.is-dark.is-active .file-cta{background-color:#292929;border-color:transparent;color:#fff}.mzn-playground .file.is-primary .file-cta{background-color:#1491eb;border-color:transparent;color:#fff}.mzn-playground .file.is-primary:hover .file-cta,.mzn-playground .file.is-primary.is-hovered .file-cta{background-color:#138adf;border-color:transparent;color:#fff}.mzn-playground .file.is-primary:focus .file-cta,.mzn-playground .file.is-primary.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #1491eb40;color:#fff}.mzn-playground .file.is-primary:active .file-cta,.mzn-playground .file.is-primary.is-active .file-cta{background-color:#1283d4;border-color:transparent;color:#fff}.mzn-playground .file.is-link .file-cta{background-color:#485fc7;border-color:transparent;color:#fff}.mzn-playground .file.is-link:hover .file-cta,.mzn-playground .file.is-link.is-hovered .file-cta{background-color:#3e56c4;border-color:transparent;color:#fff}.mzn-playground .file.is-link:focus .file-cta,.mzn-playground .file.is-link.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #485fc740;color:#fff}.mzn-playground .file.is-link:active .file-cta,.mzn-playground .file.is-link.is-active .file-cta{background-color:#3a51bb;border-color:transparent;color:#fff}.mzn-playground .file.is-info .file-cta{background-color:#3e8ed0;border-color:transparent;color:#fff}.mzn-playground .file.is-info:hover .file-cta,.mzn-playground .file.is-info.is-hovered .file-cta{background-color:#3488ce;border-color:transparent;color:#fff}.mzn-playground .file.is-info:focus .file-cta,.mzn-playground .file.is-info.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #3e8ed040;color:#fff}.mzn-playground .file.is-info:active .file-cta,.mzn-playground .file.is-info.is-active .file-cta{background-color:#3082c5;border-color:transparent;color:#fff}.mzn-playground .file.is-success .file-cta{background-color:#48c78e;border-color:transparent;color:#fff}.mzn-playground .file.is-success:hover .file-cta,.mzn-playground .file.is-success.is-hovered .file-cta{background-color:#3ec487;border-color:transparent;color:#fff}.mzn-playground .file.is-success:focus .file-cta,.mzn-playground .file.is-success.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #48c78e40;color:#fff}.mzn-playground .file.is-success:active .file-cta,.mzn-playground .file.is-success.is-active .file-cta{background-color:#3abb81;border-color:transparent;color:#fff}.mzn-playground .file.is-warning .file-cta{background-color:#ffe08a;border-color:transparent;color:#000000b3}.mzn-playground .file.is-warning:hover .file-cta,.mzn-playground .file.is-warning.is-hovered .file-cta{background-color:#ffdc7d;border-color:transparent;color:#000000b3}.mzn-playground .file.is-warning:focus .file-cta,.mzn-playground .file.is-warning.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #ffe08a40;color:#000000b3}.mzn-playground .file.is-warning:active .file-cta,.mzn-playground .file.is-warning.is-active .file-cta{background-color:#ffd970;border-color:transparent;color:#000000b3}.mzn-playground .file.is-danger .file-cta{background-color:#f14668;border-color:transparent;color:#fff}.mzn-playground .file.is-danger:hover .file-cta,.mzn-playground .file.is-danger.is-hovered .file-cta{background-color:#f03a5f;border-color:transparent;color:#fff}.mzn-playground .file.is-danger:focus .file-cta,.mzn-playground .file.is-danger.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #f1466840;color:#fff}.mzn-playground .file.is-danger:active .file-cta,.mzn-playground .file.is-danger.is-active .file-cta{background-color:#ef2e55;border-color:transparent;color:#fff}.mzn-playground .file.is-small{font-size:.75rem}.mzn-playground .file.is-normal{font-size:1rem}.mzn-playground .file.is-medium{font-size:1.25rem}.mzn-playground .file.is-medium .file-icon .fa{font-size:21px}.mzn-playground .file.is-large{font-size:1.5rem}.mzn-playground .file.is-large .file-icon .fa{font-size:28px}.mzn-playground .file.has-name .file-cta{border-bottom-right-radius:0;border-top-right-radius:0}.mzn-playground .file.has-name .file-name{border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground .file.has-name.is-empty .file-cta{border-radius:4px}.mzn-playground .file.has-name.is-empty .file-name{display:none}.mzn-playground .file.is-boxed .file-label{flex-direction:column}.mzn-playground .file.is-boxed .file-cta{flex-direction:column;height:auto;padding:1em 3em}.mzn-playground .file.is-boxed .file-name{border-width:0 1px 1px}.mzn-playground .file.is-boxed .file-icon{height:1.5em;width:1.5em}.mzn-playground .file.is-boxed .file-icon .fa{font-size:21px}.mzn-playground .file.is-boxed.is-small .file-icon .fa{font-size:14px}.mzn-playground .file.is-boxed.is-medium .file-icon .fa{font-size:28px}.mzn-playground .file.is-boxed.is-large .file-icon .fa{font-size:35px}.mzn-playground .file.is-boxed.has-name .file-cta{border-radius:4px 4px 0 0}.mzn-playground .file.is-boxed.has-name .file-name{border-radius:0 0 4px 4px;border-width:0 1px 1px}.mzn-playground .file.is-centered{justify-content:center}.mzn-playground .file.is-fullwidth .file-label{width:100%}.mzn-playground .file.is-fullwidth .file-name{flex-grow:1;max-width:none}.mzn-playground .file.is-right{justify-content:flex-end}.mzn-playground .file.is-right .file-cta{border-radius:0 4px 4px 0}.mzn-playground .file.is-right .file-name{border-radius:4px 0 0 4px;border-width:1px 0 1px 1px;order:-1}.mzn-playground .file-label{align-items:stretch;display:flex;cursor:pointer;justify-content:flex-start;overflow:hidden;position:relative}.mzn-playground .file-label:hover .file-cta{background-color:#eee;color:#363636}.mzn-playground .file-label:hover .file-name{border-color:#d5d5d5}.mzn-playground .file-label:active .file-cta{background-color:#e8e8e8;color:#363636}.mzn-playground .file-label:active .file-name{border-color:#cfcfcf}.mzn-playground .file-input{height:100%;left:0;opacity:0;outline:none;position:absolute;top:0;width:100%}.mzn-playground .file-cta,.mzn-playground .file-name{border-color:#dbdbdb;border-radius:4px;font-size:1em;padding-left:1em;padding-right:1em;white-space:nowrap}.mzn-playground .file-cta{background-color:#f5f5f5;color:#4a4a4a}.mzn-playground .file-name{border-color:#dbdbdb;border-style:solid;border-width:1px 1px 1px 0;display:block;max-width:16em;overflow:hidden;text-align:inherit;text-overflow:ellipsis}.mzn-playground .file-icon{align-items:center;display:flex;height:1em;justify-content:center;margin-right:.5em;width:1em}.mzn-playground .file-icon .fa{font-size:14px}.mzn-playground .label{color:#363636;display:block;font-size:1rem;font-weight:700}.mzn-playground .label:not(:last-child){margin-bottom:.5em}.mzn-playground .label.is-small{font-size:.75rem}.mzn-playground .label.is-medium{font-size:1.25rem}.mzn-playground .label.is-large{font-size:1.5rem}.mzn-playground .help{display:block;font-size:.75rem;margin-top:.25rem}.mzn-playground .help.is-white{color:#fff}.mzn-playground .help.is-black{color:#0a0a0a}.mzn-playground .help.is-light{color:#f5f5f5}.mzn-playground .help.is-dark{color:#363636}.mzn-playground .help.is-primary{color:#1491eb}.mzn-playground .help.is-link{color:#485fc7}.mzn-playground .help.is-info{color:#3e8ed0}.mzn-playground .help.is-success{color:#48c78e}.mzn-playground .help.is-warning{color:#ffe08a}.mzn-playground .help.is-danger{color:#f14668}.mzn-playground .field:not(:last-child){margin-bottom:.75rem}.mzn-playground .field.has-addons{display:flex;justify-content:flex-start}.mzn-playground .field.has-addons .control:not(:last-child){margin-right:-1px}.mzn-playground .field.has-addons .control:not(:first-child):not(:last-child) .button,.mzn-playground .field.has-addons .control:not(:first-child):not(:last-child) .input,.mzn-playground .field.has-addons .control:not(:first-child):not(:last-child) .select select{border-radius:0}.mzn-playground .field.has-addons .control:first-child:not(:only-child) .button,.mzn-playground .field.has-addons .control:first-child:not(:only-child) .input,.mzn-playground .field.has-addons .control:first-child:not(:only-child) .select select{border-bottom-right-radius:0;border-top-right-radius:0}.mzn-playground .field.has-addons .control:last-child:not(:only-child) .button,.mzn-playground .field.has-addons .control:last-child:not(:only-child) .input,.mzn-playground .field.has-addons .control:last-child:not(:only-child) .select select{border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground .field.has-addons .control .button:not([disabled]):hover,.mzn-playground .field.has-addons .control .button:not([disabled]).is-hovered,.mzn-playground .field.has-addons .control .input:not([disabled]):hover,.mzn-playground .field.has-addons .control .input:not([disabled]).is-hovered,.mzn-playground .field.has-addons .control .select select:not([disabled]):hover,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-hovered{z-index:2}.mzn-playground .field.has-addons .control .button:not([disabled]):focus,.mzn-playground .field.has-addons .control .button:not([disabled]).is-focused,.mzn-playground .field.has-addons .control .button:not([disabled]):active,.mzn-playground .field.has-addons .control .button:not([disabled]).is-active,.mzn-playground .field.has-addons .control .input:not([disabled]):focus,.mzn-playground .field.has-addons .control .input:not([disabled]).is-focused,.mzn-playground .field.has-addons .control .input:not([disabled]):active,.mzn-playground .field.has-addons .control .input:not([disabled]).is-active,.mzn-playground .field.has-addons .control .select select:not([disabled]):focus,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-focused,.mzn-playground .field.has-addons .control .select select:not([disabled]):active,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-active{z-index:3}.mzn-playground .field.has-addons .control .button:not([disabled]):focus:hover,.mzn-playground .field.has-addons .control .button:not([disabled]).is-focused:hover,.mzn-playground .field.has-addons .control .button:not([disabled]):active:hover,.mzn-playground .field.has-addons .control .button:not([disabled]).is-active:hover,.mzn-playground .field.has-addons .control .input:not([disabled]):focus:hover,.mzn-playground .field.has-addons .control .input:not([disabled]).is-focused:hover,.mzn-playground .field.has-addons .control .input:not([disabled]):active:hover,.mzn-playground .field.has-addons .control .input:not([disabled]).is-active:hover,.mzn-playground .field.has-addons .control .select select:not([disabled]):focus:hover,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-focused:hover,.mzn-playground .field.has-addons .control .select select:not([disabled]):active:hover,.mzn-playground .field.has-addons .control .select select:not([disabled]).is-active:hover{z-index:4}.mzn-playground .field.has-addons .control.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground .field.has-addons.has-addons-centered{justify-content:center}.mzn-playground .field.has-addons.has-addons-right{justify-content:flex-end}.mzn-playground .field.has-addons.has-addons-fullwidth .control{flex-grow:1;flex-shrink:0}.mzn-playground .field.is-grouped{display:flex;justify-content:flex-start}.mzn-playground .field.is-grouped>.control{flex-shrink:0}.mzn-playground .field.is-grouped>.control:not(:last-child){margin-bottom:0;margin-right:.75rem}.mzn-playground .field.is-grouped>.control.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground .field.is-grouped.is-grouped-centered{justify-content:center}.mzn-playground .field.is-grouped.is-grouped-right{justify-content:flex-end}.mzn-playground .field.is-grouped.is-grouped-multiline{flex-wrap:wrap}.mzn-playground .field.is-grouped.is-grouped-multiline>.control:last-child,.mzn-playground .field.is-grouped.is-grouped-multiline>.control:not(:last-child){margin-bottom:.75rem}.mzn-playground .field.is-grouped.is-grouped-multiline:last-child{margin-bottom:-.75rem}.mzn-playground .field.is-grouped.is-grouped-multiline:not(:last-child){margin-bottom:0}@media screen and (min-width: 769px),print{.mzn-playground .field.is-horizontal{display:flex}}.mzn-playground .field-label .label{font-size:inherit}@media screen and (max-width: 768px){.mzn-playground .field-label{margin-bottom:.5rem}}@media screen and (min-width: 769px),print{.mzn-playground .field-label{flex-basis:0;flex-grow:1;flex-shrink:0;margin-right:1.5rem;text-align:right}.mzn-playground .field-label.is-small{font-size:.75rem;padding-top:.375em}.mzn-playground .field-label.is-normal{padding-top:.375em}.mzn-playground .field-label.is-medium{font-size:1.25rem;padding-top:.375em}.mzn-playground .field-label.is-large{font-size:1.5rem;padding-top:.375em}}.mzn-playground .field-body .field .field{margin-bottom:0}@media screen and (min-width: 769px),print{.mzn-playground .field-body{display:flex;flex-basis:0;flex-grow:5;flex-shrink:1}.mzn-playground .field-body .field{margin-bottom:0}.mzn-playground .field-body>.field{flex-shrink:1}.mzn-playground .field-body>.field:not(.is-narrow){flex-grow:1}.mzn-playground .field-body>.field:not(:last-child){margin-right:.75rem}}.mzn-playground .control{box-sizing:border-box;clear:both;font-size:1rem;position:relative;text-align:inherit}.mzn-playground .control.has-icons-left .input:focus~.icon,.mzn-playground .control.has-icons-left .select:focus~.icon,.mzn-playground .control.has-icons-right .input:focus~.icon,.mzn-playground .control.has-icons-right .select:focus~.icon{color:#4a4a4a}.mzn-playground .control.has-icons-left .input.is-small~.icon,.mzn-playground .control.has-icons-left .select.is-small~.icon,.mzn-playground .control.has-icons-right .input.is-small~.icon,.mzn-playground .control.has-icons-right .select.is-small~.icon{font-size:.75rem}.mzn-playground .control.has-icons-left .input.is-medium~.icon,.mzn-playground .control.has-icons-left .select.is-medium~.icon,.mzn-playground .control.has-icons-right .input.is-medium~.icon,.mzn-playground .control.has-icons-right .select.is-medium~.icon{font-size:1.25rem}.mzn-playground .control.has-icons-left .input.is-large~.icon,.mzn-playground .control.has-icons-left .select.is-large~.icon,.mzn-playground .control.has-icons-right .input.is-large~.icon,.mzn-playground .control.has-icons-right .select.is-large~.icon{font-size:1.5rem}.mzn-playground .control.has-icons-left .icon,.mzn-playground .control.has-icons-right .icon{color:#dbdbdb;height:2.5em;pointer-events:none;position:absolute;top:0;width:2.5em;z-index:4}.mzn-playground .control.has-icons-left .input,.mzn-playground .control.has-icons-left .select select{padding-left:2.5em}.mzn-playground .control.has-icons-left .icon.is-left{left:0}.mzn-playground .control.has-icons-right .input,.mzn-playground .control.has-icons-right .select select{padding-right:2.5em}.mzn-playground .control.has-icons-right .icon.is-right{right:0}.mzn-playground .control.is-loading:after{position:absolute!important;right:.625em;top:.625em;z-index:4}.mzn-playground .control.is-loading.is-small:after{font-size:.75rem}.mzn-playground .control.is-loading.is-medium:after{font-size:1.25rem}.mzn-playground .control.is-loading.is-large:after{font-size:1.5rem}.mzn-playground .dropdown{display:inline-flex;position:relative;vertical-align:top}.mzn-playground .dropdown.is-active .dropdown-menu,.mzn-playground .dropdown.is-hoverable:hover .dropdown-menu{display:block}.mzn-playground .dropdown.is-right .dropdown-menu{left:auto;right:0}.mzn-playground .dropdown.is-up .dropdown-menu{bottom:100%;padding-bottom:4px;padding-top:initial;top:auto}.mzn-playground .dropdown-menu{display:none;left:0;min-width:12rem;padding-top:4px;position:absolute;top:100%;z-index:20}.mzn-playground .dropdown-content{background-color:#fff;border-radius:4px;box-shadow:0 .5em 1em -.125em #0a0a0a1a,0 0 0 1px #0a0a0a05;padding-bottom:.5rem;padding-top:.5rem}.mzn-playground .dropdown-item{color:#4a4a4a;display:block;font-size:.875rem;line-height:1.5;padding:.375rem 1rem;position:relative}.mzn-playground a.dropdown-item,.mzn-playground button.dropdown-item{padding-right:3rem;text-align:inherit;white-space:nowrap;width:100%}.mzn-playground a.dropdown-item:hover,.mzn-playground button.dropdown-item:hover{background-color:#f5f5f5;color:#0a0a0a}.mzn-playground a.dropdown-item.is-active,.mzn-playground button.dropdown-item.is-active{background-color:#485fc7;color:#fff}.mzn-playground .dropdown-divider{background-color:#ededed;border:none;display:block;height:1px;margin:.5rem 0}.mzn-playground .menu{font-size:1rem}.mzn-playground .menu.is-small{font-size:.75rem}.mzn-playground .menu.is-medium{font-size:1.25rem}.mzn-playground .menu.is-large{font-size:1.5rem}.mzn-playground .menu-list{line-height:1.25}.mzn-playground .menu-list a{border-radius:2px;color:#4a4a4a;display:block;padding:.5em .75em}.mzn-playground .menu-list a:hover{background-color:#f5f5f5;color:#363636}.mzn-playground .menu-list a.is-active{background-color:#485fc7;color:#fff}.mzn-playground .menu-list li ul{border-left:1px solid hsl(0,0%,86%);margin:.75em;padding-left:.75em}.mzn-playground .menu-label{color:#7a7a7a;font-size:.75em;letter-spacing:.1em;text-transform:uppercase}.mzn-playground .menu-label:not(:first-child){margin-top:1em}.mzn-playground .menu-label:not(:last-child){margin-bottom:1em}.mzn-playground .modal{align-items:center;display:none;flex-direction:column;justify-content:center;overflow:hidden;position:fixed;z-index:40}.mzn-playground .modal.is-active{display:flex}.mzn-playground .modal-background{background-color:#0a0a0adb}.mzn-playground .modal-content,.mzn-playground .modal-card{margin:0 20px;max-height:calc(100vh - 160px);overflow:auto;position:relative;width:100%}@media screen and (min-width: 769px){.mzn-playground .modal-content,.mzn-playground .modal-card{margin:0 auto;max-height:calc(100vh - 40px);width:640px}}.mzn-playground .modal-close{background:none;height:40px;position:fixed;right:20px;top:20px;width:40px}.mzn-playground .modal-card{display:flex;flex-direction:column;max-height:calc(100vh - 40px);overflow:hidden;-ms-overflow-y:visible}.mzn-playground .modal-card-head,.mzn-playground .modal-card-foot{align-items:center;background-color:#f5f5f5;display:flex;flex-shrink:0;justify-content:flex-start;padding:20px;position:relative}.mzn-playground .modal-card-head{border-bottom:1px solid hsl(0,0%,86%);border-top-left-radius:6px;border-top-right-radius:6px}.mzn-playground .modal-card-title{color:#363636;flex-grow:1;flex-shrink:0;font-size:1.5rem;line-height:1}.mzn-playground .modal-card-foot{border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:1px solid hsl(0,0%,86%)}.mzn-playground .modal-card-foot .button:not(:last-child){margin-right:.5em}.mzn-playground .modal-card-body{-webkit-overflow-scrolling:touch;background-color:#fff;flex-grow:1;flex-shrink:1;overflow:auto;padding:20px}.mzn-playground .navbar{background-color:#fff;min-height:3.25rem;position:relative;z-index:30}.mzn-playground .navbar.is-white{background-color:#fff;color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-brand>.navbar-item,.mzn-playground .navbar.is-white .navbar-brand .navbar-link{color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-white .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-white .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-white .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-white .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-white .navbar-brand .navbar-link.is-active{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-brand .navbar-link:after{border-color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-burger{color:#0a0a0a}@media screen and (min-width: 769px){.mzn-playground .navbar.is-white .navbar-start>.navbar-item,.mzn-playground .navbar.is-white .navbar-start .navbar-link,.mzn-playground .navbar.is-white .navbar-end>.navbar-item,.mzn-playground .navbar.is-white .navbar-end .navbar-link{color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-white .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-white .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-white .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-white .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-white .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-white .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-white .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-white .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-white .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-white .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-white .navbar-end .navbar-link.is-active{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-start .navbar-link:after,.mzn-playground .navbar.is-white .navbar-end .navbar-link:after{border-color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-white .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-white .navbar-item.has-dropdown.is-active .navbar-link{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground .navbar.is-white .navbar-dropdown a.navbar-item.is-active{background-color:#fff;color:#0a0a0a}}.mzn-playground .navbar.is-black{background-color:#0a0a0a;color:#fff}.mzn-playground .navbar.is-black .navbar-brand>.navbar-item,.mzn-playground .navbar.is-black .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-black .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-black .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-black .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-black .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-black .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-black .navbar-brand .navbar-link.is-active{background-color:#000;color:#fff}.mzn-playground .navbar.is-black .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-black .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-black .navbar-start>.navbar-item,.mzn-playground .navbar.is-black .navbar-start .navbar-link,.mzn-playground .navbar.is-black .navbar-end>.navbar-item,.mzn-playground .navbar.is-black .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-black .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-black .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-black .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-black .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-black .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-black .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-black .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-black .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-black .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-black .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-black .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-black .navbar-end .navbar-link.is-active{background-color:#000;color:#fff}.mzn-playground .navbar.is-black .navbar-start .navbar-link:after,.mzn-playground .navbar.is-black .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-black .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-black .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-black .navbar-item.has-dropdown.is-active .navbar-link{background-color:#000;color:#fff}.mzn-playground .navbar.is-black .navbar-dropdown a.navbar-item.is-active{background-color:#0a0a0a;color:#fff}}.mzn-playground .navbar.is-light{background-color:#f5f5f5;color:#000000b3}.mzn-playground .navbar.is-light .navbar-brand>.navbar-item,.mzn-playground .navbar.is-light .navbar-brand .navbar-link{color:#000000b3}.mzn-playground .navbar.is-light .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-light .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-light .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-light .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-light .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-light .navbar-brand .navbar-link.is-active{background-color:#e8e8e8;color:#000000b3}.mzn-playground .navbar.is-light .navbar-brand .navbar-link:after{border-color:#000000b3}.mzn-playground .navbar.is-light .navbar-burger{color:#000000b3}@media screen and (min-width: 769px){.mzn-playground .navbar.is-light .navbar-start>.navbar-item,.mzn-playground .navbar.is-light .navbar-start .navbar-link,.mzn-playground .navbar.is-light .navbar-end>.navbar-item,.mzn-playground .navbar.is-light .navbar-end .navbar-link{color:#000000b3}.mzn-playground .navbar.is-light .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-light .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-light .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-light .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-light .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-light .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-light .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-light .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-light .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-light .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-light .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-light .navbar-end .navbar-link.is-active{background-color:#e8e8e8;color:#000000b3}.mzn-playground .navbar.is-light .navbar-start .navbar-link:after,.mzn-playground .navbar.is-light .navbar-end .navbar-link:after{border-color:#000000b3}.mzn-playground .navbar.is-light .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-light .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-light .navbar-item.has-dropdown.is-active .navbar-link{background-color:#e8e8e8;color:#000000b3}.mzn-playground .navbar.is-light .navbar-dropdown a.navbar-item.is-active{background-color:#f5f5f5;color:#000000b3}}.mzn-playground .navbar.is-dark{background-color:#363636;color:#fff}.mzn-playground .navbar.is-dark .navbar-brand>.navbar-item,.mzn-playground .navbar.is-dark .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-dark .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-dark .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-dark .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-dark .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-dark .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-dark .navbar-brand .navbar-link.is-active{background-color:#292929;color:#fff}.mzn-playground .navbar.is-dark .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-dark .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-dark .navbar-start>.navbar-item,.mzn-playground .navbar.is-dark .navbar-start .navbar-link,.mzn-playground .navbar.is-dark .navbar-end>.navbar-item,.mzn-playground .navbar.is-dark .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-dark .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-dark .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-dark .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-dark .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-dark .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-dark .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-dark .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-dark .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-dark .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-dark .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-dark .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-dark .navbar-end .navbar-link.is-active{background-color:#292929;color:#fff}.mzn-playground .navbar.is-dark .navbar-start .navbar-link:after,.mzn-playground .navbar.is-dark .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-dark .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-dark .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-dark .navbar-item.has-dropdown.is-active .navbar-link{background-color:#292929;color:#fff}.mzn-playground .navbar.is-dark .navbar-dropdown a.navbar-item.is-active{background-color:#363636;color:#fff}}.mzn-playground .navbar.is-primary{background-color:#1491eb;color:#fff}.mzn-playground .navbar.is-primary .navbar-brand>.navbar-item,.mzn-playground .navbar.is-primary .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-primary .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-primary .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-primary .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-primary .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-primary .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-primary .navbar-brand .navbar-link.is-active{background-color:#1283d4;color:#fff}.mzn-playground .navbar.is-primary .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-primary .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-primary .navbar-start>.navbar-item,.mzn-playground .navbar.is-primary .navbar-start .navbar-link,.mzn-playground .navbar.is-primary .navbar-end>.navbar-item,.mzn-playground .navbar.is-primary .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-primary .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-primary .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-primary .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-primary .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-primary .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-primary .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-primary .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-primary .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-primary .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-primary .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-primary .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-primary .navbar-end .navbar-link.is-active{background-color:#1283d4;color:#fff}.mzn-playground .navbar.is-primary .navbar-start .navbar-link:after,.mzn-playground .navbar.is-primary .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-primary .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-primary .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-primary .navbar-item.has-dropdown.is-active .navbar-link{background-color:#1283d4;color:#fff}.mzn-playground .navbar.is-primary .navbar-dropdown a.navbar-item.is-active{background-color:#1491eb;color:#fff}}.mzn-playground .navbar.is-link{background-color:#485fc7;color:#fff}.mzn-playground .navbar.is-link .navbar-brand>.navbar-item,.mzn-playground .navbar.is-link .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-link .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-link .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-link .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-link .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-link .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-link .navbar-brand .navbar-link.is-active{background-color:#3a51bb;color:#fff}.mzn-playground .navbar.is-link .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-link .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-link .navbar-start>.navbar-item,.mzn-playground .navbar.is-link .navbar-start .navbar-link,.mzn-playground .navbar.is-link .navbar-end>.navbar-item,.mzn-playground .navbar.is-link .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-link .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-link .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-link .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-link .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-link .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-link .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-link .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-link .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-link .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-link .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-link .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-link .navbar-end .navbar-link.is-active{background-color:#3a51bb;color:#fff}.mzn-playground .navbar.is-link .navbar-start .navbar-link:after,.mzn-playground .navbar.is-link .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-link .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-link .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-link .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3a51bb;color:#fff}.mzn-playground .navbar.is-link .navbar-dropdown a.navbar-item.is-active{background-color:#485fc7;color:#fff}}.mzn-playground .navbar.is-info{background-color:#3e8ed0;color:#fff}.mzn-playground .navbar.is-info .navbar-brand>.navbar-item,.mzn-playground .navbar.is-info .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-info .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-info .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-info .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-info .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-info .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-info .navbar-brand .navbar-link.is-active{background-color:#3082c5;color:#fff}.mzn-playground .navbar.is-info .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-info .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-info .navbar-start>.navbar-item,.mzn-playground .navbar.is-info .navbar-start .navbar-link,.mzn-playground .navbar.is-info .navbar-end>.navbar-item,.mzn-playground .navbar.is-info .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-info .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-info .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-info .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-info .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-info .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-info .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-info .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-info .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-info .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-info .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-info .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-info .navbar-end .navbar-link.is-active{background-color:#3082c5;color:#fff}.mzn-playground .navbar.is-info .navbar-start .navbar-link:after,.mzn-playground .navbar.is-info .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-info .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-info .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-info .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3082c5;color:#fff}.mzn-playground .navbar.is-info .navbar-dropdown a.navbar-item.is-active{background-color:#3e8ed0;color:#fff}}.mzn-playground .navbar.is-success{background-color:#48c78e;color:#fff}.mzn-playground .navbar.is-success .navbar-brand>.navbar-item,.mzn-playground .navbar.is-success .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-success .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-success .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-success .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-success .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-success .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-success .navbar-brand .navbar-link.is-active{background-color:#3abb81;color:#fff}.mzn-playground .navbar.is-success .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-success .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-success .navbar-start>.navbar-item,.mzn-playground .navbar.is-success .navbar-start .navbar-link,.mzn-playground .navbar.is-success .navbar-end>.navbar-item,.mzn-playground .navbar.is-success .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-success .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-success .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-success .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-success .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-success .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-success .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-success .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-success .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-success .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-success .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-success .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-success .navbar-end .navbar-link.is-active{background-color:#3abb81;color:#fff}.mzn-playground .navbar.is-success .navbar-start .navbar-link:after,.mzn-playground .navbar.is-success .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-success .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-success .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-success .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3abb81;color:#fff}.mzn-playground .navbar.is-success .navbar-dropdown a.navbar-item.is-active{background-color:#48c78e;color:#fff}}.mzn-playground .navbar.is-warning{background-color:#ffe08a;color:#000000b3}.mzn-playground .navbar.is-warning .navbar-brand>.navbar-item,.mzn-playground .navbar.is-warning .navbar-brand .navbar-link{color:#000000b3}.mzn-playground .navbar.is-warning .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-warning .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-warning .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-warning .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-warning .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-warning .navbar-brand .navbar-link.is-active{background-color:#ffd970;color:#000000b3}.mzn-playground .navbar.is-warning .navbar-brand .navbar-link:after{border-color:#000000b3}.mzn-playground .navbar.is-warning .navbar-burger{color:#000000b3}@media screen and (min-width: 769px){.mzn-playground .navbar.is-warning .navbar-start>.navbar-item,.mzn-playground .navbar.is-warning .navbar-start .navbar-link,.mzn-playground .navbar.is-warning .navbar-end>.navbar-item,.mzn-playground .navbar.is-warning .navbar-end .navbar-link{color:#000000b3}.mzn-playground .navbar.is-warning .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-warning .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-warning .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-warning .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-warning .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-warning .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-warning .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-warning .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-warning .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-warning .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-warning .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-warning .navbar-end .navbar-link.is-active{background-color:#ffd970;color:#000000b3}.mzn-playground .navbar.is-warning .navbar-start .navbar-link:after,.mzn-playground .navbar.is-warning .navbar-end .navbar-link:after{border-color:#000000b3}.mzn-playground .navbar.is-warning .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-warning .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-warning .navbar-item.has-dropdown.is-active .navbar-link{background-color:#ffd970;color:#000000b3}.mzn-playground .navbar.is-warning .navbar-dropdown a.navbar-item.is-active{background-color:#ffe08a;color:#000000b3}}.mzn-playground .navbar.is-danger{background-color:#f14668;color:#fff}.mzn-playground .navbar.is-danger .navbar-brand>.navbar-item,.mzn-playground .navbar.is-danger .navbar-brand .navbar-link{color:#fff}.mzn-playground .navbar.is-danger .navbar-brand>a.navbar-item:focus,.mzn-playground .navbar.is-danger .navbar-brand>a.navbar-item:hover,.mzn-playground .navbar.is-danger .navbar-brand>a.navbar-item.is-active,.mzn-playground .navbar.is-danger .navbar-brand .navbar-link:focus,.mzn-playground .navbar.is-danger .navbar-brand .navbar-link:hover,.mzn-playground .navbar.is-danger .navbar-brand .navbar-link.is-active{background-color:#ef2e55;color:#fff}.mzn-playground .navbar.is-danger .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-danger .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground .navbar.is-danger .navbar-start>.navbar-item,.mzn-playground .navbar.is-danger .navbar-start .navbar-link,.mzn-playground .navbar.is-danger .navbar-end>.navbar-item,.mzn-playground .navbar.is-danger .navbar-end .navbar-link{color:#fff}.mzn-playground .navbar.is-danger .navbar-start>a.navbar-item:focus,.mzn-playground .navbar.is-danger .navbar-start>a.navbar-item:hover,.mzn-playground .navbar.is-danger .navbar-start>a.navbar-item.is-active,.mzn-playground .navbar.is-danger .navbar-start .navbar-link:focus,.mzn-playground .navbar.is-danger .navbar-start .navbar-link:hover,.mzn-playground .navbar.is-danger .navbar-start .navbar-link.is-active,.mzn-playground .navbar.is-danger .navbar-end>a.navbar-item:focus,.mzn-playground .navbar.is-danger .navbar-end>a.navbar-item:hover,.mzn-playground .navbar.is-danger .navbar-end>a.navbar-item.is-active,.mzn-playground .navbar.is-danger .navbar-end .navbar-link:focus,.mzn-playground .navbar.is-danger .navbar-end .navbar-link:hover,.mzn-playground .navbar.is-danger .navbar-end .navbar-link.is-active{background-color:#ef2e55;color:#fff}.mzn-playground .navbar.is-danger .navbar-start .navbar-link:after,.mzn-playground .navbar.is-danger .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground .navbar.is-danger .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar.is-danger .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar.is-danger .navbar-item.has-dropdown.is-active .navbar-link{background-color:#ef2e55;color:#fff}.mzn-playground .navbar.is-danger .navbar-dropdown a.navbar-item.is-active{background-color:#f14668;color:#fff}}.mzn-playground .navbar>.container{align-items:stretch;display:flex;min-height:3.25rem;width:100%}.mzn-playground .navbar.has-shadow{box-shadow:0 2px #f5f5f5}.mzn-playground .navbar.is-fixed-bottom,.mzn-playground .navbar.is-fixed-top{left:0;position:fixed;right:0;z-index:30}.mzn-playground .navbar.is-fixed-bottom{bottom:0}.mzn-playground .navbar.is-fixed-bottom.has-shadow{box-shadow:0 -2px #f5f5f5}.mzn-playground .navbar.is-fixed-top{top:0}.mzn-playground html.has-navbar-fixed-top,.mzn-playground body.has-navbar-fixed-top{padding-top:3.25rem}.mzn-playground html.has-navbar-fixed-bottom,.mzn-playground body.has-navbar-fixed-bottom{padding-bottom:3.25rem}.mzn-playground .navbar-brand,.mzn-playground .navbar-tabs{align-items:stretch;display:flex;flex-shrink:0;min-height:3.25rem}.mzn-playground .navbar-brand a.navbar-item:focus,.mzn-playground .navbar-brand a.navbar-item:hover{background-color:transparent}.mzn-playground .navbar-tabs{-webkit-overflow-scrolling:touch;max-width:100vw;overflow-x:auto;overflow-y:hidden}.mzn-playground .navbar-burger{color:#4a4a4a;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;cursor:pointer;display:block;height:3.25rem;position:relative;width:3.25rem;margin-left:auto}.mzn-playground .navbar-burger span{background-color:currentColor;display:block;height:1px;left:calc(50% - 8px);position:absolute;transform-origin:center;transition-duration:86ms;transition-property:background-color,opacity,transform;transition-timing-function:ease-out;width:16px}.mzn-playground .navbar-burger span:nth-child(1){top:calc(50% - 6px)}.mzn-playground .navbar-burger span:nth-child(2){top:calc(50% - 1px)}.mzn-playground .navbar-burger span:nth-child(3){top:calc(50% + 4px)}.mzn-playground .navbar-burger:hover{background-color:#0000000d}.mzn-playground .navbar-burger.is-active span:nth-child(1){transform:translateY(5px) rotate(45deg)}.mzn-playground .navbar-burger.is-active span:nth-child(2){opacity:0}.mzn-playground .navbar-burger.is-active span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}.mzn-playground .navbar-menu{display:none}.mzn-playground .navbar-item,.mzn-playground .navbar-link{color:#4a4a4a;display:block;line-height:1.5;padding:.5rem .75rem;position:relative}.mzn-playground .navbar-item .icon:only-child,.mzn-playground .navbar-link .icon:only-child{margin-left:-.25rem;margin-right:-.25rem}.mzn-playground a.navbar-item,.mzn-playground .navbar-link{cursor:pointer}.mzn-playground a.navbar-item:focus,.mzn-playground a.navbar-item:focus-within,.mzn-playground a.navbar-item:hover,.mzn-playground a.navbar-item.is-active,.mzn-playground .navbar-link:focus,.mzn-playground .navbar-link:focus-within,.mzn-playground .navbar-link:hover,.mzn-playground .navbar-link.is-active{background-color:#fafafa;color:#485fc7}.mzn-playground .navbar-item{flex-grow:0;flex-shrink:0}.mzn-playground .navbar-item img{max-height:1.75rem}.mzn-playground .navbar-item.has-dropdown{padding:0}.mzn-playground .navbar-item.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground .navbar-item.is-tab{border-bottom:1px solid transparent;min-height:3.25rem;padding-bottom:calc(.5rem - 1px)}.mzn-playground .navbar-item.is-tab:focus,.mzn-playground .navbar-item.is-tab:hover{background-color:transparent;border-bottom-color:#485fc7}.mzn-playground .navbar-item.is-tab.is-active{background-color:transparent;border-bottom-color:#485fc7;border-bottom-style:solid;border-bottom-width:3px;color:#485fc7;padding-bottom:calc(.5rem - 3px)}.mzn-playground .navbar-content{flex-grow:1;flex-shrink:1}.mzn-playground .navbar-link:not(.is-arrowless){padding-right:2.5em}.mzn-playground .navbar-link:not(.is-arrowless):after{border-color:#485fc7;margin-top:-.375em;right:1.125em}.mzn-playground .navbar-dropdown{font-size:.875rem;padding-bottom:.5rem;padding-top:.5rem}.mzn-playground .navbar-dropdown .navbar-item{padding-left:1.5rem;padding-right:1.5rem}.mzn-playground .navbar-divider{background-color:#f5f5f5;border:none;display:none;height:2px;margin:.5rem 0}@media screen and (max-width: 768px){.mzn-playground .navbar>.container{display:block}.mzn-playground .navbar-brand .navbar-item,.mzn-playground .navbar-tabs .navbar-item{align-items:center;display:flex}.mzn-playground .navbar-link:after{display:none}.mzn-playground .navbar-menu{background-color:#fff;box-shadow:0 8px 16px #0a0a0a1a;padding:.5rem 0}.mzn-playground .navbar-menu.is-active{display:block}.mzn-playground .navbar.is-fixed-bottom-touch,.mzn-playground .navbar.is-fixed-top-touch{left:0;position:fixed;right:0;z-index:30}.mzn-playground .navbar.is-fixed-bottom-touch{bottom:0}.mzn-playground .navbar.is-fixed-bottom-touch.has-shadow{box-shadow:0 -2px 3px #0a0a0a1a}.mzn-playground .navbar.is-fixed-top-touch{top:0}.mzn-playground .navbar.is-fixed-top .navbar-menu,.mzn-playground .navbar.is-fixed-top-touch .navbar-menu{-webkit-overflow-scrolling:touch;max-height:calc(100vh - 3.25rem);overflow:auto}.mzn-playground html.has-navbar-fixed-top-touch,.mzn-playground body.has-navbar-fixed-top-touch{padding-top:3.25rem}.mzn-playground html.has-navbar-fixed-bottom-touch,.mzn-playground body.has-navbar-fixed-bottom-touch{padding-bottom:3.25rem}}@media screen and (min-width: 769px){.mzn-playground .navbar,.mzn-playground .navbar-menu,.mzn-playground .navbar-start,.mzn-playground .navbar-end{align-items:stretch;display:flex}.mzn-playground .navbar{min-height:3.25rem}.mzn-playground .navbar.is-spaced{padding:1rem 2rem}.mzn-playground .navbar.is-spaced .navbar-start,.mzn-playground .navbar.is-spaced .navbar-end{align-items:center}.mzn-playground .navbar.is-spaced a.navbar-item,.mzn-playground .navbar.is-spaced .navbar-link{border-radius:4px}.mzn-playground .navbar.is-transparent a.navbar-item:focus,.mzn-playground .navbar.is-transparent a.navbar-item:hover,.mzn-playground .navbar.is-transparent a.navbar-item.is-active,.mzn-playground .navbar.is-transparent .navbar-link:focus,.mzn-playground .navbar.is-transparent .navbar-link:hover,.mzn-playground .navbar.is-transparent .navbar-link.is-active{background-color:transparent!important}.mzn-playground .navbar.is-transparent .navbar-item.has-dropdown.is-active .navbar-link,.mzn-playground .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus .navbar-link,.mzn-playground .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus-within .navbar-link,.mzn-playground .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:hover .navbar-link{background-color:transparent!important}.mzn-playground .navbar.is-transparent .navbar-dropdown a.navbar-item:focus,.mzn-playground .navbar.is-transparent .navbar-dropdown a.navbar-item:hover{background-color:#f5f5f5;color:#0a0a0a}.mzn-playground .navbar.is-transparent .navbar-dropdown a.navbar-item.is-active{background-color:#f5f5f5;color:#485fc7}.mzn-playground .navbar-burger{display:none}.mzn-playground .navbar-item,.mzn-playground .navbar-link{align-items:center;display:flex}.mzn-playground .navbar-item.has-dropdown{align-items:stretch}.mzn-playground .navbar-item.has-dropdown-up .navbar-link:after{transform:rotate(135deg) translate(.25em,-.25em)}.mzn-playground .navbar-item.has-dropdown-up .navbar-dropdown{border-bottom:2px solid hsl(0,0%,86%);border-radius:6px 6px 0 0;border-top:none;bottom:100%;box-shadow:0 -8px 8px #0a0a0a1a;top:auto}.mzn-playground .navbar-item.is-active .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:focus .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:focus-within .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:hover .navbar-dropdown{display:block}.navbar.is-spaced .mzn-playground .navbar-item.is-active .navbar-dropdown,.mzn-playground .navbar-item.is-active .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground .navbar-item.is-hoverable:focus .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:focus .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground .navbar-item.is-hoverable:focus-within .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:focus-within .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground .navbar-item.is-hoverable:hover .navbar-dropdown,.mzn-playground .navbar-item.is-hoverable:hover .navbar-dropdown.is-boxed{opacity:1;pointer-events:auto;transform:translateY(0)}.mzn-playground .navbar-menu{flex-grow:1;flex-shrink:0}.mzn-playground .navbar-start{justify-content:flex-start;margin-right:auto}.mzn-playground .navbar-end{justify-content:flex-end;margin-left:auto}.mzn-playground .navbar-dropdown{background-color:#fff;border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:2px solid hsl(0,0%,86%);box-shadow:0 8px 8px #0a0a0a1a;display:none;font-size:.875rem;left:0;min-width:100%;position:absolute;top:100%;z-index:20}.mzn-playground .navbar-dropdown .navbar-item{padding:.375rem 1rem;white-space:nowrap}.mzn-playground .navbar-dropdown a.navbar-item{padding-right:3rem}.mzn-playground .navbar-dropdown a.navbar-item:focus,.mzn-playground .navbar-dropdown a.navbar-item:hover{background-color:#f5f5f5;color:#0a0a0a}.mzn-playground .navbar-dropdown a.navbar-item.is-active{background-color:#f5f5f5;color:#485fc7}.navbar.is-spaced .mzn-playground .navbar-dropdown,.mzn-playground .navbar-dropdown.is-boxed{border-radius:6px;border-top:none;box-shadow:0 8px 8px #0a0a0a1a,0 0 0 1px #0a0a0a1a;display:block;opacity:0;pointer-events:none;top:calc(100% - 4px);transform:translateY(-5px);transition-duration:86ms;transition-property:opacity,transform}.mzn-playground .navbar-dropdown.is-right{left:auto;right:0}.mzn-playground .navbar-divider{display:block}.mzn-playground .navbar>.container .navbar-brand,.mzn-playground .container>.navbar .navbar-brand{margin-left:-.75rem}.mzn-playground .navbar>.container .navbar-menu,.mzn-playground .container>.navbar .navbar-menu{margin-right:-.75rem}.mzn-playground .navbar.is-fixed-bottom-desktop,.mzn-playground .navbar.is-fixed-top-desktop{left:0;position:fixed;right:0;z-index:30}.mzn-playground .navbar.is-fixed-bottom-desktop{bottom:0}.mzn-playground .navbar.is-fixed-bottom-desktop.has-shadow{box-shadow:0 -2px 3px #0a0a0a1a}.mzn-playground .navbar.is-fixed-top-desktop{top:0}.mzn-playground html.has-navbar-fixed-top-desktop,.mzn-playground body.has-navbar-fixed-top-desktop{padding-top:3.25rem}.mzn-playground html.has-navbar-fixed-bottom-desktop,.mzn-playground body.has-navbar-fixed-bottom-desktop{padding-bottom:3.25rem}.mzn-playground html.has-spaced-navbar-fixed-top,.mzn-playground body.has-spaced-navbar-fixed-top{padding-top:5.25rem}.mzn-playground html.has-spaced-navbar-fixed-bottom,.mzn-playground body.has-spaced-navbar-fixed-bottom{padding-bottom:5.25rem}.mzn-playground a.navbar-item.is-active,.mzn-playground .navbar-link.is-active{color:#0a0a0a}.mzn-playground a.navbar-item.is-active:not(:focus):not(:hover),.mzn-playground .navbar-link.is-active:not(:focus):not(:hover){background-color:transparent}.mzn-playground .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground .navbar-item.has-dropdown.is-active .navbar-link{background-color:#fafafa}}.mzn-playground .hero.is-fullheight-with-navbar{min-height:calc(100vh - 3.25rem)}.mzn-playground .panel{border-radius:6px;box-shadow:0 .5em 1em -.125em #0a0a0a1a,0 0 0 1px #0a0a0a05;font-size:1rem}.mzn-playground .panel:not(:last-child){margin-bottom:1.5rem}.mzn-playground .panel.is-white .panel-heading{background-color:#fff;color:#0a0a0a}.mzn-playground .panel.is-white .panel-tabs a.is-active{border-bottom-color:#fff}.mzn-playground .panel.is-white .panel-block.is-active .panel-icon{color:#fff}.mzn-playground .panel.is-black .panel-heading{background-color:#0a0a0a;color:#fff}.mzn-playground .panel.is-black .panel-tabs a.is-active{border-bottom-color:#0a0a0a}.mzn-playground .panel.is-black .panel-block.is-active .panel-icon{color:#0a0a0a}.mzn-playground .panel.is-light .panel-heading{background-color:#f5f5f5;color:#000000b3}.mzn-playground .panel.is-light .panel-tabs a.is-active{border-bottom-color:#f5f5f5}.mzn-playground .panel.is-light .panel-block.is-active .panel-icon{color:#f5f5f5}.mzn-playground .panel.is-dark .panel-heading{background-color:#363636;color:#fff}.mzn-playground .panel.is-dark .panel-tabs a.is-active{border-bottom-color:#363636}.mzn-playground .panel.is-dark .panel-block.is-active .panel-icon{color:#363636}.mzn-playground .panel.is-primary .panel-heading{background-color:#1491eb;color:#fff}.mzn-playground .panel.is-primary .panel-tabs a.is-active{border-bottom-color:#1491eb}.mzn-playground .panel.is-primary .panel-block.is-active .panel-icon{color:#1491eb}.mzn-playground .panel.is-link .panel-heading{background-color:#485fc7;color:#fff}.mzn-playground .panel.is-link .panel-tabs a.is-active{border-bottom-color:#485fc7}.mzn-playground .panel.is-link .panel-block.is-active .panel-icon{color:#485fc7}.mzn-playground .panel.is-info .panel-heading{background-color:#3e8ed0;color:#fff}.mzn-playground .panel.is-info .panel-tabs a.is-active{border-bottom-color:#3e8ed0}.mzn-playground .panel.is-info .panel-block.is-active .panel-icon{color:#3e8ed0}.mzn-playground .panel.is-success .panel-heading{background-color:#48c78e;color:#fff}.mzn-playground .panel.is-success .panel-tabs a.is-active{border-bottom-color:#48c78e}.mzn-playground .panel.is-success .panel-block.is-active .panel-icon{color:#48c78e}.mzn-playground .panel.is-warning .panel-heading{background-color:#ffe08a;color:#000000b3}.mzn-playground .panel.is-warning .panel-tabs a.is-active{border-bottom-color:#ffe08a}.mzn-playground .panel.is-warning .panel-block.is-active .panel-icon{color:#ffe08a}.mzn-playground .panel.is-danger .panel-heading{background-color:#f14668;color:#fff}.mzn-playground .panel.is-danger .panel-tabs a.is-active{border-bottom-color:#f14668}.mzn-playground .panel.is-danger .panel-block.is-active .panel-icon{color:#f14668}.mzn-playground .panel-tabs:not(:last-child),.mzn-playground .panel-block:not(:last-child){border-bottom:1px solid hsl(0,0%,93%)}.mzn-playground .panel-heading{background-color:#ededed;border-radius:6px 6px 0 0;color:#363636;font-size:1.25em;font-weight:700;line-height:1.25;padding:.75em 1em}.mzn-playground .panel-tabs{align-items:flex-end;display:flex;font-size:.875em;justify-content:center}.mzn-playground .panel-tabs a{border-bottom:1px solid hsl(0,0%,86%);margin-bottom:-1px;padding:.5em}.mzn-playground .panel-tabs a.is-active{border-bottom-color:#4a4a4a;color:#363636}.mzn-playground .panel-list a{color:#4a4a4a}.mzn-playground .panel-list a:hover{color:#485fc7}.mzn-playground .panel-block{align-items:center;color:#363636;display:flex;justify-content:flex-start;padding:.5em .75em}.mzn-playground .panel-block input[type=checkbox]{margin-right:.75em}.mzn-playground .panel-block>.control{flex-grow:1;flex-shrink:1;width:100%}.mzn-playground .panel-block.is-wrapped{flex-wrap:wrap}.mzn-playground .panel-block.is-active{border-left-color:#485fc7;color:#363636}.mzn-playground .panel-block.is-active .panel-icon{color:#485fc7}.mzn-playground .panel-block:last-child{border-bottom-left-radius:6px;border-bottom-right-radius:6px}.mzn-playground a.panel-block,.mzn-playground label.panel-block{cursor:pointer}.mzn-playground a.panel-block:hover,.mzn-playground label.panel-block:hover{background-color:#f5f5f5}.mzn-playground .panel-icon{display:inline-block;font-size:14px;height:1em;line-height:1em;text-align:center;vertical-align:top;width:1em;color:#7a7a7a;margin-right:.75em}.mzn-playground .panel-icon .fa{font-size:inherit;line-height:inherit}.mzn-playground .tabs{-webkit-overflow-scrolling:touch;align-items:stretch;display:flex;font-size:1rem;justify-content:space-between;overflow:hidden;overflow-x:auto;white-space:nowrap}.mzn-playground .tabs a{align-items:center;border-bottom-color:#dbdbdb;border-bottom-style:solid;border-bottom-width:1px;color:#4a4a4a;display:flex;justify-content:center;margin-bottom:-1px;padding:.5em 1em;vertical-align:top}.mzn-playground .tabs a:hover{border-bottom-color:#363636;color:#363636}.mzn-playground .tabs li{display:block}.mzn-playground .tabs li.is-active a{border-bottom-color:#485fc7;color:#485fc7}.mzn-playground .tabs ul{align-items:center;border-bottom-color:#dbdbdb;border-bottom-style:solid;border-bottom-width:1px;display:flex;flex-grow:1;flex-shrink:0;justify-content:flex-start}.mzn-playground .tabs ul.is-left{padding-right:.75em}.mzn-playground .tabs ul.is-center{flex:none;justify-content:center;padding-left:.75em;padding-right:.75em}.mzn-playground .tabs ul.is-right{justify-content:flex-end;padding-left:.75em}.mzn-playground .tabs .icon:first-child{margin-right:.5em}.mzn-playground .tabs .icon:last-child{margin-left:.5em}.mzn-playground .tabs.is-centered ul{justify-content:center}.mzn-playground .tabs.is-right ul{justify-content:flex-end}.mzn-playground .tabs.is-boxed a{border:1px solid transparent;border-radius:4px 4px 0 0}.mzn-playground .tabs.is-boxed a:hover{background-color:#f5f5f5;border-bottom-color:#dbdbdb}.mzn-playground .tabs.is-boxed li.is-active a{background-color:#fff;border-color:#dbdbdb;border-bottom-color:transparent!important}.mzn-playground .tabs.is-fullwidth li{flex-grow:1;flex-shrink:0}.mzn-playground .tabs.is-toggle a{border-color:#dbdbdb;border-style:solid;border-width:1px;margin-bottom:0;position:relative}.mzn-playground .tabs.is-toggle a:hover{background-color:#f5f5f5;border-color:#b5b5b5;z-index:2}.mzn-playground .tabs.is-toggle li+li{margin-left:-1px}.mzn-playground .tabs.is-toggle li:first-child a{border-top-left-radius:4px;border-bottom-left-radius:4px}.mzn-playground .tabs.is-toggle li:last-child a{border-top-right-radius:4px;border-bottom-right-radius:4px}.mzn-playground .tabs.is-toggle li.is-active a{background-color:#485fc7;border-color:#485fc7;color:#fff;z-index:1}.mzn-playground .tabs.is-toggle ul{border-bottom:none}.mzn-playground .tabs.is-toggle.is-toggle-rounded li:first-child a{border-bottom-left-radius:9999px;border-top-left-radius:9999px;padding-left:1.25em}.mzn-playground .tabs.is-toggle.is-toggle-rounded li:last-child a{border-bottom-right-radius:9999px;border-top-right-radius:9999px;padding-right:1.25em}.mzn-playground .tabs.is-small{font-size:.75rem}.mzn-playground .tabs.is-medium{font-size:1.25rem}.mzn-playground .tabs.is-large{font-size:1.5rem}.mzn-playground .is-block{display:block!important}@media screen and (max-width: 768px){.mzn-playground .is-block-mobile{display:block!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-block-tablet{display:block!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-block-tablet-only{display:block!important}}@media screen and (max-width: 1023px){.mzn-playground .is-block-touch{display:block!important}}@media screen and (min-width: 1024px){.mzn-playground .is-block-desktop{display:block!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-block-desktop-only{display:block!important}}@media screen and (min-width: 1216px){.mzn-playground .is-block-widescreen{display:block!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-block-widescreen-only{display:block!important}}@media screen and (min-width: 1408px){.mzn-playground .is-block-fullhd{display:block!important}}.mzn-playground .is-flex{display:flex!important}@media screen and (max-width: 768px){.mzn-playground .is-flex-mobile{display:flex!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-flex-tablet{display:flex!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-flex-tablet-only{display:flex!important}}@media screen and (max-width: 1023px){.mzn-playground .is-flex-touch{display:flex!important}}@media screen and (min-width: 1024px){.mzn-playground .is-flex-desktop{display:flex!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-flex-desktop-only{display:flex!important}}@media screen and (min-width: 1216px){.mzn-playground .is-flex-widescreen{display:flex!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-flex-widescreen-only{display:flex!important}}@media screen and (min-width: 1408px){.mzn-playground .is-flex-fullhd{display:flex!important}}.mzn-playground .is-inline{display:inline!important}@media screen and (max-width: 768px){.mzn-playground .is-inline-mobile{display:inline!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-inline-tablet{display:inline!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-inline-tablet-only{display:inline!important}}@media screen and (max-width: 1023px){.mzn-playground .is-inline-touch{display:inline!important}}@media screen and (min-width: 1024px){.mzn-playground .is-inline-desktop{display:inline!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-inline-desktop-only{display:inline!important}}@media screen and (min-width: 1216px){.mzn-playground .is-inline-widescreen{display:inline!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-inline-widescreen-only{display:inline!important}}@media screen and (min-width: 1408px){.mzn-playground .is-inline-fullhd{display:inline!important}}.mzn-playground .is-inline-block{display:inline-block!important}@media screen and (max-width: 768px){.mzn-playground .is-inline-block-mobile{display:inline-block!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-inline-block-tablet{display:inline-block!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-inline-block-tablet-only{display:inline-block!important}}@media screen and (max-width: 1023px){.mzn-playground .is-inline-block-touch{display:inline-block!important}}@media screen and (min-width: 1024px){.mzn-playground .is-inline-block-desktop{display:inline-block!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-inline-block-desktop-only{display:inline-block!important}}@media screen and (min-width: 1216px){.mzn-playground .is-inline-block-widescreen{display:inline-block!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-inline-block-widescreen-only{display:inline-block!important}}@media screen and (min-width: 1408px){.mzn-playground .is-inline-block-fullhd{display:inline-block!important}}.mzn-playground .is-inline-flex{display:inline-flex!important}@media screen and (max-width: 768px){.mzn-playground .is-inline-flex-mobile{display:inline-flex!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-inline-flex-tablet{display:inline-flex!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-inline-flex-tablet-only{display:inline-flex!important}}@media screen and (max-width: 1023px){.mzn-playground .is-inline-flex-touch{display:inline-flex!important}}@media screen and (min-width: 1024px){.mzn-playground .is-inline-flex-desktop{display:inline-flex!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-inline-flex-desktop-only{display:inline-flex!important}}@media screen and (min-width: 1216px){.mzn-playground .is-inline-flex-widescreen{display:inline-flex!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-inline-flex-widescreen-only{display:inline-flex!important}}@media screen and (min-width: 1408px){.mzn-playground .is-inline-flex-fullhd{display:inline-flex!important}}.mzn-playground .is-hidden{display:none!important}.mzn-playground .is-sr-only{border:none!important;clip:rect(0,0,0,0)!important;height:.01em!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:.01em!important}@media screen and (max-width: 768px){.mzn-playground .is-hidden-mobile{display:none!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-hidden-tablet{display:none!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-hidden-tablet-only{display:none!important}}@media screen and (max-width: 1023px){.mzn-playground .is-hidden-touch{display:none!important}}@media screen and (min-width: 1024px){.mzn-playground .is-hidden-desktop{display:none!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-hidden-desktop-only{display:none!important}}@media screen and (min-width: 1216px){.mzn-playground .is-hidden-widescreen{display:none!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-hidden-widescreen-only{display:none!important}}@media screen and (min-width: 1408px){.mzn-playground .is-hidden-fullhd{display:none!important}}.mzn-playground .is-invisible{visibility:hidden!important}@media screen and (max-width: 768px){.mzn-playground .is-invisible-mobile{visibility:hidden!important}}@media screen and (min-width: 769px),print{.mzn-playground .is-invisible-tablet{visibility:hidden!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground .is-invisible-tablet-only{visibility:hidden!important}}@media screen and (max-width: 1023px){.mzn-playground .is-invisible-touch{visibility:hidden!important}}@media screen and (min-width: 1024px){.mzn-playground .is-invisible-desktop{visibility:hidden!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground .is-invisible-desktop-only{visibility:hidden!important}}@media screen and (min-width: 1216px){.mzn-playground .is-invisible-widescreen{visibility:hidden!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground .is-invisible-widescreen-only{visibility:hidden!important}}@media screen and (min-width: 1408px){.mzn-playground .is-invisible-fullhd{visibility:hidden!important}}.mzn-playground{box-sizing:border-box;background-color:#fff;font-size:16px;min-width:300px;font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif;color:#4a4a4a;font-size:1em;font-weight:400;line-height:1.5}.mzn-playground .navbar-item,.mzn-playground .navbar-link{padding:.5rem}.mzn-playground.is-dark{--mzn-playground-border: hsl(0, 0%, 29%);--mzn-playground-input-background-color: hsl(0, 0%, 12%);--mzn-playground-splitter: hsl(0, 0%, 29%);--mzn-playground-gray: gray;--mzn-playground-blue: #33beff;--mzn-playground-red: red;--mzn-playground-yellow: #d1d100}.mzn-playground.is-dark .file-cta,.mzn-playground.is-dark .file-name,.mzn-playground.is-dark .select select,.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input,.mzn-playground.is-dark .button{-moz-appearance:none;-webkit-appearance:none;align-items:center;border:1px solid transparent;border-radius:4px;box-shadow:none;display:inline-flex;font-size:1rem;height:2.5em;justify-content:flex-start;line-height:1.5;padding-bottom:calc(.5em - 1px);padding-left:calc(.75em - 1px);padding-right:calc(.75em - 1px);padding-top:calc(.5em - 1px);position:relative;vertical-align:top}.mzn-playground.is-dark .file-cta:focus,.mzn-playground.is-dark .file-name:focus,.mzn-playground.is-dark .select select:focus,.mzn-playground.is-dark .textarea:focus,.mzn-playground.is-dark .input:focus,.mzn-playground.is-dark .button:focus,.mzn-playground.is-dark .is-focused.file-cta,.mzn-playground.is-dark .is-focused.file-name,.mzn-playground.is-dark .select select.is-focused,.mzn-playground.is-dark .is-focused.textarea,.mzn-playground.is-dark .is-focused.input,.mzn-playground.is-dark .is-focused.button,.mzn-playground.is-dark .file-cta:active,.mzn-playground.is-dark .file-name:active,.mzn-playground.is-dark .select select:active,.mzn-playground.is-dark .textarea:active,.mzn-playground.is-dark .input:active,.mzn-playground.is-dark .button:active,.mzn-playground.is-dark .is-active.file-cta,.mzn-playground.is-dark .is-active.file-name,.mzn-playground.is-dark .select select.is-active,.mzn-playground.is-dark .is-active.textarea,.mzn-playground.is-dark .is-active.input,.mzn-playground.is-dark .is-active.button{outline:none}.mzn-playground.is-dark [disabled].file-cta,.mzn-playground.is-dark [disabled].file-name,.mzn-playground.is-dark .select select[disabled],.mzn-playground.is-dark [disabled].textarea,.mzn-playground.is-dark [disabled].input,.mzn-playground.is-dark [disabled].button,fieldset[disabled] .mzn-playground.is-dark .file-cta,fieldset[disabled] .mzn-playground.is-dark .file-name,fieldset[disabled] .mzn-playground.is-dark .select select,fieldset[disabled] .mzn-playground.is-dark .textarea,fieldset[disabled] .mzn-playground.is-dark .input,fieldset[disabled] .mzn-playground.is-dark .button{cursor:not-allowed}.mzn-playground.is-dark .tabs,.mzn-playground.is-dark .file,.mzn-playground.is-dark .button{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mzn-playground.is-dark .navbar-link:not(.is-arrowless):after,.mzn-playground.is-dark .select:not(.is-multiple):not(.is-loading):after{border:3px solid transparent;border-radius:2px;border-right:0;border-top:0;content:" ";display:block;height:.625em;margin-top:-.4375em;pointer-events:none;position:absolute;top:50%;transform:rotate(-45deg);transform-origin:center;width:.625em}.mzn-playground.is-dark .tabs:not(:last-child),.mzn-playground.is-dark .block:not(:last-child),.mzn-playground.is-dark .table-container:not(:last-child),.mzn-playground.is-dark .table:not(:last-child){margin-bottom:1.5rem}.mzn-playground.is-dark .modal-close,.mzn-playground.is-dark .delete{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-moz-appearance:none;-webkit-appearance:none;background-color:#0a0a0a33;border:none;border-radius:9999px;cursor:pointer;pointer-events:auto;display:inline-block;flex-grow:0;flex-shrink:0;font-size:0;height:20px;max-height:20px;max-width:20px;min-height:20px;min-width:20px;outline:none;position:relative;vertical-align:top;width:20px}.mzn-playground.is-dark .modal-close:before,.mzn-playground.is-dark .delete:before,.mzn-playground.is-dark .modal-close:after,.mzn-playground.is-dark .delete:after{background-color:#292929;content:"";display:block;left:50%;position:absolute;top:50%;transform:translate(-50%) translateY(-50%) rotate(45deg);transform-origin:center center}.mzn-playground.is-dark .modal-close:before,.mzn-playground.is-dark .delete:before{height:2px;width:50%}.mzn-playground.is-dark .modal-close:after,.mzn-playground.is-dark .delete:after{height:50%;width:2px}.mzn-playground.is-dark .modal-close:hover,.mzn-playground.is-dark .delete:hover,.mzn-playground.is-dark .modal-close:focus,.mzn-playground.is-dark .delete:focus{background-color:#0a0a0a4d}.mzn-playground.is-dark .modal-close:active,.mzn-playground.is-dark .delete:active{background-color:#0a0a0a66}.mzn-playground.is-dark .is-small.modal-close,.mzn-playground.is-dark .is-small.delete{height:16px;max-height:16px;max-width:16px;min-height:16px;min-width:16px;width:16px}.mzn-playground.is-dark .is-medium.modal-close,.mzn-playground.is-dark .is-medium.delete{height:24px;max-height:24px;max-width:24px;min-height:24px;min-width:24px;width:24px}.mzn-playground.is-dark .is-large.modal-close,.mzn-playground.is-dark .is-large.delete{height:32px;max-height:32px;max-width:32px;min-height:32px;min-width:32px;width:32px}.mzn-playground.is-dark .control.is-loading:after,.mzn-playground.is-dark .select.is-loading:after,.mzn-playground.is-dark .loader,.mzn-playground.is-dark .button.is-loading:after{animation:spinAround .5s infinite linear;border:2px solid hsl(0,0%,86%);border-radius:9999px;border-right-color:transparent;border-top-color:transparent;content:"";display:block;height:1em;position:relative;width:1em}.mzn-playground.is-dark .modal-background,.mzn-playground.is-dark .modal{bottom:0;left:0;position:absolute;right:0;top:0}.mzn-playground.is-dark .navbar-burger{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;color:currentColor;font-family:inherit;font-size:1em;margin:0;padding:0}.mzn-playground.is-dark html,.mzn-playground.is-dark body,.mzn-playground.is-dark p,.mzn-playground.is-dark ol,.mzn-playground.is-dark ul,.mzn-playground.is-dark li,.mzn-playground.is-dark dl,.mzn-playground.is-dark dt,.mzn-playground.is-dark dd,.mzn-playground.is-dark blockquote,.mzn-playground.is-dark figure,.mzn-playground.is-dark fieldset,.mzn-playground.is-dark legend,.mzn-playground.is-dark textarea,.mzn-playground.is-dark pre,.mzn-playground.is-dark iframe,.mzn-playground.is-dark hr,.mzn-playground.is-dark h1,.mzn-playground.is-dark h2,.mzn-playground.is-dark h3,.mzn-playground.is-dark h4,.mzn-playground.is-dark h5,.mzn-playground.is-dark h6{margin:0;padding:0}.mzn-playground.is-dark h1,.mzn-playground.is-dark h2,.mzn-playground.is-dark h3,.mzn-playground.is-dark h4,.mzn-playground.is-dark h5,.mzn-playground.is-dark h6{font-size:100%;font-weight:400}.mzn-playground.is-dark ul{list-style:none}.mzn-playground.is-dark button,.mzn-playground.is-dark input,.mzn-playground.is-dark select,.mzn-playground.is-dark textarea{margin:0}.mzn-playground.is-dark html{box-sizing:border-box}.mzn-playground.is-dark *,.mzn-playground.is-dark *:before,.mzn-playground.is-dark *:after{box-sizing:inherit}.mzn-playground.is-dark img,.mzn-playground.is-dark video{height:auto;max-width:100%}.mzn-playground.is-dark iframe{border:0}.mzn-playground.is-dark table{border-collapse:collapse;border-spacing:0}.mzn-playground.is-dark td,.mzn-playground.is-dark th{padding:0}.mzn-playground.is-dark td:not([align]),.mzn-playground.is-dark th:not([align]){text-align:inherit}.mzn-playground.is-dark html{background-color:#292929;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;min-width:300px;overflow-x:hidden;overflow-y:scroll;text-rendering:optimizeLegibility;text-size-adjust:100%}.mzn-playground.is-dark article,.mzn-playground.is-dark aside,.mzn-playground.is-dark figure,.mzn-playground.is-dark footer,.mzn-playground.is-dark header,.mzn-playground.is-dark hgroup,.mzn-playground.is-dark section{display:block}.mzn-playground.is-dark body,.mzn-playground.is-dark button,.mzn-playground.is-dark input,.mzn-playground.is-dark optgroup,.mzn-playground.is-dark select,.mzn-playground.is-dark textarea{font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif}.mzn-playground.is-dark code,.mzn-playground.is-dark pre{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:auto;font-family:monospace}.mzn-playground.is-dark body{color:#ffebeb;font-size:1em;font-weight:400;line-height:1.5}.mzn-playground.is-dark a{color:#6294ff;cursor:pointer;text-decoration:none}.mzn-playground.is-dark a strong{color:currentColor}.mzn-playground.is-dark a:hover{color:#b5b5b5}.mzn-playground.is-dark code{background-color:#141414;color:#da1039;font-size:.875em;font-weight:400;padding:.25em .5em}.mzn-playground.is-dark hr{background-color:#141414;border:none;display:block;height:2px;margin:1.5rem 0}.mzn-playground.is-dark img{height:auto;max-width:100%}.mzn-playground.is-dark input[type=checkbox],.mzn-playground.is-dark input[type=radio]{vertical-align:baseline}.mzn-playground.is-dark small{font-size:.875em}.mzn-playground.is-dark span{font-style:inherit;font-weight:inherit}.mzn-playground.is-dark strong{color:#fff;font-weight:700}.mzn-playground.is-dark fieldset{border:none}.mzn-playground.is-dark pre{-webkit-overflow-scrolling:touch;background-color:#141414;color:#ffebeb;font-size:1em;overflow-x:auto;padding:1.25rem 1.5rem;white-space:pre;word-wrap:normal}.mzn-playground.is-dark pre code{background-color:transparent;color:currentColor;font-size:1em;padding:0}.mzn-playground.is-dark table td,.mzn-playground.is-dark table th{vertical-align:top}.mzn-playground.is-dark table td:not([align]),.mzn-playground.is-dark table th:not([align]){text-align:inherit}.mzn-playground.is-dark table th{color:#fff}@keyframes spinAround{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.mzn-playground.is-dark .button{background-color:#1f1f1f;border-color:#4a4a4a;border-width:1px;color:#fff;cursor:pointer;justify-content:center;padding-bottom:calc(.5em - 1px);padding-left:1em;padding-right:1em;padding-top:calc(.5em - 1px);text-align:center;white-space:nowrap}.mzn-playground.is-dark .button strong{color:inherit}.mzn-playground.is-dark .button .icon,.mzn-playground.is-dark .button .icon.is-small,.mzn-playground.is-dark .button .icon.is-medium,.mzn-playground.is-dark .button .icon.is-large{height:1.5em;width:1.5em}.mzn-playground.is-dark .button .icon:first-child:not(:last-child){margin-left:calc(-.5em - 1px);margin-right:.25em}.mzn-playground.is-dark .button .icon:last-child:not(:first-child){margin-left:.25em;margin-right:calc(-.5em - 1px)}.mzn-playground.is-dark .button .icon:first-child:last-child{margin-left:calc(-.5em - 1px);margin-right:calc(-.5em - 1px)}.mzn-playground.is-dark .button:hover,.mzn-playground.is-dark .button.is-hovered{border-color:#4a4a4a;color:#b5b5b5}.mzn-playground.is-dark .button:focus,.mzn-playground.is-dark .button.is-focused{border-color:#3850b7;color:#c9c9c9}.mzn-playground.is-dark .button:focus:not(:active),.mzn-playground.is-dark .button.is-focused:not(:active){box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .button:active,.mzn-playground.is-dark .button.is-active{border-color:#b5b5b5;color:#c9c9c9}.mzn-playground.is-dark .button.is-text{background-color:transparent;border-color:transparent;color:#ffebeb;text-decoration:underline}.mzn-playground.is-dark .button.is-text:hover,.mzn-playground.is-dark .button.is-text.is-hovered,.mzn-playground.is-dark .button.is-text:focus,.mzn-playground.is-dark .button.is-text.is-focused{background-color:#141414;color:#fff}.mzn-playground.is-dark .button.is-text:active,.mzn-playground.is-dark .button.is-text.is-active{background-color:#080808;color:#fff}.mzn-playground.is-dark .button.is-text[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-text{background-color:transparent;border-color:transparent;box-shadow:none}.mzn-playground.is-dark .button.is-ghost{background:none;border-color:transparent;color:#6294ff;text-decoration:none}.mzn-playground.is-dark .button.is-ghost:hover,.mzn-playground.is-dark .button.is-ghost.is-hovered{color:#6294ff;text-decoration:underline}.mzn-playground.is-dark .button.is-white{background-color:#fff;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .button.is-white:hover,.mzn-playground.is-dark .button.is-white.is-hovered{background-color:#f9f9f9;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .button.is-white:focus,.mzn-playground.is-dark .button.is-white.is-focused{border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .button.is-white:focus:not(:active),.mzn-playground.is-dark .button.is-white.is-focused:not(:active){box-shadow:0 0 0 .125em #ffffff40}.mzn-playground.is-dark .button.is-white:active,.mzn-playground.is-dark .button.is-white.is-active{background-color:#f2f2f2;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .button.is-white[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-white{background-color:#fff;border-color:#fff;box-shadow:none}.mzn-playground.is-dark .button.is-white.is-inverted{background-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .button.is-white.is-inverted:hover,.mzn-playground.is-dark .button.is-white.is-inverted.is-hovered{background-color:#000}.mzn-playground.is-dark .button.is-white.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-white.is-inverted{background-color:#0a0a0a;border-color:transparent;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-white.is-loading:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground.is-dark .button.is-white.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-white.is-outlined:hover,.mzn-playground.is-dark .button.is-white.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-white.is-outlined:focus,.mzn-playground.is-dark .button.is-white.is-outlined.is-focused{background-color:#fff;border-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .button.is-white.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground.is-dark .button.is-white.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-white.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-white.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-white.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground.is-dark .button.is-white.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-white.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined{background-color:transparent;border-color:#0a0a0a;color:#0a0a0a}.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-focused{background-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground.is-dark .button.is-white.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-white.is-inverted.is-outlined{background-color:transparent;border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.mzn-playground.is-dark .button.is-black{background-color:#0a0a0a;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-black:hover,.mzn-playground.is-dark .button.is-black.is-hovered{background-color:#040404;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-black:focus,.mzn-playground.is-dark .button.is-black.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-black:focus:not(:active),.mzn-playground.is-dark .button.is-black.is-focused:not(:active){box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground.is-dark .button.is-black:active,.mzn-playground.is-dark .button.is-black.is-active{background-color:#000;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-black[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-black{background-color:#0a0a0a;border-color:#0a0a0a;box-shadow:none}.mzn-playground.is-dark .button.is-black.is-inverted{background-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-inverted:hover,.mzn-playground.is-dark .button.is-black.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-black.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-black.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-loading:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground.is-dark .button.is-black.is-outlined{background-color:transparent;border-color:#0a0a0a;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-outlined:hover,.mzn-playground.is-dark .button.is-black.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-black.is-outlined:focus,.mzn-playground.is-dark .button.is-black.is-outlined.is-focused{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .button.is-black.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground.is-dark .button.is-black.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-black.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-black.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-black.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,100%) hsl(0,0%,100%)!important}.mzn-playground.is-dark .button.is-black.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-black.is-outlined{background-color:transparent;border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-focused{background-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,4%) hsl(0,0%,4%)!important}.mzn-playground.is-dark .button.is-black.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-black.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-light{background-color:#f5f5f5;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-light:hover,.mzn-playground.is-dark .button.is-light.is-hovered{background-color:#eee;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-light:focus,.mzn-playground.is-dark .button.is-light.is-focused{border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-light:focus:not(:active),.mzn-playground.is-dark .button.is-light.is-focused:not(:active){box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground.is-dark .button.is-light:active,.mzn-playground.is-dark .button.is-light.is-active{background-color:#e8e8e8;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-light[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-light{background-color:#f5f5f5;border-color:#f5f5f5;box-shadow:none}.mzn-playground.is-dark .button.is-light.is-inverted{background-color:#000000b3;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-inverted:hover,.mzn-playground.is-dark .button.is-light.is-inverted.is-hovered{background-color:#000000b3}.mzn-playground.is-dark .button.is-light.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-light.is-inverted{background-color:#000000b3;border-color:transparent;box-shadow:none;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-loading:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground.is-dark .button.is-light.is-outlined{background-color:transparent;border-color:#f5f5f5;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-outlined:hover,.mzn-playground.is-dark .button.is-light.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-light.is-outlined:focus,.mzn-playground.is-dark .button.is-light.is-outlined.is-focused{background-color:#f5f5f5;border-color:#f5f5f5;color:#000000b3}.mzn-playground.is-dark .button.is-light.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,96%) hsl(0,0%,96%)!important}.mzn-playground.is-dark .button.is-light.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-light.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-light.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-light.is-outlined.is-loading.is-focused:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground.is-dark .button.is-light.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-light.is-outlined{background-color:transparent;border-color:#f5f5f5;box-shadow:none;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;color:#000000b3}.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-focused{background-color:#000000b3;color:#f5f5f5}.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,96%) hsl(0,0%,96%)!important}.mzn-playground.is-dark .button.is-light.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-light.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;box-shadow:none;color:#000000b3}.mzn-playground.is-dark .button.is-dark{background-color:#363636;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-dark:hover,.mzn-playground.is-dark .button.is-dark.is-hovered{background-color:#2f2f2f;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-dark:focus,.mzn-playground.is-dark .button.is-dark.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-dark:focus:not(:active),.mzn-playground.is-dark .button.is-dark.is-focused:not(:active){box-shadow:0 0 0 .125em #36363640}.mzn-playground.is-dark .button.is-dark:active,.mzn-playground.is-dark .button.is-dark.is-active{background-color:#292929;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-dark[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-dark{background-color:#363636;border-color:#363636;box-shadow:none}.mzn-playground.is-dark .button.is-dark.is-inverted{background-color:#fff;color:#363636}.mzn-playground.is-dark .button.is-dark.is-inverted:hover,.mzn-playground.is-dark .button.is-dark.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-dark.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-dark.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#363636}.mzn-playground.is-dark .button.is-dark.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-dark.is-outlined{background-color:transparent;border-color:#363636;color:#363636}.mzn-playground.is-dark .button.is-dark.is-outlined:hover,.mzn-playground.is-dark .button.is-dark.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-dark.is-outlined:focus,.mzn-playground.is-dark .button.is-dark.is-outlined.is-focused{background-color:#363636;border-color:#363636;color:#fff}.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading:after{border-color:transparent transparent hsl(0,0%,21%) hsl(0,0%,21%)!important}.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-dark.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-dark.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-dark.is-outlined{background-color:transparent;border-color:#363636;box-shadow:none;color:#363636}.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-focused{background-color:#fff;color:#363636}.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(0,0%,21%) hsl(0,0%,21%)!important}.mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-dark.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-primary{background-color:#1491eb;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-primary:hover,.mzn-playground.is-dark .button.is-primary.is-hovered{background-color:#138adf;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-primary:focus,.mzn-playground.is-dark .button.is-primary.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-primary:focus:not(:active),.mzn-playground.is-dark .button.is-primary.is-focused:not(:active){box-shadow:0 0 0 .125em #1491eb40}.mzn-playground.is-dark .button.is-primary:active,.mzn-playground.is-dark .button.is-primary.is-active{background-color:#1283d4;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-primary[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-primary{background-color:#1491eb;border-color:#1491eb;box-shadow:none}.mzn-playground.is-dark .button.is-primary.is-inverted{background-color:#fff;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-inverted:hover,.mzn-playground.is-dark .button.is-primary.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-primary.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-primary.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-primary.is-outlined{background-color:transparent;border-color:#1491eb;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-outlined:hover,.mzn-playground.is-dark .button.is-primary.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-primary.is-outlined:focus,.mzn-playground.is-dark .button.is-primary.is-outlined.is-focused{background-color:#1491eb;border-color:#1491eb;color:#fff}.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading:after{border-color:transparent transparent #1491eb #1491eb!important}.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-primary.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-primary.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-primary.is-outlined{background-color:transparent;border-color:#1491eb;box-shadow:none;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-focused{background-color:#fff;color:#1491eb}.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #1491eb #1491eb!important}.mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-primary.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-primary.is-light{background-color:#ecf6fd;color:#1074bc}.mzn-playground.is-dark .button.is-primary.is-light:hover,.mzn-playground.is-dark .button.is-primary.is-light.is-hovered{background-color:#e0f1fc;border-color:transparent;color:#1074bc}.mzn-playground.is-dark .button.is-primary.is-light:active,.mzn-playground.is-dark .button.is-primary.is-light.is-active{background-color:#d5ebfb;border-color:transparent;color:#1074bc}.mzn-playground.is-dark .button.is-link{background-color:#6294ff;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-link:hover,.mzn-playground.is-dark .button.is-link.is-hovered{background-color:#558bff;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-link:focus,.mzn-playground.is-dark .button.is-link.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-link:focus:not(:active),.mzn-playground.is-dark .button.is-link.is-focused:not(:active){box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .button.is-link:active,.mzn-playground.is-dark .button.is-link.is-active{background-color:#4983ff;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-link[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-link{background-color:#6294ff;border-color:#6294ff;box-shadow:none}.mzn-playground.is-dark .button.is-link.is-inverted{background-color:#fff;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-inverted:hover,.mzn-playground.is-dark .button.is-link.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-link.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-link.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-link.is-outlined{background-color:transparent;border-color:#6294ff;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-outlined:hover,.mzn-playground.is-dark .button.is-link.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-link.is-outlined:focus,.mzn-playground.is-dark .button.is-link.is-outlined.is-focused{background-color:#6294ff;border-color:#6294ff;color:#fff}.mzn-playground.is-dark .button.is-link.is-outlined.is-loading:after{border-color:transparent transparent #6294ff #6294ff!important}.mzn-playground.is-dark .button.is-link.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-link.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-link.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-link.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-link.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-link.is-outlined{background-color:transparent;border-color:#6294ff;box-shadow:none;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-focused{background-color:#fff;color:#6294ff}.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #6294ff #6294ff!important}.mzn-playground.is-dark .button.is-link.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-link.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-link.is-light{background-color:#ebf1ff;color:#003ec2}.mzn-playground.is-dark .button.is-link.is-light:hover,.mzn-playground.is-dark .button.is-link.is-light.is-hovered{background-color:#dee8ff;border-color:transparent;color:#003ec2}.mzn-playground.is-dark .button.is-link.is-light:active,.mzn-playground.is-dark .button.is-link.is-light.is-active{background-color:#d1e0ff;border-color:transparent;color:#003ec2}.mzn-playground.is-dark .button.is-info{background-color:#3e8ed0;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-info:hover,.mzn-playground.is-dark .button.is-info.is-hovered{background-color:#3488ce;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-info:focus,.mzn-playground.is-dark .button.is-info.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-info:focus:not(:active),.mzn-playground.is-dark .button.is-info.is-focused:not(:active){box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground.is-dark .button.is-info:active,.mzn-playground.is-dark .button.is-info.is-active{background-color:#3082c5;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-info[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-info{background-color:#3e8ed0;border-color:#3e8ed0;box-shadow:none}.mzn-playground.is-dark .button.is-info.is-inverted{background-color:#fff;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-inverted:hover,.mzn-playground.is-dark .button.is-info.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-info.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-info.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-info.is-outlined{background-color:transparent;border-color:#3e8ed0;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-outlined:hover,.mzn-playground.is-dark .button.is-info.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-info.is-outlined:focus,.mzn-playground.is-dark .button.is-info.is-outlined.is-focused{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.mzn-playground.is-dark .button.is-info.is-outlined.is-loading:after{border-color:transparent transparent hsl(207,61%,53%) hsl(207,61%,53%)!important}.mzn-playground.is-dark .button.is-info.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-info.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-info.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-info.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-info.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-info.is-outlined{background-color:transparent;border-color:#3e8ed0;box-shadow:none;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-focused{background-color:#fff;color:#3e8ed0}.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(207,61%,53%) hsl(207,61%,53%)!important}.mzn-playground.is-dark .button.is-info.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-info.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-info.is-light{background-color:#eff5fb;color:#296fa8}.mzn-playground.is-dark .button.is-info.is-light:hover,.mzn-playground.is-dark .button.is-info.is-light.is-hovered{background-color:#e4eff9;border-color:transparent;color:#296fa8}.mzn-playground.is-dark .button.is-info.is-light:active,.mzn-playground.is-dark .button.is-info.is-light.is-active{background-color:#dae9f6;border-color:transparent;color:#296fa8}.mzn-playground.is-dark .button.is-success{background-color:#48c78e;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-success:hover,.mzn-playground.is-dark .button.is-success.is-hovered{background-color:#3ec487;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-success:focus,.mzn-playground.is-dark .button.is-success.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-success:focus:not(:active),.mzn-playground.is-dark .button.is-success.is-focused:not(:active){box-shadow:0 0 0 .125em #48c78e40}.mzn-playground.is-dark .button.is-success:active,.mzn-playground.is-dark .button.is-success.is-active{background-color:#3abb81;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-success[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-success{background-color:#48c78e;border-color:#48c78e;box-shadow:none}.mzn-playground.is-dark .button.is-success.is-inverted{background-color:#fff;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-inverted:hover,.mzn-playground.is-dark .button.is-success.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-success.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-success.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-success.is-outlined{background-color:transparent;border-color:#48c78e;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-outlined:hover,.mzn-playground.is-dark .button.is-success.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-success.is-outlined:focus,.mzn-playground.is-dark .button.is-success.is-outlined.is-focused{background-color:#48c78e;border-color:#48c78e;color:#fff}.mzn-playground.is-dark .button.is-success.is-outlined.is-loading:after{border-color:transparent transparent hsl(153,53%,53%) hsl(153,53%,53%)!important}.mzn-playground.is-dark .button.is-success.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-success.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-success.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-success.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-success.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-success.is-outlined{background-color:transparent;border-color:#48c78e;box-shadow:none;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-focused{background-color:#fff;color:#48c78e}.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(153,53%,53%) hsl(153,53%,53%)!important}.mzn-playground.is-dark .button.is-success.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-success.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-success.is-light{background-color:#effaf5;color:#257953}.mzn-playground.is-dark .button.is-success.is-light:hover,.mzn-playground.is-dark .button.is-success.is-light.is-hovered{background-color:#e6f7ef;border-color:transparent;color:#257953}.mzn-playground.is-dark .button.is-success.is-light:active,.mzn-playground.is-dark .button.is-success.is-light.is-active{background-color:#dcf4e9;border-color:transparent;color:#257953}.mzn-playground.is-dark .button.is-warning{background-color:#ffe08a;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-warning:hover,.mzn-playground.is-dark .button.is-warning.is-hovered{background-color:#ffdc7d;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-warning:focus,.mzn-playground.is-dark .button.is-warning.is-focused{border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-warning:focus:not(:active),.mzn-playground.is-dark .button.is-warning.is-focused:not(:active){box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground.is-dark .button.is-warning:active,.mzn-playground.is-dark .button.is-warning.is-active{background-color:#ffd970;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .button.is-warning[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-warning{background-color:#ffe08a;border-color:#ffe08a;box-shadow:none}.mzn-playground.is-dark .button.is-warning.is-inverted{background-color:#000000b3;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-inverted:hover,.mzn-playground.is-dark .button.is-warning.is-inverted.is-hovered{background-color:#000000b3}.mzn-playground.is-dark .button.is-warning.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-warning.is-inverted{background-color:#000000b3;border-color:transparent;box-shadow:none;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-loading:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground.is-dark .button.is-warning.is-outlined{background-color:transparent;border-color:#ffe08a;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-outlined:hover,.mzn-playground.is-dark .button.is-warning.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-warning.is-outlined:focus,.mzn-playground.is-dark .button.is-warning.is-outlined.is-focused{background-color:#ffe08a;border-color:#ffe08a;color:#000000b3}.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading:after{border-color:transparent transparent hsl(44,100%,77%) hsl(44,100%,77%)!important}.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-warning.is-outlined.is-loading.is-focused:after{border-color:transparent transparent rgba(0,0,0,.7) rgba(0,0,0,.7)!important}.mzn-playground.is-dark .button.is-warning.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-warning.is-outlined{background-color:transparent;border-color:#ffe08a;box-shadow:none;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;color:#000000b3}.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-focused{background-color:#000000b3;color:#ffe08a}.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(44,100%,77%) hsl(44,100%,77%)!important}.mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-warning.is-inverted.is-outlined{background-color:transparent;border-color:#000000b3;box-shadow:none;color:#000000b3}.mzn-playground.is-dark .button.is-warning.is-light{background-color:#fffaeb;color:#946c00}.mzn-playground.is-dark .button.is-warning.is-light:hover,.mzn-playground.is-dark .button.is-warning.is-light.is-hovered{background-color:#fff6de;border-color:transparent;color:#946c00}.mzn-playground.is-dark .button.is-warning.is-light:active,.mzn-playground.is-dark .button.is-warning.is-light.is-active{background-color:#fff3d1;border-color:transparent;color:#946c00}.mzn-playground.is-dark .button.is-danger{background-color:#f14668;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-danger:hover,.mzn-playground.is-dark .button.is-danger.is-hovered{background-color:#f03a5f;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-danger:focus,.mzn-playground.is-dark .button.is-danger.is-focused{border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-danger:focus:not(:active),.mzn-playground.is-dark .button.is-danger.is-focused:not(:active){box-shadow:0 0 0 .125em #f1466840}.mzn-playground.is-dark .button.is-danger:active,.mzn-playground.is-dark .button.is-danger.is-active{background-color:#ef2e55;border-color:transparent;color:#fff}.mzn-playground.is-dark .button.is-danger[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-danger{background-color:#f14668;border-color:#f14668;box-shadow:none}.mzn-playground.is-dark .button.is-danger.is-inverted{background-color:#fff;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-inverted:hover,.mzn-playground.is-dark .button.is-danger.is-inverted.is-hovered{background-color:#f2f2f2}.mzn-playground.is-dark .button.is-danger.is-inverted[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-danger.is-inverted{background-color:#fff;border-color:transparent;box-shadow:none;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-loading:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-danger.is-outlined{background-color:transparent;border-color:#f14668;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-outlined:hover,.mzn-playground.is-dark .button.is-danger.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-danger.is-outlined:focus,.mzn-playground.is-dark .button.is-danger.is-outlined.is-focused{background-color:#f14668;border-color:#f14668;color:#fff}.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading:after{border-color:transparent transparent hsl(348,86%,61%) hsl(348,86%,61%)!important}.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-danger.is-outlined.is-loading.is-focused:after{border-color:transparent transparent #fff #fff!important}.mzn-playground.is-dark .button.is-danger.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-danger.is-outlined{background-color:transparent;border-color:#f14668;box-shadow:none;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined{background-color:transparent;border-color:#fff;color:#fff}.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined:hover,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-hovered,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined:focus,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-focused{background-color:#fff;color:#f14668}.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-loading:hover:after,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-loading.is-hovered:after,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-loading:focus:after,.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined.is-loading.is-focused:after{border-color:transparent transparent hsl(348,86%,61%) hsl(348,86%,61%)!important}.mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined[disabled],fieldset[disabled] .mzn-playground.is-dark .button.is-danger.is-inverted.is-outlined{background-color:transparent;border-color:#fff;box-shadow:none;color:#fff}.mzn-playground.is-dark .button.is-danger.is-light{background-color:#feecf0;color:#cc0f35}.mzn-playground.is-dark .button.is-danger.is-light:hover,.mzn-playground.is-dark .button.is-danger.is-light.is-hovered{background-color:#fde0e6;border-color:transparent;color:#cc0f35}.mzn-playground.is-dark .button.is-danger.is-light:active,.mzn-playground.is-dark .button.is-danger.is-light.is-active{background-color:#fcd4dc;border-color:transparent;color:#cc0f35}.mzn-playground.is-dark .button.is-small{font-size:.75rem}.mzn-playground.is-dark .button.is-small:not(.is-rounded){border-radius:2px}.mzn-playground.is-dark .button.is-normal{font-size:1rem}.mzn-playground.is-dark .button.is-medium{font-size:1.25rem}.mzn-playground.is-dark .button.is-large{font-size:1.5rem}.mzn-playground.is-dark .button[disabled],fieldset[disabled] .mzn-playground.is-dark .button{background-color:#292929;border-color:#4a4a4a;box-shadow:none;opacity:.5}.mzn-playground.is-dark .button.is-fullwidth{display:flex;width:100%}.mzn-playground.is-dark .button.is-loading{color:transparent!important;pointer-events:none}.mzn-playground.is-dark .button.is-loading:after{position:absolute;left:calc(50% - .5em);top:calc(50% - .5em);position:absolute!important}.mzn-playground.is-dark .button.is-static{background-color:#333;border-color:#4a4a4a;color:#7a7a7a;box-shadow:none;pointer-events:none}.mzn-playground.is-dark .button.is-rounded{border-radius:9999px;padding-left:1.25em;padding-right:1.25em}.mzn-playground.is-dark .buttons{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-start}.mzn-playground.is-dark .buttons .button{margin-bottom:.5rem}.mzn-playground.is-dark .buttons .button:not(:last-child):not(.is-fullwidth){margin-right:.5rem}.mzn-playground.is-dark .buttons:last-child{margin-bottom:-.5rem}.mzn-playground.is-dark .buttons:not(:last-child){margin-bottom:1rem}.mzn-playground.is-dark .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large){font-size:.75rem}.mzn-playground.is-dark .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large):not(.is-rounded){border-radius:2px}.mzn-playground.is-dark .buttons.are-medium .button:not(.is-small):not(.is-normal):not(.is-large){font-size:1.25rem}.mzn-playground.is-dark .buttons.are-large .button:not(.is-small):not(.is-normal):not(.is-medium){font-size:1.5rem}.mzn-playground.is-dark .buttons.has-addons .button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground.is-dark .buttons.has-addons .button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.mzn-playground.is-dark .buttons.has-addons .button:last-child{margin-right:0}.mzn-playground.is-dark .buttons.has-addons .button:hover,.mzn-playground.is-dark .buttons.has-addons .button.is-hovered{z-index:2}.mzn-playground.is-dark .buttons.has-addons .button:focus,.mzn-playground.is-dark .buttons.has-addons .button.is-focused,.mzn-playground.is-dark .buttons.has-addons .button:active,.mzn-playground.is-dark .buttons.has-addons .button.is-active,.mzn-playground.is-dark .buttons.has-addons .button.is-selected{z-index:3}.mzn-playground.is-dark .buttons.has-addons .button:focus:hover,.mzn-playground.is-dark .buttons.has-addons .button.is-focused:hover,.mzn-playground.is-dark .buttons.has-addons .button:active:hover,.mzn-playground.is-dark .buttons.has-addons .button.is-active:hover,.mzn-playground.is-dark .buttons.has-addons .button.is-selected:hover{z-index:4}.mzn-playground.is-dark .buttons.has-addons .button.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .buttons.is-centered{justify-content:center}.mzn-playground.is-dark .buttons.is-centered:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}.mzn-playground.is-dark .buttons.is-right{justify-content:flex-end}.mzn-playground.is-dark .buttons.is-right:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}@media screen and (max-width: 768px){.mzn-playground.is-dark .button.is-responsive.is-small{font-size:.5625rem}.mzn-playground.is-dark .button.is-responsive,.mzn-playground.is-dark .button.is-responsive.is-normal{font-size:.65625rem}.mzn-playground.is-dark .button.is-responsive.is-medium{font-size:.75rem}.mzn-playground.is-dark .button.is-responsive.is-large{font-size:1rem}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .button.is-responsive.is-small{font-size:.65625rem}.mzn-playground.is-dark .button.is-responsive,.mzn-playground.is-dark .button.is-responsive.is-normal{font-size:.75rem}.mzn-playground.is-dark .button.is-responsive.is-medium{font-size:1rem}.mzn-playground.is-dark .button.is-responsive.is-large{font-size:1.25rem}}.mzn-playground.is-dark .icon{align-items:center;display:inline-flex;justify-content:center;height:1.5rem;width:1.5rem}.mzn-playground.is-dark .icon.is-small{height:1rem;width:1rem}.mzn-playground.is-dark .icon.is-medium{height:2rem;width:2rem}.mzn-playground.is-dark .icon.is-large{height:3rem;width:3rem}.mzn-playground.is-dark .icon-text{align-items:flex-start;color:inherit;display:inline-flex;flex-wrap:wrap;line-height:1.5rem;vertical-align:top}.mzn-playground.is-dark .icon-text .icon{flex-grow:0;flex-shrink:0}.mzn-playground.is-dark .icon-text .icon:not(:last-child){margin-right:.25em}.mzn-playground.is-dark .icon-text .icon:not(:first-child){margin-left:.25em}.mzn-playground.is-dark div.icon-text{display:flex}.mzn-playground.is-dark .table{background-color:#292929;color:#fff}.mzn-playground.is-dark .table td,.mzn-playground.is-dark .table th{border:1px solid hsl(0,0%,29%);border-width:0 0 1px;padding:.5em .75em;vertical-align:top}.mzn-playground.is-dark .table td.is-white,.mzn-playground.is-dark .table th.is-white{background-color:#fff;border-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .table td.is-black,.mzn-playground.is-dark .table th.is-black{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .table td.is-light,.mzn-playground.is-dark .table th.is-light{background-color:#f5f5f5;border-color:#f5f5f5;color:#000000b3}.mzn-playground.is-dark .table td.is-dark,.mzn-playground.is-dark .table th.is-dark{background-color:#363636;border-color:#363636;color:#fff}.mzn-playground.is-dark .table td.is-primary,.mzn-playground.is-dark .table th.is-primary{background-color:#1491eb;border-color:#1491eb;color:#fff}.mzn-playground.is-dark .table td.is-link,.mzn-playground.is-dark .table th.is-link{background-color:#6294ff;border-color:#6294ff;color:#fff}.mzn-playground.is-dark .table td.is-info,.mzn-playground.is-dark .table th.is-info{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.mzn-playground.is-dark .table td.is-success,.mzn-playground.is-dark .table th.is-success{background-color:#48c78e;border-color:#48c78e;color:#fff}.mzn-playground.is-dark .table td.is-warning,.mzn-playground.is-dark .table th.is-warning{background-color:#ffe08a;border-color:#ffe08a;color:#000000b3}.mzn-playground.is-dark .table td.is-danger,.mzn-playground.is-dark .table th.is-danger{background-color:#f14668;border-color:#f14668;color:#fff}.mzn-playground.is-dark .table td.is-narrow,.mzn-playground.is-dark .table th.is-narrow{white-space:nowrap;width:1%}.mzn-playground.is-dark .table td.is-selected,.mzn-playground.is-dark .table th.is-selected{background-color:#1491eb;color:#fff}.mzn-playground.is-dark .table td.is-selected a,.mzn-playground.is-dark .table td.is-selected strong,.mzn-playground.is-dark .table th.is-selected a,.mzn-playground.is-dark .table th.is-selected strong{color:currentColor}.mzn-playground.is-dark .table td.is-vcentered,.mzn-playground.is-dark .table th.is-vcentered{vertical-align:middle}.mzn-playground.is-dark .table th{color:#fff}.mzn-playground.is-dark .table th:not([align]){text-align:left}.mzn-playground.is-dark .table tr.is-selected{background-color:#1491eb;color:#fff}.mzn-playground.is-dark .table tr.is-selected a,.mzn-playground.is-dark .table tr.is-selected strong{color:currentColor}.mzn-playground.is-dark .table tr.is-selected td,.mzn-playground.is-dark .table tr.is-selected th{border-color:#fff;color:currentColor}.mzn-playground.is-dark .table thead{background-color:transparent}.mzn-playground.is-dark .table thead td,.mzn-playground.is-dark .table thead th{border-width:0 0 2px;color:#fff}.mzn-playground.is-dark .table tfoot{background-color:transparent}.mzn-playground.is-dark .table tfoot td,.mzn-playground.is-dark .table tfoot th{border-width:2px 0 0;color:#fff}.mzn-playground.is-dark .table tbody{background-color:transparent}.mzn-playground.is-dark .table tbody tr:last-child td,.mzn-playground.is-dark .table tbody tr:last-child th{border-bottom-width:0}.mzn-playground.is-dark .table.is-bordered td,.mzn-playground.is-dark .table.is-bordered th{border-width:1px}.mzn-playground.is-dark .table.is-bordered tr:last-child td,.mzn-playground.is-dark .table.is-bordered tr:last-child th{border-bottom-width:1px}.mzn-playground.is-dark .table.is-fullwidth{width:100%}.mzn-playground.is-dark .table.is-hoverable tbody tr:not(.is-selected):hover{background-color:#2e2e2e}.mzn-playground.is-dark .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover{background-color:#2e2e2e}.mzn-playground.is-dark .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover:nth-child(2n){background-color:#333}.mzn-playground.is-dark .table.is-narrow td,.mzn-playground.is-dark .table.is-narrow th{padding:.25em .5em}.mzn-playground.is-dark .table.is-striped tbody tr:not(.is-selected):nth-child(2n){background-color:#2e2e2e}.mzn-playground.is-dark .table-container{-webkit-overflow-scrolling:touch;overflow:auto;overflow-y:hidden;max-width:100%}.mzn-playground.is-dark .heading{display:block;font-size:11px;letter-spacing:1px;margin-bottom:5px;text-transform:uppercase}.mzn-playground.is-dark .number{align-items:center;background-color:#141414;border-radius:9999px;display:inline-flex;font-size:1.25rem;height:2em;justify-content:center;margin-right:1.5rem;min-width:2.5em;padding:.25rem .5rem;text-align:center;vertical-align:top}.mzn-playground.is-dark .select select,.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input{background-color:#1f1f1f;border-color:#4a4a4a;border-radius:4px;color:#fff}.mzn-playground.is-dark .select select::-moz-placeholder,.mzn-playground.is-dark .textarea::-moz-placeholder,.mzn-playground.is-dark .input::-moz-placeholder{color:#ffffff4d}.mzn-playground.is-dark .select select::-webkit-input-placeholder,.mzn-playground.is-dark .textarea::-webkit-input-placeholder,.mzn-playground.is-dark .input::-webkit-input-placeholder{color:#ffffff4d}.mzn-playground.is-dark .select select:-moz-placeholder,.mzn-playground.is-dark .textarea:-moz-placeholder,.mzn-playground.is-dark .input:-moz-placeholder{color:#ffffff4d}.mzn-playground.is-dark .select select:-ms-input-placeholder,.mzn-playground.is-dark .textarea:-ms-input-placeholder,.mzn-playground.is-dark .input:-ms-input-placeholder{color:#ffffff4d}.mzn-playground.is-dark .select select:hover,.mzn-playground.is-dark .textarea:hover,.mzn-playground.is-dark .input:hover,.mzn-playground.is-dark .select select.is-hovered,.mzn-playground.is-dark .is-hovered.textarea,.mzn-playground.is-dark .is-hovered.input{border-color:#b5b5b5}.mzn-playground.is-dark .select select:focus,.mzn-playground.is-dark .textarea:focus,.mzn-playground.is-dark .input:focus,.mzn-playground.is-dark .select select.is-focused,.mzn-playground.is-dark .is-focused.textarea,.mzn-playground.is-dark .is-focused.input,.mzn-playground.is-dark .select select:active,.mzn-playground.is-dark .textarea:active,.mzn-playground.is-dark .input:active,.mzn-playground.is-dark .select select.is-active,.mzn-playground.is-dark .is-active.textarea,.mzn-playground.is-dark .is-active.input{border-color:#6294ff;box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .select select[disabled],.mzn-playground.is-dark [disabled].textarea,.mzn-playground.is-dark [disabled].input,fieldset[disabled] .mzn-playground.is-dark .select select,fieldset[disabled] .mzn-playground.is-dark .textarea,fieldset[disabled] .mzn-playground.is-dark .input{background-color:#141414;border-color:#141414;box-shadow:none;color:#7a7a7a}.mzn-playground.is-dark .select select[disabled]::-moz-placeholder,.mzn-playground.is-dark [disabled].textarea::-moz-placeholder,.mzn-playground.is-dark [disabled].input::-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select::-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .textarea::-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .input::-moz-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]::-webkit-input-placeholder,.mzn-playground.is-dark [disabled].textarea::-webkit-input-placeholder,.mzn-playground.is-dark [disabled].input::-webkit-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select::-webkit-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .textarea::-webkit-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .input::-webkit-input-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]:-moz-placeholder,.mzn-playground.is-dark [disabled].textarea:-moz-placeholder,.mzn-playground.is-dark [disabled].input:-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select:-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .textarea:-moz-placeholder,fieldset[disabled] .mzn-playground.is-dark .input:-moz-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .select select[disabled]:-ms-input-placeholder,.mzn-playground.is-dark [disabled].textarea:-ms-input-placeholder,.mzn-playground.is-dark [disabled].input:-ms-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .select select:-ms-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .textarea:-ms-input-placeholder,fieldset[disabled] .mzn-playground.is-dark .input:-ms-input-placeholder{color:#7a7a7a4d}.mzn-playground.is-dark .textarea,.mzn-playground.is-dark .input{box-shadow:inset 0 .0625em .125em #0a0a0a0d;max-width:100%;width:100%}.mzn-playground.is-dark [readonly].textarea,.mzn-playground.is-dark [readonly].input{box-shadow:none}.mzn-playground.is-dark .is-white.textarea,.mzn-playground.is-dark .is-white.input{border-color:#fff}.mzn-playground.is-dark .is-white.textarea:focus,.mzn-playground.is-dark .is-white.input:focus,.mzn-playground.is-dark .is-white.is-focused.textarea,.mzn-playground.is-dark .is-white.is-focused.input,.mzn-playground.is-dark .is-white.textarea:active,.mzn-playground.is-dark .is-white.input:active,.mzn-playground.is-dark .is-white.is-active.textarea,.mzn-playground.is-dark .is-white.is-active.input{box-shadow:0 0 0 .125em #ffffff40}.mzn-playground.is-dark .is-black.textarea,.mzn-playground.is-dark .is-black.input{border-color:#0a0a0a}.mzn-playground.is-dark .is-black.textarea:focus,.mzn-playground.is-dark .is-black.input:focus,.mzn-playground.is-dark .is-black.is-focused.textarea,.mzn-playground.is-dark .is-black.is-focused.input,.mzn-playground.is-dark .is-black.textarea:active,.mzn-playground.is-dark .is-black.input:active,.mzn-playground.is-dark .is-black.is-active.textarea,.mzn-playground.is-dark .is-black.is-active.input{box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground.is-dark .is-light.textarea,.mzn-playground.is-dark .is-light.input{border-color:#f5f5f5}.mzn-playground.is-dark .is-light.textarea:focus,.mzn-playground.is-dark .is-light.input:focus,.mzn-playground.is-dark .is-light.is-focused.textarea,.mzn-playground.is-dark .is-light.is-focused.input,.mzn-playground.is-dark .is-light.textarea:active,.mzn-playground.is-dark .is-light.input:active,.mzn-playground.is-dark .is-light.is-active.textarea,.mzn-playground.is-dark .is-light.is-active.input{box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground.is-dark .is-dark.textarea,.mzn-playground.is-dark .is-dark.input{border-color:#363636}.mzn-playground.is-dark .is-dark.textarea:focus,.mzn-playground.is-dark .is-dark.input:focus,.mzn-playground.is-dark .is-dark.is-focused.textarea,.mzn-playground.is-dark .is-dark.is-focused.input,.mzn-playground.is-dark .is-dark.textarea:active,.mzn-playground.is-dark .is-dark.input:active,.mzn-playground.is-dark .is-dark.is-active.textarea,.mzn-playground.is-dark .is-dark.is-active.input{box-shadow:0 0 0 .125em #36363640}.mzn-playground.is-dark .is-primary.textarea,.mzn-playground.is-dark .is-primary.input{border-color:#1491eb}.mzn-playground.is-dark .is-primary.textarea:focus,.mzn-playground.is-dark .is-primary.input:focus,.mzn-playground.is-dark .is-primary.is-focused.textarea,.mzn-playground.is-dark .is-primary.is-focused.input,.mzn-playground.is-dark .is-primary.textarea:active,.mzn-playground.is-dark .is-primary.input:active,.mzn-playground.is-dark .is-primary.is-active.textarea,.mzn-playground.is-dark .is-primary.is-active.input{box-shadow:0 0 0 .125em #1491eb40}.mzn-playground.is-dark .is-link.textarea,.mzn-playground.is-dark .is-link.input{border-color:#6294ff}.mzn-playground.is-dark .is-link.textarea:focus,.mzn-playground.is-dark .is-link.input:focus,.mzn-playground.is-dark .is-link.is-focused.textarea,.mzn-playground.is-dark .is-link.is-focused.input,.mzn-playground.is-dark .is-link.textarea:active,.mzn-playground.is-dark .is-link.input:active,.mzn-playground.is-dark .is-link.is-active.textarea,.mzn-playground.is-dark .is-link.is-active.input{box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .is-info.textarea,.mzn-playground.is-dark .is-info.input{border-color:#3e8ed0}.mzn-playground.is-dark .is-info.textarea:focus,.mzn-playground.is-dark .is-info.input:focus,.mzn-playground.is-dark .is-info.is-focused.textarea,.mzn-playground.is-dark .is-info.is-focused.input,.mzn-playground.is-dark .is-info.textarea:active,.mzn-playground.is-dark .is-info.input:active,.mzn-playground.is-dark .is-info.is-active.textarea,.mzn-playground.is-dark .is-info.is-active.input{box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground.is-dark .is-success.textarea,.mzn-playground.is-dark .is-success.input{border-color:#48c78e}.mzn-playground.is-dark .is-success.textarea:focus,.mzn-playground.is-dark .is-success.input:focus,.mzn-playground.is-dark .is-success.is-focused.textarea,.mzn-playground.is-dark .is-success.is-focused.input,.mzn-playground.is-dark .is-success.textarea:active,.mzn-playground.is-dark .is-success.input:active,.mzn-playground.is-dark .is-success.is-active.textarea,.mzn-playground.is-dark .is-success.is-active.input{box-shadow:0 0 0 .125em #48c78e40}.mzn-playground.is-dark .is-warning.textarea,.mzn-playground.is-dark .is-warning.input{border-color:#ffe08a}.mzn-playground.is-dark .is-warning.textarea:focus,.mzn-playground.is-dark .is-warning.input:focus,.mzn-playground.is-dark .is-warning.is-focused.textarea,.mzn-playground.is-dark .is-warning.is-focused.input,.mzn-playground.is-dark .is-warning.textarea:active,.mzn-playground.is-dark .is-warning.input:active,.mzn-playground.is-dark .is-warning.is-active.textarea,.mzn-playground.is-dark .is-warning.is-active.input{box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground.is-dark .is-danger.textarea,.mzn-playground.is-dark .is-danger.input{border-color:#f14668}.mzn-playground.is-dark .is-danger.textarea:focus,.mzn-playground.is-dark .is-danger.input:focus,.mzn-playground.is-dark .is-danger.is-focused.textarea,.mzn-playground.is-dark .is-danger.is-focused.input,.mzn-playground.is-dark .is-danger.textarea:active,.mzn-playground.is-dark .is-danger.input:active,.mzn-playground.is-dark .is-danger.is-active.textarea,.mzn-playground.is-dark .is-danger.is-active.input{box-shadow:0 0 0 .125em #f1466840}.mzn-playground.is-dark .is-small.textarea,.mzn-playground.is-dark .is-small.input{border-radius:2px;font-size:.75rem}.mzn-playground.is-dark .is-medium.textarea,.mzn-playground.is-dark .is-medium.input{font-size:1.25rem}.mzn-playground.is-dark .is-large.textarea,.mzn-playground.is-dark .is-large.input{font-size:1.5rem}.mzn-playground.is-dark .is-fullwidth.textarea,.mzn-playground.is-dark .is-fullwidth.input{display:block;width:100%}.mzn-playground.is-dark .is-inline.textarea,.mzn-playground.is-dark .is-inline.input{display:inline;width:auto}.mzn-playground.is-dark .input.is-rounded{border-radius:9999px;padding-left:calc(1.125em - 1px);padding-right:calc(1.125em - 1px)}.mzn-playground.is-dark .input.is-static{background-color:transparent;border-color:transparent;box-shadow:none;padding-left:0;padding-right:0}.mzn-playground.is-dark .textarea{display:block;max-width:100%;min-width:100%;padding:calc(.75em - 1px);resize:vertical}.mzn-playground.is-dark .textarea:not([rows]){max-height:40em;min-height:8em}.mzn-playground.is-dark .textarea[rows]{height:initial}.mzn-playground.is-dark .textarea.has-fixed-size{resize:none}.mzn-playground.is-dark .radio,.mzn-playground.is-dark .checkbox{cursor:pointer;display:inline-block;line-height:1.25;position:relative}.mzn-playground.is-dark .radio input,.mzn-playground.is-dark .checkbox input{cursor:pointer}.mzn-playground.is-dark .radio:hover,.mzn-playground.is-dark .checkbox:hover{color:#fff}.mzn-playground.is-dark [disabled].radio,.mzn-playground.is-dark [disabled].checkbox,fieldset[disabled] .mzn-playground.is-dark .radio,fieldset[disabled] .mzn-playground.is-dark .checkbox,.mzn-playground.is-dark .radio input[disabled],.mzn-playground.is-dark .checkbox input[disabled]{color:#7a7a7a;cursor:not-allowed}.mzn-playground.is-dark .radio+.radio{margin-left:.5em}.mzn-playground.is-dark .select{display:inline-block;max-width:100%;position:relative;vertical-align:top}.mzn-playground.is-dark .select:not(.is-multiple){height:2.5em}.mzn-playground.is-dark .select:not(.is-multiple):not(.is-loading):after{border-color:#6294ff;right:1.125em;z-index:4}.mzn-playground.is-dark .select.is-rounded select{border-radius:9999px;padding-left:1em}.mzn-playground.is-dark .select select{cursor:pointer;display:block;font-size:1em;max-width:100%;outline:none}.mzn-playground.is-dark .select select::-ms-expand{display:none}.mzn-playground.is-dark .select select[disabled]:hover,fieldset[disabled] .mzn-playground.is-dark .select select:hover{border-color:#141414}.mzn-playground.is-dark .select select:not([multiple]){padding-right:2.5em}.mzn-playground.is-dark .select select[multiple]{height:auto;padding:0}.mzn-playground.is-dark .select select[multiple] option{padding:.5em 1em}.mzn-playground.is-dark .select:not(.is-multiple):not(.is-loading):hover:after{border-color:#fff}.mzn-playground.is-dark .select.is-white:not(:hover):after{border-color:#fff}.mzn-playground.is-dark .select.is-white select{border-color:#fff}.mzn-playground.is-dark .select.is-white select:hover,.mzn-playground.is-dark .select.is-white select.is-hovered{border-color:#f2f2f2}.mzn-playground.is-dark .select.is-white select:focus,.mzn-playground.is-dark .select.is-white select.is-focused,.mzn-playground.is-dark .select.is-white select:active,.mzn-playground.is-dark .select.is-white select.is-active{box-shadow:0 0 0 .125em #ffffff40}.mzn-playground.is-dark .select.is-black:not(:hover):after{border-color:#0a0a0a}.mzn-playground.is-dark .select.is-black select{border-color:#0a0a0a}.mzn-playground.is-dark .select.is-black select:hover,.mzn-playground.is-dark .select.is-black select.is-hovered{border-color:#000}.mzn-playground.is-dark .select.is-black select:focus,.mzn-playground.is-dark .select.is-black select.is-focused,.mzn-playground.is-dark .select.is-black select:active,.mzn-playground.is-dark .select.is-black select.is-active{box-shadow:0 0 0 .125em #0a0a0a40}.mzn-playground.is-dark .select.is-light:not(:hover):after{border-color:#f5f5f5}.mzn-playground.is-dark .select.is-light select{border-color:#f5f5f5}.mzn-playground.is-dark .select.is-light select:hover,.mzn-playground.is-dark .select.is-light select.is-hovered{border-color:#e8e8e8}.mzn-playground.is-dark .select.is-light select:focus,.mzn-playground.is-dark .select.is-light select.is-focused,.mzn-playground.is-dark .select.is-light select:active,.mzn-playground.is-dark .select.is-light select.is-active{box-shadow:0 0 0 .125em #f5f5f540}.mzn-playground.is-dark .select.is-dark:not(:hover):after{border-color:#363636}.mzn-playground.is-dark .select.is-dark select{border-color:#363636}.mzn-playground.is-dark .select.is-dark select:hover,.mzn-playground.is-dark .select.is-dark select.is-hovered{border-color:#292929}.mzn-playground.is-dark .select.is-dark select:focus,.mzn-playground.is-dark .select.is-dark select.is-focused,.mzn-playground.is-dark .select.is-dark select:active,.mzn-playground.is-dark .select.is-dark select.is-active{box-shadow:0 0 0 .125em #36363640}.mzn-playground.is-dark .select.is-primary:not(:hover):after{border-color:#1491eb}.mzn-playground.is-dark .select.is-primary select{border-color:#1491eb}.mzn-playground.is-dark .select.is-primary select:hover,.mzn-playground.is-dark .select.is-primary select.is-hovered{border-color:#1283d4}.mzn-playground.is-dark .select.is-primary select:focus,.mzn-playground.is-dark .select.is-primary select.is-focused,.mzn-playground.is-dark .select.is-primary select:active,.mzn-playground.is-dark .select.is-primary select.is-active{box-shadow:0 0 0 .125em #1491eb40}.mzn-playground.is-dark .select.is-link:not(:hover):after{border-color:#6294ff}.mzn-playground.is-dark .select.is-link select{border-color:#6294ff}.mzn-playground.is-dark .select.is-link select:hover,.mzn-playground.is-dark .select.is-link select.is-hovered{border-color:#4983ff}.mzn-playground.is-dark .select.is-link select:focus,.mzn-playground.is-dark .select.is-link select.is-focused,.mzn-playground.is-dark .select.is-link select:active,.mzn-playground.is-dark .select.is-link select.is-active{box-shadow:0 0 0 .125em #6294ff40}.mzn-playground.is-dark .select.is-info:not(:hover):after{border-color:#3e8ed0}.mzn-playground.is-dark .select.is-info select{border-color:#3e8ed0}.mzn-playground.is-dark .select.is-info select:hover,.mzn-playground.is-dark .select.is-info select.is-hovered{border-color:#3082c5}.mzn-playground.is-dark .select.is-info select:focus,.mzn-playground.is-dark .select.is-info select.is-focused,.mzn-playground.is-dark .select.is-info select:active,.mzn-playground.is-dark .select.is-info select.is-active{box-shadow:0 0 0 .125em #3e8ed040}.mzn-playground.is-dark .select.is-success:not(:hover):after{border-color:#48c78e}.mzn-playground.is-dark .select.is-success select{border-color:#48c78e}.mzn-playground.is-dark .select.is-success select:hover,.mzn-playground.is-dark .select.is-success select.is-hovered{border-color:#3abb81}.mzn-playground.is-dark .select.is-success select:focus,.mzn-playground.is-dark .select.is-success select.is-focused,.mzn-playground.is-dark .select.is-success select:active,.mzn-playground.is-dark .select.is-success select.is-active{box-shadow:0 0 0 .125em #48c78e40}.mzn-playground.is-dark .select.is-warning:not(:hover):after{border-color:#ffe08a}.mzn-playground.is-dark .select.is-warning select{border-color:#ffe08a}.mzn-playground.is-dark .select.is-warning select:hover,.mzn-playground.is-dark .select.is-warning select.is-hovered{border-color:#ffd970}.mzn-playground.is-dark .select.is-warning select:focus,.mzn-playground.is-dark .select.is-warning select.is-focused,.mzn-playground.is-dark .select.is-warning select:active,.mzn-playground.is-dark .select.is-warning select.is-active{box-shadow:0 0 0 .125em #ffe08a40}.mzn-playground.is-dark .select.is-danger:not(:hover):after{border-color:#f14668}.mzn-playground.is-dark .select.is-danger select{border-color:#f14668}.mzn-playground.is-dark .select.is-danger select:hover,.mzn-playground.is-dark .select.is-danger select.is-hovered{border-color:#ef2e55}.mzn-playground.is-dark .select.is-danger select:focus,.mzn-playground.is-dark .select.is-danger select.is-focused,.mzn-playground.is-dark .select.is-danger select:active,.mzn-playground.is-dark .select.is-danger select.is-active{box-shadow:0 0 0 .125em #f1466840}.mzn-playground.is-dark .select.is-small{border-radius:2px;font-size:.75rem}.mzn-playground.is-dark .select.is-medium{font-size:1.25rem}.mzn-playground.is-dark .select.is-large{font-size:1.5rem}.mzn-playground.is-dark .select.is-disabled:after{border-color:#7a7a7a!important;opacity:.5}.mzn-playground.is-dark .select.is-fullwidth,.mzn-playground.is-dark .select.is-fullwidth select{width:100%}.mzn-playground.is-dark .select.is-loading:after{margin-top:0;position:absolute;right:.625em;top:.625em;transform:none}.mzn-playground.is-dark .select.is-loading.is-small:after{font-size:.75rem}.mzn-playground.is-dark .select.is-loading.is-medium:after{font-size:1.25rem}.mzn-playground.is-dark .select.is-loading.is-large:after{font-size:1.5rem}.mzn-playground.is-dark .file{align-items:stretch;display:flex;justify-content:flex-start;position:relative}.mzn-playground.is-dark .file.is-white .file-cta{background-color:#fff;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .file.is-white:hover .file-cta,.mzn-playground.is-dark .file.is-white.is-hovered .file-cta{background-color:#f9f9f9;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .file.is-white:focus .file-cta,.mzn-playground.is-dark .file.is-white.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #ffffff40;color:#0a0a0a}.mzn-playground.is-dark .file.is-white:active .file-cta,.mzn-playground.is-dark .file.is-white.is-active .file-cta{background-color:#f2f2f2;border-color:transparent;color:#0a0a0a}.mzn-playground.is-dark .file.is-black .file-cta{background-color:#0a0a0a;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-black:hover .file-cta,.mzn-playground.is-dark .file.is-black.is-hovered .file-cta{background-color:#040404;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-black:focus .file-cta,.mzn-playground.is-dark .file.is-black.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #0a0a0a40;color:#fff}.mzn-playground.is-dark .file.is-black:active .file-cta,.mzn-playground.is-dark .file.is-black.is-active .file-cta{background-color:#000;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-light .file-cta{background-color:#f5f5f5;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-light:hover .file-cta,.mzn-playground.is-dark .file.is-light.is-hovered .file-cta{background-color:#eee;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-light:focus .file-cta,.mzn-playground.is-dark .file.is-light.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #f5f5f540;color:#000000b3}.mzn-playground.is-dark .file.is-light:active .file-cta,.mzn-playground.is-dark .file.is-light.is-active .file-cta{background-color:#e8e8e8;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-dark .file-cta{background-color:#363636;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-dark:hover .file-cta,.mzn-playground.is-dark .file.is-dark.is-hovered .file-cta{background-color:#2f2f2f;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-dark:focus .file-cta,.mzn-playground.is-dark .file.is-dark.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #36363640;color:#fff}.mzn-playground.is-dark .file.is-dark:active .file-cta,.mzn-playground.is-dark .file.is-dark.is-active .file-cta{background-color:#292929;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-primary .file-cta{background-color:#1491eb;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-primary:hover .file-cta,.mzn-playground.is-dark .file.is-primary.is-hovered .file-cta{background-color:#138adf;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-primary:focus .file-cta,.mzn-playground.is-dark .file.is-primary.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #1491eb40;color:#fff}.mzn-playground.is-dark .file.is-primary:active .file-cta,.mzn-playground.is-dark .file.is-primary.is-active .file-cta{background-color:#1283d4;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-link .file-cta{background-color:#6294ff;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-link:hover .file-cta,.mzn-playground.is-dark .file.is-link.is-hovered .file-cta{background-color:#558bff;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-link:focus .file-cta,.mzn-playground.is-dark .file.is-link.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #6294ff40;color:#fff}.mzn-playground.is-dark .file.is-link:active .file-cta,.mzn-playground.is-dark .file.is-link.is-active .file-cta{background-color:#4983ff;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-info .file-cta{background-color:#3e8ed0;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-info:hover .file-cta,.mzn-playground.is-dark .file.is-info.is-hovered .file-cta{background-color:#3488ce;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-info:focus .file-cta,.mzn-playground.is-dark .file.is-info.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #3e8ed040;color:#fff}.mzn-playground.is-dark .file.is-info:active .file-cta,.mzn-playground.is-dark .file.is-info.is-active .file-cta{background-color:#3082c5;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-success .file-cta{background-color:#48c78e;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-success:hover .file-cta,.mzn-playground.is-dark .file.is-success.is-hovered .file-cta{background-color:#3ec487;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-success:focus .file-cta,.mzn-playground.is-dark .file.is-success.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #48c78e40;color:#fff}.mzn-playground.is-dark .file.is-success:active .file-cta,.mzn-playground.is-dark .file.is-success.is-active .file-cta{background-color:#3abb81;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-warning .file-cta{background-color:#ffe08a;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-warning:hover .file-cta,.mzn-playground.is-dark .file.is-warning.is-hovered .file-cta{background-color:#ffdc7d;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-warning:focus .file-cta,.mzn-playground.is-dark .file.is-warning.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #ffe08a40;color:#000000b3}.mzn-playground.is-dark .file.is-warning:active .file-cta,.mzn-playground.is-dark .file.is-warning.is-active .file-cta{background-color:#ffd970;border-color:transparent;color:#000000b3}.mzn-playground.is-dark .file.is-danger .file-cta{background-color:#f14668;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-danger:hover .file-cta,.mzn-playground.is-dark .file.is-danger.is-hovered .file-cta{background-color:#f03a5f;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-danger:focus .file-cta,.mzn-playground.is-dark .file.is-danger.is-focused .file-cta{border-color:transparent;box-shadow:0 0 .5em #f1466840;color:#fff}.mzn-playground.is-dark .file.is-danger:active .file-cta,.mzn-playground.is-dark .file.is-danger.is-active .file-cta{background-color:#ef2e55;border-color:transparent;color:#fff}.mzn-playground.is-dark .file.is-small{font-size:.75rem}.mzn-playground.is-dark .file.is-normal{font-size:1rem}.mzn-playground.is-dark .file.is-medium{font-size:1.25rem}.mzn-playground.is-dark .file.is-medium .file-icon .fa{font-size:21px}.mzn-playground.is-dark .file.is-large{font-size:1.5rem}.mzn-playground.is-dark .file.is-large .file-icon .fa{font-size:28px}.mzn-playground.is-dark .file.has-name .file-cta{border-bottom-right-radius:0;border-top-right-radius:0}.mzn-playground.is-dark .file.has-name .file-name{border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground.is-dark .file.has-name.is-empty .file-cta{border-radius:4px}.mzn-playground.is-dark .file.has-name.is-empty .file-name{display:none}.mzn-playground.is-dark .file.is-boxed .file-label{flex-direction:column}.mzn-playground.is-dark .file.is-boxed .file-cta{flex-direction:column;height:auto;padding:1em 3em}.mzn-playground.is-dark .file.is-boxed .file-name{border-width:0 1px 1px}.mzn-playground.is-dark .file.is-boxed .file-icon{height:1.5em;width:1.5em}.mzn-playground.is-dark .file.is-boxed .file-icon .fa{font-size:21px}.mzn-playground.is-dark .file.is-boxed.is-small .file-icon .fa{font-size:14px}.mzn-playground.is-dark .file.is-boxed.is-medium .file-icon .fa{font-size:28px}.mzn-playground.is-dark .file.is-boxed.is-large .file-icon .fa{font-size:35px}.mzn-playground.is-dark .file.is-boxed.has-name .file-cta{border-radius:4px 4px 0 0}.mzn-playground.is-dark .file.is-boxed.has-name .file-name{border-radius:0 0 4px 4px;border-width:0 1px 1px}.mzn-playground.is-dark .file.is-centered{justify-content:center}.mzn-playground.is-dark .file.is-fullwidth .file-label{width:100%}.mzn-playground.is-dark .file.is-fullwidth .file-name{flex-grow:1;max-width:none}.mzn-playground.is-dark .file.is-right{justify-content:flex-end}.mzn-playground.is-dark .file.is-right .file-cta{border-radius:0 4px 4px 0}.mzn-playground.is-dark .file.is-right .file-name{border-radius:4px 0 0 4px;border-width:1px 0 1px 1px;order:-1}.mzn-playground.is-dark .file-label{align-items:stretch;display:flex;cursor:pointer;justify-content:flex-start;overflow:hidden;position:relative}.mzn-playground.is-dark .file-label:hover .file-cta{background-color:#2d2d2d;color:#fff}.mzn-playground.is-dark .file-label:hover .file-name{border-color:#444}.mzn-playground.is-dark .file-label:active .file-cta{background-color:#262626;color:#fff}.mzn-playground.is-dark .file-label:active .file-name{border-color:#3d3d3d}.mzn-playground.is-dark .file-input{height:100%;left:0;opacity:0;outline:none;position:absolute;top:0;width:100%}.mzn-playground.is-dark .file-cta,.mzn-playground.is-dark .file-name{border-color:#4a4a4a;border-radius:4px;font-size:1em;padding-left:1em;padding-right:1em;white-space:nowrap}.mzn-playground.is-dark .file-cta{background-color:#333;color:#ffebeb}.mzn-playground.is-dark .file-name{border-color:#4a4a4a;border-style:solid;border-width:1px 1px 1px 0;display:block;max-width:16em;overflow:hidden;text-align:inherit;text-overflow:ellipsis}.mzn-playground.is-dark .file-icon{align-items:center;display:flex;height:1em;justify-content:center;margin-right:.5em;width:1em}.mzn-playground.is-dark .file-icon .fa{font-size:14px}.mzn-playground.is-dark .label{color:#b5b5b5;display:block;font-size:1rem;font-weight:700}.mzn-playground.is-dark .label:not(:last-child){margin-bottom:.5em}.mzn-playground.is-dark .label.is-small{font-size:.75rem}.mzn-playground.is-dark .label.is-medium{font-size:1.25rem}.mzn-playground.is-dark .label.is-large{font-size:1.5rem}.mzn-playground.is-dark .help{display:block;font-size:.75rem;margin-top:.25rem}.mzn-playground.is-dark .help.is-white{color:#fff}.mzn-playground.is-dark .help.is-black{color:#0a0a0a}.mzn-playground.is-dark .help.is-light{color:#f5f5f5}.mzn-playground.is-dark .help.is-dark{color:#363636}.mzn-playground.is-dark .help.is-primary{color:#1491eb}.mzn-playground.is-dark .help.is-link{color:#6294ff}.mzn-playground.is-dark .help.is-info{color:#3e8ed0}.mzn-playground.is-dark .help.is-success{color:#48c78e}.mzn-playground.is-dark .help.is-warning{color:#ffe08a}.mzn-playground.is-dark .help.is-danger{color:#f14668}.mzn-playground.is-dark .field:not(:last-child){margin-bottom:.75rem}.mzn-playground.is-dark .field.has-addons{display:flex;justify-content:flex-start}.mzn-playground.is-dark .field.has-addons .control:not(:last-child){margin-right:-1px}.mzn-playground.is-dark .field.has-addons .control:not(:first-child):not(:last-child) .button,.mzn-playground.is-dark .field.has-addons .control:not(:first-child):not(:last-child) .input,.mzn-playground.is-dark .field.has-addons .control:not(:first-child):not(:last-child) .select select{border-radius:0}.mzn-playground.is-dark .field.has-addons .control:first-child:not(:only-child) .button,.mzn-playground.is-dark .field.has-addons .control:first-child:not(:only-child) .input,.mzn-playground.is-dark .field.has-addons .control:first-child:not(:only-child) .select select{border-bottom-right-radius:0;border-top-right-radius:0}.mzn-playground.is-dark .field.has-addons .control:last-child:not(:only-child) .button,.mzn-playground.is-dark .field.has-addons .control:last-child:not(:only-child) .input,.mzn-playground.is-dark .field.has-addons .control:last-child:not(:only-child) .select select{border-bottom-left-radius:0;border-top-left-radius:0}.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):hover,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-hovered,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-hovered,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-hovered{z-index:2}.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):focus,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-focused,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):active,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-active,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):focus,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-focused,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):active,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-active,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):focus,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-focused,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):active,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-active{z-index:3}.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):focus:hover,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-focused:hover,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]):active:hover,.mzn-playground.is-dark .field.has-addons .control .button:not([disabled]).is-active:hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):focus:hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-focused:hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]):active:hover,.mzn-playground.is-dark .field.has-addons .control .input:not([disabled]).is-active:hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):focus:hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-focused:hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]):active:hover,.mzn-playground.is-dark .field.has-addons .control .select select:not([disabled]).is-active:hover{z-index:4}.mzn-playground.is-dark .field.has-addons .control.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .field.has-addons.has-addons-centered{justify-content:center}.mzn-playground.is-dark .field.has-addons.has-addons-right{justify-content:flex-end}.mzn-playground.is-dark .field.has-addons.has-addons-fullwidth .control{flex-grow:1;flex-shrink:0}.mzn-playground.is-dark .field.is-grouped{display:flex;justify-content:flex-start}.mzn-playground.is-dark .field.is-grouped>.control{flex-shrink:0}.mzn-playground.is-dark .field.is-grouped>.control:not(:last-child){margin-bottom:0;margin-right:.75rem}.mzn-playground.is-dark .field.is-grouped>.control.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .field.is-grouped.is-grouped-centered{justify-content:center}.mzn-playground.is-dark .field.is-grouped.is-grouped-right{justify-content:flex-end}.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline{flex-wrap:wrap}.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline>.control:last-child,.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline>.control:not(:last-child){margin-bottom:.75rem}.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline:last-child{margin-bottom:-.75rem}.mzn-playground.is-dark .field.is-grouped.is-grouped-multiline:not(:last-child){margin-bottom:0}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .field.is-horizontal{display:flex}}.mzn-playground.is-dark .field-label .label{font-size:inherit}@media screen and (max-width: 768px){.mzn-playground.is-dark .field-label{margin-bottom:.5rem}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .field-label{flex-basis:0;flex-grow:1;flex-shrink:0;margin-right:1.5rem;text-align:right}.mzn-playground.is-dark .field-label.is-small{font-size:.75rem;padding-top:.375em}.mzn-playground.is-dark .field-label.is-normal{padding-top:.375em}.mzn-playground.is-dark .field-label.is-medium{font-size:1.25rem;padding-top:.375em}.mzn-playground.is-dark .field-label.is-large{font-size:1.5rem;padding-top:.375em}}.mzn-playground.is-dark .field-body .field .field{margin-bottom:0}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .field-body{display:flex;flex-basis:0;flex-grow:5;flex-shrink:1}.mzn-playground.is-dark .field-body .field{margin-bottom:0}.mzn-playground.is-dark .field-body>.field{flex-shrink:1}.mzn-playground.is-dark .field-body>.field:not(.is-narrow){flex-grow:1}.mzn-playground.is-dark .field-body>.field:not(:last-child){margin-right:.75rem}}.mzn-playground.is-dark .control{box-sizing:border-box;clear:both;font-size:1rem;position:relative;text-align:inherit}.mzn-playground.is-dark .control.has-icons-left .input:focus~.icon,.mzn-playground.is-dark .control.has-icons-left .select:focus~.icon,.mzn-playground.is-dark .control.has-icons-right .input:focus~.icon,.mzn-playground.is-dark .control.has-icons-right .select:focus~.icon{color:#ffebeb}.mzn-playground.is-dark .control.has-icons-left .input.is-small~.icon,.mzn-playground.is-dark .control.has-icons-left .select.is-small~.icon,.mzn-playground.is-dark .control.has-icons-right .input.is-small~.icon,.mzn-playground.is-dark .control.has-icons-right .select.is-small~.icon{font-size:.75rem}.mzn-playground.is-dark .control.has-icons-left .input.is-medium~.icon,.mzn-playground.is-dark .control.has-icons-left .select.is-medium~.icon,.mzn-playground.is-dark .control.has-icons-right .input.is-medium~.icon,.mzn-playground.is-dark .control.has-icons-right .select.is-medium~.icon{font-size:1.25rem}.mzn-playground.is-dark .control.has-icons-left .input.is-large~.icon,.mzn-playground.is-dark .control.has-icons-left .select.is-large~.icon,.mzn-playground.is-dark .control.has-icons-right .input.is-large~.icon,.mzn-playground.is-dark .control.has-icons-right .select.is-large~.icon{font-size:1.5rem}.mzn-playground.is-dark .control.has-icons-left .icon,.mzn-playground.is-dark .control.has-icons-right .icon{color:#4a4a4a;height:2.5em;pointer-events:none;position:absolute;top:0;width:2.5em;z-index:4}.mzn-playground.is-dark .control.has-icons-left .input,.mzn-playground.is-dark .control.has-icons-left .select select{padding-left:2.5em}.mzn-playground.is-dark .control.has-icons-left .icon.is-left{left:0}.mzn-playground.is-dark .control.has-icons-right .input,.mzn-playground.is-dark .control.has-icons-right .select select{padding-right:2.5em}.mzn-playground.is-dark .control.has-icons-right .icon.is-right{right:0}.mzn-playground.is-dark .control.is-loading:after{position:absolute!important;right:.625em;top:.625em;z-index:4}.mzn-playground.is-dark .control.is-loading.is-small:after{font-size:.75rem}.mzn-playground.is-dark .control.is-loading.is-medium:after{font-size:1.25rem}.mzn-playground.is-dark .control.is-loading.is-large:after{font-size:1.5rem}.mzn-playground.is-dark .dropdown{display:inline-flex;position:relative;vertical-align:top}.mzn-playground.is-dark .dropdown.is-active .dropdown-menu,.mzn-playground.is-dark .dropdown.is-hoverable:hover .dropdown-menu{display:block}.mzn-playground.is-dark .dropdown.is-right .dropdown-menu{left:auto;right:0}.mzn-playground.is-dark .dropdown.is-up .dropdown-menu{bottom:100%;padding-bottom:4px;padding-top:initial;top:auto}.mzn-playground.is-dark .dropdown-menu{display:none;left:0;min-width:12rem;padding-top:4px;position:absolute;top:100%;z-index:20}.mzn-playground.is-dark .dropdown-content{background-color:#292929;border-radius:4px;box-shadow:0 .5em 1em -.125em #0a0a0a1a,0 0 0 1px #0a0a0a05;padding-bottom:.5rem;padding-top:.5rem}.mzn-playground.is-dark .dropdown-item{color:#ffebeb;display:block;font-size:.875rem;line-height:1.5;padding:.375rem 1rem;position:relative}.mzn-playground.is-dark a.dropdown-item,.mzn-playground.is-dark button.dropdown-item{padding-right:3rem;text-align:inherit;white-space:nowrap;width:100%}.mzn-playground.is-dark a.dropdown-item:hover,.mzn-playground.is-dark button.dropdown-item:hover{background-color:#1f1f1f;color:#ffebeb}.mzn-playground.is-dark a.dropdown-item.is-active,.mzn-playground.is-dark button.dropdown-item.is-active{background-color:#6294ff;color:#fff}.mzn-playground.is-dark .dropdown-divider{background-color:#ededed;border:none;display:block;height:1px;margin:.5rem 0}.mzn-playground.is-dark .menu{font-size:1rem}.mzn-playground.is-dark .menu.is-small{font-size:.75rem}.mzn-playground.is-dark .menu.is-medium{font-size:1.25rem}.mzn-playground.is-dark .menu.is-large{font-size:1.5rem}.mzn-playground.is-dark .menu-list{line-height:1.25}.mzn-playground.is-dark .menu-list a{border-radius:2px;color:#ffebeb;display:block;padding:.5em .75em}.mzn-playground.is-dark .menu-list a:hover{background-color:#141414;color:#fff}.mzn-playground.is-dark .menu-list a.is-active{background-color:#6294ff;color:#fff}.mzn-playground.is-dark .menu-list li ul{border-left:1px solid hsl(0,0%,29%);margin:.75em;padding-left:.75em}.mzn-playground.is-dark .menu-label{color:#7a7a7a;font-size:.75em;letter-spacing:.1em;text-transform:uppercase}.mzn-playground.is-dark .menu-label:not(:first-child){margin-top:1em}.mzn-playground.is-dark .menu-label:not(:last-child){margin-bottom:1em}.mzn-playground.is-dark .modal{align-items:center;display:none;flex-direction:column;justify-content:center;overflow:hidden;position:fixed;z-index:40}.mzn-playground.is-dark .modal.is-active{display:flex}.mzn-playground.is-dark .modal-background{background-color:#0a0a0adb}.mzn-playground.is-dark .modal-content,.mzn-playground.is-dark .modal-card{margin:0 20px;max-height:calc(100vh - 160px);overflow:auto;position:relative;width:100%}@media screen and (min-width: 769px){.mzn-playground.is-dark .modal-content,.mzn-playground.is-dark .modal-card{margin:0 auto;max-height:calc(100vh - 40px);width:640px}}.mzn-playground.is-dark .modal-close{background:none;height:40px;position:fixed;right:20px;top:20px;width:40px}.mzn-playground.is-dark .modal-card{display:flex;flex-direction:column;max-height:calc(100vh - 40px);overflow:hidden;-ms-overflow-y:visible}.mzn-playground.is-dark .modal-card-head,.mzn-playground.is-dark .modal-card-foot{align-items:center;background-color:#141414;display:flex;flex-shrink:0;justify-content:flex-start;padding:20px;position:relative}.mzn-playground.is-dark .modal-card-head{border-bottom:1px solid hsl(0,0%,29%);border-top-left-radius:6px;border-top-right-radius:6px}.mzn-playground.is-dark .modal-card-title{color:#fff;flex-grow:1;flex-shrink:0;font-size:1.5rem;line-height:1}.mzn-playground.is-dark .modal-card-foot{border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:1px solid hsl(0,0%,29%)}.mzn-playground.is-dark .modal-card-foot .button:not(:last-child){margin-right:.5em}.mzn-playground.is-dark .modal-card-body{-webkit-overflow-scrolling:touch;background-color:#292929;flex-grow:1;flex-shrink:1;overflow:auto;padding:20px}.mzn-playground.is-dark .navbar{background-color:#292929;min-height:3.25rem;position:relative;z-index:30}.mzn-playground.is-dark .navbar.is-white{background-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link{color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-white .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-white .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link.is-active{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-brand .navbar-link:after{border-color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-burger{color:#0a0a0a}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-white .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-white .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link{color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-white .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-white .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-white .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-white .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-white .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link.is-active{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-white .navbar-end .navbar-link:after{border-color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-white .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-white .navbar-item.has-dropdown.is-active .navbar-link{background-color:#f2f2f2;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-white .navbar-dropdown a.navbar-item.is-active{background-color:#fff;color:#0a0a0a}}.mzn-playground.is-dark .navbar.is-black{background-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-black .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-black .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link.is-active{background-color:#000;color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-black .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-black .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-black .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-black .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-black .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-black .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-black .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link.is-active{background-color:#000;color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-black .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-black .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-black .navbar-item.has-dropdown.is-active .navbar-link{background-color:#000;color:#fff}.mzn-playground.is-dark .navbar.is-black .navbar-dropdown a.navbar-item.is-active{background-color:#0a0a0a;color:#fff}}.mzn-playground.is-dark .navbar.is-light{background-color:#f5f5f5;color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link{color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-light .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-light .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link.is-active{background-color:#e8e8e8;color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-brand .navbar-link:after{border-color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-burger{color:#000000b3}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-light .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-light .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link{color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-light .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-light .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-light .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-light .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-light .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link.is-active{background-color:#e8e8e8;color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-light .navbar-end .navbar-link:after{border-color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-light .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-light .navbar-item.has-dropdown.is-active .navbar-link{background-color:#e8e8e8;color:#000000b3}.mzn-playground.is-dark .navbar.is-light .navbar-dropdown a.navbar-item.is-active{background-color:#f5f5f5;color:#000000b3}}.mzn-playground.is-dark .navbar.is-dark{background-color:#363636;color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link.is-active{background-color:#292929;color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-dark .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-dark .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-dark .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link.is-active{background-color:#292929;color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-dark .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-dark .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-dark .navbar-item.has-dropdown.is-active .navbar-link{background-color:#292929;color:#fff}.mzn-playground.is-dark .navbar.is-dark .navbar-dropdown a.navbar-item.is-active{background-color:#363636;color:#fff}}.mzn-playground.is-dark .navbar.is-primary{background-color:#1491eb;color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link.is-active{background-color:#1283d4;color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-primary .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-primary .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-primary .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link.is-active{background-color:#1283d4;color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-primary .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-primary .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-primary .navbar-item.has-dropdown.is-active .navbar-link{background-color:#1283d4;color:#fff}.mzn-playground.is-dark .navbar.is-primary .navbar-dropdown a.navbar-item.is-active{background-color:#1491eb;color:#fff}}.mzn-playground.is-dark .navbar.is-link{background-color:#6294ff;color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-link .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-link .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link.is-active{background-color:#4983ff;color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-link .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-link .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-link .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-link .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-link .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-link .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-link .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link.is-active{background-color:#4983ff;color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-link .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-link .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-link .navbar-item.has-dropdown.is-active .navbar-link{background-color:#4983ff;color:#fff}.mzn-playground.is-dark .navbar.is-link .navbar-dropdown a.navbar-item.is-active{background-color:#6294ff;color:#fff}}.mzn-playground.is-dark .navbar.is-info{background-color:#3e8ed0;color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-info .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-info .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link.is-active{background-color:#3082c5;color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-info .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-info .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-info .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-info .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-info .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-info .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-info .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link.is-active{background-color:#3082c5;color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-info .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-info .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-info .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3082c5;color:#fff}.mzn-playground.is-dark .navbar.is-info .navbar-dropdown a.navbar-item.is-active{background-color:#3e8ed0;color:#fff}}.mzn-playground.is-dark .navbar.is-success{background-color:#48c78e;color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-success .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-success .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link.is-active{background-color:#3abb81;color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-success .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-success .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-success .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-success .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-success .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-success .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-success .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link.is-active{background-color:#3abb81;color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-success .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-success .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-success .navbar-item.has-dropdown.is-active .navbar-link{background-color:#3abb81;color:#fff}.mzn-playground.is-dark .navbar.is-success .navbar-dropdown a.navbar-item.is-active{background-color:#48c78e;color:#fff}}.mzn-playground.is-dark .navbar.is-warning{background-color:#ffe08a;color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link{color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link.is-active{background-color:#ffd970;color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-brand .navbar-link:after{border-color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-burger{color:#000000b3}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-warning .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-warning .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link{color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-warning .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link.is-active{background-color:#ffd970;color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-warning .navbar-end .navbar-link:after{border-color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-warning .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-warning .navbar-item.has-dropdown.is-active .navbar-link{background-color:#ffd970;color:#000000b3}.mzn-playground.is-dark .navbar.is-warning .navbar-dropdown a.navbar-item.is-active{background-color:#ffe08a;color:#000000b3}}.mzn-playground.is-dark .navbar.is-danger{background-color:#f14668;color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-brand>.navbar-item,.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-brand>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-brand>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-brand>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link.is-active{background-color:#ef2e55;color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-brand .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-burger{color:#fff}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar.is-danger .navbar-start>.navbar-item,.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link,.mzn-playground.is-dark .navbar.is-danger .navbar-end>.navbar-item,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link{color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-start>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-start>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-start>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link.is-active,.mzn-playground.is-dark .navbar.is-danger .navbar-end>a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-end>a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-end>a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link:focus,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link:hover,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link.is-active{background-color:#ef2e55;color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-start .navbar-link:after,.mzn-playground.is-dark .navbar.is-danger .navbar-end .navbar-link:after{border-color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar.is-danger .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar.is-danger .navbar-item.has-dropdown.is-active .navbar-link{background-color:#ef2e55;color:#fff}.mzn-playground.is-dark .navbar.is-danger .navbar-dropdown a.navbar-item.is-active{background-color:#f14668;color:#fff}}.mzn-playground.is-dark .navbar>.container{align-items:stretch;display:flex;min-height:3.25rem;width:100%}.mzn-playground.is-dark .navbar.has-shadow{box-shadow:0 2px #141414}.mzn-playground.is-dark .navbar.is-fixed-bottom,.mzn-playground.is-dark .navbar.is-fixed-top{left:0;position:fixed;right:0;z-index:30}.mzn-playground.is-dark .navbar.is-fixed-bottom{bottom:0}.mzn-playground.is-dark .navbar.is-fixed-bottom.has-shadow{box-shadow:0 -2px #141414}.mzn-playground.is-dark .navbar.is-fixed-top{top:0}.mzn-playground.is-dark html.has-navbar-fixed-top,.mzn-playground.is-dark body.has-navbar-fixed-top{padding-top:3.25rem}.mzn-playground.is-dark html.has-navbar-fixed-bottom,.mzn-playground.is-dark body.has-navbar-fixed-bottom{padding-bottom:3.25rem}.mzn-playground.is-dark .navbar-brand,.mzn-playground.is-dark .navbar-tabs{align-items:stretch;display:flex;flex-shrink:0;min-height:3.25rem}.mzn-playground.is-dark .navbar-brand a.navbar-item:focus,.mzn-playground.is-dark .navbar-brand a.navbar-item:hover{background-color:transparent}.mzn-playground.is-dark .navbar-tabs{-webkit-overflow-scrolling:touch;max-width:100vw;overflow-x:auto;overflow-y:hidden}.mzn-playground.is-dark .navbar-burger{color:#ffebeb;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:none;border:none;cursor:pointer;display:block;height:3.25rem;position:relative;width:3.25rem;margin-left:auto}.mzn-playground.is-dark .navbar-burger span{background-color:currentColor;display:block;height:1px;left:calc(50% - 8px);position:absolute;transform-origin:center;transition-duration:86ms;transition-property:background-color,opacity,transform;transition-timing-function:ease-out;width:16px}.mzn-playground.is-dark .navbar-burger span:nth-child(1){top:calc(50% - 6px)}.mzn-playground.is-dark .navbar-burger span:nth-child(2){top:calc(50% - 1px)}.mzn-playground.is-dark .navbar-burger span:nth-child(3){top:calc(50% + 4px)}.mzn-playground.is-dark .navbar-burger:hover{background-color:#0000000d}.mzn-playground.is-dark .navbar-burger.is-active span:nth-child(1){transform:translateY(5px) rotate(45deg)}.mzn-playground.is-dark .navbar-burger.is-active span:nth-child(2){opacity:0}.mzn-playground.is-dark .navbar-burger.is-active span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}.mzn-playground.is-dark .navbar-menu{display:none}.mzn-playground.is-dark .navbar-item,.mzn-playground.is-dark .navbar-link{color:#ffebeb;display:block;line-height:1.5;padding:.5rem .75rem;position:relative}.mzn-playground.is-dark .navbar-item .icon:only-child,.mzn-playground.is-dark .navbar-link .icon:only-child{margin-left:-.25rem;margin-right:-.25rem}.mzn-playground.is-dark a.navbar-item,.mzn-playground.is-dark .navbar-link{cursor:pointer}.mzn-playground.is-dark a.navbar-item:focus,.mzn-playground.is-dark a.navbar-item:focus-within,.mzn-playground.is-dark a.navbar-item:hover,.mzn-playground.is-dark a.navbar-item.is-active,.mzn-playground.is-dark .navbar-link:focus,.mzn-playground.is-dark .navbar-link:focus-within,.mzn-playground.is-dark .navbar-link:hover,.mzn-playground.is-dark .navbar-link.is-active{background-color:#2e2e2e;color:#6294ff}.mzn-playground.is-dark .navbar-item{flex-grow:0;flex-shrink:0}.mzn-playground.is-dark .navbar-item img{max-height:1.75rem}.mzn-playground.is-dark .navbar-item.has-dropdown{padding:0}.mzn-playground.is-dark .navbar-item.is-expanded{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .navbar-item.is-tab{border-bottom:1px solid transparent;min-height:3.25rem;padding-bottom:calc(.5rem - 1px)}.mzn-playground.is-dark .navbar-item.is-tab:focus,.mzn-playground.is-dark .navbar-item.is-tab:hover{background-color:transparent;border-bottom-color:#6294ff}.mzn-playground.is-dark .navbar-item.is-tab.is-active{background-color:transparent;border-bottom-color:#6294ff;border-bottom-style:solid;border-bottom-width:3px;color:#6294ff;padding-bottom:calc(.5rem - 3px)}.mzn-playground.is-dark .navbar-content{flex-grow:1;flex-shrink:1}.mzn-playground.is-dark .navbar-link:not(.is-arrowless){padding-right:2.5em}.mzn-playground.is-dark .navbar-link:not(.is-arrowless):after{border-color:#6294ff;margin-top:-.375em;right:1.125em}.mzn-playground.is-dark .navbar-dropdown{font-size:.875rem;padding-bottom:.5rem;padding-top:.5rem}.mzn-playground.is-dark .navbar-dropdown .navbar-item{padding-left:1.5rem;padding-right:1.5rem}.mzn-playground.is-dark .navbar-divider{background-color:#141414;border:none;display:none;height:2px;margin:.5rem 0}@media screen and (max-width: 768px){.mzn-playground.is-dark .navbar>.container{display:block}.mzn-playground.is-dark .navbar-brand .navbar-item,.mzn-playground.is-dark .navbar-tabs .navbar-item{align-items:center;display:flex}.mzn-playground.is-dark .navbar-link:after{display:none}.mzn-playground.is-dark .navbar-menu{background-color:#292929;box-shadow:0 8px 16px #0a0a0a1a;padding:.5rem 0}.mzn-playground.is-dark .navbar-menu.is-active{display:block}.mzn-playground.is-dark .navbar.is-fixed-bottom-touch,.mzn-playground.is-dark .navbar.is-fixed-top-touch{left:0;position:fixed;right:0;z-index:30}.mzn-playground.is-dark .navbar.is-fixed-bottom-touch{bottom:0}.mzn-playground.is-dark .navbar.is-fixed-bottom-touch.has-shadow{box-shadow:0 -2px 3px #0a0a0a1a}.mzn-playground.is-dark .navbar.is-fixed-top-touch{top:0}.mzn-playground.is-dark .navbar.is-fixed-top .navbar-menu,.mzn-playground.is-dark .navbar.is-fixed-top-touch .navbar-menu{-webkit-overflow-scrolling:touch;max-height:calc(100vh - 3.25rem);overflow:auto}.mzn-playground.is-dark html.has-navbar-fixed-top-touch,.mzn-playground.is-dark body.has-navbar-fixed-top-touch{padding-top:3.25rem}.mzn-playground.is-dark html.has-navbar-fixed-bottom-touch,.mzn-playground.is-dark body.has-navbar-fixed-bottom-touch{padding-bottom:3.25rem}}@media screen and (min-width: 769px){.mzn-playground.is-dark .navbar,.mzn-playground.is-dark .navbar-menu,.mzn-playground.is-dark .navbar-start,.mzn-playground.is-dark .navbar-end{align-items:stretch;display:flex}.mzn-playground.is-dark .navbar{min-height:3.25rem}.mzn-playground.is-dark .navbar.is-spaced{padding:1rem 2rem}.mzn-playground.is-dark .navbar.is-spaced .navbar-start,.mzn-playground.is-dark .navbar.is-spaced .navbar-end{align-items:center}.mzn-playground.is-dark .navbar.is-spaced a.navbar-item,.mzn-playground.is-dark .navbar.is-spaced .navbar-link{border-radius:4px}.mzn-playground.is-dark .navbar.is-transparent a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-transparent a.navbar-item:hover,.mzn-playground.is-dark .navbar.is-transparent a.navbar-item.is-active,.mzn-playground.is-dark .navbar.is-transparent .navbar-link:focus,.mzn-playground.is-dark .navbar.is-transparent .navbar-link:hover,.mzn-playground.is-dark .navbar.is-transparent .navbar-link.is-active{background-color:transparent!important}.mzn-playground.is-dark .navbar.is-transparent .navbar-item.has-dropdown.is-active .navbar-link,.mzn-playground.is-dark .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus .navbar-link,.mzn-playground.is-dark .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus-within .navbar-link,.mzn-playground.is-dark .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:hover .navbar-link{background-color:transparent!important}.mzn-playground.is-dark .navbar.is-transparent .navbar-dropdown a.navbar-item:focus,.mzn-playground.is-dark .navbar.is-transparent .navbar-dropdown a.navbar-item:hover{background-color:#141414;color:#0a0a0a}.mzn-playground.is-dark .navbar.is-transparent .navbar-dropdown a.navbar-item.is-active{background-color:#141414;color:#6294ff}.mzn-playground.is-dark .navbar-burger{display:none}.mzn-playground.is-dark .navbar-item,.mzn-playground.is-dark .navbar-link{align-items:center;display:flex}.mzn-playground.is-dark .navbar-item.has-dropdown{align-items:stretch}.mzn-playground.is-dark .navbar-item.has-dropdown-up .navbar-link:after{transform:rotate(135deg) translate(.25em,-.25em)}.mzn-playground.is-dark .navbar-item.has-dropdown-up .navbar-dropdown{border-bottom:2px solid hsl(0,0%,29%);border-radius:6px 6px 0 0;border-top:none;bottom:100%;box-shadow:0 -8px 8px #0a0a0a1a;top:auto}.mzn-playground.is-dark .navbar-item.is-active .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:focus .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:focus-within .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:hover .navbar-dropdown{display:block}.navbar.is-spaced .mzn-playground.is-dark .navbar-item.is-active .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-active .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground.is-dark .navbar-item.is-hoverable:focus .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:focus .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground.is-dark .navbar-item.is-hoverable:focus-within .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:focus-within .navbar-dropdown.is-boxed,.navbar.is-spaced .mzn-playground.is-dark .navbar-item.is-hoverable:hover .navbar-dropdown,.mzn-playground.is-dark .navbar-item.is-hoverable:hover .navbar-dropdown.is-boxed{opacity:1;pointer-events:auto;transform:translateY(0)}.mzn-playground.is-dark .navbar-menu{flex-grow:1;flex-shrink:0}.mzn-playground.is-dark .navbar-start{justify-content:flex-start;margin-right:auto}.mzn-playground.is-dark .navbar-end{justify-content:flex-end;margin-left:auto}.mzn-playground.is-dark .navbar-dropdown{background-color:#292929;border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:2px solid hsl(0,0%,29%);box-shadow:0 8px 8px #0a0a0a1a;display:none;font-size:.875rem;left:0;min-width:100%;position:absolute;top:100%;z-index:20}.mzn-playground.is-dark .navbar-dropdown .navbar-item{padding:.375rem 1rem;white-space:nowrap}.mzn-playground.is-dark .navbar-dropdown a.navbar-item{padding-right:3rem}.mzn-playground.is-dark .navbar-dropdown a.navbar-item:focus,.mzn-playground.is-dark .navbar-dropdown a.navbar-item:hover{background-color:#141414;color:#0a0a0a}.mzn-playground.is-dark .navbar-dropdown a.navbar-item.is-active{background-color:#141414;color:#6294ff}.navbar.is-spaced .mzn-playground.is-dark .navbar-dropdown,.mzn-playground.is-dark .navbar-dropdown.is-boxed{border-radius:6px;border-top:none;box-shadow:0 8px 8px #0a0a0a1a,0 0 0 1px #0a0a0a1a;display:block;opacity:0;pointer-events:none;top:calc(100% - 4px);transform:translateY(-5px);transition-duration:86ms;transition-property:opacity,transform}.mzn-playground.is-dark .navbar-dropdown.is-right{left:auto;right:0}.mzn-playground.is-dark .navbar-divider{display:block}.mzn-playground.is-dark .navbar>.container .navbar-brand,.mzn-playground.is-dark .container>.navbar .navbar-brand{margin-left:-.75rem}.mzn-playground.is-dark .navbar>.container .navbar-menu,.mzn-playground.is-dark .container>.navbar .navbar-menu{margin-right:-.75rem}.mzn-playground.is-dark .navbar.is-fixed-bottom-desktop,.mzn-playground.is-dark .navbar.is-fixed-top-desktop{left:0;position:fixed;right:0;z-index:30}.mzn-playground.is-dark .navbar.is-fixed-bottom-desktop{bottom:0}.mzn-playground.is-dark .navbar.is-fixed-bottom-desktop.has-shadow{box-shadow:0 -2px 3px #0a0a0a1a}.mzn-playground.is-dark .navbar.is-fixed-top-desktop{top:0}.mzn-playground.is-dark html.has-navbar-fixed-top-desktop,.mzn-playground.is-dark body.has-navbar-fixed-top-desktop{padding-top:3.25rem}.mzn-playground.is-dark html.has-navbar-fixed-bottom-desktop,.mzn-playground.is-dark body.has-navbar-fixed-bottom-desktop{padding-bottom:3.25rem}.mzn-playground.is-dark html.has-spaced-navbar-fixed-top,.mzn-playground.is-dark body.has-spaced-navbar-fixed-top{padding-top:5.25rem}.mzn-playground.is-dark html.has-spaced-navbar-fixed-bottom,.mzn-playground.is-dark body.has-spaced-navbar-fixed-bottom{padding-bottom:5.25rem}.mzn-playground.is-dark a.navbar-item.is-active,.mzn-playground.is-dark .navbar-link.is-active{color:#0a0a0a}.mzn-playground.is-dark a.navbar-item.is-active:not(:focus):not(:hover),.mzn-playground.is-dark .navbar-link.is-active:not(:focus):not(:hover){background-color:transparent}.mzn-playground.is-dark .navbar-item.has-dropdown:focus .navbar-link,.mzn-playground.is-dark .navbar-item.has-dropdown:hover .navbar-link,.mzn-playground.is-dark .navbar-item.has-dropdown.is-active .navbar-link{background-color:#2e2e2e}}.mzn-playground.is-dark .hero.is-fullheight-with-navbar{min-height:calc(100vh - 3.25rem)}.mzn-playground.is-dark .panel{border-radius:6px;box-shadow:0 .5em 1em -.125em #0a0a0a1a,0 0 0 1px #0a0a0a05;font-size:1rem}.mzn-playground.is-dark .panel:not(:last-child){margin-bottom:1.5rem}.mzn-playground.is-dark .panel.is-white .panel-heading{background-color:#fff;color:#0a0a0a}.mzn-playground.is-dark .panel.is-white .panel-tabs a.is-active{border-bottom-color:#fff}.mzn-playground.is-dark .panel.is-white .panel-block.is-active .panel-icon{color:#fff}.mzn-playground.is-dark .panel.is-black .panel-heading{background-color:#0a0a0a;color:#fff}.mzn-playground.is-dark .panel.is-black .panel-tabs a.is-active{border-bottom-color:#0a0a0a}.mzn-playground.is-dark .panel.is-black .panel-block.is-active .panel-icon{color:#0a0a0a}.mzn-playground.is-dark .panel.is-light .panel-heading{background-color:#f5f5f5;color:#000000b3}.mzn-playground.is-dark .panel.is-light .panel-tabs a.is-active{border-bottom-color:#f5f5f5}.mzn-playground.is-dark .panel.is-light .panel-block.is-active .panel-icon{color:#f5f5f5}.mzn-playground.is-dark .panel.is-dark .panel-heading{background-color:#363636;color:#fff}.mzn-playground.is-dark .panel.is-dark .panel-tabs a.is-active{border-bottom-color:#363636}.mzn-playground.is-dark .panel.is-dark .panel-block.is-active .panel-icon{color:#363636}.mzn-playground.is-dark .panel.is-primary .panel-heading{background-color:#1491eb;color:#fff}.mzn-playground.is-dark .panel.is-primary .panel-tabs a.is-active{border-bottom-color:#1491eb}.mzn-playground.is-dark .panel.is-primary .panel-block.is-active .panel-icon{color:#1491eb}.mzn-playground.is-dark .panel.is-link .panel-heading{background-color:#6294ff;color:#fff}.mzn-playground.is-dark .panel.is-link .panel-tabs a.is-active{border-bottom-color:#6294ff}.mzn-playground.is-dark .panel.is-link .panel-block.is-active .panel-icon{color:#6294ff}.mzn-playground.is-dark .panel.is-info .panel-heading{background-color:#3e8ed0;color:#fff}.mzn-playground.is-dark .panel.is-info .panel-tabs a.is-active{border-bottom-color:#3e8ed0}.mzn-playground.is-dark .panel.is-info .panel-block.is-active .panel-icon{color:#3e8ed0}.mzn-playground.is-dark .panel.is-success .panel-heading{background-color:#48c78e;color:#fff}.mzn-playground.is-dark .panel.is-success .panel-tabs a.is-active{border-bottom-color:#48c78e}.mzn-playground.is-dark .panel.is-success .panel-block.is-active .panel-icon{color:#48c78e}.mzn-playground.is-dark .panel.is-warning .panel-heading{background-color:#ffe08a;color:#000000b3}.mzn-playground.is-dark .panel.is-warning .panel-tabs a.is-active{border-bottom-color:#ffe08a}.mzn-playground.is-dark .panel.is-warning .panel-block.is-active .panel-icon{color:#ffe08a}.mzn-playground.is-dark .panel.is-danger .panel-heading{background-color:#f14668;color:#fff}.mzn-playground.is-dark .panel.is-danger .panel-tabs a.is-active{border-bottom-color:#f14668}.mzn-playground.is-dark .panel.is-danger .panel-block.is-active .panel-icon{color:#f14668}.mzn-playground.is-dark .panel-tabs:not(:last-child),.mzn-playground.is-dark .panel-block:not(:last-child){border-bottom:1px solid hsl(0,0%,93%)}.mzn-playground.is-dark .panel-heading{background-color:#ededed;border-radius:6px 6px 0 0;color:#fff;font-size:1.25em;font-weight:700;line-height:1.25;padding:.75em 1em}.mzn-playground.is-dark .panel-tabs{align-items:flex-end;display:flex;font-size:.875em;justify-content:center}.mzn-playground.is-dark .panel-tabs a{border-bottom:1px solid hsl(0,0%,29%);margin-bottom:-1px;padding:.5em}.mzn-playground.is-dark .panel-tabs a.is-active{border-bottom-color:#b5b5b5;color:#c9c9c9}.mzn-playground.is-dark .panel-list a{color:#ffebeb}.mzn-playground.is-dark .panel-list a:hover{color:#6294ff}.mzn-playground.is-dark .panel-block{align-items:center;color:#fff;display:flex;justify-content:flex-start;padding:.5em .75em}.mzn-playground.is-dark .panel-block input[type=checkbox]{margin-right:.75em}.mzn-playground.is-dark .panel-block>.control{flex-grow:1;flex-shrink:1;width:100%}.mzn-playground.is-dark .panel-block.is-wrapped{flex-wrap:wrap}.mzn-playground.is-dark .panel-block.is-active{border-left-color:#6294ff;color:#c9c9c9}.mzn-playground.is-dark .panel-block.is-active .panel-icon{color:#6294ff}.mzn-playground.is-dark .panel-block:last-child{border-bottom-left-radius:6px;border-bottom-right-radius:6px}.mzn-playground.is-dark a.panel-block,.mzn-playground.is-dark label.panel-block{cursor:pointer}.mzn-playground.is-dark a.panel-block:hover,.mzn-playground.is-dark label.panel-block:hover{background-color:#141414}.mzn-playground.is-dark .panel-icon{display:inline-block;font-size:14px;height:1em;line-height:1em;text-align:center;vertical-align:top;width:1em;color:#7a7a7a;margin-right:.75em}.mzn-playground.is-dark .panel-icon .fa{font-size:inherit;line-height:inherit}.mzn-playground.is-dark .tabs{-webkit-overflow-scrolling:touch;align-items:stretch;display:flex;font-size:1rem;justify-content:space-between;overflow:hidden;overflow-x:auto;white-space:nowrap}.mzn-playground.is-dark .tabs a{align-items:center;border-bottom-color:#4a4a4a;border-bottom-style:solid;border-bottom-width:1px;color:#ffebeb;display:flex;justify-content:center;margin-bottom:-1px;padding:.5em 1em;vertical-align:top}.mzn-playground.is-dark .tabs a:hover{border-bottom-color:#fff;color:#fff}.mzn-playground.is-dark .tabs li{display:block}.mzn-playground.is-dark .tabs li.is-active a{border-bottom-color:#6294ff;color:#6294ff}.mzn-playground.is-dark .tabs ul{align-items:center;border-bottom-color:#4a4a4a;border-bottom-style:solid;border-bottom-width:1px;display:flex;flex-grow:1;flex-shrink:0;justify-content:flex-start}.mzn-playground.is-dark .tabs ul.is-left{padding-right:.75em}.mzn-playground.is-dark .tabs ul.is-center{flex:none;justify-content:center;padding-left:.75em;padding-right:.75em}.mzn-playground.is-dark .tabs ul.is-right{justify-content:flex-end;padding-left:.75em}.mzn-playground.is-dark .tabs .icon:first-child{margin-right:.5em}.mzn-playground.is-dark .tabs .icon:last-child{margin-left:.5em}.mzn-playground.is-dark .tabs.is-centered ul{justify-content:center}.mzn-playground.is-dark .tabs.is-right ul{justify-content:flex-end}.mzn-playground.is-dark .tabs.is-boxed a{border:1px solid transparent;border-radius:4px 4px 0 0}.mzn-playground.is-dark .tabs.is-boxed a:hover{background-color:#141414;border-bottom-color:#4a4a4a}.mzn-playground.is-dark .tabs.is-boxed li.is-active a{background-color:#292929;border-color:#4a4a4a;border-bottom-color:transparent!important}.mzn-playground.is-dark .tabs.is-fullwidth li{flex-grow:1;flex-shrink:0}.mzn-playground.is-dark .tabs.is-toggle a{border-color:#4a4a4a;border-style:solid;border-width:1px;margin-bottom:0;position:relative}.mzn-playground.is-dark .tabs.is-toggle a:hover{background-color:#141414;border-color:#b5b5b5;z-index:2}.mzn-playground.is-dark .tabs.is-toggle li+li{margin-left:-1px}.mzn-playground.is-dark .tabs.is-toggle li:first-child a{border-top-left-radius:4px;border-bottom-left-radius:4px}.mzn-playground.is-dark .tabs.is-toggle li:last-child a{border-top-right-radius:4px;border-bottom-right-radius:4px}.mzn-playground.is-dark .tabs.is-toggle li.is-active a{background-color:#6294ff;border-color:#6294ff;color:#fff;z-index:1}.mzn-playground.is-dark .tabs.is-toggle ul{border-bottom:none}.mzn-playground.is-dark .tabs.is-toggle.is-toggle-rounded li:first-child a{border-bottom-left-radius:9999px;border-top-left-radius:9999px;padding-left:1.25em}.mzn-playground.is-dark .tabs.is-toggle.is-toggle-rounded li:last-child a{border-bottom-right-radius:9999px;border-top-right-radius:9999px;padding-right:1.25em}.mzn-playground.is-dark .tabs.is-small{font-size:.75rem}.mzn-playground.is-dark .tabs.is-medium{font-size:1.25rem}.mzn-playground.is-dark .tabs.is-large{font-size:1.5rem}.mzn-playground.is-dark .is-block{display:block!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-block-mobile{display:block!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-block-tablet{display:block!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-block-tablet-only{display:block!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-block-touch{display:block!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-block-desktop{display:block!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-block-desktop-only{display:block!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-block-widescreen{display:block!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-block-widescreen-only{display:block!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-block-fullhd{display:block!important}}.mzn-playground.is-dark .is-flex{display:flex!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-flex-mobile{display:flex!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-flex-tablet{display:flex!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-flex-tablet-only{display:flex!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-flex-touch{display:flex!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-flex-desktop{display:flex!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-flex-desktop-only{display:flex!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-flex-widescreen{display:flex!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-flex-widescreen-only{display:flex!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-flex-fullhd{display:flex!important}}.mzn-playground.is-dark .is-inline{display:inline!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-inline-mobile{display:inline!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-inline-tablet{display:inline!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-inline-tablet-only{display:inline!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-inline-touch{display:inline!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-inline-desktop{display:inline!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-inline-desktop-only{display:inline!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-inline-widescreen{display:inline!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-inline-widescreen-only{display:inline!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-inline-fullhd{display:inline!important}}.mzn-playground.is-dark .is-inline-block{display:inline-block!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-inline-block-mobile{display:inline-block!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-inline-block-tablet{display:inline-block!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-inline-block-tablet-only{display:inline-block!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-inline-block-touch{display:inline-block!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-inline-block-desktop{display:inline-block!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-inline-block-desktop-only{display:inline-block!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-inline-block-widescreen{display:inline-block!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-inline-block-widescreen-only{display:inline-block!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-inline-block-fullhd{display:inline-block!important}}.mzn-playground.is-dark .is-inline-flex{display:inline-flex!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-inline-flex-mobile{display:inline-flex!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-inline-flex-tablet{display:inline-flex!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-inline-flex-tablet-only{display:inline-flex!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-inline-flex-touch{display:inline-flex!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-inline-flex-desktop{display:inline-flex!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-inline-flex-desktop-only{display:inline-flex!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-inline-flex-widescreen{display:inline-flex!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-inline-flex-widescreen-only{display:inline-flex!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-inline-flex-fullhd{display:inline-flex!important}}.mzn-playground.is-dark .is-hidden{display:none!important}.mzn-playground.is-dark .is-sr-only{border:none!important;clip:rect(0,0,0,0)!important;height:.01em!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:.01em!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-hidden-mobile{display:none!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-hidden-tablet{display:none!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-hidden-tablet-only{display:none!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-hidden-touch{display:none!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-hidden-desktop{display:none!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-hidden-desktop-only{display:none!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-hidden-widescreen{display:none!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-hidden-widescreen-only{display:none!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-hidden-fullhd{display:none!important}}.mzn-playground.is-dark .is-invisible{visibility:hidden!important}@media screen and (max-width: 768px){.mzn-playground.is-dark .is-invisible-mobile{visibility:hidden!important}}@media screen and (min-width: 769px),print{.mzn-playground.is-dark .is-invisible-tablet{visibility:hidden!important}}@media screen and (min-width: 769px) and (max-width: 1023px){.mzn-playground.is-dark .is-invisible-tablet-only{visibility:hidden!important}}@media screen and (max-width: 1023px){.mzn-playground.is-dark .is-invisible-touch{visibility:hidden!important}}@media screen and (min-width: 1024px){.mzn-playground.is-dark .is-invisible-desktop{visibility:hidden!important}}@media screen and (min-width: 1024px) and (max-width: 1215px){.mzn-playground.is-dark .is-invisible-desktop-only{visibility:hidden!important}}@media screen and (min-width: 1216px){.mzn-playground.is-dark .is-invisible-widescreen{visibility:hidden!important}}@media screen and (min-width: 1216px) and (max-width: 1407px){.mzn-playground.is-dark .is-invisible-widescreen-only{visibility:hidden!important}}@media screen and (min-width: 1408px){.mzn-playground.is-dark .is-invisible-fullhd{visibility:hidden!important}}.mzn-playground.is-dark{box-sizing:border-box;background-color:#292929;font-size:16px;min-width:300px;font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif;color:#ffebeb;font-size:1em;font-weight:400;line-height:1.5}.mzn-playground.is-dark .navbar-item,.mzn-playground.is-dark .navbar-link{padding:.5rem}.mzn-playground.is-dark .delete{background-color:#333}.mzn-playground.is-dark .delete:before,.mzn-playground.is-dark .delete:after{background-color:#ffebeb}.mzn-playground.is-dark .delete:hover,.mzn-playground.is-dark .delete:focus{background-color:#292929}.mzn-playground.is-dark .delete:active{background-color:#333}.mzn-playground.is-dark *{scrollbar-width:thin;scrollbar-color:hsl(0,0%,24%) hsl(0,0%,16%)}.mzn-playground.is-dark *::-webkit-scrollbar{width:8px}.mzn-playground.is-dark *::-webkit-scrollbar-track{background:hsl(0,0%,16%)}.mzn-playground.is-dark *::-webkit-scrollbar-thumb{background-color:#3d3d3d}.mzn-playground .output-window pre,.mzn-playground.is-dark .output-window pre{padding:0;background:none;display:inline;color:inherit;white-space:pre-wrap}.mzn-playground .mzn-trace,.mzn-playground .mzn-comment,.mzn-playground .mzn-stderr,.mzn-playground .mzn-checker,.mzn-playground.is-dark .mzn-trace,.mzn-playground.is-dark .mzn-comment,.mzn-playground.is-dark .mzn-stderr,.mzn-playground.is-dark .mzn-checker{color:var(--mzn-playground-gray)!important}.mzn-playground .mzn-stat,.mzn-playground .mzn-runtime,.mzn-playground.is-dark .mzn-stat,.mzn-playground.is-dark .mzn-runtime{color:var(--mzn-playground-blue)!important}.mzn-playground .mzn-error,.mzn-playground.is-dark .mzn-error{color:var(--mzn-playground-red)!important}.mzn-playground .mzn-warning,.mzn-playground.is-dark .mzn-warning{color:var(--mzn-playground-yellow)!important}.mzn-playground .mzn-link,.mzn-playground.is-dark .mzn-link{text-decoration:underline!important}html,body{margin:0}.mzn-editor.svelte-1fycn7h{height:100%;overflow:auto}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning{position:relative;display:inline-block}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:after{border-color:var(--mzn-playground-red)}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:after{border-color:var(--mzn-playground-yellow)}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:after,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:after{content:"";border-bottom-width:2px;border-bottom-style:dotted;position:absolute;display:block;pointer-events:none}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:before,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:before{left:2px;right:0;bottom:2px}.mzn-editor.svelte-1fycn7h .cm-mzn-underline-error:after,.mzn-editor.svelte-1fycn7h .cm-mzn-underline-warning:after{left:0;right:2px;bottom:0}.split.svelte-e8t4e8{width:100%;height:100%;display:flex;flex-direction:column}.split.horizontal.svelte-e8t4e8{flex-direction:row}.no-splitter.svelte-e8t4e8{flex:1 1 auto}.split.svelte-e8t4e8 .gutter{background-color:var(--mzn-playground-splitter);background-repeat:no-repeat;background-position:50%}.split.svelte-e8t4e8 .gutter.gutter-vertical{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=);cursor:row-resize}.split.svelte-e8t4e8 .gutter.gutter-horizontal{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==);cursor:col-resize}.spin.svelte-1cj2gr0{animation:svelte-1cj2gr0-spin 2s 0s infinite linear}.pulse.svelte-1cj2gr0{animation:svelte-1cj2gr0-spin 1s infinite steps(8)}@keyframes svelte-1cj2gr0-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.close-tab.svelte-1ul6ap.svelte-1ul6ap{padding-left:.5rem;cursor:pointer}.active.svelte-1ul6ap:not(.readonly) .filename.svelte-1ul6ap{cursor:text}.active.filename-link.svelte-1ul6ap.svelte-1ul6ap{cursor:default}.tabs.svelte-7ub6h4{margin-bottom:0}.add-icon.svelte-7ub6h4{margin:0!important}.right.svelte-7ub6h4{flex:1 1 auto;display:flex!important;justify-content:flex-end;padding-right:.5rem!important}pre.svelte-w513p9{padding:0;background:none;display:inline;color:inherit;white-space:pre-wrap}.mzn-error.svelte-w513p9{color:var(--mzn-playground-red)}.mzn-warning.svelte-w513p9{color:var(--mzn-playground-yellow)}.mzn-link.svelte-w513p9{text-decoration:underline}.stack.svelte-147pmov.svelte-147pmov{display:flex;flex-direction:column;height:100%}.stack.svelte-147pmov>.grow.svelte-147pmov{flex:1 1 0;overflow:hidden}.stack.svelte-147pmov>.top.svelte-147pmov{flex:0 0 auto;display:flex;padding:.5rem;border-bottom:solid 1px var(--mzn-playground-border)}.stack.svelte-147pmov>.top.is-empty.svelte-147pmov{padding:0}.stack.svelte-147pmov>.top.is-empty.is-tab.svelte-147pmov{border-bottom:0}.top.svelte-147pmov>.field.svelte-147pmov{margin-bottom:0}.grow.svelte-147pmov.svelte-147pmov{background-color:var(--mzn-playground-input-background-color)}.spacer.svelte-147pmov.svelte-147pmov{flex:1 1 auto}.section-toggle.svelte-147pmov.svelte-147pmov{margin-right:.5rem}.output-window.svelte-147pmov.svelte-147pmov{height:100%;overflow:auto;padding:.5rem}details.svelte-147pmov.svelte-147pmov{margin-bottom:.5rem}.messages.svelte-147pmov.svelte-147pmov{padding-left:.5rem;line-height:1.25}.mzn-checker.svelte-147pmov.svelte-147pmov{display:block}.stack.svelte-152bhkz.svelte-152bhkz{display:flex;flex-direction:column;height:100%}.stack.svelte-152bhkz>.grow.svelte-152bhkz{flex:1 1 0;overflow:hidden}.stack.svelte-152bhkz>.top.svelte-152bhkz{flex:0 0 auto;display:flex;padding:.5rem;border-bottom:solid 1px var(--mzn-playground-border)}.top.svelte-152bhkz>.field.svelte-152bhkz{margin-bottom:0}.vis-grid.svelte-152bhkz.svelte-152bhkz{width:100%;height:100%;display:grid;grid-auto-rows:auto;gap:1px;background:var(--mzn-playground-border)}.vis-window.svelte-152bhkz.svelte-152bhkz{background:#fff;border:0;width:100%;height:100%}.solution-slider.svelte-152bhkz.svelte-152bhkz{flex:1 1 auto;padding:0 1rem;display:flex;align-items:center}.solution-label.svelte-152bhkz.svelte-152bhkz{display:flex;align-items:center;padding-right:1rem}.solution-slider.svelte-152bhkz>input.svelte-152bhkz{width:100%}.is-hidden.svelte-1kj2hj8.svelte-1kj2hj8{display:none}.menu-list.svelte-1kj2hj8 .button.svelte-1kj2hj8{text-decoration:none;display:block;width:100%;text-align:left}.tool-buttons.svelte-1bgv9sn{display:flex;align-items:center;justify-content:flex-end}.select.is-multiple.svelte-1x5266v select.svelte-1x5266v{height:auto;padding:0}.select.is-multiple.svelte-1x5266v option.svelte-1x5266v{padding:.5em 1em}.param.svelte-7d5f7m.svelte-7d5f7m{display:flex;flex-direction:row;align-items:center}.param.svelte-7d5f7m input.svelte-7d5f7m{flex:1 1 auto;width:auto;margin-left:1rem}.config-window.svelte-1uq9463.svelte-1uq9463.svelte-1uq9463{position:relative;padding:1rem;flex:0 0 30%;min-width:300px;max-width:450px;border-top:solid 1px var(--mzn-playground-border);border-left:solid 1px var(--mzn-playground-border)}.exit-button.svelte-1uq9463.svelte-1uq9463.svelte-1uq9463{position:absolute;top:0;right:0}.checkbox-control.svelte-1uq9463.svelte-1uq9463.svelte-1uq9463{display:flex;align-items:center}.checkbox-control.svelte-1uq9463>input[type=checkbox].svelte-1uq9463+label.svelte-1uq9463{margin-left:.5rem}.bottom-buttons.svelte-1uq9463.svelte-1uq9463.svelte-1uq9463{margin-top:2rem}.mzn-playground.svelte-1llogi3.svelte-1llogi3{height:100%}.stack.svelte-1llogi3.svelte-1llogi3{display:flex;flex-direction:column;height:100%}.stack.svelte-1llogi3>.grow.svelte-1llogi3{flex:1 1 0;overflow:hidden}.main-panel.svelte-1llogi3.svelte-1llogi3{display:flex}.main-panel.svelte-1llogi3>.svelte-1llogi3{height:100%;overflow:hidden}.main-panel.svelte-1llogi3>.left.svelte-1llogi3{flex:1 1 0}.stack.svelte-1llogi3>.top.svelte-1llogi3{flex:0 0 auto}.panel.svelte-1llogi3.svelte-1llogi3{height:100%}.tab-end.svelte-1llogi3.svelte-1llogi3{flex:1 1 auto;display:flex!important;justify-content:flex-end;padding-right:.5rem}.tab-window.svelte-1llogi3.svelte-1llogi3{display:none;height:100%}.tab-window.visible.svelte-1llogi3.svelte-1llogi3{display:block}.mobile-menu-item.svelte-1llogi3.svelte-1llogi3{display:flex;align-items:center}.mobile-menu-item.svelte-1llogi3 .icon.svelte-1llogi3:first-child{margin-right:.5rem}.mobile-menu-item.svelte-1llogi3 .icon.svelte-1llogi3:last-child{margin-left:.5rem}@media only screen and (max-width: 768px){.navbar-run-buttons.svelte-1llogi3.svelte-1llogi3{flex-grow:1;flex-shrink:1}}.playground-app.svelte-tuc1wl{height:100vh} diff --git a/develop/assets/jszip.min-5f8ca889.js b/develop/assets/jszip.min-8a5f07ed.js similarity index 99% rename from develop/assets/jszip.min-5f8ca889.js rename to develop/assets/jszip.min-8a5f07ed.js index 7b381f2..f48e94b 100644 --- a/develop/assets/jszip.min-5f8ca889.js +++ b/develop/assets/jszip.min-8a5f07ed.js @@ -1,4 +1,4 @@ -import{g as Ot,c as vt}from"./index-c7883d8a.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-a531a0e6.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 765e269..d359658 100644 --- a/develop/index.html +++ b/develop/index.html @@ -5,8 +5,8 @@ MiniZinc Playground - - + +