PageSourceSearch

https://cerebralvalley.ai/_next/static/chunks/0909745b-k5t3.js?dpl=dpl_3GuxZQU7ZmGf2ZPC7oDjRh1quLjb

js cerebralvalley.ai collected 2026-10-01 11:44:59 UTC 109,075 bytes, 340 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="5e850fab-8c6b-352c-2f1e-124f85be03b5")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,699208,179141,905106,432771,e=>{"use strict";let t,a,r,n;try{var l="u">typeof window?window:e.g;l._sentryModuleMetadata=l._sentryModuleMetadata||{},l._sentryModuleMetadata[(new l.Error).stack]=Object.assign({},l._sentryModuleMetadata[(new l.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let o=(e,t)=>{if("number"==typeof e){if(3===t)return{mode:"rgb",r:(e>>8&15|e>>4&240)/255,g:(e>>4&15|240&e)/255,b:(15&e|e<<4&240)/255};if(4===t)return{mode:"rgb",r:(e>>12&15|e>>8&240)/255,g:(e>>8&15|e>>4&240)/255,b:(e>>4&15|240&e)/255,alpha:(15&e|e<<4&240)/255};if(6===t)return{mode:"rgb",r:(e>>16&255)/255,g:(e>>8&255)/255,b:(255&e)/255};if(8===t)return{mode:"rgb",r:(e>>24&255)/255,g:(e>>16&255)/255,b:(e>>8&255)/255,alpha:(255&e)/255}}};try{var d="u">typeof window?window:e.g;d._sentryModuleMetadata=d._sentryModuleMetadata||{},d._sentryModuleMetadata[(new d.Error).stack]=Object.assign({},d._sentryModuleMetadata[(new d.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let i={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};try{var u="u">typeof window?window:e.g;u._sentryModuleMetadata=u._sentryModuleMetadata||{},u._sentryModuleMetadata[(new u.Error).stack]=Object.assign({},u._sentryModuleMetadata[(new u.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var s="u">typeof window?window:e.g;s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[(new s.Error).stack]=Object.assign({},s._sentryModuleMetadata[(new s.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}
2let c=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i;try{var y="u">typeof window?window:e.g;y._sentryModuleMetadata=y._sentryModuleMetadata||{},y._sentryModuleMetadata[(new y.Error).stack]=Object.assign({},y._sentryModuleMetadata[(new y.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let M="([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)",w=`${M}%`,h=`(?:${M}%|${M})`,p=`(?:${M}%|${M}|none)`,v=`(?:${M}(deg|grad|rad|turn)|${M})`,f="\\s*,\\s*";RegExp("^"+p+"$");try{var g="u">typeof window?window:e.g;g._sentryModuleMetadata=g._sentryModuleMetadata||{},g._sentryModuleMetadata[(new g.Error).stack]=Object.assign({},g._sentryModuleMetadata[(new g.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let b=RegExp(`^rgba?\\(\\s*${M}${f}${M}${f}${M}\\s*(?:,\\s*${h}\\s*)?\\)$`),_=RegExp(`^rgba?\\(\\s*${w}${f}${w}${f}${w}\\s*(?:,\\s*${h}\\s*)?\\)$`);try{var m="u">typeof window?window:e.g;m._sentryModuleMetadata=m._sentryModuleMetadata||{},m._sentryModuleMetadata[(new m.Error).stack]=Object.assign({},m._sentryModuleMetadata[(new m.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let E=(e,t)=>void 0===e?void 0:"object"!=typeof e?J(e):void 0!==e.mode?e:t?{...e,mode:t}:void 0;try{var x="u">typeof window?window:e.g;x._sentryModuleMetadata=x._sentryModuleMetadata||{},x._sentryModuleMetadata[(new x.Error).stack]=Object.assign({},x._sentryModuleMetadata[(new x.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let k=(e="rgb")=>t=>void 0!==(t=E(t,e))?t.mode===e?t:P[t.mode][e]?P[t.mode][e](t):"rgb"===e?P[t.mode].rgb(t):P.rgb[e](P[t.mode].rgb(t)):void 0;try{var A="u">typeof window?window:e.g;A._sentryModuleMetadata=A._sentryModuleMetadata||{},A._sentryModuleMetadata[(new A.Error).stack]=Object.assign({},A._sentryModuleMetadata[(new A.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let P={},B={},O=[],T={},j=e=>e,R=e=>(P[e.mode]={...P[e.mode],...e.toMode},Object.keys(e.fromMode||{}).forEach(t=>{P[t]||(P[t]={}),P[t][e.mode]=e.fromMode[t]}),e.ranges||(e.ranges={}),e.difference||(e.difference={}),e.channels.forEach(t=>{if(void 0===e.ranges[t]&&(e.ranges[t]=[0,1]),!e.interpolate[t])throw Error(`Missing interpolator for: ${t}`);"function"==typeof e.interpolate[t]&&(e.interpolate[t]={use:e.interpolate[t]}),e.interpolate[t].fixup||(e.interpolate[t].fixup=j)}),B[e.mode]=e,(e.parse||[]).forEach(t=>{F(t,e.mode)}),k(e.mode)),K=e=>B[e],F=(e,t)=>{if("string"==typeof e){if(!t)throw Error("'mode' required when 'parser' is a string");T[e]=t}else"function"==typeof e&&0>O.indexOf(e)&&O.push(e)};try{var S="u">typeof window?window:e.g;S._sentryModuleMetadata=S._sentryModuleMetadata||{},S._sentryModuleMetadata[(new S.Error).stack]=Object.assign({},S._sentryModuleMetadata[(new S.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let z=/[^\x00-\x7F]|[a-zA-Z_]/,D=/[^\x00-\x7F]|[-\w]/,C="function",I="ident",L="number",U="percentage",N="none",$="alpha",V=0;function q(e){let t=e[V],a=e[V+1];return"-"===t||"+"===t?/\d/.test(a)||"."===a&&/\d/.test(e[V+2]):"."===t?/\d/.test(a):/\d/.test(t)}function H(e){if(V>=e.length)return!1;let t=e[V];if(z.test(t))return!0;if("-"===t){if(e.length-V<2)return!1;let t=e[V+1];if("-"===t||z.test(t))return!0}return!1}let X={deg:1,rad:180/Math.PI,grad:.9,turn:360};function Y(e){let t="";if(("-"===e[V]||"+"===e[V])&&(t+=e[V++]),t+=G(e),"."===e[V]&&/\d/.test(e[V+1])&&(t+=e[V++]+G(e)),("e"===e[V]||"E"===e[V])&&(("-"===e[V+1]||"+"===e[V+1])&&/\d/.test(e[V+2])?t+=e[V++]+e[V++]+G(e):/\d/.test(e[V+1])&&(t+=e[V++]+G(e))),H(e)){let a=Z(e);return"deg"===a||"rad"===a||"turn"===a||"grad"===a?{type:"hue",value:t*X[a]}:void 0}return"%"===e[V]?(V++,{type:U,value:+t}):{type:L,value:+t}}function G(e){let t="";for(;/\d/.test(e[V]);)t+=e[V++];return t}function Z(e){let t="";for(;V<e.length&&D.test(e[V]);)t+=e[V++];return t}function W(e,t){let a,r=[];for(;e._i<e.length;){if((a=e[e._i++]).type===N||a.type===L||a.type===$||a.type===U||t&&"hue"===a.type){r.push(a);continue}if(")"===a.type){if(e._i<e.length)return;continue}return}if(!(r.length<3)&&!(r.length>4)){if(4===r.length){if(r[3].type!==$)return;r[3]=r[3].value}return 3===r.length&&r.push({type:N,value:void 0}),r.every(e=>e.type!==$)?r:void 0}}let J=e=>{let t;if("string"!=typeof e)return;
2let a=function(e=""){let t,a=e.trim(),r=[];for(V=0;V<a.length;){if("\n"===(t=a[V++])||"	"===t||" "===t){for(;V<a.length&&("\n"===a[V]||"	"===a[V]||" "===a[V]);)V++;continue}if(","===t)return;if(")"===t){r.push({type:")"});continue}if("+"===t){if(V--,q(a)){r.push(Y(a));continue}return}if("-"===t){if(V--,q(a)){r.push(Y(a));continue}if(H(a)){r.push({type:I,value:Z(a)});continue}return}if("."===t){if(V--,q(a)){r.push(Y(a));continue}return}if("/"===t){let e;for(;V<a.length&&("\n"===a[V]||"	"===a[V]||" "===a[V]);)V++;if(q(a)&&"hue"!==(e=Y(a)).type){r.push({type:$,value:e});continue}if(H(a)&&"none"===Z(a)){r.push({type:$,value:{type:N,value:void 0}});continue}return}if(/\d/.test(t)){V--,r.push(Y(a));continue}if(z.test(t)){V--,r.push(function(e){let t=Z(e);return"("===e[V]?(V++,{type:C,value:t}):"none"===t?{type:N,value:void 0}:{type:I,value:t}}(a));continue}return}return r}(e),r=a?function(e,t){e._i=0;let a=e[e._i++];if(!a||a.type!==C)return;let r=W(e,t);if(r)return r.unshift(a.value),r}(a,!0):void 0,n=0,l=O.length;for(;n<l;)if(void 0!==(t=O[n++](e,r)))return t;return a?function(e){e._i=0;let t=e[e._i++];if(!t||t.type!==C||"color"!==t.value||(t=e[e._i++]).type!==I)return;let a=T[t.value];if(!a)return;let r={mode:a},n=W(e,!1);if(!n)return;let l=K(a).channels;for(let e=0,t,a;e<l.length;e++)t=n[e],a=l[e],t.type!==N&&(r[a]=t.type===L?t.value:t.value/100,"alpha"===a&&(r[a]=Math.max(0,Math.min(1,r[a]))));return r}(a):void 0};try{var Q="u">typeof window?window:e.g;Q._sentryModuleMetadata=Q._sentryModuleMetadata||{},Q._sentryModuleMetadata[(new Q.Error).stack]=Object.assign({},Q._sentryModuleMetadata[(new Q.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var ee="u">typeof window?window:e.g;ee._sentryModuleMetadata=ee._sentryModuleMetadata||{},ee._sentryModuleMetadata[(new ee.Error).stack]=Object.assign({},ee._sentryModuleMetadata[(new ee.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var et="u">typeof window?window:e.g;et._sentryModuleMetadata=et._sentryModuleMetadata||{},et._sentryModuleMetadata[(new et.Error).stack]=Object.assign({},et._sentryModuleMetadata[(new et.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var ea="u">typeof window?window:e.g;ea._sentryModuleMetadata=ea._sentryModuleMetadata||{},ea._sentryModuleMetadata[(new ea.Error).stack]=Object.assign({},ea._sentryModuleMetadata[(new ea.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var er="u">typeof window?window:e.g;er._sentryModuleMetadata=er._sentryModuleMetadata||{},er._sentryModuleMetadata[(new er.Error).stack]=Object.assign({},er._sentryModuleMetadata[(new er.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let en=(t=(e,t,a)=>e+a*(t-e),e=>{let a=(e=>{let t=[];for(let a=0;a<e.length-1;a++){let r=e[a],n=e[a+1];void 0===r&&void 0===n?t.push(void 0):void 0!==r&&void 0!==n?t.push([r,n]):t.push(void 0!==r?[r,r]:[n,n])}return t})(e);return e=>{let r=e*a.length,n=e>=1?a.length-1:Math.max(Math.floor(r),0),l=a[n];return void 0===l?void 0:t(l[0],l[1],r-n)}});try{var el="u">typeof window?window:e.g;el._sentryModuleMetadata=el._sentryModuleMetadata||{},el._sentryModuleMetadata[(new el.Error).stack]=Object.assign({},el._sentryModuleMetadata[(new el.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let eo=e=>{let t=!1,a=e.map(e=>void 0!==e?(t=!0,e):1);return t?a:e};try{var ed="u">typeof window?window:e.g;ed._sentryModuleMetadata=ed._sentryModuleMetadata||{},ed._sentryModuleMetadata[(new ed.Error).stack]=Object.assign({},ed._sentryModuleMetadata[(new ed.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let ei={mode:"rgb",channels:["r","g","b","alpha"],parse:[function(e,t){if(!t||"rgb"!==t[0]&&"rgba"!==t[0])return;let a={mode:"rgb"},[,r,n,l,o]=t;if("hue"!==r.type&&"hue"!==n.type&&"hue"!==l.type)return r.type!==N&&(a.r=r.type===L?r.value/255:r.value/100),n.type!==N&&(a.g=n.type===L?n.value/255:n.value/100),l.type!==N&&(a.b=l.type===L?l.value/255:l.value/100),o.type!==N&&(a.alpha=Math.min(1,Math.max(0,o.type===L?o.value:o.value/100))),a},e=>{let t;return(t=e.match(c))?o(parseInt(t[1],16),t[1].length):void 0},e=>{let t,a={mode:"rgb"};if(t=e.match(b))void 0!==t[1]&&(a.r=t[1]/255),void 0!==t[2]&&(a.g=t[2]/255),void 0!==t[3]&&(a.b=t[3]/255
2);else{if(!(t=e.match(_)))return;void 0!==t[1]&&(a.r=t[1]/100),void 0!==t[2]&&(a.g=t[2]/100),void 0!==t[3]&&(a.b=t[3]/100)}return void 0!==t[4]?a.alpha=Math.max(0,Math.min(1,t[4]/100)):void 0!==t[5]&&(a.alpha=Math.max(0,Math.min(1,+t[5]))),a},e=>o(i[e.toLowerCase()],6),e=>"transparent"===e?{mode:"rgb",r:0,g:0,b:0,alpha:0}:void 0,"srgb"],serialize:"srgb",interpolate:{r:en,g:en,b:en,alpha:{use:en,fixup:eo}},gamut:!0,white:{r:1,g:1,b:1},black:{r:0,g:0,b:0}};try{var eu="u">typeof window?window:e.g;eu._sentryModuleMetadata=eu._sentryModuleMetadata||{},eu._sentryModuleMetadata[(new eu.Error).stack]=Object.assign({},eu._sentryModuleMetadata[(new eu.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let es=(e=0)=>Math.pow(Math.abs(e),563/256)*Math.sign(e),ec=e=>{let t=es(e.r),a=es(e.g),r=es(e.b),n={mode:"xyz65",x:.5766690429101305*t+.1855582379065463*a+.1882286462349947*r,y:.297344975250536*t+.6273635662554661*a+.0752914584939979*r,z:.0270313613864123*t+.0706888525358272*a+.9913375368376386*r};return void 0!==e.alpha&&(n.alpha=e.alpha),n};try{var ey="u">typeof window?window:e.g;ey._sentryModuleMetadata=ey._sentryModuleMetadata||{},ey._sentryModuleMetadata[(new ey.Error).stack]=Object.assign({},ey._sentryModuleMetadata[(new ey.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let eM=e=>Math.pow(Math.abs(e),256/563)*Math.sign(e),ew=({x:e,y:t,z:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n={mode:"a98",r:eM(2.0415879038107465*e-.5650069742788597*t-.3447313507783297*a),g:eM(-.9692436362808798*e+1.8759675015077206*t+.0415550574071756*a),b:eM(.0134442806320312*e-.1183623922310184*t+1.0151749943912058*a)};return void 0!==r&&(n.alpha=r),n};try{var eh="u">typeof window?window:e.g;eh._sentryModuleMetadata=eh._sentryModuleMetadata||{},eh._sentryModuleMetadata[(new eh.Error).stack]=Object.assign({},eh._sentryModuleMetadata[(new eh.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let ep=(e=0)=>{let t=Math.abs(e);return t<=.04045?e/12.92:(Math.sign(e)||1)*Math.pow((t+.055)/1.055,2.4)},ev=({r:e,g:t,b:a,alpha:r})=>{let n={mode:"lrgb",r:ep(e),g:ep(t),b:ep(a)};return void 0!==r&&(n.alpha=r),n};try{var ef="u">typeof window?window:e.g;ef._sentryModuleMetadata=ef._sentryModuleMetadata||{},ef._sentryModuleMetadata[(new ef.Error).stack]=Object.assign({},ef._sentryModuleMetadata[(new ef.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let eg=e=>{let{r:t,g:a,b:r,alpha:n}=ev(e),l={mode:"xyz65",x:.4123907992659593*t+.357584339383878*a+.1804807884018343*r,y:.2126390058715102*t+.715168678767756*a+.0721923153607337*r,z:.0193308187155918*t+.119194779794626*a+.9505321522496607*r};return void 0!==n&&(l.alpha=n),l};try{var eb="u">typeof window?window:e.g;eb._sentryModuleMetadata=eb._sentryModuleMetadata||{},eb._sentryModuleMetadata[(new eb.Error).stack]=Object.assign({},eb._sentryModuleMetadata[(new eb.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let e_=(e=0)=>{let t=Math.abs(e);return t>.0031308?(Math.sign(e)||1)*(1.055*Math.pow(t,1/2.4)-.055):12.92*e},em=({r:e,g:t,b:a,alpha:r},n="rgb")=>{let l={mode:n,r:e_(e),g:e_(t),b:e_(a)};return void 0!==r&&(l.alpha=r),l};try{var eE="u">typeof window?window:e.g;eE._sentryModuleMetadata=eE._sentryModuleMetadata||{},eE._sentryModuleMetadata[(new eE.Error).stack]=Object.assign({},eE._sentryModuleMetadata[(new eE.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let ex=({x:e,y:t,z:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n=em({r:3.2409699419045226*e-1.537383177570094*t-.4986107602930034*a,g:-.9692436362808796*e+1.8759675015077204*t+.0415550574071756*a,b:.0556300796969936*e-.2039769588889765*t+1.0569715142428784*a});return void 0!==r&&(n.alpha=r),n};try{var ek="u">typeof window?window:e.g;ek._sentryModuleMetadata=ek._sentryModuleMetadata||{},ek._sentryModuleMetadata[(new ek.Error).stack]=Object.assign({},ek._sentryModuleMetadata[(new ek.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let eA={...ei,mode:"a98",parse:["a98-rgb"],serialize:"a98-rgb",fromMode:{rgb:e=>ew(eg(e)),xyz65:ew},toMode:{rgb:e=>ex(ec(e)),xyz65:ec}};try{var eP="u">typeof window?window:e.g;eP._sentryModuleMetadata=eP._sentryModuleMetadata||{},eP._sentryModuleMetadata[(new eP.Error).stack]=Object.assign({},eP._sentryModuleMetadata[(new eP.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let eB=e=>(e%=360)<0?e+360:e;try{var eO="u">typeof window?window:e.g;eO._sentryModuleMetadata=eO._sentryModuleMetadata||{},eO._sentryModuleMetadata[(new eO.Error).stack]=Object.assign({},eO._sentryModuleMetadata[(new eO.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let eT=e=>{let t;return t=e=>180>
2=Math.abs(e)?e:e-360*Math.sign(e),e.map((a,r,n)=>{if(void 0===a)return a;let l=eB(a);return 0===r||void 0===e[r-1]?l:t(l-eB(n[r-1]))}).reduce((e,t)=>(e.length&&void 0!==t&&void 0!==e[e.length-1]?e.push(t+e[e.length-1]):e.push(t),e),[])};try{var ej="u">typeof window?window:e.g;ej._sentryModuleMetadata=ej._sentryModuleMetadata||{},ej._sentryModuleMetadata[(new ej.Error).stack]=Object.assign({},ej._sentryModuleMetadata[(new ej.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let eR=Math.PI/180,eK=180/Math.PI;try{var eF="u">typeof window?window:e.g;eF._sentryModuleMetadata=eF._sentryModuleMetadata||{},eF._sentryModuleMetadata[(new eF.Error).stack]=Object.assign({},eF._sentryModuleMetadata[(new eF.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let eS=-1.78277*.29227-.1347134789;try{var ez="u">typeof window?window:e.g;ez._sentryModuleMetadata=ez._sentryModuleMetadata||{},ez._sentryModuleMetadata[(new ez.Error).stack]=Object.assign({},ez._sentryModuleMetadata[(new ez.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var eD="u">typeof window?window:e.g;eD._sentryModuleMetadata=eD._sentryModuleMetadata||{},eD._sentryModuleMetadata[(new eD.Error).stack]=Object.assign({},eD._sentryModuleMetadata[(new eD.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let eC=(e,t)=>{if(void 0===e.h||void 0===t.h||!e.s||!t.s)return 0;let a=eB(e.h),r=Math.sin((eB(t.h)-a+360)/2*Math.PI/180);return 2*Math.sqrt(e.s*t.s)*r},eI=(e,t)=>{if(void 0===e.h||void 0===t.h||!e.c||!t.c)return 0;let a=eB(e.h),r=Math.sin((eB(t.h)-a+360)/2*Math.PI/180);return 2*Math.sqrt(e.c*t.c)*r};try{var eL="u">typeof window?window:e.g;eL._sentryModuleMetadata=eL._sentryModuleMetadata||{},eL._sentryModuleMetadata[(new eL.Error).stack]=Object.assign({},eL._sentryModuleMetadata[(new eL.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let eU=e=>{let t=e.reduce((e,t)=>{if(void 0!==t){let a=t*Math.PI/180;e.sin+=Math.sin(a),e.cos+=Math.cos(a)}return e},{sin:0,cos:0}),a=180*Math.atan2(t.sin,t.cos)/Math.PI;return a<0?360+a:a};try{var eN="u">typeof window?window:e.g;eN._sentryModuleMetadata=eN._sentryModuleMetadata||{},eN._sentryModuleMetadata[(new eN.Error).stack]=Object.assign({},eN._sentryModuleMetadata[(new eN.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let e$={mode:"cubehelix",channels:["h","s","l","alpha"],parse:["--cubehelix"],serialize:"--cubehelix",ranges:{h:[0,360],s:[0,4.614],l:[0,1]},fromMode:{rgb:({r:e,g:t,b:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n=(eS*a+-1.7884503806*e-3.5172982438*t)/(eS+-1.7884503806-3.5172982438),l=a-n,o=-((1.97294*(t-n)- -.29227*l)/.90649),d={mode:"cubehelix",l:n,s:0===n||1===n?void 0:Math.sqrt(l*l+o*o)/(1.97294*n*(1-n))};return d.s&&(d.h=Math.atan2(o,l)*eK-120),void 0!==r&&(d.alpha=r),d}},toMode:{rgb:({h:e,s:t,l:a,alpha:r})=>{let n={mode:"rgb"};void 0===a&&(a=0);let l=void 0===t?0:t*a*(1-a),o=Math.cos(e=(void 0===e?0:e+120)*eR),d=Math.sin(e);return n.r=a+l*(-.14861*o+1.78277*d),n.g=a+l*(-.29227*o+-.90649*d),n.b=a+l*(1.97294*o+0*d),void 0!==r&&(n.alpha=r),n}},interpolate:{h:{use:en,fixup:eT},s:en,l:en,alpha:{use:en,fixup:eo}},difference:{h:eC},average:{h:eU}};try{var eV="u">typeof window?window:e.g;eV._sentryModuleMetadata=eV._sentryModuleMetadata||{},eV._sentryModuleMetadata[(new eV.Error).stack]=Object.assign({},eV._sentryModuleMetadata[(new eV.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let eq=({l:e,a:t,b:a,alpha:r},n="lch")=>{void 0===t&&(t=0),void 0===a&&(a=0);let l=Math.sqrt(t*t+a*a),o={mode:n,l:e,c:l};return l&&(o.h=eB(180*Math.atan2(a,t)/Math.PI)),void 0!==r&&(o.alpha=r),o};try{var eH="u">typeof window?window:e.g;eH._sentryModuleMetadata=eH._sentryModuleMetadata||{},eH._sentryModuleMetadata[(new eH.Error).stack]=Object.assign({},eH._sentryModuleMetadata[(new eH.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}
2let eX=({l:e,c:t,h:a,alpha:r},n="lab")=>{void 0===a&&(a=0);let l={mode:n,l:e,a:t?t*Math.cos(a/180*Math.PI):0,b:t?t*Math.sin(a/180*Math.PI):0};return void 0!==r&&(l.alpha=r),l};try{var eY="u">typeof window?window:e.g;eY._sentryModuleMetadata=eY._sentryModuleMetadata||{},eY._sentryModuleMetadata[(new eY.Error).stack]=Object.assign({},eY._sentryModuleMetadata[(new eY.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var eG="u">typeof window?window:e.g;eG._sentryModuleMetadata=eG._sentryModuleMetadata||{},eG._sentryModuleMetadata[(new eG.Error).stack]=Object.assign({},eG._sentryModuleMetadata[(new eG.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let eZ={X:.3457/.3585,Y:1,Z:.8251046025104602},eW={X:.3127/.329,Y:1,Z:1.0890577507598784};try{var eJ="u">typeof window?window:e.g;eJ._sentryModuleMetadata=eJ._sentryModuleMetadata||{},eJ._sentryModuleMetadata[(new eJ.Error).stack]=Object.assign({},eJ._sentryModuleMetadata[(new eJ.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let eQ=e=>Math.pow(e,3)>.008856451679035631?Math.pow(e,3):(116*e-16)/903.2962962962963,e0=({l:e,a:t,b:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n=(e+16)/116,l=t/500+n,o=n-a/200,d={mode:"xyz65",x:eQ(l)*eW.X,y:eQ(n)*eW.Y,z:eQ(o)*eW.Z};return void 0!==r&&(d.alpha=r),d};try{var e1="u">typeof window?window:e.g;e1._sentryModuleMetadata=e1._sentryModuleMetadata||{},e1._sentryModuleMetadata[(new e1.Error).stack]=Object.assign({},e1._sentryModuleMetadata[(new e1.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let e2=e=>ex(e0(e));try{var e5="u">typeof window?window:e.g;e5._sentryModuleMetadata=e5._sentryModuleMetadata||{},e5._sentryModuleMetadata[(new e5.Error).stack]=Object.assign({},e5._sentryModuleMetadata[(new e5.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let e3=e=>e>.008856451679035631?Math.cbrt(e):(903.2962962962963*e+16)/116,e6=({x:e,y:t,z:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n=e3(e/eW.X),l=e3(t/eW.Y),o={mode:"lab65",l:116*l-16,a:500*(n-l),b:200*(l-e3(a/eW.Z))};return void 0!==r&&(o.alpha=r),o};try{var e4="u">typeof window?window:e.g;e4._sentryModuleMetadata=e4._sentryModuleMetadata||{},e4._sentryModuleMetadata[(new e4.Error).stack]=Object.assign({},e4._sentryModuleMetadata[(new e4.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let e9=e=>{let t=e6(eg(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t};try{var e8="u">typeof window?window:e.g;e8._sentryModuleMetadata=e8._sentryModuleMetadata||{},e8._sentryModuleMetadata[(new e8.Error).stack]=Object.assign({},e8._sentryModuleMetadata[(new e8.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let e7=26/180*Math.PI,te=Math.cos(e7),tt=Math.sin(e7),ta=100/Math.log(1.39);try{var tr="u">typeof window?window:e.g;tr._sentryModuleMetadata=tr._sentryModuleMetadata||{},tr._sentryModuleMetadata[(new tr.Error).stack]=Object.assign({},tr._sentryModuleMetadata[(new tr.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let tn=({l:e,c:t,h:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n={mode:"lab65",l:(Math.exp(e/ta)-1)/.0039},l=(Math.exp(.0435*t*1)-1)/.075,o=l*Math.cos(a/180*Math.PI-e7),d=l*Math.sin(a/180*Math.PI-e7);return n.a=o*te-d/.83*tt,n.b=o*tt+d/.83*te,void 0!==r&&(n.alpha=r),n};try{var tl="u">typeof window?window:e.g;tl._sentryModuleMetadata=tl._sentryModuleMetadata||{},tl._sentryModuleMetadata[(new tl.Error).stack]=Object.assign({},tl._sentryModuleMetadata[(new tl.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let to=({l:e,a:t,b:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n=t*te+a*tt,l=.83*(a*te-t*tt),o={mode:"dlch",l:ta/1*Math.log(1+.0039*e),c:Math.log(1+.075*Math.sqrt(n*n+l*l))/.0435};return o.c&&(o.h=eB((Math.atan2(l,n)+e7)/Math.PI*180)),void 0!==r&&(o.alpha=r),o};try{var td="u">typeof window?window:e.g;td._sentryModuleMetadata=td._sentryModuleMetadata||{},td._sentryModuleMetadata[(new td.Error).stack]=Object.assign({},td._sentryModuleMetadata[(new td.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let ti=e=>tn(eq(e,"dlch")),tu=e=>eX(to(e),"dlab");try{var ts="u">typeof window?window:e.g;ts._sentryModuleMetadata=ts._sentryModuleMetadata||{},ts._sentryModuleMetadata[(new ts.Error).stack]=Object.assign({},ts._sentryModuleMetadata[(new ts.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var tc="u">typeof window?window:e.g;tc._sentryModuleMetadata=tc._sentryModuleMetadata||{},tc._sentryModuleMetadata[(new tc.Error).stack]=Object.assign({},tc._sentryModuleMetadata[(new tc.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var ty="u">typeof window?window:e.g;ty._sentryModuleMetadata=ty._sentryModuleMetadata||{},ty._sentryModuleMetadata[(new ty.Error).stack]=Object.assign({},ty._sentryModuleMetadata[(new ty.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var tM="u">typeof window?window:e.g;tM._sentryModuleMetadata=tM._sentryModuleMetadata||{},tM._sentryModuleMetadata[(new tM.Error).stack]=Object.assign({},tM._sentryModuleMetadata[(new tM.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var tw="u">typeof window?window:e.g;tw._sentryModuleMetadata=tw._sentryModuleMetadata||{},tw._sentryModuleMetadata[(new tw.Error).stack]=Object.assign({},tw._sentryModuleMetadata[(new tw.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var th="u">typeof window?window:e.g;th._sentryModuleMetadata=th._sentryModuleMetadata||{},th._sentryModuleMetadata[(new th.Error).stack]=Object.assign({},th._sentryModuleMetadata[(new th.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var tp="u">typeof window?window:e.g;tp._sentryModuleMetadata=tp._sentryModuleMetadata||{},tp._sentryModuleMetadata[(new tp.Error).stack]=Object.assign({},tp._sentryModuleMetadata[(new tp.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var tv="u">typeof window?window:e.g;tv._sentryModuleMetadata=tv._sentryModuleMetadata||{},tv._sentryModuleMetadata[(new tv.Error).stack]=Object.assign({},tv._sentryModuleMetadata[(new tv.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let tf=RegExp(`^hsla?\\(\\s*${v}${f}${w}${f}${w}\\s*(?:,\\s*${h}
2\\s*)?\\)$`);try{var tg="u">typeof window?window:e.g;tg._sentryModuleMetadata=tg._sentryModuleMetadata||{},tg._sentryModuleMetadata[(new tg.Error).stack]=Object.assign({},tg._sentryModuleMetadata[(new tg.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var tb="u">typeof window?window:e.g;tb._sentryModuleMetadata=tb._sentryModuleMetadata||{},tb._sentryModuleMetadata[(new tb.Error).stack]=Object.assign({},tb._sentryModuleMetadata[(new tb.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let t_={mode:"hsl",toMode:{rgb:function({h:e,s:t,l:a,alpha:r}){let n;e=eB(void 0!==e?e:0),void 0===t&&(t=0),void 0===a&&(a=0);let l=a+t*(a<.5?a:1-a),o=l-(l-a)*2*Math.abs(e/60%2-1);switch(Math.floor(e/60)){case 0:n={r:l,g:o,b:2*a-l};break;case 1:n={r:o,g:l,b:2*a-l};break;case 2:n={r:2*a-l,g:l,b:o};break;case 3:n={r:2*a-l,g:o,b:l};break;case 4:n={r:o,g:2*a-l,b:l};break;case 5:n={r:l,g:2*a-l,b:o};break;default:n={r:2*a-l,g:2*a-l,b:2*a-l}}return n.mode="rgb",void 0!==r&&(n.alpha=r),n}},fromMode:{rgb:function({r:e,g:t,b:a,alpha:r}){void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n=Math.max(e,t,a),l=Math.min(e,t,a),o={mode:"hsl",s:n===l?0:(n-l)/(1-Math.abs(n+l-1)),l:.5*(n+l)};return n-l!=0&&(o.h=(n===e?(t-a)/(n-l)+(t<a)*6:n===t?(a-e)/(n-l)+2:(e-t)/(n-l)+4)*60),void 0!==r&&(o.alpha=r),o}},channels:["h","s","l","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[function(e,t){if(!t||"hsl"!==t[0]&&"hsla"!==t[0])return;let a={mode:"hsl"},[,r,n,l,o]=t;if(r.type!==N){if(r.type===U)return;a.h=r.value}if(n.type!==N){if("hue"===n.type)return;a.s=n.value/100}if(l.type!==N){if("hue"===l.type)return;a.l=l.value/100}return o.type!==N&&(a.alpha=Math.min(1,Math.max(0,o.type===L?o.value:o.value/100))),a},e=>{let t=e.match(tf);if(!t)return;let a={mode:"hsl"};return void 0!==t[3]?a.h=+t[3]:void 0!==t[1]&&void 0!==t[2]&&(a.h=((e,t)=>{switch(t){case"deg":return+e;case"rad":return e/Math.PI*180;case"grad":return e/10*9;case"turn":return 360*e}})(t[1],t[2])),void 0!==t[4]&&(a.s=Math.min(Math.max(0,t[4]/100),1)),void 0!==t[5]&&(a.l=Math.min(Math.max(0,t[5]/100),1)),void 0!==t[6]?a.alpha=Math.max(0,Math.min(1,t[6]/100)):void 0!==t[7]&&(a.alpha=Math.max(0,Math.min(1,+t[7]))),a}],serialize:e=>`hsl(${void 0!==e.h?e.h:"none"} ${void 0!==e.s?100*e.s+"%":"none"} ${void 0!==e.l?100*e.l+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:en,fixup:eT},s:en,l:en,alpha:{use:en,fixup:eo}},difference:{h:eC},average:{h:eU}};try{var tm="u">typeof window?window:e.g;tm._sentryModuleMetadata=tm._sentryModuleMetadata||{},tm._sentryModuleMetadata[(new tm.Error).stack]=Object.assign({},tm._sentryModuleMetadata[(new tm.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}function tE({h:e,s:t,v:a,alpha:r}){let n;e=eB(void 0!==e?e:0),void 0===t&&(t=0),void 0===a&&(a=0);let l=Math.abs(e/60%2-1);switch(Math.floor(e/60)){case 0:n={r:a,g:a*(1-t*l),b:a*(1-t)};break;case 1:n={r:a*(1-t*l),g:a,b:a*(1-t)};break;case 2:n={r:a*(1-t),g:a,b:a*(1-t*l)};break;case 3:n={r:a*(1-t),g:a*(1-t*l),b:a};break;case 4:n={r:a*(1-t*l),g:a*(1-t),b:a};break;case 5:n={r:a,g:a*(1-t),b:a*(1-t*l)};break;default:n={r:a*(1-t),g:a*(1-t),b:a*(1-t)}}return n.mode="rgb",void 0!==r&&(n.alpha=r),n}try{var tx="u">typeof window?window:e.g;tx._sentryModuleMetadata=tx._sentryModuleMetadata||{},tx._sentryModuleMetadata[(new tx.Error).stack]=Object.assign({},tx._sentryModuleMetadata[(new tx.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}function tk({r:e,g:t,b:a,alpha:r}){void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n=Math.max(e,t,a),l=Math.min(e,t,a),o={mode:"hsv",s:0===n?0:1-l/n,v:n};return n-l!=0&&(o.h=(n===e?(t-a)/(n-l)+(t<a)*6:n===t?(a-e)/(n-l)+2:(e-t)/(n-l)+4)*60),void 0!==r&&(o.alpha=r),o}try{var tA="u">typeof window?window:e.g;tA._sentryModuleMetadata=tA._sentryModuleMetadata||{},tA._sentryModuleMetadata[(new tA.Error).stack]=Object.assign({},tA._sentryModuleMetadata[(new tA.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let tP={mode:"hsv",toMode:{rgb:tE},parse:["--hsv"],serialize:"--hsv",fromMode:{rgb:tk},channels:["h","s","v","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:en,fixup:eT},s:en,v:en,alpha:{use:en,fixup:eo}},difference:{h:eC},average:{h:eU}};try{var tB="u">typeof window?window:e.g;tB._sentryModuleMetadata=tB._sentryModuleMetadata||{},tB._sentryModuleMetadata[(new tB.Error).stack]=Object.assign({},tB._sentryModuleMetadata[(new tB.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var tO="u">typeof window?window:e.g;tO._sentryModuleMetadata=tO._sentryModuleMetadata||{},tO._sentryModuleMetadata[(new tO.Error).stack]=Object.assign({},tO._sentryModuleMetadata[(new tO.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var tT="u">typeof window?window:e.g;tT._sentryModuleMetadata=tT._sentryModuleMetadata||{},tT._sentryModuleMetadata[(new tT.Error).stack]=Object.assign({},tT._sentryModuleMetadata[(new tT.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var tj="u">typeof window?window:e.g;tj._sentryModuleMetadata=tj._sentryModuleMetadata||{},tj._sentryModuleMetadata[(new tj.Error).stack]=Object.assign({},tj._sentryModuleMetadata[(new tj.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var tR="u">typeof window?window:e.g;tR._sentryModuleMetadata=tR._sentryModuleMetadata||{},tR._sentryModuleMetadata[(new tR.Error).stack]=Object.assign({},tR._sentryModuleMetadata[(new tR.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var tK="u">typeof window?window:e.g;tK._sentryModuleMetadata=tK._sentryModuleMetadata||{},tK._sentryModuleMetadata[(new tK.Error).stack]=Object.assign({},tK._sentryModuleMetadata[(new tK.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}function tF(e){if(e<0)return 0;let t=Math.pow(e,.012683313515655966);return 1e4*Math.pow(Math.max(0,t-.8359375)/(18.8515625-18.6875*t),6.277394636015326)}function tS(e){if(e<0)return 0;let t=Math.pow(e/1e4,.1593017578125);return Math.pow((.8359375+18.8515625*t)/(1+18.6875*t),78.84375)}try{var tz="u">typeof window?window:e.g;tz._sentryModuleMetadata=tz._sentryModuleMetadata||{},tz._sentryModuleMetadata[(new tz.Error).stack]=Object.assign({},tz._sentryModuleMetadata[(new tz.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let tD=e=>
2Math.max(e/203,0),tC=({i:e,t,p:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n=tF(e+.008609037037932761*t+.11102962500302593*a),l=tF(e-.00860903703793275*t-.11102962500302599*a),o=tF(e+.5600313357106791*t-.32062717498731885*a),d={mode:"xyz65",x:tD(2.070152218389422*n-1.3263473389671556*l+.2066510476294051*o),y:tD(.3647385209748074*n+.680566024947227*l-.0453045459220346*o),z:tD(-.049747207535812*n-.0492609666966138*l+1.1880659249923042*o)};return void 0!==r&&(d.alpha=r),d};try{var tI="u">typeof window?window:e.g;tI._sentryModuleMetadata=tI._sentryModuleMetadata||{},tI._sentryModuleMetadata[(new tI.Error).stack]=Object.assign({},tI._sentryModuleMetadata[(new tI.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let tL=(e=0)=>Math.max(203*e,0),tU=({x:e,y:t,z:a,alpha:r})=>{let n=tL(e),l=tL(t),o=tL(a),d=tS(.3592832590121217*n+.6976051147779502*l-.0358915932320289*o),i=tS(-.1920808463704995*n+1.1004767970374323*l+.0753748658519118*o),u=tS(.0070797844607477*n+.0748396662186366*l+.8433265453898765*o),s={mode:"itp",i:.5*d+.5*i,t:1.61376953125*d-3.323486328125*i+1.709716796875*u,p:4.378173828125*d-4.24560546875*i-.132568359375*u};return void 0!==r&&(s.alpha=r),s};try{var tN="u">typeof window?window:e.g;tN._sentryModuleMetadata=tN._sentryModuleMetadata||{},tN._sentryModuleMetadata[(new tN.Error).stack]=Object.assign({},tN._sentryModuleMetadata[(new tN.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var t$="u">typeof window?window:e.g;t$._sentryModuleMetadata=t$._sentryModuleMetadata||{},t$._sentryModuleMetadata[(new t$.Error).stack]=Object.assign({},t$._sentryModuleMetadata[(new t$.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let tV=e=>{if(e<0)return 0;let t=Math.pow(e/1e4,.1593017578125);return Math.pow((.8359375+18.8515625*t)/(1+18.6875*t),134.03437499999998)},tq=(e=0)=>Math.max(203*e,0),tH=({x:e,y:t,z:a,alpha:r})=>{e=tq(e),t=tq(t);let n=1.15*e-.15*(a=tq(a)),l=.66*t+.34*e,o=tV(.41478972*n+.579999*l+.014648*a),d=tV(-.20151*n+1.120649*l+.0531008*a),i=tV(-.0166008*n+.2648*l+.6684799*a),u=(o+d)/2,s={mode:"jab",j:.44*u/(1-.56*u)-16295499532821565e-27,a:3.524*o-4.066708*d+.542708*i,b:.199076*o+1.096799*d-1.295875*i};return void 0!==r&&(s.alpha=r),s};try{var tX="u">typeof window?window:e.g;tX._sentryModuleMetadata=tX._sentryModuleMetadata||{},tX._sentryModuleMetadata[(new tX.Error).stack]=Object.assign({},tX._sentryModuleMetadata[(new tX.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let tY=e=>{if(e<0)return 0;let t=Math.pow(e,.007460772656268216);return 1e4*Math.pow((.8359375-t)/(18.6875*t-18.8515625),6.277394636015326)},tG=({j:e,a:t,b:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n=(e+16295499532821565e-27)/(.44+.56*(e+16295499532821565e-27)),l=tY(n+.13860504*t+.058047316*a),o=tY(n-.13860504*t-.058047316*a),d=tY(n-.096019242*t-.8118919*a),i={mode:"xyz65",x:(1.661373024652174*l-.914523081304348*o+.23136208173913045*d)/203,y:(-.3250758611844533*l+1.571847026732543*o-.21825383453227928*d)/203,z:(-.090982811*l-.31272829*o+1.5227666*d)/203};return void 0!==r&&(i.alpha=r),i};try{var tZ="u">typeof window?window:e.g;tZ._sentryModuleMetadata=tZ._sentryModuleMetadata||{},tZ._sentryModuleMetadata[(new tZ.Error).stack]=Object.assign({},tZ._sentryModuleMetadata[(new tZ.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let tW=e=>{let t=tH(eg(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t};try{var tJ="u">typeof window?window:e.g;tJ._sentryModuleMetadata=tJ._sentryModuleMetadata||{},tJ._sentryModuleMetadata[(new tJ.Error).stack]=Object.assign({},tJ._sentryModuleMetadata[(new tJ.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let tQ=e=>ex(tG(e));try{var t0="u">typeof window?window:e.g;t0._sentryModuleMetadata=t0._sentryModuleMetadata||{},t0._sentryModuleMetadata[(new t0.Error).stack]=Object.assign({},t0._sentryModuleMetadata[(new t0.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var t1="u">typeof window?window:e.g;t1._sentryModuleMetadata=t1._sentryModuleMetadata||{},t1._sentryModuleMetadata[(new t1.Error).stack]=Object.assign({},t1._sentryModuleMetadata[(new t1.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let t2=({j:e,a:t,b:a,alpha:r})=>{void 0===t&&(t=0),void 0===a&&(a=0);let n=Math.sqrt(t*t+a*a),l={mode:"jch",j:e,c:n};return n&&(l.h=eB(180*Math.atan2(a,t)/Math.PI)),void 0!==r&&(l.alpha=r),l};try{var t5="u">typeof window?window:e.g;t5._sentryModuleMetadata=t5._sentryModuleMetadata||{},t5._sentryModuleMetadata[(new t5.Error).stack]=Object.assign({},t5._sentryModuleMetadata[(new t5.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}
2let t3=({j:e,c:t,h:a,alpha:r})=>{void 0===a&&(a=0);let n={mode:"jab",j:e,a:t?t*Math.cos(a/180*Math.PI):0,b:t?t*Math.sin(a/180*Math.PI):0};return void 0!==r&&(n.alpha=r),n};try{var t6="u">typeof window?window:e.g;t6._sentryModuleMetadata=t6._sentryModuleMetadata||{},t6._sentryModuleMetadata[(new t6.Error).stack]=Object.assign({},t6._sentryModuleMetadata[(new t6.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var t4="u">typeof window?window:e.g;t4._sentryModuleMetadata=t4._sentryModuleMetadata||{},t4._sentryModuleMetadata[(new t4.Error).stack]=Object.assign({},t4._sentryModuleMetadata[(new t4.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var t9="u">typeof window?window:e.g;t9._sentryModuleMetadata=t9._sentryModuleMetadata||{},t9._sentryModuleMetadata[(new t9.Error).stack]=Object.assign({},t9._sentryModuleMetadata[(new t9.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let t8=e=>Math.pow(e,3)>.008856451679035631?Math.pow(e,3):(116*e-16)/903.2962962962963,t7=({l:e,a:t,b:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n=(e+16)/116,l=t/500+n,o=n-a/200,d={mode:"xyz50",x:t8(l)*eZ.X,y:t8(n)*eZ.Y,z:t8(o)*eZ.Z};return void 0!==r&&(d.alpha=r),d};try{var ae="u">typeof window?window:e.g;ae._sentryModuleMetadata=ae._sentryModuleMetadata||{},ae._sentryModuleMetadata[(new ae.Error).stack]=Object.assign({},ae._sentryModuleMetadata[(new ae.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let at=({x:e,y:t,z:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n=em({r:3.1341359569958707*e-1.6173863321612538*t-.4906619460083532*a,g:-.978795502912089*e+1.916254567259524*t+.03344273116131949*a,b:.07195537988411677*e-.2289768264158322*t+1.405386058324125*a});return void 0!==r&&(n.alpha=r),n};try{var aa="u">typeof window?window:e.g;aa._sentryModuleMetadata=aa._sentryModuleMetadata||{},aa._sentryModuleMetadata[(new aa.Error).stack]=Object.assign({},aa._sentryModuleMetadata[(new aa.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let ar=e=>at(t7(e));try{var an="u">typeof window?window:e.g;an._sentryModuleMetadata=an._sentryModuleMetadata||{},an._sentryModuleMetadata[(new an.Error).stack]=Object.assign({},an._sentryModuleMetadata[(new an.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let al=e=>{let{r:t,g:a,b:r,alpha:n}=ev(e),l={mode:"xyz50",x:.436065742824811*t+.3851514688337912*a+.14307845442264197*r,y:.22249319175623702*t+.7168870538238823*a+.06061979053616537*r,z:.013923904500943465*t+.09708128566574634*a+.7140993584005155*r};return void 0!==n&&(l.alpha=n),l};try{var ao="u">typeof window?window:e.g;ao._sentryModuleMetadata=ao._sentryModuleMetadata||{},ao._sentryModuleMetadata[(new ao.Error).stack]=Object.assign({},ao._sentryModuleMetadata[(new ao.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let ad=e=>e>.008856451679035631?Math.cbrt(e):(903.2962962962963*e+16)/116,ai=({x:e,y:t,z:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n=ad(e/eZ.X),l=ad(t/eZ.Y),o={mode:"lab",l:116*l-16,a:500*(n-l),b:200*(l-ad(a/eZ.Z))};return void 0!==r&&(o.alpha=r),o};try{var au="u">typeof window?window:e.g;au._sentryModuleMetadata=au._sentryModuleMetadata||{},au._sentryModuleMetadata[(new au.Error).stack]=Object.assign({},au._sentryModuleMetadata[(new au.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let as=e=>{let t=ai(al(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t};try{var ac="u">typeof window?window:e.g;ac._sentryModuleMetadata=ac._sentryModuleMetadata||{},ac._sentryModuleMetadata[(new ac.Error).stack]=Object.assign({},ac._sentryModuleMetadata[(new ac.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var ay="u">typeof window?window:e.g;ay._sentryModuleMetadata=ay._sentryModuleMetadata||{},ay._sentryModuleMetadata[(new ay.Error).stack]=Object.assign({},ay._sentryModuleMetadata[(new ay.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let aM={mode:"lab",toMode:{xyz50:t7,rgb:ar},fromMode:{xyz50:ai,rgb:as},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-125,125],b:[-125,125]},parse:[function(e,t){if(!t||"lab"!==t[0])return;let a={mode:"lab"},[,r,n,l,o]=t;if("hue"!==r.type&&"hue"!==n.type&&"hue"!==l.type)return r.type!==N&&(a.l=Math.min(Math.max(0,r.value),100)),n.type!==N&&(a.a=n.type===L?n.value:125*n.value/100),l.type!==N&&(a.b=l.type===L?l.value:125*l.value/100),o.type!==N&&(a.alpha=Math.min(1,Math.max(0,o.type===L?o.value:o.value/100))),a}],serialize:e=>`lab(${void 0!==e.l?e.l:"none"} ${void 0!==e.a?e.a:"none"} ${void 0!==e.b?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{l:en,a:en,b:en,alpha:{use:en,fixup:eo}}};try{var aw="u">typeof window?window:e.g;aw._sentryModuleMetadata=aw._sentryModuleMetadata||{},aw._sentryModuleMetadata[(new aw.Error).stack]=Object.assign({},aw._sentryModuleMetadata[(new aw.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}
2let ah={...aM,mode:"lab65",parse:["--lab-d65"],serialize:"--lab-d65",toMode:{xyz65:e0,rgb:e2},fromMode:{xyz65:e6,rgb:e9},ranges:{l:[0,100],a:[-125,125],b:[-125,125]}};try{var ap="u">typeof window?window:e.g;ap._sentryModuleMetadata=ap._sentryModuleMetadata||{},ap._sentryModuleMetadata[(new ap.Error).stack]=Object.assign({},ap._sentryModuleMetadata[(new ap.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var av="u">typeof window?window:e.g;av._sentryModuleMetadata=av._sentryModuleMetadata||{},av._sentryModuleMetadata[(new av.Error).stack]=Object.assign({},av._sentryModuleMetadata[(new av.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let af={mode:"lch",toMode:{lab:eX,rgb:e=>ar(eX(e))},fromMode:{rgb:e=>eq(as(e)),lab:eq},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,150],h:[0,360]},parse:[function(e,t){if(!t||"lch"!==t[0])return;let a={mode:"lch"},[,r,n,l,o]=t;if(r.type!==N){if("hue"===r.type)return;a.l=Math.min(Math.max(0,r.value),100)}if(n.type!==N&&(a.c=Math.max(0,n.type===L?n.value:150*n.value/100)),l.type!==N){if(l.type===U)return;a.h=l.value}return o.type!==N&&(a.alpha=Math.min(1,Math.max(0,o.type===L?o.value:o.value/100))),a}],serialize:e=>`lch(${void 0!==e.l?e.l:"none"} ${void 0!==e.c?e.c:"none"} ${void 0!==e.h?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:en,fixup:eT},c:en,l:en,alpha:{use:en,fixup:eo}},difference:{h:eI},average:{h:eU}};try{var ag="u">typeof window?window:e.g;ag._sentryModuleMetadata=ag._sentryModuleMetadata||{},ag._sentryModuleMetadata[(new ag.Error).stack]=Object.assign({},ag._sentryModuleMetadata[(new ag.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let ab={...af,mode:"lch65",parse:["--lch-d65"],serialize:"--lch-d65",toMode:{lab65:e=>eX(e,"lab65"),rgb:e=>e2(eX(e,"lab65"))},fromMode:{rgb:e=>eq(e9(e),"lch65"),lab65:e=>eq(e,"lch65")},ranges:{l:[0,100],c:[0,150],h:[0,360]}};try{var a_="u">typeof window?window:e.g;a_._sentryModuleMetadata=a_._sentryModuleMetadata||{},a_._sentryModuleMetadata[(new a_.Error).stack]=Object.assign({},a_._sentryModuleMetadata[(new a_.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let am=({l:e,u:t,v:a,alpha:r})=>{void 0===t&&(t=0),void 0===a&&(a=0);let n=Math.sqrt(t*t+a*a),l={mode:"lchuv",l:e,c:n};return n&&(l.h=eB(180*Math.atan2(a,t)/Math.PI)),void 0!==r&&(l.alpha=r),l};try{var aE="u">typeof window?window:e.g;aE._sentryModuleMetadata=aE._sentryModuleMetadata||{},aE._sentryModuleMetadata[(new aE.Error).stack]=Object.assign({},aE._sentryModuleMetadata[(new aE.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let ax=({l:e,c:t,h:a,alpha:r})=>{void 0===a&&(a=0);let n={mode:"luv",l:e,u:t?t*Math.cos(a/180*Math.PI):0,v:t?t*Math.sin(a/180*Math.PI):0};return void 0!==r&&(n.alpha=r),n};try{var ak="u">typeof window?window:e.g;ak._sentryModuleMetadata=ak._sentryModuleMetadata||{},ak._sentryModuleMetadata[(new ak.Error).stack]=Object.assign({},ak._sentryModuleMetadata[(new ak.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let aA=(e,t,a)=>4*e/(e+15*t+3*a),aP=(e,t,a)=>9*t/(e+15*t+3*a),aB=aA(eZ.X,eZ.Y,eZ.Z),aO=aP(eZ.X,eZ.Y,eZ.Z),aT=({x:e,y:t,z:a,alpha:r})=>{let n;void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let l=(n=t/eZ.Y)<=.008856451679035631?903.2962962962963*n:116*Math.cbrt(n)-16,o=aA(e,t,a),d=aP(e,t,a);isFinite(o)&&isFinite(d)?(o=13*l*(o-aB),d=13*l*(d-aO)):l=o=d=0;let i={mode:"luv",l,u:o,v:d};return void 0!==r&&(i.alpha=r),i};try{var aj="u">typeof window?window:e.g;aj._sentryModuleMetadata=aj._sentryModuleMetadata||{},aj._sentryModuleMetadata[(new aj.Error).stack]=Object.assign({},aj._sentryModuleMetadata[(new aj.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let aR=(a=eZ.X,4*a/(a+15*eZ.Y+3*eZ.Z)),aK=(r=eZ.X,9*(n=eZ.Y)/(r+15*n+3*eZ.Z)),aF=({l:e,u:t,v:a,alpha:r})=>{if(void 0===e&&(e=0),0===e)return{mode:"xyz50",x:0,y:0,z:0};void 0===t&&(t=0),void 0===a&&(a=0);let n=t/(13*e)+aR,l=a/(13*e)+aK,o=eZ.Y*(e<=8?e/903.2962962962963:Math.pow((e+16)/116,3)),d={mode:"xyz50",x:9*n*o/(4*l),y:o,z:
2o*(12-3*n-20*l)/(4*l)};return void 0!==r&&(d.alpha=r),d};try{var aS="u">typeof window?window:e.g;aS._sentryModuleMetadata=aS._sentryModuleMetadata||{},aS._sentryModuleMetadata[(new aS.Error).stack]=Object.assign({},aS._sentryModuleMetadata[(new aS.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var az="u">typeof window?window:e.g;az._sentryModuleMetadata=az._sentryModuleMetadata||{},az._sentryModuleMetadata[(new az.Error).stack]=Object.assign({},az._sentryModuleMetadata[(new az.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let aD={...ei,mode:"lrgb",toMode:{rgb:em},fromMode:{rgb:ev},parse:["srgb-linear"],serialize:"srgb-linear"};try{var aC="u">typeof window?window:e.g;aC._sentryModuleMetadata=aC._sentryModuleMetadata||{},aC._sentryModuleMetadata[(new aC.Error).stack]=Object.assign({},aC._sentryModuleMetadata[(new aC.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var aI="u">typeof window?window:e.g;aI._sentryModuleMetadata=aI._sentryModuleMetadata||{},aI._sentryModuleMetadata[(new aI.Error).stack]=Object.assign({},aI._sentryModuleMetadata[(new aI.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let aL=({r:e,g:t,b:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n=Math.cbrt(.412221469470763*e+.5363325372617348*t+.0514459932675022*a),l=Math.cbrt(.2119034958178252*e+.6806995506452344*t+.1073969535369406*a),o=Math.cbrt(.0883024591900564*e+.2817188391361215*t+.6299787016738222*a),d={mode:"oklab",l:.210454268309314*n+.7936177747023054*l-.0040720430116193*o,a:1.9779985324311684*n-2.42859224204858*l+.450593709617411*o,b:.0259040424655478*n+.7827717124575296*l-.8086757549230774*o};return void 0!==r&&(d.alpha=r),d};try{var aU="u">typeof window?window:e.g;aU._sentryModuleMetadata=aU._sentryModuleMetadata||{},aU._sentryModuleMetadata[(new aU.Error).stack]=Object.assign({},aU._sentryModuleMetadata[(new aU.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let aN=e=>{let t=aL(ev(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t};try{var a$="u">typeof window?window:e.g;a$._sentryModuleMetadata=a$._sentryModuleMetadata||{},a$._sentryModuleMetadata[(new a$.Error).stack]=Object.assign({},a$._sentryModuleMetadata[(new a$.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let aV=({l:e,a:t,b:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n=Math.pow(e+.3963377773761749*t+.2158037573099136*a,3),l=Math.pow(e-.1055613458156586*t-.0638541728258133*a,3),o=Math.pow(e-.0894841775298119*t-1.2914855480194092*a,3),d={mode:"lrgb",r:4.076741636075957*n-3.3077115392580616*l+.2309699031821044*o,g:-1.2684379732850317*n+2.6097573492876887*l-.3413193760026573*o,b:-.0041960761386756*n-.7034186179359362*l+1.7076146940746117*o};return void 0!==r&&(d.alpha=r),d};try{var aq="u">typeof window?window:e.g;aq._sentryModuleMetadata=aq._sentryModuleMetadata||{},aq._sentryModuleMetadata[(new aq.Error).stack]=Object.assign({},aq._sentryModuleMetadata[(new aq.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let aH=e=>em(aV(e));try{var aX="u">typeof window?window:e.g;aX._sentryModuleMetadata=aX._sentryModuleMetadata||{},aX._sentryModuleMetadata[(new aX.Error).stack]=Object.assign({},aX._sentryModuleMetadata[(new aX.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}function aY(e){return .5*(1.206/1.03*e-.206+Math.sqrt((1.206/1.03*e-.206)*(1.206/1.03*e-.206)+1.206/1.03*.12*e))}function aG(e){return(e*e+.206*e)/(1.206/1.03*(e+.03))}function aZ(e,t){let a,r,n,l,o,d,i,u,s,c,y,M,w,h,p,v,f,g=(-1.88170328*e-.80936493*t>1?(a=1.19086277,r=1.76576728,n=.59662641,l=.75515197,o=.56771245,d=4.0767416621,i=-3.3077115913,u=.2309699292):1.81444104*e-1.19445276*t>1?(a=.73956515,r=-.45954404,n=.08285427,l=.1254107,o=.14503204,d=-1.2684380046,i=2.6097574011,u=-.3413193965):(a=1.35733652,r=-.00915799,n=-1.1513021,l=-.50559606,o=.00692167,d=-.0041960863,i=-.7034186147,u=1.707614701),s=a+r*e+n*t+l*e*e+o*e*t,c=.3963377774*e+.2158037573*t,y=-.1055613458*e-.0638541728*t,M=-.0894841775*e-1.291485548*t,v=d*((w=1+s*c)*w*w)+i*((h=1+s*y)*h*h)+u*((p=1+s*M)*p*p),s-=v*(f=3*c*w*w*d+3*y*h*h*i+3*M*p*p*u)/(f*f-.5*v*(6*c*c*w*d+6*y*y*h*i+6*M*M*p*u))),b=aV({l:1,a:g*e,b:g*t}),_=Math.cbrt(1/Math.max(b.r,b.g,b.b));return[_,_*g]}function aW(e,t,a=null){a||(a=aZ(e,t));let r=a[0],n=a[1];return[n/r,n/(1-r)]}function aJ(e,t,a){let r=aZ(t,a),n=function(e,t,a,r,n=null){let l;if(n||(n=aZ(e,t)),(a-r)*n[1]-(n[0]-r)*1<=0)l=n[1]*r/(+n[0]+n[1]*(r-a));else{l=n[1]*(r-1)/(+(n[0]-1)+n[1]*(r-a));{let n=a-r,o=.3963377774*e+.2158037573*t,d=-.1055613458*e-.0638541728*t,i=-.0894841775*e-1.291485548*t,u=n+ +o,s=n+ +d,c=n+ +i;{let e=r*(1-l)+l*a,t=+l,n=e+t*o,y=e+t*d,M=e+t*i,w=n*n*n,h=y*y*y,p=M*M*M,v=3*u*n*n,f=3*s*y*y,g=3*c*M*M,b=6*u*u*n,_=6*s*s*y,m=6*c*c*M,E=4.0767416621*w-3.3077115913*h+.2309699292*p-1,x=4.0767416621*v-3.3077115913*f+.2309699292*g,k=x/(x*x-.5*E*(4.0767416621*b-3.3077115913*_+.2309699292*m)),A=-E*k,P=-1.2684380046*w+2.6097574011*h-.3413193965*p-1,B=-1.2684380046*v+2.6097574011*f-.3413193965*g,O=B/(B*B-.5*P*(-1.2684380046*b+2.6097574011*_-.3413193965*m)),T=-P*O,j=-.
20041960863*w-.7034186147*h+1.707614701*p-1,R=-.0041960863*v-.7034186147*f+1.707614701*g,K=R/(R*R-.5*j*(-.0041960863*b-.7034186147*_+1.707614701*m)),F=-j*K;l+=Math.min(A=k>=0?A:1e6,Math.min(T=O>=0?T:1e6,F=K>=0?F:1e6))}}}return l}(t,a,e,e,r),l=aW(t,a,r),o=.11516993+1/(7.4477897+4.1590124*a+t*(-2.19557347+1.75198401*a+t*(-2.13704948-10.02301043*a+t*(-4.24894561+5.38770819*a+4.69891013*t)))),d=.11239642+1/(1.6132032-.68124379*a+t*(.40370612+.90148123*a+t*(-.27087943+.6122399*a+t*(.00299215-.45399568*a-.14661872*t)))),i=n/Math.min(e*l[0],(1-e)*l[1]),u=e*o,s=(1-e)*d,c=.9*i*Math.sqrt(Math.sqrt(1/(1/(u*u*u*u)+1/(s*s*s*s))));return[Math.sqrt(1/(1/((u=.4*e)*u)+1/((s=(1-e)*.8)*s))),c,n]}try{var aQ="u">typeof window?window:e.g;aQ._sentryModuleMetadata=aQ._sentryModuleMetadata||{},aQ._sentryModuleMetadata[(new aQ.Error).stack]=Object.assign({},aQ._sentryModuleMetadata[(new aQ.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}function a0(e){let t,a=void 0!==e.l?e.l:0,r=void 0!==e.a?e.a:0,n=void 0!==e.b?e.b:0,l={mode:"okhsl",l:aY(a)};void 0!==e.alpha&&(l.alpha=e.alpha);let o=Math.sqrt(r*r+n*n);if(!o)return l.s=0,l;let[d,i,u]=aJ(a,r/o,n/o);if(o<i){let e=.8*d;t=(o-0)/(e+(1-e/i)*(o-0))*.8}else{let e=.2*i*i*1.5625/d;t=.8+.2*((o-i)/(e+(1-e/(u-i))*(o-i)))}return t&&(l.s=t,l.h=eB(180*Math.atan2(n,r)/Math.PI)),l}try{var a1="u">typeof window?window:e.g;a1._sentryModuleMetadata=a1._sentryModuleMetadata||{},a1._sentryModuleMetadata[(new a1.Error).stack]=Object.assign({},a1._sentryModuleMetadata[(new a1.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}function a2(e){let t,a,r,n,l=void 0!==e.h?e.h:0,o=void 0!==e.s?e.s:0,d=void 0!==e.l?e.l:0,i={mode:"oklab",l:aG(d)};if(void 0!==e.alpha&&(i.alpha=e.alpha),!o||1===d)return i.a=i.b=0,i;let u=Math.cos(l/180*Math.PI),s=Math.sin(l/180*Math.PI),[c,y,M]=aJ(i.l,u,s);o<.8?(t=1.25*o,a=0,n=1-(r=.8*c)/y):(t=5*(o-.8),a=y,n=1-(r=.2*y*y*1.5625/c)/(M-y));let w=a+t*r/(1-n*t);return i.a=w*u,i.b=w*s,i}try{var a5="u">typeof window?window:e.g;a5._sentryModuleMetadata=a5._sentryModuleMetadata||{},a5._sentryModuleMetadata[(new a5.Error).stack]=Object.assign({},a5._sentryModuleMetadata[(new a5.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let a3={...t_,mode:"okhsl",channels:["h","s","l","alpha"],parse:["--okhsl"],serialize:"--okhsl",fromMode:{oklab:a0,rgb:e=>a0(aN(e))},toMode:{oklab:a2,rgb:e=>aH(a2(e))}};try{var a6="u">typeof window?window:e.g;a6._sentryModuleMetadata=a6._sentryModuleMetadata||{},a6._sentryModuleMetadata[(new a6.Error).stack]=Object.assign({},a6._sentryModuleMetadata[(new a6.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}function a4(e){let t=void 0!==e.l?e.l:0,a=void 0!==e.a?e.a:0,r=void 0!==e.b?e.b:0,n=Math.sqrt(a*a+r*r),l=n?a/n:1,o=n?r/n:1,[d,i]=aW(l,o),u=i/(n+t*i),s=u*t,c=u*n,y=aG(s),M=c*y/s,w=aV({l:y,a:l*M,b:o*M}),h=Math.cbrt(1/Math.max(w.r,w.g,w.b,0));t/=h;let p={mode:"okhsv",s:(n=n/h*aY(t)/t)?(.5+i)*c/(.5*i+i*(1-.5/d)*c):0,v:(t=aY(t))?t/s:0};return p.s&&(p.h=eB(180*Math.atan2(r,a)/Math.PI)),void 0!==e.alpha&&(p.alpha=e.alpha),p}try{var a9="u">typeof window?window:e.g;a9._sentryModuleMetadata=a9._sentryModuleMetadata||{},a9._sentryModuleMetadata[(new a9.Error).stack]=Object.assign({},a9._sentryModuleMetadata[(new a9.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}function a8(e){let t={mode:"oklab"};void 0!==e.alpha&&(t.alpha=e.alpha);let a=void 0!==e.h?e.h:0,r=void 0!==e.s?e.s:0,n=void 0!==e.v?e.v:0,l=Math.cos(a/180*Math.PI),o=Math.sin(a/180*Math.PI),[d,i]=aW(l,o),u=1-.5/d,s=1-.5*r/(.5+i-i*u*r),c=r*i*.5/(.5+i-i*u*r),y=aG(s),M=c*y/s,w=aV({l:y,a:l*M,b:o*M}),h=Math.cbrt(1/Math.max(w.r,w.g,w.b,0)),p=aG(n*s),v=c*p/s;return t.l=p*h,t.a=v*l*h,t.b=v*o*h,t}try{var a7="u">typeof window?window:e.g;a7._sentryModuleMetadata=a7._sentryModuleMetadata||{},a7._sentryModuleMetadata[(new a7.Error).stack]=Object.assign({},a7._sentryModuleMetadata[(new a7.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let re={...tP,mode:"okhsv",channels:["h","s","v","alpha"],parse:["--okhsv"],serialize:"--okhsv",fromMode:{oklab:a4,rgb:e=>a4(aN(e))},toMode:{oklab:a8,rgb:e=>aH(a8(e))}};try{var rt="u">typeof window?window:e.g;rt._sentryModuleMetadata=rt._sentryModuleMetadata||{},rt._sentryModuleMetadata[(new rt.Error).stack]=Object.assign({},rt._sentryModuleMetadata[(new rt.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var ra="u">typeof window?window:e.g;ra._sentryModuleMetadata=ra._sentryModuleMetadata||{},ra._sentryModuleMetadata[(new ra.Error).stack]=Object.assign({},ra._sentryModuleMetadata[(new ra.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let rr={...aM,mode:"oklab",toMode:{lrgb:aV,rgb:aH}
2,fromMode:{lrgb:aL,rgb:aN},ranges:{l:[0,1],a:[-.4,.4],b:[-.4,.4]},parse:[function(e,t){if(!t||"oklab"!==t[0])return;let a={mode:"oklab"},[,r,n,l,o]=t;if("hue"!==r.type&&"hue"!==n.type&&"hue"!==l.type)return r.type!==N&&(a.l=Math.min(Math.max(0,r.type===L?r.value:r.value/100),1)),n.type!==N&&(a.a=n.type===L?n.value:.4*n.value/100),l.type!==N&&(a.b=l.type===L?l.value:.4*l.value/100),o.type!==N&&(a.alpha=Math.min(1,Math.max(0,o.type===L?o.value:o.value/100))),a}],serialize:e=>`oklab(${void 0!==e.l?e.l:"none"} ${void 0!==e.a?e.a:"none"} ${void 0!==e.b?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`};try{var rn="u">typeof window?window:e.g;rn._sentryModuleMetadata=rn._sentryModuleMetadata||{},rn._sentryModuleMetadata[(new rn.Error).stack]=Object.assign({},rn._sentryModuleMetadata[(new rn.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var rl="u">typeof window?window:e.g;rl._sentryModuleMetadata=rl._sentryModuleMetadata||{},rl._sentryModuleMetadata[(new rl.Error).stack]=Object.assign({},rl._sentryModuleMetadata[(new rl.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let ro={...af,mode:"oklch",toMode:{oklab:e=>eX(e,"oklab"),rgb:e=>aH(eX(e,"oklab"))},fromMode:{rgb:e=>eq(aN(e),"oklch"),oklab:e=>eq(e,"oklch")},parse:[function(e,t){if(!t||"oklch"!==t[0])return;let a={mode:"oklch"},[,r,n,l,o]=t;if(r.type!==N){if("hue"===r.type)return;a.l=Math.min(Math.max(0,r.type===L?r.value:r.value/100),1)}if(n.type!==N&&(a.c=Math.max(0,n.type===L?n.value:.4*n.value/100)),l.type!==N){if(l.type===U)return;a.h=l.value}return o.type!==N&&(a.alpha=Math.min(1,Math.max(0,o.type===L?o.value:o.value/100))),a}],serialize:e=>`oklch(${void 0!==e.l?e.l:"none"} ${void 0!==e.c?e.c:"none"} ${void 0!==e.h?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,ranges:{l:[0,1],c:[0,.4],h:[0,360]}};try{var rd="u">typeof window?window:e.g;rd._sentryModuleMetadata=rd._sentryModuleMetadata||{},rd._sentryModuleMetadata[(new rd.Error).stack]=Object.assign({},rd._sentryModuleMetadata[(new rd.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let ri=e=>{let{r:t,g:a,b:r,alpha:n}=ev(e),l={mode:"xyz65",x:.486570948648216*t+.265667693169093*a+.1982172852343625*r,y:.2289745640697487*t+.6917385218365062*a+.079286914093745*r,z:0*t+.0451133818589026*a+1.043944368900976*r};return void 0!==n&&(l.alpha=n),l};try{var ru="u">typeof window?window:e.g;ru._sentryModuleMetadata=ru._sentryModuleMetadata||{},ru._sentryModuleMetadata[(new ru.Error).stack]=Object.assign({},ru._sentryModuleMetadata[(new ru.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let rs=({x:e,y:t,z:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n=em({r:2.4934969119414263*e-.9313836179191242*t-.402710784450717*a,g:-.8294889695615749*e+1.7626640603183465*t+.0236246858419436*a,b:.0358458302437845*e-.0761723892680418*t+.9568845240076871*a},"p3");return void 0!==r&&(n.alpha=r),n};try{var rc="u">typeof window?window:e.g;rc._sentryModuleMetadata=rc._sentryModuleMetadata||{},rc._sentryModuleMetadata[(new rc.Error).stack]=Object.assign({},rc._sentryModuleMetadata[(new rc.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let ry={...ei,mode:"p3",parse:["display-p3"],serialize:"display-p3",fromMode:{rgb:e=>rs(eg(e)),xyz65:rs},toMode:{rgb:e=>ex(ri(e)),xyz65:ri}};try{var rM="u">typeof window?window:e.g;rM._sentryModuleMetadata=rM._sentryModuleMetadata||{},rM._sentryModuleMetadata[(new rM.Error).stack]=Object.assign({},rM._sentryModuleMetadata[(new rM.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let rw=e=>{let t=Math.abs(e);return t>=1/512?Math.sign(e)*Math.pow(t,1/1.8):16*e},rh=({x:e,y:t,z:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n={mode:"prophoto",r:rw(1.3457868816471585*e-.2555720873797946*t-.0511018649755453*a),g:rw(-.5446307051249019*e+1.5082477428451466*t+.0205274474364214*a),b:rw(0*e+0*t+1.2119675456389452*a)};return void 0!==r&&(n.alpha=r),n};try{var rp="u">typeof window?window:e.g;rp._sentryModuleMetadata=rp._sentryModuleMetadata||{},rp._sentryModuleMetadata[(new rp.Error).stack]=Object.assign({},rp._sentryModuleMetadata[(new rp.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let rv=(e=0)=>{let t=Math.abs(e);return t>=16/512?Math.sign(e)*Math.pow(t,1.8):e/16},rf=e=>{let t=rv(e.r),a=rv(e.g),r=rv(e.b),n={mode:"xyz50",x:.7977666449006423*t+.1351812974005331*a+.0313477341283922*r,y:.2880748288194013*t+.7118352342418731*a+899369387256e-16*r,z:0*t+0*a+.8251046025104602*r};return void 0!==e.alpha&&(n.alpha=e.alpha),n};try{var rg="u">typeof window?window:e.g;rg._sentryModuleMetadata=rg._sentryModuleMetadata||{},rg._sentryModuleMetadata[(new rg.Error).stack]=Object.assign({},rg._sentryModuleMetadata[(new rg.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let rb={...ei,mode:"prophoto",parse:["prophoto-rgb"],serialize:"prophoto-rgb",fromMode:{xyz50:rh,rgb:e=>rh(al(e))},toMode:{xyz50:rf,rgb:e=>at(rf(e))}};try{var r_="u">typeof window?window:e.g;r_._sentryModuleMetadata=r_._sentryModuleMetadata||{},r_._sentryModuleMetadata[(new r_.Error).stack]=Object.assign({},r_._sentryModuleMetadata[(new r_.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let rm=e=>{let t=Math.abs(e);return t>.018053968510807?(Math.sign(e)||1)*(1.09929682680944*Math.pow(t,.45)-(1.09929682680944-1)):4.5*e},rE=({x:e,y:t,z:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n={mode:"rec2020",r:rm(1.7166511879712683*e-.3556707837763925*t-.2533
2662813736599*a),g:rm(-.6666843518324893*e+1.6164812366349395*t+.0157685458139111*a),b:rm(.0176398574453108*e-.0427706132578085*t+.9421031212354739*a)};return void 0!==r&&(n.alpha=r),n};try{var rx="u">typeof window?window:e.g;rx._sentryModuleMetadata=rx._sentryModuleMetadata||{},rx._sentryModuleMetadata[(new rx.Error).stack]=Object.assign({},rx._sentryModuleMetadata[(new rx.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let rk=(e=0)=>{let t=Math.abs(e);return t<.08124285829863151?e/4.5:(Math.sign(e)||1)*Math.pow((t+1.09929682680944-1)/1.09929682680944,1/.45)},rA=e=>{let t=rk(e.r),a=rk(e.g),r=rk(e.b),n={mode:"xyz65",x:.6369580483012911*t+.1446169035862083*a+.1688809751641721*r,y:.262700212011267*t+.6779980715188708*a+.059301716469862*r,z:0*t+.0280726930490874*a+1.0609850577107909*r};return void 0!==e.alpha&&(n.alpha=e.alpha),n};try{var rP="u">typeof window?window:e.g;rP._sentryModuleMetadata=rP._sentryModuleMetadata||{},rP._sentryModuleMetadata[(new rP.Error).stack]=Object.assign({},rP._sentryModuleMetadata[(new rP.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let rB={...ei,mode:"rec2020",fromMode:{xyz65:rE,rgb:e=>rE(eg(e))},toMode:{xyz65:rA,rgb:e=>ex(rA(e))}
2,parse:["rec2020"],serialize:"rec2020"};try{var rO="u">typeof window?window:e.g;rO._sentryModuleMetadata=rO._sentryModuleMetadata||{},rO._sentryModuleMetadata[(new rO.Error).stack]=Object.assign({},rO._sentryModuleMetadata[(new rO.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let rT=Math.cbrt(.0037930732552754493);try{var rj="u">typeof window?window:e.g;rj._sentryModuleMetadata=rj._sentryModuleMetadata||{},rj._sentryModuleMetadata[(new rj.Error).stack]=Object.assign({},rj._sentryModuleMetadata[(new rj.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let rR=e=>Math.cbrt(e)-rT;try{var rK="u">typeof window?window:e.g;rK._sentryModuleMetadata=rK._sentryModuleMetadata||{},rK._sentryModuleMetadata[(new rK.Error).stack]=Object.assign({},rK._sentryModuleMetadata[(new rK.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let rF=e=>Math.pow(e+rT,3);try{var rS="u">typeof window?window:e.g;rS._sentryModuleMetadata=rS._sentryModuleMetadata||{},rS._sentryModuleMetadata[(new rS.Error).stack]=Object.assign({},rS._sentryModuleMetadata[(new rS.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let rz={mode:"xyb",channels:["x","y","b","alpha"],parse:["--xyb"],serialize:"--xyb",toMode:{rgb:({x:e,y:t,b:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n=rF(e+t)-.0037930732552754493,l=rF(t-e)-.0037930732552754493,o=rF(a+t)-.0037930732552754493,d=em({r:11.031566904639861*n-9.866943908131562*l-.16462299650829934*o,g:-3.2541473810744237*n+4.418770377582723*l-.16462299650829934*o,b:-3.6588512867136815*n+2.7129230459360922*l+1.9459282407775895*o});return void 0!==r&&(d.alpha=r),d}},fromMode:{rgb:e=>{let{r:t,g:a,b:r,alpha:n}=ev(e),l=rR(.3*t+.622*a+.078*r+.0037930732552754493),o=rR(.23*t+.692*a+.078*r+.0037930732552754493),d={mode:"xyb",x:(l-o)/2,y:(l+o)/2,b:rR(.2434226892454782*t+.2047674442449682*a+.5518098665095535*r+.0037930732552754493)-(l+o)/2};return void 0!==n&&(d.alpha=n),d}},ranges:{x:[-.0154,.0281],y:[0,.8453],b:[-.2778,.388]},interpolate:{x:en,y:en,b:en,alpha:{use:en,fixup:eo}}};try{var rD="u">typeof window?window:e.g;rD._sentryModuleMetadata=rD._sentryModuleMetadata||{},rD._sentryModuleMetadata[(new rD.Error).stack]=Object.assign({},rD._sentryModuleMetadata[(new rD.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var rC="u">typeof window?window:e.g;rC._sentryModuleMetadata=rC._sentryModuleMetadata||{},rC._sentryModuleMetadata[(new rC.Error).stack]=Object.assign({},rC._sentryModuleMetadata[(new rC.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var rI="u">typeof window?window:e.g;rI._sentryModuleMetadata=rI._sentryModuleMetadata||{},rI._sentryModuleMetadata[(new rI.Error).stack]=Object.assign({},rI._sentryModuleMetadata[(new rI.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var rL="u">typeof window?window:e.g;rL._sentryModuleMetadata=rL._sentryModuleMetadata||{},rL._sentryModuleMetadata[(new rL.Error).stack]=Object.assign({},rL._sentryModuleMetadata[(new rL.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var rU="u">typeof window?window:e.g;rU._sentryModuleMetadata=rU._sentryModuleMetadata||{},rU._sentryModuleMetadata[(new rU.Error).stack]=Object.assign({},rU._sentryModuleMetadata[(new rU.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var rN="u">typeof window?window:e.g;rN._sentryModuleMetadata=rN._sentryModuleMetadata||{},rN._sentryModuleMetadata[(new rN.Error).stack]=Object.assign({},rN._sentryModuleMetadata[(new rN.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var r$="u">typeof window?window:e.g;r$._sentryModuleMetadata=r$._sentryModuleMetadata||{},r$._sentryModuleMetadata[(new r$.Error).stack]=Object.assign({},r$._sentryModuleMetadata[(new r$.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let rV={mode:"yiq",toMode:{rgb:({y:e,i:t,q:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n={mode:"rgb",r:e+.95608445*t+.6208885*a,g:e-.27137664*t-.6486059*a,b:e-1.10561724*t+1.70250126*a};return void 0!==r&&(n.alpha=r),n}},fromMode:{rgb:({r:e,g:t,b:a,alpha:r})=>{void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n={mode:"yiq",y:.29889531*e+.58662247*t+.11448223*a,i:.59597799*e-.2741761*t-.32180189*a,q:.21147017*e-.52261711*t+.31114694*a};return void 0!==r&&(n.alpha=r),n}},channels:["y","i","q","alpha"],parse:["--yiq"],serialize:"--yiq",ranges:{i:[-.595,.595],q:[-.522,.522]},interpolate:{y:en,i:en,q:en,alpha:{use:en,fixup:eo}}};try{var rq="u">typeof window?window:e.g;rq._sentryModuleMetadata=rq._sentryModuleMetadata||{},rq._sentryModuleMetadata[(new rq.Error).stack]=Object.assign({},rq._sentryModuleMetadata[(new rq.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}R(eA),R(e$),R({mode:"dlab",parse:["--din99o-lab"],serialize:"--din99o-lab",toMode:{lab65:ti,rgb:e=>e2(ti(e))},fromMode:{lab65:tu,rgb:e=>tu(e9(e))},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-40.09,45.501],b:[-40.469,44.344]},interpolate:{l:en,a:en,b:en,alpha:{use:en,fixup:eo}}}
2),R({mode:"dlch",parse:["--din99o-lch"],serialize:"--din99o-lch",toMode:{lab65:tn,dlab:e=>eX(e,"dlab"),rgb:e=>e2(tn(e))},fromMode:{lab65:to,dlab:e=>eq(e,"dlch"),rgb:e=>to(e9(e))},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,51.484],h:[0,360]},interpolate:{l:en,c:en,h:{use:en,fixup:eT},alpha:{use:en,fixup:eo}},difference:{h:eI},average:{h:eU}}),R({mode:"hsi",toMode:{rgb:function({h:e,s:t,i:a,alpha:r}){let n;e=eB(void 0!==e?e:0),void 0===t&&(t=0),void 0===a&&(a=0);let l=Math.abs(e/60%2-1);switch(Math.floor(e/60)){case 0:n={r:a*(1+t*(3/(2-l)-1)),g:a*(1+t*(3*(1-l)/(2-l)-1)),b:a*(1-t)};break;case 1:n={r:a*(1+t*(3*(1-l)/(2-l)-1)),g:a*(1+t*(3/(2-l)-1)),b:a*(1-t)};break;case 2:n={r:a*(1-t),g:a*(1+t*(3/(2-l)-1)),b:a*(1+t*(3*(1-l)/(2-l)-1))};break;case 3:n={r:a*(1-t),g:a*(1+t*(3*(1-l)/(2-l)-1)),b:a*(1+t*(3/(2-l)-1))};break;case 4:n={r:a*(1+t*(3*(1-l)/(2-l)-1)),g:a*(1-t),b:a*(1+t*(3/(2-l)-1))};break;case 5:n={r:a*(1+t*(3/(2-l)-1)),g:a*(1-t),b:a*(1+t*(3*(1-l)/(2-l)-1))};break;default:n={r:a*(1-t),g:a*(1-t),b:a*(1-t)}}return n.mode="rgb",void 0!==r&&(n.alpha=r),n}},parse:["--hsi"],serialize:"--hsi",fromMode:{rgb:function({r:e,g:t,b:a,alpha:r}){void 0===e&&(e=0),void 0===t&&(t=0),void 0===a&&(a=0);let n=Math.max(e,t,a),l=Math.min(e,t,a),o={mode:"hsi",s:e+t+a===0?0:1-3*l/(e+t+a),i:(e+t+a)/3};return n-l!=0&&(o.h=(n===e?(t-a)/(n-l)+(t<a)*6:n===t?(a-e)/(n-l)+2:(e-t)/(n-l)+4)*60),void 0!==r&&(o.alpha=r),o}},channels:["h","s","i","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:en,fixup:eT},s:en,i:en,alpha:{use:en,fixup:eo}},difference:{h:eC},average:{h:eU}}),R(t_),R(tP),R({mode:"hwb",toMode:{rgb:function({h:e,w:t,b:a,alpha:r}){if(void 0===t&&(t=0),void 0===a&&(a=0),t+a>1){let e=t+a;t/=e,a/=e}return tE({h:e,s:1===a?1:1-t/(1-a),v:1-a,alpha:r})}},fromMode:{rgb:function(e){let t=tk(e);if(void 0===t)return;let a=void 0!==t.s?t.s:0,r=void 0!==t.v?t.v:0,n={mode:"hwb",w:(1-a)*r,b:1-r};return void 0!==t.h&&(n.h=t.h),void 0!==t.alpha&&(n.alpha=t.alpha),n}},channels:["h","w","b","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[function(e,t){if(!t||"hwb"!==t[0])return;let a={mode:"hwb"},[,r,n,l,o]=t;if(r.type!==N){if(r.type===U)return;a.h=r.value}if(n.type!==N){if("hue"===n.type)return;a.w=n.value/100}if(l.type!==N){if("hue"===l.type)return;a.b=l.value/100}return o.type!==N&&(a.alpha=Math.min(1,Math.max(0,o.type===L?o.value:o.value/100))),a}],serialize:e=>`hwb(${void 0!==e.h?e.h:"none"} ${void 0!==e.w?100*e.w+"%":"none"} ${void 0!==e.b?100*e.b+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:en,fixup:eT},w:en,b:en,alpha:{use:en,fixup:eo}},difference:{h:(e,t)=>{if(void 0===e.h||void 0===t.h)return 0;let a=eB(e.h),r=eB(t.h);return Math.abs(r-a)>180?a-(r-360*Math.sign(r-a)):r-a}},average:{h:eU}}),R({mode:"itp",channels:["i","t","p","alpha"],parse:["--ictcp"],serialize:"--ictcp",toMode:{xyz65:tC,rgb:e=>ex(tC(e))},fromMode:{xyz65:tU,rgb:e=>tU(eg(e))},ranges:{i:[0,.581],t:[-.369,.272],p:[-.164,.331]},interpolate:{i:en,t:en,p:en,alpha:{use:en,fixup:eo}}}),R({mode:"jab",channels:["j","a","b","alpha"],parse:["--jzazbz"],serialize:"--jzazbz",fromMode:{rgb:tW,xyz65:tH},toMode:{rgb:tQ,xyz65:tG},ranges:{j:[0,.222],a:[-.109,.129],b:[-.185,.134]},interpolate:{j:en,a:en,b:en,alpha:{use:en,fixup:eo}}}),R({mode:"jch",parse:["--jzczhz"],serialize:"--jzczhz",toMode:{jab:t3,rgb:e=>tQ(t3(e))},fromMode:{rgb:e=>t2(tW(e)),jab:t2},channels:["j","c","h","alpha"],ranges:{j:[0,.221],c:[0,.19],h:[0,360]},interpolate:{h:{use:en,fixup:eT},c:en,j:en,alpha:{use:en,fixup:eo}},difference:{h:eI},average:{h:eU}}),R(aM),R(ah),R(af),R(ab),R({mode:"lchuv",toMode:{luv:ax,rgb:e=>at(aF(ax(e)))},fromMode:{rgb:e=>am(aT(al(e))),luv:am},channels:["l","c","h","alpha"],parse:["--lchuv"],serialize:"--lchuv",ranges:{l:[0,100],c:[0,176.956],h:[0,360]},interpolate:{h:{use:en,fixup:eT},c:en,l:en,alpha:{use:en,fixup:eo}},difference:{h:eI},average:{h:eU}}),R(aD),R({mode:"luv",toMode:{xyz50:aF,rgb:e=>at(aF(e))},fromMode:{xyz50:aT,rgb:e=>aT(al(e))},channels:["l","u","v","alpha"],parse:["--luv"],serialize:"--luv",ranges:{l:[0,100],u:[-84.936,175.042],v:[-125.882,87.243]},interpolate:{l:en,u:en,v:en,alpha:{use:en,fixup:eo}}}),R(a3),R(re),R(rr),R(ro),R(ry),R(rb),R(rB),R(ei),R(rz),R({mode:"xyz50",parse:["xyz-d50"],serialize:"xyz-d50",toMode:{rgb:at,lab:ai},fromMode:{rgb:al,lab:t7},channels:["x","y","z","alpha"],ranges:{x:[0,.964],y:[0,.999],z:[0,.825]},interpolate:{x:en,y:en,z:en,alpha:{use:en,fixup:eo}}}),R({mode:"xyz65",toMode:{rgb:ex,xyz50:e=>{let{x:t,y:a,z:r,alpha:n}=e;void 0===t&&(t=0),void 0===a&&(a=0),void 0===r&&(r=0);let l={mode:"xyz50",x:1.0479298208405488*t+.0229467933410191*a-.0501922295431356*r,y:.0296278156881593*t+.990434484573249*a-.0170738250293851*r,z:-.0092430581525912*t+.0150551448965779*a+.7518742899580008*r};return void 0!==n&&(l.alpha=n),l}},fromMode:{rgb:eg,xyz50:e=>{let{x:t,y:a,z:r,alpha:n}=e;void 0===t&&(t=0),void 0===a&&(a=0),void 0===r&&(r=0);let l={mode:"xyz65",x:.9554734527042182*t-.0230985368742614*a+.0632593086610217*r,y:-.0283697069632081*t+1.0099954580058226*a+.021041398966943*r,z:.0123140016883199*t-.0205076964334779*a+1.3303659366080753*r};return void 0!==n&&(l.alpha=n),l}},ranges:{x:[0,.95],y:[0,1],z:[0,1.088]}
2,channels:["x","y","z","alpha"],parse:["xyz","xyz-d65"],serialize:"xyz-d65",interpolate:{x:en,y:en,z:en,alpha:{use:en,fixup:eo}}}),R(rV),e.s([],699208);try{var rH="u">typeof window?window:e.g;rH._sentryModuleMetadata=rH._sentryModuleMetadata||{},rH._sentryModuleMetadata[(new rH.Error).stack]=Object.assign({},rH._sentryModuleMetadata[(new rH.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let rX=k("rgb"),rY=e=>{let t={mode:e.mode,r:Math.max(0,Math.min(void 0!==e.r?e.r:0,1)),g:Math.max(0,Math.min(void 0!==e.g?e.g:0,1)),b:Math.max(0,Math.min(void 0!==e.b?e.b:0,1))};return void 0!==e.alpha&&(t.alpha=e.alpha),t},rG=e=>rY(rX(e)),rZ=e=>void 0!==e&&(void 0===e.r||e.r>=0&&e.r<=1)&&(void 0===e.g||e.g>=0&&e.g<=1)&&(void 0===e.b||e.b>=0&&e.b<=1);function rW(e){return rZ(rX(e))}function rJ(e="rgb"){let{gamut:t}=K(e);if(!t)return e=>!0;let a=k("string"==typeof t?t:e);return e=>rZ(a(e))}function rQ(e="rgb"){let{gamut:t}=K(e);if(!t)return e=>E(e);let a="string"==typeof t?t:e,r=k(a),n=rJ(a);return e=>{let t=E(e);if(!t)return;let a=r(t);if(n(a))return t;let l=rY(a);return t.mode===l.mode?l:k(t.mode)(l)}}e.s(["clampChroma",0,function(e,t="lch",a="rgb"){e=E(e);let r="rgb"===a?rW:rJ(a),n="rgb"===a?rG:rQ(a);if(void 0===e||r(e))return e;let l=k(e.mode),o={...e=k(t)(e),c:0};if(!r(o))return l(n(o));let d=0,i=void 0!==e.c?e.c:0,u=K(t).ranges.c,s=(u[1]-u[0])/8192,c=o.c;for(;i-d>s;)o.c=d+(i-d)*.5,r(o)?(c=o.c,d=o.c):i=o.c;return l(r(o)?o:{...o,c:c})},"toGamut",0,function(e="rgb",t="oklch",a=((e="rgb",t=[1,1,1,0])=>{let a=K(e),r=a.channels,n=a.difference,l=k(e);return(e,a)=>{let o=l(e),d=l(a);return Math.sqrt(r.reduce((e,a,r)=>{let l=n[a]?n[a](o,d):o[a]-d[a];return e+(t[r]||0)*Math.pow(isNaN(l)?0:l,2)},0))}})("oklch"),r=.02){let n=k(e),l=K(e);if(!l.gamut)return e=>n(e);let o=rJ(e),d=rQ(e),i=k(t),{ranges:u}=K(t);if(!u.l||!u.c)throw Error("LCH-like space expected");return t=>{if(void 0===(t=E(t)))return;let s={...i(t)};if(void 0===s.l&&(s.l=0),void 0===s.c&&(s.c=0),s.l>=u.l[1]){let a={...l.white,mode:e};return void 0!==t.alpha&&(a.alpha=t.alpha),a}if(s.l<=u.l[0]){let a={...l.black,mode:e};return void 0!==t.alpha&&(a.alpha=t.alpha),a}if(o(s))return n(s);let c=0,y=s.c,M=(u.c[1]-u.c[0])/4e3,w=d(s);for(;y-c>M;)s.c=(c+y)*.5,w=d(s),o(s)||a&&r>0&&a(s,w)<=r?c=s.c:y=s.c;return n(o(s)?s:w)}}],179141),e.s(["converter",0,k],905106);try{var r0="u">typeof window?window:e.g;r0._sentryModuleMetadata=r0._sentryModuleMetadata||{},r0._sentryModuleMetadata[(new r0.Error).stack]=Object.assign({},r0._sentryModuleMetadata[(new r0.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var r1="u">typeof window?window:e.g;r1._sentryModuleMetadata=r1._sentryModuleMetadata||{},r1._sentryModuleMetadata[(new r1.Error).stack]=Object.assign({},r1._sentryModuleMetadata[(new r1.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}((e=4)=>t=>{let a;return"number"==typeof t?Math.round(t*(a=Math.pow(10,a=e)))/a:t})(2);let r2=e=>Math.round(255*Math.max(0,Math.min(1,e||0))),r5=k("rgb");k("hsl"),e.s(["formatHex",0,e=>(e=>{if(void 0!==e)return"#"+(0x1000000|r2(e.r)<<16|r2(e.g)<<8|r2(e.b)).toString(16).slice(1)})(r5(e))],432771)},98223,e=>{"use strict";try{var t=window;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}e.s(["ACCENT_MAX_L",0,.64,"ACCENT_MIN_L",0,.45,"ACHROMATIC_CHROMA_EPSILON",0,1e-4,"BORDER_TINT_ROLE",0,{lightnessRemainder:.13,chromaScale:.2,hueRotationScale:.8,hueArcEase:2.1},"DEFAULT_EVENT_TINT",0,"#0084fd","GRADIENT_MAX_L",0,.4,"GRADIENT_VIVIDNESS",0,.8,"HUE_ROTATION",0,{mudCenter:110,maxRotationDeg:34,minRotationDeg:26,ease:2,holdL:.529,minL:.145},"MAX_TINT_CHROMA",0,.37,"SURFACE_LAYERS",0,{bg:{neutralStep:950,l:.145,chromaFraction:.3,chromaFloor:.003,neutralHue:286.3},card:{neutralStep:900,l:.174,chromaFraction:.35,chromaFloor:.004,neutralHue:283.3},"surface-850":{neutralStep:850,l:.204,chromaFraction:.4,chromaFloor:.004,neutralHue:278.3},muted:{neutralStep:800,l:.24,chromaFraction:.45,chromaFloor:.006,neutralHue:272.3},accent:{neutralStep:750,l:.287,chromaFraction:.5,chromaFloor:.0075,neutralHue:269.3},"fg-subtle":{neutralStep:50,l:.93,chromaFraction:.5,chromaFloor:.003,neutralHue:258.3},"fg-body":{neutralStep:100,l:.848,chromaFraction:.42,chromaFloor:.004,neutralHue:258.3},"fg-soft":{neutralStep:200,l:.774,chromaFraction:.35,chromaFloor:.006,neutralHue:258.3},"fg-quiet":{neutralStep:300,l:.701,chromaFraction:.22,chromaFloor:.009,neutralHue:258.3},"muted-fg":{neutralStep:400,l:.626,chromaFraction:.1,chromaFloor:.01,neutralHue:258.3},"fg-faint":{neutralStep:500,l:.529,chromaFraction:.1,chromaFloor:.011,neutralHue:258.3},"fg-dim":{neutralStep:600,l:.432,chromaFraction:.1,chromaFloor:.01,neutralHue:262.3}},"SURFACE_VIVIDNESS",0,.15])},164954,844948,159037,e=>{"use strict";var t=e.i(843476),a=e.i(271645);e.i(699208);var r=e.i(179141),n=e.i(905106),l=e.i(432771),o=e.i(98223);try{var d=window;d._sentryModuleMetadata=d._sentryModuleMetadata||{},d._sentryModuleMetadata[(new d.Error).stack]=Object.assign({},d._sentryModuleMetadata[(new d.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let i=(0,n.converter)("oklch"),u=(0,n.converter)("rgb"),s=(0,r.toGamut)("rgb","oklch"),c=Object.freeze(Object.keys(o.SURFACE_LAYERS));function y(e){return{chroma:`--tint-c-${e}`,hue:`--tint-h-${e}`}}let M=["--primary","--primary-fg","--prose-link-color","--tint-h","--tint-c","--tint-l","--tint-border",...c.flatMap(e=>{let{chroma:t,hue:a}=y(e);return[t,a]})];function w(e,t,a){return Math.min(a,Math.max(t,e))}function h(e,t){let a=10**t;return Math.round(e*a)/a}function p(e){return(e%360+360)%360}function v(e){let t,a,r=-180==(t=((e-o.HUE_ROTATION.mudCenter+180)%360+360)%360-180)?180:t,n=Math.abs(r)/180;return Math.sign(r||-1)*(a=o.HUE_ROTATION.maxRotationDeg,a+(o.HUE_ROTATION.minRotationDeg-a)*n)}function f(e){return[w(e.r,0,1),w(e.g,0,1),w(e.b,0,1)]}function g(e,t){return(0,r.clampChroma)({mode:"oklch",l:e,c:o.MAX_TINT_CHROMA,h:t},"oklch").c??0}function b(e){let t=i(e);if(!t)return null;let a=(0,r.clampChroma)({mode:"oklch",l:t.l??0,c:t.c??0,h:t.h??0},"oklch");return{l:w(a.l??0,0,1),c:w(a.c??0,0,o.MAX_TINT_CHROMA),h:a.h??0}}function _(e){let t=g(e.l,e.h);return t>0?w(e.c/t,0,1):0}function m(e,t,a,r){var n,l;let d;return{chroma:Math.max(t.chromaFloor,a*t.chromaFraction*g(t.l,e.h)),hue:e.c<=o.A
2CHROMATIC_CHROMA_EPSILON?t.neutralHue:r?(n=e.h,0===(d=(l=t.l)>=o.HUE_ROTATION.holdL?0:w((o.HUE_ROTATION.holdL-l)/(o.HUE_ROTATION.holdL-o.HUE_ROTATION.minL),0,1))?n:p(n+v(n)*Math.pow(d,o.HUE_ROTATION.ease))):e.h}}function E(e,t=o.SURFACE_VIVIDNESS,a=!0){let r=b(e);if(!r)return null;let n={...r,l:w(r.l,o.ACCENT_MIN_L,o.ACCENT_MAX_L)},d=h(n.l,4),i=h(n.c,4),u=h(n.h,2),M=1-(1-n.l)*o.BORDER_TINT_ROLE.lightnessRemainder,f=Math.pow(1-M,o.BORDER_TINT_ROLE.hueArcEase)-Math.pow(1-n.l,o.BORDER_TINT_ROLE.hueArcEase),g=a?p(n.h+o.BORDER_TINT_ROLE.hueRotationScale*v(n.h)*f):n.h,x=(0,l.formatHex)(s({mode:"oklch",l:M,c:n.c*o.BORDER_TINT_ROLE.chromaScale,h:g})),k=t*_(r),A=Object.fromEntries(c.flatMap(e=>{let{chroma:t,hue:n}=y(e),{chroma:l,hue:d}=m(r,o.SURFACE_LAYERS[e],k,a);return[[t,String(h(l,4))],[n,String(h(d,2))]]}));return{"--tint-h":String(u),"--tint-c":String(i),"--tint-l":String(d),"--primary":`oklch(${d} ${i} ${u})`,"--primary-fg":"#fff","--prose-link-color":"var(--primary)","--tint-border":x,...A}}function x(e,t=o.GRADIENT_MAX_L){let a=b(e);if(!a)return[0,.52,.99];let n=Math.min(w(a.l,o.ACCENT_MIN_L,o.ACCENT_MAX_L),t);return f(u((0,r.clampChroma)({mode:"oklch",l:n,c:a.c,h:a.h},"oklch")))}function k(e,t=o.SURFACE_VIVIDNESS,a=!0){let n=b(e),l=o.SURFACE_LAYERS.bg;if(!n)return f(u((0,r.clampChroma)({mode:"oklch",l:l.l,c:0,h:0},"oklch")));let{chroma:d,hue:i}=m(n,l,t*_(n),a);return f(u((0,r.clampChroma)({mode:"oklch",l:l.l,c:d,h:i},"oklch")))}function A(e,t=o.GRADIENT_VIVIDNESS,a=o.GRADIENT_MAX_L){let n=b(e);if(!n)return[0,.52,.99];let l=t*_(n)*g(a,n.h);return f(u((0,r.clampChroma)({mode:"oklch",l:a,c:l,h:n.h},"oklch")))}function P(e,t=o.GRADIENT_VIVIDNESS){let a=b(e),n=a?.h??255,l=a?_(a):1,d=(e,a,o)=>{let d=p(n+o),i=t*l*a*g(e,d);return f(u((0,r.clampChroma)({mode:"oklch",l:e,c:i,h:d},"oklch")))};return{deep:d(.3,.6,18),mid:d(.52,.95,0),peak:d(.72,1,-18)}}e.s(["TINT_VAR_NAMES",0,M,"tintBackgroundRgb",0,k,"tintGradientRgb",0,A,"tintRamp",0,P,"tintToRgb",0,x,"tintVars",0,E],844948);try{var B=window;B._sentryModuleMetadata=B._sentryModuleMetadata||{},B._sentryModuleMetadata[(new B.Error).stack]=Object.assign({},B._sentryModuleMetadata[(new B.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let O=`
3attribute vec2 a_pos;
4void main() {
5  gl_Position = vec4(a_pos, 0.0, 1.0);
6}
7`;function T(e,t,a){let r=e.createShader(t);return r?(e.shaderSource(r,a),e.compileShader(r),e.getShaderParameter(r,e.COMPILE_STATUS))?r:(console.error("Shader compile error:",e.getShaderInfoLog(r)),e.deleteShader(r),null):null}function j(e,t){let r=(0,a.useRef)(null),n=(0,a.useCallback)(a=>{if(r.current?.(),r.current=null,!a)return;let n=a.getContext("webgl",{antialias:!1,premultipliedAlpha:!1});if(!n)return;let l=T(n,n.VERTEX_SHADER,O),o=T(n,n.FRAGMENT_SHADER,e),d=n.createProgram();if(!l||!o||!d)return;if(n.attachShader(d,l),n.attachShader(d,o),n.linkProgram(d),!n.getProgramParameter(d,n.LINK_STATUS))return void console.error("Program link error:",n.getProgramInfoLog(d));n.useProgram(d);let i=n.createBuffer();n.bindBuffer(n.ARRAY_BUFFER,i),n.bufferData(n.ARRAY_BUFFER,new Float32Array([-1,-1,3,-1,-1,3]),n.STATIC_DRAW);let u=n.getAttribLocation(d,"a_pos");n.enableVertexAttribArray(u),n.vertexAttribPointer(u,2,n.FLOAT,!1,0,0);let s=n.getUniformLocation(d,"u_resolution"),c=n.getUniformLocation(d,"u_time"),y=n.getUniformLocation(d,"u_color"),M=n.getUniformLocation(d,"u_bg"),w=()=>{let e=Math.min(window.devicePixelRatio||1,2),t=Math.max(1,Math.floor(a.clientWidth*e)),r=Math.max(1,Math.floor(a.clientHeight*e));(a.width!==t||a.height!==r)&&(a.width=t,a.height=r),n.viewport(0,0,a.width,a.height)},h=new ResizeObserver(w);h.observe(a),w();let p=window.matchMedia?.("(prefers-reduced-motion: reduce)").matches,v=0,f=performance.now(),g=e=>{let r,l;n.uniform2f(s,a.width,a.height),n.uniform1f(c,p?0:(e-f)/1e3),r=t.current?.u_color??[0,0,0],n.uniform3f(y,r[0],r[1],r[2]),l=t.current?.u_bg??[0,0,0],n.uniform3f(M,l[0],l[1],l[2]),n.drawArrays(n.TRIANGLES,0,3),v=requestAnimationFrame(g)};v=requestAnimationFrame(g),r.current=()=>{v&&cancelAnimationFrame(v),h.disconnect(),n.deleteProgram(d),n.deleteShader(l),n.deleteShader(o),n.deleteBuffer(i)}},[e,t]);return(0,a.useEffect)(()=>()=>r.current?.(),[]),n}try{var R=window;R._sentryModuleMetadata=R._sentryModuleMetadata||{},R._sentryModuleMetadata[(new R.Error).stack]=Object.assign({},R._sentryModuleMetadata[(new R.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let K=`
8precision highp float;
9
10uniform vec2 u_resolution;
11uniform float u_time;
12uniform vec3 u_color;
13uniform vec3 u_bg;
14
15#define PIXEL_SIZE 6.0
16
17float Bayer2(vec2 a) {
18  a = floor(a);
19  return fract(a.x / 2.0 + a.y * a.y * 0.75);
20}
21#define Bayer4(a) (Bayer2(0.5 * (a)) * 0.25 + Bayer2(a))
22#define Bayer8(a) (Bayer4(0.5 * (a)) * 0.25 + Bayer2(a))
23
24#define FBM_OCTAVES 5
25#define FBM_LACUNARITY 1.25
26#define FBM_GAIN 1.0
27#define FBM_SCALE 4.0
28
29float hash11(float n) { return fract(sin(n) * 43758.5453); }
30
31float vnoise(vec3 p) {
32  vec3 ip = floor(p);
33  vec3 fp = fract(p);
34  float n000 = hash11(dot(ip + vec3(0.0, 0.0, 0.0), vec3(1.0, 57.0, 113.0)));
35  float n100 = hash11(dot(ip + vec3(1.0, 0.0, 0.0), vec3(1.0, 57.0, 113.0)));
36  float n010 = hash11(dot(ip + vec3(0.0, 1.0, 0.0), vec3(1.0, 57.0, 113.0)));
37  float n110 = hash11(dot(ip + vec3(1.0, 1.0, 0.0), vec3(1.0, 57.0, 113.0)));
38  float n001 = hash11(dot(ip + vec3(0.0, 0.0, 1.0), vec3(1.0, 57.0, 113.0)));
39  float n101 = hash11(dot(ip + vec3(1.0, 0.0, 1.0), vec3(1.0, 57.0, 113.0)));
40  float n011 = hash11(dot(ip + vec3(0.0, 1.0, 1.0), vec3(1.0, 57.0, 113.0)));
41  float n111 = hash11(dot(ip + vec3(1.0, 1.0, 1.0), vec3(1.0, 57.0, 113.0)));
42  vec3 w = fp * fp * fp * (fp * (fp * 6.0 - 15.0) + 10.0);
43  float x00 = mix(n000, n100, w.x);
44  float x10 = mix(n010, n110, w.x);
45  float x01 = mix(n001, n101, w.x);
46  float x11 = mix(n011, n111, w.x);
47  float y0 = mix(x00, x10, w.y);
48  float y1 = mix(x01, x11, w.y);
49  return mix(y0, y1, w.z) * 2.0 - 1.0;
50}
51
52float fbm2(vec2 uv, float t) {
53  vec3 p = vec3(uv * FBM_SCALE, t);
54  float amp = 1.0;
55  float freq = 1.0;
56  float sum = 1.0;
57  for (int i = 0; i < FBM_OCTAVES; i++) {
58    sum += amp * vnoise(p * freq);
59    freq *= FBM_LACUNARITY;
60    amp *= FBM_GAIN;
61  }
62  return sum * 0.5 + 0.5;
63}
64
65float maskCircle(vec2 p, float cov) {
66  float r = sqrt(cov) * 0.25;
67  float d = length(p - 0.5) - r;
68  float aa = 0.03;
69  return cov * (1.0 - smoothstep(-aa, aa, d * 2.0));
70}
71
72void main() {
73  float pixelSize = max(PIXEL_SIZE, 2.0);
74  vec2 fragCoord = gl_FragCoord.xy - u_resolution * 0.5;
75  float aspect = u_resolution.x / u_resolution.y;
76
77  vec2 pixelUV = fract(fragCoord / pixelSize);
78
79  float cellPixelSize = 8.0 * pixelSize; // 8x8 Bayer matrix
80  vec2 cellId = floor(fragCoord / cellPixelSize);
81  vec2 cellCoord = cellId * cellPixelSize;
82  vec2 uv = cellCoord / u_resolution * vec2(aspect, 1.0);
83
84  float feed = fbm2(uv, u_time * 0.05);
85  feed = feed * 0.5 - 0.58; // contrast / brightness (higher = more dots)
86
87  float bayer = Bayer8(fragCoord / pixelSize) - 0.5;
88  float bw = step(0.5, feed + bayer); // ordered-dither output
89
90  float m = maskCircle(pixelUV, bw);
91  gl_FragColor = vec4(mix(u_bg, u_color, m), 1.0);
92}
93`;function F(e){return e||("u"<typeof document?"":getComputedStyle(document.documentElement).getPropertyValue("--color-cv-blue-500").trim())||"#0084fd"}function S({tint:e}){let r=(0,a.useRef)(null);if(null===r.current){let t=F(e);r.current={u_color:x(t,o.GRADIENT_MAX_L),u_bg:k(t)}}(0,a.useEffect)(()=>{let t=F(e);r.current={u_color:x(t,o.GRADIENT_MAX_L),u_bg:k(t)}},[e]);let n=j(K,r);return(0,t.jsx)("canvas",{ref:n,className:"absolute inset-0 block h-full w-full"})}try{var z=window;z._sentryModuleMetadata=z._sentryModuleMetadata||{},z._sentryModuleMetadata[(new z.Error).stack]=Object.assign({},z._sentryModuleMetadata[(new z.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var D=window;D._sentryModuleMetadata=D._sentryModuleMetadata||{},D._sentryModuleMetadata[(new D.Error).stack]=Object.assign({},D._sentryModuleMetadata[(new D.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let C=`
94attribute vec2 a_pos;
95varying vec2 vUv;
96varying vec2 vL;
97varying vec2 vR;
98varying vec2 vT;
99varying vec2 vB;
100uniform vec2 texelSize;
101void main() {
102  vUv = a_pos * 0.5 + 0.5;
103  vL = vUv - vec2(texelSize.x, 0.0);
104  vR = vUv + vec2(texelSize.x, 0.0);
105  vT = vUv + vec2(0.0, texelSize.y);
106  vB = vUv - vec2(0.0, texelSize.y);
107  gl_Position = vec4(a_pos, 0.0, 1.0);
108}
109`,I=`
110precision highp float;
111varying vec2 vUv;
112varying vec2 vL;
113varying vec2 vR;
114varying vec2 vT;
115varying vec2 vB;
116uniform sampler2D uVelocity;
117void main() {
118  float L = texture2D(uVelocity, vL).y;
119  float R = texture2D(uVelocity, vR).y;
120  float T = texture2D(uVelocity, vT).x;
121  float B = texture2D(uVelocity, vB).x;
122  float vorticity = R - L - T + B;
123  gl_FragColor = vec4(vorticity, 0.0, 0.0, 1.0);
124}
125`,L=`
126precision highp float;
127varying vec2 vUv;
128varying vec2 vL;
129varying vec2 vR;
130varying vec2 vT;
131varying vec2 vB;
132uniform sampler2D uVelocity;
133uniform sampler2D uCurl;
134uniform float uCurlValue;
135uniform float dt;
136void main() {
137  float L = texture2D(uCurl, vL).x;
138  float R = texture2D(uCurl, vR).x;
139  float T = texture2D(uCurl, vT).x;
140  float B = texture2D(uCurl, vB).x;
141  float C = texture2D(uCurl, vUv).x;
142  vec2 force = vec2(abs(T) - abs(B), abs(R) - abs(L)) * 0.5;
143  force /= length(force) + 1.0;
144  force *= uCurlValue * C;
145  force.y *= -1.0;
146  vec2 vel = texture2D(uVelocity, vUv).xy;
147  gl_FragColor = vec4(vel + force * dt, 0.0, 1.0);
148}
149`,U=`
150precision highp float;
151varying vec2 vUv;
152varying vec2 vL;
153varying vec2 vR;
154varying vec2 vT;
155varying vec2 vB;
156uniform sampler2D uVelocity;
157void main() {
158  float L = texture2D(uVelocity, vL).x;
159  float R = texture2D(uVelocity, vR).x;
160  float T = texture2D(uVelocity, vT).y;
161  float B = texture2D(uVelocity, vB).y;
162  vec2 C = texture2D(uVelocity, vUv).xy;
163  // No-flow-through walls, or the fluid drifts off in one direction.
164  if (vL.x < 0.0) { L = -C.x; }
165  if (vR.x > 1.0) { R = -C.x; }
166  if (vT.y > 1.0) { T = -C.y; }
167  if (vB.y < 0.0) { B = -C.y; }
168  float div = 0.5 * (R - L + T - B);
169  gl_FragColor = vec4(div, 0.0, 0.0, 1.0);
170}
171`,N=`
172precision highp float;
173varying vec2 vUv;
174varying vec2 vL;
175varying vec2 vR;
176varying vec2 vT;
177varying vec2 vB;
178uniform sampler2D uPressure;
179uniform sampler2D uDivergence;
180void main() {
181  float L = texture2D(uPressure, vL).x;
182  float R = texture2D(uPressure, vR).x;
183  float T = texture2D(uPressure, vT).x;
184  float B = texture2D(uPressure, vB).x;
185  float divergence = texture2D(uDivergence, vUv).x;
186  float pressure = (L + R + B + T - divergence) * 0.25;
187  gl_FragColor = vec4(pressure, 0.0, 0.0, 1.0);
188}
189`,$=`
190precision highp float;
191varying vec2 vUv;
192varying vec2 vL;
193varying vec2 vR;
194varying vec2 vT;
195varying vec2 vB;
196uniform sampler2D uPressure;
197uniform sampler2D uVelocity;
198void main() {
199  float L = texture2D(uPressure, vL).x;
200  float R = texture2D(uPressure, vR).x;
201  float T = texture2D(uPressure, vT).x;
202  float B = texture2D(uPressure, vB).x;
203  vec2 velocity = texture2D(uVelocity, vUv).xy;
204  velocity.xy -= vec2(R - L, T - B);
205  gl_FragColor = vec4(velocity, 0.0, 1.0);
206}
207`,V=`
208precision highp float;
209varying vec2 vUv;
210uniform sampler2D uVelocity;
211uniform sampler2D uSource;
212uniform vec2 texelSize;
213uniform float dt;
214uniform float uDissipation;
215void main() {
216  vec2 coord = vUv - dt * texture2D(uVelocity, vUv).xy * texelSize;
217  gl_FragColor = uDissipation * texture2D(uSource, coord);
218  gl_FragColor.a = 1.0;
219}
220`,q=`
221precision highp float;
222varying vec2 vUv;
223uniform sampler2D uTarget;
224uniform float aspectRatio;
225uniform vec3 uColor;
226uniform vec2 uPointer;
227uniform float uRadius;
228void main() {
229  vec2 p = vUv - uPointer.xy;
230  p.x *= aspectRatio;
231  vec3 splat = exp(-dot(p, p) / uRadius) * uColor;
232  vec3 base = texture2D(uTarget, vUv).xyz;
233  gl_FragColor = vec4(base + splat, 1.0);
234}
235`,H=`
236precision highp float;
237varying vec2 vUv;
238uniform sampler2D uTexture;
239uniform float value;
240void main() { gl_FragColor = value * texture2D(uTexture, vUv); }
241`,X=`
242precision highp float;
243varying vec2 vUv;
244uniform sampler2D uDye;
245uniform vec2 u_texel;
246uniform vec3 u_bg;
247uniform vec3 u_deep;
248uniform vec3 u_mid;
249uniform vec3 u_peak;
250
251vec3 ramp(float d) {
252  float t = smoothstep(0.05, 0.95, d);
253  vec3 col = mix(u_bg, u_deep, smoothstep(0.0, 0.45, t));
254  col = mix(col, u_mid, smoothstep(0.45, 0.8, t));
255  return mix(col, u_peak, smoothstep(0.85, 1.0, t));
256}
257
258void main() {
259  float dl = texture2D(uDye, vUv - vec2(u_texel.x, 0.0)).r;
260  float dr = texture2D(uDye, vUv + vec2(u_texel.x, 0.0)).r;
261  float db = texture2D(uDye, vUv - vec2(0.0, u_texel.y)).r;
262  float du = texture2D(uDye, vUv + vec2(0.0, u_texel.y)).r;
263  vec2 dir = vec2(dr - dl, du - db);
264  dir /= length(dir) + 1e-4;
265  float disp = 0.002;
266  float cr = texture2D(uDye, vUv + dir * disp).r;
267  float cg = texture2D(uDye, vUv).r;
268  float cb = texture2D(uDye, vUv - dir * disp).r;
269  gl_FragColor = vec4(ramp(cr).r, ramp(cg).g, ramp(cb).b, 1.0);
270}
271`;function Y(e,t,a){let r=e.createShader(t);return r?(e.shaderSource(r,a),e.compileShader(r),e.getShaderParameter(r,e.COMPILE_STATUS))?r:(console.error("Fluid shader compile error:",e.getShaderInfoLog(r)),e.deleteShader(r),null):null}function G(e,t,a){let r=Y(e,e.FRAGMENT_SHADER,a),n=e.createProgram();return r&&n?(e.attachShader(n,t),e.attachShader(n,r),e.bindAttribLocation(n,0,"a_pos"),e.linkProgram(n),e.getProgramParameter(n,e.LINK_STATUS))?n:(console.error("Fluid program link error:",e.getProgramInfoLog(n)),null):null}function Z(e){return e||("u"<typeof document?"":getComputedStyle(document.documentElement).getPropertyValue("--color-cv-blue-500").trim())||o.DEFAULT_EVENT_TINT}function W({tint:e}){let r=(0,a.useRef)({bg:k(Z(e)),...P(Z(e))});(0,a.useEffect)(()=>{let t=Z(e);r.current={bg:k(t),...P(t)}},[e]);let n=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=n.current;if(!e)return;let t=e.getContext("webgl",{antialias:!1,premultipliedAlpha:!1,depth:!1}
271);if(!t)return;let a=t.getExtension("OES_texture_half_float"),l=t.getExtension("OES_texture_half_float_linear"),o=!!(a&&l),d=a?a.HALF_FLOAT_OES:t.UNSIGNED_BYTE,i=Y(t,t.VERTEX_SHADER,C);if(!i)return;let u={curl:G(t,i,I),vorticity:G(t,i,L),divergence:G(t,i,U),pressure:G(t,i,N),gradient:G(t,i,$),advection:G(t,i,V),splat:G(t,i,q),clear:G(t,i,H),display:G(t,i,X)};for(let e of Object.values(u))if(!e)return;let s=t.createBuffer();t.bindBuffer(t.ARRAY_BUFFER,s),t.bufferData(t.ARRAY_BUFFER,new Float32Array([-1,-1,3,-1,-1,3]),t.STATIC_DRAW),t.enableVertexAttribArray(0),t.vertexAttribPointer(0,2,t.FLOAT,!1,0,0);let c=(e,a)=>t.getUniformLocation(e,a),y=(e,a)=>{let r=t.createTexture(),n=t.createFramebuffer();return r&&n?(t.bindTexture(t.TEXTURE_2D,r),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,e,a,0,t.RGBA,d,null),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),t.bindFramebuffer(t.FRAMEBUFFER,n),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,r,0),t.clear(t.COLOR_BUFFER_BIT),{tex:r,fbo:n,texelX:1/e,texelY:1/a}):null},M=(e,t)=>{let a=y(e,t),r=y(e,t);if(!a||!r)return null;let n={read:a,write:r,swap:()=>{}};return n.swap=()=>{let e=n.read;n.read=n.write,n.write=e},n},w=o?y(4,4):null,h=!!w&&t.checkFramebufferStatus(t.FRAMEBUFFER)===t.FRAMEBUFFER_COMPLETE;w&&(t.deleteTexture(w.tex),t.deleteFramebuffer(w.fbo));let p=o&&h,v=p?M(128,128):null,f=p?M(512,512):null,g=p?y(128,128):null,b=p?y(128,128):null,_=p?M(128,128):null,m=a=>{a?(t.viewport(0,0,1/a.texelX,1/a.texelY),t.bindFramebuffer(t.FRAMEBUFFER,a.fbo)):(t.viewport(0,0,e.width,e.height),t.bindFramebuffer(t.FRAMEBUFFER,null)),t.drawArrays(t.TRIANGLES,0,3)},E=(e,a,r)=>t.uniform2f(c(e,"texelSize"),a,r),x=(e,a,r)=>{t.activeTexture(t.TEXTURE0+r),t.bindTexture(t.TEXTURE_2D,a),t.uniform1i(e,r)},k=()=>{let t=Math.min(window.devicePixelRatio||1,2),a=Math.max(1,Math.floor(e.clientWidth*t)),r=Math.max(1,Math.floor(e.clientHeight*t));(e.width!==a||e.height!==r)&&(e.width=a,e.height=r)},A=new ResizeObserver(k);A.observe(e),k();let P={x:.5,y:.5},B={x:.5,y:.5},O=!1,T=e=>{B.x=P.x,B.y=P.y,P.x=e.clientX/window.innerWidth,P.y=1-e.clientY/window.innerHeight,O=!0};window.addEventListener("pointermove",T,{passive:!0});let j=window.matchMedia?.("(prefers-reduced-motion: reduce)").matches??!1,R=0,K=performance.now(),F=a=>{let n=Math.min((a-K)/1e3,.02);if(K=a,p&&!j&&(O&&((()=>{if(!v||!f)return;let a=e.width/e.height,r=(P.x-B.x)*3800,n=(P.y-B.y)*3800,l=u.splat;t.useProgram(l),t.uniform1f(c(l,"aspectRatio"),a),t.uniform2f(c(l,"uPointer"),P.x,P.y),t.uniform1f(c(l,"uRadius"),.0027),x(c(l,"uTarget"),v.read.tex,0),t.uniform3f(c(l,"uColor"),r,n,0),m(v.write),v.swap(),x(c(l,"uTarget"),f.read.tex,0),t.uniform3f(c(l,"uColor"),.2,.2,.2),m(f.write),f.swap()})(),O=!1),(e=>{if(v&&f&&g&&b&&_){t.useProgram(u.curl),E(u.curl,.0078125,.0078125),x(c(u.curl,"uVelocity"),v.read.tex,0),m(b),t.useProgram(u.vorticity),E(u.vorticity,.0078125,.0078125),x(c(u.vorticity,"uVelocity"),v.read.tex,0),x(c(u.vorticity,"uCurl"),b.tex,1),t.uniform1f(c(u.vorticity,"uCurlValue"),15),t.uniform1f(c(u.vorticity,"dt"),e),m(v.write),v.swap(),t.useProgram(u.divergence),E(u.divergence,.0078125,.0078125),x(c(u.divergence,"uVelocity"),v.read.tex,0),m(g),t.useProgram(u.clear),x(c(u.clear,"uTexture"),_.read.tex,0),t.uniform1f(c(u.clear,"value"),.8),m(_.write),_.swap(),t.useProgram(u.pressure),E(u.pressure,.0078125,.0078125),x(c(u.pressure,"uDivergence"),g.tex,0);for(let e=0;e<20;e++)x(c(u.pressure,"uPressure"),_.read.tex,1),m(_.write),_.swap();t.useProgram(u.gradient),E(u.gradient,.0078125,.0078125),x(c(u.gradient,"uPressure"),_.read.tex,0),x(c(u.gradient,"uVelocity"),v.read.tex,1),m(v.write),v.swap(),t.useProgram(u.advection),E(u.advection,.0078125,.0078125),x(c(u.advection,"uVelocity"),v.read.tex,0),x(c(u.advection,"uSource"),v.read.tex,0),t.uniform1f(c(u.advection,"dt"),e),t.uniform1f(c(u.advection,"uDissipation"),.988),m(v.write),v.swap();E(u.advection,.001953125,.001953125),x(c(u.advection,"uVelocity"),v.read.tex,0),x(c(u.advection,"uSource"),f.read.tex,1),t.uniform1f(c(u.advection,"uDissipation"),.986),m(f.write),f.swap()}})(n)),!f){let{bg:a}=r.current;t.bindFramebuffer(t.FRAMEBUFFER,null),t.viewport(0,0,e.width,e.height),t.clearColor(a[0],a[1],a[2],1),t.clear(t.COLOR_BUFFER_BIT),R=requestAnimationFrame(F);return}let l=u.display;t.useProgram(l),x(c(l,"uDye"),f.read.tex,0),t.uniform2f(c(l,"u_texel"),.001953125,.001953125);let{bg:o,deep:d,mid:i,peak:s}=r.current;t.uniform3f(c(l,"u_bg"),o[0],o[1],o[2]),t.uniform3f(c(l,"u_deep"),d[0],d[1],d[2]),t.uniform3f(c(l,"u_mid"),i[0],i[1],i[2]),t.uniform3f(c(l,"u_peak"),s[0],s[1],s[2]),m(null),R=requestAnimationFrame(F)};return R=requestAnimationFrame(F),()=>{for(let e of(cancelAnimationFrame(R),A.disconnect(),window.removeEventListener("pointermove",T),[v,f,_]))if(e)for(let a of[e.read,e.write])t.deleteTexture(a.tex),t.deleteFramebuffer(a.fbo);for(let e of[g,b])e&&(t.deleteTexture(e.tex),t.deleteFramebuffer(e.fbo));for(let e of(t.deleteBuffer(s),Object.values(u)))e&&t.deleteProgram(e);t.deleteShader(i)}},[]),(0,t.jsx)("canvas",{ref:n,className:"absolute inset-0 block h-full w-full"})}try{var J=window;J._sentryModuleMetadata=J._sentryModuleMetadata||{},J._sentryModuleMetadata[(new J.Error).stack]=Object.assign({},J._sentryModuleMetadata[(new J.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let Q=`
272precision highp float;
273
274uniform vec2 u_resolution;
275uniform float u_time;
276uniform vec3 u_color;
277uniform vec3 u_bg;
278
279float hash(vec2 p) {
280  p = fract(p * vec2(123.34, 345.45));
281  p += dot(p, p + 34.345);
282  return fract(p.x * p.y);
283}
284
285float noise(vec2 p) {
286  vec2 i = floor(p);
287  vec2 f = fract(p);
288  float a = hash(i);
289  float b = hash(i + vec2(1.0, 0.0));
290  float c = hash(i + vec2(0.0, 1.0));
291  float d = hash(i + vec2(1.0, 1.0));
292  vec2 u = f * f * (3.0 - 2.0 * f);
293  return mix(a, b, u.x) + (c - a) * u.y * (1.0 - u.x) + (d - b) * u.x * u.y;
294}
295
296float smoothField(vec2 p) {
297  return 0.65 * noise(p) + 0.35 * noise(p * 2.0 + 7.0);
298}
299
300void main() {
301  vec2 uv = gl_FragCoord.xy / u_resolution.xy;
302  float aspect = u_resolution.x / u_resolution.y;
303  vec2 p = vec2(uv.x * aspect, uv.y);
304  float t = u_time * 0.10;
305
306  vec2 warp = vec2(
307    smoothField(p * 1.1 + vec2(t, -t * 0.6)),
308    smoothField(p * 1.1 + vec2(-t * 0.8, t * 0.4) + 5.0)
309  );
310
311  vec2 wp = p + (warp - 0.5) * 0.4;
312  float aw = aspect;
313
314  vec2 c1 = vec2(0.24 * aw + 0.30 * aw * sin(t * 0.50), 0.74 + 0.28 * cos(t * 0.45));
315  vec2 c2 = vec2(0.80 * aw + 0.28 * aw * sin(t * 0.40 + 2.0), 0.30 + 0.30 * cos(t * 0.60 + 1.0));
316  vec2 c3 = vec2(0.55 * aw + 0.34 * aw * cos(t * 0.33 + 4.0), 0.58 + 0.32 * sin(t * 0.50 + 3.0));
317
318  float m = 0.0;
319  m += smoothstep(0.66, 0.0, length(wp - c1));
320  m += smoothstep(0.70, 0.0, length(wp - c2));
321  m += smoothstep(0.60, 0.0, length(wp - c3));
322
323  float f = smoothstep(0.20, 1.10, m);
324  f = pow(f, 1.1);
325
326  // Edge mask: dark center for the text, tint pooling toward the borders/corners.
327  // First arg = radius of the dark safe-zone, second = where it reaches full color.
328  float edge = smoothstep(0.28, 0.68, length(uv - 0.5));
329
330  // Borders keep a small base glow; most of the intensity swings with the drifting blobs, so the
331  // edge visibly breathes as they pass. Bigger f-weight = more visible motion.
332  float intensity = edge * (0.28 + 0.72 * f);
333
334  vec3 col = mix(u_bg, u_color, intensity * 0.85);
335
336  gl_FragColor = vec4(col, 1.0);
337}
338`;function ee(e){return e||("u"<typeof document?"":getComputedStyle(document.documentElement).getPropertyValue("--color-cv-blue-500").trim())||o.DEFAULT_EVENT_TINT}function et({tint:e}){let r=(0,a.useRef)(null);if(null===r.current){let t=ee(e);r.current={u_color:A(t),u_bg:k(t)}}(0,a.useEffect)(()=>{let t=ee(e);r.current={u_color:A(t),u_bg:k(t)}},[e]);let n=j(Q,r);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"absolute inset-0",style:{background:`radial-gradient(120% 120% at 50% 50%, var(--bg) 45%, ${e??"var(--primary)"} 115%)`}}),(0,t.jsx)("canvas",{ref:n,className:"absolute inset-0 block h-full w-full"})]})}var ea=e.i(509866);try{var er=window;er._sentryModuleMetadata=er._sentryModuleMetadata||{},er._sentryModuleMetadata[(new er.Error).stack]=Object.assign({},er._sentryModuleMetadata[(new er.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let en={minimal:{background:()=>(0,t.jsx)("div",{className:"absolute inset-0 bg-bg"})},gradient:{background:({tint:e})=>(0,t.jsx)(et,{tint:e})},dither:{background:({tint:e})=>(0,t.jsx)(S,{tint:e})},fluid:{background:({tint:e})=>(0,t.jsx)(W,{tint:e})}},el="minimal";function eo(e){let t=ea.eventStyleNameSchema.safeParse(e);return t.success?t.data:null}e.s(["DEFAULT_EVENT_STYLE",0,el,"EVENT_STYLES",0,en,"parseEventStyleName",0,eo],159037);try{var ed=window;ed._sentryModuleMetadata=ed._sentryModuleMetadata||{},ed._sentryModuleMetadata[(new ed.Error).stack]=Object.assign({},ed._sentryModuleMetadata[(new ed.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}let ei=(0,a.createContext)(null),eu=(0,a.createContext)(null);function es(){let e=(0,a.useContext)(ei);if(!e)throw Error("useViewTheme / useEditTheme must be used within a ThemeProvider");return e}e.s(["EVENT_THEME_OFF_ATTR",0,"data-event-theme-off","ThemeProvider",0,function({children:e}){let[r,n]=(0,a.useState)({tint:null,style:null}),[l,d]=(0,a.useState)({tint:null,style:null}),[i,u]=(0,a.useState)(!1),[s,c]=(0,a.useState)(!1),y=l.tint??r.tint,w=l.style??r.style??el,h=i&&s?w:el,p=i?y??(h===el?null:o.DEFAULT_EVENT_TINT):null;(0,a.useLayoutEffect)(()=>{let e=document.documentElement,t=()=>
338M.forEach(t=>e.style.removeProperty(t)),a=p?E(p):null;if(!a)return void t();for(let[t,r]of Object.entries(a))e.style.setProperty(t,r);return t},[p]);let v=(0,a.useMemo)(()=>({setViewTheme:n,setEditTheme:d,setThemeEnabled:u,setStyleEnabled:c}),[]),f=(0,a.useMemo)(()=>({tint:p,style:en[h]}),[p,h]);return(0,t.jsx)(ei.Provider,{value:v,children:(0,t.jsx)(eu.Provider,{value:f,children:e})})},"useEditTheme",0,function({tint:e,style:t}){let{setEditTheme:r}=es(),n=e??null,l=t??null;(0,a.useLayoutEffect)(()=>(r({tint:n,style:l}),()=>r({tint:null,style:null})),[n,l,r])},"useEventTheme",0,function(){let e=(0,a.useContext)(eu);if(!e)throw Error("useEventTheme must be used within a ThemeProvider");return e},"useSyncStyleEnabled",0,function(e){let{setStyleEnabled:t}=es();(0,a.useLayoutEffect)(()=>{t(e)},[e,t])},"useSyncThemeEnabled",0,function(e){let{setThemeEnabled:t}=es();(0,a.useLayoutEffect)(()=>{t(e)},[e,t])},"useViewTheme",0,function({tint:e,style:t}){let{setViewTheme:r}=es(),n=e??null,l=eo(t);(0,a.useLayoutEffect)(()=>(r({tint:n,style:l}),()=>r({tint:null,style:null})),[n,l,r])}],164954)}]);
339
340//# debugId=5e850fab-8c6b-352c-2f1e-124f85be03b5

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.