1static constexpr char SKSL_MINIFIED_sksl_graphite_frag[] = 2"$pure half4 sk_error(){return half4(1.,0.,0.,1.);}$pure half4 sk_passthrough" 3"(half4 a){return a;}$pure half4 sk_solid_shader(float4 a){return half4(a);}" 4"$pure half4 sk_rgb_opaque(float4 a){return half4(half3(a.xyz),1.);}$pure half4" 5" sk_alpha_only(float4 a){return half4(0.,0.,0.,half(a.w));}$pure float $k(int" 6" a,float b,half4[2]c){float d=float(c[0].x);float e=float(c[0].y);float f=float" 7"(c[0].z);float g=float(c[0].w);float h=float(c[1].x);float i=float(c[1].y);" 8"float j=float(c[1].z);float k=sign(b);b=abs(b);{float l;switch(a){case 1:b=" 9"b<h?g*b+j:pow(e*b+f,d)+i;break;case 2:l=pow(b,g);b=pow(max(e+f*l,0.)/(h+i*l" 10"),j);break;case 3:b=b*e<=1.?pow(b*e,f):exp((b-i)*g)+h;b*=j+1.;break;case 4:" 11"b/=j+1.;b=b<=1.?e*pow(b,f):g*log(b-h)+i;break;}}return k*b;}$pure half4 sk_premul_alpha" 12"(float4 a){return half4(half3(a.xyz*a.w),half(a.w));}$pure half4 sk_color_space_transform" 13"(half4 a,int b,int c,half3x3 d,int e,half4x4 f){if(b!=0){float4 g=float4(a)" 14";if(bool(b&32))g.w=dot(float2(g.x,1.),float2(float(f[1].w),float(f[3].w)));" 15"if(bool(b&1))g=unpremul(g);if(bool(b&2)){half4 h[2];h[0]=f[0];h[1]=f[1];g.x" 16"=$k(c,g.x,h);g.y=$k(c,g.y,h);g.z=$k(c,g.z,h);}if(bool(b&4))g.xyz=float3x3(d" 17")*g.xyz;if(bool(b&8)){half4 h[2];h[0]=f[2];h[1]=f[3];g.x=$k(e,g.x,h);g.y=$k" 18"(e,g.y,h);g.z=$k(e,g.z,h);}a=bool(b&16)?sk_premul_alpha(g):half4(g);}return" 19" a;}$pure half4 sk_circular_rrect_clip(float4 a,float2 b,half4 c){float2 d=" 20"sk_FragCoord.xy;float2 e=abs(b.x).xx;float2 f=float2(c.xy)*((a.xy+e)-d);float2" 21" g=float2(c.zw)*(d-(a.zw-e));float2 h=max(max(f,g),0.);half i=half(saturate" 22"(e.x*(1.-length(h*b.y))));half4 j=saturate(half4(half2(d-a.xy),half2(a.zw-d" 23")));j=mix(j,half4(1.),c);half k=(((i*j.x)*j.y)*j.z)*j.w;k=b.x<0.?1.-k:k;return" 24" k.xxxx;}$pure float $l(int a,float b,float c,float d){switch(a){case 0:return" 25" clamp(b,c,d);case 1:{float e=d-c;return mod(b-c,e)+c;}case 2:{float e=d-c;" 26"float g=2.*e;float h=mod(b-c,g);return mix(h,g-h,step(e,h))+c;}default:return" 27" b;}}$pure half4 $m(float2 a,float2 b,sampler2D c){return sample(c,a*b);}$pure" 28" half4 $n(float2 a,float2 b,float4 c,int d,int e,int f,float2 g,sampler2D h" 29"){if(d==3&&f==0){float i=floor(a.x)+.5;if(i<c.x||i>c.z)return half4(0.);}if" 30"(e==3&&f==0){float i=floor(a.y)+.5;if(i<c.y||i>c.w)return half4(0.);}a.x=$l" 31"(d,a.x,c.x,c.z);a.y=$l(e,a.y,c.y,c.w);float4 i;if(f==0)i=float4(floor(c.xy)" 32"+.50001,ceil(c.zw)-.50001);else i=float4(c.xy+g.x,c.zw-g.y);float2 j=clamp(" 33"a,i.xy,i.zw);half4 k=$m(j,b,h);if(f==1){half2 l=half2(a-j);half2 m=abs(l);bool" 34" n=d==1;bool o=e==1;if(n||o){float p;float q;half4 r;half4 t;if(n){p=l.x>0." 35"?i.x:i.z;r=$m(float2(p,j.y),b,h);}if(o){q=l.y>0.?i.y:i.w;t=$m(float2(j.x,q)" 36",b,h);}if(n&&o){half4 u=$m(float2(p,q),b,h);k=mix(mix(k,r,m.x),mix(t,u,m.x)" 37",m.y);}else if(n)k=mix(k,r,m.x);else if(o)k=mix(k,t,m.y);}if(d==3)k*=max(1." 38"-m.x,0.);if(e==3)k*=max(1.-m.y,0.);}return k;}$pure half4 $o(float2 a,float2" 39" b,float4 c,int d,int e,half4x4 g,sampler2D h){float2 i=fract(a-.5);a-=1.5;" 40"a=floor(a)+.5;half4 j=g*half4(1.,half(i.x),half(i.x*i.x),half((i.x*i.x)*i.x" 41"));half4 k=g*half4(1.,half(i.y),half(i.y*i.y),half((i.y*i.y)*i.y));half4 l=" 42"half4(0.);for(int m=0;m<4;++m){half4 n=half4(0.);for(int o=0;o<4;++o)n+=j[o" 43"]*$n(a+float2(float(o),float(m)),b,c,d,e,0,.50001.xx,h);l+=k[m]*n;}l.w=saturate" 44"(l.w);l.xyz=clamp(l.xyz,half3(0.),l.www);return l;}$pure half4 sk_image_shader" 45"(float2 a,float2 b,float4 c,int d,int e,int f,sampler2D g){return $n(a,b,c," 46"d,e,f,.50001.xx,g);}$pure half4 sk_cubic_image_shader(float2 a,float2 b,float4" 47" c,int d,int e,half4x4 f,sampler2D g){return $o(a,b,c,d,e,f,g);}$pure half4" 48" sk_hw_image_shader(float2 a,float2 b,sampler2D c){return $m(a,b,c);}$pure half4" 49" $p(half a,half b,half c,half d,half3x3 e,half3 f){half3 g=half3(a,b,c);half4" 50" h;h.xyz=saturate(e*g+f);h.w=d;return h;}$pure half4 $q(half4 a,half4 b,half4" 51" c,half d,half4 e,half4 f,half4 g,half3x3 h,half3 i){half j=dot(e,a);half k" 52"=dot(f,b);half l=dot(g,c);return $p(j,k,l,d,h,i);}$pure half4 sk_yuv_image_shader" 53"(float2 a,float2 b,float2 c,float4 d,float2 e,int f,int g,int h,int i,half4" 54" j,half4 k,half4 l,half4 m,half3x3 n,half3 o,sampler2D p,sampler2D q,sampler2D" 55" r,sampler2D s){if(h!=i)a=floor(a)+.5;int t=f==3?0:f;int u=g==3?0:g;half4 v" 56";half4 w;half4 x;v=$n(a,b,d,f,g,h,.50001.xx,p);w=$n(a,c,d,t,u,i,e,q);x=$n(a" 57",c,d,t,u,i,e,r);half y;if(m==half4(1.))y=1.;else{half4 z=$n(a,b,d,f,g,h,.50001" 58".xx,s);y=dot(m,z);}return $q(v,w,x,y,j,k,l,n,o);}$pure half4 sk_cubic_yuv_image_shader" 59"(float2 a,float2 b,float2 c,float4 d,int e,int f,half4x4 g,half4 h,half4 i," 60"half4 j,half4 k,half3x3 l,half3 m,sampler2D n,sampler2D o,sampler2D p,sampler2D" 61" q){int r=e==3?0:e;int s=f==3?0:f;half4 t;half4 u;half4 v;t=$o(a,b,d,e,f,g," 62"n);u=$o(a,c,d,r,s,g,o);v=$o(a,c,d,r,s,g,p);half w;if(k==half4(1.))w=1.;else" 63"{half4 x=$o(a,b,d,e,f,g,q);w=dot(k,x);}return $q(t,u,v,w,h,i,j,l,m);}$pure half4" 64" sk_hw_yuv_image_shader(float2 a,float2 b,float2 c,half4 d,half4 e,half4 f," 65"half4 g,half3x3 h,half3 i,sampler2D j,sampler2D k,sampler2D l,sampler2D m){" 66"half4 n;half4 o;half4 p;n=$m(a,b,j);o=$m(a,c,k);p=$m(a,c,l);half r;if(g==half4" 67"(1.))r=1.;else{half4 s=$m(a,b,m);r=dot(g,s);}return $q(n,o,p,r,d,e,f,h,i);}" 68"$pure half4 sk_hw_yuv_no_swizzle_image_shader(float2 a,float2 b,float2 c,half3x3" 69" d,half4 e,sampler2D f,sampler2D g,sampler2D h,sampler2D i){half n=$m(a,b,f" 70").x;half o=$m(a,c,g).x;half p=$m(a,c,h).x;half q=saturate($m(a,b,i).x+e.w);" 71"return $p(n,o,p,q,d,e.xyz);}$pure half4 sk_dither(half4 a,half b,sampler2D c" 72"){half e=sample(c,sk_FragCoord.xy*.125).x-.5;return half4(clamp(a.xyz+e*b,0." 73",a.w),a.w);}$pure float2 $r(int a,float2 b){switch(a){case 0:b.x=saturate(b" 74".x);break;case 1:b.x=fract(b.x);break;case 2:{float c=b.x-1.;b.x=(c-2.*floor" 75"(c*.5))-1.;if(sk_Caps.mustDoOpBetweenFloorAndAbs)b.x=clamp(b.x,-1.,1.);b.x=" 76"abs(b.x);break;}case 3:if(b.x<0.||b.x>1.)return float2(0.,-1.);break;}return" 77" b;}$pure half4 $s(float4[4]a,float4 b,float2 c){if(c.y<0.)return half4(0.)" 78";else if(c.x<=b.x)return half4(a[0]);else if(c.x<b.y)return half4(mix(a[0]," 79"a[1],(c.x-b.x)/(b.y-b.x)));else if(c.x<b.z)return half4(mix(a[1],a[2],(c.x-" 80"b.y)/(b.z-b.y)));else if(c.x<b.w)return half4(mix(a[2],a[3],(c.x-b.z)/(b.w-" 81"b.z)));else return half4(a[3]);}$pure half4 $t(float4[8]a,float4[2]b,float2" 82" c){if(c.y<0.)return half4(0.);else if(c.x<b[1].x)if(c.x<b[0].z)if(c.x<=b[0" 83"].x)return half4(a[0]);else if(c.x<b[0].y)return half4(mix(a[0],a[1],(c.x-b" 84"[0].x)/(b[0].y-b[0].x)));else return half4(mix(a[1],a[2],(c.x-b[0].y)/(b[0]" 85".z-b[0].y)));else if(c.x<b[0].w)return half4(mix(a[2],a[3],(c.x-b[0].z)/(b[" 86"0].w-b[0].z)));else return half4(mix(a[3],a[4],(c.x-b[0].w)/(b[1].x-b[0].w)" 87"));else if(c.x<b[1].z)if(c.x<b[1].y)return half4(mix(a[4],a[5],(c.x-b[1].x)" 88"/(b[1].y-b[1].x)));else return half4(mix(a[5],a[6],(c.x-b[1].y)/(b[1].z-b[1" 89"].y)));else if(c.x<b[1].w)return half4(mix(a[6],a[7],(c.x-b[1].z)/(b[1].w-b" 90"[1].z)));else return half4(a[7]);}$pure half4 $u(sampler2D a,int b,float2 c" 91"){if(c.y<0.)return half4(0.);else if(c.x==0.)return sampleLod(a,float2(0.,.25" 92"),0.);else if(c.x==1.)return sampleLod(a,float2(1.,.25),0.);else{float f=0." 93";float g=float(b);float h=1./g;for(int i=1;i<b;i+=i){float j=floor((f+g)*.5" 94");float k=(j+.5)*h;float2 l=float2(sampleLod(a,float2(k,.75),0.).xy);float m" 95"=ldexp(l.x,int(l.y));if(c.x<m)g=j;else f=j;}g=(f+1.5)*h;f=(f+.5)*h;half4 i=" 96"sampleLod(a,float2(f,.25),0.);half4 j=sampleLod(a,float2(g,.25),0.);float2 k" 97"=float2(sampleLod(a,float2(f,.75),0.).xy);float l=ldexp(k.x,int(k.y));k=float2" 98"(sampleLod(a,float2(g,.75),0.).xy);float m=ldexp(k.x,int(k.y));return half4" 99"(mix(float4(i),float4(j),(c.x-l)/(m-l)));}}$pure half4 $v(float[]a,int b){return" 100" half4(half(a[b]),half(a[b+1]),half(a[b+2]),half(a[b+3]));}$pure half4 $w(float" 101"[]a,int b,int c,float2 d){int e=b+c;if(d.y<0.)return half4(0.);else if(d.x==" 102"0.)return $v(a,e);else if(d.x==1.){int f=e+(c-1)*4;return $v(a,f);}else{int" 103" f=b;int g=(f+c)-1;for(int h=1;h<c;h+=h){int j=(f+g)/2;if(d.x<a[j])g=j;else" 104" f=j;}int h=e+(f-b)*4;float i=a[f];half4 j=$v(a,h);int k=e+(g-b)*4;float l=" 105"a[g];if(l==i)return j;else{half4 m=$v(a,k);return half4(mix(float4(j),float4" 106"(m),(d.x-i)/(l-i)));}}}$pure float2 $x(float2 a){return float2(a.x+1e-05,1." 107");}$pure float2 $y(float2 a){float b=length(a);return float2(b,1.);}$pure float2" 108" $z(float a,float b,float2 c){float d;if(sk_Caps.atan2ImplementedAsAtanYOverX" 109")d=2.*atan(-c.y,length(c)-c.x);else d=c.x!=0.?atan(-c.y,-c.x):sign(c.y)*-1.57079637" 110";float e=((d*.159154937+.5)+a)*b;return float2(e,1.);}$pure float2 $A(float" 111" b,float c,float d,float e,float2 f){if(d==0.&&e==1.){float g=length(f)*c-b" 112";return float2(g,1.);}else{float g=dot(f,f)-b*b;float h=2.*(c*b+f.x);float i" 113";if(d==0.)i=g/h;else{float j=h*h-(4.*d)*g;if(j<0.)return float2(0.,-1.);float" 114" k=sign(1.-c);i=e*(h+k*sqrt(j));}float j=sign(i*c+b);return float2(i,j);}}$pure" 115" half4 sk_linear_grad_4_shader(float2 a,float4[4]b,float4 c,int d,int e,int" 116" f){float2 g=$x(a);g=$r(d,g);half4 h=$s(b,c,g);return $interpolated_to_rgb_unpremul" 117"(h,e,f);}$pure half4 sk_linear_grad_8_shader(float2 a,float4[8]b,float4[2]c" 118",int d,int e,int f){float2 g=$x(a);g=$r(d,g);half4 h=$t(b,c,g);return $interpolated_to_rgb_unpremul" 119"(h,e,f);}$pure half4 sk_linear_grad_tex_shader(float2 a,int b,int c,int d,int" 120" e,sampler2D f){float2 g=$x(a);g=$r(c,g);half4 h=$u(f,b,g);return $interpolated_to_rgb_unpremul" 121"(h,d,e);}$pure half4 sk_linear_grad_buf_shader(float2 a,int b,int c,int d,int" 122" e,int f,float[]g){float2 h=$x(a);h=$r(d,h);half4 i=$w(g,c,b,h);return $interpolated_to_rgb_unpremul" 123"(i,e,f);}$pure half4 sk_radial_grad_4_shader(float2 a,float4[4]b,float4 c,int" 124" d,int e,int f){float2 g=$y(a);g=$r(d,g);half4 h=$s(b,c,g);return $interpolated_to_rgb_unpremul" 125"(h,e,f);}$pure half4 sk_radial_grad_8_shader(float2 a,float4[8]b,float4[2]c" 126",int d,int e,int f){float2 g=$y(a);g=$r(d,g);half4 h=$t(b,c,g);return $interpolated_to_rgb_unpremul" 127"(h,e,f);}$pure half4 sk_radial_grad_tex_shader(float2 a,int b,int c,int d,int" 128" e,sampler2D f){float2 g=$y(a);g=$r(c,g);half4 h=$u(f,b,g);return $interpolated_to_rgb_unpremul" 129"(h,d,e);}$pure half4 sk_radial_grad_buf_shader(float2 a,int b,int c,int d,int" 130" e,int f,float[]g){float2 h=$y(a);h=$r(d,h);half4 i=$w(g,c,b,h);return $interpolated_to_rgb_unpremul" 131"(i,e,f);}$pure half4 sk_sweep_grad_4_shader(float2 a,float4[4]b,float4 c,float" 132" d,float e,int f,int g,int h){float2 i=$z(d,e,a);i=$r(f,i);half4 j=$s(b,c,i" 133");return $interpolated_to_rgb_unpremul(j,g,h);}$pure half4 sk_sweep_grad_8_shader" 134"(float2 a,float4[8]b,float4[2]c,float d,float e,int f,int g,int h){float2 i" 135"=$z(d,e,a);i=$r(f,i);half4 j=$t(b,c,i);return $interpolated_to_rgb_unpremul" 136"(j,g,h);}$pure half4 sk_sweep_grad_tex_shader(float2 a,float b,float c,int d" 137",int e,int f,int g,sampler2D h){float2 i=$z(b,c,a);i=$r(e,i);half4 j=$u(h,d" 138",i);return $interpolated_to_rgb_unpremul(j,f,g);}$pure half4 sk_sweep_grad_buf_shader" 139"(float2 a,float b,float c,int d,int e,int f,int g,int h,float[]i){float2 j=" 140"$z(b,c,a);j=$r(f,j);half4 k=$w(i,e,d,j);return $interpolated_to_rgb_unpremul" 141"(k,g,h);}$pure half4 sk_conical_grad_4_shader(float2 a,float4[4]b,float4 c," 142"float d,float e,float f,float g,int h,int i,int j){float2 k=$A(d,e,f,g,a);k" 143"=$r(h,k);half4 l=$s(b,c,k);return $interpolated_to_rgb_unpremul(l,i,j);}$pure" 144" half4 sk_conical_grad_8_shader(float2 a,float4[8]b,float4[2]c,float d,float" 145" e,float f,float g,int h,int i,int j){float2 k=$A(d,e,f,g,a);k=$r(h,k);half4" 146" l=$t(b,c,k);return $interpolated_to_rgb_unpremul(l,i,j);}$pure half4 sk_conical_grad_tex_shader" 147"(float2 a,float b,float c,float d,float e,int f,int g,int h,int i,sampler2D" 148" j){float2 k=$A(b,c,d,e,a);k=$r(g,k);half4 l=$u(j,f,k);return $interpolated_to_rgb_unpremul" 149"(l,h,i);}$pure half4 sk_conical_grad_buf_shader(float2 a,float b,float c,float" 150" d,float e,int f,int g,int h,int i,int j,float[]k){float2 l=$A(b,c,d,e,a);l" 151"=$r(h,l);half4 m=$w(k,g,f,l);return $interpolated_to_rgb_unpremul(m,i,j);}$pure" 152" half4 sk_matrix_colorfilter(half4 a,float4x4 b,float4 c,int d,int e){if(bool" 153"(d))a=$rgb_to_hsl(a.xyz,a.w);else a=unpremul(a);half4 f=half4(b*float4(a)+c" 154");if(bool(d))f=$hsl_to_rgb(f.xyz,f.w);else{if(bool(e))f=saturate(f);else f." 155"w=saturate(f.w);f.xyz*=f.w;}return f;}$pure half4 $B(half2 a,half2 b,int c," 156"sampler2D d){half4 f;f.xy=floor(a);f.zw=f.xy+half2(1.);if(bool(c))f-=step(b" 157".xyxy,f)*b.xyxy;half g=sample(d,float2(half2((f.x+.5)*.00390625,.5))).x;half" 158" h=sample(d,float2(half2((f.z+.5)*.00390625,.5))).x;half2 i=half2(g,h);if(sk_Caps" 159".PerlinNoiseRoundingFix)i=floor(i*half2(255.)+half2(.5))*half2(.003921569);" 160"half4 j=256.*i.xyxy+f.yyww;j*=half4(.00390625);return j;}$pure half4 $C(half2" 161" a,half4 b,sampler2D c){half2 d=fract(a);half2 e=smoothstep(0.,1.,d);const half" 162" f=.00390625;half4 g;for(int h=0;h<4;h++){half i=(half(h)+.5)*.25;half4 j=sample" 163"(c,float2(float(b.x),float(i)));half4 k=sample(c,float2(float(b.y),float(i)" 164"));half4 l=sample(c,float2(float(b.w),float(i)));half4 m=sample(c,float2(float" 165"(b.z),float(i)));half2 n=d;half o=dot((j.yw+j.xz*f)*2.-1.,n);n.x-=1.;half p" 166"=dot((k.yw+k.xz*f)*2.-1.,n);half q=mix(o,p,e.x);n.y-=1.;p=dot((l.yw+l.xz*f)" 167"*2.-1.,n);n.x+=1.;o=dot((m.yw+m.xz*f)*2.-1.,n);half r=mix(o,p,e.x);g[h]=mix" 168"(q,r,e.y);}return g;}$pure half4 sk_perlin_noise_shader(float2 a,float2 b,float2" 169" c,int d,int e,int f,sampler2D g,sampler2D h){half2 k=half2((a+.5)*b);half4" 170" l=half4(0.);half2 m=half2(c);half n=1.;for(int o=0;o<e;++o){half4 p=$B(k,m" 171",f,g);half4 q=$C(k,p,h);if(d!=0)q=abs(q);l+=q*n;k*=half2(2.);n*=.5;m*=half2" 172"(2.);}if(d==0)l=l*half4(.5)+half4(.5);l=saturate(l);return sk_premul_alpha(" 173"float4(l));}$pure half4 sk_porter_duff_blend(half4 a,half4 b,half4 c){return" 174" blend_porter_duff(c,a,b);}$pure half4 sk_hslc_blend(half4 a,half4 b,half2 c" 175"){return blend_hslc(c,a,b);}$pure half4 sk_table_colorfilter(half4 a,sampler2D" 176" b){half4 c=unpremul(a)*.99609375+.001953125;half4 d=half4(sample(b,float2(" 177"half2(c.x,.375))).x,sample(b,float2(half2(c.y,.625))).x,sample(b,float2(half2" 178"(c.z,.875))).x,1.);return d*sample(b,float2(half2(c.w,.125))).x;}$pure half4" 179" sk_gaussian_colorfilter(half4 a){half b=1.-a.w;b=exp((-b*b)*4.)-.018;return" 180" b.xxxx;}$pure half4 sample_indexed_atlas(float2 a,int b,sampler2D c,sampler2D" 181" d,sampler2D e,sampler2D f){switch(b){case 1:return sample(d,a);case 2:return" 182" sample(e,a);case 3:return sample(f,a);default:return sample(c,a);}}$pure half3" 183" $D(float2 a,int b,half2 c,sampler2D d,sampler2D e,sampler2D f,sampler2D g)" 184"{half3 h=half3(1.);switch(b){case 1:h.x=sample(e,float2(half2(a)-c)).x;h.y=" 185"sample(e,a).x;h.z=sample(e,float2(half2(a)+c)).x;case 2:h.x=sample(f,float2" 186"(half2(a)-c)).x;h.y=sample(f,a).x;h.z=sample(f,float2(half2(a)+c)).x;case 3" 187":h.x=sample(g,float2(half2(a)-c)).x;h.y=sample(g,a).x;h.z=sample(g,float2(half2" 188"(a)+c)).x;default:h.x=sample(d,float2(half2(a)-c)).x;h.y=sample(d,a).x;h.z=" 189"sample(d,float2(half2(a)+c)).x;}return h;}$pure half4 bitmap_text_coverage_fn" 190"(half4 a,int b){return b==0?a.xxxx:a;}$pure half4 sdf_text_coverage_fn(half" 191" a,half2 b,float2 c){half d=7.96875*(a-.5019608);d-=b.x;half2 e=half2(dFdx(" 192"d),dFdy(d));half f=dot(e,e);e=f>=.0001?e*inversesqrt(f):half2(.7071);float2x2" 193" g=float2x2(dFdx(c),dFdy(c));half2 h=half2(g*float2(e));half i=.65*length(h" 194");if(b.y>0.)return saturate((d+i)/(2.*i)).xxxx;else return smoothstep(-i,i," 195"d).xxxx;}$pure half4 sdf_text_lcd_coverage_fn(float2 a,half2 b,half4 c,float2" 196" d,float e,sampler2D f,sampler2D g,sampler2D h,sampler2D i){float2x2 j=float2x2" 197"(dFdx(d),dFdy(d));half2 k=half2(j*float2(b));half3 l=$D(a,int(e),k,f,g,h,i)" 198";half3 m=half3(7.96875)*(l-half3(.5019608));m-=c.xyz;half2 n=half2(dFdx(m.y" 199"),dFdy(m.y));half o=dot(n,n);n=o>=.0001?n*inversesqrt(o):half2(.7071);half2" 200" p=half2(j*float2(n));half3 q=(.65*length(p)).xxx;if(c.w>0.)return half4(saturate" 201"(m+q/(2.*q)),1.);else return half4(smoothstep(-q,q,m),1.);}$pure float $E(float2" 202" a,float2x2 b){float2 c=a*b;return inversesqrt(dot(c,c));}$pure float2 $F(float2" 203" a,float2 b,float c,float2x2 d){float2 e=1./(b*b+c*c);float2 g=e*a;float h=" 204"$E(g,d);float i=(.5*h)*(dot(a,g)-1.);float j=((b.x*c)*e.x)*h;return float2(" 205"j-i,j+i);}void $G(inout float2 a,float2x2 b,float2 c,float2 d,float2 e,float2" 206" f){float2 g=f-d;if(all(greaterThan(g,0..xx)))if(all(greaterThan(f,0..xx))||" 207"c.x>0.&&c.y<0.){float2 h=$F(g*e,f,c.x,b);h.y=f.x-c.x<=0.?1.:-h.y;a=min(a,h)" 208";}else if(c.y==0.){float h=((c.x-g.x)-g.y)*$E(e,b);a.x=min(a.x,h);}}void $H" 209"(inout float2 a,float2x2 b,float2 c,float4 e,float4 f,float4 g){$G(a,b,c,e." 210"xy,-1..xx,float2(f.x,g.x));$G(a,b,c,e.zy,float2(1.,-1.),float2(f.y,g.y));$G" 211"(a,b,c,e.zw,1..xx,float2(f.z,g.z));$G(a,b,c,e.xw,float2(-1.,1.),float2(f.w," 212"g.w));}$pure half4 analytic_rrect_coverage_fn(float4 a,float4 b,float4 c,float4" 213" d,float4 e,float2 f,float2 g){if(g.x>0.)return half4(1.);else if(g.y>1.){float2" 214" h=min(c.xy,c.zw);float i=min(h.x,h.y)*a.w;float j=(g.y-1.)*a.w;float k=coverage_bias" 215"(j);return half(saturate(j*(i+k))).xxxx;}else{float2x2 h=float2x2(b)*(1./a." 216"w);float2 i=float2($E(float2(1.,0.),h),$E(float2(0.,1.),h));float2 j=i*(f.x" 217"+min(c.xy,c.zw));float2 k=float2(min(j.x,j.y),-1.);float l;float m;if(g.x>-" 218".95){float2 n=i*((c.xy+c.zw)+2.*f.xx);l=min(min(n.x,n.y),1.);m=coverage_bias" 219"(l);}else{float2 n=(2.*f.x)*i;float2 o=n-j;k.y=-max(o.x,o.y);if(f.x>0.){float" 220" p=min(n.x,n.y);float2 q=mix(p.xx,n,greaterThanEqual(o,-.5.xx));l=saturate(" 221"max(q.x,q.y));m=coverage_bias(l);}else l=(m=1.);}$H(k,h,f,c,d,e);float n=min" 222"(g.y,0.)*a.w;float o=l*(min(k.x+n,-k.y)+m);return half(saturate(o)).xxxx;}}" 223"$pure half4 per_edge_aa_quad_coverage_fn(float4 a,float4 b){float2 d=min(b." 224"xy,b.zw);float e=min(d.x,d.y)*a.w;return half(saturate(e)).xxxx;}$pure half4" 225" circular_arc_coverage_fn(float4 a,float3 b,float3 c,float3 e,float f,float4" 226" g){float h=length(a.xy);half i=half(a.z*(1.-h));half j=saturate(i);half k=" 227"half(a.z*(h-a.w));half l=saturate(k);j*=l;half m=half(saturate(a.z*dot(a.xy" 228",b.xy)+b.z));m*=half(saturate(a.z*dot(a.xy,c.xy)+c.z));m=m+half(saturate(a." 229"z*dot(a.xy,e.xy)+e.z));half n=half(a.z*(f-length(a.xy-g.xy)));half o=half(a" 230".z*(f-length(a.xy-g.zw)));half p=max(n,0.)+max(o,0.);m=saturate(m+p);return" 231"(m*j).xxxx;}$pure half4 $I(float2 a,float4 b,half c,half d,sampler2D e){half" 232" f;half g;if(c!=0.){half2 h=max(half2(b.xy-a),half2(a-b.zw));f=sample(e,float2" 233"(float(d*h.x),.5)).x;g=sample(e,float2(float(d*h.y),.5)).x;}else{half4 h=half4" 234"(half2(b.xy-a),half2(a-b.zw));f=(1.-sample(e,float2(float(d*h.x),.5)).x)-sample" 235"(e,float2(float(d*h.z),.5)).x;g=(1.-sample(e,float2(float(d*h.y),.5)).x)-sample" 236"(e,float2(float(d*h.w),.5)).x;}return(f*g).xxxx;}$pure half4 $J(float2 a,float4" 237" b,sampler2D c){float d=b.z;float e=b.w;half2 f=half2((a-b.xy)*d);float g=float" 238"(length(f))-e;return sample(c,float2(g,.5)).xxxx;}$pure half4 $K(float2 a,float4" 239" b,half c,sampler2D d){float2 e=a-b.xy;float2 f=(b.zw-b.xy)*.5;e-=f;half2 g" 240"=half2(sign(e));e=abs(e);half2 h=half2(e-(f-float(c)));h=max(h,0.);h*=g;h+=" 241"c.xx;half2 i=(2.*c).xx;half2 j=h/i;return sample(d,float2(j)).xxxx;}$pure half4" 242" blur_coverage_fn(float2 a,float4 b,half2 c,int d,sampler2D e){switch(d){case" 243" 0:{return $I(a,b,c.x,c.y,e);}case 2:{return $J(a,b,e);}case 1:{return $K(a" 244",b,c.x,e);}}return half4(0.);}"; 245