1(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new s.Error().stack;d&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[d]="5fc93f5c-aad7-4ff3-93e1-9f691c91ae79",s._sentryDebugIdIdentifier="sentry-dbid-5fc93f5c-aad7-4ff3-93e1-9f691c91ae79")}catch{}})();var _global=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};_global.SENTRY_RELEASE={id:"6b3b5bcd49ac3ca4e22832378da81add8169a867"},(self.webpackChunk_maestro_io_client=self.webpackChunk_maestro_io_client||[]).push([[7156],{385674:function(s,d,g){var h=this&&this.__spreadArrays||function(){for(var e=0,a=0,f=arguments.length;a<f;a++)e+=arguments[a].length;for(var n=Array(e),t=0,a=0;a<f;a++)for(var r=arguments[a],i=0,c=r.length;i<c;i++,t++)n[t]=r[i];return n},_=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(d,"__esModule",{value:!0}),d.getColors=d.flatten=d.replaceColor=d.colorify=void 0;var l=_(g(996861));d.colorify=function(e,a){e===void 0&&(e=[]);for(var f=[],n=0,t=e;n<t.length;n++){var r=t[n];f.push(y(r))}var i=k(f,l.default(a));return i};var y=function(e){if(typeof e=="string"&&e.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i)){var a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);if(!a)throw new Error("Color can be only hex or rgb array (ex. [10,20,30])");return[Math.round(parseInt(a[1],16)/255*1e3)/1e3,Math.round(parseInt(a[2],16)/255*1e3)/1e3,Math.round(parseInt(a[3],16)/255*1e3)/1e3]}else{if(typeof e=="object"&&e.length===3&&e.every(function(f){return f>=0&&f<=255}))return[Math.round(e[0]/255*1e3)/1e3,Math.round(e[1]/255*1e3)/1e3,Math.round(e[2]/255*1e3)/1e3];if(e)throw new Error("Color can be only hex or rgb array (ex. [10,20,30])");return}},v=function(e){return Math.round(e*1e3)/1e3};d.replaceColor=function(e,a,f){var n=y(e),t=y(a);if(!n||!t)throw new Error("Proper colors must be used for both source and target");function r(i,c,u){if(u.s&&Array.isArray(u.s)&&u.s.length===4)i[0]===u.s[0]&&i[1]===u.s[1]&&i[2]===u.s[2]&&(u.s=h(c,[1]));else if(u.c&&u.c.k)Array.isArray(u.c.k)&&typeof u.c.k[0]!="number"?r(i,c,u.c.k):i[0]===v(u.c.k[0])&&i[1]===v(u.c.k[1])&&i[2]===v(u.c.k[2])&&(u.c.k=c);else for(var p in u)typeof u[p]=="object"&&r(i,c,u[p]);return u}return r(n,t,l.default(f))},d.flatten=function(e,a){var f=y(e);if(!f)throw new Error("Proper colors must be used for target");function n(t,r){if(r.s&&Array.isArray(r.s)&&r.s.length===4)r.s=h(t,[1]);else if(r.c&&r.c.k)Array.isArray(r.c.k)&&typeof r.c.k[0]!="number"?n(t,r.c.k):r.c.k=t;else for(var i in r)typeof r[i]=="object"&&n(t,r[i]);return r}return n(f,l.default(a))};var k=function(e,a){var f=0;function n(t,r){r.s&&Array.isArray(r.s)&&r.s.length===4?(t[f]&&(r.s=h(t[f],[1])),f++):r.c&&r.c.k&&
1(Array.isArray(r.c.k)&&typeof r.c.k[0]!="number"?n(t,r.c.k):(t[f]&&(r.c.k=t[f]),f++));for(var i in r)typeof r[i]=="object"&&n(t,r[i]);return r}return n(e,a)},w=function(e){return[Math.round(e[0]*255),Math.round(e[1]*255),Math.round(e[2]*255)]},A=function(e){return[Math.round(e[0]*255),Math.round(e[1]*255),Math.round(e[2]*255),e[3]]};d.getColors=function(e){var a=[];function f(n){if(n.s&&Array.isArray(n.s)&&n.s.length===4)a.push(A(n.s));else if(n.c&&n.c.k)Array.isArray(n.c.k)&&typeof n.c.k[0]!="number"?f(n.c.k):a.push(w(n.c.k));else for(var t in n)typeof n[t]=="object"&&f(n[t]);return a}return f(e),a}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.