From 0b92e0d05765f08961a85b90bee95b12cba675c4 Mon Sep 17 00:00:00 2001 From: Berikai Date: Tue, 9 Jul 2024 12:55:35 +0300 Subject: [PATCH] Updates --- assets/{index-BDFOGF6n.js => index-DtNh7LUf.js} | 8 ++++---- index.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) rename assets/{index-BDFOGF6n.js => index-DtNh7LUf.js} (76%) diff --git a/assets/index-BDFOGF6n.js b/assets/index-DtNh7LUf.js similarity index 76% rename from assets/index-BDFOGF6n.js rename to assets/index-DtNh7LUf.js index 5cf4f1c..89bc518 100644 --- a/assets/index-BDFOGF6n.js +++ b/assets/index-DtNh7LUf.js @@ -1,9 +1,9 @@ -var Cn=Object.defineProperty;var Ln=(n,e,l)=>e in n?Cn(n,e,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[e]=l;var Ze=(n,e,l)=>Ln(n,typeof e!="symbol"?e+"":e,l);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const d of a.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&r(d)}).observe(document,{childList:!0,subtree:!0});function l(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=l(s);fetch(s.href,a)}})();function z(){}function bn(n){return n()}function Vt(){return Object.create(null)}function rt(n){n.forEach(bn)}function wn(n){return typeof n=="function"}function Le(n,e){return n!=n?e==e:n!==e||n&&typeof n=="object"||typeof n=="function"}function _n(n){return Object.keys(n).length===0}function i(n,e){n.appendChild(e)}function te(n,e,l){n.insertBefore(e,l||null)}function ee(n){n.parentNode&&n.parentNode.removeChild(n)}function kt(n,e){for(let l=0;ln.removeEventListener(e,l,r)}function t(n,e,l){l==null?n.removeAttribute(e):n.getAttribute(e)!==l&&n.setAttribute(e,l)}function $n(n){return Array.from(n.childNodes)}function Nt(n,e){e=""+e,n.data!==e&&(n.data=e)}function Ut(n,e){n.value=e??""}function o(n,e,l,r){l==null?n.style.removeProperty(e):n.style.setProperty(e,l,"")}let _t;function Lt(n){_t=n}function xn(){if(!_t)throw new Error("Function called outside component initialization");return _t}function Mt(n){xn().$$.on_mount.push(n)}const yt=[],Kt=[];let Ct=[];const Wt=[],Bn=Promise.resolve();let Ot=!1;function Tn(){Ot||(Ot=!0,Bn.then(vn))}function It(n){Ct.push(n)}const At=new Set;let bt=0;function vn(){if(bt!==0)return;const n=_t;do{try{for(;btn.indexOf(r)===-1?e.push(r):l.push(r)),l.forEach(r=>r()),Ct=e}const Tt=new Set;let ut;function Ht(){ut={r:0,c:[],p:ut}}function jt(){ut.r||rt(ut.c),ut=ut.p}function re(n,e){n&&n.i&&(Tt.delete(n),n.i(e))}function se(n,e,l,r){if(n&&n.o){if(Tt.has(n))return;Tt.add(n),ut.c.push(()=>{Tt.delete(n),r&&(l&&n.d(1),r())}),n.o(e)}else r&&r()}function Fe(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function Pt(n,e){se(n,1,1,()=>{e.delete(n.key)})}function Et(n,e,l,r,s,a,d,f,b,w,x,$){let B=n.length,S=a.length,A=B;const N={};for(;A--;)N[n[A].key]=A;const I=[],U=new Map,ae=new Map,oe=[];for(A=S;A--;){const F=$(s,a,A),V=l(F);let D=d.get(V);D?oe.push(()=>D.p(F,e)):(D=w(V,F),D.c()),U.set(V,I[A]=D),V in N&&ae.set(V,Math.abs(A-N[V]))}const Y=new Set,ge=new Set;function ve(F){re(F,1),F.m(f,x),d.set(F.key,F),x=F.first,S--}for(;B&&S;){const F=I[S-1],V=n[B-1],D=F.key,J=V.key;F===V?(x=F.first,B--,S--):U.has(J)?!d.has(D)||Y.has(D)?ve(F):ge.has(J)?B--:ae.get(D)>ae.get(J)?(ge.add(D),ve(F)):(Y.add(J),B--):(b(V,d),B--)}for(;B--;){const F=n[B];U.has(F.key)||b(F,d)}for(;S;)ve(I[S-1]);return rt(oe),I}function fe(n){n&&n.c()}function ue(n,e,l){const{fragment:r,after_update:s}=n.$$;r&&r.m(e,l),It(()=>{const a=n.$$.on_mount.map(bn).filter(wn);n.$$.on_destroy?n.$$.on_destroy.push(...a):rt(a),n.$$.on_mount=[]}),s.forEach(It)}function pe(n,e){const l=n.$$;l.fragment!==null&&(Sn(l.after_update),rt(l.on_destroy),l.fragment&&l.fragment.d(e),l.on_destroy=l.fragment=null,l.ctx=[])}function An(n,e){n.$$.dirty[0]===-1&&(yt.push(n),Tn(),n.$$.dirty.fill(0)),n.$$.dirty[e/31|0]|=1<{const A=S.length?S[0]:B;return w.ctx&&s(w.ctx[$],w.ctx[$]=A)&&(!w.skip_bound&&w.bound[$]&&w.bound[$](A),x&&An(n,$)),B}):[],w.update(),x=!0,rt(w.before_update),w.fragment=r?r(w.ctx):!1,e.target){if(e.hydrate){const $=$n(e.target);w.fragment&&w.fragment.l($),$.forEach(ee)}else w.fragment&&w.fragment.c();e.intro&&re(n.$$.fragment),ue(n,e.target,e.anchor),vn()}Lt(b)}class $e{constructor(){Ze(this,"$$");Ze(this,"$$set")}$destroy(){pe(this,1),this.$destroy=z}$on(e,l){if(!wn(l))return z;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(l),()=>{const s=r.indexOf(l);s!==-1&&r.splice(s,1)}}$set(e){this.$$set&&!_n(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Hn="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Hn);function jn(n){let e;return{c(){e=u("div"),e.innerHTML=' New 1* ',t(e,"class","svelte-atylgd")},m(l,r){te(l,e,r)},p:z,i:z,o:z,d(l){l&&ee(e)}}}class Pn extends $e{constructor(e){super(),_e(this,e,null,jn,Le,{})}}function En(n){let e,l;return{c(){e=m("svg"),l=m("path"),t(l,"d","m 35.833295,17.83332 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m -26.6666,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 21.33328,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m -15.99996,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z M 35.833295,12.5 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m -26.6666,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 15.99996,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 5.33332,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m -15.99996,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 5.33332,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 5.33332,-5.33332 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 5.33332,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m -15.99996,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 5.33332,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z"),t(e,"width","41"),t(e,"height","25"),t(e,"viewBox","0 0 41 25"),t(e,"class","svelte-w97xpw")},m(r,s){te(r,e,s),i(e,l)},p:z,i:z,o:z,d(r){r&&ee(e)}}}class On extends $e{constructor(e){super(),_e(this,e,null,En,Le,{})}}function In(n){let e;return{c(){e=u("div"),e.innerHTML=' '},m(l,r){te(l,e,r)},p:z,i:z,o:z,d(l){l&&ee(e)}}}class Dn extends $e{constructor(e){super(),_e(this,e,null,In,Le,{})}}function zn(n){let e,l,r,s,a,d,f;return l=new Pn({}),s=new On({}),d=new Dn({}),{c(){e=u("div"),fe(l.$$.fragment),r=C(),fe(s.$$.fragment),a=C(),fe(d.$$.fragment),t(e,"id","top_bar"),t(e,"class","svelte-18j4gou")},m(b,w){te(b,e,w),ue(l,e,null),i(e,r),ue(s,e,null),i(e,a),ue(d,e,null),f=!0},p:z,i(b){f||(re(l.$$.fragment,b),re(s.$$.fragment,b),re(d.$$.fragment,b),f=!0)},o(b){se(l.$$.fragment,b),se(s.$$.fragment,b),se(d.$$.fragment,b),f=!1},d(b){b&&ee(e),pe(l),pe(s),pe(d)}}}let Nn=class extends $e{constructor(e){super(),_e(this,e,null,zn,Le,{})}};const wt=[];function Rt(n,e=z){let l;const r=new Set;function s(f){if(Le(n,f)&&(n=f,l)){const b=!wt.length;for(const w of r)w[1](),wt.push(w,n);if(b){for(let w=0;w{r.delete(w),r.size===0&&l&&(l(),l=null)}}return{set:s,update:a,subscribe:d}}const Dt={advanced:{"Timeline Playhead":"#000000ff"},window:{"Abstract Button Pressed Background":"#3b3b3b","Abstract Button Selected Background":"#474747","Abstract Button Stroke":"#323232","Abstract Button Unselected Background":"#545454","Activation Green":"#29e17c","Activation Red":"#ff4021","Activation Yellow":"#e3d538","Active Inverted Toggle Icon (Playing)":"#dedede","Active Panel stroke":"#787878","Active Toggle Icon (Playing)":"#dedede","Analyzed Beat Color":"#3cb2e9","Audio Event Boundary":"#0000007b","Automation Color":"#8fa4ff","Beat Marker Color":"#e36315","Bitwig 16-Track":"#0076c7","Bitwig 8-Track":"#29ccb9","Bitwig CI":"#ff5a00","Bitwig Essentials":"#2e9ce6","Bitwig Mint":"#04a1a8","Bitwig Producer":"#ffc933","Bitwig Red":"#e41f38","Button background":"#76767680","Button in tree background":"#505050","Button stroke":"#323232","Checkbox background":"#62626280","Close button mouse over background":"#0000005a","Close button pressed background":"#000000a6","Comp fill":"#005eb478","Content Background":"#e2e2e2","Dark Panel Sub-frame Fill":"#434343","Dark Panel Sub-frame Stroke":"#383838","Dark Separator Line":"#989898","Dark Text":"#141414","Dark tree background (selected)":"#387097","Dark tree background (standby selected)":"#2c3b45","Dark tree hover background change":"#ffffff0a","Dark tree separator":"#565656","Dark tree text":"#ffffff","Dark tree text (selected)":"#ffffff","Default text":"#000000","Device Header":"#3c3c3c","Device Header (selected)":"#646464","Device Locked Overlay":"#0e5ca180","Device Tint Future":"#58859564","Device Tint Military":"#305d0247","Device Tint Retro":"#c07b4c52","Display Background":"#1d1d1d","Display Background (error)":"#521226","Display Loop Markers":"#00ffbe","Display Start/End Markers":"#d8d900","Display Waveform":"#ffffff","Drop Indicator":"#ffffff","Emboss Highlight":"#ffffff19","Emboss Shadow":"#0000003c","Error Text":"#ff3232c8","Field background":"#d1d1d1","Grey Display Background":"#1d1d1d64","Grid Line (Primary)":"#ffffffa0","Grid Line (Secondary)":"#ffffff50","Hitcount background":"#8181817f","Hitcount text color":"#ffffff7f","Hitech background":"#2b3236","Hitech on":"#3ebaff","Hole (dark)":"#0d0d0d","Hole (light)":"#414141","Hole (medium)":"#2e2e2e","Implicit On (subtle)":"#e47611","Inspector Section Frame":"#424242","Inverted Selected Borderless Button background":"#767676","Knob Body Darkest":"#1e1e1e","Knob Body Lighter":"#969696","Knob Body Lightest":"#c4c4c4","Knob Emboss Highlight":"#ffffff00","Knob Emboss Shadow":"#00000000","Knob Line":"#f2f2f2","Knob Line Dark":"#0a0a0a","Knob Stroke":"#282828","Knob Value Color":"#ff7d0f","Launcher Mapping Indication":"#6c6c6c","Led Off":"#545454","Led On":"#ff0000","Light Separator Line":"#aaaaaa","Light Text":"#ffffff","Light Tooltip Background":"#d7d7d7","Lighter Text":"#ffffff","Link Text":"#e41f38ff","List Item Background":"#d1d1d1","List Separator":"#9c9c9c",Mapping:"#3effba","Mapping indication 1":"#f41b3e","Mapping indication 2":"#ff7f17","Mapping indication 3":"#fceb23","Mapping indication 4":"#5bc515","Mapping indication 5":"#65ce92","Mapping indication 6":"#5ca8ee","Mapping indication 7":"#c36eff","Mapping indication 8":"#ff54b0","Medium Light Text":"#ffffffb4","Menu Icon":"#c3c3c3","Menu background":"#353535","Menu description text":"#8c8c8c","Menu separator":"#8c8c8c","Menu stroke":"#272727","Menu text":"#ffffff","Meter Clipping":"#ff0000","Meter Gain Reduction":"#5386b6","Meter Hitech":"#23d1d4","Meter Hitech Background":"#23343e","Meter Muted":"#979797","Meter Normal":"#8ccb2a","Meter Red":"#ff8b00","Meter Yellow":"#ffde42","Modern Dark Scrollbar Handle (active)":"#000000ff","Modern Dark Scrollbar Handle (inactive)":"#000000aa","Modern Scrollbar Background (active)":"#78787834","Modern Scrollbar Handle (active)":"#787878ff","Modern Scrollbar Handle (inactive)":"#82828264","Modulation Mapping Background (polyphonic)":"#3aff9e32","Modulation Mapping Background Color":"#3dd9ff32","Modulation Mapping Color":"#3dd9ff","Modulation Mapping Color (polyphonic)":"#3aff9e","Modulation Mapping Color (subtractive)":"#5a8291","Monitoring buttons color":"#cfc500","Mouse Over Inverted Toggle Icon":"#000000a0","Mouse Over Toggle Icon":"#bababa","Normal Inverted Toggle Icon":"#00000050","Normal Toggle Icon":"#9e9e9e","Notification Background":"#d1d1d1","Notification Error":"#e5102b","Notification Normal":"#00888c","Number field bar background":"#e57e0e",On:"#ff8713","On (subtle)":"#f07f1180","On (subtler)":"#f07f1140","Onset Marker Color":"#4c70c0","Panel Blue":"#5ca8ee","Panel Green":"#4abc00","Panel Lime":"#bbdd21","Panel Mint":"#26d098","Panel Orange":"#ff7f17","Panel Purple":"#c36eff","Panel Red":"#ff1c40","Panel Turquoise":"#1be3e5","Panel Yellow":"#ffde42","Panel body":"#535353","Panel stroke":"#535353","Popup Notification Background":"#000000b4","Popup insert":"#747474","Popup overlay background color":"#171717b4","Pressed Inverted Toggle Icon":"#000000","Pressed On":"#ca6a10","Pressed Toggle Icon":"#858585","Pressed button background":"#62626280","Pressed view button background":"#373737","Progress background":"#39495ebb","Progress bar":"#5cbcff","Record button color":"#ec0808","Rubber button stroke":"#7a7a7a","Rubber highlight button stroke":"#ff8d0050",Scrollbar:"#787878","Scrollbar background":"#2e2e2e00","Selected Dashboard Tree":"#383838","Selected Panel body":"#9c9c9c","Selected Panel stroke":"#a1a1a1","Selected Panel stroke (standby)":"#818181",Selection:"#ffffff",Shadow:"#0000004d","Standby selection":"#e5e5e5","Subtle Dark Text":"#444444","Subtle Light Text":"#ffffff78","Subtler Light Text":"#ffffff3c","The Grid (background)":"#0d0d0d","The Grid (stroke)":"#181818","Timeline edit tool chooser background":"#323232","Tooltip Background":"#3c3c3c","Tooltip Stroke":"#a4a4a4","Tree Item Background":"#d1d1d1","Tree Separator":"#00000000","User Automation Override Color":"#27d927","View button background":"#2e2e2e00",Warning:"#ed1b1b","Window background":"#2e2e2e"},arranger:{"Add Modulation Button Color":"#bb33b1","Audio connection in modular environment":"#c14524","Audio64 connection in modular environment":"#d281f4","Automation button glow color":"#93ff9240","Background color of the modular environment.":"#000000","Clip Automation Button Color":"#d93232","Clip Automation Color":"#8d0a0a","Clip Modulation Color":"#881390","Compressed Audio Port in modular environment":"#ff8000","Current Atom Value Color":"#005270","Dark Timeline Background":"#797979","Dark Timeline Header Background":"#323232","Event connection in modular environment":"#3c7399","Header Loop Region Background":"#00000032","Header Time Selection Across All Lanes Fill":"#7e9898c8","Header Time Selection Across All Lanes Stroke":"#dedede","Header Time Selection Cursor Stroke":"#dedede","Header Time Selection Fill":"#a7939dc8","Header Time Selection Standby Cursor Stroke":"#b0b0b0","Header Time Selection Standby Fill":"#ffffff06","Header Time Selection Standby Stroke":"#a7a7a7","Header Time Selection Stroke":"#f7f7f7","Insert preview time":"#d2d2d2d2","Irrelevant Timeline Background":"#858585","Irrelevant Timeline Header Background":"#323232","Irrelevant Timeline Header Overlay":"#ffffff0a","Irrelevant Timeline Overlay":"#0000000a","Light Timeline Background":"#8f8f8f","Light Timeline Header Background":"#353535","Loop Region Background":"#ffffff32","Multiply Modulation Button Color":"#bb33b1","Note Expression Color":"#055988","Polyphonic Desktop Object":"#3c7399","Record button color implicit":"#b02929","Record button glow color":"#ff000040","Selected matrix slot color":"#676767","Send (post) value color":"#ffe019","Send (pre) value color":"#4df4ff","Time Selection Across All Lanes Fill":"#5e9898c8","Time Selection Across All Lanes Stroke":"#f7f7f7","Time Selection Cursor Stroke":"#ffffff","Time Selection Fill":"#7dc3d05d","Time Selection Inactive Fill":"#ffffff1e","Time Selection Inactive Stroke":"#cecece","Time Selection Not Selected Fill":"#00000000","Time Selection Not Selected Stroke":"#cecece","Time Selection Standby Cursor Stroke":"#f7f7f7","Time Selection Standby Fill":"#ffffff46","Time Selection Standby Stroke":"#cecece","Time Selection Stroke":"#f7f7f7","Timeline Background Pattern":"#00000014","Timeline Cue Marker":"#535353","Timeline Header Background Pattern":"#ffffff0a","Timeline Header Cue Marker":"#545454","Timeline Header Primary Grid":"#828282","Timeline Header Secondary Grid":"#565656","Timeline Header Tooltip Background":"#484848c8","Timeline Header Tooltip Text":"#aaaaaa","Timeline Primary Grid":"#00000064","Timeline Secondary Grid":"#00000014","Timeline Tooltip Background":"#998e8ec8","Timeline Tooltip Text":"#2a2a2a","Top Level Timeline Background":"#a6a6a6","Top Level Timeline Header Background":"#323232","Track Automation Button Color":"#4f9ddb","Track Automation Color":"#055988"}};let Rn=structuredClone(Dt),Ye=Rt(Rn);function qn(n){let e,l;return{c(){e=m("svg"),l=m("path"),t(l,"d","M12.011,5L13.249,5L13.249,4L12.011,4L12.011,2.989L11.022,2.989L11.022,1.751L10.022,1.751L10.022,2.989L9.022,2.989L9.022,1.751L8.022,1.751L8.022,2.989L7.022,2.989L7.022,1.751L6.022,1.751L6.022,2.989L5.022,2.989L5.022,1.751L4.022,1.751L4.022,2.989L3.011,2.989L3.011,4L1.773,4L1.773,5L3.011,5L3.011,6L1.773,6L1.773,7L3.011,7L3.011,8L1.773,8L1.773,9L3.011,9L3.011,10L1.773,10L1.773,11L3.011,11L3.011,12.011L4.022,12.011L4.022,13.249L5.022,13.249L5.022,12.011L6.022,12.011L6.022,13.249L7.022,13.249L7.022,12.011L8.022,12.011L8.022,13.249L9.022,13.249L9.022,12.011L10.022,12.011L10.022,13.249L11.022,13.249L11.022,12.011L12.011,12.011L12.011,11L13.249,11L13.249,10L12.011,10L12.011,9L13.249,9L13.249,8L12.011,8L12.011,7L13.249,7L13.249,6L12.011,6L12.011,5ZM11,4L4,4L4,11L11,11L11,4Z"),t(e,"width","16px"),t(e,"height","16px"),t(e,"viewBox","0 0 15 15"),o(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(r,s){te(r,e,s),i(e,l)},p(r,[s]){s&1&&o(e,"fill",r[0])},i:z,o:z,d(r){r&&ee(e)}}}function Zn(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class kn extends $e{constructor(e){super(),_e(this,e,Zn,qn,Le,{color:0})}}function Fn(n){let e,l,r,s;return{c(){e=m("svg"),l=m("g"),r=m("path"),s=m("path"),t(r,"d","M2.5,5.5L6,3.25L6,5L11,5L11,6L6,6L6,7.75L2.5,5.5Z"),o(r,"fill-rule","nonzero"),o(r,"stroke-width","0.4px"),t(s,"d","M12.5,9.5L9,11.75L9,10L4,10L4,9L9,9L9,7.25L12.5,9.5Z"),o(s,"fill-rule","nonzero"),o(s,"stroke-width","0.4px"),t(e,"width","15px"),t(e,"height","15px"),t(e,"viewBox","0 0 15 15"),o(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(a,d){te(a,e,d),i(e,l),i(l,r),i(l,s)},p(a,[d]){d&1&&o(e,"fill",a[0])},i:z,o:z,d(a){a&&ee(e)}}}function Gn(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class Vn extends $e{constructor(e){super(),_e(this,e,Gn,Fn,Le,{color:0})}}function Un(n){let e,l,r,s,a,d,f,b;return{c(){e=m("svg"),l=m("svg"),r=m("g"),s=m("g"),a=m("path"),d=m("circle"),f=m("circle"),b=m("rect"),t(a,"d","m 25.782997,9 1,0 0,3 -1,0 z M 23.638553,9 25,9 l 0,3 -1.361447,0 z m -0.711214,0 -1.842068,0 0,-1.4851612 L 16.209514,10.5 l 4.875757,2.985161 0,-1.485161 1.842068,0 z"),t(r,"transform","matrix(1.3821435,0,0,1.6397775,-20.617873,-9.7176634)"),t(l,"viewBox","0 0 19 17"),o(d,"opacity","1"),o(d,"fill-opacity","1"),o(d,"stroke","none"),o(d,"stroke-width","0.80000001"),o(d,"stroke-miterlimit","4"),o(d,"stroke-dasharray","none"),o(d,"stroke-opacity","1"),t(d,"cx","9.5"),t(d,"cy","14.5"),t(d,"r","1.5"),t(f,"r","1.5"),t(f,"cy","12.5"),t(f,"cx","15.5"),o(f,"opacity","1"),o(f,"fill-opacity","1"),o(f,"stroke","none"),o(f,"stroke-width","0.80000001"),o(f,"stroke-miterlimit","4"),o(f,"stroke-dasharray","none"),o(f,"stroke-opacity","1"),o(b,"opacity","1"),o(b,"fill-opacity","1"),o(b,"stroke","none"),o(b,"stroke-width","0.80000001"),o(b,"stroke-miterlimit","4"),o(b,"stroke-dasharray","none"),o(b,"stroke-opacity","1"),t(b,"width","6.2426505"),t(b,"height","0.85626048"),t(b,"x","5.3736782"),t(b,"y","16.265125"),t(b,"transform","matrix(0.94662364,-0.32234094,0.27606531,0.96113888,0,0)"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","19"),t(e,"height","17"),t(e,"fill",n[0])},m(w,x){te(w,e,x),i(e,l),i(l,r),i(r,s),i(s,a),i(e,d),i(e,f),i(e,b)},p(w,[x]){x&1&&t(e,"fill",w[0])},i:z,o:z,d(w){w&&ee(e)}}}function Kn(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class Wn extends $e{constructor(e){super(),_e(this,e,Kn,Un,Le,{color:0})}}function Yn(n){let e,l;return{c(){e=m("svg"),l=m("path"),t(l,"d","M 13.286,3.3735223 12.714,2.9462003 9.684,6.1078536 7.5,1.3940678 3,11.105932 h 9 L 10.004,6.7982789 13.286,3.3735223 z M 7.5,3.7257982 8.955,6.8671448 7.432,8.4572419 H 5.308 L 7.5,3.7257982 z M 9.692,8.4572419 H 8.414 L 9.275,7.5575701 9.692,8.4572419 z"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","15"),t(e,"height","13"),t(e,"viewBox","0 0 15 13"),t(e,"fill",n[0]),o(e,"margin-top","5px")},m(r,s){te(r,e,s),i(e,l)},p(r,[s]){s&1&&t(e,"fill",r[0])},i:z,o:z,d(r){r&&ee(e)}}}function Xn(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class Jn extends $e{constructor(e){super(),_e(this,e,Xn,Yn,Le,{color:0})}}function Qn(n){let e,l;return{c(){e=m("svg"),l=m("path"),t(l,"d","m 13.4375,14.25 -5.787,0 3.161,-4.3890002 1.217,0.8770002 -1.449,2.012 2.858,0 c 1.704,0 3.091,-1.458 3.091,-3.2500002 0,-1.7919996 -1.387,-3.2499996 -3.091,-3.2499996 l -7.877,0 c -1.704,0 -3.09,1.458 -3.09,3.2499996 C 2.4705,11.292 3.8565,12.75 5.5605,12.75 l 0,1.5 c -2.531,0 -4.59,-2.131 -4.59,-4.7500002 0,-2.6189996 2.059,-4.7499996 4.59,-4.7499996 l 7.878,0 c 2.531,0 4.591,2.131 4.591,4.7499996 0,2.6190002 -2.06,4.7500002 -4.592,4.7500002 z"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","19px"),t(e,"height","19px"),t(e,"viewBox","0 0 19 19"),t(e,"fill",n[0])},m(r,s){te(r,e,s),i(e,l)},p(r,[s]){s&1&&t(e,"fill",r[0])},i:z,o:z,d(r){r&&ee(e)}}}function eo(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class to extends $e{constructor(e){super(),_e(this,e,eo,Qn,Le,{color:0})}}function no(n){let e,l;return{c(){e=m("svg"),l=m("path"),o(l,"stroke","none"),t(l,"d","m 15.25,10.8 -4.934,0 -3.999,-3 -4.567,0 0,-1.6 4.933,0 4.001,3 4.566,0 z"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","17"),t(e,"height","17"),t(e,"viewBox","0 0 17 17"),t(e,"fill",n[0])},m(r,s){te(r,e,s),i(e,l)},p(r,[s]){s&1&&t(e,"fill",r[0])},i:z,o:z,d(r){r&&ee(e)}}}function oo(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class lo extends $e{constructor(e){super(),_e(this,e,oo,no,Le,{color:0})}}function io(n){let e,l;return{c(){e=m("svg"),l=m("path"),t(l,"d","m 6.683,10.8 -4.933,0 0,-1.6 4.567,0 3.999,-3 4.934,0 0,1.6 -4.566,0 z"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","17"),t(e,"height","17"),t(e,"viewBox","0 0 17 17"),t(e,"fill",n[0])},m(r,s){te(r,e,s),i(e,l)},p(r,[s]){s&1&&t(e,"fill",r[0])},i:z,o:z,d(r){r&&ee(e)}}}function ro(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class so extends $e{constructor(e){super(),_e(this,e,ro,io,Le,{color:0})}}function ao(n){let e,l,r,s,a,d,f,b,w,x,$,B,S,A,N,I,U,ae,oe,Y,ge,ve,F,V,D,J,we,ne,W,ce,le,T,c,p,g,_,h,y,v,k,L,P,q,K,Q,O;return x=new kn({props:{color:n[0].window["Hitech on"]}}),N=new Vn({props:{color:n[0].window["Hitech on"]}}),we=new Wn({props:{color:"#cfcfcf"}}),W=new Jn({props:{color:"#cfcfcf"}}),T=new to({props:{color:"#cfcfcf"}}),h=new lo({props:{color:"#cfcfcf"}}),v=new so({props:{color:"#cfcfcf"}}),{c(){e=u("div"),l=u("span"),r=u("span"),r.textContent="FILE",s=C(),a=u("span"),a.innerHTML='PLAY ',d=C(),f=u("span"),b=u("span"),w=u("span"),fe(x.$$.fragment),$=C(),B=u("span"),S=C(),A=u("span"),fe(N.$$.fragment),I=C(),U=u("span"),ae=u("span"),oe=C(),Y=u("span"),ge=C(),ve=u("span"),ve.innerHTML='110.00 4/4',F=C(),V=u("span"),V.innerHTML='1.1.1.00 0:00.000',D=C(),J=u("span"),fe(we.$$.fragment),ne=C(),fe(W.$$.fragment),ce=C(),le=u("span"),fe(T.$$.fragment),c=C(),p=u("span"),p.innerHTML='1.1.1.00 0:00.000',g=C(),_=u("span"),fe(h.$$.fragment),y=C(),fe(v.$$.fragment),k=C(),L=u("span"),L.textContent="ADD",P=C(),q=u("span"),q.textContent="EDIT",K=C(),Q=u("span"),Q.textContent="Bitwig Studio 5.1.9",t(r,"class","normal-button button-active button-background svelte-jqetik"),t(a,"class","play-button-group svelte-jqetik"),o(B,"margin-top","3px"),o(B,"margin-left","3px"),o(B,"width","20px"),o(B,"height","10px"),o(B,"background-color",n[0].window["Hitech on"]),o(B,"opacity","0.3"),t(w,"class","hitech-row svelte-jqetik"),o(ae,"margin-top","2px"),o(ae,"margin-left","3px"),o(ae,"width","20px"),o(ae,"height","4px"),o(ae,"background-color",n[0].window["Hitech on"]),o(ae,"opacity","0.3"),o(Y,"margin-top","1px"),o(Y,"margin-left","3px"),o(Y,"width","20px"),o(Y,"height","4px"),o(Y,"background-color",n[0].window["Hitech on"]),o(Y,"opacity","0.3"),o(U,"display","flex"),o(U,"flex-direction","column"),t(A,"class","hitech-row svelte-jqetik"),t(b,"class","hitech-part1 svelte-jqetik"),t(ve,"class","hitech-part2 svelte-jqetik"),t(V,"class","hitech-part3 svelte-jqetik"),t(J,"class","hitech-part4 svelte-jqetik"),o(p,"display","flex"),o(p,"flex-direction","column"),o(p,"margin-left","5px"),o(_,"display","flex"),o(_,"flex-direction","column"),o(_,"margin-left","5px"),t(le,"class","hitech-part5 svelte-jqetik"),t(f,"class","hitech-group svelte-jqetik"),t(L,"class","normal-button button-active button-background svelte-jqetik"),t(q,"class","normal-button button-active button-background svelte-jqetik"),t(l,"class","window-panel-main svelte-jqetik"),t(Q,"class","reference_version svelte-jqetik"),t(e,"id","panel"),t(e,"class","panel-body svelte-jqetik"),o(e,"--hitech-background",n[0].window["Hitech background"]),o(e,"--hitech-on",n[0].window["Hitech on"]),o(e,"--button-stroke",n[0].window["Button stroke"]),o(e,"background-color",n[0].window["Panel body"]),o(e,"--button-background",n[0].window["Button background"]),o(e,"--button-gradient",n[0].window["Button background"].length==9?n[0].window["Button background"].substring(0,7)+"D0":"#767676"),o(e,"--on",n[0].window.On),o(e,"--rec",n[0].window["Record button color"])},m(Z,G){te(Z,e,G),i(e,l),i(l,r),i(l,s),i(l,a),i(l,d),i(l,f),i(f,b),i(b,w),ue(x,w,null),i(w,$),i(w,B),i(b,S),i(b,A),ue(N,A,null),i(A,I),i(A,U),i(U,ae),i(U,oe),i(U,Y),i(f,ge),i(f,ve),i(f,F),i(f,V),i(f,D),i(f,J),ue(we,J,null),i(J,ne),ue(W,J,null),i(f,ce),i(f,le),ue(T,le,null),i(le,c),i(le,p),i(le,g),i(le,_),ue(h,_,null),i(_,y),ue(v,_,null),i(l,k),i(l,L),i(l,P),i(l,q),i(e,K),i(e,Q),O=!0},p(Z,[G]){const X={};G&1&&(X.color=Z[0].window["Hitech on"]),x.$set(X),(!O||G&1)&&o(B,"background-color",Z[0].window["Hitech on"]);const ke={};G&1&&(ke.color=Z[0].window["Hitech on"]),N.$set(ke),(!O||G&1)&&o(ae,"background-color",Z[0].window["Hitech on"]),(!O||G&1)&&o(Y,"background-color",Z[0].window["Hitech on"]),(!O||G&1)&&o(e,"--hitech-background",Z[0].window["Hitech background"]),(!O||G&1)&&o(e,"--hitech-on",Z[0].window["Hitech on"]),(!O||G&1)&&o(e,"--button-stroke",Z[0].window["Button stroke"]),(!O||G&1)&&o(e,"background-color",Z[0].window["Panel body"]),(!O||G&1)&&o(e,"--button-background",Z[0].window["Button background"]),(!O||G&1)&&o(e,"--button-gradient",Z[0].window["Button background"].length==9?Z[0].window["Button background"].substring(0,7)+"D0":"#767676"),(!O||G&1)&&o(e,"--on",Z[0].window.On),(!O||G&1)&&o(e,"--rec",Z[0].window["Record button color"])},i(Z){O||(re(x.$$.fragment,Z),re(N.$$.fragment,Z),re(we.$$.fragment,Z),re(W.$$.fragment,Z),re(T.$$.fragment,Z),re(h.$$.fragment,Z),re(v.$$.fragment,Z),O=!0)},o(Z){se(x.$$.fragment,Z),se(N.$$.fragment,Z),se(we.$$.fragment,Z),se(W.$$.fragment,Z),se(T.$$.fragment,Z),se(h.$$.fragment,Z),se(v.$$.fragment,Z),O=!1},d(Z){Z&&ee(e),pe(x),pe(N),pe(we),pe(W),pe(T),pe(h),pe(v)}}}function co(n,e,l){let r;return Ye.subscribe(s=>{l(0,r=s)}),[r]}class uo extends $e{constructor(e){super(),_e(this,e,co,ao,Le,{})}}const at=Rt(100);function po(n){let e,l,r,s,a,d,f,b,w,x,$,B,S,A,N,I,U,ae,oe,Y,ge,ve,F,V,D,J,we,ne,W,ce,le,T,c,p,g,_,h,y,v,k,L,P,q,K,Q,O,Z,G,X,ke,Ce,me;return{c(){e=u("div"),l=u("aside"),r=u("span"),s=m("svg"),a=m("g"),d=m("path"),b=C(),w=u("span"),w.innerHTML='',x=C(),$=u("span"),B=u("i"),S=Ie("ARRANGE"),A=C(),N=u("i"),N.textContent="MIX",I=C(),U=u("i"),U.textContent="EDIT",ae=C(),oe=u("span"),oe.innerHTML='',Y=C(),ge=u("span"),ge.innerHTML='',ve=C(),F=u("span"),F.innerHTML='',V=C(),D=u("span"),J=m("svg"),we=m("g"),ne=m("g"),W=m("svg"),ce=m("path"),le=m("path"),T=m("rect"),p=C(),g=u("span"),g.innerHTML='',_=C(),h=u("aside"),y=u("span"),v=m("svg"),k=m("g"),L=m("path"),q=C(),K=u("span"),K.innerHTML='',Q=C(),O=u("span"),O.innerHTML='',Z=C(),G=u("span"),G.innerHTML='',X=C(),ke=u("span"),ke.innerHTML='',Ce=C(),me=u("span"),me.innerHTML='',t(d,"d","M9.507,6.55C9.09,6.536 8.767,6.405 8.53,6.175C8.288,5.94 8.157,5.615 8.157,5.19C8.157,5.186 8.157,5.183 8.157,5.18C8.171,4.755 8.319,4.406 8.595,4.13C8.874,3.851 9.226,3.708 9.655,3.708C10.088,3.708 10.419,3.831 10.657,4.055C10.9,4.283 11.033,4.607 11.033,5.034C11.033,5.474 10.89,5.834 10.614,6.117C10.337,6.402 9.973,6.55 9.517,6.55C9.514,6.55 9.511,6.55 9.507,6.55ZM9.534,15.292C9.067,15.292 8.721,15.144 8.488,14.878C8.265,14.624 8.139,14.248 8.139,13.741C8.139,13.306 8.228,12.773 8.409,12.143C8.41,12.142 8.41,12.14 8.411,12.138C8.585,11.572 8.674,11.061 8.674,10.603C8.674,10.401 8.65,10.228 8.597,10.083C8.559,9.979 8.481,9.903 8.37,9.847C8.154,9.739 7.994,9.633 7.887,9.532C7.733,9.388 7.657,9.211 7.657,9C7.657,8.784 7.747,8.544 7.955,8.289C8.135,8.07 8.366,7.886 8.652,7.74C8.942,7.592 9.237,7.519 9.534,7.519C10.049,7.519 10.386,7.724 10.565,8.098C10.712,8.406 10.792,8.81 10.792,9.31C10.792,9.83 10.705,10.533 10.527,11.419C10.44,11.856 10.395,12.21 10.395,12.483C10.395,12.672 10.425,12.821 10.512,12.919C10.619,13.041 10.793,13.157 11.027,13.274C11.031,13.275 11.035,13.277 11.038,13.28C11.243,13.393 11.343,13.565 11.343,13.793C11.343,13.956 11.286,14.163 11.153,14.407C11.028,14.635 10.831,14.841 10.556,15.02C10.283,15.198 9.943,15.292 9.534,15.292Z"),o(d,"fill-rule","nonzero"),t(s,"width","19px"),t(s,"height","19px"),t(s,"viewBox","0 0 19 19"),t(s,"fill",f=n[0].window.On),o(s,"fill-rule","evenodd"),o(s,"clip-rule","evenodd"),o(s,"stroke-linejoin","round"),o(s,"stroke-miterlimit","2"),t(r,"class","inspector svelte-1rppgdg"),t(w,"class","seperator svelte-1rppgdg"),o(B,"color",n[0].window.On),o(B,"font-weight","bold"),t(B,"class","svelte-1rppgdg"),t(N,"class","svelte-1rppgdg"),t(U,"class","svelte-1rppgdg"),t($,"class","svelte-1rppgdg"),t(oe,"class","seperator svelte-1rppgdg"),t(ge,"class","bottom-button svelte-1rppgdg"),t(F,"class","bottom-button svelte-1rppgdg"),t(ce,"d","M17,4.482C17,3.112 15.888,2 14.518,2L4.482,2C3.112,2 2,3.112 2,4.482L2,14.518C2,15.888 3.112,17 4.482,17L14.518,17C15.888,17 17,15.888 17,14.518L17,4.482Z"),o(ce,"fill-opacity","0.3"),t(le,"d","M17,4.482L17,14.518C17,15.888 15.888,17 14.518,17L4.482,17C3.112,17 2,15.888 2,14.518L2,4.482C2,3.112 3.112,2 4.482,2L14.518,2C15.888,2 17,3.112 17,4.482ZM16,4.482C16,3.664 15.336,3 14.518,3L4.482,3C3.664,3 3,3.664 3,4.482L3,14.518C3,15.336 3.664,16 4.482,16L14.518,16C15.336,16 16,15.336 16,14.518L16,4.482Z"),t(W,"viewBox","0 0 19 19"),t(T,"x","2.882"),t(T,"y","3"),t(T,"width","3.118"),t(T,"height","13"),t(J,"width","19px"),t(J,"height","19px"),t(J,"fill",c=n[0].window.On),o(J,"fill-rule","evenodd"),o(J,"clip-rule","evenodd"),o(J,"stroke-linejoin","round"),o(J,"stroke-miterlimit","2"),t(D,"class","bottom-button svelte-1rppgdg"),t(g,"class","bottom-button svelte-1rppgdg"),t(l,"class","svelte-1rppgdg"),t(L,"fill",P=n[0].window.On),t(L,"d","M15.41,14.957C15.567,14.8 15.655,14.587 15.655,14.366C15.655,14.144 15.567,13.932 15.41,13.775C14.484,12.849 12.794,11.16 12.794,11.16C13.332,10.316 13.625,9.337 13.625,8.312C13.625,6.892 13.072,5.559 12.069,4.555C11.065,3.551 9.731,3 8.312,3C6.892,3 5.558,3.553 4.555,4.556C3.552,5.559 2.999,6.892 2.999,8.312C2.999,9.732 3.552,11.065 4.555,12.068C5.558,13.072 6.893,13.623 8.312,13.623C9.338,13.623 10.315,13.33 11.159,12.794C11.159,12.794 12.849,14.484 13.776,15.41C14.102,15.736 14.631,15.736 14.957,15.41C15.104,15.262 15.263,15.104 15.41,14.957ZM5.699,10.925C5,10.227 4.616,9.299 4.616,8.312C4.616,7.325 5,6.398 5.699,5.699C6.397,5.001 7.325,4.617 8.312,4.617C9.297,4.617 10.226,5.001 10.924,5.699C11.623,6.398 12.008,7.325 12.008,8.312C12.008,9.299 11.624,10.227 10.926,10.925C10.226,11.624 9.298,12.006 8.312,12.006C7.325,12.006 6.397,11.624 5.699,10.925Z"),o(L,"fill-rule","nonzero"),t(v,"width","19px"),t(v,"height","19px"),t(v,"viewBox","0 0 19 19"),o(v,"fill-rule","evenodd"),o(v,"clip-rule","evenodd"),o(v,"stroke-linejoin","round"),o(v,"stroke-miterlimit","2"),t(y,"class","bottom-button svelte-1rppgdg"),t(K,"class","bottom-button svelte-1rppgdg"),t(O,"class","bottom-button svelte-1rppgdg"),t(G,"class","bottom-button svelte-1rppgdg"),t(ke,"class","seperator svelte-1rppgdg"),t(me,"class","bottom-button svelte-1rppgdg"),t(h,"class","svelte-1rppgdg"),t(e,"id","bottom_bar"),t(e,"class","svelte-1rppgdg")},m(je,Ee){te(je,e,Ee),i(e,l),i(l,r),i(r,s),i(s,a),i(a,d),i(l,b),i(l,w),i(l,x),i(l,$),i($,B),i(B,S),i($,A),i($,N),i($,I),i($,U),i(l,ae),i(l,oe),i(l,Y),i(l,ge),i(l,ve),i(l,F),i(l,V),i(l,D),i(D,J),i(J,we),i(we,ne),i(ne,W),i(W,ce),i(W,le),i(we,T),i(l,p),i(l,g),i(e,_),i(e,h),i(h,y),i(y,v),i(v,k),i(k,L),i(h,q),i(h,K),i(h,Q),i(h,O),i(h,Z),i(h,G),i(h,X),i(h,ke),i(h,Ce),i(h,me)},p(je,[Ee]){Ee&1&&f!==(f=je[0].window.On)&&t(s,"fill",f),Ee&1&&o(B,"color",je[0].window.On),Ee&1&&c!==(c=je[0].window.On)&&t(J,"fill",c),Ee&1&&P!==(P=je[0].window.On)&&t(L,"fill",P)},i:z,o:z,d(je){je&&ee(e)}}}function fo(n,e,l){let r;return Ye.subscribe(s=>{l(0,r=s)}),[r]}class ho extends $e{constructor(e){super(),_e(this,e,fo,po,Le,{})}}function go(n){let e,l,r,s,a,d,f;return{c(){e=m("svg"),l=m("g"),r=m("g"),s=m("svg"),a=m("path"),d=m("path"),f=m("rect"),t(a,"d","M13,5.482C13,4.112 11.888,3 10.518,3L4.482,3C3.112,3 2,4.112 2,5.482L2,9.518C2,10.888 3.112,12 4.482,12L10.518,12C11.888,12 13,10.888 13,9.518L13,5.482Z"),o(a,"fill-opacity","0.3"),t(d,"d","M13,5.482L13,9.518C13,10.888 11.888,12 10.518,12L4.482,12C3.112,12 2,10.888 2,9.518L2,5.482C2,4.112 3.112,3 4.482,3L10.518,3C11.888,3 13,4.112 13,5.482ZM12,5.482C12,4.664 11.336,4 10.518,4L4.482,4C3.664,4 3,4.664 3,5.482L3,9.518C3,10.336 3.664,11 4.482,11L10.518,11C11.336,11 12,10.336 12,9.518L12,5.482Z"),t(s,"viewBox","0 0 15 15"),t(f,"x","3"),t(f,"y","4"),t(f,"width","3"),t(f,"height","7"),t(e,"width","15px"),t(e,"height","15px"),t(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(b,w){te(b,e,w),i(e,l),i(l,r),i(r,s),i(s,a),i(s,d),i(r,f)},p(b,[w]){w&1&&t(e,"fill",b[0])},i:z,o:z,d(b){b&&ee(e)}}}function mo(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}let bo=class extends $e{constructor(e){super(),_e(this,e,mo,go,Le,{color:0})}};function wo(n){let e,l,r,s,a,d,f,b,w,x,$,B;return{c(){e=m("svg"),l=m("g"),r=m("svg"),s=m("g"),a=m("path"),d=m("path"),f=m("svg"),b=m("rect"),w=m("defs"),x=m("linearGradient"),$=m("stop"),B=m("stop"),t(a,"d","M18,3L22.6,6.5L18,10.001L18,3Z"),o(a,"fill-rule","nonzero"),t(d,"d","M3,6.5C3,8.987 5.013,11 7.5,11C9.987,11 12,8.987 12,6.5C12,4.013 9.987,2 7.5,2C5.013,2 3,4.013 3,6.5ZM8.226,3.673L8.226,5.327C8.226,5.699 7.925,6 7.554,6L7.446,6C7.075,6 6.774,5.699 6.774,5.327L6.774,3.673C6.774,3.301 7.075,3 7.446,3L7.554,3C7.925,3 8.226,3.301 8.226,3.673Z"),o(d,"fill","url(#_Linear1)"),t(r,"viewBox","0 0 26 13"),t(b,"x","13"),t(b,"y","6"),t(b,"width","5"),t(b,"height","1"),t($,"offset","0"),o($,"stop-color",n[0]),o($,"stop-opacity","0.7"),t(B,"offset","1"),o(B,"stop-color",n[0]),o(B,"stop-opacity","1"),t(x,"id","_Linear1"),t(x,"x1","0"),t(x,"y1","0"),t(x,"x2","1"),t(x,"y2","0"),t(x,"gradientUnits","userSpaceOnUse"),t(x,"gradientTransform","matrix(1.88496e-05,-9.00001,9.00001,1.88496e-05,7.50001,11)"),t(e,"width","26px"),t(e,"height","13px"),t(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(S,A){te(S,e,A),i(e,l),i(l,r),i(r,s),i(s,a),i(r,d),i(l,f),i(f,b),i(e,w),i(w,x),i(x,$),i(x,B)},p(S,[A]){A&1&&o($,"stop-color",S[0]),A&1&&o(B,"stop-color",S[0]),A&1&&t(e,"fill",S[0])},i:z,o:z,d(S){S&&ee(e)}}}function vo(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class ko extends $e{constructor(e){super(),_e(this,e,vo,wo,Le,{color:0})}}function yo(n){let e,l,r;return{c(){e=m("svg"),l=m("g"),r=m("path"),t(r,"d","M6,10.5C6,12.987 8.013,15 10.5,15C12.987,15 15,12.987 15,10.5C15,8.013 12.987,6 10.5,6C8.013,6 6,8.013 6,10.5ZM11.226,7.673L11.226,9.327C11.226,9.699 10.925,10 10.554,10L10.446,10C10.075,10 9.774,9.699 9.774,9.327L9.774,7.673C9.774,7.301 10.075,7 10.446,7L10.554,7C10.925,7 11.226,7.301 11.226,7.673Z"),t(e,"width","21px"),t(e,"height","21px"),t(e,"viewBox","0 0 21 21"),t(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(s,a){te(s,e,a),i(e,l),i(l,r)},p(s,[a]){a&1&&t(e,"fill",s[0])},i:z,o:z,d(s){s&&ee(e)}}}function Co(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class Lo extends $e{constructor(e){super(),_e(this,e,Co,yo,Le,{color:0})}}function _o(n){let e,l,r,s,a,d,f,b,w,x,$,B;return{c(){e=m("svg"),l=m("g"),r=m("svg"),s=m("g"),a=m("path"),d=m("path"),f=m("svg"),b=m("rect"),w=m("defs"),x=m("linearGradient"),$=m("stop"),B=m("stop"),t(a,"d","M8,3L12.6,6.5L8,10.001L8,3Z"),o(a,"fill-rule","nonzero"),t(d,"d","M13.9,6.5C13.9,8.987 15.913,11 18.4,11C20.887,11 22.9,8.987 22.9,6.5C22.9,4.013 20.887,2 18.4,2C15.913,2 13.9,4.013 13.9,6.5ZM19.126,3.673L19.126,5.327C19.126,5.699 18.825,6 18.454,6L18.346,6C17.975,6 17.674,5.699 17.674,5.327L17.674,3.673C17.674,3.301 17.975,3 18.346,3L18.454,3C18.825,3 19.126,3.301 19.126,3.673Z"),o(d,"fill","url(#_Linear1)"),t(r,"viewBox","0 0 26 13"),t(b,"x","3"),t(b,"y","6"),t(b,"width","5"),t(b,"height","1"),t($,"offset","0"),o($,"stop-color",n[0]),o($,"stop-opacity","0.7"),t(B,"offset","1"),o(B,"stop-color",n[0]),o(B,"stop-opacity","1"),t(x,"id","_Linear1"),t(x,"x1","0"),t(x,"y1","0"),t(x,"x2","1"),t(x,"y2","0"),t(x,"gradientUnits","userSpaceOnUse"),t(x,"gradientTransform","matrix(1.88496e-05,-9.00001,9.00001,1.88496e-05,18.4,11)"),t(e,"width","26px"),t(e,"height","13px"),t(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(S,A){te(S,e,A),i(e,l),i(l,r),i(r,s),i(s,a),i(r,d),i(l,f),i(f,b),i(e,w),i(w,x),i(x,$),i(x,B)},p(S,[A]){A&1&&o($,"stop-color",S[0]),A&1&&o(B,"stop-color",S[0]),A&1&&t(e,"fill",S[0])},i:z,o:z,d(S){S&&ee(e)}}}function $o(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class xo extends $e{constructor(e){super(),_e(this,e,$o,_o,Le,{color:0})}}function Bo(n){let e,l,r,s,a,d,f,b,w,x,$,B,S,A,N,I,U,ae,oe,Y,ge,ve,F,V,D,J,we,ne,W,ce,le,T,c,p,g,_,h,y,v,k,L,P,q,K,Q,O,Z,G,X,ke,Ce,me,je,Ee,Pe,Be,Se,Te,Ne,j,H,be,Re,Me,R,he,et,nt,De,Xe,ot,ze,He;return U=new kn({props:{color:"#0f0f0f"}}),p=new bo({props:{color:n[0].window.On}}),h=new Lo({props:{color:"#cfcfcf"}}),k=new ko({props:{color:"#cfcfcf"}}),q=new xo({props:{color:"#cfcfcf"}}),{c(){e=u("div"),l=u("span"),l.textContent="INSTRUMENT TRACK",r=C(),s=u("span"),s.textContent="Inst 1",a=C(),d=u("span"),d.innerHTML=' ',f=C(),b=u("span"),b.textContent="Comment",w=C(),x=u("span"),$=m("svg"),B=m("circle"),A=C(),N=u("span"),I=u("span"),fe(U.$$.fragment),ae=Ie(` +var Ln=Object.defineProperty;var _n=(n,e,l)=>e in n?Ln(n,e,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[e]=l;var Ze=(n,e,l)=>_n(n,typeof e!="symbol"?e+"":e,l);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const d of a.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&r(d)}).observe(document,{childList:!0,subtree:!0});function l(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=l(s);fetch(s.href,a)}})();function N(){}function wn(n){return n()}function Ut(){return Object.create(null)}function rt(n){n.forEach(wn)}function vn(n){return typeof n=="function"}function Le(n,e){return n!=n?e==e:n!==e||n&&typeof n=="object"||typeof n=="function"}function $n(n){return Object.keys(n).length===0}function i(n,e){n.appendChild(e)}function te(n,e,l){n.insertBefore(e,l||null)}function ee(n){n.parentNode&&n.parentNode.removeChild(n)}function kt(n,e){for(let l=0;ln.removeEventListener(e,l,r)}function t(n,e,l){l==null?n.removeAttribute(e):n.getAttribute(e)!==l&&n.setAttribute(e,l)}function xn(n){return Array.from(n.childNodes)}function zt(n,e){e=""+e,n.data!==e&&(n.data=e)}function Vt(n,e){n.value=e??""}function o(n,e,l,r){l==null?n.style.removeProperty(e):n.style.setProperty(e,l,"")}let _t;function Lt(n){_t=n}function Bn(){if(!_t)throw new Error("Function called outside component initialization");return _t}function St(n){Bn().$$.on_mount.push(n)}const yt=[],Kt=[];let Ct=[];const Wt=[],Tn=Promise.resolve();let It=!1;function Mn(){It||(It=!0,Tn.then(kn))}function Dt(n){Ct.push(n)}const Ht=new Set;let bt=0;function kn(){if(bt!==0)return;const n=_t;do{try{for(;btn.indexOf(r)===-1?e.push(r):l.push(r)),l.forEach(r=>r()),Ct=e}const Mt=new Set;let ut;function jt(){ut={r:0,c:[],p:ut}}function Pt(){ut.r||rt(ut.c),ut=ut.p}function re(n,e){n&&n.i&&(Mt.delete(n),n.i(e))}function se(n,e,l,r){if(n&&n.o){if(Mt.has(n))return;Mt.add(n),ut.c.push(()=>{Mt.delete(n),r&&(l&&n.d(1),r())}),n.o(e)}else r&&r()}function Fe(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function Et(n,e){se(n,1,1,()=>{e.delete(n.key)})}function Ot(n,e,l,r,s,a,d,f,b,w,x,$){let B=n.length,S=a.length,A=B;const z={};for(;A--;)z[n[A].key]=A;const I=[],V=new Map,ae=new Map,oe=[];for(A=S;A--;){const F=$(s,a,A),U=l(F);let D=d.get(U);D?oe.push(()=>D.p(F,e)):(D=w(U,F),D.c()),V.set(U,I[A]=D),U in z&&ae.set(U,Math.abs(A-z[U]))}const Y=new Set,ge=new Set;function ve(F){re(F,1),F.m(f,x),d.set(F.key,F),x=F.first,S--}for(;B&&S;){const F=I[S-1],U=n[B-1],D=F.key,J=U.key;F===U?(x=F.first,B--,S--):V.has(J)?!d.has(D)||Y.has(D)?ve(F):ge.has(J)?B--:ae.get(D)>ae.get(J)?(ge.add(D),ve(F)):(Y.add(J),B--):(b(U,d),B--)}for(;B--;){const F=n[B];V.has(F.key)||b(F,d)}for(;S;)ve(I[S-1]);return rt(oe),I}function fe(n){n&&n.c()}function ue(n,e,l){const{fragment:r,after_update:s}=n.$$;r&&r.m(e,l),Dt(()=>{const a=n.$$.on_mount.map(wn).filter(vn);n.$$.on_destroy?n.$$.on_destroy.push(...a):rt(a),n.$$.on_mount=[]}),s.forEach(Dt)}function pe(n,e){const l=n.$$;l.fragment!==null&&(An(l.after_update),rt(l.on_destroy),l.fragment&&l.fragment.d(e),l.on_destroy=l.fragment=null,l.ctx=[])}function Hn(n,e){n.$$.dirty[0]===-1&&(yt.push(n),Mn(),n.$$.dirty.fill(0)),n.$$.dirty[e/31|0]|=1<{const A=S.length?S[0]:B;return w.ctx&&s(w.ctx[$],w.ctx[$]=A)&&(!w.skip_bound&&w.bound[$]&&w.bound[$](A),x&&Hn(n,$)),B}):[],w.update(),x=!0,rt(w.before_update),w.fragment=r?r(w.ctx):!1,e.target){if(e.hydrate){const $=xn(e.target);w.fragment&&w.fragment.l($),$.forEach(ee)}else w.fragment&&w.fragment.c();e.intro&&re(n.$$.fragment),ue(n,e.target,e.anchor),kn()}Lt(b)}class $e{constructor(){Ze(this,"$$");Ze(this,"$$set")}$destroy(){pe(this,1),this.$destroy=N}$on(e,l){if(!vn(l))return N;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(l),()=>{const s=r.indexOf(l);s!==-1&&r.splice(s,1)}}$set(e){this.$$set&&!$n(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const jn="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(jn);function Pn(n){let e;return{c(){e=u("div"),e.innerHTML=' New 1* ',t(e,"class","svelte-atylgd")},m(l,r){te(l,e,r)},p:N,i:N,o:N,d(l){l&&ee(e)}}}class En extends $e{constructor(e){super(),_e(this,e,null,Pn,Le,{})}}function On(n){let e,l;return{c(){e=m("svg"),l=m("path"),t(l,"d","m 35.833295,17.83332 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m -26.6666,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 21.33328,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m -15.99996,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z M 35.833295,12.5 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m -26.6666,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 15.99996,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 5.33332,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m -15.99996,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 5.33332,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 5.33332,-5.33332 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 5.33332,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m -15.99996,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 5.33332,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z"),t(e,"width","41"),t(e,"height","25"),t(e,"viewBox","0 0 41 25"),t(e,"class","svelte-w97xpw")},m(r,s){te(r,e,s),i(e,l)},p:N,i:N,o:N,d(r){r&&ee(e)}}}class In extends $e{constructor(e){super(),_e(this,e,null,On,Le,{})}}function Dn(n){let e;return{c(){e=u("div"),e.innerHTML=' '},m(l,r){te(l,e,r)},p:N,i:N,o:N,d(l){l&&ee(e)}}}class Nn extends $e{constructor(e){super(),_e(this,e,null,Dn,Le,{})}}function zn(n){let e,l,r,s,a,d,f;return l=new En({}),s=new In({}),d=new Nn({}),{c(){e=u("div"),fe(l.$$.fragment),r=C(),fe(s.$$.fragment),a=C(),fe(d.$$.fragment),t(e,"id","top_bar"),t(e,"class","svelte-18j4gou")},m(b,w){te(b,e,w),ue(l,e,null),i(e,r),ue(s,e,null),i(e,a),ue(d,e,null),f=!0},p:N,i(b){f||(re(l.$$.fragment,b),re(s.$$.fragment,b),re(d.$$.fragment,b),f=!0)},o(b){se(l.$$.fragment,b),se(s.$$.fragment,b),se(d.$$.fragment,b),f=!1},d(b){b&&ee(e),pe(l),pe(s),pe(d)}}}let Rn=class extends $e{constructor(e){super(),_e(this,e,null,zn,Le,{})}};const wt=[];function Rt(n,e=N){let l;const r=new Set;function s(f){if(Le(n,f)&&(n=f,l)){const b=!wt.length;for(const w of r)w[1](),wt.push(w,n);if(b){for(let w=0;w{r.delete(w),r.size===0&&l&&(l(),l=null)}}return{set:s,update:a,subscribe:d}}const $t={advanced:{"Timeline Playhead":"#000000ff"},window:{"Abstract Button Pressed Background":"#3b3b3b","Abstract Button Selected Background":"#474747","Abstract Button Stroke":"#323232","Abstract Button Unselected Background":"#545454","Activation Green":"#29e17c","Activation Red":"#ff4021","Activation Yellow":"#e3d538","Active Inverted Toggle Icon (Playing)":"#dedede","Active Panel stroke":"#787878","Active Toggle Icon (Playing)":"#dedede","Analyzed Beat Color":"#3cb2e9","Audio Event Boundary":"#0000007b","Automation Color":"#8fa4ff","Beat Marker Color":"#e36315","Bitwig 16-Track":"#0076c7","Bitwig 8-Track":"#29ccb9","Bitwig CI":"#ff5a00","Bitwig Essentials":"#2e9ce6","Bitwig Mint":"#04a1a8","Bitwig Producer":"#ffc933","Bitwig Red":"#e41f38","Button background":"#76767680","Button in tree background":"#505050","Button stroke":"#323232","Checkbox background":"#62626280","Close button mouse over background":"#0000005a","Close button pressed background":"#000000a6","Comp fill":"#005eb478","Content Background":"#e2e2e2","Dark Panel Sub-frame Fill":"#434343","Dark Panel Sub-frame Stroke":"#383838","Dark Separator Line":"#989898","Dark Text":"#141414","Dark tree background (selected)":"#387097","Dark tree background (standby selected)":"#2c3b45","Dark tree hover background change":"#ffffff0a","Dark tree separator":"#565656","Dark tree text":"#ffffff","Dark tree text (selected)":"#ffffff","Default text":"#000000","Device Header":"#3c3c3c","Device Header (selected)":"#646464","Device Locked Overlay":"#0e5ca180","Device Tint Future":"#58859564","Device Tint Military":"#305d0247","Device Tint Retro":"#c07b4c52","Display Background":"#1d1d1d","Display Background (error)":"#521226","Display Loop Markers":"#00ffbe","Display Start/End Markers":"#d8d900","Display Waveform":"#ffffff","Drop Indicator":"#ffffff","Emboss Highlight":"#ffffff19","Emboss Shadow":"#0000003c","Error Text":"#ff3232c8","Field background":"#d1d1d1","Grey Display Background":"#1d1d1d64","Grid Line (Primary)":"#ffffffa0","Grid Line (Secondary)":"#ffffff50","Hitcount background":"#8181817f","Hitcount text color":"#ffffff7f","Hitech background":"#2b3236","Hitech on":"#3ebaff","Hole (dark)":"#0d0d0d","Hole (light)":"#414141","Hole (medium)":"#2e2e2e","Implicit On (subtle)":"#e47611","Inspector Section Frame":"#424242","Inverted Selected Borderless Button background":"#767676","Knob Body Darkest":"#1e1e1e","Knob Body Lighter":"#969696","Knob Body Lightest":"#c4c4c4","Knob Emboss Highlight":"#ffffff00","Knob Emboss Shadow":"#00000000","Knob Line":"#f2f2f2","Knob Line Dark":"#0a0a0a","Knob Stroke":"#282828","Knob Value Color":"#ff7d0f","Launcher Mapping Indication":"#6c6c6c","Led Off":"#545454","Led On":"#ff0000","Light Separator Line":"#aaaaaa","Light Text":"#ffffff","Light Tooltip Background":"#d7d7d7","Lighter Text":"#ffffff","Link Text":"#e41f38ff","List Item Background":"#d1d1d1","List Separator":"#9c9c9c",Mapping:"#3effba","Mapping indication 1":"#f41b3e","Mapping indication 2":"#ff7f17","Mapping indication 3":"#fceb23","Mapping indication 4":"#5bc515","Mapping indication 5":"#65ce92","Mapping indication 6":"#5ca8ee","Mapping indication 7":"#c36eff","Mapping indication 8":"#ff54b0","Medium Light Text":"#ffffffb4","Menu Icon":"#c3c3c3","Menu background":"#353535","Menu description text":"#8c8c8c","Menu separator":"#8c8c8c","Menu stroke":"#272727","Menu text":"#ffffff","Meter Clipping":"#ff0000","Meter Gain Reduction":"#5386b6","Meter Hitech":"#23d1d4","Meter Hitech Background":"#23343e","Meter Muted":"#979797","Meter Normal":"#8ccb2a","Meter Red":"#ff8b00","Meter Yellow":"#ffde42","Modern Dark Scrollbar Handle (active)":"#000000ff","Modern Dark Scrollbar Handle (inactive)":"#000000aa","Modern Scrollbar Background (active)":"#78787834","Modern Scrollbar Handle (active)":"#787878ff","Modern Scrollbar Handle (inactive)":"#82828264","Modulation Mapping Background (polyphonic)":"#3aff9e32","Modulation Mapping Background Color":"#3dd9ff32","Modulation Mapping Color":"#3dd9ff","Modulation Mapping Color (polyphonic)":"#3aff9e","Modulation Mapping Color (subtractive)":"#5a8291","Monitoring buttons color":"#cfc500","Mouse Over Inverted Toggle Icon":"#000000a0","Mouse Over Toggle Icon":"#bababa","Normal Inverted Toggle Icon":"#00000050","Normal Toggle Icon":"#9e9e9e","Notification Background":"#d1d1d1","Notification Error":"#e5102b","Notification Normal":"#00888c","Number field bar background":"#e57e0e",On:"#ff8713","On (subtle)":"#f07f1180","On (subtler)":"#f07f1140","Onset Marker Color":"#4c70c0","Panel Blue":"#5ca8ee","Panel Green":"#4abc00","Panel Lime":"#bbdd21","Panel Mint":"#26d098","Panel Orange":"#ff7f17","Panel Purple":"#c36eff","Panel Red":"#ff1c40","Panel Turquoise":"#1be3e5","Panel Yellow":"#ffde42","Panel body":"#535353","Panel stroke":"#535353","Popup Notification Background":"#000000b4","Popup insert":"#747474","Popup overlay background color":"#171717b4","Pressed Inverted Toggle Icon":"#000000","Pressed On":"#ca6a10","Pressed Toggle Icon":"#858585","Pressed button background":"#62626280","Pressed view button background":"#373737","Progress background":"#39495ebb","Progress bar":"#5cbcff","Record button color":"#ec0808","Rubber button stroke":"#7a7a7a","Rubber highlight button stroke":"#ff8d0050",Scrollbar:"#787878","Scrollbar background":"#2e2e2e00","Selected Dashboard Tree":"#383838","Selected Panel body":"#9c9c9c","Selected Panel stroke":"#a1a1a1","Selected Panel stroke (standby)":"#818181",Selection:"#ffffff",Shadow:"#0000004d","Standby selection":"#e5e5e5","Subtle Dark Text":"#444444","Subtle Light Text":"#ffffff78","Subtler Light Text":"#ffffff3c","The Grid (background)":"#0d0d0d","The Grid (stroke)":"#181818","Timeline edit tool chooser background":"#323232","Tooltip Background":"#3c3c3c","Tooltip Stroke":"#a4a4a4","Tree Item Background":"#d1d1d1","Tree Separator":"#00000000","User Automation Override Color":"#27d927","View button background":"#2e2e2e00",Warning:"#ed1b1b","Window background":"#2e2e2e"},arranger:{"Add Modulation Button Color":"#bb33b1","Audio connection in modular environment":"#c14524","Audio64 connection in modular environment":"#d281f4","Automation button glow color":"#93ff9240","Background color of the modular environment.":"#000000","Clip Automation Button Color":"#d93232","Clip Automation Color":"#8d0a0a","Clip Modulation Color":"#881390","Compressed Audio Port in modular environment":"#ff8000","Current Atom Value Color":"#005270","Dark Timeline Background":"#797979","Dark Timeline Header Background":"#323232","Event connection in modular environment":"#3c7399","Header Loop Region Background":"#00000032","Header Time Selection Across All Lanes Fill":"#7e9898c8","Header Time Selection Across All Lanes Stroke":"#dedede","Header Time Selection Cursor Stroke":"#dedede","Header Time Selection Fill":"#a7939dc8","Header Time Selection Standby Cursor Stroke":"#b0b0b0","Header Time Selection Standby Fill":"#ffffff06","Header Time Selection Standby Stroke":"#a7a7a7","Header Time Selection Stroke":"#f7f7f7","Insert preview time":"#d2d2d2d2","Irrelevant Timeline Background":"#858585","Irrelevant Timeline Header Background":"#323232","Irrelevant Timeline Header Overlay":"#ffffff0a","Irrelevant Timeline Overlay":"#0000000a","Light Timeline Background":"#8f8f8f","Light Timeline Header Background":"#353535","Loop Region Background":"#ffffff32","Multiply Modulation Button Color":"#bb33b1","Note Expression Color":"#055988","Polyphonic Desktop Object":"#3c7399","Record button color implicit":"#b02929","Record button glow color":"#ff000040","Selected matrix slot color":"#676767","Send (post) value color":"#ffe019","Send (pre) value color":"#4df4ff","Time Selection Across All Lanes Fill":"#5e9898c8","Time Selection Across All Lanes Stroke":"#f7f7f7","Time Selection Cursor Stroke":"#ffffff","Time Selection Fill":"#7dc3d05d","Time Selection Inactive Fill":"#ffffff1e","Time Selection Inactive Stroke":"#cecece","Time Selection Not Selected Fill":"#00000000","Time Selection Not Selected Stroke":"#cecece","Time Selection Standby Cursor Stroke":"#f7f7f7","Time Selection Standby Fill":"#ffffff46","Time Selection Standby Stroke":"#cecece","Time Selection Stroke":"#f7f7f7","Timeline Background Pattern":"#00000014","Timeline Cue Marker":"#535353","Timeline Header Background Pattern":"#ffffff0a","Timeline Header Cue Marker":"#545454","Timeline Header Primary Grid":"#828282","Timeline Header Secondary Grid":"#565656","Timeline Header Tooltip Background":"#484848c8","Timeline Header Tooltip Text":"#aaaaaa","Timeline Primary Grid":"#00000064","Timeline Secondary Grid":"#00000014","Timeline Tooltip Background":"#998e8ec8","Timeline Tooltip Text":"#2a2a2a","Top Level Timeline Background":"#a6a6a6","Top Level Timeline Header Background":"#323232","Track Automation Button Color":"#4f9ddb","Track Automation Color":"#055988"}};let qn=structuredClone($t),Ge=Rt(qn);function Zn(n){let e,l;return{c(){e=m("svg"),l=m("path"),t(l,"d","M12.011,5L13.249,5L13.249,4L12.011,4L12.011,2.989L11.022,2.989L11.022,1.751L10.022,1.751L10.022,2.989L9.022,2.989L9.022,1.751L8.022,1.751L8.022,2.989L7.022,2.989L7.022,1.751L6.022,1.751L6.022,2.989L5.022,2.989L5.022,1.751L4.022,1.751L4.022,2.989L3.011,2.989L3.011,4L1.773,4L1.773,5L3.011,5L3.011,6L1.773,6L1.773,7L3.011,7L3.011,8L1.773,8L1.773,9L3.011,9L3.011,10L1.773,10L1.773,11L3.011,11L3.011,12.011L4.022,12.011L4.022,13.249L5.022,13.249L5.022,12.011L6.022,12.011L6.022,13.249L7.022,13.249L7.022,12.011L8.022,12.011L8.022,13.249L9.022,13.249L9.022,12.011L10.022,12.011L10.022,13.249L11.022,13.249L11.022,12.011L12.011,12.011L12.011,11L13.249,11L13.249,10L12.011,10L12.011,9L13.249,9L13.249,8L12.011,8L12.011,7L13.249,7L13.249,6L12.011,6L12.011,5ZM11,4L4,4L4,11L11,11L11,4Z"),t(e,"width","16px"),t(e,"height","16px"),t(e,"viewBox","0 0 15 15"),o(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(r,s){te(r,e,s),i(e,l)},p(r,[s]){s&1&&o(e,"fill",r[0])},i:N,o:N,d(r){r&&ee(e)}}}function Fn(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class yn extends $e{constructor(e){super(),_e(this,e,Fn,Zn,Le,{color:0})}}function Gn(n){let e,l,r,s;return{c(){e=m("svg"),l=m("g"),r=m("path"),s=m("path"),t(r,"d","M2.5,5.5L6,3.25L6,5L11,5L11,6L6,6L6,7.75L2.5,5.5Z"),o(r,"fill-rule","nonzero"),o(r,"stroke-width","0.4px"),t(s,"d","M12.5,9.5L9,11.75L9,10L4,10L4,9L9,9L9,7.25L12.5,9.5Z"),o(s,"fill-rule","nonzero"),o(s,"stroke-width","0.4px"),t(e,"width","15px"),t(e,"height","15px"),t(e,"viewBox","0 0 15 15"),o(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(a,d){te(a,e,d),i(e,l),i(l,r),i(l,s)},p(a,[d]){d&1&&o(e,"fill",a[0])},i:N,o:N,d(a){a&&ee(e)}}}function Un(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class Vn extends $e{constructor(e){super(),_e(this,e,Un,Gn,Le,{color:0})}}function Kn(n){let e,l,r,s,a,d,f,b;return{c(){e=m("svg"),l=m("svg"),r=m("g"),s=m("g"),a=m("path"),d=m("circle"),f=m("circle"),b=m("rect"),t(a,"d","m 25.782997,9 1,0 0,3 -1,0 z M 23.638553,9 25,9 l 0,3 -1.361447,0 z m -0.711214,0 -1.842068,0 0,-1.4851612 L 16.209514,10.5 l 4.875757,2.985161 0,-1.485161 1.842068,0 z"),t(r,"transform","matrix(1.3821435,0,0,1.6397775,-20.617873,-9.7176634)"),t(l,"viewBox","0 0 19 17"),o(d,"opacity","1"),o(d,"fill-opacity","1"),o(d,"stroke","none"),o(d,"stroke-width","0.80000001"),o(d,"stroke-miterlimit","4"),o(d,"stroke-dasharray","none"),o(d,"stroke-opacity","1"),t(d,"cx","9.5"),t(d,"cy","14.5"),t(d,"r","1.5"),t(f,"r","1.5"),t(f,"cy","12.5"),t(f,"cx","15.5"),o(f,"opacity","1"),o(f,"fill-opacity","1"),o(f,"stroke","none"),o(f,"stroke-width","0.80000001"),o(f,"stroke-miterlimit","4"),o(f,"stroke-dasharray","none"),o(f,"stroke-opacity","1"),o(b,"opacity","1"),o(b,"fill-opacity","1"),o(b,"stroke","none"),o(b,"stroke-width","0.80000001"),o(b,"stroke-miterlimit","4"),o(b,"stroke-dasharray","none"),o(b,"stroke-opacity","1"),t(b,"width","6.2426505"),t(b,"height","0.85626048"),t(b,"x","5.3736782"),t(b,"y","16.265125"),t(b,"transform","matrix(0.94662364,-0.32234094,0.27606531,0.96113888,0,0)"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","19"),t(e,"height","17"),t(e,"fill",n[0])},m(w,x){te(w,e,x),i(e,l),i(l,r),i(r,s),i(s,a),i(e,d),i(e,f),i(e,b)},p(w,[x]){x&1&&t(e,"fill",w[0])},i:N,o:N,d(w){w&&ee(e)}}}function Wn(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class Yn extends $e{constructor(e){super(),_e(this,e,Wn,Kn,Le,{color:0})}}function Xn(n){let e,l;return{c(){e=m("svg"),l=m("path"),t(l,"d","M 13.286,3.3735223 12.714,2.9462003 9.684,6.1078536 7.5,1.3940678 3,11.105932 h 9 L 10.004,6.7982789 13.286,3.3735223 z M 7.5,3.7257982 8.955,6.8671448 7.432,8.4572419 H 5.308 L 7.5,3.7257982 z M 9.692,8.4572419 H 8.414 L 9.275,7.5575701 9.692,8.4572419 z"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","15"),t(e,"height","13"),t(e,"viewBox","0 0 15 13"),t(e,"fill",n[0]),o(e,"margin-top","5px")},m(r,s){te(r,e,s),i(e,l)},p(r,[s]){s&1&&t(e,"fill",r[0])},i:N,o:N,d(r){r&&ee(e)}}}function Jn(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class Qn extends $e{constructor(e){super(),_e(this,e,Jn,Xn,Le,{color:0})}}function eo(n){let e,l;return{c(){e=m("svg"),l=m("path"),t(l,"d","m 13.4375,14.25 -5.787,0 3.161,-4.3890002 1.217,0.8770002 -1.449,2.012 2.858,0 c 1.704,0 3.091,-1.458 3.091,-3.2500002 0,-1.7919996 -1.387,-3.2499996 -3.091,-3.2499996 l -7.877,0 c -1.704,0 -3.09,1.458 -3.09,3.2499996 C 2.4705,11.292 3.8565,12.75 5.5605,12.75 l 0,1.5 c -2.531,0 -4.59,-2.131 -4.59,-4.7500002 0,-2.6189996 2.059,-4.7499996 4.59,-4.7499996 l 7.878,0 c 2.531,0 4.591,2.131 4.591,4.7499996 0,2.6190002 -2.06,4.7500002 -4.592,4.7500002 z"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","19px"),t(e,"height","19px"),t(e,"viewBox","0 0 19 19"),t(e,"fill",n[0])},m(r,s){te(r,e,s),i(e,l)},p(r,[s]){s&1&&t(e,"fill",r[0])},i:N,o:N,d(r){r&&ee(e)}}}function to(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class no extends $e{constructor(e){super(),_e(this,e,to,eo,Le,{color:0})}}function oo(n){let e,l;return{c(){e=m("svg"),l=m("path"),o(l,"stroke","none"),t(l,"d","m 15.25,10.8 -4.934,0 -3.999,-3 -4.567,0 0,-1.6 4.933,0 4.001,3 4.566,0 z"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","17"),t(e,"height","17"),t(e,"viewBox","0 0 17 17"),t(e,"fill",n[0])},m(r,s){te(r,e,s),i(e,l)},p(r,[s]){s&1&&t(e,"fill",r[0])},i:N,o:N,d(r){r&&ee(e)}}}function lo(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class io extends $e{constructor(e){super(),_e(this,e,lo,oo,Le,{color:0})}}function ro(n){let e,l;return{c(){e=m("svg"),l=m("path"),t(l,"d","m 6.683,10.8 -4.933,0 0,-1.6 4.567,0 3.999,-3 4.934,0 0,1.6 -4.566,0 z"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","17"),t(e,"height","17"),t(e,"viewBox","0 0 17 17"),t(e,"fill",n[0])},m(r,s){te(r,e,s),i(e,l)},p(r,[s]){s&1&&t(e,"fill",r[0])},i:N,o:N,d(r){r&&ee(e)}}}function so(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class ao extends $e{constructor(e){super(),_e(this,e,so,ro,Le,{color:0})}}function co(n){let e,l,r,s,a,d,f,b,w,x,$,B,S,A,z,I,V,ae,oe,Y,ge,ve,F,U,D,J,we,ne,W,ce,le,T,c,p,g,_,h,y,v,k,L,P,q,K,Q,O;return x=new yn({props:{color:n[0].window["Hitech on"]}}),z=new Vn({props:{color:n[0].window["Hitech on"]}}),we=new Yn({props:{color:"#cfcfcf"}}),W=new Qn({props:{color:"#cfcfcf"}}),T=new no({props:{color:"#cfcfcf"}}),h=new io({props:{color:"#cfcfcf"}}),v=new ao({props:{color:"#cfcfcf"}}),{c(){e=u("div"),l=u("span"),r=u("span"),r.textContent="FILE",s=C(),a=u("span"),a.innerHTML='PLAY ',d=C(),f=u("span"),b=u("span"),w=u("span"),fe(x.$$.fragment),$=C(),B=u("span"),S=C(),A=u("span"),fe(z.$$.fragment),I=C(),V=u("span"),ae=u("span"),oe=C(),Y=u("span"),ge=C(),ve=u("span"),ve.innerHTML='110.00 4/4',F=C(),U=u("span"),U.innerHTML='1.1.1.00 0:00.000',D=C(),J=u("span"),fe(we.$$.fragment),ne=C(),fe(W.$$.fragment),ce=C(),le=u("span"),fe(T.$$.fragment),c=C(),p=u("span"),p.innerHTML='1.1.1.00 0:00.000',g=C(),_=u("span"),fe(h.$$.fragment),y=C(),fe(v.$$.fragment),k=C(),L=u("span"),L.textContent="ADD",P=C(),q=u("span"),q.textContent="EDIT",K=C(),Q=u("span"),Q.textContent="Bitwig Studio 5.1.9",t(r,"class","normal-button button-active button-background svelte-jqetik"),t(a,"class","play-button-group svelte-jqetik"),o(B,"margin-top","3px"),o(B,"margin-left","3px"),o(B,"width","20px"),o(B,"height","10px"),o(B,"background-color",n[0].window["Hitech on"]),o(B,"opacity","0.3"),t(w,"class","hitech-row svelte-jqetik"),o(ae,"margin-top","2px"),o(ae,"margin-left","3px"),o(ae,"width","20px"),o(ae,"height","4px"),o(ae,"background-color",n[0].window["Hitech on"]),o(ae,"opacity","0.3"),o(Y,"margin-top","1px"),o(Y,"margin-left","3px"),o(Y,"width","20px"),o(Y,"height","4px"),o(Y,"background-color",n[0].window["Hitech on"]),o(Y,"opacity","0.3"),o(V,"display","flex"),o(V,"flex-direction","column"),t(A,"class","hitech-row svelte-jqetik"),t(b,"class","hitech-part1 svelte-jqetik"),t(ve,"class","hitech-part2 svelte-jqetik"),t(U,"class","hitech-part3 svelte-jqetik"),t(J,"class","hitech-part4 svelte-jqetik"),o(p,"display","flex"),o(p,"flex-direction","column"),o(p,"margin-left","5px"),o(_,"display","flex"),o(_,"flex-direction","column"),o(_,"margin-left","5px"),t(le,"class","hitech-part5 svelte-jqetik"),t(f,"class","hitech-group svelte-jqetik"),t(L,"class","normal-button button-active button-background svelte-jqetik"),t(q,"class","normal-button button-active button-background svelte-jqetik"),t(l,"class","window-panel-main svelte-jqetik"),t(Q,"class","reference_version svelte-jqetik"),t(e,"id","panel"),t(e,"class","panel-body svelte-jqetik"),o(e,"--hitech-background",n[0].window["Hitech background"]),o(e,"--hitech-on",n[0].window["Hitech on"]),o(e,"--button-stroke",n[0].window["Button stroke"]),o(e,"background-color",n[0].window["Panel body"]),o(e,"--button-background",n[0].window["Button background"]),o(e,"--button-gradient",n[0].window["Button background"].length==9?n[0].window["Button background"].substring(0,7)+"D0":"#767676"),o(e,"--on",n[0].window.On),o(e,"--rec",n[0].window["Record button color"])},m(Z,G){te(Z,e,G),i(e,l),i(l,r),i(l,s),i(l,a),i(l,d),i(l,f),i(f,b),i(b,w),ue(x,w,null),i(w,$),i(w,B),i(b,S),i(b,A),ue(z,A,null),i(A,I),i(A,V),i(V,ae),i(V,oe),i(V,Y),i(f,ge),i(f,ve),i(f,F),i(f,U),i(f,D),i(f,J),ue(we,J,null),i(J,ne),ue(W,J,null),i(f,ce),i(f,le),ue(T,le,null),i(le,c),i(le,p),i(le,g),i(le,_),ue(h,_,null),i(_,y),ue(v,_,null),i(l,k),i(l,L),i(l,P),i(l,q),i(e,K),i(e,Q),O=!0},p(Z,[G]){const X={};G&1&&(X.color=Z[0].window["Hitech on"]),x.$set(X),(!O||G&1)&&o(B,"background-color",Z[0].window["Hitech on"]);const ke={};G&1&&(ke.color=Z[0].window["Hitech on"]),z.$set(ke),(!O||G&1)&&o(ae,"background-color",Z[0].window["Hitech on"]),(!O||G&1)&&o(Y,"background-color",Z[0].window["Hitech on"]),(!O||G&1)&&o(e,"--hitech-background",Z[0].window["Hitech background"]),(!O||G&1)&&o(e,"--hitech-on",Z[0].window["Hitech on"]),(!O||G&1)&&o(e,"--button-stroke",Z[0].window["Button stroke"]),(!O||G&1)&&o(e,"background-color",Z[0].window["Panel body"]),(!O||G&1)&&o(e,"--button-background",Z[0].window["Button background"]),(!O||G&1)&&o(e,"--button-gradient",Z[0].window["Button background"].length==9?Z[0].window["Button background"].substring(0,7)+"D0":"#767676"),(!O||G&1)&&o(e,"--on",Z[0].window.On),(!O||G&1)&&o(e,"--rec",Z[0].window["Record button color"])},i(Z){O||(re(x.$$.fragment,Z),re(z.$$.fragment,Z),re(we.$$.fragment,Z),re(W.$$.fragment,Z),re(T.$$.fragment,Z),re(h.$$.fragment,Z),re(v.$$.fragment,Z),O=!0)},o(Z){se(x.$$.fragment,Z),se(z.$$.fragment,Z),se(we.$$.fragment,Z),se(W.$$.fragment,Z),se(T.$$.fragment,Z),se(h.$$.fragment,Z),se(v.$$.fragment,Z),O=!1},d(Z){Z&&ee(e),pe(x),pe(z),pe(we),pe(W),pe(T),pe(h),pe(v)}}}function uo(n,e,l){let r;return Ge.subscribe(s=>{l(0,r=s)}),[r]}class po extends $e{constructor(e){super(),_e(this,e,uo,co,Le,{})}}const at=Rt(100);function fo(n){let e,l,r,s,a,d,f,b,w,x,$,B,S,A,z,I,V,ae,oe,Y,ge,ve,F,U,D,J,we,ne,W,ce,le,T,c,p,g,_,h,y,v,k,L,P,q,K,Q,O,Z,G,X,ke,Ce,me;return{c(){e=u("div"),l=u("aside"),r=u("span"),s=m("svg"),a=m("g"),d=m("path"),b=C(),w=u("span"),w.innerHTML='',x=C(),$=u("span"),B=u("i"),S=Ie("ARRANGE"),A=C(),z=u("i"),z.textContent="MIX",I=C(),V=u("i"),V.textContent="EDIT",ae=C(),oe=u("span"),oe.innerHTML='',Y=C(),ge=u("span"),ge.innerHTML='',ve=C(),F=u("span"),F.innerHTML='',U=C(),D=u("span"),J=m("svg"),we=m("g"),ne=m("g"),W=m("svg"),ce=m("path"),le=m("path"),T=m("rect"),p=C(),g=u("span"),g.innerHTML='',_=C(),h=u("aside"),y=u("span"),v=m("svg"),k=m("g"),L=m("path"),q=C(),K=u("span"),K.innerHTML='',Q=C(),O=u("span"),O.innerHTML='',Z=C(),G=u("span"),G.innerHTML='',X=C(),ke=u("span"),ke.innerHTML='',Ce=C(),me=u("span"),me.innerHTML='',t(d,"d","M9.507,6.55C9.09,6.536 8.767,6.405 8.53,6.175C8.288,5.94 8.157,5.615 8.157,5.19C8.157,5.186 8.157,5.183 8.157,5.18C8.171,4.755 8.319,4.406 8.595,4.13C8.874,3.851 9.226,3.708 9.655,3.708C10.088,3.708 10.419,3.831 10.657,4.055C10.9,4.283 11.033,4.607 11.033,5.034C11.033,5.474 10.89,5.834 10.614,6.117C10.337,6.402 9.973,6.55 9.517,6.55C9.514,6.55 9.511,6.55 9.507,6.55ZM9.534,15.292C9.067,15.292 8.721,15.144 8.488,14.878C8.265,14.624 8.139,14.248 8.139,13.741C8.139,13.306 8.228,12.773 8.409,12.143C8.41,12.142 8.41,12.14 8.411,12.138C8.585,11.572 8.674,11.061 8.674,10.603C8.674,10.401 8.65,10.228 8.597,10.083C8.559,9.979 8.481,9.903 8.37,9.847C8.154,9.739 7.994,9.633 7.887,9.532C7.733,9.388 7.657,9.211 7.657,9C7.657,8.784 7.747,8.544 7.955,8.289C8.135,8.07 8.366,7.886 8.652,7.74C8.942,7.592 9.237,7.519 9.534,7.519C10.049,7.519 10.386,7.724 10.565,8.098C10.712,8.406 10.792,8.81 10.792,9.31C10.792,9.83 10.705,10.533 10.527,11.419C10.44,11.856 10.395,12.21 10.395,12.483C10.395,12.672 10.425,12.821 10.512,12.919C10.619,13.041 10.793,13.157 11.027,13.274C11.031,13.275 11.035,13.277 11.038,13.28C11.243,13.393 11.343,13.565 11.343,13.793C11.343,13.956 11.286,14.163 11.153,14.407C11.028,14.635 10.831,14.841 10.556,15.02C10.283,15.198 9.943,15.292 9.534,15.292Z"),o(d,"fill-rule","nonzero"),t(s,"width","19px"),t(s,"height","19px"),t(s,"viewBox","0 0 19 19"),t(s,"fill",f=n[0].window.On),o(s,"fill-rule","evenodd"),o(s,"clip-rule","evenodd"),o(s,"stroke-linejoin","round"),o(s,"stroke-miterlimit","2"),t(r,"class","inspector svelte-1rppgdg"),t(w,"class","seperator svelte-1rppgdg"),o(B,"color",n[0].window.On),o(B,"font-weight","bold"),t(B,"class","svelte-1rppgdg"),t(z,"class","svelte-1rppgdg"),t(V,"class","svelte-1rppgdg"),t($,"class","svelte-1rppgdg"),t(oe,"class","seperator svelte-1rppgdg"),t(ge,"class","bottom-button svelte-1rppgdg"),t(F,"class","bottom-button svelte-1rppgdg"),t(ce,"d","M17,4.482C17,3.112 15.888,2 14.518,2L4.482,2C3.112,2 2,3.112 2,4.482L2,14.518C2,15.888 3.112,17 4.482,17L14.518,17C15.888,17 17,15.888 17,14.518L17,4.482Z"),o(ce,"fill-opacity","0.3"),t(le,"d","M17,4.482L17,14.518C17,15.888 15.888,17 14.518,17L4.482,17C3.112,17 2,15.888 2,14.518L2,4.482C2,3.112 3.112,2 4.482,2L14.518,2C15.888,2 17,3.112 17,4.482ZM16,4.482C16,3.664 15.336,3 14.518,3L4.482,3C3.664,3 3,3.664 3,4.482L3,14.518C3,15.336 3.664,16 4.482,16L14.518,16C15.336,16 16,15.336 16,14.518L16,4.482Z"),t(W,"viewBox","0 0 19 19"),t(T,"x","2.882"),t(T,"y","3"),t(T,"width","3.118"),t(T,"height","13"),t(J,"width","19px"),t(J,"height","19px"),t(J,"fill",c=n[0].window.On),o(J,"fill-rule","evenodd"),o(J,"clip-rule","evenodd"),o(J,"stroke-linejoin","round"),o(J,"stroke-miterlimit","2"),t(D,"class","bottom-button svelte-1rppgdg"),t(g,"class","bottom-button svelte-1rppgdg"),t(l,"class","svelte-1rppgdg"),t(L,"fill",P=n[0].window.On),t(L,"d","M15.41,14.957C15.567,14.8 15.655,14.587 15.655,14.366C15.655,14.144 15.567,13.932 15.41,13.775C14.484,12.849 12.794,11.16 12.794,11.16C13.332,10.316 13.625,9.337 13.625,8.312C13.625,6.892 13.072,5.559 12.069,4.555C11.065,3.551 9.731,3 8.312,3C6.892,3 5.558,3.553 4.555,4.556C3.552,5.559 2.999,6.892 2.999,8.312C2.999,9.732 3.552,11.065 4.555,12.068C5.558,13.072 6.893,13.623 8.312,13.623C9.338,13.623 10.315,13.33 11.159,12.794C11.159,12.794 12.849,14.484 13.776,15.41C14.102,15.736 14.631,15.736 14.957,15.41C15.104,15.262 15.263,15.104 15.41,14.957ZM5.699,10.925C5,10.227 4.616,9.299 4.616,8.312C4.616,7.325 5,6.398 5.699,5.699C6.397,5.001 7.325,4.617 8.312,4.617C9.297,4.617 10.226,5.001 10.924,5.699C11.623,6.398 12.008,7.325 12.008,8.312C12.008,9.299 11.624,10.227 10.926,10.925C10.226,11.624 9.298,12.006 8.312,12.006C7.325,12.006 6.397,11.624 5.699,10.925Z"),o(L,"fill-rule","nonzero"),t(v,"width","19px"),t(v,"height","19px"),t(v,"viewBox","0 0 19 19"),o(v,"fill-rule","evenodd"),o(v,"clip-rule","evenodd"),o(v,"stroke-linejoin","round"),o(v,"stroke-miterlimit","2"),t(y,"class","bottom-button svelte-1rppgdg"),t(K,"class","bottom-button svelte-1rppgdg"),t(O,"class","bottom-button svelte-1rppgdg"),t(G,"class","bottom-button svelte-1rppgdg"),t(ke,"class","seperator svelte-1rppgdg"),t(me,"class","bottom-button svelte-1rppgdg"),t(h,"class","svelte-1rppgdg"),t(e,"id","bottom_bar"),t(e,"class","svelte-1rppgdg")},m(je,Ee){te(je,e,Ee),i(e,l),i(l,r),i(r,s),i(s,a),i(a,d),i(l,b),i(l,w),i(l,x),i(l,$),i($,B),i(B,S),i($,A),i($,z),i($,I),i($,V),i(l,ae),i(l,oe),i(l,Y),i(l,ge),i(l,ve),i(l,F),i(l,U),i(l,D),i(D,J),i(J,we),i(we,ne),i(ne,W),i(W,ce),i(W,le),i(we,T),i(l,p),i(l,g),i(e,_),i(e,h),i(h,y),i(y,v),i(v,k),i(k,L),i(h,q),i(h,K),i(h,Q),i(h,O),i(h,Z),i(h,G),i(h,X),i(h,ke),i(h,Ce),i(h,me)},p(je,[Ee]){Ee&1&&f!==(f=je[0].window.On)&&t(s,"fill",f),Ee&1&&o(B,"color",je[0].window.On),Ee&1&&c!==(c=je[0].window.On)&&t(J,"fill",c),Ee&1&&P!==(P=je[0].window.On)&&t(L,"fill",P)},i:N,o:N,d(je){je&&ee(e)}}}function ho(n,e,l){let r;return Ge.subscribe(s=>{l(0,r=s)}),[r]}class go extends $e{constructor(e){super(),_e(this,e,ho,fo,Le,{})}}function mo(n){let e,l,r,s,a,d,f;return{c(){e=m("svg"),l=m("g"),r=m("g"),s=m("svg"),a=m("path"),d=m("path"),f=m("rect"),t(a,"d","M13,5.482C13,4.112 11.888,3 10.518,3L4.482,3C3.112,3 2,4.112 2,5.482L2,9.518C2,10.888 3.112,12 4.482,12L10.518,12C11.888,12 13,10.888 13,9.518L13,5.482Z"),o(a,"fill-opacity","0.3"),t(d,"d","M13,5.482L13,9.518C13,10.888 11.888,12 10.518,12L4.482,12C3.112,12 2,10.888 2,9.518L2,5.482C2,4.112 3.112,3 4.482,3L10.518,3C11.888,3 13,4.112 13,5.482ZM12,5.482C12,4.664 11.336,4 10.518,4L4.482,4C3.664,4 3,4.664 3,5.482L3,9.518C3,10.336 3.664,11 4.482,11L10.518,11C11.336,11 12,10.336 12,9.518L12,5.482Z"),t(s,"viewBox","0 0 15 15"),t(f,"x","3"),t(f,"y","4"),t(f,"width","3"),t(f,"height","7"),t(e,"width","15px"),t(e,"height","15px"),t(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(b,w){te(b,e,w),i(e,l),i(l,r),i(r,s),i(s,a),i(s,d),i(r,f)},p(b,[w]){w&1&&t(e,"fill",b[0])},i:N,o:N,d(b){b&&ee(e)}}}function bo(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}let wo=class extends $e{constructor(e){super(),_e(this,e,bo,mo,Le,{color:0})}};function vo(n){let e,l,r,s,a,d,f,b,w,x,$,B;return{c(){e=m("svg"),l=m("g"),r=m("svg"),s=m("g"),a=m("path"),d=m("path"),f=m("svg"),b=m("rect"),w=m("defs"),x=m("linearGradient"),$=m("stop"),B=m("stop"),t(a,"d","M18,3L22.6,6.5L18,10.001L18,3Z"),o(a,"fill-rule","nonzero"),t(d,"d","M3,6.5C3,8.987 5.013,11 7.5,11C9.987,11 12,8.987 12,6.5C12,4.013 9.987,2 7.5,2C5.013,2 3,4.013 3,6.5ZM8.226,3.673L8.226,5.327C8.226,5.699 7.925,6 7.554,6L7.446,6C7.075,6 6.774,5.699 6.774,5.327L6.774,3.673C6.774,3.301 7.075,3 7.446,3L7.554,3C7.925,3 8.226,3.301 8.226,3.673Z"),o(d,"fill","url(#_Linear1)"),t(r,"viewBox","0 0 26 13"),t(b,"x","13"),t(b,"y","6"),t(b,"width","5"),t(b,"height","1"),t($,"offset","0"),o($,"stop-color",n[0]),o($,"stop-opacity","0.7"),t(B,"offset","1"),o(B,"stop-color",n[0]),o(B,"stop-opacity","1"),t(x,"id","_Linear1"),t(x,"x1","0"),t(x,"y1","0"),t(x,"x2","1"),t(x,"y2","0"),t(x,"gradientUnits","userSpaceOnUse"),t(x,"gradientTransform","matrix(1.88496e-05,-9.00001,9.00001,1.88496e-05,7.50001,11)"),t(e,"width","26px"),t(e,"height","13px"),t(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(S,A){te(S,e,A),i(e,l),i(l,r),i(r,s),i(s,a),i(r,d),i(l,f),i(f,b),i(e,w),i(w,x),i(x,$),i(x,B)},p(S,[A]){A&1&&o($,"stop-color",S[0]),A&1&&o(B,"stop-color",S[0]),A&1&&t(e,"fill",S[0])},i:N,o:N,d(S){S&&ee(e)}}}function ko(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class yo extends $e{constructor(e){super(),_e(this,e,ko,vo,Le,{color:0})}}function Co(n){let e,l,r;return{c(){e=m("svg"),l=m("g"),r=m("path"),t(r,"d","M6,10.5C6,12.987 8.013,15 10.5,15C12.987,15 15,12.987 15,10.5C15,8.013 12.987,6 10.5,6C8.013,6 6,8.013 6,10.5ZM11.226,7.673L11.226,9.327C11.226,9.699 10.925,10 10.554,10L10.446,10C10.075,10 9.774,9.699 9.774,9.327L9.774,7.673C9.774,7.301 10.075,7 10.446,7L10.554,7C10.925,7 11.226,7.301 11.226,7.673Z"),t(e,"width","21px"),t(e,"height","21px"),t(e,"viewBox","0 0 21 21"),t(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(s,a){te(s,e,a),i(e,l),i(l,r)},p(s,[a]){a&1&&t(e,"fill",s[0])},i:N,o:N,d(s){s&&ee(e)}}}function Lo(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class _o extends $e{constructor(e){super(),_e(this,e,Lo,Co,Le,{color:0})}}function $o(n){let e,l,r,s,a,d,f,b,w,x,$,B;return{c(){e=m("svg"),l=m("g"),r=m("svg"),s=m("g"),a=m("path"),d=m("path"),f=m("svg"),b=m("rect"),w=m("defs"),x=m("linearGradient"),$=m("stop"),B=m("stop"),t(a,"d","M8,3L12.6,6.5L8,10.001L8,3Z"),o(a,"fill-rule","nonzero"),t(d,"d","M13.9,6.5C13.9,8.987 15.913,11 18.4,11C20.887,11 22.9,8.987 22.9,6.5C22.9,4.013 20.887,2 18.4,2C15.913,2 13.9,4.013 13.9,6.5ZM19.126,3.673L19.126,5.327C19.126,5.699 18.825,6 18.454,6L18.346,6C17.975,6 17.674,5.699 17.674,5.327L17.674,3.673C17.674,3.301 17.975,3 18.346,3L18.454,3C18.825,3 19.126,3.301 19.126,3.673Z"),o(d,"fill","url(#_Linear1)"),t(r,"viewBox","0 0 26 13"),t(b,"x","3"),t(b,"y","6"),t(b,"width","5"),t(b,"height","1"),t($,"offset","0"),o($,"stop-color",n[0]),o($,"stop-opacity","0.7"),t(B,"offset","1"),o(B,"stop-color",n[0]),o(B,"stop-opacity","1"),t(x,"id","_Linear1"),t(x,"x1","0"),t(x,"y1","0"),t(x,"x2","1"),t(x,"y2","0"),t(x,"gradientUnits","userSpaceOnUse"),t(x,"gradientTransform","matrix(1.88496e-05,-9.00001,9.00001,1.88496e-05,18.4,11)"),t(e,"width","26px"),t(e,"height","13px"),t(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(S,A){te(S,e,A),i(e,l),i(l,r),i(r,s),i(s,a),i(r,d),i(l,f),i(f,b),i(e,w),i(w,x),i(x,$),i(x,B)},p(S,[A]){A&1&&o($,"stop-color",S[0]),A&1&&o(B,"stop-color",S[0]),A&1&&t(e,"fill",S[0])},i:N,o:N,d(S){S&&ee(e)}}}function xo(n,e,l){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&l(0,r=s.color)},[r]}class Bo extends $e{constructor(e){super(),_e(this,e,xo,$o,Le,{color:0})}}function To(n){let e,l,r,s,a,d,f,b,w,x,$,B,S,A,z,I,V,ae,oe,Y,ge,ve,F,U,D,J,we,ne,W,ce,le,T,c,p,g,_,h,y,v,k,L,P,q,K,Q,O,Z,G,X,ke,Ce,me,je,Ee,Pe,Be,Se,Te,ze,j,H,be,Re,Me,R,he,et,nt,De,Xe,ot,Ne,He;return V=new yn({props:{color:"#0f0f0f"}}),p=new wo({props:{color:n[0].window.On}}),h=new _o({props:{color:"#cfcfcf"}}),k=new yo({props:{color:"#cfcfcf"}}),q=new Bo({props:{color:"#cfcfcf"}}),{c(){e=u("div"),l=u("span"),l.textContent="INSTRUMENT TRACK",r=C(),s=u("span"),s.textContent="Inst 1",a=C(),d=u("span"),d.innerHTML=' ',f=C(),b=u("span"),b.textContent="Comment",w=C(),x=u("span"),$=m("svg"),B=m("circle"),A=C(),z=u("span"),I=u("span"),fe(V.$$.fragment),ae=Ie(` Active`),oe=C(),Y=u("span"),ge=u("span"),ge.innerHTML=`Channel - All 1`,ve=C(),F=u("span"),V=Ie(`P. Bend + All 1`,ve=C(),F=u("span"),U=Ie(`P. Bend `),D=u("span"),J=Ie(`→Expr. `),we=u("span"),ne=u("code"),ne.textContent="2",W=u("code"),W.textContent="2",ce=C(),le=u("span"),T=u("span"),c=u("span"),fe(p.$$.fragment),g=C(),_=u("span"),fe(h.$$.fragment),y=C(),v=u("span"),fe(k.$$.fragment),L=C(),P=u("span"),fe(q.$$.fragment),K=C(),Q=u("span"),Q.innerHTML='',O=C(),Z=u("span"),G=u("span"),X=u("span"),ke=m("svg"),Ce=m("path"),je=Ie(` - All ins`),Ee=C(),Pe=u("span"),Pe.innerHTML=' Master',Be=C(),Se=u("span"),Te=u("span"),Te.textContent="Sends",Ne=C(),j=u("span"),H=u("span"),H.innerHTML=' S M',be=C(),Re=u("span"),Me=m("svg"),R=m("line"),et=C(),nt=u("span"),De=u("span"),Xe=u("span"),ot=C(),ze=u("span"),t(l,"id","insp_title"),t(l,"class","title svelte-159p7te"),t(s,"class","sub-title display-background svelte-159p7te"),t(d,"class","color-palette display-background svelte-159p7te"),t(b,"class","comment display-background svelte-159p7te"),t(B,"cx","8"),t(B,"cy","8"),t(B,"r","8"),t(B,"fill",S=n[0].window.On),t($,"class","on svelte-159p7te"),t($,"width","16"),t($,"height","16"),t(I,"id","cpu_svg"),o(I,"display","flex"),o(I,"align-items","center"),o(I,"width","fit-content"),t(I,"class","svelte-159p7te"),o(N,"position","absolute"),o(N,"height","100%"),o(N,"display","flex"),o(N,"align-items","center"),o(N,"margin-left","3px"),t(N,"class","svelte-159p7te"),t(x,"class","active-area hole-light svelte-159p7te"),o(x,"position","relative"),t(ge,"class","channel-row svelte-159p7te"),t(we,"class","channel-on-right display-background svelte-159p7te"),o(we,"color",n[0].window.On),t(D,"class","channel-on-button on svelte-159p7te"),o(D,"background-color",n[0].window.On),t(F,"class","bend-row svelte-159p7te"),t(Y,"class","channel-area hole-light svelte-159p7te"),t(c,"class","device-button hole-medium svelte-159p7te"),t(_,"class","device-button-r hole-light svelte-159p7te"),o(_,"background-color","none"),t(v,"class","device-button-r hole-light svelte-159p7te"),o(v,"background-color","none"),t(P,"class","device-button-r hole-light svelte-159p7te"),o(P,"background-color","none"),t(T,"class","device-nav hole-light svelte-159p7te"),t(Q,"class","device-in hole-medium svelte-159p7te"),t(le,"class","device-area svelte-159p7te"),t(Ce,"d","m 6.5,5.5 -2.5,0 0,4 2.5,0 3.5,2.5 0,-9 z"),t(ke,"fill",me=n[0].window["Monitoring buttons color"]),t(ke,"x","0px"),t(ke,"y","0px"),t(ke,"width","15px"),t(ke,"height","15px"),t(ke,"viewBox","0 0 15 15"),o(X,"display","flex"),o(X,"align-items","center"),o(X,"width","17px"),o(X,"height","100%"),o(X,"border-right","1px solid "+n[0].window["Button stroke"]),o(X,"margin-left","2px"),o(X,"margin-right","3px"),t(X,"class","svelte-159p7te"),t(G,"class","send-button button-background svelte-159p7te"),t(Pe,"class","send-button button-background svelte-159p7te"),t(Z,"class","send-area hole-light svelte-159p7te"),t(Te,"class","mixer-half hole-light svelte-159p7te"),o(Te,"background-color","var(--hole-light)"),t(H,"class","mixer-button svelte-159p7te"),t(R,"x1","1"),t(R,"y1","2px"),t(R,"x2","1"),t(R,"y2","18px"),t(R,"stroke",he=n[0].window.On),t(Me,"width","2px"),t(Me,"height","20px"),t(Me,"viewBox","0 0 2 20"),t(Re,"class","mixer-volume hole-medium svelte-159p7te"),o(Xe,"margin-right","4px"),o(Xe,"width","32px"),o(Xe,"height","2px"),o(Xe,"background-color",n[0].window.On),o(Xe,"opacity","0.7"),t(Xe,"class","svelte-159p7te"),o(ze,"margin-right","5px"),o(ze,"margin-bottom","5px"),o(ze,"width","30px"),o(ze,"height","51px"),o(ze,"background-color",n[0].window.On),o(ze,"opacity","0.3"),t(ze,"class","svelte-159p7te"),o(De,"display","flex"),o(De,"flex-direction","column"),o(De,"align-items","center"),o(De,"width","fit-content"),t(De,"class","svelte-159p7te"),t(nt,"class","mixer-limiter hole-medium svelte-159p7te"),t(j,"class","mixer-half svelte-159p7te"),t(Se,"class","mixer-area svelte-159p7te"),o(e,"--rec",n[0].window["Record button color"]),o(e,"--display-background",n[0].window["Display Background"]),o(e,"--hole-light",n[0].window["Hole (light)"]),o(e,"--hole-medium",n[0].window["Hole (medium)"]),o(e,"--hole-light",n[0].window["Hole (light)"]),o(e,"--button-stroke",n[0].window["Button stroke"]),o(e,"--panel-body",n[0].window["Panel body"]),o(e,"--panel-stroke",n[0].window["Panel stroke"]),o(e,"--button-background",n[0].window["Button background"]),o(e,"--button-gradient",n[0].window["Button background"].length==9?n[0].window["Button background"].substring(0,7)+"D0":"#767676"),t(e,"class","svelte-159p7te")},m(ie,xe){te(ie,e,xe),i(e,l),i(e,r),i(e,s),i(e,a),i(e,d),i(e,f),i(e,b),i(e,w),i(e,x),i(x,$),i($,B),i(x,A),i(x,N),i(N,I),ue(U,I,null),i(x,ae),i(e,oe),i(e,Y),i(Y,ge),i(Y,ve),i(Y,F),i(F,V),i(F,D),i(D,J),i(D,we),i(we,ne),i(we,W),i(e,ce),i(e,le),i(le,T),i(T,c),ue(p,c,null),i(T,g),i(T,_),ue(h,_,null),i(T,y),i(T,v),ue(k,v,null),i(T,L),i(T,P),ue(q,P,null),i(le,K),i(le,Q),i(e,O),i(e,Z),i(Z,G),i(G,X),i(X,ke),i(ke,Ce),i(G,je),i(Z,Ee),i(Z,Pe),i(e,Be),i(e,Se),i(Se,Te),i(Se,Ne),i(Se,j),i(j,H),i(j,be),i(j,Re),i(Re,Me),i(Me,R),i(j,et),i(j,nt),i(nt,De),i(De,Xe),i(De,ot),i(De,ze),He=!0},p(ie,[xe]){(!He||xe&1&&S!==(S=ie[0].window.On))&&t(B,"fill",S),(!He||xe&1)&&o(we,"color",ie[0].window.On),(!He||xe&1)&&o(D,"background-color",ie[0].window.On);const qe={};xe&1&&(qe.color=ie[0].window.On),p.$set(qe),(!He||xe&1&&me!==(me=ie[0].window["Monitoring buttons color"]))&&t(ke,"fill",me),(!He||xe&1)&&o(X,"border-right","1px solid "+ie[0].window["Button stroke"]),(!He||xe&1&&he!==(he=ie[0].window.On))&&t(R,"stroke",he),(!He||xe&1)&&o(Xe,"background-color",ie[0].window.On),(!He||xe&1)&&o(ze,"background-color",ie[0].window.On),(!He||xe&1)&&o(e,"--rec",ie[0].window["Record button color"]),(!He||xe&1)&&o(e,"--display-background",ie[0].window["Display Background"]),(!He||xe&1)&&o(e,"--hole-light",ie[0].window["Hole (light)"]),(!He||xe&1)&&o(e,"--hole-medium",ie[0].window["Hole (medium)"]),(!He||xe&1)&&o(e,"--hole-light",ie[0].window["Hole (light)"]),(!He||xe&1)&&o(e,"--button-stroke",ie[0].window["Button stroke"]),(!He||xe&1)&&o(e,"--panel-body",ie[0].window["Panel body"]),(!He||xe&1)&&o(e,"--panel-stroke",ie[0].window["Panel stroke"]),(!He||xe&1)&&o(e,"--button-background",ie[0].window["Button background"]),(!He||xe&1)&&o(e,"--button-gradient",ie[0].window["Button background"].length==9?ie[0].window["Button background"].substring(0,7)+"D0":"#767676")},i(ie){He||(re(U.$$.fragment,ie),re(p.$$.fragment,ie),re(h.$$.fragment,ie),re(k.$$.fragment,ie),re(q.$$.fragment,ie),He=!0)},o(ie){se(U.$$.fragment,ie),se(p.$$.fragment,ie),se(h.$$.fragment,ie),se(k.$$.fragment,ie),se(q.$$.fragment,ie),He=!1},d(ie){ie&&ee(e),pe(U),pe(p),pe(h),pe(k),pe(q)}}}function To(n,e,l){let r;return Ye.subscribe(s=>{l(0,r=s)}),[r]}class Mo extends $e{constructor(e){super(),_e(this,e,To,Bo,Le,{})}}function Yt(n){let e,l,r;return{c(){e=m("svg"),l=m("g"),r=m("path"),t(r,"d","M2.5,12.276L2.5,2.724C3.005,5.988 3.817,8.774 5.045,10.908L5.045,4.085C5.65,6.628 6.47,8.551 7.602,9.577L7.602,5.476C8.152,7.234 9.044,8.211 10.211,8.565L10.105,6.115C11.22,7.809 11.76,8.164 12.874,7.5"),o(r,"fill","none"),o(r,"stroke-width","1px"),t(e,"width","15px"),t(e,"height","15px"),t(e,"viewBox","0 0 15 15"),t(e,"stroke","#cfcfcf"),o(e,"margin-left","6px"),o(e,"margin-top","3px"),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","1.5")},m(s,a){te(s,e,a),i(e,l),i(l,r)},d(s){s&&ee(e)}}}function Xt(n){let e,l,r;return{c(){e=m("svg"),l=m("g"),r=m("path"),t(r,"d","M13,2L13,13L9.669,13L9.669,8.609L10.184,8.609C10.406,8.609 10.585,8.429 10.585,8.207L10.585,2L13,2ZM8.342,2L8.342,8.207C8.342,8.429 8.522,8.609 8.743,8.609L9.258,8.609L9.258,13L5.742,13L5.742,8.609L6.257,8.609C6.478,8.609 6.658,8.429 6.658,8.207L6.658,2L8.342,2ZM4.415,2L4.415,8.207C4.415,8.429 4.594,8.609 4.816,8.609L5.331,8.609L5.331,13L2,13L2,2L4.415,2Z"),t(e,"width","15px"),t(e,"height","15px"),t(e,"viewBox","0 0 15 15"),t(e,"fill","#4a4a4a"),o(e,"margin-left","6px"),o(e,"margin-top","4px"),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(s,a){te(s,e,a),i(e,l),i(l,r)},d(s){s&&ee(e)}}}function Jt(n){let e,l,r,s,a;return{c(){e=m("svg"),l=m("g"),r=m("svg"),s=m("path"),a=m("rect"),t(s,"d","M3,10.5L1.45,5.114C1.45,5.114 3.559,6.117 4.561,6.593C4.852,6.732 5.202,6.624 5.364,6.344C5.757,5.667 6.47,4.437 6.963,3.587C7.074,3.395 7.279,3.277 7.5,3.277C7.721,3.277 7.926,3.395 8.037,3.587C8.53,4.437 9.243,5.667 9.636,6.344C9.798,6.624 10.148,6.732 10.439,6.593C11.441,6.117 13.55,5.114 13.55,5.114L12,10.5L3,10.5"),o(s,"fill-rule","nonzero"),t(r,"viewBox","0 0 15 15"),t(a,"x","3"),t(a,"y","11"),t(a,"width","9"),t(a,"height","1"),o(a,"fill-rule","nonzero"),t(e,"width","15px"),t(e,"height","15px"),t(e,"fill","#cfcfcf"),o(e,"margin-left","6px"),o(e,"margin-top","3px"),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(d,f){te(d,e,f),i(e,l),i(l,r),i(r,s),i(l,a)},d(d){d&&ee(e)}}}function Qt(n){let e,l,r;return{c(){e=m("svg"),l=m("g"),r=m("path"),t(r,"d","M3.014,4.956L3.16,4.811C3.16,4.893 3.097,4.961 3.017,4.97C3.016,4.965 3.015,4.961 3.014,4.956ZM3.16,4.811C3.16,4.485 3.424,4.221 3.75,4.221L6.25,4.221C7.819,4.221 9.09,5.492 9.09,7.061L9.09,10C9.09,10.065 9.129,10.123 9.189,10.148C9.249,10.172 9.317,10.159 9.363,10.113L11.47,8.007L12.304,8.841L8.5,12.646L4.696,8.841L5.53,8.007C5.53,8.007 7.637,10.113 7.637,10.113C7.683,10.159 7.751,10.172 7.811,10.148C7.871,10.123 7.91,10.065 7.91,10L7.91,6.828C7.91,6.04 7.271,5.401 6.483,5.401L3.75,5.401C3.593,5.401 3.443,5.339 3.333,5.228C3.222,5.118 3.16,4.968 3.16,4.811Z"),o(r,"fill-rule","nonzero"),t(e,"width","15px"),t(e,"height","15px"),t(e,"viewBox","0 0 15 15"),t(e,"fill","#cfcfcf"),o(e,"margin-left","6px"),o(e,"margin-top","3px"),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(s,a){te(s,e,a),i(e,l),i(l,r)},d(s){s&&ee(e)}}}function So(n){let e,l;return{c(){e=m("svg"),l=m("rect"),t(l,"x","7"),t(l,"y","5"),t(l,"width","9"),t(l,"height","9"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","23px"),t(e,"height","19px"),t(e,"fill","#4f4f4f")},m(r,s){te(r,e,s),i(e,l)},p:z,d(r){r&&ee(e)}}}function Ao(n){let e,l,r;return{c(){e=m("svg"),l=m("circle"),t(l,"cx","11.5"),t(l,"cy","9.5"),t(l,"r","5"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","23px"),t(e,"height","19px"),t(e,"fill",r=n[5].window["Normal Toggle Icon"])},m(s,a){te(s,e,a),i(e,l)},p(s,a){a&32&&r!==(r=s[5].window["Normal Toggle Icon"])&&t(e,"fill",r)},d(s){s&&ee(e)}}}function Ho(n){let e,l;return{c(){e=m("svg"),l=m("rect"),t(l,"x","7"),t(l,"y","5"),t(l,"width","9"),t(l,"height","9"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","23px"),t(e,"height","19px"),t(e,"fill","#4f4f4f")},m(r,s){te(r,e,s),i(e,l)},p:z,d(r){r&&ee(e)}}}function jo(n){let e,l,r;return{c(){e=m("svg"),l=m("circle"),t(l,"cx","11.5"),t(l,"cy","9.5"),t(l,"r","5"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","23px"),t(e,"height","19px"),t(e,"fill",r=n[5].window["Normal Toggle Icon"])},m(s,a){te(s,e,a),i(e,l)},p(s,a){a&32&&r!==(r=s[5].window["Normal Toggle Icon"])&&t(e,"fill",r)},d(s){s&&ee(e)}}}function Po(n){let e,l,r,s,a,d,f,b,w,x,$,B,S,A,N,I,U,ae,oe,Y,ge,ve,F,V,D,J,we,ne,W,ce,le,T,c,p,g,_,h,y,v,k,L,P,q,K,Q,O,Z,G,X,ke,Ce,me,je,Ee,Pe=n[0]==="a"&&Yt(),Be=n[0]==="i"&&Xt(),Se=n[0]==="m"&&Jt(),Te=n[0]==="f"&&Qt();function Ne(R,he){return R[2]?Ao:So}let j=Ne(n),H=j(n);function be(R,he){return R[2]?jo:Ho}let Re=be(n),Me=Re(n);return{c(){e=u("span"),l=u("span"),r=u("span"),s=u("span"),a=C(),d=u("span"),f=u("span"),b=u("i"),w=Ie(n[4]),x=C(),$=u("span"),B=u("span"),S=m("svg"),A=m("circle"),ae=C(),oe=u("span"),oe.textContent="S",Y=C(),ge=u("span"),ge.textContent="M",ve=C(),F=u("span"),Pe&&Pe.c(),V=C(),Be&&Be.c(),D=C(),Se&&Se.c(),J=C(),Te&&Te.c(),we=C(),ne=u("span"),W=u("span"),ce=C(),le=u("span"),T=C(),c=u("span"),c.innerHTML='',p=C(),g=u("span"),h=C(),y=u("span"),v=u("span"),k=m("svg"),L=m("rect"),q=C(),K=u("span"),H.c(),Q=C(),O=u("span"),Me.c(),Z=C(),G=u("span"),X=m("svg"),ke=m("rect"),Ce=m("rect"),me=m("rect"),je=m("svg"),Ee=m("polygon"),o(s,"height","100%"),o(s,"width","6px"),o(s,"background-color",n[3]),o(b,"margin-left","6px"),o(b,"color",n[1]?"#000000":"#ffffff"),t(A,"cx","4.5"),t(A,"cy","4.5"),t(A,"r","4.5"),t(A,"fill",N=n[2]?"black":"white"),t(S,"class","circle"),t(S,"width","9px"),t(S,"height","9px"),t(B,"class",I="button "+(n[2]?"rec":"button-background")+" svelte-zts7k"),t(B,"style",U=n[2]?"background-color:red;background-image:none;":""),t(oe,"class","button button-background svelte-zts7k"),t(ge,"class","button button-background svelte-zts7k"),o($,"display","flex"),o(f,"display","flex"),o(f,"justify-content","space-between"),o(f,"width","100%"),t(W,"class","on"),o(W,"display","flex"),o(W,"width","52px"),o(W,"height","14px"),o(W,"background-color",n[5].window.On),o(W,"opacity","0.3"),t(le,"class","on"),o(le,"display","flex"),o(le,"width","1px"),o(le,"height","14px"),o(le,"background-color",n[5].window.On),o(le,"opacity","0.7"),t(ne,"class","display-background"),o(ne,"align-items","center"),o(ne,"margin-left","5px"),o(ne,"margin-top","3px"),o(ne,"display","flex"),o(ne,"width","123px"),o(ne,"height","13px"),o(ne,"background-color",n[5].window["Display Background"]),o(ne,"border","2px solid "+n[5].window["Display Background"]),o(ne,"border-radius","3px"),o(ne,"overflow","hidden"),t(c,"class","button button-background svelte-zts7k"),o(c,"margin-top","3px"),o(c,"margin-left","6px"),o(F,"display","flex"),o(F,"justify-content","space-between"),o(F,"width","100%"),o(d,"display","flex"),o(d,"flex-direction","column"),o(d,"width","100%"),o(g,"margin-right","4px"),o(g,"height","37px"),o(g,"width","8px"),o(g,"background-color",n[5].window["Display Background"]),t(r,"class",_="instrument "+(n[1]?"selected-inst":"unselected-inst")+" svelte-zts7k"),o(r,"display","flex"),o(r,"justify-content","flex-start"),o(r,"background-color",n[1]?n[5].window["Selected Panel body"]:n[5].window["Panel body"]),o(l,"display","flex"),t(L,"x","7"),t(L,"y","5"),t(L,"width","9"),t(L,"height","9"),t(k,"x","0px"),t(k,"y","0px"),t(k,"width","23px"),t(k,"height","19px"),t(k,"fill",P=n[5].window["Normal Toggle Icon"]),t(v,"class","panel-body"),o(v,"display","flex"),o(v,"justify-content","center"),o(v,"align-items","center"),o(v,"width","25px"),o(v,"height","43px"),o(v,"border-left","1px solid "+n[5].window["Hole (dark)"]),o(v,"background-color",n[5].window["Panel body"]),t(K,"class","hole-medium"),o(K,"display","flex"),o(K,"justify-content","flex-start"),o(K,"align-items","center"),o(K,"width","85px"),o(K,"height","43px"),o(K,"border-left","1px solid "+n[5].window["Hole (dark)"]),o(K,"background-color",n[5].window["Hole (medium)"]),t(O,"class","hole-medium"),o(O,"display","flex"),o(O,"justify-content","flex-start"),o(O,"align-items","center"),o(O,"width","84px"),o(O,"height","43px"),o(O,"border-left","1px solid "+n[5].window["Hole (dark)"]),o(O,"background-color",n[5].window["Hole (medium)"]),o(O,"box-shadow","inset #202020 -10px 0px 12px -10px"),t(ke,"x","2"),t(ke,"y","2"),t(ke,"width","11"),t(ke,"height","3"),t(Ce,"x","2"),t(Ce,"y","6"),t(Ce,"width","11"),t(Ce,"height","3"),t(me,"x","2"),t(me,"y","10"),t(me,"width","7"),t(me,"height","3"),t(Ee,"points","15,12.5 10,15 10,10 "),t(je,"viewBox","0 0 15 15"),t(X,"x","0px"),t(X,"y","0px"),t(X,"width","15px"),t(X,"height","15px"),t(X,"fill","#696969"),t(G,"class","button-in-tree-background"),o(G,"display","flex"),o(G,"justify-content","center"),o(G,"align-items","center"),o(G,"width","23px"),o(G,"height","43px"),o(G,"border-left","1px solid "+n[5].window["Hole (dark)"]),o(G,"background-color",n[5].window["Button in tree background"]),o(y,"display","flex"),t(e,"class","channels-row svelte-zts7k"),o(e,"--button-gradient",n[5].window["Button background"].length==9?n[5].window["Button background"].substring(0,7)+"D0":"#767676"),o(e,"--button-background",n[5].window["Button background"]),o(e,"--button-stroke",n[5].window["Button stroke"]),o(e,"display","flex"),o(e,"justify-content","space-between"),o(e,"border-top","1px solid "+n[5].window["Hole (dark)"]),o(e,"border-left","1px solid "+n[5].window["Hole (dark)"]),o(e,"background-color",n[1]?n[5].window["Selected Panel body"]:n[5].window["Panel body"])},m(R,he){te(R,e,he),i(e,l),i(l,r),i(r,s),i(r,a),i(r,d),i(d,f),i(f,b),i(b,w),i(f,x),i(f,$),i($,B),i(B,S),i(S,A),i($,ae),i($,oe),i($,Y),i($,ge),i(d,ve),i(d,F),Pe&&Pe.m(F,null),i(F,V),Be&&Be.m(F,null),i(F,D),Se&&Se.m(F,null),i(F,J),Te&&Te.m(F,null),i(F,we),i(F,ne),i(ne,W),i(ne,ce),i(ne,le),i(F,T),i(F,c),i(r,p),i(r,g),i(e,h),i(e,y),i(y,v),i(v,k),i(k,L),i(y,q),i(y,K),H.m(K,null),i(y,Q),i(y,O),Me.m(O,null),i(y,Z),i(y,G),i(G,X),i(X,ke),i(X,Ce),i(X,me),i(X,je),i(je,Ee)},p(R,[he]){he&8&&o(s,"background-color",R[3]),he&16&&Nt(w,R[4]),he&2&&o(b,"color",R[1]?"#000000":"#ffffff"),he&4&&N!==(N=R[2]?"black":"white")&&t(A,"fill",N),he&4&&I!==(I="button "+(R[2]?"rec":"button-background")+" svelte-zts7k")&&t(B,"class",I),he&4&&U!==(U=R[2]?"background-color:red;background-image:none;":"")&&t(B,"style",U),R[0]==="a"?Pe||(Pe=Yt(),Pe.c(),Pe.m(F,V)):Pe&&(Pe.d(1),Pe=null),R[0]==="i"?Be||(Be=Xt(),Be.c(),Be.m(F,D)):Be&&(Be.d(1),Be=null),R[0]==="m"?Se||(Se=Jt(),Se.c(),Se.m(F,J)):Se&&(Se.d(1),Se=null),R[0]==="f"?Te||(Te=Qt(),Te.c(),Te.m(F,we)):Te&&(Te.d(1),Te=null),he&32&&o(W,"background-color",R[5].window.On),he&32&&o(le,"background-color",R[5].window.On),he&32&&o(ne,"background-color",R[5].window["Display Background"]),he&32&&o(ne,"border","2px solid "+R[5].window["Display Background"]),he&32&&o(g,"background-color",R[5].window["Display Background"]),he&2&&_!==(_="instrument "+(R[1]?"selected-inst":"unselected-inst")+" svelte-zts7k")&&t(r,"class",_),he&34&&o(r,"background-color",R[1]?R[5].window["Selected Panel body"]:R[5].window["Panel body"]),he&32&&P!==(P=R[5].window["Normal Toggle Icon"])&&t(k,"fill",P),he&32&&o(v,"border-left","1px solid "+R[5].window["Hole (dark)"]),he&32&&o(v,"background-color",R[5].window["Panel body"]),j===(j=Ne(R))&&H?H.p(R,he):(H.d(1),H=j(R),H&&(H.c(),H.m(K,null))),he&32&&o(K,"border-left","1px solid "+R[5].window["Hole (dark)"]),he&32&&o(K,"background-color",R[5].window["Hole (medium)"]),Re===(Re=be(R))&&Me?Me.p(R,he):(Me.d(1),Me=Re(R),Me&&(Me.c(),Me.m(O,null))),he&32&&o(O,"border-left","1px solid "+R[5].window["Hole (dark)"]),he&32&&o(O,"background-color",R[5].window["Hole (medium)"]),he&32&&o(G,"border-left","1px solid "+R[5].window["Hole (dark)"]),he&32&&o(G,"background-color",R[5].window["Button in tree background"]),he&32&&o(e,"--button-gradient",R[5].window["Button background"].length==9?R[5].window["Button background"].substring(0,7)+"D0":"#767676"),he&32&&o(e,"--button-background",R[5].window["Button background"]),he&32&&o(e,"--button-stroke",R[5].window["Button stroke"]),he&32&&o(e,"border-top","1px solid "+R[5].window["Hole (dark)"]),he&32&&o(e,"border-left","1px solid "+R[5].window["Hole (dark)"]),he&34&&o(e,"background-color",R[1]?R[5].window["Selected Panel body"]:R[5].window["Panel body"])},i:z,o:z,d(R){R&&ee(e),Pe&&Pe.d(),Be&&Be.d(),Se&&Se.d(),Te&&Te.d(),H.d(),Me.d()}}}function Eo(n,e,l){let{type:r}=e,{isSelected:s=!1}=e,{isRec:a=!1}=e,{color:d="#808080"}=e,{name:f}=e,b;return Ye.subscribe(w=>{l(5,b=w)}),n.$$set=w=>{"type"in w&&l(0,r=w.type),"isSelected"in w&&l(1,s=w.isSelected),"isRec"in w&&l(2,a=w.isRec),"color"in w&&l(3,d=w.color),"name"in w&&l(4,f=w.name)},[r,s,a,d,f,b]}class xt extends $e{constructor(e){super(),_e(this,e,Eo,Po,Le,{type:0,isSelected:1,isRec:2,color:3,name:4})}}function en(n,e,l){const r=n.slice();return r[2]=e[l],r}function tn(n,e,l){const r=n.slice();return r[2]=e[l],r}function nn(n,e,l){const r=n.slice();return r[2]=e[l],r}function on(n,e,l){const r=n.slice();return r[2]=e[l],r}function ln(n,e,l){const r=n.slice();return r[2]=e[l],r}function rn(n){let e;return{c(){e=u("span"),o(e,"height","100%"),o(e,"margin-left","16px"),o(e,"border-right",n[2]%4==0?"1px solid #00000080":"0.5px solid #00000040")},m(l,r){te(l,e,r)},p:z,d(l){l&&ee(e)}}}function sn(n){let e;return{c(){e=u("span"),o(e,"height","100%"),o(e,"margin-left","16px"),o(e,"border-right",n[2]%4==0?"1px solid #00000080":"0.5px solid #00000040")},m(l,r){te(l,e,r)},p:z,d(l){l&&ee(e)}}}function an(n){let e;return{c(){e=u("span"),o(e,"height","100%"),o(e,"margin-left","16px"),o(e,"border-right",n[2]%4==0?"1px solid #00000080":"0.5px solid #00000040")},m(l,r){te(l,e,r)},p:z,d(l){l&&ee(e)}}}function cn(n){let e;return{c(){e=u("span"),o(e,"height","100%"),o(e,"margin-left","16px"),o(e,"border-right",n[2]%4==0?"1px solid #00000080":"0.5px solid #00000040")},m(l,r){te(l,e,r)},p:z,d(l){l&&ee(e)}}}function dn(n){let e;return{c(){e=u("span"),o(e,"height","100%"),o(e,"margin-left","16px"),o(e,"border-right",n[2]%4==0?"1px solid #00000080":"0.5px solid #00000040")},m(l,r){te(l,e,r)},p:z,d(l){l&&ee(e)}}}function Oo(n){let e,l,r,s,a,d,f,b,w,x,$,B,S,A,N,I,U,ae,oe,Y,ge,ve,F,V,D,J,we,ne,W,ce,le,T,c,p,g,_,h,y,v,k,L,P,q,K,Q,O,Z,G,X,ke,Ce,me,je,Ee,Pe,Be,Se,Te,Ne,j,H,be,Re,Me,R,he,et,nt,De,Xe,ot,ze,He,ie,xe,qe,ct,tt,$t,st,Zt,dt,lt,Ft,it,Gt,St,ye;Be=new xt({props:{name:"Inst 1",type:"i",color:"#FF5706",isSelected:!0,isRec:!0}}),Te=new xt({props:{name:"Audio 2",type:"a",color:"#D99D10"}}),R=new xt({props:{name:"FX 1",type:"f"}}),et=new xt({props:{name:"Master",type:"m"}});let pt=Fe(n[1]),Ge=[];for(let M=0;M{l(0,r=a)});let s=Array.from({length:Io},(a,d)=>d);return[r,s]}class zo extends $e{constructor(e){super(),_e(this,e,Do,Oo,Le,{})}}function No(n){let e,l,r,s;return{c(){e=u("div"),l=u("span"),l.innerHTML=' PROJECT ',r=C(),s=u("span"),s.innerHTML=' INST 1 ',t(l,"class","column svelte-1p97y0a"),t(s,"class","column svelte-1p97y0a"),t(e,"id","device-bg"),o(e,"--hole-dark",n[0].window["Hole (dark)"]),o(e,"--panel-body",n[0].window["Panel body"]),o(e,"--panel-stroke",n[0].window["Panel stroke"]),o(e,"--device-header",n[0].window["Device Header"]),t(e,"class","svelte-1p97y0a")},m(a,d){te(a,e,d),i(e,l),i(e,r),i(e,s)},p(a,[d]){d&1&&o(e,"--hole-dark",a[0].window["Hole (dark)"]),d&1&&o(e,"--panel-body",a[0].window["Panel body"]),d&1&&o(e,"--panel-stroke",a[0].window["Panel stroke"]),d&1&&o(e,"--device-header",a[0].window["Device Header"])},i:z,o:z,d(a){a&&ee(e)}}}function Ro(n,e,l){let r;return Ye.subscribe(s=>{l(0,r=s)}),[r]}class qo extends $e{constructor(e){super(),_e(this,e,Ro,No,Le,{})}}function Zo(n){let e,l,r,s,a;return l=new zo({}),s=new qo({}),{c(){e=u("div"),fe(l.$$.fragment),r=C(),fe(s.$$.fragment),t(e,"class","svelte-1q5krv1")},m(d,f){te(d,e,f),ue(l,e,null),i(e,r),ue(s,e,null),a=!0},p:z,i(d){a||(re(l.$$.fragment,d),re(s.$$.fragment,d),a=!0)},o(d){se(l.$$.fragment,d),se(s.$$.fragment,d),a=!1},d(d){d&&ee(e),pe(l),pe(s)}}}class Fo extends $e{constructor(e){super(),_e(this,e,null,Zo,Le,{})}}function Go(n){let e,l,r,s,a,d,f;return{c(){e=m("svg"),l=m("g"),r=m("g"),s=m("g"),a=m("g"),d=m("path"),f=m("path"),t(d,"d","M8.719,3.594C8.684,3.609 8.652,3.63 8.625,3.656C8.546,3.715 8.5,3.808 8.5,3.906L8.5,7.719L5.156,5.813C5.017,5.736 4.841,5.777 4.75,5.906C4.739,5.916 4.728,5.926 4.719,5.938L4.031,7.156C3.972,7.266 3.984,7.402 4.063,7.5C4.08,7.524 4.101,7.545 4.125,7.563C4.135,7.574 4.145,7.584 4.156,7.594L7.438,9.5L4.156,11.406C4.133,11.424 4.112,11.445 4.094,11.469C3.991,11.565 3.965,11.719 4.031,11.844L4.719,13.063C4.772,13.166 4.88,13.232 4.996,13.232C5.053,13.232 5.108,13.216 5.156,13.188L8.5,11.281L8.5,15.094C8.5,15.161 8.522,15.227 8.563,15.281C8.621,15.36 8.714,15.406 8.813,15.406L10.188,15.406C10.255,15.406 10.321,15.384 10.375,15.344C10.454,15.285 10.5,15.192 10.5,15.094L10.5,11.281L13.844,13.188C13.983,13.264 14.159,13.223 14.25,13.094C14.261,13.084 14.272,13.074 14.281,13.063L14.969,11.844C15.028,11.734 15.016,11.598 14.938,11.5C14.92,11.476 14.899,11.455 14.875,11.438C14.865,11.426 14.855,11.416 14.844,11.406L11.563,9.5L14.844,7.594C14.867,7.576 14.888,7.555 14.906,7.531C15.009,7.435 15.035,7.281 14.969,7.156L14.281,5.938C14.228,5.834 14.12,5.768 14.004,5.768C13.947,5.768 13.892,5.784 13.844,5.813L10.5,7.719L10.5,3.906C10.5,3.839 10.478,3.773 10.438,3.719C10.379,3.64 10.286,3.594 10.188,3.594L8.813,3.594C8.781,3.589 8.75,3.589 8.719,3.594Z"),o(d,"fill","rgb(179,179,179)"),o(d,"fill-rule","nonzero"),t(f,"d","M4.285,5.493C4.289,5.488 4.293,5.484 4.297,5.48C4.581,5.148 5.068,5.055 5.456,5.269C5.459,5.271 5.461,5.272 5.464,5.273L7.879,6.651L7.879,3.907C7.879,3.623 8.008,3.355 8.221,3.185C8.296,3.118 8.381,3.064 8.473,3.024C8.522,3.003 8.573,2.988 8.626,2.98C8.702,2.969 8.779,2.967 8.846,2.973L10.187,2.973C10.481,2.973 10.758,3.112 10.934,3.346C11.055,3.508 11.121,3.705 11.121,3.906L11.121,6.651C11.121,6.651 13.535,5.274 13.535,5.274C13.677,5.191 13.839,5.148 14.004,5.148C14.347,5.148 14.664,5.338 14.826,5.64L15.509,6.851C15.512,6.856 15.514,6.86 15.516,6.864C15.707,7.223 15.643,7.665 15.369,7.946C15.323,8 15.272,8.048 15.216,8.09C15.197,8.105 15.176,8.118 15.155,8.13L12.798,9.5L15.155,10.87C15.189,10.889 15.221,10.912 15.25,10.937C15.271,10.955 15.29,10.973 15.299,10.983C15.346,11.024 15.39,11.07 15.428,11.12C15.656,11.411 15.691,11.812 15.515,12.139C15.513,12.142 15.511,12.145 15.509,12.149L14.822,13.367C14.801,13.404 14.777,13.438 14.75,13.469C14.739,13.482 14.727,13.495 14.715,13.507C14.711,13.512 14.707,13.516 14.703,13.52C14.419,13.852 13.932,13.945 13.544,13.731C13.541,13.729 13.539,13.728 13.536,13.727L11.121,12.349L11.121,15.093C11.121,15.387 10.982,15.664 10.747,15.84C10.586,15.961 10.389,16.027 10.188,16.027L8.813,16.027C8.519,16.027 8.242,15.888 8.066,15.654C7.945,15.492 7.879,15.295 7.879,15.094L7.879,12.349C7.879,12.349 5.465,13.726 5.465,13.726C5.323,13.809 5.161,13.852 4.996,13.852C4.653,13.852 4.336,13.662 4.174,13.36L3.491,12.149C3.488,12.144 3.486,12.14 3.484,12.136C3.293,11.777 3.357,11.335 3.631,11.054C3.677,11 3.728,10.952 3.784,10.91C3.803,10.895 3.824,10.882 3.845,10.87L6.202,9.5L3.845,8.13C3.811,8.111 3.779,8.088 3.75,8.063C3.729,8.045 3.71,8.027 3.701,8.017C3.654,7.976 3.61,7.93 3.572,7.88C3.344,7.589 3.309,7.188 3.485,6.861C3.487,6.858 3.489,6.855 3.491,6.851L4.178,5.633C4.199,5.596 4.223,5.562 4.25,5.531C4.261,5.518 4.273,5.505 4.285,5.493ZM8.719,3.594C8.684,3.609 8.652,3.63 8.625,3.656C8.546,3.715 8.5,3.808 8.5,3.906L8.5,7.719L5.156,5.813C5.017,5.736 4.841,5.777 4.75,5.906C4.739,5.916 4.728,5.926 4.719,5.938L4.031,7.156C3.972,7.266 3.984,7.402 4.063,7.5C4.08,7.524 4.101,7.545 4.125,7.563C4.135,7.574 4.145,7.584 4.156,7.594L7.438,9.5L4.156,11.406C4.133,11.424 4.112,11.445 4.094,11.469C3.991,11.565 3.965,11.719 4.031,11.844L4.719,13.062C4.772,13.166 4.88,13.232 4.996,13.232C5.053,13.232 5.108,13.216 5.156,13.188L8.5,11.281L8.5,15.094C8.5,15.161 8.522,15.227 8.563,15.281C8.621,15.36 8.714,15.406 8.813,15.406L10.188,15.406C10.255,15.406 10.321,15.384 10.375,15.344C10.454,15.285 10.5,15.192 10.5,15.094L10.5,11.281L13.844,13.188C13.983,13.264 14.159,13.223 14.25,13.094C14.261,13.084 14.272,13.074 14.281,13.062L14.969,11.844C15.028,11.734 15.016,11.598 14.938,11.5C14.92,11.476 14.899,11.455 14.875,11.438C14.865,11.426 14.855,11.416 14.844,11.406L11.563,9.5L14.844,7.594C14.867,7.576 14.888,7.555 14.906,7.531C15.009,7.435 15.035,7.281 14.969,7.156L14.281,5.938C14.228,5.834 14.12,5.768 14.004,5.768C13.947,5.768 13.892,5.784 13.844,5.813L10.5,7.719L10.5,3.906C10.5,3.839 10.478,3.773 10.438,3.719C10.379,3.64 10.286,3.594 10.188,3.594L8.813,3.594C8.781,3.589 8.75,3.589 8.719,3.594Z"),o(f,"fill-opacity","0.66"),t(a,"transform","matrix(0.665624,0,0,0.665624,3.17657,16.1778)"),t(r,"transform","matrix(1.21053,0,0,1.21053,31,17.2632)"),t(l,"transform","matrix(1,0,0,1,-31,-33)"),t(e,"width","23px"),t(e,"height","23px"),t(e,"viewBox","0 0 23 23"),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(b,w){te(b,e,w),i(e,l),i(l,r),i(r,s),i(s,a),i(a,d),i(a,f)},p:z,i:z,o:z,d(b){b&&ee(e)}}}class vt extends $e{constructor(e){super(),_e(this,e,null,Go,Le,{})}}function Vo(n){let e;return{c(){e=u("div"),e.innerHTML=' '},m(l,r){te(l,e,r)},p:z,i:z,o:z,d(l){l&&ee(e)}}}class Uo extends $e{constructor(e){super(),_e(this,e,null,Vo,Le,{})}}function Ko(n){let e,l,r,s,a,d,f,b,w,x,$,B,S,A,N,I,U,ae,oe,Y,ge,ve,F,V,D,J,we,ne,W,ce,le,T,c,p,g,_,h,y,v,k;return r=new Uo({}),S=new vt({}),U=new vt({}),ge=new vt({}),J=new vt({}),ce=new vt({}),p=new vt({}),{c(){e=u("div"),l=u("span"),fe(r.$$.fragment),s=C(),a=u("span"),d=u("i"),d.textContent="Everything",f=C(),b=u("span"),b.innerHTML=' Search ',w=C(),x=u("span"),$=u("span"),B=u("i"),fe(S.$$.fragment),A=Ie("Location"),N=C(),I=u("i"),fe(U.$$.fragment),ae=Ie("Category"),oe=C(),Y=u("i"),fe(ge.$$.fragment),ve=Ie("Device"),F=C(),V=u("span"),D=u("i"),fe(J.$$.fragment),we=Ie("File Kind"),ne=C(),W=u("i"),fe(ce.$$.fragment),le=Ie("Creator"),T=C(),c=u("i"),fe(p.$$.fragment),g=Ie("Tags"),_=C(),h=u("span"),h.innerHTML='',y=C(),v=u("span"),v.innerHTML="",t(l,"class","top-nav svelte-q1jjt6"),t(d,"class","svelte-q1jjt6"),t(b,"class","search-bar hole-dark svelte-q1jjt6"),t(B,"class","svelte-q1jjt6"),t(I,"class","svelte-q1jjt6"),t(Y,"class","svelte-q1jjt6"),t($,"class","location-side svelte-q1jjt6"),t(D,"class","svelte-q1jjt6"),t(W,"class","svelte-q1jjt6"),t(c,"class","svelte-q1jjt6"),t(V,"class","location-side svelte-q1jjt6"),t(x,"class","locations svelte-q1jjt6"),t(a,"class","everything-bar svelte-q1jjt6"),t(h,"class","files hole-dark svelte-q1jjt6"),t(v,"class","bottom-bar svelte-q1jjt6"),t(e,"id","browser-panel"),o(e,"--hole-dark",n[0].window["Hole (dark)"]),o(e,"--panel-body",n[0].window["Panel body"]),o(e,"--panel-stroke",n[0].window["Panel stroke"]),o(e,"--hole-medium",n[0].window["Hole (medium)"]),t(e,"class","svelte-q1jjt6")},m(L,P){te(L,e,P),i(e,l),ue(r,l,null),i(e,s),i(e,a),i(a,d),i(a,f),i(a,b),i(a,w),i(a,x),i(x,$),i($,B),ue(S,B,null),i(B,A),i($,N),i($,I),ue(U,I,null),i(I,ae),i($,oe),i($,Y),ue(ge,Y,null),i(Y,ve),i(x,F),i(x,V),i(V,D),ue(J,D,null),i(D,we),i(V,ne),i(V,W),ue(ce,W,null),i(W,le),i(V,T),i(V,c),ue(p,c,null),i(c,g),i(e,_),i(e,h),i(e,y),i(e,v),k=!0},p(L,[P]){(!k||P&1)&&o(e,"--hole-dark",L[0].window["Hole (dark)"]),(!k||P&1)&&o(e,"--panel-body",L[0].window["Panel body"]),(!k||P&1)&&o(e,"--panel-stroke",L[0].window["Panel stroke"]),(!k||P&1)&&o(e,"--hole-medium",L[0].window["Hole (medium)"])},i(L){k||(re(r.$$.fragment,L),re(S.$$.fragment,L),re(U.$$.fragment,L),re(ge.$$.fragment,L),re(J.$$.fragment,L),re(ce.$$.fragment,L),re(p.$$.fragment,L),k=!0)},o(L){se(r.$$.fragment,L),se(S.$$.fragment,L),se(U.$$.fragment,L),se(ge.$$.fragment,L),se(J.$$.fragment,L),se(ce.$$.fragment,L),se(p.$$.fragment,L),k=!1},d(L){L&&ee(e),pe(r),pe(S),pe(U),pe(ge),pe(J),pe(ce),pe(p)}}}function Wo(n,e,l){let r;return Ye.subscribe(s=>{l(0,r=s)}),[r]}class Yo extends $e{constructor(e){super(),_e(this,e,Wo,Ko,Le,{})}}let Bt=null;const Oe=(n,e)=>{n.stopPropagation(),setTimeout(()=>{const l=document.getElementById(e);l.scrollIntoView({behavior:"smooth",block:"center"}),l.parentElement.parentElement.style.backgroundColor="lime",Bt!==null&&Bt!==l&&(Bt.parentElement.parentElement.style.backgroundColor="whitesmoke"),Bt=l},0)},Ae=Rt("window"),Xo=()=>{Array.from(document.getElementsByClassName("panel-body")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Panel body")})}),Array.from(document.getElementsByClassName("button-background")).forEach(n=>{if(n.id=="rec"){n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Record button color")});return}if(n.id=="play"){n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"On")});return}n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Button background")})}),Array.from(document.getElementsByClassName("hitech-group")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Hitech on")})})},Jo=()=>{document.getElementById("top_bar").addEventListener("mousedown",n=>{Ae.set("window"),Oe(n,"Window background")})},Qo=()=>{document.getElementById("browser-panel").addEventListener("mousedown",n=>{Ae.set("window"),Oe(n,"Hole (medium)")}),Array.from(document.getElementsByClassName("hole-dark")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Hole (dark)")})})},el=()=>{document.getElementById("device-bg").addEventListener("mousedown",n=>{Ae.set("window"),Oe(n,"Hole (dark)")}),Array.from(document.getElementsByClassName("column")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Device Header")})})},tl=()=>{document.getElementById("insp_title").addEventListener("mousedown",n=>{Ae.set("window"),Oe(n,"Panel body")}),document.getElementById("cpu_svg").addEventListener("mousedown",n=>{Ae.set("window"),Oe(n,"On")}),Array.from(document.getElementsByClassName("display-background")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Display Background")})}),Array.from(document.getElementsByClassName("hole-light")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Hole (light)")})}),Array.from(document.getElementsByClassName("hole-medium")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Hole (medium)")})}),Array.from(document.getElementsByClassName("on")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"On")})}),Array.from(document.getElementsByClassName("rec")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Record button color")})})},nl=()=>{document.getElementById("bottom_bar").addEventListener("mousedown",n=>{Ae.set("window"),Oe(n,"Window background")})},ol=()=>{Array.from(document.getElementsByClassName("top-level-timeline-header-background")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("arranger"),Oe(e,"Top Level Timeline Header Background")})}),Array.from(document.getElementsByClassName("light-timeline-background")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("arranger"),Oe(e,"Light Timeline Background")})}),Array.from(document.getElementsByClassName("dark-timeline-background")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("arranger"),Oe(e,"Dark Timeline Background")})}),Array.from(document.getElementsByClassName("button-in-tree-background")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Button in tree background")})})},ll=()=>{Array.from(document.getElementsByClassName("selected-inst")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Selected Panel body")})}),Array.from(document.getElementsByClassName("unselected-inst")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Panel body")})})},il=()=>{Xo(),Jo(),Qo(),el(),tl(),nl(),ol(),ll()};function rl(n){let e,l,r,s,a,d,f,b,w,x,$,B,S,A,N;return l=new Nn({}),s=new uo({}),f=new Mo({}),w=new Fo({}),$=new Yo({}),S=new ho({}),{c(){e=u("div"),fe(l.$$.fragment),r=C(),fe(s.$$.fragment),a=C(),d=u("span"),fe(f.$$.fragment),b=C(),fe(w.$$.fragment),x=C(),fe($.$$.fragment),B=C(),fe(S.$$.fragment),t(d,"class","svelte-11joe25"),t(e,"id","bitwig"),t(e,"style",A=" background-color: "+n[0].window["Window background"]+"; zoom: "+n[1]+"%;"),t(e,"class","svelte-11joe25")},m(I,U){te(I,e,U),ue(l,e,null),i(e,r),ue(s,e,null),i(e,a),i(e,d),ue(f,d,null),i(d,b),ue(w,d,null),i(d,x),ue($,d,null),i(e,B),ue(S,e,null),N=!0},p(I,[U]){(!N||U&3&&A!==(A=" background-color: "+I[0].window["Window background"]+"; zoom: "+I[1]+"%;"))&&t(e,"style",A)},i(I){N||(re(l.$$.fragment,I),re(s.$$.fragment,I),re(f.$$.fragment,I),re(w.$$.fragment,I),re($.$$.fragment,I),re(S.$$.fragment,I),N=!0)},o(I){se(l.$$.fragment,I),se(s.$$.fragment,I),se(f.$$.fragment,I),se(w.$$.fragment,I),se($.$$.fragment,I),se(S.$$.fragment,I),N=!1},d(I){I&&ee(e),pe(l),pe(s),pe(f),pe(w),pe($),pe(S)}}}function sl(n,e,l){let r;Ye.subscribe(a=>{l(0,r=a)});let s=100;return at.subscribe(a=>{l(1,s=a)}),Mt(()=>{il()}),[r,s]}class al extends $e{constructor(e){super(),_e(this,e,sl,rl,Le,{})}}const cl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAAN0lEQVQ4jWN8+vQpA24gJSWFU46BgQlDhAQwqnlkaGb8//8/hiACPHv2DENsZAfYqGZSAAMDAwDAoQjTb+zK0AAAAABJRU5ErkJggg==";function dl(n){let e,l,r;return l=new al({}),{c(){e=u("div"),fe(l.$$.fragment),o(e,"background-image","url("+cl+")"),t(e,"class","svelte-gyjpao")},m(s,a){te(s,e,a),ue(l,e,null),r=!0},p:z,i(s){r||(re(l.$$.fragment,s),r=!0)},o(s){se(l.$$.fragment,s),r=!1},d(s){s&&ee(e),pe(l)}}}class ul extends $e{constructor(e){super(),_e(this,e,null,dl,Le,{})}}const pl={advanced:{"Timeline Playhead":"The playhead in the timeline while the track is playing."},window:{"Abstract Button Pressed Background":"","Abstract Button Selected Background":"","Abstract Button Stroke":"","Abstract Button Unselected Background":"","Activation Green":'Status of Activation inside "Manage Licenses" popup.',"Activation Red":'Status of Activation inside "Manage Licenses" popup.',"Activation Yellow":'Status of Activation inside "Manage Licenses" popup.',"Active Inverted Toggle Icon (Playing)":"","Active Panel stroke":"Border of active (selected) panel of the UI. E.g. arranger, browser, etc.","Active Toggle Icon (Playing)":"","Analyzed Beat Color":"","Audio Event Boundary":"Boundaries of audio event in clip view.","Automation Color":"","Beat Marker Color":"Manually added beat markers (inverted when the beat marker is selected)","Bitwig 16-Track":"","Bitwig 8-Track":"","Bitwig CI":"","Bitwig Essentials":"","Bitwig Mint":"This color is used in the circle that flashes in the top right corner of the screen when a project loads.","Bitwig Producer":"","Bitwig Red":"","Button background":"All default buttons colors (transport etc.)","Button in tree background":"","Button stroke":"Buttons border","Checkbox background":"","Close button mouse over background":"","Close button pressed background":"","Comp fill":"","Content Background":"","Dark Panel Sub-frame Fill":"","Dark Panel Sub-frame Stroke":"","Dark Separator Line":"","Dark Text":"","Dark tree background (selected)":"The selected entry in the right-side browser when panel is focussed.","Dark tree background (standby selected)":"The selected entry in the right-side browser when panel is not focussed.","Dark tree hover background change":"","Dark tree separator":"","Dark tree text":"","Dark tree text (selected)":"","Default text":"","Device Header":"","Device Header (selected)":"","Device Locked Overlay":"","Device Tint Future":"","Device Tint Military":"","Device Tint Retro":"","Display Background":"Changes the background of all display elements, for example in the sampler, the transport details, and some elements in the inspector - Also changes one of the 2 colors that make the gradients of various devices (such as sampler and comp+)","Display Background (error)":"","Display Loop Markers":"","Display Start/End Markers":"","Display Waveform":"","Drop Indicator":"","Emboss Highlight":"","Emboss Shadow":"","Error Text":"","Field background":"","Grey Display Background":"","Grid Line (Primary)":"","Grid Line (Secondary)":"","Hitcount background":"","Hitcount text color":"","Hitech background":"","Hitech on":"The transport color, as well as the blue text on the right-side panel.","Hole (dark)":"Seemingly affects all major background spaces such as background of the tracks / scenes, background of the device pane and background of browsers.","Hole (light)":"Affects smaller background elements.","Hole (medium)":"Affects other smaller background elements.","Implicit On (subtle)":"","Inspector Section Frame":"","Inverted Selected Borderless Button background":"","Knob Body Darkest":"The body of dark knobs.","Knob Body Lighter":"The body of lighter knobs","Knob Body Lightest":"The body of the lightest / white knobs","Knob Emboss Highlight":"","Knob Emboss Shadow":"","Knob Line":"The knob pointer on dark knobs.","Knob Line Dark":"The knob pointer on light knobs.","Knob Stroke":"The stroke around the knob.","Knob Value Color":"The main colored value for a knob.","Launcher Mapping Indication":"","Led Off":"","Led On":"","Light Separator Line":"","Light Text":"","Light Tooltip Background":"","Lighter Text":"","Link Text":"","List Item Background":"","List Separator":"",Mapping:"","Mapping indication 1":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 2":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 3":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 4":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 5":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 6":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 7":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 8":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Medium Light Text":"","Menu Icon":"","Menu background":"","Menu description text":"","Menu separator":"","Menu stroke":"","Menu text":"","Meter Clipping":"The highest value in a meter (clipping)","Meter Gain Reduction":"","Meter Hitech":"CPU/IO Meter colors","Meter Hitech Background":"Background of CPU/IO Meter color","Meter Muted":"","Meter Normal":"The lowest value in a meter","Meter Red":"The second highest value in a meter","Meter Yellow":"The second lowest value in a meter","Modern Dark Scrollbar Handle (active)":"","Modern Dark Scrollbar Handle (inactive)":"","Modern Scrollbar Background (active)":"Color of browser and devices panel scrollbars when hovered.","Modern Scrollbar Handle (active)":"Color of browser scrollbars and devices panel handle when hovered.","Modern Scrollbar Handle (inactive)":"","Modulation Mapping Background (polyphonic)":"","Modulation Mapping Background Color":"","Modulation Mapping Color":"","Modulation Mapping Color (polyphonic)":"","Modulation Mapping Color (subtractive)":"","Monitoring buttons color":"The Solo button","Mouse Over Inverted Toggle Icon":"","Mouse Over Toggle Icon":"","Normal Inverted Toggle Icon":"","Normal Toggle Icon":"","Notification Background":"Background of top right notification (when loading projects, etc.)","Notification Error":"Text color for the notifications when there is an error.","Notification Normal":"Text color for notifications","Number field bar background":"",On:'The "main" orange button color (for Play, Mute etc). Probably, this also affects the color of the track volume faders.',"On (subtle)":"","On (subtler)":"","Onset Marker Color":"","Panel Blue":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Green":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Lime":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Mint":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Orange":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Purple":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Red":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Turquoise":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Yellow":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel body":"Affects the main background of most elements, including devices and track background colors - This is also overlayed on top of the buttons in BW's top bar, so it also affects them. A darker color will also make the buttons darker.","Panel stroke":"Border of most elements, also the main UI (it's basically the color for separating sections of the UI).","Popup Notification Background":"","Popup insert":"","Popup overlay background color":"","Pressed Inverted Toggle Icon":"","Pressed On":'Same as "On" but when mouse is clicked and held. Makes sense to use a darker variant of the color used for "On"',"Pressed Toggle Icon":"","Pressed button background":"","Pressed view button background":"","Progress background":"Background of progress bar (in notifications, not sure if anywhere else)","Progress bar":"Color fill of progress bar","Record button color":"This is obviously the record button color, but also the automation write and overdub buttons next to it. It also affects the dark red of the overdub button when it's on (but recording is off)","Rubber button stroke":"","Rubber highlight button stroke":"",Scrollbar:"Color of arranger area scrollbar.","Scrollbar background":"","Selected Dashboard Tree":"","Selected Panel body":"Background of selected track in arranger (not sure if also somewhere else)","Selected Panel stroke":"","Selected Panel stroke (standby)":"",Selection:"",Shadow:"A shadow that is added if the tracks extend beyond the displayed area.","Standby selection":"","Subtle Dark Text":"","Subtle Light Text":"","Subtler Light Text":"","The Grid (background)":"The squares in the grid","The Grid (stroke)":"The lines between squares in the grid","Timeline edit tool chooser background":"","Tooltip Background":"","Tooltip Stroke":"","Tree Item Background":"","Tree Separator":"","User Automation Override Color":"The color of the icon when manually overriding automation (Has a uneditable slight gradient on the icon to give it a slight bump). And also the color of the dot next to the parameter on devices.","View button background":"",Warning:"","Window background":"Window background color (the very top bar color etc.)"},arranger:{"Add Modulation Button Color":"Button that switches to additive modulation mode in the edit window.","Audio connection in modular environment":"","Audio64 connection in modular environment":"","Automation button glow color":"","Background color of the modular environment.":"","Clip Automation Button Color":"","Clip Automation Color":"","Clip Modulation Color":"","Compressed Audio Port in modular environment":"","Current Atom Value Color":"Automation line when no automation is present (no nodes)","Dark Timeline Background":"This is the unused portion of the arranger.","Dark Timeline Header Background":"Background of the timeline on top of the arranger (90% sure)","Event connection in modular environment":"","Header Loop Region Background":"","Header Time Selection Across All Lanes Fill":"","Header Time Selection Across All Lanes Stroke":"","Header Time Selection Cursor Stroke":"","Header Time Selection Fill":"","Header Time Selection Standby Cursor Stroke":"","Header Time Selection Standby Fill":"","Header Time Selection Standby Stroke":"","Header Time Selection Stroke":"","Insert preview time":"","Irrelevant Timeline Background":"","Irrelevant Timeline Header Background":"","Irrelevant Timeline Header Overlay":"","Irrelevant Timeline Overlay":"","Light Timeline Background":"","Light Timeline Header Background":"","Loop Region Background":"","Multiply Modulation Button Color":'Button that switches to multiply modulation mode in the edit window. Next to "Add Modulation Button Color"',"Note Expression Color":"","Polyphonic Desktop Object":"","Record button color implicit":"","Record button glow color":"","Selected matrix slot color":"","Send (post) value color":"Knob color for send value in Post mode","Send (pre) value color":"Knob color for send value in Pre mode","Time Selection Across All Lanes Fill":"","Time Selection Across All Lanes Stroke":"","Time Selection Cursor Stroke":"","Time Selection Fill":"","Time Selection Inactive Fill":"","Time Selection Inactive Stroke":"","Time Selection Not Selected Fill":"","Time Selection Not Selected Stroke":"","Time Selection Standby Cursor Stroke":"","Time Selection Standby Fill":"","Time Selection Standby Stroke":"","Time Selection Stroke":"","Timeline Background Pattern":"Darkens black key area on piano roll background","Timeline Cue Marker":"","Timeline Header Background Pattern":"","Timeline Header Cue Marker":"","Timeline Header Primary Grid":"","Timeline Header Secondary Grid":"","Timeline Header Tooltip Background":"","Timeline Header Tooltip Text":"","Timeline Primary Grid":"","Timeline Secondary Grid":"","Timeline Tooltip Background":"","Timeline Tooltip Text":"","Top Level Timeline Background":"","Top Level Timeline Header Background":"","Track Automation Button Color":"Indicator that automation is active on a parameter.","Track Automation Color":"The background and points of automation."}};function fl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var yn={exports:{}};/*! Pickr 1.9.1 MIT | https://github.com/Simonwep/pickr */(function(n,e){(function(l,r){n.exports=r()})(self,()=>(()=>{var l={d:(T,c)=>{for(var p in c)l.o(c,p)&&!l.o(T,p)&&Object.defineProperty(T,p,{enumerable:!0,get:c[p]})},o:(T,c)=>Object.prototype.hasOwnProperty.call(T,c),r:T=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(T,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(T,"__esModule",{value:!0})}},r={};l.d(r,{default:()=>ce});var s={};function a(T,c,p,g,_={}){c instanceof HTMLCollection||c instanceof NodeList?c=Array.from(c):Array.isArray(c)||(c=[c]),Array.isArray(p)||(p=[p]);for(const h of c)for(const y of p)h[T](y,g,{capture:!1,..._});return Array.prototype.slice.call(arguments,1)}l.r(s),l.d(s,{adjustableInputNumbers:()=>B,createElementFromString:()=>b,createFromTemplate:()=>w,eventPath:()=>x,off:()=>f,on:()=>d,resolveElement:()=>$});const d=a.bind(null,"addEventListener"),f=a.bind(null,"removeEventListener");function b(T){const c=document.createElement("div");return c.innerHTML=T.trim(),c.firstElementChild}function w(T){const c=(g,_)=>{const h=g.getAttribute(_);return g.removeAttribute(_),h},p=(g,_={})=>{const h=c(g,":obj"),y=c(g,":ref"),v=h?_[h]={}:_;y&&(_[y]=g);for(const k of Array.from(g.children)){const L=c(k,":arr"),P=p(k,L?{}:v);L&&(v[L]||(v[L]=[])).push(Object.keys(P).length?P:k)}return _};return p(b(T))}function x(T){let c=T.path||T.composedPath&&T.composedPath();if(c)return c;let p=T.target.parentElement;for(c=[T.target,p];p=p.parentElement;)c.push(p);return c.push(document,window),c}function $(T){return T instanceof Element?T:typeof T=="string"?T.split(/>>/g).reduce((c,p,g,_)=>(c=c.querySelector(p),g<_.length-1?c.shadowRoot:c),document):null}function B(T,c=p=>p){function p(g){const _=[.001,.01,.1][Number(g.shiftKey||2*g.ctrlKey)]*(g.deltaY<0?1:-1);let h=0,y=T.selectionStart;T.value=T.value.replace(/[\d.]+/g,(v,k)=>k<=y&&k+v.length>=y?(y=k,c(Number(v),_,h)):(h++,v)),T.focus(),T.setSelectionRange(y,y),g.preventDefault(),T.dispatchEvent(new Event("input"))}d(T,"focus",()=>d(window,"wheel",p,{passive:!1})),d(T,"blur",()=>f(window,"wheel",p))}const{min:S,max:A,floor:N,round:I}=Math;function U(T,c,p){c/=100,p/=100;const g=N(T=T/360*6),_=T-g,h=p*(1-c),y=p*(1-_*c),v=p*(1-(1-_)*c),k=g%6;return[255*[p,y,h,h,v,p][k],255*[v,p,p,y,h,h][k],255*[h,h,v,p,p,y][k]]}function ae(T,c,p){const g=(2-(c/=100))*(p/=100)/2;return g!==0&&(c=g===1?0:g<.5?c*p/(2*g):c*p/(2-2*g)),[T,100*c,100*g]}function oe(T,c,p){const g=S(T/=255,c/=255,p/=255),_=A(T,c,p),h=_-g;let y,v;if(h===0)y=v=0;else{v=h/_;const k=((_-T)/6+h/2)/h,L=((_-c)/6+h/2)/h,P=((_-p)/6+h/2)/h;T===_?y=P-L:c===_?y=1/3+k-P:p===_&&(y=2/3+L-k),y<0?y+=1:y>1&&(y-=1)}return[360*y,100*v,100*_]}function Y(T,c,p,g){return c/=100,p/=100,[...oe(255*(1-S(1,(T/=100)*(1-(g/=100))+g)),255*(1-S(1,c*(1-g)+g)),255*(1-S(1,p*(1-g)+g)))]}function ge(T,c,p){c/=100;const g=2*(c*=(p/=100)<.5?p:1-p)/(p+c)*100,_=100*(p+c);return[T,isNaN(g)?0:g,_]}function ve(T){return oe(...T.match(/.{2}/g).map(c=>parseInt(c,16)))}function F(T){T=T.match(/^[a-zA-Z]+$/)?function(_){if(_.toLowerCase()==="black")return"#000";const h=document.createElement("canvas").getContext("2d");return h.fillStyle=_,h.fillStyle==="#000"?null:h.fillStyle}(T):T;const c={cmyk:/^cmyk\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)/i,rgba:/^rgba?\D+([\d.]+)(%?)\D+([\d.]+)(%?)\D+([\d.]+)(%?)\D*?(([\d.]+)(%?)|$)/i,hsla:/^hsla?\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D*?(([\d.]+)(%?)|$)/i,hsva:/^hsva?\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D*?(([\d.]+)(%?)|$)/i,hexa:/^#?(([\dA-Fa-f]{3,4})|([\dA-Fa-f]{6})|([\dA-Fa-f]{8}))$/i},p=_=>_.map(h=>/^(|\d+)\.\d+|\d+$/.test(h)?Number(h):void 0);let g;e:for(const _ in c)if(g=c[_].exec(T))switch(_){case"cmyk":{const[,h,y,v,k]=p(g);if(h>100||y>100||v>100||k>100)break e;return{values:Y(h,y,v,k),type:_}}case"rgba":{let[,h,,y,,v,,,k]=p(g);if(h=g[2]==="%"?h/100*255:h,y=g[4]==="%"?y/100*255:y,v=g[6]==="%"?v/100*255:v,k=g[9]==="%"?k/100:k,h>255||y>255||v>255||k<0||k>1)break e;return{values:[...oe(h,y,v),k],a:k,type:_}}case"hexa":{let[,h]=g;h.length!==4&&h.length!==3||(h=h.split("").map(k=>k+k).join(""));const y=h.substring(0,6);let v=h.substring(6);return v=v?parseInt(v,16)/255:void 0,{values:[...ve(y),v],a:v,type:_}}case"hsla":{let[,h,y,v,,k]=p(g);if(k=g[6]==="%"?k/100:k,h>360||y>100||v>100||k<0||k>1)break e;return{values:[...ge(h,y,v),k],a:k,type:_}}case"hsva":{let[,h,y,v,,k]=p(g);if(k=g[6]==="%"?k/100:k,h>360||y>100||v>100||k<0||k>1)break e;return{values:[h,y,v,k],a:k,type:_}}}return{values:null,type:null}}function V(T=0,c=0,p=0,g=1){const _=(y,v)=>(k=-1)=>v(~k?y.map(L=>Number(L.toFixed(k))):y),h={h:T,s:c,v:p,a:g,toHSVA(){const y=[h.h,h.s,h.v,h.a];return y.toString=_(y,v=>`hsva(${v[0]}, ${v[1]}%, ${v[2]}%, ${h.a})`),y},toHSLA(){const y=[...ae(h.h,h.s,h.v),h.a];return y.toString=_(y,v=>`hsla(${v[0]}, ${v[1]}%, ${v[2]}%, ${h.a})`),y},toRGBA(){const y=[...U(h.h,h.s,h.v),h.a];return y.toString=_(y,v=>`rgba(${v[0]}, ${v[1]}, ${v[2]}, ${h.a})`),y},toCMYK(){const y=function(v,k,L){const P=U(v,k,L),q=P[0]/255,K=P[1]/255,Q=P[2]/255,O=S(1-q,1-K,1-Q);return[100*(O===1?0:(1-q-O)/(1-O)),100*(O===1?0:(1-K-O)/(1-O)),100*(O===1?0:(1-Q-O)/(1-O)),100*O]}(h.h,h.s,h.v);return y.toString=_(y,v=>`cmyk(${v[0]}%, ${v[1]}%, ${v[2]}%, ${v[3]}%)`),y},toHEXA(){const y=function(k,L,P){return U(k,L,P).map(q=>I(q).toString(16).padStart(2,"0"))}(h.h,h.s,h.v),v=h.a>=1?"":Number((255*h.a).toFixed(0)).toString(16).toUpperCase().padStart(2,"0");return v&&y.push(v),y.toString=()=>`#${y.join("").toUpperCase()}`,y},clone:()=>V(h.h,h.s,h.v,h.a)};return h}const D=T=>Math.max(Math.min(T,1),0);function J(T){const c={options:Object.assign({lock:null,onchange:()=>0,onstop:()=>0},T),_keyboard(h){const{options:y}=c,{type:v,key:k}=h;if(document.activeElement===y.wrapper){const{lock:L}=c.options,P=k==="ArrowUp",q=k==="ArrowRight",K=k==="ArrowDown",Q=k==="ArrowLeft";if(v==="keydown"&&(P||q||K||Q)){let O=0,Z=0;L==="v"?O=P||q?1:-1:L==="h"?O=P||q?-1:1:(Z=P?-1:K?1:0,O=Q?-1:q?1:0),c.update(D(c.cache.x+.01*O),D(c.cache.y+.01*Z)),h.preventDefault()}else k.startsWith("Arrow")&&(c.options.onstop(),h.preventDefault())}},_tapstart(h){d(document,["mouseup","touchend","touchcancel"],c._tapstop),d(document,["mousemove","touchmove"],c._tapmove),h.cancelable&&h.preventDefault(),c._tapmove(h)},_tapmove(h){const{options:y,cache:v}=c,{lock:k,element:L,wrapper:P}=y,q=P.getBoundingClientRect();let K=0,Q=0;if(h){const G=h&&h.touches&&h.touches[0];K=h?(G||h).clientX:0,Q=h?(G||h).clientY:0,Kq.left+q.width&&(K=q.left+q.width),Qq.top+q.height&&(Q=q.top+q.height),K-=q.left,Q-=q.top}else v&&(K=v.x*q.width,Q=v.y*q.height);k!=="h"&&(L.style.left=`calc(${K/q.width*100}% - ${L.offsetWidth/2}px)`),k!=="v"&&(L.style.top=`calc(${Q/q.height*100}% - ${L.offsetHeight/2}px)`),c.cache={x:K/q.width,y:Q/q.height};const O=D(K/q.width),Z=D(Q/q.height);switch(k){case"v":return y.onchange(O);case"h":return y.onchange(Z);default:return y.onchange(O,Z)}},_tapstop(){c.options.onstop(),f(document,["mouseup","touchend","touchcancel"],c._tapstop),f(document,["mousemove","touchmove"],c._tapmove)},trigger(){c._tapmove()},update(h=0,y=0){const{left:v,top:k,width:L,height:P}=c.options.wrapper.getBoundingClientRect();c.options.lock==="h"&&(y=h),c._tapmove({clientX:v+L*h,clientY:k+P*y})},destroy(){const{options:h,_tapstart:y,_keyboard:v}=c;f(document,["keydown","keyup"],v),f([h.wrapper,h.element],"mousedown",y),f([h.wrapper,h.element],"touchstart",y,{passive:!1})}},{options:p,_tapstart:g,_keyboard:_}=c;return d([p.wrapper,p.element],"mousedown",g),d([p.wrapper,p.element],"touchstart",g,{passive:!1}),d(document,["keydown","keyup"],_),c}function we(T={}){T=Object.assign({onchange:()=>0,className:"",elements:[]},T);const c=d(T.elements,"click",p=>{T.elements.forEach(g=>g.classList[p.target===g?"add":"remove"](T.className)),T.onchange(p),p.stopPropagation()});return{destroy:()=>f(...c)}}const ne={variantFlipOrder:{start:"sme",middle:"mse",end:"ems"},positionFlipOrder:{top:"tbrl",right:"rltb",bottom:"btrl",left:"lrbt"},position:"bottom",margin:8,padding:0},W=(T,c,p)=>{const g=typeof T!="object"||T instanceof HTMLElement?{reference:T,popper:c,...p}:T;return{update(_=g){const{reference:h,popper:y}=Object.assign(g,_);if(!y||!h)throw new Error("Popper- or reference-element missing.");return((v,k,L)=>{const{container:P,arrow:q,margin:K,padding:Q,position:O,variantFlipOrder:Z,positionFlipOrder:G}={container:document.documentElement.getBoundingClientRect(),...ne,...L},{left:X,top:ke}=k.style;k.style.left="0",k.style.top="0";const Ce=v.getBoundingClientRect(),me=k.getBoundingClientRect(),je={t:Ce.top-me.height-K,b:Ce.bottom+K,r:Ce.right+K,l:Ce.left-me.width-K},Ee={vs:Ce.left,vm:Ce.left+Ce.width/2-me.width/2,ve:Ce.left+Ce.width-me.width,hs:Ce.top,hm:Ce.bottom-Ce.height/2-me.height/2,he:Ce.bottom-me.height},[Pe,Be="middle"]=O.split("-"),Se=G[Pe],Te=Z[Be],{top:Ne,left:j,bottom:H,right:be}=P;for(const Re of Se){const Me=Re==="t"||Re==="b";let R=je[Re];const[he,et]=Me?["top","left"]:["left","top"],[nt,De]=Me?[me.height,me.width]:[me.width,me.height],[Xe,ot]=Me?[H,be]:[be,H],[ze,He]=Me?[Ne,j]:[j,Ne];if(!(RXe))for(const ie of Te){let xe=Ee[(Me?"v":"h")+ie];if(!(xeot)){if(xe-=me[et],R-=me[he],k.style[et]=`${xe}px`,k.style[he]=`${R}px`,q){const qe=Me?Ce.width/2:Ce.height/2,ct=De/2,tt=qe>ct,$t=xe+{s:tt?ct:qe,m:ct,e:tt?ct:De-qe}[ie],st=R+{t:nt,b:0,r:0,l:nt}[Re];q.style[et]=`${$t}px`,q.style[he]=`${st}px`}return Re+ie}}}return k.style.left=X,k.style.top=ke,null})(h,y,g)}}},le=class le{constructor(c){Ze(this,"_initializingActive",!0);Ze(this,"_recalc",!0);Ze(this,"_nanopop",null);Ze(this,"_root",null);Ze(this,"_color",V());Ze(this,"_lastColor",V());Ze(this,"_swatchColors",[]);Ze(this,"_setupAnimationFrame",null);Ze(this,"_eventListener",{init:[],save:[],hide:[],show:[],clear:[],change:[],changestop:[],cancel:[],swatchselect:[]});this.options=c=Object.assign({...le.DEFAULT_OPTIONS},c);const{swatches:p,components:g,theme:_,sliders:h,lockOpacity:y,padding:v}=c;["nano","monolith"].includes(_)&&!h&&(c.sliders="h"),g.interaction||(g.interaction={});const{preview:k,opacity:L,hue:P,palette:q}=g;g.opacity=!y&&L,g.palette=q||k||L||P,this._preBuild(),this._buildComponents(),this._bindEvents(),this._finalBuild(),p&&p.length&&p.forEach(Z=>this.addSwatch(Z));const{button:K,app:Q}=this._root;this._nanopop=W(K,Q,{margin:v}),K.setAttribute("role","button"),K.setAttribute("aria-label",this._t("btn:toggle"));const O=this;this._setupAnimationFrame=requestAnimationFrame(function Z(){if(!Q.offsetWidth)return requestAnimationFrame(Z);O.setColor(c.default),O._rePositioningPicker(),c.defaultRepresentation&&(O._representation=c.defaultRepresentation,O.setColorRepresentation(O._representation)),c.showAlways&&O.show(),O._initializingActive=!1,O._emit("init")})}_preBuild(){const{options:c}=this;for(const p of["el","container"])c[p]=$(c[p]);this._root=(p=>{const{components:g,useAsButton:_,inline:h,appClass:y,theme:v,lockOpacity:k}=p.options,L=Q=>Q?"":'style="display:none" hidden',P=Q=>p._t(Q),q=w(` + All ins`),Ee=C(),Pe=u("span"),Pe.innerHTML=' Master',Be=C(),Se=u("span"),Te=u("span"),Te.textContent="Sends",ze=C(),j=u("span"),H=u("span"),H.innerHTML=' S M',be=C(),Re=u("span"),Me=m("svg"),R=m("line"),et=C(),nt=u("span"),De=u("span"),Xe=u("span"),ot=C(),Ne=u("span"),t(l,"id","insp_title"),t(l,"class","title svelte-159p7te"),t(s,"class","sub-title display-background svelte-159p7te"),t(d,"class","color-palette display-background svelte-159p7te"),t(b,"class","comment display-background svelte-159p7te"),t(B,"cx","8"),t(B,"cy","8"),t(B,"r","8"),t(B,"fill",S=n[0].window.On),t($,"class","on svelte-159p7te"),t($,"width","16"),t($,"height","16"),t(I,"id","cpu_svg"),o(I,"display","flex"),o(I,"align-items","center"),o(I,"width","fit-content"),t(I,"class","svelte-159p7te"),o(z,"position","absolute"),o(z,"height","100%"),o(z,"display","flex"),o(z,"align-items","center"),o(z,"margin-left","3px"),t(z,"class","svelte-159p7te"),t(x,"class","active-area hole-light svelte-159p7te"),o(x,"position","relative"),t(ge,"class","channel-row svelte-159p7te"),t(we,"class","channel-on-right display-background svelte-159p7te"),o(we,"color",n[0].window.On),t(D,"class","channel-on-button on svelte-159p7te"),o(D,"background-color",n[0].window.On),t(F,"class","bend-row svelte-159p7te"),t(Y,"class","channel-area hole-light svelte-159p7te"),t(c,"class","device-button hole-medium svelte-159p7te"),t(_,"class","device-button-r hole-light svelte-159p7te"),o(_,"background-color","none"),t(v,"class","device-button-r hole-light svelte-159p7te"),o(v,"background-color","none"),t(P,"class","device-button-r hole-light svelte-159p7te"),o(P,"background-color","none"),t(T,"class","device-nav hole-light svelte-159p7te"),t(Q,"class","device-in hole-medium svelte-159p7te"),t(le,"class","device-area svelte-159p7te"),t(Ce,"d","m 6.5,5.5 -2.5,0 0,4 2.5,0 3.5,2.5 0,-9 z"),t(ke,"fill",me=n[0].window["Monitoring buttons color"]),t(ke,"x","0px"),t(ke,"y","0px"),t(ke,"width","15px"),t(ke,"height","15px"),t(ke,"viewBox","0 0 15 15"),o(X,"display","flex"),o(X,"align-items","center"),o(X,"width","17px"),o(X,"height","100%"),o(X,"border-right","1px solid "+n[0].window["Button stroke"]),o(X,"margin-left","2px"),o(X,"margin-right","3px"),t(X,"class","svelte-159p7te"),t(G,"class","send-button button-background svelte-159p7te"),t(Pe,"class","send-button button-background svelte-159p7te"),t(Z,"class","send-area hole-light svelte-159p7te"),t(Te,"class","mixer-half hole-light svelte-159p7te"),o(Te,"background-color","var(--hole-light)"),t(H,"class","mixer-button svelte-159p7te"),t(R,"x1","1"),t(R,"y1","2px"),t(R,"x2","1"),t(R,"y2","18px"),t(R,"stroke",he=n[0].window.On),t(Me,"width","2px"),t(Me,"height","20px"),t(Me,"viewBox","0 0 2 20"),t(Re,"class","mixer-volume hole-medium svelte-159p7te"),o(Xe,"margin-right","4px"),o(Xe,"width","32px"),o(Xe,"height","2px"),o(Xe,"background-color",n[0].window.On),o(Xe,"opacity","0.7"),t(Xe,"class","svelte-159p7te"),o(Ne,"margin-right","5px"),o(Ne,"margin-bottom","5px"),o(Ne,"width","30px"),o(Ne,"height","51px"),o(Ne,"background-color",n[0].window.On),o(Ne,"opacity","0.3"),t(Ne,"class","svelte-159p7te"),o(De,"display","flex"),o(De,"flex-direction","column"),o(De,"align-items","center"),o(De,"width","fit-content"),t(De,"class","svelte-159p7te"),t(nt,"class","mixer-limiter hole-medium svelte-159p7te"),t(j,"class","mixer-half svelte-159p7te"),t(Se,"class","mixer-area svelte-159p7te"),o(e,"--rec",n[0].window["Record button color"]),o(e,"--display-background",n[0].window["Display Background"]),o(e,"--hole-light",n[0].window["Hole (light)"]),o(e,"--hole-medium",n[0].window["Hole (medium)"]),o(e,"--hole-light",n[0].window["Hole (light)"]),o(e,"--button-stroke",n[0].window["Button stroke"]),o(e,"--panel-body",n[0].window["Panel body"]),o(e,"--panel-stroke",n[0].window["Panel stroke"]),o(e,"--button-background",n[0].window["Button background"]),o(e,"--button-gradient",n[0].window["Button background"].length==9?n[0].window["Button background"].substring(0,7)+"D0":"#767676"),t(e,"class","svelte-159p7te")},m(ie,xe){te(ie,e,xe),i(e,l),i(e,r),i(e,s),i(e,a),i(e,d),i(e,f),i(e,b),i(e,w),i(e,x),i(x,$),i($,B),i(x,A),i(x,z),i(z,I),ue(V,I,null),i(x,ae),i(e,oe),i(e,Y),i(Y,ge),i(Y,ve),i(Y,F),i(F,U),i(F,D),i(D,J),i(D,we),i(we,ne),i(we,W),i(e,ce),i(e,le),i(le,T),i(T,c),ue(p,c,null),i(T,g),i(T,_),ue(h,_,null),i(T,y),i(T,v),ue(k,v,null),i(T,L),i(T,P),ue(q,P,null),i(le,K),i(le,Q),i(e,O),i(e,Z),i(Z,G),i(G,X),i(X,ke),i(ke,Ce),i(G,je),i(Z,Ee),i(Z,Pe),i(e,Be),i(e,Se),i(Se,Te),i(Se,ze),i(Se,j),i(j,H),i(j,be),i(j,Re),i(Re,Me),i(Me,R),i(j,et),i(j,nt),i(nt,De),i(De,Xe),i(De,ot),i(De,Ne),He=!0},p(ie,[xe]){(!He||xe&1&&S!==(S=ie[0].window.On))&&t(B,"fill",S),(!He||xe&1)&&o(we,"color",ie[0].window.On),(!He||xe&1)&&o(D,"background-color",ie[0].window.On);const qe={};xe&1&&(qe.color=ie[0].window.On),p.$set(qe),(!He||xe&1&&me!==(me=ie[0].window["Monitoring buttons color"]))&&t(ke,"fill",me),(!He||xe&1)&&o(X,"border-right","1px solid "+ie[0].window["Button stroke"]),(!He||xe&1&&he!==(he=ie[0].window.On))&&t(R,"stroke",he),(!He||xe&1)&&o(Xe,"background-color",ie[0].window.On),(!He||xe&1)&&o(Ne,"background-color",ie[0].window.On),(!He||xe&1)&&o(e,"--rec",ie[0].window["Record button color"]),(!He||xe&1)&&o(e,"--display-background",ie[0].window["Display Background"]),(!He||xe&1)&&o(e,"--hole-light",ie[0].window["Hole (light)"]),(!He||xe&1)&&o(e,"--hole-medium",ie[0].window["Hole (medium)"]),(!He||xe&1)&&o(e,"--hole-light",ie[0].window["Hole (light)"]),(!He||xe&1)&&o(e,"--button-stroke",ie[0].window["Button stroke"]),(!He||xe&1)&&o(e,"--panel-body",ie[0].window["Panel body"]),(!He||xe&1)&&o(e,"--panel-stroke",ie[0].window["Panel stroke"]),(!He||xe&1)&&o(e,"--button-background",ie[0].window["Button background"]),(!He||xe&1)&&o(e,"--button-gradient",ie[0].window["Button background"].length==9?ie[0].window["Button background"].substring(0,7)+"D0":"#767676")},i(ie){He||(re(V.$$.fragment,ie),re(p.$$.fragment,ie),re(h.$$.fragment,ie),re(k.$$.fragment,ie),re(q.$$.fragment,ie),He=!0)},o(ie){se(V.$$.fragment,ie),se(p.$$.fragment,ie),se(h.$$.fragment,ie),se(k.$$.fragment,ie),se(q.$$.fragment,ie),He=!1},d(ie){ie&&ee(e),pe(V),pe(p),pe(h),pe(k),pe(q)}}}function Mo(n,e,l){let r;return Ge.subscribe(s=>{l(0,r=s)}),[r]}class So extends $e{constructor(e){super(),_e(this,e,Mo,To,Le,{})}}function Yt(n){let e,l,r;return{c(){e=m("svg"),l=m("g"),r=m("path"),t(r,"d","M2.5,12.276L2.5,2.724C3.005,5.988 3.817,8.774 5.045,10.908L5.045,4.085C5.65,6.628 6.47,8.551 7.602,9.577L7.602,5.476C8.152,7.234 9.044,8.211 10.211,8.565L10.105,6.115C11.22,7.809 11.76,8.164 12.874,7.5"),o(r,"fill","none"),o(r,"stroke-width","1px"),t(e,"width","15px"),t(e,"height","15px"),t(e,"viewBox","0 0 15 15"),t(e,"stroke","#cfcfcf"),o(e,"margin-left","6px"),o(e,"margin-top","3px"),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","1.5")},m(s,a){te(s,e,a),i(e,l),i(l,r)},d(s){s&&ee(e)}}}function Xt(n){let e,l,r;return{c(){e=m("svg"),l=m("g"),r=m("path"),t(r,"d","M13,2L13,13L9.669,13L9.669,8.609L10.184,8.609C10.406,8.609 10.585,8.429 10.585,8.207L10.585,2L13,2ZM8.342,2L8.342,8.207C8.342,8.429 8.522,8.609 8.743,8.609L9.258,8.609L9.258,13L5.742,13L5.742,8.609L6.257,8.609C6.478,8.609 6.658,8.429 6.658,8.207L6.658,2L8.342,2ZM4.415,2L4.415,8.207C4.415,8.429 4.594,8.609 4.816,8.609L5.331,8.609L5.331,13L2,13L2,2L4.415,2Z"),t(e,"width","15px"),t(e,"height","15px"),t(e,"viewBox","0 0 15 15"),t(e,"fill","#4a4a4a"),o(e,"margin-left","6px"),o(e,"margin-top","4px"),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(s,a){te(s,e,a),i(e,l),i(l,r)},d(s){s&&ee(e)}}}function Jt(n){let e,l,r,s,a;return{c(){e=m("svg"),l=m("g"),r=m("svg"),s=m("path"),a=m("rect"),t(s,"d","M3,10.5L1.45,5.114C1.45,5.114 3.559,6.117 4.561,6.593C4.852,6.732 5.202,6.624 5.364,6.344C5.757,5.667 6.47,4.437 6.963,3.587C7.074,3.395 7.279,3.277 7.5,3.277C7.721,3.277 7.926,3.395 8.037,3.587C8.53,4.437 9.243,5.667 9.636,6.344C9.798,6.624 10.148,6.732 10.439,6.593C11.441,6.117 13.55,5.114 13.55,5.114L12,10.5L3,10.5"),o(s,"fill-rule","nonzero"),t(r,"viewBox","0 0 15 15"),t(a,"x","3"),t(a,"y","11"),t(a,"width","9"),t(a,"height","1"),o(a,"fill-rule","nonzero"),t(e,"width","15px"),t(e,"height","15px"),t(e,"fill","#cfcfcf"),o(e,"margin-left","6px"),o(e,"margin-top","3px"),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(d,f){te(d,e,f),i(e,l),i(l,r),i(r,s),i(l,a)},d(d){d&&ee(e)}}}function Qt(n){let e,l,r;return{c(){e=m("svg"),l=m("g"),r=m("path"),t(r,"d","M3.014,4.956L3.16,4.811C3.16,4.893 3.097,4.961 3.017,4.97C3.016,4.965 3.015,4.961 3.014,4.956ZM3.16,4.811C3.16,4.485 3.424,4.221 3.75,4.221L6.25,4.221C7.819,4.221 9.09,5.492 9.09,7.061L9.09,10C9.09,10.065 9.129,10.123 9.189,10.148C9.249,10.172 9.317,10.159 9.363,10.113L11.47,8.007L12.304,8.841L8.5,12.646L4.696,8.841L5.53,8.007C5.53,8.007 7.637,10.113 7.637,10.113C7.683,10.159 7.751,10.172 7.811,10.148C7.871,10.123 7.91,10.065 7.91,10L7.91,6.828C7.91,6.04 7.271,5.401 6.483,5.401L3.75,5.401C3.593,5.401 3.443,5.339 3.333,5.228C3.222,5.118 3.16,4.968 3.16,4.811Z"),o(r,"fill-rule","nonzero"),t(e,"width","15px"),t(e,"height","15px"),t(e,"viewBox","0 0 15 15"),t(e,"fill","#cfcfcf"),o(e,"margin-left","6px"),o(e,"margin-top","3px"),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(s,a){te(s,e,a),i(e,l),i(l,r)},d(s){s&&ee(e)}}}function Ao(n){let e,l;return{c(){e=m("svg"),l=m("rect"),t(l,"x","7"),t(l,"y","5"),t(l,"width","9"),t(l,"height","9"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","23px"),t(e,"height","19px"),t(e,"fill","#4f4f4f")},m(r,s){te(r,e,s),i(e,l)},p:N,d(r){r&&ee(e)}}}function Ho(n){let e,l,r;return{c(){e=m("svg"),l=m("circle"),t(l,"cx","11.5"),t(l,"cy","9.5"),t(l,"r","5"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","23px"),t(e,"height","19px"),t(e,"fill",r=n[5].window["Normal Toggle Icon"])},m(s,a){te(s,e,a),i(e,l)},p(s,a){a&32&&r!==(r=s[5].window["Normal Toggle Icon"])&&t(e,"fill",r)},d(s){s&&ee(e)}}}function jo(n){let e,l;return{c(){e=m("svg"),l=m("rect"),t(l,"x","7"),t(l,"y","5"),t(l,"width","9"),t(l,"height","9"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","23px"),t(e,"height","19px"),t(e,"fill","#4f4f4f")},m(r,s){te(r,e,s),i(e,l)},p:N,d(r){r&&ee(e)}}}function Po(n){let e,l,r;return{c(){e=m("svg"),l=m("circle"),t(l,"cx","11.5"),t(l,"cy","9.5"),t(l,"r","5"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","23px"),t(e,"height","19px"),t(e,"fill",r=n[5].window["Normal Toggle Icon"])},m(s,a){te(s,e,a),i(e,l)},p(s,a){a&32&&r!==(r=s[5].window["Normal Toggle Icon"])&&t(e,"fill",r)},d(s){s&&ee(e)}}}function Eo(n){let e,l,r,s,a,d,f,b,w,x,$,B,S,A,z,I,V,ae,oe,Y,ge,ve,F,U,D,J,we,ne,W,ce,le,T,c,p,g,_,h,y,v,k,L,P,q,K,Q,O,Z,G,X,ke,Ce,me,je,Ee,Pe=n[0]==="a"&&Yt(),Be=n[0]==="i"&&Xt(),Se=n[0]==="m"&&Jt(),Te=n[0]==="f"&&Qt();function ze(R,he){return R[2]?Ho:Ao}let j=ze(n),H=j(n);function be(R,he){return R[2]?Po:jo}let Re=be(n),Me=Re(n);return{c(){e=u("span"),l=u("span"),r=u("span"),s=u("span"),a=C(),d=u("span"),f=u("span"),b=u("i"),w=Ie(n[4]),x=C(),$=u("span"),B=u("span"),S=m("svg"),A=m("circle"),ae=C(),oe=u("span"),oe.textContent="S",Y=C(),ge=u("span"),ge.textContent="M",ve=C(),F=u("span"),Pe&&Pe.c(),U=C(),Be&&Be.c(),D=C(),Se&&Se.c(),J=C(),Te&&Te.c(),we=C(),ne=u("span"),W=u("span"),ce=C(),le=u("span"),T=C(),c=u("span"),c.innerHTML='',p=C(),g=u("span"),h=C(),y=u("span"),v=u("span"),k=m("svg"),L=m("rect"),q=C(),K=u("span"),H.c(),Q=C(),O=u("span"),Me.c(),Z=C(),G=u("span"),X=m("svg"),ke=m("rect"),Ce=m("rect"),me=m("rect"),je=m("svg"),Ee=m("polygon"),o(s,"height","100%"),o(s,"width","6px"),o(s,"background-color",n[3]),o(b,"margin-left","6px"),o(b,"color",n[1]?"#000000":"#ffffff"),t(A,"cx","4.5"),t(A,"cy","4.5"),t(A,"r","4.5"),t(A,"fill",z=n[2]?"black":"white"),t(S,"class","circle"),t(S,"width","9px"),t(S,"height","9px"),t(B,"class",I="button "+(n[2]?"rec":"button-background")+" svelte-zts7k"),t(B,"style",V=n[2]?"background-color:red;background-image:none;":""),t(oe,"class","button button-background svelte-zts7k"),t(ge,"class","button button-background svelte-zts7k"),o($,"display","flex"),o(f,"display","flex"),o(f,"justify-content","space-between"),o(f,"width","100%"),t(W,"class","on"),o(W,"display","flex"),o(W,"width","52px"),o(W,"height","14px"),o(W,"background-color",n[5].window.On),o(W,"opacity","0.3"),t(le,"class","on"),o(le,"display","flex"),o(le,"width","1px"),o(le,"height","14px"),o(le,"background-color",n[5].window.On),o(le,"opacity","0.7"),t(ne,"class","display-background"),o(ne,"align-items","center"),o(ne,"margin-left","5px"),o(ne,"margin-top","3px"),o(ne,"display","flex"),o(ne,"width","123px"),o(ne,"height","13px"),o(ne,"background-color",n[5].window["Display Background"]),o(ne,"border","2px solid "+n[5].window["Display Background"]),o(ne,"border-radius","3px"),o(ne,"overflow","hidden"),t(c,"class","button button-background svelte-zts7k"),o(c,"margin-top","3px"),o(c,"margin-left","6px"),o(F,"display","flex"),o(F,"justify-content","space-between"),o(F,"width","100%"),o(d,"display","flex"),o(d,"flex-direction","column"),o(d,"width","100%"),o(g,"margin-right","4px"),o(g,"height","37px"),o(g,"width","8px"),o(g,"background-color",n[5].window["Display Background"]),t(r,"class",_="instrument "+(n[1]?"selected-inst":"unselected-inst")+" svelte-zts7k"),o(r,"display","flex"),o(r,"justify-content","flex-start"),o(r,"background-color",n[1]?n[5].window["Selected Panel body"]:n[5].window["Panel body"]),o(l,"display","flex"),t(L,"x","7"),t(L,"y","5"),t(L,"width","9"),t(L,"height","9"),t(k,"x","0px"),t(k,"y","0px"),t(k,"width","23px"),t(k,"height","19px"),t(k,"fill",P=n[5].window["Normal Toggle Icon"]),t(v,"class","panel-body"),o(v,"display","flex"),o(v,"justify-content","center"),o(v,"align-items","center"),o(v,"width","25px"),o(v,"height","43px"),o(v,"border-left","1px solid "+n[5].window["Hole (dark)"]),o(v,"background-color",n[5].window["Panel body"]),t(K,"class","hole-medium"),o(K,"display","flex"),o(K,"justify-content","flex-start"),o(K,"align-items","center"),o(K,"width","85px"),o(K,"height","43px"),o(K,"border-left","1px solid "+n[5].window["Hole (dark)"]),o(K,"background-color",n[5].window["Hole (medium)"]),t(O,"class","hole-medium"),o(O,"display","flex"),o(O,"justify-content","flex-start"),o(O,"align-items","center"),o(O,"width","84px"),o(O,"height","43px"),o(O,"border-left","1px solid "+n[5].window["Hole (dark)"]),o(O,"background-color",n[5].window["Hole (medium)"]),o(O,"box-shadow","inset #202020 -10px 0px 12px -10px"),t(ke,"x","2"),t(ke,"y","2"),t(ke,"width","11"),t(ke,"height","3"),t(Ce,"x","2"),t(Ce,"y","6"),t(Ce,"width","11"),t(Ce,"height","3"),t(me,"x","2"),t(me,"y","10"),t(me,"width","7"),t(me,"height","3"),t(Ee,"points","15,12.5 10,15 10,10 "),t(je,"viewBox","0 0 15 15"),t(X,"x","0px"),t(X,"y","0px"),t(X,"width","15px"),t(X,"height","15px"),t(X,"fill","#696969"),t(G,"class","button-in-tree-background"),o(G,"display","flex"),o(G,"justify-content","center"),o(G,"align-items","center"),o(G,"width","23px"),o(G,"height","43px"),o(G,"border-left","1px solid "+n[5].window["Hole (dark)"]),o(G,"background-color",n[5].window["Button in tree background"]),o(y,"display","flex"),t(e,"class","channels-row svelte-zts7k"),o(e,"--button-gradient",n[5].window["Button background"].length==9?n[5].window["Button background"].substring(0,7)+"D0":"#767676"),o(e,"--button-background",n[5].window["Button background"]),o(e,"--button-stroke",n[5].window["Button stroke"]),o(e,"display","flex"),o(e,"justify-content","space-between"),o(e,"border-top","1px solid "+n[5].window["Hole (dark)"]),o(e,"border-left","1px solid "+n[5].window["Hole (dark)"]),o(e,"background-color",n[1]?n[5].window["Selected Panel body"]:n[5].window["Panel body"])},m(R,he){te(R,e,he),i(e,l),i(l,r),i(r,s),i(r,a),i(r,d),i(d,f),i(f,b),i(b,w),i(f,x),i(f,$),i($,B),i(B,S),i(S,A),i($,ae),i($,oe),i($,Y),i($,ge),i(d,ve),i(d,F),Pe&&Pe.m(F,null),i(F,U),Be&&Be.m(F,null),i(F,D),Se&&Se.m(F,null),i(F,J),Te&&Te.m(F,null),i(F,we),i(F,ne),i(ne,W),i(ne,ce),i(ne,le),i(F,T),i(F,c),i(r,p),i(r,g),i(e,h),i(e,y),i(y,v),i(v,k),i(k,L),i(y,q),i(y,K),H.m(K,null),i(y,Q),i(y,O),Me.m(O,null),i(y,Z),i(y,G),i(G,X),i(X,ke),i(X,Ce),i(X,me),i(X,je),i(je,Ee)},p(R,[he]){he&8&&o(s,"background-color",R[3]),he&16&&zt(w,R[4]),he&2&&o(b,"color",R[1]?"#000000":"#ffffff"),he&4&&z!==(z=R[2]?"black":"white")&&t(A,"fill",z),he&4&&I!==(I="button "+(R[2]?"rec":"button-background")+" svelte-zts7k")&&t(B,"class",I),he&4&&V!==(V=R[2]?"background-color:red;background-image:none;":"")&&t(B,"style",V),R[0]==="a"?Pe||(Pe=Yt(),Pe.c(),Pe.m(F,U)):Pe&&(Pe.d(1),Pe=null),R[0]==="i"?Be||(Be=Xt(),Be.c(),Be.m(F,D)):Be&&(Be.d(1),Be=null),R[0]==="m"?Se||(Se=Jt(),Se.c(),Se.m(F,J)):Se&&(Se.d(1),Se=null),R[0]==="f"?Te||(Te=Qt(),Te.c(),Te.m(F,we)):Te&&(Te.d(1),Te=null),he&32&&o(W,"background-color",R[5].window.On),he&32&&o(le,"background-color",R[5].window.On),he&32&&o(ne,"background-color",R[5].window["Display Background"]),he&32&&o(ne,"border","2px solid "+R[5].window["Display Background"]),he&32&&o(g,"background-color",R[5].window["Display Background"]),he&2&&_!==(_="instrument "+(R[1]?"selected-inst":"unselected-inst")+" svelte-zts7k")&&t(r,"class",_),he&34&&o(r,"background-color",R[1]?R[5].window["Selected Panel body"]:R[5].window["Panel body"]),he&32&&P!==(P=R[5].window["Normal Toggle Icon"])&&t(k,"fill",P),he&32&&o(v,"border-left","1px solid "+R[5].window["Hole (dark)"]),he&32&&o(v,"background-color",R[5].window["Panel body"]),j===(j=ze(R))&&H?H.p(R,he):(H.d(1),H=j(R),H&&(H.c(),H.m(K,null))),he&32&&o(K,"border-left","1px solid "+R[5].window["Hole (dark)"]),he&32&&o(K,"background-color",R[5].window["Hole (medium)"]),Re===(Re=be(R))&&Me?Me.p(R,he):(Me.d(1),Me=Re(R),Me&&(Me.c(),Me.m(O,null))),he&32&&o(O,"border-left","1px solid "+R[5].window["Hole (dark)"]),he&32&&o(O,"background-color",R[5].window["Hole (medium)"]),he&32&&o(G,"border-left","1px solid "+R[5].window["Hole (dark)"]),he&32&&o(G,"background-color",R[5].window["Button in tree background"]),he&32&&o(e,"--button-gradient",R[5].window["Button background"].length==9?R[5].window["Button background"].substring(0,7)+"D0":"#767676"),he&32&&o(e,"--button-background",R[5].window["Button background"]),he&32&&o(e,"--button-stroke",R[5].window["Button stroke"]),he&32&&o(e,"border-top","1px solid "+R[5].window["Hole (dark)"]),he&32&&o(e,"border-left","1px solid "+R[5].window["Hole (dark)"]),he&34&&o(e,"background-color",R[1]?R[5].window["Selected Panel body"]:R[5].window["Panel body"])},i:N,o:N,d(R){R&&ee(e),Pe&&Pe.d(),Be&&Be.d(),Se&&Se.d(),Te&&Te.d(),H.d(),Me.d()}}}function Oo(n,e,l){let{type:r}=e,{isSelected:s=!1}=e,{isRec:a=!1}=e,{color:d="#808080"}=e,{name:f}=e,b;return Ge.subscribe(w=>{l(5,b=w)}),n.$$set=w=>{"type"in w&&l(0,r=w.type),"isSelected"in w&&l(1,s=w.isSelected),"isRec"in w&&l(2,a=w.isRec),"color"in w&&l(3,d=w.color),"name"in w&&l(4,f=w.name)},[r,s,a,d,f,b]}class Bt extends $e{constructor(e){super(),_e(this,e,Oo,Eo,Le,{type:0,isSelected:1,isRec:2,color:3,name:4})}}function en(n,e,l){const r=n.slice();return r[2]=e[l],r}function tn(n,e,l){const r=n.slice();return r[2]=e[l],r}function nn(n,e,l){const r=n.slice();return r[2]=e[l],r}function on(n,e,l){const r=n.slice();return r[2]=e[l],r}function ln(n,e,l){const r=n.slice();return r[2]=e[l],r}function rn(n){let e;return{c(){e=u("span"),o(e,"height","100%"),o(e,"margin-left","16px"),o(e,"border-right",n[2]%4==0?"1px solid #00000080":"0.5px solid #00000040")},m(l,r){te(l,e,r)},p:N,d(l){l&&ee(e)}}}function sn(n){let e;return{c(){e=u("span"),o(e,"height","100%"),o(e,"margin-left","16px"),o(e,"border-right",n[2]%4==0?"1px solid #00000080":"0.5px solid #00000040")},m(l,r){te(l,e,r)},p:N,d(l){l&&ee(e)}}}function an(n){let e;return{c(){e=u("span"),o(e,"height","100%"),o(e,"margin-left","16px"),o(e,"border-right",n[2]%4==0?"1px solid #00000080":"0.5px solid #00000040")},m(l,r){te(l,e,r)},p:N,d(l){l&&ee(e)}}}function cn(n){let e;return{c(){e=u("span"),o(e,"height","100%"),o(e,"margin-left","16px"),o(e,"border-right",n[2]%4==0?"1px solid #00000080":"0.5px solid #00000040")},m(l,r){te(l,e,r)},p:N,d(l){l&&ee(e)}}}function dn(n){let e;return{c(){e=u("span"),o(e,"height","100%"),o(e,"margin-left","16px"),o(e,"border-right",n[2]%4==0?"1px solid #00000080":"0.5px solid #00000040")},m(l,r){te(l,e,r)},p:N,d(l){l&&ee(e)}}}function Io(n){let e,l,r,s,a,d,f,b,w,x,$,B,S,A,z,I,V,ae,oe,Y,ge,ve,F,U,D,J,we,ne,W,ce,le,T,c,p,g,_,h,y,v,k,L,P,q,K,Q,O,Z,G,X,ke,Ce,me,je,Ee,Pe,Be,Se,Te,ze,j,H,be,Re,Me,R,he,et,nt,De,Xe,ot,Ne,He,ie,xe,qe,ct,tt,xt,st,Zt,dt,lt,Ft,it,Gt,At,ye;Be=new Bt({props:{name:"Inst 1",type:"i",color:"#FF5706",isSelected:!0,isRec:!0}}),Te=new Bt({props:{name:"Audio 2",type:"a",color:"#D99D10"}}),R=new Bt({props:{name:"FX 1",type:"f"}}),et=new Bt({props:{name:"Master",type:"m"}});let pt=Fe(n[1]),Ue=[];for(let M=0;M{l(0,r=a)});let s=Array.from({length:Do},(a,d)=>d);return[r,s]}class zo extends $e{constructor(e){super(),_e(this,e,No,Io,Le,{})}}function Ro(n){let e,l,r,s;return{c(){e=u("div"),l=u("span"),l.innerHTML=' PROJECT ',r=C(),s=u("span"),s.innerHTML=' INST 1 ',t(l,"class","column svelte-1p97y0a"),t(s,"class","column svelte-1p97y0a"),t(e,"id","device-bg"),o(e,"--hole-dark",n[0].window["Hole (dark)"]),o(e,"--panel-body",n[0].window["Panel body"]),o(e,"--panel-stroke",n[0].window["Panel stroke"]),o(e,"--device-header",n[0].window["Device Header"]),t(e,"class","svelte-1p97y0a")},m(a,d){te(a,e,d),i(e,l),i(e,r),i(e,s)},p(a,[d]){d&1&&o(e,"--hole-dark",a[0].window["Hole (dark)"]),d&1&&o(e,"--panel-body",a[0].window["Panel body"]),d&1&&o(e,"--panel-stroke",a[0].window["Panel stroke"]),d&1&&o(e,"--device-header",a[0].window["Device Header"])},i:N,o:N,d(a){a&&ee(e)}}}function qo(n,e,l){let r;return Ge.subscribe(s=>{l(0,r=s)}),[r]}class Zo extends $e{constructor(e){super(),_e(this,e,qo,Ro,Le,{})}}function Fo(n){let e,l,r,s,a;return l=new zo({}),s=new Zo({}),{c(){e=u("div"),fe(l.$$.fragment),r=C(),fe(s.$$.fragment),t(e,"class","svelte-1q5krv1")},m(d,f){te(d,e,f),ue(l,e,null),i(e,r),ue(s,e,null),a=!0},p:N,i(d){a||(re(l.$$.fragment,d),re(s.$$.fragment,d),a=!0)},o(d){se(l.$$.fragment,d),se(s.$$.fragment,d),a=!1},d(d){d&&ee(e),pe(l),pe(s)}}}class Go extends $e{constructor(e){super(),_e(this,e,null,Fo,Le,{})}}function Uo(n){let e,l,r,s,a,d,f;return{c(){e=m("svg"),l=m("g"),r=m("g"),s=m("g"),a=m("g"),d=m("path"),f=m("path"),t(d,"d","M8.719,3.594C8.684,3.609 8.652,3.63 8.625,3.656C8.546,3.715 8.5,3.808 8.5,3.906L8.5,7.719L5.156,5.813C5.017,5.736 4.841,5.777 4.75,5.906C4.739,5.916 4.728,5.926 4.719,5.938L4.031,7.156C3.972,7.266 3.984,7.402 4.063,7.5C4.08,7.524 4.101,7.545 4.125,7.563C4.135,7.574 4.145,7.584 4.156,7.594L7.438,9.5L4.156,11.406C4.133,11.424 4.112,11.445 4.094,11.469C3.991,11.565 3.965,11.719 4.031,11.844L4.719,13.063C4.772,13.166 4.88,13.232 4.996,13.232C5.053,13.232 5.108,13.216 5.156,13.188L8.5,11.281L8.5,15.094C8.5,15.161 8.522,15.227 8.563,15.281C8.621,15.36 8.714,15.406 8.813,15.406L10.188,15.406C10.255,15.406 10.321,15.384 10.375,15.344C10.454,15.285 10.5,15.192 10.5,15.094L10.5,11.281L13.844,13.188C13.983,13.264 14.159,13.223 14.25,13.094C14.261,13.084 14.272,13.074 14.281,13.063L14.969,11.844C15.028,11.734 15.016,11.598 14.938,11.5C14.92,11.476 14.899,11.455 14.875,11.438C14.865,11.426 14.855,11.416 14.844,11.406L11.563,9.5L14.844,7.594C14.867,7.576 14.888,7.555 14.906,7.531C15.009,7.435 15.035,7.281 14.969,7.156L14.281,5.938C14.228,5.834 14.12,5.768 14.004,5.768C13.947,5.768 13.892,5.784 13.844,5.813L10.5,7.719L10.5,3.906C10.5,3.839 10.478,3.773 10.438,3.719C10.379,3.64 10.286,3.594 10.188,3.594L8.813,3.594C8.781,3.589 8.75,3.589 8.719,3.594Z"),o(d,"fill","rgb(179,179,179)"),o(d,"fill-rule","nonzero"),t(f,"d","M4.285,5.493C4.289,5.488 4.293,5.484 4.297,5.48C4.581,5.148 5.068,5.055 5.456,5.269C5.459,5.271 5.461,5.272 5.464,5.273L7.879,6.651L7.879,3.907C7.879,3.623 8.008,3.355 8.221,3.185C8.296,3.118 8.381,3.064 8.473,3.024C8.522,3.003 8.573,2.988 8.626,2.98C8.702,2.969 8.779,2.967 8.846,2.973L10.187,2.973C10.481,2.973 10.758,3.112 10.934,3.346C11.055,3.508 11.121,3.705 11.121,3.906L11.121,6.651C11.121,6.651 13.535,5.274 13.535,5.274C13.677,5.191 13.839,5.148 14.004,5.148C14.347,5.148 14.664,5.338 14.826,5.64L15.509,6.851C15.512,6.856 15.514,6.86 15.516,6.864C15.707,7.223 15.643,7.665 15.369,7.946C15.323,8 15.272,8.048 15.216,8.09C15.197,8.105 15.176,8.118 15.155,8.13L12.798,9.5L15.155,10.87C15.189,10.889 15.221,10.912 15.25,10.937C15.271,10.955 15.29,10.973 15.299,10.983C15.346,11.024 15.39,11.07 15.428,11.12C15.656,11.411 15.691,11.812 15.515,12.139C15.513,12.142 15.511,12.145 15.509,12.149L14.822,13.367C14.801,13.404 14.777,13.438 14.75,13.469C14.739,13.482 14.727,13.495 14.715,13.507C14.711,13.512 14.707,13.516 14.703,13.52C14.419,13.852 13.932,13.945 13.544,13.731C13.541,13.729 13.539,13.728 13.536,13.727L11.121,12.349L11.121,15.093C11.121,15.387 10.982,15.664 10.747,15.84C10.586,15.961 10.389,16.027 10.188,16.027L8.813,16.027C8.519,16.027 8.242,15.888 8.066,15.654C7.945,15.492 7.879,15.295 7.879,15.094L7.879,12.349C7.879,12.349 5.465,13.726 5.465,13.726C5.323,13.809 5.161,13.852 4.996,13.852C4.653,13.852 4.336,13.662 4.174,13.36L3.491,12.149C3.488,12.144 3.486,12.14 3.484,12.136C3.293,11.777 3.357,11.335 3.631,11.054C3.677,11 3.728,10.952 3.784,10.91C3.803,10.895 3.824,10.882 3.845,10.87L6.202,9.5L3.845,8.13C3.811,8.111 3.779,8.088 3.75,8.063C3.729,8.045 3.71,8.027 3.701,8.017C3.654,7.976 3.61,7.93 3.572,7.88C3.344,7.589 3.309,7.188 3.485,6.861C3.487,6.858 3.489,6.855 3.491,6.851L4.178,5.633C4.199,5.596 4.223,5.562 4.25,5.531C4.261,5.518 4.273,5.505 4.285,5.493ZM8.719,3.594C8.684,3.609 8.652,3.63 8.625,3.656C8.546,3.715 8.5,3.808 8.5,3.906L8.5,7.719L5.156,5.813C5.017,5.736 4.841,5.777 4.75,5.906C4.739,5.916 4.728,5.926 4.719,5.938L4.031,7.156C3.972,7.266 3.984,7.402 4.063,7.5C4.08,7.524 4.101,7.545 4.125,7.563C4.135,7.574 4.145,7.584 4.156,7.594L7.438,9.5L4.156,11.406C4.133,11.424 4.112,11.445 4.094,11.469C3.991,11.565 3.965,11.719 4.031,11.844L4.719,13.062C4.772,13.166 4.88,13.232 4.996,13.232C5.053,13.232 5.108,13.216 5.156,13.188L8.5,11.281L8.5,15.094C8.5,15.161 8.522,15.227 8.563,15.281C8.621,15.36 8.714,15.406 8.813,15.406L10.188,15.406C10.255,15.406 10.321,15.384 10.375,15.344C10.454,15.285 10.5,15.192 10.5,15.094L10.5,11.281L13.844,13.188C13.983,13.264 14.159,13.223 14.25,13.094C14.261,13.084 14.272,13.074 14.281,13.062L14.969,11.844C15.028,11.734 15.016,11.598 14.938,11.5C14.92,11.476 14.899,11.455 14.875,11.438C14.865,11.426 14.855,11.416 14.844,11.406L11.563,9.5L14.844,7.594C14.867,7.576 14.888,7.555 14.906,7.531C15.009,7.435 15.035,7.281 14.969,7.156L14.281,5.938C14.228,5.834 14.12,5.768 14.004,5.768C13.947,5.768 13.892,5.784 13.844,5.813L10.5,7.719L10.5,3.906C10.5,3.839 10.478,3.773 10.438,3.719C10.379,3.64 10.286,3.594 10.188,3.594L8.813,3.594C8.781,3.589 8.75,3.589 8.719,3.594Z"),o(f,"fill-opacity","0.66"),t(a,"transform","matrix(0.665624,0,0,0.665624,3.17657,16.1778)"),t(r,"transform","matrix(1.21053,0,0,1.21053,31,17.2632)"),t(l,"transform","matrix(1,0,0,1,-31,-33)"),t(e,"width","23px"),t(e,"height","23px"),t(e,"viewBox","0 0 23 23"),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(b,w){te(b,e,w),i(e,l),i(l,r),i(r,s),i(s,a),i(a,d),i(a,f)},p:N,i:N,o:N,d(b){b&&ee(e)}}}class vt extends $e{constructor(e){super(),_e(this,e,null,Uo,Le,{})}}function Vo(n){let e;return{c(){e=u("div"),e.innerHTML=' '},m(l,r){te(l,e,r)},p:N,i:N,o:N,d(l){l&&ee(e)}}}class Ko extends $e{constructor(e){super(),_e(this,e,null,Vo,Le,{})}}function Wo(n){let e,l,r,s,a,d,f,b,w,x,$,B,S,A,z,I,V,ae,oe,Y,ge,ve,F,U,D,J,we,ne,W,ce,le,T,c,p,g,_,h,y,v,k;return r=new Ko({}),S=new vt({}),V=new vt({}),ge=new vt({}),J=new vt({}),ce=new vt({}),p=new vt({}),{c(){e=u("div"),l=u("span"),fe(r.$$.fragment),s=C(),a=u("span"),d=u("i"),d.textContent="Everything",f=C(),b=u("span"),b.innerHTML=' Search ',w=C(),x=u("span"),$=u("span"),B=u("i"),fe(S.$$.fragment),A=Ie("Location"),z=C(),I=u("i"),fe(V.$$.fragment),ae=Ie("Category"),oe=C(),Y=u("i"),fe(ge.$$.fragment),ve=Ie("Device"),F=C(),U=u("span"),D=u("i"),fe(J.$$.fragment),we=Ie("File Kind"),ne=C(),W=u("i"),fe(ce.$$.fragment),le=Ie("Creator"),T=C(),c=u("i"),fe(p.$$.fragment),g=Ie("Tags"),_=C(),h=u("span"),h.innerHTML='',y=C(),v=u("span"),v.innerHTML="",t(l,"class","top-nav svelte-q1jjt6"),t(d,"class","svelte-q1jjt6"),t(b,"class","search-bar hole-dark svelte-q1jjt6"),t(B,"class","svelte-q1jjt6"),t(I,"class","svelte-q1jjt6"),t(Y,"class","svelte-q1jjt6"),t($,"class","location-side svelte-q1jjt6"),t(D,"class","svelte-q1jjt6"),t(W,"class","svelte-q1jjt6"),t(c,"class","svelte-q1jjt6"),t(U,"class","location-side svelte-q1jjt6"),t(x,"class","locations svelte-q1jjt6"),t(a,"class","everything-bar svelte-q1jjt6"),t(h,"class","files hole-dark svelte-q1jjt6"),t(v,"class","bottom-bar svelte-q1jjt6"),t(e,"id","browser-panel"),o(e,"--hole-dark",n[0].window["Hole (dark)"]),o(e,"--panel-body",n[0].window["Panel body"]),o(e,"--panel-stroke",n[0].window["Panel stroke"]),o(e,"--hole-medium",n[0].window["Hole (medium)"]),t(e,"class","svelte-q1jjt6")},m(L,P){te(L,e,P),i(e,l),ue(r,l,null),i(e,s),i(e,a),i(a,d),i(a,f),i(a,b),i(a,w),i(a,x),i(x,$),i($,B),ue(S,B,null),i(B,A),i($,z),i($,I),ue(V,I,null),i(I,ae),i($,oe),i($,Y),ue(ge,Y,null),i(Y,ve),i(x,F),i(x,U),i(U,D),ue(J,D,null),i(D,we),i(U,ne),i(U,W),ue(ce,W,null),i(W,le),i(U,T),i(U,c),ue(p,c,null),i(c,g),i(e,_),i(e,h),i(e,y),i(e,v),k=!0},p(L,[P]){(!k||P&1)&&o(e,"--hole-dark",L[0].window["Hole (dark)"]),(!k||P&1)&&o(e,"--panel-body",L[0].window["Panel body"]),(!k||P&1)&&o(e,"--panel-stroke",L[0].window["Panel stroke"]),(!k||P&1)&&o(e,"--hole-medium",L[0].window["Hole (medium)"])},i(L){k||(re(r.$$.fragment,L),re(S.$$.fragment,L),re(V.$$.fragment,L),re(ge.$$.fragment,L),re(J.$$.fragment,L),re(ce.$$.fragment,L),re(p.$$.fragment,L),k=!0)},o(L){se(r.$$.fragment,L),se(S.$$.fragment,L),se(V.$$.fragment,L),se(ge.$$.fragment,L),se(J.$$.fragment,L),se(ce.$$.fragment,L),se(p.$$.fragment,L),k=!1},d(L){L&&ee(e),pe(r),pe(S),pe(V),pe(ge),pe(J),pe(ce),pe(p)}}}function Yo(n,e,l){let r;return Ge.subscribe(s=>{l(0,r=s)}),[r]}class Xo extends $e{constructor(e){super(),_e(this,e,Yo,Wo,Le,{})}}let Tt=null;const Oe=(n,e)=>{n.stopPropagation(),setTimeout(()=>{const l=document.getElementById(e);l.scrollIntoView({behavior:"smooth",block:"center"}),l.parentElement.parentElement.style.backgroundColor="lime",Tt!==null&&Tt!==l&&(Tt.parentElement.parentElement.style.backgroundColor="whitesmoke"),Tt=l},0)},Ae=Rt("window"),Jo=()=>{Array.from(document.getElementsByClassName("panel-body")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Panel body")})}),Array.from(document.getElementsByClassName("button-background")).forEach(n=>{if(n.id=="rec"){n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Record button color")});return}if(n.id=="play"){n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"On")});return}n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Button background")})}),Array.from(document.getElementsByClassName("hitech-group")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Hitech on")})})},Qo=()=>{document.getElementById("top_bar").addEventListener("mousedown",n=>{Ae.set("window"),Oe(n,"Window background")})},el=()=>{document.getElementById("browser-panel").addEventListener("mousedown",n=>{Ae.set("window"),Oe(n,"Hole (medium)")}),Array.from(document.getElementsByClassName("hole-dark")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Hole (dark)")})})},tl=()=>{document.getElementById("device-bg").addEventListener("mousedown",n=>{Ae.set("window"),Oe(n,"Hole (dark)")}),Array.from(document.getElementsByClassName("column")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Device Header")})})},nl=()=>{document.getElementById("insp_title").addEventListener("mousedown",n=>{Ae.set("window"),Oe(n,"Panel body")}),document.getElementById("cpu_svg").addEventListener("mousedown",n=>{Ae.set("window"),Oe(n,"On")}),Array.from(document.getElementsByClassName("display-background")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Display Background")})}),Array.from(document.getElementsByClassName("hole-light")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Hole (light)")})}),Array.from(document.getElementsByClassName("hole-medium")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Hole (medium)")})}),Array.from(document.getElementsByClassName("on")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"On")})}),Array.from(document.getElementsByClassName("rec")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Record button color")})})},ol=()=>{document.getElementById("bottom_bar").addEventListener("mousedown",n=>{Ae.set("window"),Oe(n,"Window background")})},ll=()=>{Array.from(document.getElementsByClassName("top-level-timeline-header-background")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("arranger"),Oe(e,"Top Level Timeline Header Background")})}),Array.from(document.getElementsByClassName("light-timeline-background")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("arranger"),Oe(e,"Light Timeline Background")})}),Array.from(document.getElementsByClassName("dark-timeline-background")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("arranger"),Oe(e,"Dark Timeline Background")})}),Array.from(document.getElementsByClassName("button-in-tree-background")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Button in tree background")})})},il=()=>{Array.from(document.getElementsByClassName("selected-inst")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Selected Panel body")})}),Array.from(document.getElementsByClassName("unselected-inst")).forEach(n=>{n.addEventListener("mousedown",e=>{Ae.set("window"),Oe(e,"Panel body")})})},rl=()=>{Jo(),Qo(),el(),tl(),nl(),ol(),ll(),il()};function sl(n){let e,l,r,s,a,d,f,b,w,x,$,B,S,A,z;return l=new Rn({}),s=new po({}),f=new So({}),w=new Go({}),$=new Xo({}),S=new go({}),{c(){e=u("div"),fe(l.$$.fragment),r=C(),fe(s.$$.fragment),a=C(),d=u("span"),fe(f.$$.fragment),b=C(),fe(w.$$.fragment),x=C(),fe($.$$.fragment),B=C(),fe(S.$$.fragment),t(d,"class","svelte-11joe25"),t(e,"id","bitwig"),t(e,"style",A=" background-color: "+n[0].window["Window background"]+"; zoom: "+n[1]+"%;"),t(e,"class","svelte-11joe25")},m(I,V){te(I,e,V),ue(l,e,null),i(e,r),ue(s,e,null),i(e,a),i(e,d),ue(f,d,null),i(d,b),ue(w,d,null),i(d,x),ue($,d,null),i(e,B),ue(S,e,null),z=!0},p(I,[V]){(!z||V&3&&A!==(A=" background-color: "+I[0].window["Window background"]+"; zoom: "+I[1]+"%;"))&&t(e,"style",A)},i(I){z||(re(l.$$.fragment,I),re(s.$$.fragment,I),re(f.$$.fragment,I),re(w.$$.fragment,I),re($.$$.fragment,I),re(S.$$.fragment,I),z=!0)},o(I){se(l.$$.fragment,I),se(s.$$.fragment,I),se(f.$$.fragment,I),se(w.$$.fragment,I),se($.$$.fragment,I),se(S.$$.fragment,I),z=!1},d(I){I&&ee(e),pe(l),pe(s),pe(f),pe(w),pe($),pe(S)}}}function al(n,e,l){let r;Ge.subscribe(a=>{l(0,r=a)});let s=100;return at.subscribe(a=>{l(1,s=a)}),St(()=>{rl()}),[r,s]}class cl extends $e{constructor(e){super(),_e(this,e,al,sl,Le,{})}}const dl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAAN0lEQVQ4jWN8+vQpA24gJSWFU46BgQlDhAQwqnlkaGb8//8/hiACPHv2DENsZAfYqGZSAAMDAwDAoQjTb+zK0AAAAABJRU5ErkJggg==";function ul(n){let e,l,r;return l=new cl({}),{c(){e=u("div"),fe(l.$$.fragment),o(e,"background-image","url("+dl+")"),t(e,"class","svelte-gyjpao")},m(s,a){te(s,e,a),ue(l,e,null),r=!0},p:N,i(s){r||(re(l.$$.fragment,s),r=!0)},o(s){se(l.$$.fragment,s),r=!1},d(s){s&&ee(e),pe(l)}}}class pl extends $e{constructor(e){super(),_e(this,e,null,ul,Le,{})}}const fl={advanced:{"Timeline Playhead":"The playhead in the timeline while the track is playing."},window:{"Abstract Button Pressed Background":"","Abstract Button Selected Background":"","Abstract Button Stroke":"","Abstract Button Unselected Background":"","Activation Green":'Status of Activation inside "Manage Licenses" popup.',"Activation Red":'Status of Activation inside "Manage Licenses" popup.',"Activation Yellow":'Status of Activation inside "Manage Licenses" popup.',"Active Inverted Toggle Icon (Playing)":"","Active Panel stroke":"Border of active (selected) panel of the UI. E.g. arranger, browser, etc.","Active Toggle Icon (Playing)":"","Analyzed Beat Color":"","Audio Event Boundary":"Boundaries of audio event in clip view.","Automation Color":"","Beat Marker Color":"Manually added beat markers (inverted when the beat marker is selected)","Bitwig 16-Track":"","Bitwig 8-Track":"","Bitwig CI":"","Bitwig Essentials":"","Bitwig Mint":"This color is used in the circle that flashes in the top right corner of the screen when a project loads.","Bitwig Producer":"","Bitwig Red":"","Button background":"All default buttons colors (transport etc.)","Button in tree background":"","Button stroke":"Buttons border","Checkbox background":"","Close button mouse over background":"","Close button pressed background":"","Comp fill":"","Content Background":"","Dark Panel Sub-frame Fill":"","Dark Panel Sub-frame Stroke":"","Dark Separator Line":"","Dark Text":"","Dark tree background (selected)":"The selected entry in the right-side browser when panel is focussed.","Dark tree background (standby selected)":"The selected entry in the right-side browser when panel is not focussed.","Dark tree hover background change":"","Dark tree separator":"","Dark tree text":"","Dark tree text (selected)":"","Default text":"","Device Header":"","Device Header (selected)":"","Device Locked Overlay":"","Device Tint Future":"","Device Tint Military":"","Device Tint Retro":"","Display Background":"Changes the background of all display elements, for example in the sampler, the transport details, and some elements in the inspector - Also changes one of the 2 colors that make the gradients of various devices (such as sampler and comp+)","Display Background (error)":"","Display Loop Markers":"","Display Start/End Markers":"","Display Waveform":"","Drop Indicator":"","Emboss Highlight":"","Emboss Shadow":"","Error Text":"","Field background":"","Grey Display Background":"","Grid Line (Primary)":"","Grid Line (Secondary)":"","Hitcount background":"","Hitcount text color":"","Hitech background":"","Hitech on":"The transport color, as well as the blue text on the right-side panel.","Hole (dark)":"Seemingly affects all major background spaces such as background of the tracks / scenes, background of the device pane and background of browsers.","Hole (light)":"Affects smaller background elements.","Hole (medium)":"Affects other smaller background elements.","Implicit On (subtle)":"","Inspector Section Frame":"","Inverted Selected Borderless Button background":"","Knob Body Darkest":"The body of dark knobs.","Knob Body Lighter":"The body of lighter knobs","Knob Body Lightest":"The body of the lightest / white knobs","Knob Emboss Highlight":"","Knob Emboss Shadow":"","Knob Line":"The knob pointer on dark knobs.","Knob Line Dark":"The knob pointer on light knobs.","Knob Stroke":"The stroke around the knob.","Knob Value Color":"The main colored value for a knob.","Launcher Mapping Indication":"","Led Off":"","Led On":"","Light Separator Line":"","Light Text":"","Light Tooltip Background":"","Lighter Text":"","Link Text":"","List Item Background":"","List Separator":"",Mapping:"","Mapping indication 1":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 2":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 3":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 4":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 5":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 6":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 7":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 8":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Medium Light Text":"","Menu Icon":"","Menu background":"","Menu description text":"","Menu separator":"","Menu stroke":"","Menu text":"","Meter Clipping":"The highest value in a meter (clipping)","Meter Gain Reduction":"","Meter Hitech":"CPU/IO Meter colors","Meter Hitech Background":"Background of CPU/IO Meter color","Meter Muted":"","Meter Normal":"The lowest value in a meter","Meter Red":"The second highest value in a meter","Meter Yellow":"The second lowest value in a meter","Modern Dark Scrollbar Handle (active)":"","Modern Dark Scrollbar Handle (inactive)":"","Modern Scrollbar Background (active)":"Color of browser and devices panel scrollbars when hovered.","Modern Scrollbar Handle (active)":"Color of browser scrollbars and devices panel handle when hovered.","Modern Scrollbar Handle (inactive)":"","Modulation Mapping Background (polyphonic)":"","Modulation Mapping Background Color":"","Modulation Mapping Color":"","Modulation Mapping Color (polyphonic)":"","Modulation Mapping Color (subtractive)":"","Monitoring buttons color":"The Solo button","Mouse Over Inverted Toggle Icon":"","Mouse Over Toggle Icon":"","Normal Inverted Toggle Icon":"","Normal Toggle Icon":"","Notification Background":"Background of top right notification (when loading projects, etc.)","Notification Error":"Text color for the notifications when there is an error.","Notification Normal":"Text color for notifications","Number field bar background":"",On:'The "main" orange button color (for Play, Mute etc). Probably, this also affects the color of the track volume faders.',"On (subtle)":"","On (subtler)":"","Onset Marker Color":"","Panel Blue":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Green":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Lime":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Mint":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Orange":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Purple":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Red":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Turquoise":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Yellow":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel body":"Affects the main background of most elements, including devices and track background colors - This is also overlayed on top of the buttons in BW's top bar, so it also affects them. A darker color will also make the buttons darker.","Panel stroke":"Border of most elements, also the main UI (it's basically the color for separating sections of the UI).","Popup Notification Background":"","Popup insert":"","Popup overlay background color":"","Pressed Inverted Toggle Icon":"","Pressed On":'Same as "On" but when mouse is clicked and held. Makes sense to use a darker variant of the color used for "On"',"Pressed Toggle Icon":"","Pressed button background":"","Pressed view button background":"","Progress background":"Background of progress bar (in notifications, not sure if anywhere else)","Progress bar":"Color fill of progress bar","Record button color":"This is obviously the record button color, but also the automation write and overdub buttons next to it. It also affects the dark red of the overdub button when it's on (but recording is off)","Rubber button stroke":"","Rubber highlight button stroke":"",Scrollbar:"Color of arranger area scrollbar.","Scrollbar background":"","Selected Dashboard Tree":"","Selected Panel body":"Background of selected track in arranger (not sure if also somewhere else)","Selected Panel stroke":"","Selected Panel stroke (standby)":"",Selection:"",Shadow:"A shadow that is added if the tracks extend beyond the displayed area.","Standby selection":"","Subtle Dark Text":"","Subtle Light Text":"","Subtler Light Text":"","The Grid (background)":"The squares in the grid","The Grid (stroke)":"The lines between squares in the grid","Timeline edit tool chooser background":"","Tooltip Background":"","Tooltip Stroke":"","Tree Item Background":"","Tree Separator":"","User Automation Override Color":"The color of the icon when manually overriding automation (Has a uneditable slight gradient on the icon to give it a slight bump). And also the color of the dot next to the parameter on devices.","View button background":"",Warning:"","Window background":"Window background color (the very top bar color etc.)"},arranger:{"Add Modulation Button Color":"Button that switches to additive modulation mode in the edit window.","Audio connection in modular environment":"","Audio64 connection in modular environment":"","Automation button glow color":"","Background color of the modular environment.":"","Clip Automation Button Color":"","Clip Automation Color":"","Clip Modulation Color":"","Compressed Audio Port in modular environment":"","Current Atom Value Color":"Automation line when no automation is present (no nodes)","Dark Timeline Background":"This is the unused portion of the arranger.","Dark Timeline Header Background":"Background of the timeline on top of the arranger (90% sure)","Event connection in modular environment":"","Header Loop Region Background":"","Header Time Selection Across All Lanes Fill":"","Header Time Selection Across All Lanes Stroke":"","Header Time Selection Cursor Stroke":"","Header Time Selection Fill":"","Header Time Selection Standby Cursor Stroke":"","Header Time Selection Standby Fill":"","Header Time Selection Standby Stroke":"","Header Time Selection Stroke":"","Insert preview time":"","Irrelevant Timeline Background":"","Irrelevant Timeline Header Background":"","Irrelevant Timeline Header Overlay":"","Irrelevant Timeline Overlay":"","Light Timeline Background":"","Light Timeline Header Background":"","Loop Region Background":"","Multiply Modulation Button Color":'Button that switches to multiply modulation mode in the edit window. Next to "Add Modulation Button Color"',"Note Expression Color":"","Polyphonic Desktop Object":"","Record button color implicit":"","Record button glow color":"","Selected matrix slot color":"","Send (post) value color":"Knob color for send value in Post mode","Send (pre) value color":"Knob color for send value in Pre mode","Time Selection Across All Lanes Fill":"","Time Selection Across All Lanes Stroke":"","Time Selection Cursor Stroke":"","Time Selection Fill":"","Time Selection Inactive Fill":"","Time Selection Inactive Stroke":"","Time Selection Not Selected Fill":"","Time Selection Not Selected Stroke":"","Time Selection Standby Cursor Stroke":"","Time Selection Standby Fill":"","Time Selection Standby Stroke":"","Time Selection Stroke":"","Timeline Background Pattern":"Darkens black key area on piano roll background","Timeline Cue Marker":"","Timeline Header Background Pattern":"","Timeline Header Cue Marker":"","Timeline Header Primary Grid":"","Timeline Header Secondary Grid":"","Timeline Header Tooltip Background":"","Timeline Header Tooltip Text":"","Timeline Primary Grid":"","Timeline Secondary Grid":"","Timeline Tooltip Background":"","Timeline Tooltip Text":"","Top Level Timeline Background":"","Top Level Timeline Header Background":"","Track Automation Button Color":"Indicator that automation is active on a parameter.","Track Automation Color":"The background and points of automation."}};function hl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Cn={exports:{}};/*! Pickr 1.9.1 MIT | https://github.com/Simonwep/pickr */(function(n,e){(function(l,r){n.exports=r()})(self,()=>(()=>{var l={d:(T,c)=>{for(var p in c)l.o(c,p)&&!l.o(T,p)&&Object.defineProperty(T,p,{enumerable:!0,get:c[p]})},o:(T,c)=>Object.prototype.hasOwnProperty.call(T,c),r:T=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(T,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(T,"__esModule",{value:!0})}},r={};l.d(r,{default:()=>ce});var s={};function a(T,c,p,g,_={}){c instanceof HTMLCollection||c instanceof NodeList?c=Array.from(c):Array.isArray(c)||(c=[c]),Array.isArray(p)||(p=[p]);for(const h of c)for(const y of p)h[T](y,g,{capture:!1,..._});return Array.prototype.slice.call(arguments,1)}l.r(s),l.d(s,{adjustableInputNumbers:()=>B,createElementFromString:()=>b,createFromTemplate:()=>w,eventPath:()=>x,off:()=>f,on:()=>d,resolveElement:()=>$});const d=a.bind(null,"addEventListener"),f=a.bind(null,"removeEventListener");function b(T){const c=document.createElement("div");return c.innerHTML=T.trim(),c.firstElementChild}function w(T){const c=(g,_)=>{const h=g.getAttribute(_);return g.removeAttribute(_),h},p=(g,_={})=>{const h=c(g,":obj"),y=c(g,":ref"),v=h?_[h]={}:_;y&&(_[y]=g);for(const k of Array.from(g.children)){const L=c(k,":arr"),P=p(k,L?{}:v);L&&(v[L]||(v[L]=[])).push(Object.keys(P).length?P:k)}return _};return p(b(T))}function x(T){let c=T.path||T.composedPath&&T.composedPath();if(c)return c;let p=T.target.parentElement;for(c=[T.target,p];p=p.parentElement;)c.push(p);return c.push(document,window),c}function $(T){return T instanceof Element?T:typeof T=="string"?T.split(/>>/g).reduce((c,p,g,_)=>(c=c.querySelector(p),g<_.length-1?c.shadowRoot:c),document):null}function B(T,c=p=>p){function p(g){const _=[.001,.01,.1][Number(g.shiftKey||2*g.ctrlKey)]*(g.deltaY<0?1:-1);let h=0,y=T.selectionStart;T.value=T.value.replace(/[\d.]+/g,(v,k)=>k<=y&&k+v.length>=y?(y=k,c(Number(v),_,h)):(h++,v)),T.focus(),T.setSelectionRange(y,y),g.preventDefault(),T.dispatchEvent(new Event("input"))}d(T,"focus",()=>d(window,"wheel",p,{passive:!1})),d(T,"blur",()=>f(window,"wheel",p))}const{min:S,max:A,floor:z,round:I}=Math;function V(T,c,p){c/=100,p/=100;const g=z(T=T/360*6),_=T-g,h=p*(1-c),y=p*(1-_*c),v=p*(1-(1-_)*c),k=g%6;return[255*[p,y,h,h,v,p][k],255*[v,p,p,y,h,h][k],255*[h,h,v,p,p,y][k]]}function ae(T,c,p){const g=(2-(c/=100))*(p/=100)/2;return g!==0&&(c=g===1?0:g<.5?c*p/(2*g):c*p/(2-2*g)),[T,100*c,100*g]}function oe(T,c,p){const g=S(T/=255,c/=255,p/=255),_=A(T,c,p),h=_-g;let y,v;if(h===0)y=v=0;else{v=h/_;const k=((_-T)/6+h/2)/h,L=((_-c)/6+h/2)/h,P=((_-p)/6+h/2)/h;T===_?y=P-L:c===_?y=1/3+k-P:p===_&&(y=2/3+L-k),y<0?y+=1:y>1&&(y-=1)}return[360*y,100*v,100*_]}function Y(T,c,p,g){return c/=100,p/=100,[...oe(255*(1-S(1,(T/=100)*(1-(g/=100))+g)),255*(1-S(1,c*(1-g)+g)),255*(1-S(1,p*(1-g)+g)))]}function ge(T,c,p){c/=100;const g=2*(c*=(p/=100)<.5?p:1-p)/(p+c)*100,_=100*(p+c);return[T,isNaN(g)?0:g,_]}function ve(T){return oe(...T.match(/.{2}/g).map(c=>parseInt(c,16)))}function F(T){T=T.match(/^[a-zA-Z]+$/)?function(_){if(_.toLowerCase()==="black")return"#000";const h=document.createElement("canvas").getContext("2d");return h.fillStyle=_,h.fillStyle==="#000"?null:h.fillStyle}(T):T;const c={cmyk:/^cmyk\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)/i,rgba:/^rgba?\D+([\d.]+)(%?)\D+([\d.]+)(%?)\D+([\d.]+)(%?)\D*?(([\d.]+)(%?)|$)/i,hsla:/^hsla?\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D*?(([\d.]+)(%?)|$)/i,hsva:/^hsva?\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D*?(([\d.]+)(%?)|$)/i,hexa:/^#?(([\dA-Fa-f]{3,4})|([\dA-Fa-f]{6})|([\dA-Fa-f]{8}))$/i},p=_=>_.map(h=>/^(|\d+)\.\d+|\d+$/.test(h)?Number(h):void 0);let g;e:for(const _ in c)if(g=c[_].exec(T))switch(_){case"cmyk":{const[,h,y,v,k]=p(g);if(h>100||y>100||v>100||k>100)break e;return{values:Y(h,y,v,k),type:_}}case"rgba":{let[,h,,y,,v,,,k]=p(g);if(h=g[2]==="%"?h/100*255:h,y=g[4]==="%"?y/100*255:y,v=g[6]==="%"?v/100*255:v,k=g[9]==="%"?k/100:k,h>255||y>255||v>255||k<0||k>1)break e;return{values:[...oe(h,y,v),k],a:k,type:_}}case"hexa":{let[,h]=g;h.length!==4&&h.length!==3||(h=h.split("").map(k=>k+k).join(""));const y=h.substring(0,6);let v=h.substring(6);return v=v?parseInt(v,16)/255:void 0,{values:[...ve(y),v],a:v,type:_}}case"hsla":{let[,h,y,v,,k]=p(g);if(k=g[6]==="%"?k/100:k,h>360||y>100||v>100||k<0||k>1)break e;return{values:[...ge(h,y,v),k],a:k,type:_}}case"hsva":{let[,h,y,v,,k]=p(g);if(k=g[6]==="%"?k/100:k,h>360||y>100||v>100||k<0||k>1)break e;return{values:[h,y,v,k],a:k,type:_}}}return{values:null,type:null}}function U(T=0,c=0,p=0,g=1){const _=(y,v)=>(k=-1)=>v(~k?y.map(L=>Number(L.toFixed(k))):y),h={h:T,s:c,v:p,a:g,toHSVA(){const y=[h.h,h.s,h.v,h.a];return y.toString=_(y,v=>`hsva(${v[0]}, ${v[1]}%, ${v[2]}%, ${h.a})`),y},toHSLA(){const y=[...ae(h.h,h.s,h.v),h.a];return y.toString=_(y,v=>`hsla(${v[0]}, ${v[1]}%, ${v[2]}%, ${h.a})`),y},toRGBA(){const y=[...V(h.h,h.s,h.v),h.a];return y.toString=_(y,v=>`rgba(${v[0]}, ${v[1]}, ${v[2]}, ${h.a})`),y},toCMYK(){const y=function(v,k,L){const P=V(v,k,L),q=P[0]/255,K=P[1]/255,Q=P[2]/255,O=S(1-q,1-K,1-Q);return[100*(O===1?0:(1-q-O)/(1-O)),100*(O===1?0:(1-K-O)/(1-O)),100*(O===1?0:(1-Q-O)/(1-O)),100*O]}(h.h,h.s,h.v);return y.toString=_(y,v=>`cmyk(${v[0]}%, ${v[1]}%, ${v[2]}%, ${v[3]}%)`),y},toHEXA(){const y=function(k,L,P){return V(k,L,P).map(q=>I(q).toString(16).padStart(2,"0"))}(h.h,h.s,h.v),v=h.a>=1?"":Number((255*h.a).toFixed(0)).toString(16).toUpperCase().padStart(2,"0");return v&&y.push(v),y.toString=()=>`#${y.join("").toUpperCase()}`,y},clone:()=>U(h.h,h.s,h.v,h.a)};return h}const D=T=>Math.max(Math.min(T,1),0);function J(T){const c={options:Object.assign({lock:null,onchange:()=>0,onstop:()=>0},T),_keyboard(h){const{options:y}=c,{type:v,key:k}=h;if(document.activeElement===y.wrapper){const{lock:L}=c.options,P=k==="ArrowUp",q=k==="ArrowRight",K=k==="ArrowDown",Q=k==="ArrowLeft";if(v==="keydown"&&(P||q||K||Q)){let O=0,Z=0;L==="v"?O=P||q?1:-1:L==="h"?O=P||q?-1:1:(Z=P?-1:K?1:0,O=Q?-1:q?1:0),c.update(D(c.cache.x+.01*O),D(c.cache.y+.01*Z)),h.preventDefault()}else k.startsWith("Arrow")&&(c.options.onstop(),h.preventDefault())}},_tapstart(h){d(document,["mouseup","touchend","touchcancel"],c._tapstop),d(document,["mousemove","touchmove"],c._tapmove),h.cancelable&&h.preventDefault(),c._tapmove(h)},_tapmove(h){const{options:y,cache:v}=c,{lock:k,element:L,wrapper:P}=y,q=P.getBoundingClientRect();let K=0,Q=0;if(h){const G=h&&h.touches&&h.touches[0];K=h?(G||h).clientX:0,Q=h?(G||h).clientY:0,Kq.left+q.width&&(K=q.left+q.width),Qq.top+q.height&&(Q=q.top+q.height),K-=q.left,Q-=q.top}else v&&(K=v.x*q.width,Q=v.y*q.height);k!=="h"&&(L.style.left=`calc(${K/q.width*100}% - ${L.offsetWidth/2}px)`),k!=="v"&&(L.style.top=`calc(${Q/q.height*100}% - ${L.offsetHeight/2}px)`),c.cache={x:K/q.width,y:Q/q.height};const O=D(K/q.width),Z=D(Q/q.height);switch(k){case"v":return y.onchange(O);case"h":return y.onchange(Z);default:return y.onchange(O,Z)}},_tapstop(){c.options.onstop(),f(document,["mouseup","touchend","touchcancel"],c._tapstop),f(document,["mousemove","touchmove"],c._tapmove)},trigger(){c._tapmove()},update(h=0,y=0){const{left:v,top:k,width:L,height:P}=c.options.wrapper.getBoundingClientRect();c.options.lock==="h"&&(y=h),c._tapmove({clientX:v+L*h,clientY:k+P*y})},destroy(){const{options:h,_tapstart:y,_keyboard:v}=c;f(document,["keydown","keyup"],v),f([h.wrapper,h.element],"mousedown",y),f([h.wrapper,h.element],"touchstart",y,{passive:!1})}},{options:p,_tapstart:g,_keyboard:_}=c;return d([p.wrapper,p.element],"mousedown",g),d([p.wrapper,p.element],"touchstart",g,{passive:!1}),d(document,["keydown","keyup"],_),c}function we(T={}){T=Object.assign({onchange:()=>0,className:"",elements:[]},T);const c=d(T.elements,"click",p=>{T.elements.forEach(g=>g.classList[p.target===g?"add":"remove"](T.className)),T.onchange(p),p.stopPropagation()});return{destroy:()=>f(...c)}}const ne={variantFlipOrder:{start:"sme",middle:"mse",end:"ems"},positionFlipOrder:{top:"tbrl",right:"rltb",bottom:"btrl",left:"lrbt"},position:"bottom",margin:8,padding:0},W=(T,c,p)=>{const g=typeof T!="object"||T instanceof HTMLElement?{reference:T,popper:c,...p}:T;return{update(_=g){const{reference:h,popper:y}=Object.assign(g,_);if(!y||!h)throw new Error("Popper- or reference-element missing.");return((v,k,L)=>{const{container:P,arrow:q,margin:K,padding:Q,position:O,variantFlipOrder:Z,positionFlipOrder:G}={container:document.documentElement.getBoundingClientRect(),...ne,...L},{left:X,top:ke}=k.style;k.style.left="0",k.style.top="0";const Ce=v.getBoundingClientRect(),me=k.getBoundingClientRect(),je={t:Ce.top-me.height-K,b:Ce.bottom+K,r:Ce.right+K,l:Ce.left-me.width-K},Ee={vs:Ce.left,vm:Ce.left+Ce.width/2-me.width/2,ve:Ce.left+Ce.width-me.width,hs:Ce.top,hm:Ce.bottom-Ce.height/2-me.height/2,he:Ce.bottom-me.height},[Pe,Be="middle"]=O.split("-"),Se=G[Pe],Te=Z[Be],{top:ze,left:j,bottom:H,right:be}=P;for(const Re of Se){const Me=Re==="t"||Re==="b";let R=je[Re];const[he,et]=Me?["top","left"]:["left","top"],[nt,De]=Me?[me.height,me.width]:[me.width,me.height],[Xe,ot]=Me?[H,be]:[be,H],[Ne,He]=Me?[ze,j]:[j,ze];if(!(RXe))for(const ie of Te){let xe=Ee[(Me?"v":"h")+ie];if(!(xeot)){if(xe-=me[et],R-=me[he],k.style[et]=`${xe}px`,k.style[he]=`${R}px`,q){const qe=Me?Ce.width/2:Ce.height/2,ct=De/2,tt=qe>ct,xt=xe+{s:tt?ct:qe,m:ct,e:tt?ct:De-qe}[ie],st=R+{t:nt,b:0,r:0,l:nt}[Re];q.style[et]=`${xt}px`,q.style[he]=`${st}px`}return Re+ie}}}return k.style.left=X,k.style.top=ke,null})(h,y,g)}}},le=class le{constructor(c){Ze(this,"_initializingActive",!0);Ze(this,"_recalc",!0);Ze(this,"_nanopop",null);Ze(this,"_root",null);Ze(this,"_color",U());Ze(this,"_lastColor",U());Ze(this,"_swatchColors",[]);Ze(this,"_setupAnimationFrame",null);Ze(this,"_eventListener",{init:[],save:[],hide:[],show:[],clear:[],change:[],changestop:[],cancel:[],swatchselect:[]});this.options=c=Object.assign({...le.DEFAULT_OPTIONS},c);const{swatches:p,components:g,theme:_,sliders:h,lockOpacity:y,padding:v}=c;["nano","monolith"].includes(_)&&!h&&(c.sliders="h"),g.interaction||(g.interaction={});const{preview:k,opacity:L,hue:P,palette:q}=g;g.opacity=!y&&L,g.palette=q||k||L||P,this._preBuild(),this._buildComponents(),this._bindEvents(),this._finalBuild(),p&&p.length&&p.forEach(Z=>this.addSwatch(Z));const{button:K,app:Q}=this._root;this._nanopop=W(K,Q,{margin:v}),K.setAttribute("role","button"),K.setAttribute("aria-label",this._t("btn:toggle"));const O=this;this._setupAnimationFrame=requestAnimationFrame(function Z(){if(!Q.offsetWidth)return requestAnimationFrame(Z);O.setColor(c.default),O._rePositioningPicker(),c.defaultRepresentation&&(O._representation=c.defaultRepresentation,O.setColorRepresentation(O._representation)),c.showAlways&&O.show(),O._initializingActive=!1,O._emit("init")})}_preBuild(){const{options:c}=this;for(const p of["el","container"])c[p]=$(c[p]);this._root=(p=>{const{components:g,useAsButton:_,inline:h,appClass:y,theme:v,lockOpacity:k}=p.options,L=Q=>Q?"":'style="display:none" hidden',P=Q=>p._t(Q),q=w(`
${_?"":''} @@ -51,4 +51,4 @@ var Cn=Object.defineProperty;var Ln=(n,e,l)=>e in n?Cn(n,e,{enumerable:!0,config `),K=q.interaction;return K.options.find(Q=>!Q.hidden&&!Q.classList.add("active")),K.type=()=>K.options.find(Q=>Q.classList.contains("active")),q})(this),c.useAsButton&&(this._root.button=c.el),c.container.appendChild(this._root.root)}_finalBuild(){const c=this.options,p=this._root;if(c.container.removeChild(p.root),c.inline){const g=c.el.parentElement;c.el.nextSibling?g.insertBefore(p.app,c.el.nextSibling):g.appendChild(p.app)}else c.container.appendChild(p.app);c.useAsButton?c.inline&&c.el.remove():c.el.parentNode.replaceChild(p.root,c.el),c.disabled&&this.disable(),c.comparison||(p.button.style.transition="none",c.useAsButton||(p.preview.lastColor.style.transition="none")),this.hide()}_buildComponents(){const c=this,p=this.options.components,g=(c.options.sliders||"v").repeat(2),[_,h]=g.match(/^[vh]+$/g)?g:[],y=()=>this._color||(this._color=this._lastColor.clone()),v={palette:J({element:c._root.palette.picker,wrapper:c._root.palette.palette,onstop:()=>c._emit("changestop","slider",c),onchange(k,L){if(!p.palette)return;const P=y(),{_root:q,options:K}=c,{lastColor:Q,currentColor:O}=q.preview;c._recalc&&(P.s=100*k,P.v=100-100*L,P.v<0&&(P.v=0),c._updateOutput("slider"));const Z=P.toRGBA().toString(0);this.element.style.background=Z,this.wrapper.style.background=` linear-gradient(to top, rgba(0, 0, 0, ${P.a}), transparent), linear-gradient(to left, hsla(${P.h}, 100%, 50%, ${P.a}), rgba(255, 255, 255, ${P.a})) - `,K.comparison?K.useAsButton||c._lastColor||Q.style.setProperty("--pcr-color",Z):(q.button.style.setProperty("--pcr-color",Z),q.button.classList.remove("clear"));const G=P.toHEXA().toString();for(const{el:X,color:ke}of c._swatchColors)X.classList[G===ke.toHEXA().toString()?"add":"remove"]("pcr-active");O.style.setProperty("--pcr-color",Z)}}),hue:J({lock:h==="v"?"h":"v",element:c._root.hue.picker,wrapper:c._root.hue.slider,onstop:()=>c._emit("changestop","slider",c),onchange(k){if(!p.hue||!p.palette)return;const L=y();c._recalc&&(L.h=360*k),this.element.style.backgroundColor=`hsl(${L.h}, 100%, 50%)`,v.palette.trigger()}}),opacity:J({lock:_==="v"?"h":"v",element:c._root.opacity.picker,wrapper:c._root.opacity.slider,onstop:()=>c._emit("changestop","slider",c),onchange(k){if(!p.opacity||!p.palette)return;const L=y();c._recalc&&(L.a=Math.round(100*k)/100),this.element.style.background=`rgba(0, 0, 0, ${L.a})`,v.palette.trigger()}}),selectable:we({elements:c._root.interaction.options,className:"active",onchange(k){c._representation=k.target.getAttribute("data-type").toUpperCase(),c._recalc&&c._updateOutput("swatch")}})};this._components=v}_bindEvents(){const{_root:c,options:p}=this,g=[d(c.interaction.clear,"click",()=>this._clearColor()),d([c.interaction.cancel,c.preview.lastColor],"click",()=>{this.setHSVA(...(this._lastColor||this._color).toHSVA(),!0),this._emit("cancel")}),d(c.interaction.save,"click",()=>{!this.applyColor()&&!p.showAlways&&this.hide()}),d(c.interaction.result,["keyup","input"],_=>{this.setColor(_.target.value,!0)&&!this._initializingActive&&(this._emit("change",this._color,"input",this),this._emit("changestop","input",this)),_.stopImmediatePropagation()}),d(c.interaction.result,["focus","blur"],_=>{this._recalc=_.type==="blur",this._recalc&&this._updateOutput(null)}),d([c.palette.palette,c.palette.picker,c.hue.slider,c.hue.picker,c.opacity.slider,c.opacity.picker],["mousedown","touchstart"],()=>this._recalc=!0,{passive:!0})];if(!p.showAlways){const _=p.closeWithKey;g.push(d(c.button,"click",()=>this.isOpen()?this.hide():this.show()),d(document,"keyup",h=>this.isOpen()&&(h.key===_||h.code===_)&&this.hide()),d(document,["touchstart","mousedown"],h=>{this.isOpen()&&!x(h).some(y=>y===c.app||y===c.button)&&this.hide()},{capture:!0}))}if(p.adjustableNumbers){const _={rgba:[255,255,255,1],hsva:[360,100,100,1],hsla:[360,100,100,1],cmyk:[100,100,100,100]};B(c.interaction.result,(h,y,v)=>{const k=_[this.getColorRepresentation().toLowerCase()];if(k){const L=k[v],P=h+(L>=100?1e3*y:y);return P<=0?0:Number((P{h.isOpen()&&(p.closeOnScroll&&h.hide(),_===null?(_=setTimeout(()=>_=null,100),requestAnimationFrame(function y(){h._rePositioningPicker(),_!==null&&requestAnimationFrame(y)})):(clearTimeout(_),_=setTimeout(()=>_=null,100)))},{capture:!0}))}this._eventBindings=g}_rePositioningPicker(){const{options:c}=this;if(!c.inline&&!this._nanopop.update({container:document.body.getBoundingClientRect(),position:c.position})){const p=this._root.app,g=p.getBoundingClientRect();p.style.top=(window.innerHeight-g.height)/2+"px",p.style.left=(window.innerWidth-g.width)/2+"px"}}_updateOutput(c){const{_root:p,_color:g,options:_}=this;if(p.interaction.type()){const h=`to${p.interaction.type().getAttribute("data-type")}`;p.interaction.result.value=typeof g[h]=="function"?g[h]().toString(_.outputPrecision):""}!this._initializingActive&&this._recalc&&this._emit("change",g,c,this)}_clearColor(c=!1){const{_root:p,options:g}=this;g.useAsButton||p.button.style.setProperty("--pcr-color","rgba(0, 0, 0, 0.15)"),p.button.classList.add("clear"),g.showAlways||this.hide(),this._lastColor=null,this._initializingActive||c||(this._emit("save",null),this._emit("clear"))}_parseLocalColor(c){const{values:p,type:g,a:_}=F(c),{lockOpacity:h}=this.options,y=_!==void 0&&_!==1;return p&&p.length===3&&(p[3]=void 0),{values:!p||h&&y?null:p,type:g}}_t(c){return this.options.i18n[c]||le.I18N_DEFAULTS[c]}_emit(c,...p){this._eventListener[c].forEach(g=>g(...p,this))}on(c,p){return this._eventListener[c].push(p),this}off(c,p){const g=this._eventListener[c]||[],_=g.indexOf(p);return~_&&g.splice(_,1),this}addSwatch(c){const{values:p}=this._parseLocalColor(c);if(p){const{_swatchColors:g,_root:_}=this,h=V(...p),y=b(`