box3d/samples/shaders/generated/cube.glsl.h

4408 lines
302 KiB
C
Raw Normal View History

#pragma once
/*
#version:1# (machine generated, don't edit!)
Generated by sokol-shdc (https://github.com/floooh/sokol-tools)
Cmdline:
sokol-shdc --input E:/box/box3d/samples/shaders/shapes/cube.glsl --output E:/box/box3d/samples/shaders/generated/cube.glsl.h --slang hlsl5:metal_macos:glsl430
Overview:
=========
Shader program: 'cube':
Get shader desc: cube_shader_desc(sg_query_backend());
Vertex Shader: vs
Fragment Shader: fs
Attributes:
ATTR_cube_in_pos => 0
Bindings:
Uniform block 'ub_draw':
C struct: ub_draw_t
Bind slot: UB_ub_draw => 2
Uniform block 'ub_frame':
C struct: ub_frame_t
Bind slot: UB_ub_frame => 0
Uniform block 'ub_pass':
C struct: ub_pass_t
Bind slot: UB_ub_pass => 1
Storage buffer 'cube_instances':
C struct: cube_instance_t
Bind slot: VIEW_cube_instances => 0
Readonly: true
Texture 'tex_shadow':
Image type: SG_IMAGETYPE_ARRAY
Sample type: SG_IMAGESAMPLETYPE_DEPTH
Multisampled: false
Bind slot: VIEW_tex_shadow => 1
Texture 'tex_ao':
Image type: SG_IMAGETYPE_2D
Sample type: SG_IMAGESAMPLETYPE_FLOAT
Multisampled: false
Bind slot: VIEW_tex_ao => 4
Texture 'tex_ibl_spec':
Image type: SG_IMAGETYPE_CUBE
Sample type: SG_IMAGESAMPLETYPE_FLOAT
Multisampled: false
Bind slot: VIEW_tex_ibl_spec => 2
Texture 'tex_brdf_lut':
Image type: SG_IMAGETYPE_2D
Sample type: SG_IMAGESAMPLETYPE_FLOAT
Multisampled: false
Bind slot: VIEW_tex_brdf_lut => 3
Sampler 'smp_shadow':
Type: SG_SAMPLERTYPE_COMPARISON
Bind slot: SMP_smp_shadow => 0
Sampler 'smp_ao':
Type: SG_SAMPLERTYPE_FILTERING
Bind slot: SMP_smp_ao => 3
Sampler 'smp_ibl_spec':
Type: SG_SAMPLERTYPE_FILTERING
Bind slot: SMP_smp_ibl_spec => 1
Sampler 'smp_brdf_lut':
Type: SG_SAMPLERTYPE_FILTERING
Bind slot: SMP_smp_brdf_lut => 2
*/
#if !defined(SOKOL_GFX_INCLUDED)
#error "Please include sokol_gfx.h before cube.glsl.h"
#endif
#if !defined(SOKOL_SHDC_ALIGN)
#if defined(_MSC_VER)
#define SOKOL_SHDC_ALIGN(a) __declspec(align(a))
#else
#define SOKOL_SHDC_ALIGN(a) __attribute__((aligned(a)))
#endif
#endif
#define ATTR_cube_in_pos (0)
#define UB_ub_draw (2)
#define UB_ub_frame (0)
#define UB_ub_pass (1)
#define VIEW_cube_instances (0)
#define VIEW_tex_shadow (1)
#define VIEW_tex_ao (4)
#define VIEW_tex_ibl_spec (2)
#define VIEW_tex_brdf_lut (3)
#define SMP_smp_shadow (0)
#define SMP_smp_ao (3)
#define SMP_smp_ibl_spec (1)
#define SMP_smp_brdf_lut (2)
#pragma pack(push,1)
SOKOL_SHDC_ALIGN(16) typedef struct ub_draw_t {
int inst_base[4];
} ub_draw_t;
#pragma pack(pop)
#pragma pack(push,1)
SOKOL_SHDC_ALIGN(16) typedef struct ub_frame_t {
Mat4 view;
Mat4 proj;
Mat4 view_proj;
Mat4 inv_view_proj;
Vec4 camera_pos;
Vec4 viewport;
} ub_frame_t;
#pragma pack(pop)
#pragma pack(push,1)
SOKOL_SHDC_ALIGN(16) typedef struct ub_pass_t {
Vec4 sun_dir_view;
Vec4 sun_color;
int flags[4];
Vec4 cascade_far_view_z;
Mat4 cascade_matrices[3];
Mat4 view;
Vec4 camera_pos_world;
Vec4 sh[9];
Vec4 ibl_params;
} ub_pass_t;
#pragma pack(pop)
#pragma pack(push,1)
SOKOL_SHDC_ALIGN(16) typedef struct cube_instance_t {
Vec4 xform_row0;
Vec4 xform_row1;
Vec4 xform_row2;
Vec4 base_color;
Vec4 material;
} cube_instance_t;
#pragma pack(pop)
/*
#version 430
struct cube_instance
{
vec4 xform_row0;
vec4 xform_row1;
vec4 xform_row2;
vec4 base_color;
vec4 material;
};
layout(binding = 0, std430) readonly buffer cube_instances
{
cube_instance instances[];
} _15;
uniform ivec4 ub_draw[1];
uniform vec4 ub_frame[18];
layout(location = 0) in vec3 in_pos;
layout(location = 0) out vec3 v_view_pos;
layout(location = 1) out vec3 v_world_pos;
layout(location = 2) flat out vec4 v_base_color;
layout(location = 3) flat out vec4 v_material;
void main()
{
int _30 = ub_draw[0].x + gl_InstanceID;
vec4 _58 = vec4(in_pos, 1.0);
float _64 = dot(_15.instances[_30].xform_row0, _58);
float _68 = dot(_15.instances[_30].xform_row1, _58);
float _72 = dot(_15.instances[_30].xform_row2, _58);
vec4 _87 = mat4(ub_frame[0], ub_frame[1], ub_frame[2], ub_frame[3]) * vec4(_64, _68, _72, 1.0);
v_view_pos = _87.xyz;
v_world_pos = vec3(_64, _68, _72);
v_base_color = _15.instances[_30].base_color;
v_material = _15.instances[_30].material;
gl_Position = mat4(ub_frame[4], ub_frame[5], ub_frame[6], ub_frame[7]) * _87;
}
*/
static const uint8_t vs_source_glsl430[1126] = {
0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x34,0x33,0x30,0x0a,0x0a,0x73,0x74,
0x72,0x75,0x63,0x74,0x20,0x63,0x75,0x62,0x65,0x5f,0x69,0x6e,0x73,0x74,0x61,0x6e,
0x63,0x65,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x34,0x20,0x78,0x66,
0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,
0x63,0x34,0x20,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x31,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x76,0x65,0x63,0x34,0x20,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,
0x77,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x34,0x20,0x62,0x61,0x73,
0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,
0x34,0x20,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,
0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67,0x20,0x3d,
0x20,0x30,0x2c,0x20,0x73,0x74,0x64,0x34,0x33,0x30,0x29,0x20,0x72,0x65,0x61,0x64,
0x6f,0x6e,0x6c,0x79,0x20,0x62,0x75,0x66,0x66,0x65,0x72,0x20,0x63,0x75,0x62,0x65,
0x5f,0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x73,0x0a,0x7b,0x0a,0x20,0x20,0x20,
0x20,0x63,0x75,0x62,0x65,0x5f,0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x20,0x69,
0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x73,0x5b,0x5d,0x3b,0x0a,0x7d,0x20,0x5f,0x31,
0x35,0x3b,0x0a,0x0a,0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d,0x20,0x69,0x76,0x65,0x63,
0x34,0x20,0x75,0x62,0x5f,0x64,0x72,0x61,0x77,0x5b,0x31,0x5d,0x3b,0x0a,0x75,0x6e,
0x69,0x66,0x6f,0x72,0x6d,0x20,0x76,0x65,0x63,0x34,0x20,0x75,0x62,0x5f,0x66,0x72,
0x61,0x6d,0x65,0x5b,0x31,0x38,0x5d,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,
0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x69,0x6e,
0x20,0x76,0x65,0x63,0x33,0x20,0x69,0x6e,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x6c,0x61,
0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,
0x30,0x29,0x20,0x6f,0x75,0x74,0x20,0x76,0x65,0x63,0x33,0x20,0x76,0x5f,0x76,0x69,
0x65,0x77,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,
0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x6f,0x75,0x74,
0x20,0x76,0x65,0x63,0x33,0x20,0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,
0x73,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,
0x6f,0x6e,0x20,0x3d,0x20,0x32,0x29,0x20,0x66,0x6c,0x61,0x74,0x20,0x6f,0x75,0x74,
0x20,0x76,0x65,0x63,0x34,0x20,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,
0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,
0x69,0x6f,0x6e,0x20,0x3d,0x20,0x33,0x29,0x20,0x66,0x6c,0x61,0x74,0x20,0x6f,0x75,
0x74,0x20,0x76,0x65,0x63,0x34,0x20,0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,
0x6c,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d,0x61,0x69,0x6e,0x28,0x29,0x0a,
0x7b,0x0a,0x20,0x20,0x20,0x20,0x69,0x6e,0x74,0x20,0x5f,0x33,0x30,0x20,0x3d,0x20,
0x75,0x62,0x5f,0x64,0x72,0x61,0x77,0x5b,0x30,0x5d,0x2e,0x78,0x20,0x2b,0x20,0x67,
0x6c,0x5f,0x49,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x49,0x44,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x76,0x65,0x63,0x34,0x20,0x5f,0x35,0x38,0x20,0x3d,0x20,0x76,0x65,0x63,
0x34,0x28,0x69,0x6e,0x5f,0x70,0x6f,0x73,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x36,0x34,0x20,0x3d,0x20,
0x64,0x6f,0x74,0x28,0x5f,0x31,0x35,0x2e,0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,
0x73,0x5b,0x5f,0x33,0x30,0x5d,0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,
0x30,0x2c,0x20,0x5f,0x35,0x38,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x20,0x5f,0x36,0x38,0x20,0x3d,0x20,0x64,0x6f,0x74,0x28,0x5f,0x31,0x35,
0x2e,0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x73,0x5b,0x5f,0x33,0x30,0x5d,0x2e,
0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x31,0x2c,0x20,0x5f,0x35,0x38,0x29,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x37,0x32,0x20,
0x3d,0x20,0x64,0x6f,0x74,0x28,0x5f,0x31,0x35,0x2e,0x69,0x6e,0x73,0x74,0x61,0x6e,
0x63,0x65,0x73,0x5b,0x5f,0x33,0x30,0x5d,0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,
0x6f,0x77,0x32,0x2c,0x20,0x5f,0x35,0x38,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,
0x65,0x63,0x34,0x20,0x5f,0x38,0x37,0x20,0x3d,0x20,0x6d,0x61,0x74,0x34,0x28,0x75,
0x62,0x5f,0x66,0x72,0x61,0x6d,0x65,0x5b,0x30,0x5d,0x2c,0x20,0x75,0x62,0x5f,0x66,
0x72,0x61,0x6d,0x65,0x5b,0x31,0x5d,0x2c,0x20,0x75,0x62,0x5f,0x66,0x72,0x61,0x6d,
0x65,0x5b,0x32,0x5d,0x2c,0x20,0x75,0x62,0x5f,0x66,0x72,0x61,0x6d,0x65,0x5b,0x33,
0x5d,0x29,0x20,0x2a,0x20,0x76,0x65,0x63,0x34,0x28,0x5f,0x36,0x34,0x2c,0x20,0x5f,
0x36,0x38,0x2c,0x20,0x5f,0x37,0x32,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x20,0x3d,0x20,
0x5f,0x38,0x37,0x2e,0x78,0x79,0x7a,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x5f,0x77,
0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x20,0x3d,0x20,0x76,0x65,0x63,0x33,0x28,
0x5f,0x36,0x34,0x2c,0x20,0x5f,0x36,0x38,0x2c,0x20,0x5f,0x37,0x32,0x29,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,
0x20,0x3d,0x20,0x5f,0x31,0x35,0x2e,0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x73,
0x5b,0x5f,0x33,0x30,0x5d,0x2e,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,
0x20,0x3d,0x20,0x5f,0x31,0x35,0x2e,0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x73,
0x5b,0x5f,0x33,0x30,0x5d,0x2e,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,
0x3d,0x20,0x6d,0x61,0x74,0x34,0x28,0x75,0x62,0x5f,0x66,0x72,0x61,0x6d,0x65,0x5b,
0x34,0x5d,0x2c,0x20,0x75,0x62,0x5f,0x66,0x72,0x61,0x6d,0x65,0x5b,0x35,0x5d,0x2c,
0x20,0x75,0x62,0x5f,0x66,0x72,0x61,0x6d,0x65,0x5b,0x36,0x5d,0x2c,0x20,0x75,0x62,
0x5f,0x66,0x72,0x61,0x6d,0x65,0x5b,0x37,0x5d,0x29,0x20,0x2a,0x20,0x5f,0x38,0x37,
0x3b,0x0a,0x7d,0x0a,0x0a,0x00,
};
/*
#version 430
struct ub_pass
{
vec4 sun_dir_view;
vec4 sun_color;
ivec4 flags;
vec4 cascade_far_view_z;
mat4 cascade_matrices[3];
mat4 view;
vec4 camera_pos_world;
vec4 sh[9];
vec4 ibl_params;
};
uniform ub_pass _706;
layout(binding = 0) uniform sampler2D tex_ao_smp_ao;
layout(binding = 1) uniform sampler2DArrayShadow tex_shadow_smp_shadow;
layout(binding = 2) uniform samplerCube tex_ibl_spec_smp_ibl_spec;
layout(binding = 3) uniform sampler2D tex_brdf_lut_smp_brdf_lut;
layout(location = 0) in vec3 v_view_pos;
layout(location = 0) out vec4 out_color;
layout(location = 1) in vec3 v_world_pos;
layout(location = 2) flat in vec4 v_base_color;
layout(location = 3) flat in vec4 v_material;
float sampleShadowPCF(int cascade, vec3 light_uv, float bias)
{
float _528 = float(cascade);
float _533 = light_uv.z - bias;
float _549 = light_uv.x - 0.00048828125;
float _553 = light_uv.y - 0.00048828125;
float _583 = light_uv.x + 0.00048828125;
float _651 = light_uv.y + 0.00048828125;
return ((((((((texture(tex_shadow_smp_shadow, vec4(vec4(_549, _553, _528, _533).xyz, _533)) + texture(tex_shadow_smp_shadow, vec4(vec4(light_uv.x, _553, _528, _533).xyz, _533))) + texture(tex_shadow_smp_shadow, vec4(vec4(_583, _553, _528, _533).xyz, _533))) + texture(tex_shadow_smp_shadow, vec4(vec4(_549, light_uv.y, _528, _533).xyz, _533))) + texture(tex_shadow_smp_shadow, vec4(vec4(light_uv.xy, _528, _533).xyz, _533))) + texture(tex_shadow_smp_shadow, vec4(vec4(_583, light_uv.y, _528, _533).xyz, _533))) + texture(tex_shadow_smp_shadow, vec4(vec4(_549, _651, _528, _533).xyz, _533))) + texture(tex_shadow_smp_shadow, vec4(vec4(light_uv.x, _651, _528, _533).xyz, _533))) + texture(tex_shadow_smp_shadow, vec4(vec4(_583, _651, _528, _533).xyz, _533))) * 0.111111111938953399658203125;
}
float sampleCascade(int cascade, vec3 world_pos, float n_dot_l)
{
vec4 _716 = _706.cascade_matrices[cascade] * vec4(world_pos, 1.0);
vec3 _723 = _716.xyz / vec3(_716.w);
vec3 _741 = vec3((_723.x * 0.5) + 0.5, ((_723.y * _706.cascade_far_view_z.w) * 0.5) + 0.5, _723.z);
bool _745 = any(lessThan(_741, vec3(0.0)));
bool _752;
if (!_745)
{
_752 = any(greaterThan(_741, vec3(1.0)));
}
else
{
_752 = _745;
}
if (_752)
{
return 1.0;
}
float _759 = clamp(n_dot_l, 0.001000000047497451305389404296875, 1.0);
int param = cascade;
vec3 param_1 = _741;
float param_2 = clamp(0.001000000047497451305389404296875 * (sqrt(1.0 - (_759 * _759)) / _759), 0.0005000000237487256526947021484375, 0.0500000007450580596923828125);
float pcf = sampleShadowPCF(param, param_1, param_2);
if (cascade == 2)
{
vec2 _790 = _741.xy;
vec2 _795 = min(_790, vec2(1.0) - _790);
pcf = mix(1.0, pcf, clamp(min(_795.x, _795.y) * 10.0, 0.0, 1.0));
}
return pcf;
}
float sampleShadowCascaded(vec3 world_pos, float n_dot_l, float view_z)
{
int cascade = 2;
if (view_z < _706.cascade_far_view_z.x)
{
cascade = 0;
}
else
{
if (view_z < _706.cascade_far_view_z.y)
{
cascade = 1;
}
}
int param = cascade;
vec3 param_1 = world_pos;
float param_2 = n_dot_l;
float shadow = sampleCascade(param, param_1, param_2);
if (cascade < 2)
{
float _840;
if (cascade == 0)
{
_840 = _706.cascade_far_view_z.x;
}
else
{
_840 = _706.cascade_far_view_z.y;
}
float _852;
if (cascade == 0)
{
_852 = 0.0;
}
else
{
_852 = _706.cascade_far_view_z.x;
}
float _863 = mix(_840, _852, 0.100000001490116119384765625);
if (view_z > _863)
{
int param_3 = cascade + 1;
vec3 param_4 = world_pos;
float param_5 = n_dot_l;
shadow = mix(shadow, sampleCascade(param_3, param_4, param_5), (view_z - _863) / (_840 - _863));
}
}
return shadow;
}
float pbrDistributionGGX(float n_dot_h, float alpha)
{
float _106 = alpha * alpha;
float _115 = ((n_dot_h * n_dot_h) * (_106 - 1.0)) + 1.0;
return _106 / ((3.1415927410125732421875 * _115) * _115);
}
float pbrVisibilitySmithCorrelated(float n_dot_v, float n_dot_l, float alpha)
{
float _128 = alpha * alpha;
float _135 = 1.0 - _128;
return 0.5 / (((n_dot_l * sqrt(((n_dot_v * n_dot_v) * _135) + _128)) + (n_dot_v * sqrt(((n_dot_l * n_dot_l) * _135) + _128))) + 9.9999997473787516355514526367188e-06);
}
vec3 pbrFresnelSchlick(float v_dot_h, vec3 f0)
{
float _164 = 1.0 - v_dot_h;
float _168 = _164 * _164;
return f0 + ((vec3(1.0) - f0) * ((_168 * _168) * _164));
}
vec3 brdf_evaluate(vec3 N, vec3 V, vec3 L, vec3 sun_radiance, vec3 base_color, float metallic, float roughness)
{
float _187 = max(dot(N, L), 0.0);
vec3 _198 = normalize(V + L);
float _212 = max(roughness, 0.04500000178813934326171875);
float _216 = _212 * _212;
float param = max(dot(N, _198), 0.0);
float param_1 = _216;
float param_2 = max(dot(N, V), 9.9999997473787516355514526367188e-05);
float param_3 = _187;
float param_4 = _216;
float param_5 = max(dot(V, _198), 0.0);
vec3 param_6 = mix(vec3(0.039999999105930328369140625), base_color, vec3(metallic));
vec3 _243 = pbrFresnelSchlick(param_5, param_6);
return ((((((vec3(1.0) - _243) * (1.0 - metallic)) * base_color) * vec3(0.3183098733425140380859375)) + (_243 * (pbrDistributionGGX(param, param_1) * pbrVisibilitySmithCorrelated(param_2, param_3, param_4)))) * sun_radiance) * _187;
}
vec3 pbrEvaluateShIrradiance(vec3 N, vec4 sh[9])
{
vec3 _398 = ((((((((sh[0].xyz * 0.2820948064327239990234375) + (sh[1].xyz * ((-0.48860251903533935546875) * N.y))) + (sh[2].xyz * (0.48860251903533935546875 * N.z))) + (sh[3].xyz * ((-0.48860251903533935546875) * N.x))) + (sh[4].xyz * ((1.09254848957061767578125 * N.x) * N.y))) + (sh[5].xyz * (((-1.09254848957061767578125) * N.y) * N.z))) + (sh[6].xyz * (0.3153915703296661376953125 * (((3.0 * N.z) * N.z) - 1.0)))) + (sh[7].xyz * (((-1.09254848957061767578125) * N.x) * N.z))) + (sh[8].xyz * (0.546274244785308837890625 * ((N.x * N.x) - (N.y * N.y))));
return _398;
}
vec3 pbrEvaluateIbl(vec3 N_world, vec3 V_world, vec3 base_color, float metallic, float roughness, vec4 sh[9], float max_lod, samplerCube SPIRV_Cross_Combinedtex_spec_cubesmp_spec_cube, sampler2D SPIRV_Cross_Combinedtex_brdf_lutsmp_brdf_lut)
{
float _405 = clamp(dot(N_world, V_world), 9.9999997473787516355514526367188e-05, 1.0);
vec3 _415 = mix(vec3(0.039999999105930328369140625), base_color, vec3(metallic));
vec3 param = N_world;
vec4 param_1[9] = sh;
vec4 _481 = texture(SPIRV_Cross_Combinedtex_brdf_lutsmp_brdf_lut, vec2(_405, roughness));
return (((((vec3(1.0) - (_415 + ((max(vec3(1.0 - roughness), _415) - _415) * pow(max(0.0, 1.0 - _405), 5.0)))) * (1.0 - metallic)) * base_color) * max(pbrEvaluateShIrradiance(param, param_1), vec3(0.0))) * vec3(0.3183098733425140380859375)) + (textureLod(SPIRV_Cross_Combinedtex_spec_cubesmp_spec_cube, reflect(-V_world, N_world), roughness * max_lod).xyz * ((_415 * _481.x) + vec3(_481.y)));
}
vec3 pbrEvaluateAmbient(bool iblEnabled, vec3 N_world, vec3 V_world, vec3 base_color, float metallic, float roughness, float flat_strength, vec4 sh[9], float max_lod, samplerCube SPIRV_Cross_Combinedtex_spec_cubesmp_spec_cube, sampler2D SPIRV_Cross_Combinedtex_brdf_lutsmp_brdf_lut)
{
vec3 result = base_color * flat_strength;
if (iblEnabled)
{
vec3 param = N_world;
vec3 param_1 = V_world;
vec3 param_2 = base_color;
float param_3 = metallic;
float param_4 = roughness;
vec4 param_5[9] = sh;
float param_6 = max_lod;
result = pbrEvaluateIbl(param, param_1, param_2, param_3, param_4, param_5, param_6, SPIRV_Cross_Combinedtex_spec_cubesmp_spec_cube, SPIRV_Cross_Combinedtex_brdf_lutsmp_brdf_lut);
}
return result;
}
void main()
{
vec3 _895 = dFdx(v_view_pos);
vec3 _898 = dFdy(v_view_pos);
vec3 _907 = normalize(cross(_898 * (-_706.cascade_far_view_z.w), _895));
float _912 = -v_view_pos.z;
if (_706.flags.x == 1)
{
float _923 = clamp(v_view_pos.z * (-0.0199999995529651641845703125), 0.0, 1.0);
out_color = vec4(_923, _923, _923, 1.0);
return;
}
if (_706.flags.x == 2)
{
int cascade = 2;
if (_912 < _706.cascade_far_view_z.x)
{
cascade = 0;
}
else
{
if (_912 < _706.cascade_far_view_z.y)
{
cascade = 1;
}
}
vec4 _958 = _706.cascade_matrices[cascade] * vec4(v_world_pos, 1.0);
vec3 _965 = _958.xyz / vec3(_958.w);
vec3 _982 = vec3((_965.x * 0.5) + 0.5, ((_965.y * _706.cascade_far_view_z.w) * 0.5) + 0.5, _965.z);
bool _986 = any(lessThan(_982, vec3(0.0)));
bool _993;
if (!_986)
{
_993 = any(greaterThan(_982, vec3(1.0)));
}
else
{
_993 = _986;
}
vec3 tint = vec3(1.0);
if (!_993)
{
if (cascade == 0)
{
tint = vec3(1.0, 0.4000000059604644775390625, 0.4000000059604644775390625);
}
else
{
if (cascade == 1)
{
tint = vec3(0.4000000059604644775390625, 1.0, 0.4000000059604644775390625);
}
else
{
tint = vec3(0.4000000059604644775390625, 0.4000000059604644775390625, 1.0);
}
}
}
out_color = vec4(tint, 1.0);
return;
}
if (_706.flags.x == 3)
{
out_color = vec4((_907 * 0.5) + vec3(0.5), 1.0);
return;
}
vec4 _1053 = textureLod(tex_ao_smp_ao, gl_FragCoord.xy / vec2(textureSize(tex_ao_smp_ao, 0)), 0.0);
float _1054 = _1053.x;
if (_706.flags.x == 4)
{
out_color = vec4(_1054, _1054, _1054, 1.0);
return;
}
vec3 _1072 = normalize(_706.sun_dir_view.xyz);
vec3 param = v_world_pos;
float param_1 = max(dot(_907, _1072), 0.0);
float param_2 = _912;
vec3 param_3 = _907;
vec3 param_4 = normalize(-v_view_pos);
vec3 param_5 = _1072;
vec3 param_6 = _706.sun_color.xyz * sampleShadowCascaded(param, param_1, param_2);
vec3 param_7 = v_base_color.xyz;
float param_8 = v_material.x;
float param_9 = v_material.y;
bool param_10 = _706.ibl_params.y > 0.5;
vec3 param_11 = normalize(transpose(mat3(_706.view[0].xyz, _706.view[1].xyz, _706.view[2].xyz)) * _907);
vec3 param_12 = normalize(_706.camera_pos_world.xyz - v_world_pos);
vec3 param_13 = v_base_color.xyz;
float param_14 = v_material.x;
float param_15 = v_material.y;
float param_16 = _706.sun_color.w;
vec4 param_17[9];
param_17[0] = _706.sh[0];
param_17[1] = _706.sh[1];
param_17[2] = _706.sh[2];
param_17[3] = _706.sh[3];
param_17[4] = _706.sh[4];
param_17[5] = _706.sh[5];
param_17[6] = _706.sh[6];
param_17[7] = _706.sh[7];
param_17[8] = _706.sh[8];
float param_18 = _706.ibl_params.x;
out_color = vec4((brdf_evaluate(param_3, param_4, param_5, param_6, param_7, param_8, param_9) + (pbrEvaluateAmbient(param_10, param_11, param_12, param_13, param_14, param_15, param_16, param_17, param_18, tex_ibl_spec_smp_ibl_spec, tex_brdf_lut_smp_brdf_lut) * _1054)) * v_base_color.w, v_base_color.w);
}
*/
static const uint8_t fs_source_glsl430[11675] = {
0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x34,0x33,0x30,0x0a,0x0a,0x73,0x74,
0x72,0x75,0x63,0x74,0x20,0x75,0x62,0x5f,0x70,0x61,0x73,0x73,0x0a,0x7b,0x0a,0x20,
0x20,0x20,0x20,0x76,0x65,0x63,0x34,0x20,0x73,0x75,0x6e,0x5f,0x64,0x69,0x72,0x5f,
0x76,0x69,0x65,0x77,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x34,0x20,0x73,
0x75,0x6e,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x76,
0x65,0x63,0x34,0x20,0x66,0x6c,0x61,0x67,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,
0x65,0x63,0x34,0x20,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,
0x76,0x69,0x65,0x77,0x5f,0x7a,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6d,0x61,0x74,0x34,
0x20,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x6d,0x61,0x74,0x72,0x69,0x63,0x65,
0x73,0x5b,0x33,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6d,0x61,0x74,0x34,0x20,0x76,
0x69,0x65,0x77,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x34,0x20,0x63,0x61,
0x6d,0x65,0x72,0x61,0x5f,0x70,0x6f,0x73,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x34,0x20,0x73,0x68,0x5b,0x39,0x5d,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x34,0x20,0x69,0x62,0x6c,0x5f,0x70,0x61,0x72,
0x61,0x6d,0x73,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d,
0x20,0x75,0x62,0x5f,0x70,0x61,0x73,0x73,0x20,0x5f,0x37,0x30,0x36,0x3b,0x0a,0x0a,
0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67,0x20,0x3d,
0x20,0x30,0x29,0x20,0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d,0x20,0x73,0x61,0x6d,0x70,
0x6c,0x65,0x72,0x32,0x44,0x20,0x74,0x65,0x78,0x5f,0x61,0x6f,0x5f,0x73,0x6d,0x70,
0x5f,0x61,0x6f,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x62,0x69,0x6e,0x64,
0x69,0x6e,0x67,0x20,0x3d,0x20,0x31,0x29,0x20,0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d,
0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x32,0x44,0x41,0x72,0x72,0x61,0x79,0x53,
0x68,0x61,0x64,0x6f,0x77,0x20,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,
0x5f,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x3b,0x0a,0x6c,0x61,0x79,
0x6f,0x75,0x74,0x28,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67,0x20,0x3d,0x20,0x32,0x29,
0x20,0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,
0x43,0x75,0x62,0x65,0x20,0x74,0x65,0x78,0x5f,0x69,0x62,0x6c,0x5f,0x73,0x70,0x65,
0x63,0x5f,0x73,0x6d,0x70,0x5f,0x69,0x62,0x6c,0x5f,0x73,0x70,0x65,0x63,0x3b,0x0a,
0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67,0x20,0x3d,
0x20,0x33,0x29,0x20,0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d,0x20,0x73,0x61,0x6d,0x70,
0x6c,0x65,0x72,0x32,0x44,0x20,0x74,0x65,0x78,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,
0x75,0x74,0x5f,0x73,0x6d,0x70,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x3b,
0x0a,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,
0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x33,0x20,0x76,
0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,
0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,
0x6f,0x75,0x74,0x20,0x76,0x65,0x63,0x34,0x20,0x6f,0x75,0x74,0x5f,0x63,0x6f,0x6c,
0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,
0x69,0x6f,0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x33,
0x20,0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x6c,0x61,
0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,
0x32,0x29,0x20,0x66,0x6c,0x61,0x74,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x34,0x20,
0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x6c,0x61,
0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,
0x33,0x29,0x20,0x66,0x6c,0x61,0x74,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x34,0x20,
0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x3b,0x0a,0x0a,0x66,0x6c,0x6f,
0x61,0x74,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x53,0x68,0x61,0x64,0x6f,0x77,0x50,
0x43,0x46,0x28,0x69,0x6e,0x74,0x20,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x2c,0x20,
0x76,0x65,0x63,0x33,0x20,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2c,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x20,0x62,0x69,0x61,0x73,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x35,0x32,0x38,0x20,0x3d,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x28,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x29,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x35,0x33,0x33,0x20,0x3d,0x20,0x6c,
0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x7a,0x20,0x2d,0x20,0x62,0x69,0x61,0x73,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x35,0x34,0x39,
0x20,0x3d,0x20,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x78,0x20,0x2d,0x20,
0x30,0x2e,0x30,0x30,0x30,0x34,0x38,0x38,0x32,0x38,0x31,0x32,0x35,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x35,0x35,0x33,0x20,0x3d,0x20,
0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x79,0x20,0x2d,0x20,0x30,0x2e,0x30,
0x30,0x30,0x34,0x38,0x38,0x32,0x38,0x31,0x32,0x35,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x35,0x38,0x33,0x20,0x3d,0x20,0x6c,0x69,0x67,
0x68,0x74,0x5f,0x75,0x76,0x2e,0x78,0x20,0x2b,0x20,0x30,0x2e,0x30,0x30,0x30,0x34,
0x38,0x38,0x32,0x38,0x31,0x32,0x35,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x20,0x5f,0x36,0x35,0x31,0x20,0x3d,0x20,0x6c,0x69,0x67,0x68,0x74,0x5f,
0x75,0x76,0x2e,0x79,0x20,0x2b,0x20,0x30,0x2e,0x30,0x30,0x30,0x34,0x38,0x38,0x32,
0x38,0x31,0x32,0x35,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,
0x20,0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x74,0x65,0x78,0x74,0x75,0x72,0x65,
0x28,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x5f,0x73,0x6d,0x70,0x5f,
0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x76,0x65,0x63,0x34,0x28,0x76,0x65,0x63,
0x34,0x28,0x5f,0x35,0x34,0x39,0x2c,0x20,0x5f,0x35,0x35,0x33,0x2c,0x20,0x5f,0x35,
0x32,0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,
0x35,0x33,0x33,0x29,0x29,0x20,0x2b,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x28,
0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x5f,0x73,0x6d,0x70,0x5f,0x73,
0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x76,0x65,0x63,0x34,0x28,0x76,0x65,0x63,0x34,
0x28,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x78,0x2c,0x20,0x5f,0x35,0x35,
0x33,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x2e,0x78,
0x79,0x7a,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x29,0x29,0x20,0x2b,0x20,0x74,0x65,
0x78,0x74,0x75,0x72,0x65,0x28,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,
0x5f,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x76,0x65,0x63,
0x34,0x28,0x76,0x65,0x63,0x34,0x28,0x5f,0x35,0x38,0x33,0x2c,0x20,0x5f,0x35,0x35,
0x33,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x2e,0x78,
0x79,0x7a,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x29,0x29,0x20,0x2b,0x20,0x74,0x65,
0x78,0x74,0x75,0x72,0x65,0x28,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,
0x5f,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x76,0x65,0x63,
0x34,0x28,0x76,0x65,0x63,0x34,0x28,0x5f,0x35,0x34,0x39,0x2c,0x20,0x6c,0x69,0x67,
0x68,0x74,0x5f,0x75,0x76,0x2e,0x79,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,
0x35,0x33,0x33,0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x29,
0x29,0x20,0x2b,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x28,0x74,0x65,0x78,0x5f,
0x73,0x68,0x61,0x64,0x6f,0x77,0x5f,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,
0x77,0x2c,0x20,0x76,0x65,0x63,0x34,0x28,0x76,0x65,0x63,0x34,0x28,0x6c,0x69,0x67,
0x68,0x74,0x5f,0x75,0x76,0x2e,0x78,0x79,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,
0x5f,0x35,0x33,0x33,0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,
0x29,0x29,0x20,0x2b,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x28,0x74,0x65,0x78,
0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x5f,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,
0x6f,0x77,0x2c,0x20,0x76,0x65,0x63,0x34,0x28,0x76,0x65,0x63,0x34,0x28,0x5f,0x35,
0x38,0x33,0x2c,0x20,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x79,0x2c,0x20,
0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x2e,0x78,0x79,0x7a,0x2c,
0x20,0x5f,0x35,0x33,0x33,0x29,0x29,0x29,0x20,0x2b,0x20,0x74,0x65,0x78,0x74,0x75,
0x72,0x65,0x28,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x5f,0x73,0x6d,
0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x76,0x65,0x63,0x34,0x28,0x76,
0x65,0x63,0x34,0x28,0x5f,0x35,0x34,0x39,0x2c,0x20,0x5f,0x36,0x35,0x31,0x2c,0x20,
0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x2e,0x78,0x79,0x7a,0x2c,
0x20,0x5f,0x35,0x33,0x33,0x29,0x29,0x29,0x20,0x2b,0x20,0x74,0x65,0x78,0x74,0x75,
0x72,0x65,0x28,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x5f,0x73,0x6d,
0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x76,0x65,0x63,0x34,0x28,0x76,
0x65,0x63,0x34,0x28,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x78,0x2c,0x20,
0x5f,0x36,0x35,0x31,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,
0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x29,0x29,0x20,0x2b,
0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x28,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,
0x64,0x6f,0x77,0x5f,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,
0x76,0x65,0x63,0x34,0x28,0x76,0x65,0x63,0x34,0x28,0x5f,0x35,0x38,0x33,0x2c,0x20,
0x5f,0x36,0x35,0x31,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,
0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x29,0x29,0x20,0x2a,
0x20,0x30,0x2e,0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x39,0x33,0x38,0x39,
0x35,0x33,0x33,0x39,0x39,0x36,0x35,0x38,0x32,0x30,0x33,0x31,0x32,0x35,0x3b,0x0a,
0x7d,0x0a,0x0a,0x66,0x6c,0x6f,0x61,0x74,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x43,
0x61,0x73,0x63,0x61,0x64,0x65,0x28,0x69,0x6e,0x74,0x20,0x63,0x61,0x73,0x63,0x61,
0x64,0x65,0x2c,0x20,0x76,0x65,0x63,0x33,0x20,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,
0x6f,0x73,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,
0x6c,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x34,0x20,0x5f,0x37,
0x31,0x36,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x63,0x61,0x73,0x63,0x61,0x64,
0x65,0x5f,0x6d,0x61,0x74,0x72,0x69,0x63,0x65,0x73,0x5b,0x63,0x61,0x73,0x63,0x61,
0x64,0x65,0x5d,0x20,0x2a,0x20,0x76,0x65,0x63,0x34,0x28,0x77,0x6f,0x72,0x6c,0x64,
0x5f,0x70,0x6f,0x73,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x76,0x65,0x63,0x33,0x20,0x5f,0x37,0x32,0x33,0x20,0x3d,0x20,0x5f,0x37,0x31,0x36,
0x2e,0x78,0x79,0x7a,0x20,0x2f,0x20,0x76,0x65,0x63,0x33,0x28,0x5f,0x37,0x31,0x36,
0x2e,0x77,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x5f,0x37,
0x34,0x31,0x20,0x3d,0x20,0x76,0x65,0x63,0x33,0x28,0x28,0x5f,0x37,0x32,0x33,0x2e,
0x78,0x20,0x2a,0x20,0x30,0x2e,0x35,0x29,0x20,0x2b,0x20,0x30,0x2e,0x35,0x2c,0x20,
0x28,0x28,0x5f,0x37,0x32,0x33,0x2e,0x79,0x20,0x2a,0x20,0x5f,0x37,0x30,0x36,0x2e,
0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,0x69,0x65,0x77,
0x5f,0x7a,0x2e,0x77,0x29,0x20,0x2a,0x20,0x30,0x2e,0x35,0x29,0x20,0x2b,0x20,0x30,
0x2e,0x35,0x2c,0x20,0x5f,0x37,0x32,0x33,0x2e,0x7a,0x29,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x62,0x6f,0x6f,0x6c,0x20,0x5f,0x37,0x34,0x35,0x20,0x3d,0x20,0x61,0x6e,0x79,
0x28,0x6c,0x65,0x73,0x73,0x54,0x68,0x61,0x6e,0x28,0x5f,0x37,0x34,0x31,0x2c,0x20,
0x76,0x65,0x63,0x33,0x28,0x30,0x2e,0x30,0x29,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x62,0x6f,0x6f,0x6c,0x20,0x5f,0x37,0x35,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x69,0x66,0x20,0x28,0x21,0x5f,0x37,0x34,0x35,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x37,0x35,0x32,0x20,0x3d,0x20,
0x61,0x6e,0x79,0x28,0x67,0x72,0x65,0x61,0x74,0x65,0x72,0x54,0x68,0x61,0x6e,0x28,
0x5f,0x37,0x34,0x31,0x2c,0x20,0x76,0x65,0x63,0x33,0x28,0x31,0x2e,0x30,0x29,0x29,
0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x65,0x6c,0x73,
0x65,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x5f,0x37,0x35,0x32,0x20,0x3d,0x20,0x5f,0x37,0x34,0x35,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x5f,0x37,0x35,0x32,0x29,
0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,
0x65,0x74,0x75,0x72,0x6e,0x20,0x31,0x2e,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x37,0x35,0x39,0x20,
0x3d,0x20,0x63,0x6c,0x61,0x6d,0x70,0x28,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x6c,0x2c,
0x20,0x30,0x2e,0x30,0x30,0x31,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x34,0x37,0x34,
0x39,0x37,0x34,0x35,0x31,0x33,0x30,0x35,0x33,0x38,0x39,0x34,0x30,0x34,0x32,0x39,
0x36,0x38,0x37,0x35,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x69,0x6e,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x20,0x3d,0x20,0x63,0x61,0x73,0x63,
0x61,0x64,0x65,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x31,0x20,0x3d,0x20,0x5f,0x37,0x34,0x31,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x20,
0x3d,0x20,0x63,0x6c,0x61,0x6d,0x70,0x28,0x30,0x2e,0x30,0x30,0x31,0x30,0x30,0x30,
0x30,0x30,0x30,0x30,0x34,0x37,0x34,0x39,0x37,0x34,0x35,0x31,0x33,0x30,0x35,0x33,
0x38,0x39,0x34,0x30,0x34,0x32,0x39,0x36,0x38,0x37,0x35,0x20,0x2a,0x20,0x28,0x73,
0x71,0x72,0x74,0x28,0x31,0x2e,0x30,0x20,0x2d,0x20,0x28,0x5f,0x37,0x35,0x39,0x20,
0x2a,0x20,0x5f,0x37,0x35,0x39,0x29,0x29,0x20,0x2f,0x20,0x5f,0x37,0x35,0x39,0x29,
0x2c,0x20,0x30,0x2e,0x30,0x30,0x30,0x35,0x30,0x30,0x30,0x30,0x30,0x30,0x32,0x33,
0x37,0x34,0x38,0x37,0x32,0x35,0x36,0x35,0x32,0x36,0x39,0x34,0x37,0x30,0x32,0x31,
0x34,0x38,0x34,0x33,0x37,0x35,0x2c,0x20,0x30,0x2e,0x30,0x35,0x30,0x30,0x30,0x30,
0x30,0x30,0x30,0x37,0x34,0x35,0x30,0x35,0x38,0x30,0x35,0x39,0x36,0x39,0x32,0x33,
0x38,0x32,0x38,0x31,0x32,0x35,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x20,0x70,0x63,0x66,0x20,0x3d,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x53,
0x68,0x61,0x64,0x6f,0x77,0x50,0x43,0x46,0x28,0x70,0x61,0x72,0x61,0x6d,0x2c,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,
0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x63,0x61,0x73,0x63,0x61,
0x64,0x65,0x20,0x3d,0x3d,0x20,0x32,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x32,0x20,0x5f,0x37,0x39,0x30,
0x20,0x3d,0x20,0x5f,0x37,0x34,0x31,0x2e,0x78,0x79,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x32,0x20,0x5f,0x37,0x39,0x35,0x20,0x3d,0x20,
0x6d,0x69,0x6e,0x28,0x5f,0x37,0x39,0x30,0x2c,0x20,0x76,0x65,0x63,0x32,0x28,0x31,
0x2e,0x30,0x29,0x20,0x2d,0x20,0x5f,0x37,0x39,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x70,0x63,0x66,0x20,0x3d,0x20,0x6d,0x69,0x78,0x28,0x31,
0x2e,0x30,0x2c,0x20,0x70,0x63,0x66,0x2c,0x20,0x63,0x6c,0x61,0x6d,0x70,0x28,0x6d,
0x69,0x6e,0x28,0x5f,0x37,0x39,0x35,0x2e,0x78,0x2c,0x20,0x5f,0x37,0x39,0x35,0x2e,
0x79,0x29,0x20,0x2a,0x20,0x31,0x30,0x2e,0x30,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20,
0x31,0x2e,0x30,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,
0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x63,0x66,0x3b,0x0a,0x7d,0x0a,0x0a,
0x66,0x6c,0x6f,0x61,0x74,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x53,0x68,0x61,0x64,
0x6f,0x77,0x43,0x61,0x73,0x63,0x61,0x64,0x65,0x64,0x28,0x76,0x65,0x63,0x33,0x20,
0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x6c,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,
0x76,0x69,0x65,0x77,0x5f,0x7a,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x69,0x6e,
0x74,0x20,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x3d,0x20,0x32,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x76,0x69,0x65,0x77,0x5f,0x7a,0x20,0x3c,0x20,
0x5f,0x37,0x30,0x36,0x2e,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,
0x5f,0x76,0x69,0x65,0x77,0x5f,0x7a,0x2e,0x78,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x63,0x61,0x73,0x63,0x61,0x64,0x65,
0x20,0x3d,0x20,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,
0x65,0x6c,0x73,0x65,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x76,0x69,0x65,0x77,0x5f,0x7a,0x20,0x3c,0x20,
0x5f,0x37,0x30,0x36,0x2e,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,
0x5f,0x76,0x69,0x65,0x77,0x5f,0x7a,0x2e,0x79,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x3d,0x20,0x31,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,
0x20,0x20,0x69,0x6e,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x20,0x3d,0x20,0x63,0x61,
0x73,0x63,0x61,0x64,0x65,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x20,0x3d,0x20,0x77,0x6f,0x72,0x6c,0x64,0x5f,
0x70,0x6f,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,
0x61,0x72,0x61,0x6d,0x5f,0x32,0x20,0x3d,0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x6c,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x73,0x68,0x61,0x64,
0x6f,0x77,0x20,0x3d,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x43,0x61,0x73,0x63,0x61,
0x64,0x65,0x28,0x70,0x61,0x72,0x61,0x6d,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,
0x31,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x29,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x69,0x66,0x20,0x28,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x3c,0x20,0x32,
0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x38,0x34,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,
0x3d,0x3d,0x20,0x30,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x38,0x34,0x30,
0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,
0x66,0x61,0x72,0x5f,0x76,0x69,0x65,0x77,0x5f,0x7a,0x2e,0x78,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x65,0x6c,0x73,0x65,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x38,0x34,0x30,0x20,
0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,
0x61,0x72,0x5f,0x76,0x69,0x65,0x77,0x5f,0x7a,0x2e,0x79,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x20,0x5f,0x38,0x35,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x3d,
0x3d,0x20,0x30,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x38,0x35,0x32,0x20,
0x3d,0x20,0x30,0x2e,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x6c,0x73,0x65,0x0a,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x5f,0x38,0x35,0x32,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,
0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,0x69,0x65,0x77,
0x5f,0x7a,0x2e,0x78,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x38,
0x36,0x33,0x20,0x3d,0x20,0x6d,0x69,0x78,0x28,0x5f,0x38,0x34,0x30,0x2c,0x20,0x5f,
0x38,0x35,0x32,0x2c,0x20,0x30,0x2e,0x31,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x31,
0x34,0x39,0x30,0x31,0x31,0x36,0x31,0x31,0x39,0x33,0x38,0x34,0x37,0x36,0x35,0x36,
0x32,0x35,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x20,
0x28,0x76,0x69,0x65,0x77,0x5f,0x7a,0x20,0x3e,0x20,0x5f,0x38,0x36,0x33,0x29,0x0a,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x6e,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,
0x33,0x20,0x3d,0x20,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x2b,0x20,0x31,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x76,0x65,0x63,
0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x34,0x20,0x3d,0x20,0x77,0x6f,0x72,0x6c,
0x64,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,
0x20,0x3d,0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x6c,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x73,0x68,0x61,0x64,0x6f,0x77,0x20,0x3d,
0x20,0x6d,0x69,0x78,0x28,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x73,0x61,0x6d,
0x70,0x6c,0x65,0x43,0x61,0x73,0x63,0x61,0x64,0x65,0x28,0x70,0x61,0x72,0x61,0x6d,
0x5f,0x33,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x34,0x2c,0x20,0x70,0x61,0x72,
0x61,0x6d,0x5f,0x35,0x29,0x2c,0x20,0x28,0x76,0x69,0x65,0x77,0x5f,0x7a,0x20,0x2d,
0x20,0x5f,0x38,0x36,0x33,0x29,0x20,0x2f,0x20,0x28,0x5f,0x38,0x34,0x30,0x20,0x2d,
0x20,0x5f,0x38,0x36,0x33,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,
0x75,0x72,0x6e,0x20,0x73,0x68,0x61,0x64,0x6f,0x77,0x3b,0x0a,0x7d,0x0a,0x0a,0x66,
0x6c,0x6f,0x61,0x74,0x20,0x70,0x62,0x72,0x44,0x69,0x73,0x74,0x72,0x69,0x62,0x75,
0x74,0x69,0x6f,0x6e,0x47,0x47,0x58,0x28,0x66,0x6c,0x6f,0x61,0x74,0x20,0x6e,0x5f,
0x64,0x6f,0x74,0x5f,0x68,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x61,0x6c,0x70,
0x68,0x61,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,
0x5f,0x31,0x30,0x36,0x20,0x3d,0x20,0x61,0x6c,0x70,0x68,0x61,0x20,0x2a,0x20,0x61,
0x6c,0x70,0x68,0x61,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,
0x5f,0x31,0x31,0x35,0x20,0x3d,0x20,0x28,0x28,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x68,
0x20,0x2a,0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x68,0x29,0x20,0x2a,0x20,0x28,0x5f,
0x31,0x30,0x36,0x20,0x2d,0x20,0x31,0x2e,0x30,0x29,0x29,0x20,0x2b,0x20,0x31,0x2e,
0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x5f,0x31,
0x30,0x36,0x20,0x2f,0x20,0x28,0x28,0x33,0x2e,0x31,0x34,0x31,0x35,0x39,0x32,0x37,
0x34,0x31,0x30,0x31,0x32,0x35,0x37,0x33,0x32,0x34,0x32,0x31,0x38,0x37,0x35,0x20,
0x2a,0x20,0x5f,0x31,0x31,0x35,0x29,0x20,0x2a,0x20,0x5f,0x31,0x31,0x35,0x29,0x3b,
0x0a,0x7d,0x0a,0x0a,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x62,0x72,0x56,0x69,0x73,
0x69,0x62,0x69,0x6c,0x69,0x74,0x79,0x53,0x6d,0x69,0x74,0x68,0x43,0x6f,0x72,0x72,
0x65,0x6c,0x61,0x74,0x65,0x64,0x28,0x66,0x6c,0x6f,0x61,0x74,0x20,0x6e,0x5f,0x64,
0x6f,0x74,0x5f,0x76,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x6e,0x5f,0x64,0x6f,
0x74,0x5f,0x6c,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x61,0x6c,0x70,0x68,0x61,
0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x31,
0x32,0x38,0x20,0x3d,0x20,0x61,0x6c,0x70,0x68,0x61,0x20,0x2a,0x20,0x61,0x6c,0x70,
0x68,0x61,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x31,
0x33,0x35,0x20,0x3d,0x20,0x31,0x2e,0x30,0x20,0x2d,0x20,0x5f,0x31,0x32,0x38,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x30,0x2e,0x35,0x20,
0x2f,0x20,0x28,0x28,0x28,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x6c,0x20,0x2a,0x20,0x73,
0x71,0x72,0x74,0x28,0x28,0x28,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x76,0x20,0x2a,0x20,
0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x76,0x29,0x20,0x2a,0x20,0x5f,0x31,0x33,0x35,0x29,
0x20,0x2b,0x20,0x5f,0x31,0x32,0x38,0x29,0x29,0x20,0x2b,0x20,0x28,0x6e,0x5f,0x64,
0x6f,0x74,0x5f,0x76,0x20,0x2a,0x20,0x73,0x71,0x72,0x74,0x28,0x28,0x28,0x6e,0x5f,
0x64,0x6f,0x74,0x5f,0x6c,0x20,0x2a,0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x6c,0x29,
0x20,0x2a,0x20,0x5f,0x31,0x33,0x35,0x29,0x20,0x2b,0x20,0x5f,0x31,0x32,0x38,0x29,
0x29,0x29,0x20,0x2b,0x20,0x39,0x2e,0x39,0x39,0x39,0x39,0x39,0x39,0x37,0x34,0x37,
0x33,0x37,0x38,0x37,0x35,0x31,0x36,0x33,0x35,0x35,0x35,0x31,0x34,0x35,0x32,0x36,
0x33,0x36,0x37,0x31,0x38,0x38,0x65,0x2d,0x30,0x36,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,
0x76,0x65,0x63,0x33,0x20,0x70,0x62,0x72,0x46,0x72,0x65,0x73,0x6e,0x65,0x6c,0x53,
0x63,0x68,0x6c,0x69,0x63,0x6b,0x28,0x66,0x6c,0x6f,0x61,0x74,0x20,0x76,0x5f,0x64,
0x6f,0x74,0x5f,0x68,0x2c,0x20,0x76,0x65,0x63,0x33,0x20,0x66,0x30,0x29,0x0a,0x7b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x31,0x36,0x34,0x20,
0x3d,0x20,0x31,0x2e,0x30,0x20,0x2d,0x20,0x76,0x5f,0x64,0x6f,0x74,0x5f,0x68,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x31,0x36,0x38,0x20,
0x3d,0x20,0x5f,0x31,0x36,0x34,0x20,0x2a,0x20,0x5f,0x31,0x36,0x34,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x66,0x30,0x20,0x2b,0x20,0x28,
0x28,0x76,0x65,0x63,0x33,0x28,0x31,0x2e,0x30,0x29,0x20,0x2d,0x20,0x66,0x30,0x29,
0x20,0x2a,0x20,0x28,0x28,0x5f,0x31,0x36,0x38,0x20,0x2a,0x20,0x5f,0x31,0x36,0x38,
0x29,0x20,0x2a,0x20,0x5f,0x31,0x36,0x34,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x76,
0x65,0x63,0x33,0x20,0x62,0x72,0x64,0x66,0x5f,0x65,0x76,0x61,0x6c,0x75,0x61,0x74,
0x65,0x28,0x76,0x65,0x63,0x33,0x20,0x4e,0x2c,0x20,0x76,0x65,0x63,0x33,0x20,0x56,
0x2c,0x20,0x76,0x65,0x63,0x33,0x20,0x4c,0x2c,0x20,0x76,0x65,0x63,0x33,0x20,0x73,
0x75,0x6e,0x5f,0x72,0x61,0x64,0x69,0x61,0x6e,0x63,0x65,0x2c,0x20,0x76,0x65,0x63,
0x33,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2c,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x20,0x6d,0x65,0x74,0x61,0x6c,0x6c,0x69,0x63,0x2c,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x20,0x72,0x6f,0x75,0x67,0x68,0x6e,0x65,0x73,0x73,0x29,0x0a,0x7b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x31,0x38,0x37,0x20,
0x3d,0x20,0x6d,0x61,0x78,0x28,0x64,0x6f,0x74,0x28,0x4e,0x2c,0x20,0x4c,0x29,0x2c,
0x20,0x30,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,
0x5f,0x31,0x39,0x38,0x20,0x3d,0x20,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,
0x28,0x56,0x20,0x2b,0x20,0x4c,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x20,0x5f,0x32,0x31,0x32,0x20,0x3d,0x20,0x6d,0x61,0x78,0x28,0x72,0x6f,
0x75,0x67,0x68,0x6e,0x65,0x73,0x73,0x2c,0x20,0x30,0x2e,0x30,0x34,0x35,0x30,0x30,
0x30,0x30,0x30,0x31,0x37,0x38,0x38,0x31,0x33,0x39,0x33,0x34,0x33,0x32,0x36,0x31,
0x37,0x31,0x38,0x37,0x35,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x20,0x5f,0x32,0x31,0x36,0x20,0x3d,0x20,0x5f,0x32,0x31,0x32,0x20,0x2a,0x20,
0x5f,0x32,0x31,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,
0x70,0x61,0x72,0x61,0x6d,0x20,0x3d,0x20,0x6d,0x61,0x78,0x28,0x64,0x6f,0x74,0x28,
0x4e,0x2c,0x20,0x5f,0x31,0x39,0x38,0x29,0x2c,0x20,0x30,0x2e,0x30,0x29,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,
0x31,0x20,0x3d,0x20,0x5f,0x32,0x31,0x36,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x20,0x3d,0x20,0x6d,0x61,
0x78,0x28,0x64,0x6f,0x74,0x28,0x4e,0x2c,0x20,0x56,0x29,0x2c,0x20,0x39,0x2e,0x39,
0x39,0x39,0x39,0x39,0x39,0x37,0x34,0x37,0x33,0x37,0x38,0x37,0x35,0x31,0x36,0x33,
0x35,0x35,0x35,0x31,0x34,0x35,0x32,0x36,0x33,0x36,0x37,0x31,0x38,0x38,0x65,0x2d,
0x30,0x35,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,
0x61,0x72,0x61,0x6d,0x5f,0x33,0x20,0x3d,0x20,0x5f,0x31,0x38,0x37,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x34,
0x20,0x3d,0x20,0x5f,0x32,0x31,0x36,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x20,0x3d,0x20,0x6d,0x61,0x78,
0x28,0x64,0x6f,0x74,0x28,0x56,0x2c,0x20,0x5f,0x31,0x39,0x38,0x29,0x2c,0x20,0x30,
0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x36,0x20,0x3d,0x20,0x6d,0x69,0x78,0x28,0x76,0x65,0x63,0x33,
0x28,0x30,0x2e,0x30,0x33,0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x31,0x30,0x35,0x39,
0x33,0x30,0x33,0x32,0x38,0x33,0x36,0x39,0x31,0x34,0x30,0x36,0x32,0x35,0x29,0x2c,
0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2c,0x20,0x76,0x65,0x63,
0x33,0x28,0x6d,0x65,0x74,0x61,0x6c,0x6c,0x69,0x63,0x29,0x29,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x5f,0x32,0x34,0x33,0x20,0x3d,0x20,0x70,0x62,
0x72,0x46,0x72,0x65,0x73,0x6e,0x65,0x6c,0x53,0x63,0x68,0x6c,0x69,0x63,0x6b,0x28,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x36,
0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x28,0x28,
0x28,0x28,0x28,0x28,0x76,0x65,0x63,0x33,0x28,0x31,0x2e,0x30,0x29,0x20,0x2d,0x20,
0x5f,0x32,0x34,0x33,0x29,0x20,0x2a,0x20,0x28,0x31,0x2e,0x30,0x20,0x2d,0x20,0x6d,
0x65,0x74,0x61,0x6c,0x6c,0x69,0x63,0x29,0x29,0x20,0x2a,0x20,0x62,0x61,0x73,0x65,
0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x29,0x20,0x2a,0x20,0x76,0x65,0x63,0x33,0x28,0x30,
0x2e,0x33,0x31,0x38,0x33,0x30,0x39,0x38,0x37,0x33,0x33,0x34,0x32,0x35,0x31,0x34,
0x30,0x33,0x38,0x30,0x38,0x35,0x39,0x33,0x37,0x35,0x29,0x29,0x20,0x2b,0x20,0x28,
0x5f,0x32,0x34,0x33,0x20,0x2a,0x20,0x28,0x70,0x62,0x72,0x44,0x69,0x73,0x74,0x72,
0x69,0x62,0x75,0x74,0x69,0x6f,0x6e,0x47,0x47,0x58,0x28,0x70,0x61,0x72,0x61,0x6d,
0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x29,0x20,0x2a,0x20,0x70,0x62,0x72,
0x56,0x69,0x73,0x69,0x62,0x69,0x6c,0x69,0x74,0x79,0x53,0x6d,0x69,0x74,0x68,0x43,
0x6f,0x72,0x72,0x65,0x6c,0x61,0x74,0x65,0x64,0x28,0x70,0x61,0x72,0x61,0x6d,0x5f,
0x32,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x33,0x2c,0x20,0x70,0x61,0x72,0x61,
0x6d,0x5f,0x34,0x29,0x29,0x29,0x29,0x20,0x2a,0x20,0x73,0x75,0x6e,0x5f,0x72,0x61,
0x64,0x69,0x61,0x6e,0x63,0x65,0x29,0x20,0x2a,0x20,0x5f,0x31,0x38,0x37,0x3b,0x0a,
0x7d,0x0a,0x0a,0x76,0x65,0x63,0x33,0x20,0x70,0x62,0x72,0x45,0x76,0x61,0x6c,0x75,
0x61,0x74,0x65,0x53,0x68,0x49,0x72,0x72,0x61,0x64,0x69,0x61,0x6e,0x63,0x65,0x28,
0x76,0x65,0x63,0x33,0x20,0x4e,0x2c,0x20,0x76,0x65,0x63,0x34,0x20,0x73,0x68,0x5b,
0x39,0x5d,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x5f,
0x33,0x39,0x38,0x20,0x3d,0x20,0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x73,0x68,
0x5b,0x30,0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x30,0x2e,0x32,0x38,0x32,0x30,
0x39,0x34,0x38,0x30,0x36,0x34,0x33,0x32,0x37,0x32,0x33,0x39,0x39,0x39,0x30,0x32,
0x33,0x34,0x33,0x37,0x35,0x29,0x20,0x2b,0x20,0x28,0x73,0x68,0x5b,0x31,0x5d,0x2e,
0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,0x28,0x2d,0x30,0x2e,0x34,0x38,0x38,0x36,0x30,
0x32,0x35,0x31,0x39,0x30,0x33,0x35,0x33,0x33,0x39,0x33,0x35,0x35,0x34,0x36,0x38,
0x37,0x35,0x29,0x20,0x2a,0x20,0x4e,0x2e,0x79,0x29,0x29,0x29,0x20,0x2b,0x20,0x28,
0x73,0x68,0x5b,0x32,0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,0x30,0x2e,0x34,
0x38,0x38,0x36,0x30,0x32,0x35,0x31,0x39,0x30,0x33,0x35,0x33,0x33,0x39,0x33,0x35,
0x35,0x34,0x36,0x38,0x37,0x35,0x20,0x2a,0x20,0x4e,0x2e,0x7a,0x29,0x29,0x29,0x20,
0x2b,0x20,0x28,0x73,0x68,0x5b,0x33,0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,
0x28,0x2d,0x30,0x2e,0x34,0x38,0x38,0x36,0x30,0x32,0x35,0x31,0x39,0x30,0x33,0x35,
0x33,0x33,0x39,0x33,0x35,0x35,0x34,0x36,0x38,0x37,0x35,0x29,0x20,0x2a,0x20,0x4e,
0x2e,0x78,0x29,0x29,0x29,0x20,0x2b,0x20,0x28,0x73,0x68,0x5b,0x34,0x5d,0x2e,0x78,
0x79,0x7a,0x20,0x2a,0x20,0x28,0x28,0x31,0x2e,0x30,0x39,0x32,0x35,0x34,0x38,0x34,
0x38,0x39,0x35,0x37,0x30,0x36,0x31,0x37,0x36,0x37,0x35,0x37,0x38,0x31,0x32,0x35,
0x20,0x2a,0x20,0x4e,0x2e,0x78,0x29,0x20,0x2a,0x20,0x4e,0x2e,0x79,0x29,0x29,0x29,
0x20,0x2b,0x20,0x28,0x73,0x68,0x5b,0x35,0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,
0x28,0x28,0x28,0x2d,0x31,0x2e,0x30,0x39,0x32,0x35,0x34,0x38,0x34,0x38,0x39,0x35,
0x37,0x30,0x36,0x31,0x37,0x36,0x37,0x35,0x37,0x38,0x31,0x32,0x35,0x29,0x20,0x2a,
0x20,0x4e,0x2e,0x79,0x29,0x20,0x2a,0x20,0x4e,0x2e,0x7a,0x29,0x29,0x29,0x20,0x2b,
0x20,0x28,0x73,0x68,0x5b,0x36,0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,0x30,
0x2e,0x33,0x31,0x35,0x33,0x39,0x31,0x35,0x37,0x30,0x33,0x32,0x39,0x36,0x36,0x36,
0x31,0x33,0x37,0x36,0x39,0x35,0x33,0x31,0x32,0x35,0x20,0x2a,0x20,0x28,0x28,0x28,
0x33,0x2e,0x30,0x20,0x2a,0x20,0x4e,0x2e,0x7a,0x29,0x20,0x2a,0x20,0x4e,0x2e,0x7a,
0x29,0x20,0x2d,0x20,0x31,0x2e,0x30,0x29,0x29,0x29,0x29,0x20,0x2b,0x20,0x28,0x73,
0x68,0x5b,0x37,0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,0x28,0x28,0x2d,0x31,
0x2e,0x30,0x39,0x32,0x35,0x34,0x38,0x34,0x38,0x39,0x35,0x37,0x30,0x36,0x31,0x37,
0x36,0x37,0x35,0x37,0x38,0x31,0x32,0x35,0x29,0x20,0x2a,0x20,0x4e,0x2e,0x78,0x29,
0x20,0x2a,0x20,0x4e,0x2e,0x7a,0x29,0x29,0x29,0x20,0x2b,0x20,0x28,0x73,0x68,0x5b,
0x38,0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,0x30,0x2e,0x35,0x34,0x36,0x32,
0x37,0x34,0x32,0x34,0x34,0x37,0x38,0x35,0x33,0x30,0x38,0x38,0x33,0x37,0x38,0x39,
0x30,0x36,0x32,0x35,0x20,0x2a,0x20,0x28,0x28,0x4e,0x2e,0x78,0x20,0x2a,0x20,0x4e,
0x2e,0x78,0x29,0x20,0x2d,0x20,0x28,0x4e,0x2e,0x79,0x20,0x2a,0x20,0x4e,0x2e,0x79,
0x29,0x29,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,
0x20,0x5f,0x33,0x39,0x38,0x3b,0x0a,0x7d,0x0a,0x0a,0x76,0x65,0x63,0x33,0x20,0x70,
0x62,0x72,0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x65,0x49,0x62,0x6c,0x28,0x76,0x65,
0x63,0x33,0x20,0x4e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2c,0x20,0x76,0x65,0x63,0x33,
0x20,0x56,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2c,0x20,0x76,0x65,0x63,0x33,0x20,0x62,
0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x20,0x6d,0x65,0x74,0x61,0x6c,0x6c,0x69,0x63,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x20,0x72,0x6f,0x75,0x67,0x68,0x6e,0x65,0x73,0x73,0x2c,0x20,0x76,0x65,0x63,0x34,
0x20,0x73,0x68,0x5b,0x39,0x5d,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x6d,0x61,
0x78,0x5f,0x6c,0x6f,0x64,0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x43,0x75,
0x62,0x65,0x20,0x53,0x50,0x49,0x52,0x56,0x5f,0x43,0x72,0x6f,0x73,0x73,0x5f,0x43,
0x6f,0x6d,0x62,0x69,0x6e,0x65,0x64,0x74,0x65,0x78,0x5f,0x73,0x70,0x65,0x63,0x5f,
0x63,0x75,0x62,0x65,0x73,0x6d,0x70,0x5f,0x73,0x70,0x65,0x63,0x5f,0x63,0x75,0x62,
0x65,0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x32,0x44,0x20,0x53,0x50,0x49,
0x52,0x56,0x5f,0x43,0x72,0x6f,0x73,0x73,0x5f,0x43,0x6f,0x6d,0x62,0x69,0x6e,0x65,
0x64,0x74,0x65,0x78,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x73,0x6d,0x70,
0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x34,0x30,0x35,0x20,0x3d,0x20,0x63,0x6c,
0x61,0x6d,0x70,0x28,0x64,0x6f,0x74,0x28,0x4e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2c,
0x20,0x56,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x29,0x2c,0x20,0x39,0x2e,0x39,0x39,0x39,
0x39,0x39,0x39,0x37,0x34,0x37,0x33,0x37,0x38,0x37,0x35,0x31,0x36,0x33,0x35,0x35,
0x35,0x31,0x34,0x35,0x32,0x36,0x33,0x36,0x37,0x31,0x38,0x38,0x65,0x2d,0x30,0x35,
0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,
0x20,0x5f,0x34,0x31,0x35,0x20,0x3d,0x20,0x6d,0x69,0x78,0x28,0x76,0x65,0x63,0x33,
0x28,0x30,0x2e,0x30,0x33,0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x31,0x30,0x35,0x39,
0x33,0x30,0x33,0x32,0x38,0x33,0x36,0x39,0x31,0x34,0x30,0x36,0x32,0x35,0x29,0x2c,
0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2c,0x20,0x76,0x65,0x63,
0x33,0x28,0x6d,0x65,0x74,0x61,0x6c,0x6c,0x69,0x63,0x29,0x29,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x20,0x3d,0x20,0x4e,
0x5f,0x77,0x6f,0x72,0x6c,0x64,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x34,
0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x5b,0x39,0x5d,0x20,0x3d,0x20,0x73,0x68,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x34,0x20,0x5f,0x34,0x38,0x31,0x20,
0x3d,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x28,0x53,0x50,0x49,0x52,0x56,0x5f,
0x43,0x72,0x6f,0x73,0x73,0x5f,0x43,0x6f,0x6d,0x62,0x69,0x6e,0x65,0x64,0x74,0x65,
0x78,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x73,0x6d,0x70,0x5f,0x62,0x72,
0x64,0x66,0x5f,0x6c,0x75,0x74,0x2c,0x20,0x76,0x65,0x63,0x32,0x28,0x5f,0x34,0x30,
0x35,0x2c,0x20,0x72,0x6f,0x75,0x67,0x68,0x6e,0x65,0x73,0x73,0x29,0x29,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x28,0x28,0x28,0x28,0x28,
0x76,0x65,0x63,0x33,0x28,0x31,0x2e,0x30,0x29,0x20,0x2d,0x20,0x28,0x5f,0x34,0x31,
0x35,0x20,0x2b,0x20,0x28,0x28,0x6d,0x61,0x78,0x28,0x76,0x65,0x63,0x33,0x28,0x31,
0x2e,0x30,0x20,0x2d,0x20,0x72,0x6f,0x75,0x67,0x68,0x6e,0x65,0x73,0x73,0x29,0x2c,
0x20,0x5f,0x34,0x31,0x35,0x29,0x20,0x2d,0x20,0x5f,0x34,0x31,0x35,0x29,0x20,0x2a,
0x20,0x70,0x6f,0x77,0x28,0x6d,0x61,0x78,0x28,0x30,0x2e,0x30,0x2c,0x20,0x31,0x2e,
0x30,0x20,0x2d,0x20,0x5f,0x34,0x30,0x35,0x29,0x2c,0x20,0x35,0x2e,0x30,0x29,0x29,
0x29,0x29,0x20,0x2a,0x20,0x28,0x31,0x2e,0x30,0x20,0x2d,0x20,0x6d,0x65,0x74,0x61,
0x6c,0x6c,0x69,0x63,0x29,0x29,0x20,0x2a,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,
0x6c,0x6f,0x72,0x29,0x20,0x2a,0x20,0x6d,0x61,0x78,0x28,0x70,0x62,0x72,0x45,0x76,
0x61,0x6c,0x75,0x61,0x74,0x65,0x53,0x68,0x49,0x72,0x72,0x61,0x64,0x69,0x61,0x6e,
0x63,0x65,0x28,0x70,0x61,0x72,0x61,0x6d,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,
0x31,0x29,0x2c,0x20,0x76,0x65,0x63,0x33,0x28,0x30,0x2e,0x30,0x29,0x29,0x29,0x20,
0x2a,0x20,0x76,0x65,0x63,0x33,0x28,0x30,0x2e,0x33,0x31,0x38,0x33,0x30,0x39,0x38,
0x37,0x33,0x33,0x34,0x32,0x35,0x31,0x34,0x30,0x33,0x38,0x30,0x38,0x35,0x39,0x33,
0x37,0x35,0x29,0x29,0x20,0x2b,0x20,0x28,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x4c,
0x6f,0x64,0x28,0x53,0x50,0x49,0x52,0x56,0x5f,0x43,0x72,0x6f,0x73,0x73,0x5f,0x43,
0x6f,0x6d,0x62,0x69,0x6e,0x65,0x64,0x74,0x65,0x78,0x5f,0x73,0x70,0x65,0x63,0x5f,
0x63,0x75,0x62,0x65,0x73,0x6d,0x70,0x5f,0x73,0x70,0x65,0x63,0x5f,0x63,0x75,0x62,
0x65,0x2c,0x20,0x72,0x65,0x66,0x6c,0x65,0x63,0x74,0x28,0x2d,0x56,0x5f,0x77,0x6f,
0x72,0x6c,0x64,0x2c,0x20,0x4e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x29,0x2c,0x20,0x72,
0x6f,0x75,0x67,0x68,0x6e,0x65,0x73,0x73,0x20,0x2a,0x20,0x6d,0x61,0x78,0x5f,0x6c,
0x6f,0x64,0x29,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,0x28,0x5f,0x34,0x31,0x35,
0x20,0x2a,0x20,0x5f,0x34,0x38,0x31,0x2e,0x78,0x29,0x20,0x2b,0x20,0x76,0x65,0x63,
0x33,0x28,0x5f,0x34,0x38,0x31,0x2e,0x79,0x29,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,
0x76,0x65,0x63,0x33,0x20,0x70,0x62,0x72,0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x65,
0x41,0x6d,0x62,0x69,0x65,0x6e,0x74,0x28,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x62,0x6c,
0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x2c,0x20,0x76,0x65,0x63,0x33,0x20,0x4e,0x5f,
0x77,0x6f,0x72,0x6c,0x64,0x2c,0x20,0x76,0x65,0x63,0x33,0x20,0x56,0x5f,0x77,0x6f,
0x72,0x6c,0x64,0x2c,0x20,0x76,0x65,0x63,0x33,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,
0x6f,0x6c,0x6f,0x72,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x6d,0x65,0x74,0x61,
0x6c,0x6c,0x69,0x63,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x72,0x6f,0x75,0x67,
0x68,0x6e,0x65,0x73,0x73,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x66,0x6c,0x61,
0x74,0x5f,0x73,0x74,0x72,0x65,0x6e,0x67,0x74,0x68,0x2c,0x20,0x76,0x65,0x63,0x34,
0x20,0x73,0x68,0x5b,0x39,0x5d,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x6d,0x61,
0x78,0x5f,0x6c,0x6f,0x64,0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x43,0x75,
0x62,0x65,0x20,0x53,0x50,0x49,0x52,0x56,0x5f,0x43,0x72,0x6f,0x73,0x73,0x5f,0x43,
0x6f,0x6d,0x62,0x69,0x6e,0x65,0x64,0x74,0x65,0x78,0x5f,0x73,0x70,0x65,0x63,0x5f,
0x63,0x75,0x62,0x65,0x73,0x6d,0x70,0x5f,0x73,0x70,0x65,0x63,0x5f,0x63,0x75,0x62,
0x65,0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x32,0x44,0x20,0x53,0x50,0x49,
0x52,0x56,0x5f,0x43,0x72,0x6f,0x73,0x73,0x5f,0x43,0x6f,0x6d,0x62,0x69,0x6e,0x65,
0x64,0x74,0x65,0x78,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x73,0x6d,0x70,
0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,
0x20,0x76,0x65,0x63,0x33,0x20,0x72,0x65,0x73,0x75,0x6c,0x74,0x20,0x3d,0x20,0x62,
0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x2a,0x20,0x66,0x6c,0x61,0x74,
0x5f,0x73,0x74,0x72,0x65,0x6e,0x67,0x74,0x68,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,
0x66,0x20,0x28,0x69,0x62,0x6c,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x29,0x0a,0x20,
0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x76,0x65,0x63,
0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x20,0x3d,0x20,0x4e,0x5f,0x77,0x6f,0x72,0x6c,
0x64,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x20,0x3d,0x20,0x56,0x5f,0x77,0x6f,0x72,0x6c,
0x64,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x20,0x3d,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,
0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x33,0x20,0x3d,0x20,0x6d,0x65,
0x74,0x61,0x6c,0x6c,0x69,0x63,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x34,0x20,0x3d,0x20,
0x72,0x6f,0x75,0x67,0x68,0x6e,0x65,0x73,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x76,0x65,0x63,0x34,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x5b,
0x39,0x5d,0x20,0x3d,0x20,0x73,0x68,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x36,0x20,0x3d,
0x20,0x6d,0x61,0x78,0x5f,0x6c,0x6f,0x64,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x72,0x65,0x73,0x75,0x6c,0x74,0x20,0x3d,0x20,0x70,0x62,0x72,0x45,0x76,
0x61,0x6c,0x75,0x61,0x74,0x65,0x49,0x62,0x6c,0x28,0x70,0x61,0x72,0x61,0x6d,0x2c,
0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,
0x32,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x33,0x2c,0x20,0x70,0x61,0x72,0x61,
0x6d,0x5f,0x34,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x2c,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x36,0x2c,0x20,0x53,0x50,0x49,0x52,0x56,0x5f,0x43,0x72,0x6f,
0x73,0x73,0x5f,0x43,0x6f,0x6d,0x62,0x69,0x6e,0x65,0x64,0x74,0x65,0x78,0x5f,0x73,
0x70,0x65,0x63,0x5f,0x63,0x75,0x62,0x65,0x73,0x6d,0x70,0x5f,0x73,0x70,0x65,0x63,
0x5f,0x63,0x75,0x62,0x65,0x2c,0x20,0x53,0x50,0x49,0x52,0x56,0x5f,0x43,0x72,0x6f,
0x73,0x73,0x5f,0x43,0x6f,0x6d,0x62,0x69,0x6e,0x65,0x64,0x74,0x65,0x78,0x5f,0x62,
0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x73,0x6d,0x70,0x5f,0x62,0x72,0x64,0x66,0x5f,
0x6c,0x75,0x74,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,
0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x72,0x65,0x73,0x75,0x6c,0x74,0x3b,0x0a,0x7d,
0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d,0x61,0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,
0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x5f,0x38,0x39,0x35,0x20,0x3d,0x20,
0x64,0x46,0x64,0x78,0x28,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x29,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x5f,0x38,0x39,0x38,0x20,
0x3d,0x20,0x64,0x46,0x64,0x79,0x28,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,
0x73,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x5f,0x39,0x30,
0x37,0x20,0x3d,0x20,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,0x63,0x72,
0x6f,0x73,0x73,0x28,0x5f,0x38,0x39,0x38,0x20,0x2a,0x20,0x28,0x2d,0x5f,0x37,0x30,
0x36,0x2e,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,0x69,
0x65,0x77,0x5f,0x7a,0x2e,0x77,0x29,0x2c,0x20,0x5f,0x38,0x39,0x35,0x29,0x29,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x39,0x31,0x32,0x20,
0x3d,0x20,0x2d,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x2e,0x7a,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x5f,0x37,0x30,0x36,0x2e,0x66,0x6c,
0x61,0x67,0x73,0x2e,0x78,0x20,0x3d,0x3d,0x20,0x31,0x29,0x0a,0x20,0x20,0x20,0x20,
0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,
0x5f,0x39,0x32,0x33,0x20,0x3d,0x20,0x63,0x6c,0x61,0x6d,0x70,0x28,0x76,0x5f,0x76,
0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x2e,0x7a,0x20,0x2a,0x20,0x28,0x2d,0x30,0x2e,
0x30,0x31,0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x35,0x35,0x32,0x39,0x36,0x35,0x31,
0x36,0x34,0x31,0x38,0x34,0x35,0x37,0x30,0x33,0x31,0x32,0x35,0x29,0x2c,0x20,0x30,
0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x6f,0x75,0x74,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x76,0x65,
0x63,0x34,0x28,0x5f,0x39,0x32,0x33,0x2c,0x20,0x5f,0x39,0x32,0x33,0x2c,0x20,0x5f,
0x39,0x32,0x33,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,
0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x5f,0x37,0x30,0x36,0x2e,0x66,0x6c,
0x61,0x67,0x73,0x2e,0x78,0x20,0x3d,0x3d,0x20,0x32,0x29,0x0a,0x20,0x20,0x20,0x20,
0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x6e,0x74,0x20,0x63,0x61,
0x73,0x63,0x61,0x64,0x65,0x20,0x3d,0x20,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x5f,0x39,0x31,0x32,0x20,0x3c,0x20,0x5f,0x37,
0x30,0x36,0x2e,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,
0x69,0x65,0x77,0x5f,0x7a,0x2e,0x78,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x63,
0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x3d,0x20,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x6c,
0x73,0x65,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x5f,0x39,0x31,
0x32,0x20,0x3c,0x20,0x5f,0x37,0x30,0x36,0x2e,0x63,0x61,0x73,0x63,0x61,0x64,0x65,
0x5f,0x66,0x61,0x72,0x5f,0x76,0x69,0x65,0x77,0x5f,0x7a,0x2e,0x79,0x29,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x63,0x61,0x73,
0x63,0x61,0x64,0x65,0x20,0x3d,0x20,0x31,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x34,0x20,0x5f,
0x39,0x35,0x38,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x63,0x61,0x73,0x63,0x61,
0x64,0x65,0x5f,0x6d,0x61,0x74,0x72,0x69,0x63,0x65,0x73,0x5b,0x63,0x61,0x73,0x63,
0x61,0x64,0x65,0x5d,0x20,0x2a,0x20,0x76,0x65,0x63,0x34,0x28,0x76,0x5f,0x77,0x6f,
0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x5f,0x39,0x36,0x35,
0x20,0x3d,0x20,0x5f,0x39,0x35,0x38,0x2e,0x78,0x79,0x7a,0x20,0x2f,0x20,0x76,0x65,
0x63,0x33,0x28,0x5f,0x39,0x35,0x38,0x2e,0x77,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x5f,0x39,0x38,0x32,0x20,0x3d,0x20,
0x76,0x65,0x63,0x33,0x28,0x28,0x5f,0x39,0x36,0x35,0x2e,0x78,0x20,0x2a,0x20,0x30,
0x2e,0x35,0x29,0x20,0x2b,0x20,0x30,0x2e,0x35,0x2c,0x20,0x28,0x28,0x5f,0x39,0x36,
0x35,0x2e,0x79,0x20,0x2a,0x20,0x5f,0x37,0x30,0x36,0x2e,0x63,0x61,0x73,0x63,0x61,
0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,0x69,0x65,0x77,0x5f,0x7a,0x2e,0x77,0x29,
0x20,0x2a,0x20,0x30,0x2e,0x35,0x29,0x20,0x2b,0x20,0x30,0x2e,0x35,0x2c,0x20,0x5f,
0x39,0x36,0x35,0x2e,0x7a,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x62,0x6f,0x6f,0x6c,0x20,0x5f,0x39,0x38,0x36,0x20,0x3d,0x20,0x61,0x6e,0x79,0x28,
0x6c,0x65,0x73,0x73,0x54,0x68,0x61,0x6e,0x28,0x5f,0x39,0x38,0x32,0x2c,0x20,0x76,
0x65,0x63,0x33,0x28,0x30,0x2e,0x30,0x29,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x5f,0x39,0x39,0x33,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x21,0x5f,0x39,0x38,0x36,
0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x39,0x39,0x33,0x20,0x3d,0x20,0x61,
0x6e,0x79,0x28,0x67,0x72,0x65,0x61,0x74,0x65,0x72,0x54,0x68,0x61,0x6e,0x28,0x5f,
0x39,0x38,0x32,0x2c,0x20,0x76,0x65,0x63,0x33,0x28,0x31,0x2e,0x30,0x29,0x29,0x29,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x65,0x6c,0x73,0x65,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,
0x39,0x39,0x33,0x20,0x3d,0x20,0x5f,0x39,0x38,0x36,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x76,0x65,
0x63,0x33,0x20,0x74,0x69,0x6e,0x74,0x20,0x3d,0x20,0x76,0x65,0x63,0x33,0x28,0x31,
0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x20,
0x28,0x21,0x5f,0x39,0x39,0x33,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,
0x20,0x28,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x3d,0x3d,0x20,0x30,0x29,0x0a,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x74,0x69,
0x6e,0x74,0x20,0x3d,0x20,0x76,0x65,0x63,0x33,0x28,0x31,0x2e,0x30,0x2c,0x20,0x30,
0x2e,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x35,0x39,0x36,0x30,0x34,0x36,0x34,
0x34,0x37,0x37,0x35,0x33,0x39,0x30,0x36,0x32,0x35,0x2c,0x20,0x30,0x2e,0x34,0x30,
0x30,0x30,0x30,0x30,0x30,0x30,0x35,0x39,0x36,0x30,0x34,0x36,0x34,0x34,0x37,0x37,
0x35,0x33,0x39,0x30,0x36,0x32,0x35,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x65,0x6c,0x73,0x65,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x63,0x61,0x73,0x63,0x61,
0x64,0x65,0x20,0x3d,0x3d,0x20,0x31,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x74,
0x69,0x6e,0x74,0x20,0x3d,0x20,0x76,0x65,0x63,0x33,0x28,0x30,0x2e,0x34,0x30,0x30,
0x30,0x30,0x30,0x30,0x30,0x35,0x39,0x36,0x30,0x34,0x36,0x34,0x34,0x37,0x37,0x35,
0x33,0x39,0x30,0x36,0x32,0x35,0x2c,0x20,0x31,0x2e,0x30,0x2c,0x20,0x30,0x2e,0x34,
0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x35,0x39,0x36,0x30,0x34,0x36,0x34,0x34,0x37,
0x37,0x35,0x33,0x39,0x30,0x36,0x32,0x35,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x6c,0x73,
0x65,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x74,0x69,0x6e,0x74,0x20,0x3d,0x20,0x76,
0x65,0x63,0x33,0x28,0x30,0x2e,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x35,0x39,
0x36,0x30,0x34,0x36,0x34,0x34,0x37,0x37,0x35,0x33,0x39,0x30,0x36,0x32,0x35,0x2c,
0x20,0x30,0x2e,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x35,0x39,0x36,0x30,0x34,
0x36,0x34,0x34,0x37,0x37,0x35,0x33,0x39,0x30,0x36,0x32,0x35,0x2c,0x20,0x31,0x2e,
0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,
0x3d,0x20,0x76,0x65,0x63,0x34,0x28,0x74,0x69,0x6e,0x74,0x2c,0x20,0x31,0x2e,0x30,
0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,
0x6e,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,
0x28,0x5f,0x37,0x30,0x36,0x2e,0x66,0x6c,0x61,0x67,0x73,0x2e,0x78,0x20,0x3d,0x3d,
0x20,0x33,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x6f,0x75,0x74,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x76,0x65,
0x63,0x34,0x28,0x28,0x5f,0x39,0x30,0x37,0x20,0x2a,0x20,0x30,0x2e,0x35,0x29,0x20,
0x2b,0x20,0x76,0x65,0x63,0x33,0x28,0x30,0x2e,0x35,0x29,0x2c,0x20,0x31,0x2e,0x30,
0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,
0x6e,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,
0x34,0x20,0x5f,0x31,0x30,0x35,0x33,0x20,0x3d,0x20,0x74,0x65,0x78,0x74,0x75,0x72,
0x65,0x4c,0x6f,0x64,0x28,0x74,0x65,0x78,0x5f,0x61,0x6f,0x5f,0x73,0x6d,0x70,0x5f,
0x61,0x6f,0x2c,0x20,0x67,0x6c,0x5f,0x46,0x72,0x61,0x67,0x43,0x6f,0x6f,0x72,0x64,
0x2e,0x78,0x79,0x20,0x2f,0x20,0x76,0x65,0x63,0x32,0x28,0x74,0x65,0x78,0x74,0x75,
0x72,0x65,0x53,0x69,0x7a,0x65,0x28,0x74,0x65,0x78,0x5f,0x61,0x6f,0x5f,0x73,0x6d,
0x70,0x5f,0x61,0x6f,0x2c,0x20,0x30,0x29,0x29,0x2c,0x20,0x30,0x2e,0x30,0x29,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x31,0x30,0x35,0x34,
0x20,0x3d,0x20,0x5f,0x31,0x30,0x35,0x33,0x2e,0x78,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x69,0x66,0x20,0x28,0x5f,0x37,0x30,0x36,0x2e,0x66,0x6c,0x61,0x67,0x73,0x2e,0x78,
0x20,0x3d,0x3d,0x20,0x34,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,
0x20,0x76,0x65,0x63,0x34,0x28,0x5f,0x31,0x30,0x35,0x34,0x2c,0x20,0x5f,0x31,0x30,
0x35,0x34,0x2c,0x20,0x5f,0x31,0x30,0x35,0x34,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,
0x5f,0x31,0x30,0x37,0x32,0x20,0x3d,0x20,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,
0x65,0x28,0x5f,0x37,0x30,0x36,0x2e,0x73,0x75,0x6e,0x5f,0x64,0x69,0x72,0x5f,0x76,
0x69,0x65,0x77,0x2e,0x78,0x79,0x7a,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,
0x63,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x20,0x3d,0x20,0x76,0x5f,0x77,0x6f,0x72,
0x6c,0x64,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x20,0x3d,0x20,0x6d,0x61,0x78,0x28,
0x64,0x6f,0x74,0x28,0x5f,0x39,0x30,0x37,0x2c,0x20,0x5f,0x31,0x30,0x37,0x32,0x29,
0x2c,0x20,0x30,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x20,0x3d,0x20,0x5f,0x39,0x31,0x32,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,
0x5f,0x33,0x20,0x3d,0x20,0x5f,0x39,0x30,0x37,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,
0x65,0x63,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x34,0x20,0x3d,0x20,0x6e,0x6f,
0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,0x2d,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,
0x70,0x6f,0x73,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x70,
0x61,0x72,0x61,0x6d,0x5f,0x35,0x20,0x3d,0x20,0x5f,0x31,0x30,0x37,0x32,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x36,
0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x73,0x75,0x6e,0x5f,0x63,0x6f,0x6c,0x6f,
0x72,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x53,0x68,
0x61,0x64,0x6f,0x77,0x43,0x61,0x73,0x63,0x61,0x64,0x65,0x64,0x28,0x70,0x61,0x72,
0x61,0x6d,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x2c,0x20,0x70,0x61,0x72,
0x61,0x6d,0x5f,0x32,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x37,0x20,0x3d,0x20,0x76,0x5f,0x62,0x61,0x73,0x65,
0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2e,0x78,0x79,0x7a,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x38,0x20,0x3d,0x20,
0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x2e,0x78,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x39,0x20,
0x3d,0x20,0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x2e,0x79,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,
0x30,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x69,0x62,0x6c,0x5f,0x70,0x61,0x72,
0x61,0x6d,0x73,0x2e,0x79,0x20,0x3e,0x20,0x30,0x2e,0x35,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x76,0x65,0x63,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x31,0x20,0x3d,
0x20,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,0x74,0x72,0x61,0x6e,0x73,
0x70,0x6f,0x73,0x65,0x28,0x6d,0x61,0x74,0x33,0x28,0x5f,0x37,0x30,0x36,0x2e,0x76,
0x69,0x65,0x77,0x5b,0x30,0x5d,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x37,0x30,0x36,
0x2e,0x76,0x69,0x65,0x77,0x5b,0x31,0x5d,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x37,
0x30,0x36,0x2e,0x76,0x69,0x65,0x77,0x5b,0x32,0x5d,0x2e,0x78,0x79,0x7a,0x29,0x29,
0x20,0x2a,0x20,0x5f,0x39,0x30,0x37,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,
0x63,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x32,0x20,0x3d,0x20,0x6e,0x6f,
0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,0x5f,0x37,0x30,0x36,0x2e,0x63,0x61,0x6d,
0x65,0x72,0x61,0x5f,0x70,0x6f,0x73,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2e,0x78,0x79,
0x7a,0x20,0x2d,0x20,0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x29,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,
0x5f,0x31,0x33,0x20,0x3d,0x20,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,
0x6f,0x72,0x2e,0x78,0x79,0x7a,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x34,0x20,0x3d,0x20,0x76,0x5f,0x6d,
0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x2e,0x78,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x35,0x20,0x3d,0x20,
0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x2e,0x79,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x36,
0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x73,0x75,0x6e,0x5f,0x63,0x6f,0x6c,0x6f,
0x72,0x2e,0x77,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x34,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,0x39,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,
0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,0x30,0x5d,0x20,0x3d,0x20,0x5f,0x37,0x30,
0x36,0x2e,0x73,0x68,0x5b,0x30,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,
0x61,0x6d,0x5f,0x31,0x37,0x5b,0x31,0x5d,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,
0x73,0x68,0x5b,0x31,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,
0x5f,0x31,0x37,0x5b,0x32,0x5d,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x73,0x68,
0x5b,0x32,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,
0x37,0x5b,0x33,0x5d,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x73,0x68,0x5b,0x33,
0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,
0x34,0x5d,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x73,0x68,0x5b,0x34,0x5d,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,0x35,0x5d,
0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x73,0x68,0x5b,0x35,0x5d,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,0x36,0x5d,0x20,0x3d,
0x20,0x5f,0x37,0x30,0x36,0x2e,0x73,0x68,0x5b,0x36,0x5d,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,0x37,0x5d,0x20,0x3d,0x20,0x5f,
0x37,0x30,0x36,0x2e,0x73,0x68,0x5b,0x37,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,
0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,0x38,0x5d,0x20,0x3d,0x20,0x5f,0x37,0x30,
0x36,0x2e,0x73,0x68,0x5b,0x38,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x38,0x20,0x3d,0x20,0x5f,0x37,
0x30,0x36,0x2e,0x69,0x62,0x6c,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x2e,0x78,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,
0x20,0x76,0x65,0x63,0x34,0x28,0x28,0x62,0x72,0x64,0x66,0x5f,0x65,0x76,0x61,0x6c,
0x75,0x61,0x74,0x65,0x28,0x70,0x61,0x72,0x61,0x6d,0x5f,0x33,0x2c,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x34,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x2c,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x36,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x37,
0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x38,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,
0x5f,0x39,0x29,0x20,0x2b,0x20,0x28,0x70,0x62,0x72,0x45,0x76,0x61,0x6c,0x75,0x61,
0x74,0x65,0x41,0x6d,0x62,0x69,0x65,0x6e,0x74,0x28,0x70,0x61,0x72,0x61,0x6d,0x5f,
0x31,0x30,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x31,0x2c,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x31,0x32,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x33,
0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x34,0x2c,0x20,0x70,0x61,0x72,0x61,
0x6d,0x5f,0x31,0x35,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x36,0x2c,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,
0x31,0x38,0x2c,0x20,0x74,0x65,0x78,0x5f,0x69,0x62,0x6c,0x5f,0x73,0x70,0x65,0x63,
0x5f,0x73,0x6d,0x70,0x5f,0x69,0x62,0x6c,0x5f,0x73,0x70,0x65,0x63,0x2c,0x20,0x74,
0x65,0x78,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x5f,0x73,0x6d,0x70,0x5f,
0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x29,0x20,0x2a,0x20,0x5f,0x31,0x30,0x35,
0x34,0x29,0x29,0x20,0x2a,0x20,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,
0x6f,0x72,0x2e,0x77,0x2c,0x20,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,
0x6f,0x72,0x2e,0x77,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x00,
};
/*
struct cube_instance
{
float4 xform_row0;
float4 xform_row1;
float4 xform_row2;
float4 base_color;
float4 material;
};
ByteAddressBuffer _15 : register(t0);
cbuffer ub_draw : register(b2)
{
int4 _21_inst_base : packoffset(c0);
};
cbuffer ub_frame : register(b0)
{
row_major float4x4 _78_view : packoffset(c0);
row_major float4x4 _78_proj : packoffset(c4);
row_major float4x4 _78_view_proj : packoffset(c8);
row_major float4x4 _78_inv_view_proj : packoffset(c12);
float4 _78_camera_pos : packoffset(c16);
float4 _78_viewport : packoffset(c17);
};
static float4 gl_Position;
static int gl_InstanceIndex;
static float3 in_pos;
static float3 v_view_pos;
static float3 v_world_pos;
static float4 v_base_color;
static float4 v_material;
struct SPIRV_Cross_Input
{
float3 in_pos : TEXCOORD0;
uint gl_InstanceIndex : SV_InstanceID;
};
struct SPIRV_Cross_Output
{
float3 v_view_pos : TEXCOORD0;
float3 v_world_pos : TEXCOORD1;
nointerpolation float4 v_base_color : TEXCOORD2;
nointerpolation float4 v_material : TEXCOORD3;
float4 gl_Position : SV_Position;
};
void vert_main()
{
cube_instance _33;
_33.xform_row0 = asfloat(_15.Load4((_21_inst_base.x + gl_InstanceIndex) * 80 + 0));
_33.xform_row1 = asfloat(_15.Load4((_21_inst_base.x + gl_InstanceIndex) * 80 + 16));
_33.xform_row2 = asfloat(_15.Load4((_21_inst_base.x + gl_InstanceIndex) * 80 + 32));
_33.base_color = asfloat(_15.Load4((_21_inst_base.x + gl_InstanceIndex) * 80 + 48));
_33.material = asfloat(_15.Load4((_21_inst_base.x + gl_InstanceIndex) * 80 + 64));
float4 _58 = float4(in_pos, 1.0f);
float _64 = dot(_33.xform_row0, _58);
float _68 = dot(_33.xform_row1, _58);
float _72 = dot(_33.xform_row2, _58);
float4 _87 = mul(float4(_64, _68, _72, 1.0f), _78_view);
v_view_pos = _87.xyz;
v_world_pos = float3(_64, _68, _72);
v_base_color = _33.base_color;
v_material = _33.material;
gl_Position = mul(_87, _78_proj);
}
SPIRV_Cross_Output main(SPIRV_Cross_Input stage_input)
{
gl_InstanceIndex = int(stage_input.gl_InstanceIndex);
in_pos = stage_input.in_pos;
vert_main();
SPIRV_Cross_Output stage_output;
stage_output.gl_Position = gl_Position;
stage_output.v_view_pos = v_view_pos;
stage_output.v_world_pos = v_world_pos;
stage_output.v_base_color = v_base_color;
stage_output.v_material = v_material;
return stage_output;
}
*/
static const uint8_t vs_source_hlsl5[2466] = {
0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x63,0x75,0x62,0x65,0x5f,0x69,0x6e,0x73,0x74,
0x61,0x6e,0x63,0x65,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x34,0x20,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x30,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,
0x6f,0x77,0x31,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,
0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,
0x72,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x6d,0x61,
0x74,0x65,0x72,0x69,0x61,0x6c,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x42,0x79,0x74,0x65,
0x41,0x64,0x64,0x72,0x65,0x73,0x73,0x42,0x75,0x66,0x66,0x65,0x72,0x20,0x5f,0x31,
0x35,0x20,0x3a,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x28,0x74,0x30,0x29,
0x3b,0x0a,0x63,0x62,0x75,0x66,0x66,0x65,0x72,0x20,0x75,0x62,0x5f,0x64,0x72,0x61,
0x77,0x20,0x3a,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x28,0x62,0x32,0x29,
0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x69,0x6e,0x74,0x34,0x20,0x5f,0x32,0x31,0x5f,
0x69,0x6e,0x73,0x74,0x5f,0x62,0x61,0x73,0x65,0x20,0x3a,0x20,0x70,0x61,0x63,0x6b,
0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x63,0x30,0x29,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,
0x63,0x62,0x75,0x66,0x66,0x65,0x72,0x20,0x75,0x62,0x5f,0x66,0x72,0x61,0x6d,0x65,
0x20,0x3a,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x28,0x62,0x30,0x29,0x0a,
0x7b,0x0a,0x20,0x20,0x20,0x20,0x72,0x6f,0x77,0x5f,0x6d,0x61,0x6a,0x6f,0x72,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x34,0x78,0x34,0x20,0x5f,0x37,0x38,0x5f,0x76,0x69,0x65,
0x77,0x20,0x3a,0x20,0x70,0x61,0x63,0x6b,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x63,
0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x6f,0x77,0x5f,0x6d,0x61,0x6a,0x6f,
0x72,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x78,0x34,0x20,0x5f,0x37,0x38,0x5f,0x70,
0x72,0x6f,0x6a,0x20,0x3a,0x20,0x70,0x61,0x63,0x6b,0x6f,0x66,0x66,0x73,0x65,0x74,
0x28,0x63,0x34,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x6f,0x77,0x5f,0x6d,0x61,
0x6a,0x6f,0x72,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x78,0x34,0x20,0x5f,0x37,0x38,
0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x72,0x6f,0x6a,0x20,0x3a,0x20,0x70,0x61,0x63,
0x6b,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x63,0x38,0x29,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x72,0x6f,0x77,0x5f,0x6d,0x61,0x6a,0x6f,0x72,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x34,0x78,0x34,0x20,0x5f,0x37,0x38,0x5f,0x69,0x6e,0x76,0x5f,0x76,0x69,0x65,0x77,
0x5f,0x70,0x72,0x6f,0x6a,0x20,0x3a,0x20,0x70,0x61,0x63,0x6b,0x6f,0x66,0x66,0x73,
0x65,0x74,0x28,0x63,0x31,0x32,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x34,0x20,0x5f,0x37,0x38,0x5f,0x63,0x61,0x6d,0x65,0x72,0x61,0x5f,0x70,
0x6f,0x73,0x20,0x3a,0x20,0x70,0x61,0x63,0x6b,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,
0x63,0x31,0x36,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,
0x20,0x5f,0x37,0x38,0x5f,0x76,0x69,0x65,0x77,0x70,0x6f,0x72,0x74,0x20,0x3a,0x20,
0x70,0x61,0x63,0x6b,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x63,0x31,0x37,0x29,0x3b,
0x0a,0x7d,0x3b,0x0a,0x0a,0x0a,0x73,0x74,0x61,0x74,0x69,0x63,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x34,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x3b,
0x0a,0x73,0x74,0x61,0x74,0x69,0x63,0x20,0x69,0x6e,0x74,0x20,0x67,0x6c,0x5f,0x49,
0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x49,0x6e,0x64,0x65,0x78,0x3b,0x0a,0x73,0x74,
0x61,0x74,0x69,0x63,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x69,0x6e,0x5f,0x70,
0x6f,0x73,0x3b,0x0a,0x73,0x74,0x61,0x74,0x69,0x63,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x33,0x20,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x73,0x74,
0x61,0x74,0x69,0x63,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x76,0x5f,0x77,0x6f,
0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x73,0x74,0x61,0x74,0x69,0x63,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,
0x6c,0x6f,0x72,0x3b,0x0a,0x73,0x74,0x61,0x74,0x69,0x63,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x34,0x20,0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x3b,0x0a,0x0a,
0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x53,0x50,0x49,0x52,0x56,0x5f,0x43,0x72,0x6f,
0x73,0x73,0x5f,0x49,0x6e,0x70,0x75,0x74,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x33,0x20,0x69,0x6e,0x5f,0x70,0x6f,0x73,0x20,0x3a,0x20,0x54,
0x45,0x58,0x43,0x4f,0x4f,0x52,0x44,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x75,0x69,
0x6e,0x74,0x20,0x67,0x6c,0x5f,0x49,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x49,0x6e,
0x64,0x65,0x78,0x20,0x3a,0x20,0x53,0x56,0x5f,0x49,0x6e,0x73,0x74,0x61,0x6e,0x63,
0x65,0x49,0x44,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,
0x53,0x50,0x49,0x52,0x56,0x5f,0x43,0x72,0x6f,0x73,0x73,0x5f,0x4f,0x75,0x74,0x70,
0x75,0x74,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,
0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x20,0x3a,0x20,0x54,0x45,0x58,
0x43,0x4f,0x4f,0x52,0x44,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x33,0x20,0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x20,0x3a,
0x20,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44,0x31,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x6e,0x6f,0x69,0x6e,0x74,0x65,0x72,0x70,0x6f,0x6c,0x61,0x74,0x69,0x6f,0x6e,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,
0x6c,0x6f,0x72,0x20,0x3a,0x20,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44,0x32,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x6e,0x6f,0x69,0x6e,0x74,0x65,0x72,0x70,0x6f,0x6c,0x61,
0x74,0x69,0x6f,0x6e,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x76,0x5f,0x6d,0x61,
0x74,0x65,0x72,0x69,0x61,0x6c,0x20,0x3a,0x20,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,
0x44,0x33,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x67,
0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3a,0x20,0x53,0x56,0x5f,
0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x76,0x6f,
0x69,0x64,0x20,0x76,0x65,0x72,0x74,0x5f,0x6d,0x61,0x69,0x6e,0x28,0x29,0x0a,0x7b,
0x0a,0x20,0x20,0x20,0x20,0x63,0x75,0x62,0x65,0x5f,0x69,0x6e,0x73,0x74,0x61,0x6e,
0x63,0x65,0x20,0x5f,0x33,0x33,0x3b,0x0a,0x20,0x20,0x20,0x20,0x5f,0x33,0x33,0x2e,
0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x30,0x20,0x3d,0x20,0x61,0x73,0x66,
0x6c,0x6f,0x61,0x74,0x28,0x5f,0x31,0x35,0x2e,0x4c,0x6f,0x61,0x64,0x34,0x28,0x28,
0x5f,0x32,0x31,0x5f,0x69,0x6e,0x73,0x74,0x5f,0x62,0x61,0x73,0x65,0x2e,0x78,0x20,
0x2b,0x20,0x67,0x6c,0x5f,0x49,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x49,0x6e,0x64,
0x65,0x78,0x29,0x20,0x2a,0x20,0x38,0x30,0x20,0x2b,0x20,0x30,0x29,0x29,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x5f,0x33,0x33,0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,
0x77,0x31,0x20,0x3d,0x20,0x61,0x73,0x66,0x6c,0x6f,0x61,0x74,0x28,0x5f,0x31,0x35,
0x2e,0x4c,0x6f,0x61,0x64,0x34,0x28,0x28,0x5f,0x32,0x31,0x5f,0x69,0x6e,0x73,0x74,
0x5f,0x62,0x61,0x73,0x65,0x2e,0x78,0x20,0x2b,0x20,0x67,0x6c,0x5f,0x49,0x6e,0x73,
0x74,0x61,0x6e,0x63,0x65,0x49,0x6e,0x64,0x65,0x78,0x29,0x20,0x2a,0x20,0x38,0x30,
0x20,0x2b,0x20,0x31,0x36,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x5f,0x33,0x33,
0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x32,0x20,0x3d,0x20,0x61,0x73,
0x66,0x6c,0x6f,0x61,0x74,0x28,0x5f,0x31,0x35,0x2e,0x4c,0x6f,0x61,0x64,0x34,0x28,
0x28,0x5f,0x32,0x31,0x5f,0x69,0x6e,0x73,0x74,0x5f,0x62,0x61,0x73,0x65,0x2e,0x78,
0x20,0x2b,0x20,0x67,0x6c,0x5f,0x49,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x49,0x6e,
0x64,0x65,0x78,0x29,0x20,0x2a,0x20,0x38,0x30,0x20,0x2b,0x20,0x33,0x32,0x29,0x29,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x5f,0x33,0x33,0x2e,0x62,0x61,0x73,0x65,0x5f,0x63,
0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x61,0x73,0x66,0x6c,0x6f,0x61,0x74,0x28,0x5f,
0x31,0x35,0x2e,0x4c,0x6f,0x61,0x64,0x34,0x28,0x28,0x5f,0x32,0x31,0x5f,0x69,0x6e,
0x73,0x74,0x5f,0x62,0x61,0x73,0x65,0x2e,0x78,0x20,0x2b,0x20,0x67,0x6c,0x5f,0x49,
0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x49,0x6e,0x64,0x65,0x78,0x29,0x20,0x2a,0x20,
0x38,0x30,0x20,0x2b,0x20,0x34,0x38,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x5f,
0x33,0x33,0x2e,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x20,0x3d,0x20,0x61,0x73,
0x66,0x6c,0x6f,0x61,0x74,0x28,0x5f,0x31,0x35,0x2e,0x4c,0x6f,0x61,0x64,0x34,0x28,
0x28,0x5f,0x32,0x31,0x5f,0x69,0x6e,0x73,0x74,0x5f,0x62,0x61,0x73,0x65,0x2e,0x78,
0x20,0x2b,0x20,0x67,0x6c,0x5f,0x49,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x49,0x6e,
0x64,0x65,0x78,0x29,0x20,0x2a,0x20,0x38,0x30,0x20,0x2b,0x20,0x36,0x34,0x29,0x29,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x35,0x38,
0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x69,0x6e,0x5f,0x70,0x6f,0x73,
0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x20,0x5f,0x36,0x34,0x20,0x3d,0x20,0x64,0x6f,0x74,0x28,0x5f,0x33,0x33,
0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x30,0x2c,0x20,0x5f,0x35,0x38,
0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x36,0x38,
0x20,0x3d,0x20,0x64,0x6f,0x74,0x28,0x5f,0x33,0x33,0x2e,0x78,0x66,0x6f,0x72,0x6d,
0x5f,0x72,0x6f,0x77,0x31,0x2c,0x20,0x5f,0x35,0x38,0x29,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x37,0x32,0x20,0x3d,0x20,0x64,0x6f,0x74,
0x28,0x5f,0x33,0x33,0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x32,0x2c,
0x20,0x5f,0x35,0x38,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x34,0x20,0x5f,0x38,0x37,0x20,0x3d,0x20,0x6d,0x75,0x6c,0x28,0x66,0x6c,0x6f,0x61,
0x74,0x34,0x28,0x5f,0x36,0x34,0x2c,0x20,0x5f,0x36,0x38,0x2c,0x20,0x5f,0x37,0x32,
0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x2c,0x20,0x5f,0x37,0x38,0x5f,0x76,0x69,0x65,
0x77,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,
0x6f,0x73,0x20,0x3d,0x20,0x5f,0x38,0x37,0x2e,0x78,0x79,0x7a,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x20,0x3d,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x5f,0x36,0x34,0x2c,0x20,0x5f,0x36,0x38,0x2c,
0x20,0x5f,0x37,0x32,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x5f,0x62,0x61,0x73,
0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x5f,0x33,0x33,0x2e,0x62,0x61,
0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x5f,
0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x20,0x3d,0x20,0x5f,0x33,0x33,0x2e,0x6d,
0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x3b,0x0a,0x20,0x20,0x20,0x20,0x67,0x6c,0x5f,
0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x6d,0x75,0x6c,0x28,0x5f,
0x38,0x37,0x2c,0x20,0x5f,0x37,0x38,0x5f,0x70,0x72,0x6f,0x6a,0x29,0x3b,0x0a,0x7d,
0x0a,0x0a,0x53,0x50,0x49,0x52,0x56,0x5f,0x43,0x72,0x6f,0x73,0x73,0x5f,0x4f,0x75,
0x74,0x70,0x75,0x74,0x20,0x6d,0x61,0x69,0x6e,0x28,0x53,0x50,0x49,0x52,0x56,0x5f,
0x43,0x72,0x6f,0x73,0x73,0x5f,0x49,0x6e,0x70,0x75,0x74,0x20,0x73,0x74,0x61,0x67,
0x65,0x5f,0x69,0x6e,0x70,0x75,0x74,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x67,
0x6c,0x5f,0x49,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x49,0x6e,0x64,0x65,0x78,0x20,
0x3d,0x20,0x69,0x6e,0x74,0x28,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x70,0x75,
0x74,0x2e,0x67,0x6c,0x5f,0x49,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x49,0x6e,0x64,
0x65,0x78,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x6e,0x5f,0x70,0x6f,0x73,0x20,
0x3d,0x20,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x70,0x75,0x74,0x2e,0x69,0x6e,
0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x72,0x74,0x5f,0x6d,
0x61,0x69,0x6e,0x28,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x53,0x50,0x49,0x52,0x56,
0x5f,0x43,0x72,0x6f,0x73,0x73,0x5f,0x4f,0x75,0x74,0x70,0x75,0x74,0x20,0x73,0x74,
0x61,0x67,0x65,0x5f,0x6f,0x75,0x74,0x70,0x75,0x74,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x73,0x74,0x61,0x67,0x65,0x5f,0x6f,0x75,0x74,0x70,0x75,0x74,0x2e,0x67,0x6c,0x5f,
0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x67,0x6c,0x5f,0x50,0x6f,
0x73,0x69,0x74,0x69,0x6f,0x6e,0x3b,0x0a,0x20,0x20,0x20,0x20,0x73,0x74,0x61,0x67,
0x65,0x5f,0x6f,0x75,0x74,0x70,0x75,0x74,0x2e,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,
0x70,0x6f,0x73,0x20,0x3d,0x20,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x73,0x74,0x61,0x67,0x65,0x5f,0x6f,0x75,0x74,0x70,
0x75,0x74,0x2e,0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x20,0x3d,
0x20,0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x73,0x74,0x61,0x67,0x65,0x5f,0x6f,0x75,0x74,0x70,0x75,0x74,0x2e,0x76,
0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x76,0x5f,
0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x73,0x74,0x61,0x67,0x65,0x5f,0x6f,0x75,0x74,0x70,0x75,0x74,0x2e,0x76,0x5f,0x6d,
0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x20,0x3d,0x20,0x76,0x5f,0x6d,0x61,0x74,0x65,
0x72,0x69,0x61,0x6c,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,
0x20,0x73,0x74,0x61,0x67,0x65,0x5f,0x6f,0x75,0x74,0x70,0x75,0x74,0x3b,0x0a,0x7d,
0x0a,0x00,
};
/*
cbuffer ub_pass : register(b1)
{
float4 _706_sun_dir_view : packoffset(c0);
float4 _706_sun_color : packoffset(c1);
int4 _706_flags : packoffset(c2);
float4 _706_cascade_far_view_z : packoffset(c3);
row_major float4x4 _706_cascade_matrices[3] : packoffset(c4);
row_major float4x4 _706_view : packoffset(c16);
float4 _706_camera_pos_world : packoffset(c20);
float4 _706_sh[9] : packoffset(c21);
float4 _706_ibl_params : packoffset(c30);
};
Texture2DArray<float4> tex_shadow : register(t0);
SamplerComparisonState smp_shadow : register(s0);
Texture2D<float4> tex_ao : register(t3);
SamplerState smp_ao : register(s3);
TextureCube<float4> tex_ibl_spec : register(t1);
SamplerState smp_ibl_spec : register(s1);
Texture2D<float4> tex_brdf_lut : register(t2);
SamplerState smp_brdf_lut : register(s2);
static float4 gl_FragCoord;
static float3 v_view_pos;
static float4 out_color;
static float3 v_world_pos;
static float4 v_base_color;
static float4 v_material;
struct SPIRV_Cross_Input
{
float3 v_view_pos : TEXCOORD0;
float3 v_world_pos : TEXCOORD1;
nointerpolation float4 v_base_color : TEXCOORD2;
nointerpolation float4 v_material : TEXCOORD3;
float4 gl_FragCoord : SV_Position;
};
struct SPIRV_Cross_Output
{
float4 out_color : SV_Target0;
};
uint2 spvTextureSize(Texture2D<float4> Tex, uint Level, out uint Param)
{
uint2 ret;
Tex.GetDimensions(Level, ret.x, ret.y, Param);
return ret;
}
float sampleShadowPCF(int cascade, float3 light_uv, float bias)
{
float _528 = float(cascade);
float _533 = light_uv.z - bias;
float _549 = light_uv.x - 0.00048828125f;
float _553 = light_uv.y - 0.00048828125f;
float _583 = light_uv.x + 0.00048828125f;
float _651 = light_uv.y + 0.00048828125f;
return ((((((((tex_shadow.SampleCmp(smp_shadow, float4(_549, _553, _528, _533).xyz, _533) + tex_shadow.SampleCmp(smp_shadow, float4(light_uv.x, _553, _528, _533).xyz, _533)) + tex_shadow.SampleCmp(smp_shadow, float4(_583, _553, _528, _533).xyz, _533)) + tex_shadow.SampleCmp(smp_shadow, float4(_549, light_uv.y, _528, _533).xyz, _533)) + tex_shadow.SampleCmp(smp_shadow, float4(light_uv.xy, _528, _533).xyz, _533)) + tex_shadow.SampleCmp(smp_shadow, float4(_583, light_uv.y, _528, _533).xyz, _533)) + tex_shadow.SampleCmp(smp_shadow, float4(_549, _651, _528, _533).xyz, _533)) + tex_shadow.SampleCmp(smp_shadow, float4(light_uv.x, _651, _528, _533).xyz, _533)) + tex_shadow.SampleCmp(smp_shadow, float4(_583, _651, _528, _533).xyz, _533)) * 0.111111111938953399658203125f;
}
float sampleCascade(int cascade, float3 world_pos, float n_dot_l)
{
float4 _716 = mul(float4(world_pos, 1.0f), _706_cascade_matrices[cascade]);
float3 _723 = _716.xyz / _716.w.xxx;
float3 _741 = float3((_723.x * 0.5f) + 0.5f, ((_723.y * _706_cascade_far_view_z.w) * 0.5f) + 0.5f, _723.z);
bool _745 = any(bool3(_741.x < 0.0f.xxx.x, _741.y < 0.0f.xxx.y, _741.z < 0.0f.xxx.z));
bool _752;
if (!_745)
{
_752 = any(bool3(_741.x > 1.0f.xxx.x, _741.y > 1.0f.xxx.y, _741.z > 1.0f.xxx.z));
}
else
{
_752 = _745;
}
if (_752)
{
return 1.0f;
}
float _759 = clamp(n_dot_l, 0.001000000047497451305389404296875f, 1.0f);
int param = cascade;
float3 param_1 = _741;
float param_2 = clamp(0.001000000047497451305389404296875f * (sqrt(1.0f - (_759 * _759)) / _759), 0.0005000000237487256526947021484375f, 0.0500000007450580596923828125f);
float pcf = sampleShadowPCF(param, param_1, param_2);
if (cascade == 2)
{
float2 _790 = _741.xy;
float2 _795 = min(_790, 1.0f.xx - _790);
pcf = lerp(1.0f, pcf, clamp(min(_795.x, _795.y) * 10.0f, 0.0f, 1.0f));
}
return pcf;
}
float sampleShadowCascaded(float3 world_pos, float n_dot_l, float view_z)
{
int cascade = 2;
if (view_z < _706_cascade_far_view_z.x)
{
cascade = 0;
}
else
{
if (view_z < _706_cascade_far_view_z.y)
{
cascade = 1;
}
}
int param = cascade;
float3 param_1 = world_pos;
float param_2 = n_dot_l;
float shadow = sampleCascade(param, param_1, param_2);
if (cascade < 2)
{
float _840;
if (cascade == 0)
{
_840 = _706_cascade_far_view_z.x;
}
else
{
_840 = _706_cascade_far_view_z.y;
}
float _852;
if (cascade == 0)
{
_852 = 0.0f;
}
else
{
_852 = _706_cascade_far_view_z.x;
}
float _863 = lerp(_840, _852, 0.100000001490116119384765625f);
if (view_z > _863)
{
int param_3 = cascade + 1;
float3 param_4 = world_pos;
float param_5 = n_dot_l;
shadow = lerp(shadow, sampleCascade(param_3, param_4, param_5), (view_z - _863) / (_840 - _863));
}
}
return shadow;
}
float pbrDistributionGGX(float n_dot_h, float alpha)
{
float _106 = alpha * alpha;
float _115 = ((n_dot_h * n_dot_h) * (_106 - 1.0f)) + 1.0f;
return _106 / ((3.1415927410125732421875f * _115) * _115);
}
float pbrVisibilitySmithCorrelated(float n_dot_v, float n_dot_l, float alpha)
{
float _128 = alpha * alpha;
float _135 = 1.0f - _128;
return 0.5f / (((n_dot_l * sqrt(((n_dot_v * n_dot_v) * _135) + _128)) + (n_dot_v * sqrt(((n_dot_l * n_dot_l) * _135) + _128))) + 9.9999997473787516355514526367188e-06f);
}
float3 pbrFresnelSchlick(float v_dot_h, float3 f0)
{
float _164 = 1.0f - v_dot_h;
float _168 = _164 * _164;
return f0 + ((1.0f.xxx - f0) * ((_168 * _168) * _164));
}
float3 brdf_evaluate(float3 N, float3 V, float3 L, float3 sun_radiance, float3 base_color, float metallic, float roughness)
{
float _187 = max(dot(N, L), 0.0f);
float3 _198 = normalize(V + L);
float _212 = max(roughness, 0.04500000178813934326171875f);
float _216 = _212 * _212;
float param = max(dot(N, _198), 0.0f);
float param_1 = _216;
float param_2 = max(dot(N, V), 9.9999997473787516355514526367188e-05f);
float param_3 = _187;
float param_4 = _216;
float param_5 = max(dot(V, _198), 0.0f);
float3 param_6 = lerp(0.039999999105930328369140625f.xxx, base_color, metallic.xxx);
float3 _243 = pbrFresnelSchlick(param_5, param_6);
return ((((((1.0f.xxx - _243) * (1.0f - metallic)) * base_color) * 0.3183098733425140380859375f.xxx) + (_243 * (pbrDistributionGGX(param, param_1) * pbrVisibilitySmithCorrelated(param_2, param_3, param_4)))) * sun_radiance) * _187;
}
float3 pbrEvaluateShIrradiance(float3 N, float4 sh[9])
{
float3 _398 = ((((((((sh[0].xyz * 0.2820948064327239990234375f) + (sh[1].xyz * ((-0.48860251903533935546875f) * N.y))) + (sh[2].xyz * (0.48860251903533935546875f * N.z))) + (sh[3].xyz * ((-0.48860251903533935546875f) * N.x))) + (sh[4].xyz * ((1.09254848957061767578125f * N.x) * N.y))) + (sh[5].xyz * (((-1.09254848957061767578125f) * N.y) * N.z))) + (sh[6].xyz * (0.3153915703296661376953125f * (((3.0f * N.z) * N.z) - 1.0f)))) + (sh[7].xyz * (((-1.09254848957061767578125f) * N.x) * N.z))) + (sh[8].xyz * (0.546274244785308837890625f * ((N.x * N.x) - (N.y * N.y))));
return _398;
}
float3 pbrEvaluateIbl(float3 N_world, float3 V_world, float3 base_color, float metallic, float roughness, float4 sh[9], TextureCube<float4> tex_spec_cube, SamplerState smp_spec_cube, Texture2D<float4> tex_brdf_lut_1, SamplerState smp_brdf_lut_1, float max_lod)
{
float _405 = clamp(dot(N_world, V_world), 9.9999997473787516355514526367188e-05f, 1.0f);
float3 _415 = lerp(0.039999999105930328369140625f.xxx, base_color, metallic.xxx);
float3 param = N_world;
float4 param_1[9] = sh;
float4 _481 = tex_brdf_lut_1.Sample(smp_brdf_lut_1, float2(_405, roughness));
return (((((1.0f.xxx - (_415 + ((max((1.0f - roughness).xxx, _415) - _415) * pow(max(0.0f, 1.0f - _405), 5.0f)))) * (1.0f - metallic)) * base_color) * max(pbrEvaluateShIrradiance(param, param_1), 0.0f.xxx)) * 0.3183098733425140380859375f.xxx) + (tex_spec_cube.SampleLevel(smp_spec_cube, reflect(-V_world, N_world), roughness * max_lod).xyz * ((_415 * _481.x) + _481.y.xxx));
}
float3 pbrEvaluateAmbient(bool iblEnabled, float3 N_world, float3 V_world, float3 base_color, float metallic, float roughness, float flat_strength, float4 sh[9], TextureCube<float4> tex_spec_cube, SamplerState smp_spec_cube, Texture2D<float4> tex_brdf_lut_1, SamplerState smp_brdf_lut_1, float max_lod)
{
float3 result = base_color * flat_strength;
if (iblEnabled)
{
float3 param = N_world;
float3 param_1 = V_world;
float3 param_2 = base_color;
float param_3 = metallic;
float param_4 = roughness;
float4 param_5[9] = sh;
float param_6 = max_lod;
result = pbrEvaluateIbl(param, param_1, param_2, param_3, param_4, param_5, tex_spec_cube, smp_spec_cube, tex_brdf_lut_1, smp_brdf_lut_1, param_6);
}
return result;
}
void frag_main()
{
float3 _895 = ddx(v_view_pos);
float3 _898 = ddy(v_view_pos);
float3 _907 = normalize(cross(_898 * (-_706_cascade_far_view_z.w), _895));
float _912 = -v_view_pos.z;
if (_706_flags.x == 1)
{
float _923 = clamp(v_view_pos.z * (-0.0199999995529651641845703125f), 0.0f, 1.0f);
out_color = float4(_923, _923, _923, 1.0f);
return;
}
if (_706_flags.x == 2)
{
int cascade = 2;
if (_912 < _706_cascade_far_view_z.x)
{
cascade = 0;
}
else
{
if (_912 < _706_cascade_far_view_z.y)
{
cascade = 1;
}
}
float4 _958 = mul(float4(v_world_pos, 1.0f), _706_cascade_matrices[cascade]);
float3 _965 = _958.xyz / _958.w.xxx;
float3 _982 = float3((_965.x * 0.5f) + 0.5f, ((_965.y * _706_cascade_far_view_z.w) * 0.5f) + 0.5f, _965.z);
bool _986 = any(bool3(_982.x < 0.0f.xxx.x, _982.y < 0.0f.xxx.y, _982.z < 0.0f.xxx.z));
bool _993;
if (!_986)
{
_993 = any(bool3(_982.x > 1.0f.xxx.x, _982.y > 1.0f.xxx.y, _982.z > 1.0f.xxx.z));
}
else
{
_993 = _986;
}
float3 tint = 1.0f.xxx;
if (!_993)
{
if (cascade == 0)
{
tint = float3(1.0f, 0.4000000059604644775390625f, 0.4000000059604644775390625f);
}
else
{
if (cascade == 1)
{
tint = float3(0.4000000059604644775390625f, 1.0f, 0.4000000059604644775390625f);
}
else
{
tint = float3(0.4000000059604644775390625f, 0.4000000059604644775390625f, 1.0f);
}
}
}
out_color = float4(tint, 1.0f);
return;
}
if (_706_flags.x == 3)
{
out_color = float4((_907 * 0.5f) + 0.5f.xxx, 1.0f);
return;
}
uint _1045_dummy_parameter;
float4 _1053 = tex_ao.SampleLevel(smp_ao, gl_FragCoord.xy / float2(int2(spvTextureSize(tex_ao, uint(0), _1045_dummy_parameter))), 0.0f);
float _1054 = _1053.x;
if (_706_flags.x == 4)
{
out_color = float4(_1054, _1054, _1054, 1.0f);
return;
}
float3 _1072 = normalize(_706_sun_dir_view.xyz);
float3 param = v_world_pos;
float param_1 = max(dot(_907, _1072), 0.0f);
float param_2 = _912;
float3 param_3 = _907;
float3 param_4 = normalize(-v_view_pos);
float3 param_5 = _1072;
float3 param_6 = _706_sun_color.xyz * sampleShadowCascaded(param, param_1, param_2);
float3 param_7 = v_base_color.xyz;
float param_8 = v_material.x;
float param_9 = v_material.y;
bool param_10 = _706_ibl_params.y > 0.5f;
float3 param_11 = normalize(mul(_907, transpose(float3x3(_706_view[0].xyz, _706_view[1].xyz, _706_view[2].xyz))));
float3 param_12 = normalize(_706_camera_pos_world.xyz - v_world_pos);
float3 param_13 = v_base_color.xyz;
float param_14 = v_material.x;
float param_15 = v_material.y;
float param_16 = _706_sun_color.w;
float4 param_17[9];
param_17[0] = _706_sh[0];
param_17[1] = _706_sh[1];
param_17[2] = _706_sh[2];
param_17[3] = _706_sh[3];
param_17[4] = _706_sh[4];
param_17[5] = _706_sh[5];
param_17[6] = _706_sh[6];
param_17[7] = _706_sh[7];
param_17[8] = _706_sh[8];
float param_18 = _706_ibl_params.x;
out_color = float4((brdf_evaluate(param_3, param_4, param_5, param_6, param_7, param_8, param_9) + (pbrEvaluateAmbient(param_10, param_11, param_12, param_13, param_14, param_15, param_16, param_17, tex_ibl_spec, smp_ibl_spec, tex_brdf_lut, smp_brdf_lut, param_18) * _1054)) * v_base_color.w, v_base_color.w);
}
SPIRV_Cross_Output main(SPIRV_Cross_Input stage_input)
{
gl_FragCoord = stage_input.gl_FragCoord;
gl_FragCoord.w = 1.0 / gl_FragCoord.w;
v_view_pos = stage_input.v_view_pos;
v_world_pos = stage_input.v_world_pos;
v_base_color = stage_input.v_base_color;
v_material = stage_input.v_material;
frag_main();
SPIRV_Cross_Output stage_output;
stage_output.out_color = out_color;
return stage_output;
}
*/
static const uint8_t fs_source_hlsl5[13249] = {
0x63,0x62,0x75,0x66,0x66,0x65,0x72,0x20,0x75,0x62,0x5f,0x70,0x61,0x73,0x73,0x20,
0x3a,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x28,0x62,0x31,0x29,0x0a,0x7b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x37,0x30,0x36,
0x5f,0x73,0x75,0x6e,0x5f,0x64,0x69,0x72,0x5f,0x76,0x69,0x65,0x77,0x20,0x3a,0x20,
0x70,0x61,0x63,0x6b,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x63,0x30,0x29,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x37,0x30,0x36,0x5f,
0x73,0x75,0x6e,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3a,0x20,0x70,0x61,0x63,0x6b,
0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x63,0x31,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x69,0x6e,0x74,0x34,0x20,0x5f,0x37,0x30,0x36,0x5f,0x66,0x6c,0x61,0x67,0x73,0x20,
0x3a,0x20,0x70,0x61,0x63,0x6b,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x63,0x32,0x29,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x37,0x30,
0x36,0x5f,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,0x69,
0x65,0x77,0x5f,0x7a,0x20,0x3a,0x20,0x70,0x61,0x63,0x6b,0x6f,0x66,0x66,0x73,0x65,
0x74,0x28,0x63,0x33,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x6f,0x77,0x5f,0x6d,
0x61,0x6a,0x6f,0x72,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x78,0x34,0x20,0x5f,0x37,
0x30,0x36,0x5f,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x6d,0x61,0x74,0x72,0x69,
0x63,0x65,0x73,0x5b,0x33,0x5d,0x20,0x3a,0x20,0x70,0x61,0x63,0x6b,0x6f,0x66,0x66,
0x73,0x65,0x74,0x28,0x63,0x34,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x6f,0x77,
0x5f,0x6d,0x61,0x6a,0x6f,0x72,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x78,0x34,0x20,
0x5f,0x37,0x30,0x36,0x5f,0x76,0x69,0x65,0x77,0x20,0x3a,0x20,0x70,0x61,0x63,0x6b,
0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x63,0x31,0x36,0x29,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x37,0x30,0x36,0x5f,0x63,0x61,0x6d,
0x65,0x72,0x61,0x5f,0x70,0x6f,0x73,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x20,0x3a,0x20,
0x70,0x61,0x63,0x6b,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x63,0x32,0x30,0x29,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x37,0x30,0x36,
0x5f,0x73,0x68,0x5b,0x39,0x5d,0x20,0x3a,0x20,0x70,0x61,0x63,0x6b,0x6f,0x66,0x66,
0x73,0x65,0x74,0x28,0x63,0x32,0x31,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x34,0x20,0x5f,0x37,0x30,0x36,0x5f,0x69,0x62,0x6c,0x5f,0x70,0x61,
0x72,0x61,0x6d,0x73,0x20,0x3a,0x20,0x70,0x61,0x63,0x6b,0x6f,0x66,0x66,0x73,0x65,
0x74,0x28,0x63,0x33,0x30,0x29,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x54,0x65,0x78,0x74,
0x75,0x72,0x65,0x32,0x44,0x41,0x72,0x72,0x61,0x79,0x3c,0x66,0x6c,0x6f,0x61,0x74,
0x34,0x3e,0x20,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x20,0x3a,0x20,
0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x28,0x74,0x30,0x29,0x3b,0x0a,0x53,0x61,
0x6d,0x70,0x6c,0x65,0x72,0x43,0x6f,0x6d,0x70,0x61,0x72,0x69,0x73,0x6f,0x6e,0x53,
0x74,0x61,0x74,0x65,0x20,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x20,
0x3a,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x28,0x73,0x30,0x29,0x3b,0x0a,
0x54,0x65,0x78,0x74,0x75,0x72,0x65,0x32,0x44,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x34,
0x3e,0x20,0x74,0x65,0x78,0x5f,0x61,0x6f,0x20,0x3a,0x20,0x72,0x65,0x67,0x69,0x73,
0x74,0x65,0x72,0x28,0x74,0x33,0x29,0x3b,0x0a,0x53,0x61,0x6d,0x70,0x6c,0x65,0x72,
0x53,0x74,0x61,0x74,0x65,0x20,0x73,0x6d,0x70,0x5f,0x61,0x6f,0x20,0x3a,0x20,0x72,
0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x28,0x73,0x33,0x29,0x3b,0x0a,0x54,0x65,0x78,
0x74,0x75,0x72,0x65,0x43,0x75,0x62,0x65,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x34,0x3e,
0x20,0x74,0x65,0x78,0x5f,0x69,0x62,0x6c,0x5f,0x73,0x70,0x65,0x63,0x20,0x3a,0x20,
0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x28,0x74,0x31,0x29,0x3b,0x0a,0x53,0x61,
0x6d,0x70,0x6c,0x65,0x72,0x53,0x74,0x61,0x74,0x65,0x20,0x73,0x6d,0x70,0x5f,0x69,
0x62,0x6c,0x5f,0x73,0x70,0x65,0x63,0x20,0x3a,0x20,0x72,0x65,0x67,0x69,0x73,0x74,
0x65,0x72,0x28,0x73,0x31,0x29,0x3b,0x0a,0x54,0x65,0x78,0x74,0x75,0x72,0x65,0x32,
0x44,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x34,0x3e,0x20,0x74,0x65,0x78,0x5f,0x62,0x72,
0x64,0x66,0x5f,0x6c,0x75,0x74,0x20,0x3a,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,
0x72,0x28,0x74,0x32,0x29,0x3b,0x0a,0x53,0x61,0x6d,0x70,0x6c,0x65,0x72,0x53,0x74,
0x61,0x74,0x65,0x20,0x73,0x6d,0x70,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,
0x20,0x3a,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x28,0x73,0x32,0x29,0x3b,
0x0a,0x0a,0x73,0x74,0x61,0x74,0x69,0x63,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,
0x67,0x6c,0x5f,0x46,0x72,0x61,0x67,0x43,0x6f,0x6f,0x72,0x64,0x3b,0x0a,0x73,0x74,
0x61,0x74,0x69,0x63,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x76,0x5f,0x76,0x69,
0x65,0x77,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x73,0x74,0x61,0x74,0x69,0x63,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x34,0x20,0x6f,0x75,0x74,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b,
0x0a,0x73,0x74,0x61,0x74,0x69,0x63,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x76,
0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x73,0x74,0x61,0x74,
0x69,0x63,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x76,0x5f,0x62,0x61,0x73,0x65,
0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x73,0x74,0x61,0x74,0x69,0x63,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x34,0x20,0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,
0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x53,0x50,0x49,0x52,0x56,0x5f,
0x43,0x72,0x6f,0x73,0x73,0x5f,0x49,0x6e,0x70,0x75,0x74,0x0a,0x7b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,
0x70,0x6f,0x73,0x20,0x3a,0x20,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44,0x30,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x76,0x5f,0x77,0x6f,
0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x20,0x3a,0x20,0x54,0x45,0x58,0x43,0x4f,0x4f,
0x52,0x44,0x31,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6e,0x6f,0x69,0x6e,0x74,0x65,0x72,
0x70,0x6f,0x6c,0x61,0x74,0x69,0x6f,0x6e,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,
0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3a,0x20,0x54,
0x45,0x58,0x43,0x4f,0x4f,0x52,0x44,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6e,0x6f,
0x69,0x6e,0x74,0x65,0x72,0x70,0x6f,0x6c,0x61,0x74,0x69,0x6f,0x6e,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x34,0x20,0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x20,
0x3a,0x20,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44,0x33,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x67,0x6c,0x5f,0x46,0x72,0x61,0x67,0x43,
0x6f,0x6f,0x72,0x64,0x20,0x3a,0x20,0x53,0x56,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,
0x6f,0x6e,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x53,
0x50,0x49,0x52,0x56,0x5f,0x43,0x72,0x6f,0x73,0x73,0x5f,0x4f,0x75,0x74,0x70,0x75,
0x74,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x6f,
0x75,0x74,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3a,0x20,0x53,0x56,0x5f,0x54,0x61,
0x72,0x67,0x65,0x74,0x30,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x75,0x69,0x6e,0x74,0x32,
0x20,0x73,0x70,0x76,0x54,0x65,0x78,0x74,0x75,0x72,0x65,0x53,0x69,0x7a,0x65,0x28,
0x54,0x65,0x78,0x74,0x75,0x72,0x65,0x32,0x44,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x34,
0x3e,0x20,0x54,0x65,0x78,0x2c,0x20,0x75,0x69,0x6e,0x74,0x20,0x4c,0x65,0x76,0x65,
0x6c,0x2c,0x20,0x6f,0x75,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x50,0x61,0x72,0x61,
0x6d,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x75,0x69,0x6e,0x74,0x32,0x20,0x72,
0x65,0x74,0x3b,0x0a,0x20,0x20,0x20,0x20,0x54,0x65,0x78,0x2e,0x47,0x65,0x74,0x44,
0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x73,0x28,0x4c,0x65,0x76,0x65,0x6c,0x2c,
0x20,0x72,0x65,0x74,0x2e,0x78,0x2c,0x20,0x72,0x65,0x74,0x2e,0x79,0x2c,0x20,0x50,
0x61,0x72,0x61,0x6d,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,
0x6e,0x20,0x72,0x65,0x74,0x3b,0x0a,0x7d,0x0a,0x0a,0x66,0x6c,0x6f,0x61,0x74,0x20,
0x73,0x61,0x6d,0x70,0x6c,0x65,0x53,0x68,0x61,0x64,0x6f,0x77,0x50,0x43,0x46,0x28,
0x69,0x6e,0x74,0x20,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x2c,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x33,0x20,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2c,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x20,0x62,0x69,0x61,0x73,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x35,0x32,0x38,0x20,0x3d,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x28,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x29,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x35,0x33,0x33,0x20,0x3d,0x20,0x6c,0x69,
0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x7a,0x20,0x2d,0x20,0x62,0x69,0x61,0x73,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x35,0x34,0x39,0x20,
0x3d,0x20,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x78,0x20,0x2d,0x20,0x30,
0x2e,0x30,0x30,0x30,0x34,0x38,0x38,0x32,0x38,0x31,0x32,0x35,0x66,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x35,0x35,0x33,0x20,0x3d,0x20,
0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x79,0x20,0x2d,0x20,0x30,0x2e,0x30,
0x30,0x30,0x34,0x38,0x38,0x32,0x38,0x31,0x32,0x35,0x66,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x35,0x38,0x33,0x20,0x3d,0x20,0x6c,0x69,
0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x78,0x20,0x2b,0x20,0x30,0x2e,0x30,0x30,0x30,
0x34,0x38,0x38,0x32,0x38,0x31,0x32,0x35,0x66,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x20,0x5f,0x36,0x35,0x31,0x20,0x3d,0x20,0x6c,0x69,0x67,0x68,
0x74,0x5f,0x75,0x76,0x2e,0x79,0x20,0x2b,0x20,0x30,0x2e,0x30,0x30,0x30,0x34,0x38,
0x38,0x32,0x38,0x31,0x32,0x35,0x66,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,
0x75,0x72,0x6e,0x20,0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x74,0x65,0x78,0x5f,
0x73,0x68,0x61,0x64,0x6f,0x77,0x2e,0x53,0x61,0x6d,0x70,0x6c,0x65,0x43,0x6d,0x70,
0x28,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x34,0x28,0x5f,0x35,0x34,0x39,0x2c,0x20,0x5f,0x35,0x35,0x33,0x2c,0x20,
0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x2e,0x78,0x79,0x7a,0x2c,
0x20,0x5f,0x35,0x33,0x33,0x29,0x20,0x2b,0x20,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,
0x64,0x6f,0x77,0x2e,0x53,0x61,0x6d,0x70,0x6c,0x65,0x43,0x6d,0x70,0x28,0x73,0x6d,
0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,
0x28,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x78,0x2c,0x20,0x5f,0x35,0x35,
0x33,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x2e,0x78,
0x79,0x7a,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x29,0x20,0x2b,0x20,0x74,0x65,0x78,
0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2e,0x53,0x61,0x6d,0x70,0x6c,0x65,0x43,0x6d,
0x70,0x28,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x34,0x28,0x5f,0x35,0x38,0x33,0x2c,0x20,0x5f,0x35,0x35,0x33,0x2c,
0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x2e,0x78,0x79,0x7a,
0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x29,0x20,0x2b,0x20,0x74,0x65,0x78,0x5f,0x73,
0x68,0x61,0x64,0x6f,0x77,0x2e,0x53,0x61,0x6d,0x70,0x6c,0x65,0x43,0x6d,0x70,0x28,
0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x34,0x28,0x5f,0x35,0x34,0x39,0x2c,0x20,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,
0x76,0x2e,0x79,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,
0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x29,0x20,0x2b,0x20,0x74,
0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2e,0x53,0x61,0x6d,0x70,0x6c,0x65,
0x43,0x6d,0x70,0x28,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,
0x78,0x79,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x2e,
0x78,0x79,0x7a,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x29,0x20,0x2b,0x20,0x74,0x65,
0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2e,0x53,0x61,0x6d,0x70,0x6c,0x65,0x43,
0x6d,0x70,0x28,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x34,0x28,0x5f,0x35,0x38,0x33,0x2c,0x20,0x6c,0x69,0x67,0x68,
0x74,0x5f,0x75,0x76,0x2e,0x79,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,
0x33,0x33,0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x29,0x20,
0x2b,0x20,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2e,0x53,0x61,0x6d,
0x70,0x6c,0x65,0x43,0x6d,0x70,0x28,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,
0x77,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x5f,0x35,0x34,0x39,0x2c,0x20,
0x5f,0x36,0x35,0x31,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,
0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x29,0x20,0x2b,0x20,
0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2e,0x53,0x61,0x6d,0x70,0x6c,
0x65,0x43,0x6d,0x70,0x28,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,
0x2e,0x78,0x2c,0x20,0x5f,0x36,0x35,0x31,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,
0x5f,0x35,0x33,0x33,0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,
0x29,0x20,0x2b,0x20,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2e,0x53,
0x61,0x6d,0x70,0x6c,0x65,0x43,0x6d,0x70,0x28,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,
0x64,0x6f,0x77,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x5f,0x35,0x38,0x33,
0x2c,0x20,0x5f,0x36,0x35,0x31,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,
0x33,0x33,0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x29,0x20,
0x2a,0x20,0x30,0x2e,0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x39,0x33,0x38,
0x39,0x35,0x33,0x33,0x39,0x39,0x36,0x35,0x38,0x32,0x30,0x33,0x31,0x32,0x35,0x66,
0x3b,0x0a,0x7d,0x0a,0x0a,0x66,0x6c,0x6f,0x61,0x74,0x20,0x73,0x61,0x6d,0x70,0x6c,
0x65,0x43,0x61,0x73,0x63,0x61,0x64,0x65,0x28,0x69,0x6e,0x74,0x20,0x63,0x61,0x73,
0x63,0x61,0x64,0x65,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x77,0x6f,0x72,
0x6c,0x64,0x5f,0x70,0x6f,0x73,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x6e,0x5f,
0x64,0x6f,0x74,0x5f,0x6c,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x34,0x20,0x5f,0x37,0x31,0x36,0x20,0x3d,0x20,0x6d,0x75,0x6c,0x28,0x66,
0x6c,0x6f,0x61,0x74,0x34,0x28,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x2c,
0x20,0x31,0x2e,0x30,0x66,0x29,0x2c,0x20,0x5f,0x37,0x30,0x36,0x5f,0x63,0x61,0x73,
0x63,0x61,0x64,0x65,0x5f,0x6d,0x61,0x74,0x72,0x69,0x63,0x65,0x73,0x5b,0x63,0x61,
0x73,0x63,0x61,0x64,0x65,0x5d,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x33,0x20,0x5f,0x37,0x32,0x33,0x20,0x3d,0x20,0x5f,0x37,0x31,0x36,0x2e,
0x78,0x79,0x7a,0x20,0x2f,0x20,0x5f,0x37,0x31,0x36,0x2e,0x77,0x2e,0x78,0x78,0x78,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x5f,0x37,0x34,
0x31,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x28,0x5f,0x37,0x32,0x33,
0x2e,0x78,0x20,0x2a,0x20,0x30,0x2e,0x35,0x66,0x29,0x20,0x2b,0x20,0x30,0x2e,0x35,
0x66,0x2c,0x20,0x28,0x28,0x5f,0x37,0x32,0x33,0x2e,0x79,0x20,0x2a,0x20,0x5f,0x37,
0x30,0x36,0x5f,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,
0x69,0x65,0x77,0x5f,0x7a,0x2e,0x77,0x29,0x20,0x2a,0x20,0x30,0x2e,0x35,0x66,0x29,
0x20,0x2b,0x20,0x30,0x2e,0x35,0x66,0x2c,0x20,0x5f,0x37,0x32,0x33,0x2e,0x7a,0x29,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x5f,0x37,0x34,0x35,0x20,
0x3d,0x20,0x61,0x6e,0x79,0x28,0x62,0x6f,0x6f,0x6c,0x33,0x28,0x5f,0x37,0x34,0x31,
0x2e,0x78,0x20,0x3c,0x20,0x30,0x2e,0x30,0x66,0x2e,0x78,0x78,0x78,0x2e,0x78,0x2c,
0x20,0x5f,0x37,0x34,0x31,0x2e,0x79,0x20,0x3c,0x20,0x30,0x2e,0x30,0x66,0x2e,0x78,
0x78,0x78,0x2e,0x79,0x2c,0x20,0x5f,0x37,0x34,0x31,0x2e,0x7a,0x20,0x3c,0x20,0x30,
0x2e,0x30,0x66,0x2e,0x78,0x78,0x78,0x2e,0x7a,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x62,0x6f,0x6f,0x6c,0x20,0x5f,0x37,0x35,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x69,0x66,0x20,0x28,0x21,0x5f,0x37,0x34,0x35,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x37,0x35,0x32,0x20,0x3d,0x20,
0x61,0x6e,0x79,0x28,0x62,0x6f,0x6f,0x6c,0x33,0x28,0x5f,0x37,0x34,0x31,0x2e,0x78,
0x20,0x3e,0x20,0x31,0x2e,0x30,0x66,0x2e,0x78,0x78,0x78,0x2e,0x78,0x2c,0x20,0x5f,
0x37,0x34,0x31,0x2e,0x79,0x20,0x3e,0x20,0x31,0x2e,0x30,0x66,0x2e,0x78,0x78,0x78,
0x2e,0x79,0x2c,0x20,0x5f,0x37,0x34,0x31,0x2e,0x7a,0x20,0x3e,0x20,0x31,0x2e,0x30,
0x66,0x2e,0x78,0x78,0x78,0x2e,0x7a,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,
0x0a,0x20,0x20,0x20,0x20,0x65,0x6c,0x73,0x65,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x37,0x35,0x32,0x20,0x3d,0x20,0x5f,
0x37,0x34,0x35,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x69,
0x66,0x20,0x28,0x5f,0x37,0x35,0x32,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x31,0x2e,
0x30,0x66,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x20,0x5f,0x37,0x35,0x39,0x20,0x3d,0x20,0x63,0x6c,0x61,0x6d,0x70,
0x28,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x6c,0x2c,0x20,0x30,0x2e,0x30,0x30,0x31,0x30,
0x30,0x30,0x30,0x30,0x30,0x30,0x34,0x37,0x34,0x39,0x37,0x34,0x35,0x31,0x33,0x30,
0x35,0x33,0x38,0x39,0x34,0x30,0x34,0x32,0x39,0x36,0x38,0x37,0x35,0x66,0x2c,0x20,
0x31,0x2e,0x30,0x66,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x6e,0x74,0x20,0x70,
0x61,0x72,0x61,0x6d,0x20,0x3d,0x20,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,
0x5f,0x31,0x20,0x3d,0x20,0x5f,0x37,0x34,0x31,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x20,0x3d,0x20,0x63,
0x6c,0x61,0x6d,0x70,0x28,0x30,0x2e,0x30,0x30,0x31,0x30,0x30,0x30,0x30,0x30,0x30,
0x30,0x34,0x37,0x34,0x39,0x37,0x34,0x35,0x31,0x33,0x30,0x35,0x33,0x38,0x39,0x34,
0x30,0x34,0x32,0x39,0x36,0x38,0x37,0x35,0x66,0x20,0x2a,0x20,0x28,0x73,0x71,0x72,
0x74,0x28,0x31,0x2e,0x30,0x66,0x20,0x2d,0x20,0x28,0x5f,0x37,0x35,0x39,0x20,0x2a,
0x20,0x5f,0x37,0x35,0x39,0x29,0x29,0x20,0x2f,0x20,0x5f,0x37,0x35,0x39,0x29,0x2c,
0x20,0x30,0x2e,0x30,0x30,0x30,0x35,0x30,0x30,0x30,0x30,0x30,0x30,0x32,0x33,0x37,
0x34,0x38,0x37,0x32,0x35,0x36,0x35,0x32,0x36,0x39,0x34,0x37,0x30,0x32,0x31,0x34,
0x38,0x34,0x33,0x37,0x35,0x66,0x2c,0x20,0x30,0x2e,0x30,0x35,0x30,0x30,0x30,0x30,
0x30,0x30,0x30,0x37,0x34,0x35,0x30,0x35,0x38,0x30,0x35,0x39,0x36,0x39,0x32,0x33,
0x38,0x32,0x38,0x31,0x32,0x35,0x66,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x20,0x70,0x63,0x66,0x20,0x3d,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,
0x53,0x68,0x61,0x64,0x6f,0x77,0x50,0x43,0x46,0x28,0x70,0x61,0x72,0x61,0x6d,0x2c,
0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,
0x32,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x63,0x61,0x73,0x63,
0x61,0x64,0x65,0x20,0x3d,0x3d,0x20,0x32,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x5f,
0x37,0x39,0x30,0x20,0x3d,0x20,0x5f,0x37,0x34,0x31,0x2e,0x78,0x79,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x5f,0x37,
0x39,0x35,0x20,0x3d,0x20,0x6d,0x69,0x6e,0x28,0x5f,0x37,0x39,0x30,0x2c,0x20,0x31,
0x2e,0x30,0x66,0x2e,0x78,0x78,0x20,0x2d,0x20,0x5f,0x37,0x39,0x30,0x29,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x70,0x63,0x66,0x20,0x3d,0x20,0x6c,0x65,
0x72,0x70,0x28,0x31,0x2e,0x30,0x66,0x2c,0x20,0x70,0x63,0x66,0x2c,0x20,0x63,0x6c,
0x61,0x6d,0x70,0x28,0x6d,0x69,0x6e,0x28,0x5f,0x37,0x39,0x35,0x2e,0x78,0x2c,0x20,
0x5f,0x37,0x39,0x35,0x2e,0x79,0x29,0x20,0x2a,0x20,0x31,0x30,0x2e,0x30,0x66,0x2c,
0x20,0x30,0x2e,0x30,0x66,0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x29,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,
0x70,0x63,0x66,0x3b,0x0a,0x7d,0x0a,0x0a,0x66,0x6c,0x6f,0x61,0x74,0x20,0x73,0x61,
0x6d,0x70,0x6c,0x65,0x53,0x68,0x61,0x64,0x6f,0x77,0x43,0x61,0x73,0x63,0x61,0x64,
0x65,0x64,0x28,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x77,0x6f,0x72,0x6c,0x64,0x5f,
0x70,0x6f,0x73,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x6e,0x5f,0x64,0x6f,0x74,
0x5f,0x6c,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x76,0x69,0x65,0x77,0x5f,0x7a,
0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x69,0x6e,0x74,0x20,0x63,0x61,0x73,0x63,
0x61,0x64,0x65,0x20,0x3d,0x20,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,
0x28,0x76,0x69,0x65,0x77,0x5f,0x7a,0x20,0x3c,0x20,0x5f,0x37,0x30,0x36,0x5f,0x63,
0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,0x69,0x65,0x77,0x5f,
0x7a,0x2e,0x78,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x3d,0x20,0x30,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x65,0x6c,0x73,0x65,0x0a,0x20,
0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x20,
0x28,0x76,0x69,0x65,0x77,0x5f,0x7a,0x20,0x3c,0x20,0x5f,0x37,0x30,0x36,0x5f,0x63,
0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,0x69,0x65,0x77,0x5f,
0x7a,0x2e,0x79,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x63,0x61,0x73,0x63,0x61,
0x64,0x65,0x20,0x3d,0x20,0x31,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x7d,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x69,0x6e,0x74,0x20,
0x70,0x61,0x72,0x61,0x6d,0x20,0x3d,0x20,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,
0x6d,0x5f,0x31,0x20,0x3d,0x20,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,
0x5f,0x32,0x20,0x3d,0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x6c,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x73,0x68,0x61,0x64,0x6f,0x77,0x20,0x3d,
0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x43,0x61,0x73,0x63,0x61,0x64,0x65,0x28,0x70,
0x61,0x72,0x61,0x6d,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x2c,0x20,0x70,
0x61,0x72,0x61,0x6d,0x5f,0x32,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,
0x28,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x3c,0x20,0x32,0x29,0x0a,0x20,0x20,
0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x20,0x5f,0x38,0x34,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x69,0x66,0x20,0x28,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x3d,0x3d,0x20,0x30,
0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x38,0x34,0x30,0x20,0x3d,0x20,0x5f,
0x37,0x30,0x36,0x5f,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,
0x76,0x69,0x65,0x77,0x5f,0x7a,0x2e,0x78,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x6c,0x73,0x65,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x38,0x34,0x30,0x20,0x3d,0x20,0x5f,0x37,
0x30,0x36,0x5f,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,
0x69,0x65,0x77,0x5f,0x7a,0x2e,0x79,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x20,0x5f,0x38,0x35,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,
0x66,0x20,0x28,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x3d,0x3d,0x20,0x30,0x29,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x38,0x35,0x32,0x20,0x3d,0x20,0x30,0x2e,
0x30,0x66,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x6c,0x73,0x65,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x5f,0x38,0x35,0x32,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x5f,0x63,0x61,0x73,
0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,0x69,0x65,0x77,0x5f,0x7a,0x2e,
0x78,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x38,0x36,0x33,0x20,
0x3d,0x20,0x6c,0x65,0x72,0x70,0x28,0x5f,0x38,0x34,0x30,0x2c,0x20,0x5f,0x38,0x35,
0x32,0x2c,0x20,0x30,0x2e,0x31,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x31,0x34,0x39,
0x30,0x31,0x31,0x36,0x31,0x31,0x39,0x33,0x38,0x34,0x37,0x36,0x35,0x36,0x32,0x35,
0x66,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,
0x76,0x69,0x65,0x77,0x5f,0x7a,0x20,0x3e,0x20,0x5f,0x38,0x36,0x33,0x29,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x69,0x6e,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x33,
0x20,0x3d,0x20,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x2b,0x20,0x31,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x34,0x20,0x3d,0x20,0x77,0x6f,0x72,
0x6c,0x64,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,
0x35,0x20,0x3d,0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x6c,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x73,0x68,0x61,0x64,0x6f,0x77,0x20,
0x3d,0x20,0x6c,0x65,0x72,0x70,0x28,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x73,
0x61,0x6d,0x70,0x6c,0x65,0x43,0x61,0x73,0x63,0x61,0x64,0x65,0x28,0x70,0x61,0x72,
0x61,0x6d,0x5f,0x33,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x34,0x2c,0x20,0x70,
0x61,0x72,0x61,0x6d,0x5f,0x35,0x29,0x2c,0x20,0x28,0x76,0x69,0x65,0x77,0x5f,0x7a,
0x20,0x2d,0x20,0x5f,0x38,0x36,0x33,0x29,0x20,0x2f,0x20,0x28,0x5f,0x38,0x34,0x30,
0x20,0x2d,0x20,0x5f,0x38,0x36,0x33,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x72,
0x65,0x74,0x75,0x72,0x6e,0x20,0x73,0x68,0x61,0x64,0x6f,0x77,0x3b,0x0a,0x7d,0x0a,
0x0a,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x62,0x72,0x44,0x69,0x73,0x74,0x72,0x69,
0x62,0x75,0x74,0x69,0x6f,0x6e,0x47,0x47,0x58,0x28,0x66,0x6c,0x6f,0x61,0x74,0x20,
0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x68,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x61,
0x6c,0x70,0x68,0x61,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x20,0x5f,0x31,0x30,0x36,0x20,0x3d,0x20,0x61,0x6c,0x70,0x68,0x61,0x20,0x2a,
0x20,0x61,0x6c,0x70,0x68,0x61,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x20,0x5f,0x31,0x31,0x35,0x20,0x3d,0x20,0x28,0x28,0x6e,0x5f,0x64,0x6f,0x74,
0x5f,0x68,0x20,0x2a,0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x68,0x29,0x20,0x2a,0x20,
0x28,0x5f,0x31,0x30,0x36,0x20,0x2d,0x20,0x31,0x2e,0x30,0x66,0x29,0x29,0x20,0x2b,
0x20,0x31,0x2e,0x30,0x66,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,
0x6e,0x20,0x5f,0x31,0x30,0x36,0x20,0x2f,0x20,0x28,0x28,0x33,0x2e,0x31,0x34,0x31,
0x35,0x39,0x32,0x37,0x34,0x31,0x30,0x31,0x32,0x35,0x37,0x33,0x32,0x34,0x32,0x31,
0x38,0x37,0x35,0x66,0x20,0x2a,0x20,0x5f,0x31,0x31,0x35,0x29,0x20,0x2a,0x20,0x5f,
0x31,0x31,0x35,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,
0x62,0x72,0x56,0x69,0x73,0x69,0x62,0x69,0x6c,0x69,0x74,0x79,0x53,0x6d,0x69,0x74,
0x68,0x43,0x6f,0x72,0x72,0x65,0x6c,0x61,0x74,0x65,0x64,0x28,0x66,0x6c,0x6f,0x61,
0x74,0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x76,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x6c,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,
0x61,0x6c,0x70,0x68,0x61,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x20,0x5f,0x31,0x32,0x38,0x20,0x3d,0x20,0x61,0x6c,0x70,0x68,0x61,0x20,
0x2a,0x20,0x61,0x6c,0x70,0x68,0x61,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x20,0x5f,0x31,0x33,0x35,0x20,0x3d,0x20,0x31,0x2e,0x30,0x66,0x20,0x2d,
0x20,0x5f,0x31,0x32,0x38,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,
0x6e,0x20,0x30,0x2e,0x35,0x66,0x20,0x2f,0x20,0x28,0x28,0x28,0x6e,0x5f,0x64,0x6f,
0x74,0x5f,0x6c,0x20,0x2a,0x20,0x73,0x71,0x72,0x74,0x28,0x28,0x28,0x6e,0x5f,0x64,
0x6f,0x74,0x5f,0x76,0x20,0x2a,0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x76,0x29,0x20,
0x2a,0x20,0x5f,0x31,0x33,0x35,0x29,0x20,0x2b,0x20,0x5f,0x31,0x32,0x38,0x29,0x29,
0x20,0x2b,0x20,0x28,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x76,0x20,0x2a,0x20,0x73,0x71,
0x72,0x74,0x28,0x28,0x28,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x6c,0x20,0x2a,0x20,0x6e,
0x5f,0x64,0x6f,0x74,0x5f,0x6c,0x29,0x20,0x2a,0x20,0x5f,0x31,0x33,0x35,0x29,0x20,
0x2b,0x20,0x5f,0x31,0x32,0x38,0x29,0x29,0x29,0x20,0x2b,0x20,0x39,0x2e,0x39,0x39,
0x39,0x39,0x39,0x39,0x37,0x34,0x37,0x33,0x37,0x38,0x37,0x35,0x31,0x36,0x33,0x35,
0x35,0x35,0x31,0x34,0x35,0x32,0x36,0x33,0x36,0x37,0x31,0x38,0x38,0x65,0x2d,0x30,
0x36,0x66,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,
0x62,0x72,0x46,0x72,0x65,0x73,0x6e,0x65,0x6c,0x53,0x63,0x68,0x6c,0x69,0x63,0x6b,
0x28,0x66,0x6c,0x6f,0x61,0x74,0x20,0x76,0x5f,0x64,0x6f,0x74,0x5f,0x68,0x2c,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x66,0x30,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x31,0x36,0x34,0x20,0x3d,0x20,0x31,0x2e,
0x30,0x66,0x20,0x2d,0x20,0x76,0x5f,0x64,0x6f,0x74,0x5f,0x68,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x31,0x36,0x38,0x20,0x3d,0x20,0x5f,
0x31,0x36,0x34,0x20,0x2a,0x20,0x5f,0x31,0x36,0x34,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x66,0x30,0x20,0x2b,0x20,0x28,0x28,0x31,0x2e,
0x30,0x66,0x2e,0x78,0x78,0x78,0x20,0x2d,0x20,0x66,0x30,0x29,0x20,0x2a,0x20,0x28,
0x28,0x5f,0x31,0x36,0x38,0x20,0x2a,0x20,0x5f,0x31,0x36,0x38,0x29,0x20,0x2a,0x20,
0x5f,0x31,0x36,0x34,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x66,0x6c,0x6f,0x61,0x74,
0x33,0x20,0x62,0x72,0x64,0x66,0x5f,0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x65,0x28,
0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x4e,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,
0x20,0x56,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x4c,0x2c,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x33,0x20,0x73,0x75,0x6e,0x5f,0x72,0x61,0x64,0x69,0x61,0x6e,0x63,
0x65,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,
0x6f,0x6c,0x6f,0x72,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x6d,0x65,0x74,0x61,
0x6c,0x6c,0x69,0x63,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x72,0x6f,0x75,0x67,
0x68,0x6e,0x65,0x73,0x73,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x20,0x5f,0x31,0x38,0x37,0x20,0x3d,0x20,0x6d,0x61,0x78,0x28,0x64,0x6f,
0x74,0x28,0x4e,0x2c,0x20,0x4c,0x29,0x2c,0x20,0x30,0x2e,0x30,0x66,0x29,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x5f,0x31,0x39,0x38,0x20,
0x3d,0x20,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,0x56,0x20,0x2b,0x20,
0x4c,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x32,
0x31,0x32,0x20,0x3d,0x20,0x6d,0x61,0x78,0x28,0x72,0x6f,0x75,0x67,0x68,0x6e,0x65,
0x73,0x73,0x2c,0x20,0x30,0x2e,0x30,0x34,0x35,0x30,0x30,0x30,0x30,0x30,0x31,0x37,
0x38,0x38,0x31,0x33,0x39,0x33,0x34,0x33,0x32,0x36,0x31,0x37,0x31,0x38,0x37,0x35,
0x66,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x32,
0x31,0x36,0x20,0x3d,0x20,0x5f,0x32,0x31,0x32,0x20,0x2a,0x20,0x5f,0x32,0x31,0x32,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,
0x6d,0x20,0x3d,0x20,0x6d,0x61,0x78,0x28,0x64,0x6f,0x74,0x28,0x4e,0x2c,0x20,0x5f,
0x31,0x39,0x38,0x29,0x2c,0x20,0x30,0x2e,0x30,0x66,0x29,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x20,0x3d,
0x20,0x5f,0x32,0x31,0x36,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x20,0x3d,0x20,0x6d,0x61,0x78,0x28,0x64,
0x6f,0x74,0x28,0x4e,0x2c,0x20,0x56,0x29,0x2c,0x20,0x39,0x2e,0x39,0x39,0x39,0x39,
0x39,0x39,0x37,0x34,0x37,0x33,0x37,0x38,0x37,0x35,0x31,0x36,0x33,0x35,0x35,0x35,
0x31,0x34,0x35,0x32,0x36,0x33,0x36,0x37,0x31,0x38,0x38,0x65,0x2d,0x30,0x35,0x66,
0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,
0x61,0x6d,0x5f,0x33,0x20,0x3d,0x20,0x5f,0x31,0x38,0x37,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x34,0x20,0x3d,
0x20,0x5f,0x32,0x31,0x36,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x20,0x3d,0x20,0x6d,0x61,0x78,0x28,0x64,
0x6f,0x74,0x28,0x56,0x2c,0x20,0x5f,0x31,0x39,0x38,0x29,0x2c,0x20,0x30,0x2e,0x30,
0x66,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,
0x61,0x72,0x61,0x6d,0x5f,0x36,0x20,0x3d,0x20,0x6c,0x65,0x72,0x70,0x28,0x30,0x2e,
0x30,0x33,0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x31,0x30,0x35,0x39,0x33,0x30,0x33,
0x32,0x38,0x33,0x36,0x39,0x31,0x34,0x30,0x36,0x32,0x35,0x66,0x2e,0x78,0x78,0x78,
0x2c,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2c,0x20,0x6d,0x65,
0x74,0x61,0x6c,0x6c,0x69,0x63,0x2e,0x78,0x78,0x78,0x29,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x5f,0x32,0x34,0x33,0x20,0x3d,0x20,0x70,
0x62,0x72,0x46,0x72,0x65,0x73,0x6e,0x65,0x6c,0x53,0x63,0x68,0x6c,0x69,0x63,0x6b,
0x28,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,
0x36,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x28,
0x28,0x28,0x28,0x28,0x28,0x31,0x2e,0x30,0x66,0x2e,0x78,0x78,0x78,0x20,0x2d,0x20,
0x5f,0x32,0x34,0x33,0x29,0x20,0x2a,0x20,0x28,0x31,0x2e,0x30,0x66,0x20,0x2d,0x20,
0x6d,0x65,0x74,0x61,0x6c,0x6c,0x69,0x63,0x29,0x29,0x20,0x2a,0x20,0x62,0x61,0x73,
0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x29,0x20,0x2a,0x20,0x30,0x2e,0x33,0x31,0x38,
0x33,0x30,0x39,0x38,0x37,0x33,0x33,0x34,0x32,0x35,0x31,0x34,0x30,0x33,0x38,0x30,
0x38,0x35,0x39,0x33,0x37,0x35,0x66,0x2e,0x78,0x78,0x78,0x29,0x20,0x2b,0x20,0x28,
0x5f,0x32,0x34,0x33,0x20,0x2a,0x20,0x28,0x70,0x62,0x72,0x44,0x69,0x73,0x74,0x72,
0x69,0x62,0x75,0x74,0x69,0x6f,0x6e,0x47,0x47,0x58,0x28,0x70,0x61,0x72,0x61,0x6d,
0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x29,0x20,0x2a,0x20,0x70,0x62,0x72,
0x56,0x69,0x73,0x69,0x62,0x69,0x6c,0x69,0x74,0x79,0x53,0x6d,0x69,0x74,0x68,0x43,
0x6f,0x72,0x72,0x65,0x6c,0x61,0x74,0x65,0x64,0x28,0x70,0x61,0x72,0x61,0x6d,0x5f,
0x32,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x33,0x2c,0x20,0x70,0x61,0x72,0x61,
0x6d,0x5f,0x34,0x29,0x29,0x29,0x29,0x20,0x2a,0x20,0x73,0x75,0x6e,0x5f,0x72,0x61,
0x64,0x69,0x61,0x6e,0x63,0x65,0x29,0x20,0x2a,0x20,0x5f,0x31,0x38,0x37,0x3b,0x0a,
0x7d,0x0a,0x0a,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x62,0x72,0x45,0x76,0x61,
0x6c,0x75,0x61,0x74,0x65,0x53,0x68,0x49,0x72,0x72,0x61,0x64,0x69,0x61,0x6e,0x63,
0x65,0x28,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x4e,0x2c,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x34,0x20,0x73,0x68,0x5b,0x39,0x5d,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x5f,0x33,0x39,0x38,0x20,0x3d,0x20,0x28,0x28,
0x28,0x28,0x28,0x28,0x28,0x28,0x73,0x68,0x5b,0x30,0x5d,0x2e,0x78,0x79,0x7a,0x20,
0x2a,0x20,0x30,0x2e,0x32,0x38,0x32,0x30,0x39,0x34,0x38,0x30,0x36,0x34,0x33,0x32,
0x37,0x32,0x33,0x39,0x39,0x39,0x30,0x32,0x33,0x34,0x33,0x37,0x35,0x66,0x29,0x20,
0x2b,0x20,0x28,0x73,0x68,0x5b,0x31,0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,
0x28,0x2d,0x30,0x2e,0x34,0x38,0x38,0x36,0x30,0x32,0x35,0x31,0x39,0x30,0x33,0x35,
0x33,0x33,0x39,0x33,0x35,0x35,0x34,0x36,0x38,0x37,0x35,0x66,0x29,0x20,0x2a,0x20,
0x4e,0x2e,0x79,0x29,0x29,0x29,0x20,0x2b,0x20,0x28,0x73,0x68,0x5b,0x32,0x5d,0x2e,
0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,0x30,0x2e,0x34,0x38,0x38,0x36,0x30,0x32,0x35,
0x31,0x39,0x30,0x33,0x35,0x33,0x33,0x39,0x33,0x35,0x35,0x34,0x36,0x38,0x37,0x35,
0x66,0x20,0x2a,0x20,0x4e,0x2e,0x7a,0x29,0x29,0x29,0x20,0x2b,0x20,0x28,0x73,0x68,
0x5b,0x33,0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,0x28,0x2d,0x30,0x2e,0x34,
0x38,0x38,0x36,0x30,0x32,0x35,0x31,0x39,0x30,0x33,0x35,0x33,0x33,0x39,0x33,0x35,
0x35,0x34,0x36,0x38,0x37,0x35,0x66,0x29,0x20,0x2a,0x20,0x4e,0x2e,0x78,0x29,0x29,
0x29,0x20,0x2b,0x20,0x28,0x73,0x68,0x5b,0x34,0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,
0x20,0x28,0x28,0x31,0x2e,0x30,0x39,0x32,0x35,0x34,0x38,0x34,0x38,0x39,0x35,0x37,
0x30,0x36,0x31,0x37,0x36,0x37,0x35,0x37,0x38,0x31,0x32,0x35,0x66,0x20,0x2a,0x20,
0x4e,0x2e,0x78,0x29,0x20,0x2a,0x20,0x4e,0x2e,0x79,0x29,0x29,0x29,0x20,0x2b,0x20,
0x28,0x73,0x68,0x5b,0x35,0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,0x28,0x28,
0x2d,0x31,0x2e,0x30,0x39,0x32,0x35,0x34,0x38,0x34,0x38,0x39,0x35,0x37,0x30,0x36,
0x31,0x37,0x36,0x37,0x35,0x37,0x38,0x31,0x32,0x35,0x66,0x29,0x20,0x2a,0x20,0x4e,
0x2e,0x79,0x29,0x20,0x2a,0x20,0x4e,0x2e,0x7a,0x29,0x29,0x29,0x20,0x2b,0x20,0x28,
0x73,0x68,0x5b,0x36,0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,0x30,0x2e,0x33,
0x31,0x35,0x33,0x39,0x31,0x35,0x37,0x30,0x33,0x32,0x39,0x36,0x36,0x36,0x31,0x33,
0x37,0x36,0x39,0x35,0x33,0x31,0x32,0x35,0x66,0x20,0x2a,0x20,0x28,0x28,0x28,0x33,
0x2e,0x30,0x66,0x20,0x2a,0x20,0x4e,0x2e,0x7a,0x29,0x20,0x2a,0x20,0x4e,0x2e,0x7a,
0x29,0x20,0x2d,0x20,0x31,0x2e,0x30,0x66,0x29,0x29,0x29,0x29,0x20,0x2b,0x20,0x28,
0x73,0x68,0x5b,0x37,0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,0x28,0x28,0x2d,
0x31,0x2e,0x30,0x39,0x32,0x35,0x34,0x38,0x34,0x38,0x39,0x35,0x37,0x30,0x36,0x31,
0x37,0x36,0x37,0x35,0x37,0x38,0x31,0x32,0x35,0x66,0x29,0x20,0x2a,0x20,0x4e,0x2e,
0x78,0x29,0x20,0x2a,0x20,0x4e,0x2e,0x7a,0x29,0x29,0x29,0x20,0x2b,0x20,0x28,0x73,
0x68,0x5b,0x38,0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,0x30,0x2e,0x35,0x34,
0x36,0x32,0x37,0x34,0x32,0x34,0x34,0x37,0x38,0x35,0x33,0x30,0x38,0x38,0x33,0x37,
0x38,0x39,0x30,0x36,0x32,0x35,0x66,0x20,0x2a,0x20,0x28,0x28,0x4e,0x2e,0x78,0x20,
0x2a,0x20,0x4e,0x2e,0x78,0x29,0x20,0x2d,0x20,0x28,0x4e,0x2e,0x79,0x20,0x2a,0x20,
0x4e,0x2e,0x79,0x29,0x29,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,
0x75,0x72,0x6e,0x20,0x5f,0x33,0x39,0x38,0x3b,0x0a,0x7d,0x0a,0x0a,0x66,0x6c,0x6f,
0x61,0x74,0x33,0x20,0x70,0x62,0x72,0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x65,0x49,
0x62,0x6c,0x28,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x4e,0x5f,0x77,0x6f,0x72,0x6c,
0x64,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x56,0x5f,0x77,0x6f,0x72,0x6c,
0x64,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,
0x6f,0x6c,0x6f,0x72,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x6d,0x65,0x74,0x61,
0x6c,0x6c,0x69,0x63,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x72,0x6f,0x75,0x67,
0x68,0x6e,0x65,0x73,0x73,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x73,0x68,
0x5b,0x39,0x5d,0x2c,0x20,0x54,0x65,0x78,0x74,0x75,0x72,0x65,0x43,0x75,0x62,0x65,
0x3c,0x66,0x6c,0x6f,0x61,0x74,0x34,0x3e,0x20,0x74,0x65,0x78,0x5f,0x73,0x70,0x65,
0x63,0x5f,0x63,0x75,0x62,0x65,0x2c,0x20,0x53,0x61,0x6d,0x70,0x6c,0x65,0x72,0x53,
0x74,0x61,0x74,0x65,0x20,0x73,0x6d,0x70,0x5f,0x73,0x70,0x65,0x63,0x5f,0x63,0x75,
0x62,0x65,0x2c,0x20,0x54,0x65,0x78,0x74,0x75,0x72,0x65,0x32,0x44,0x3c,0x66,0x6c,
0x6f,0x61,0x74,0x34,0x3e,0x20,0x74,0x65,0x78,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,
0x75,0x74,0x5f,0x31,0x2c,0x20,0x53,0x61,0x6d,0x70,0x6c,0x65,0x72,0x53,0x74,0x61,
0x74,0x65,0x20,0x73,0x6d,0x70,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x5f,
0x31,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x6d,0x61,0x78,0x5f,0x6c,0x6f,0x64,
0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x34,
0x30,0x35,0x20,0x3d,0x20,0x63,0x6c,0x61,0x6d,0x70,0x28,0x64,0x6f,0x74,0x28,0x4e,
0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2c,0x20,0x56,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x29,
0x2c,0x20,0x39,0x2e,0x39,0x39,0x39,0x39,0x39,0x39,0x37,0x34,0x37,0x33,0x37,0x38,
0x37,0x35,0x31,0x36,0x33,0x35,0x35,0x35,0x31,0x34,0x35,0x32,0x36,0x33,0x36,0x37,
0x31,0x38,0x38,0x65,0x2d,0x30,0x35,0x66,0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x5f,0x34,0x31,0x35,
0x20,0x3d,0x20,0x6c,0x65,0x72,0x70,0x28,0x30,0x2e,0x30,0x33,0x39,0x39,0x39,0x39,
0x39,0x39,0x39,0x31,0x30,0x35,0x39,0x33,0x30,0x33,0x32,0x38,0x33,0x36,0x39,0x31,
0x34,0x30,0x36,0x32,0x35,0x66,0x2e,0x78,0x78,0x78,0x2c,0x20,0x62,0x61,0x73,0x65,
0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2c,0x20,0x6d,0x65,0x74,0x61,0x6c,0x6c,0x69,0x63,
0x2e,0x78,0x78,0x78,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x20,0x3d,0x20,0x4e,0x5f,0x77,0x6f,0x72,0x6c,
0x64,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x31,0x5b,0x39,0x5d,0x20,0x3d,0x20,0x73,0x68,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x34,0x38,0x31,0x20,0x3d,
0x20,0x74,0x65,0x78,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x5f,0x31,0x2e,
0x53,0x61,0x6d,0x70,0x6c,0x65,0x28,0x73,0x6d,0x70,0x5f,0x62,0x72,0x64,0x66,0x5f,
0x6c,0x75,0x74,0x5f,0x31,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x28,0x5f,0x34,
0x30,0x35,0x2c,0x20,0x72,0x6f,0x75,0x67,0x68,0x6e,0x65,0x73,0x73,0x29,0x29,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x28,0x28,0x28,0x28,
0x28,0x31,0x2e,0x30,0x66,0x2e,0x78,0x78,0x78,0x20,0x2d,0x20,0x28,0x5f,0x34,0x31,
0x35,0x20,0x2b,0x20,0x28,0x28,0x6d,0x61,0x78,0x28,0x28,0x31,0x2e,0x30,0x66,0x20,
0x2d,0x20,0x72,0x6f,0x75,0x67,0x68,0x6e,0x65,0x73,0x73,0x29,0x2e,0x78,0x78,0x78,
0x2c,0x20,0x5f,0x34,0x31,0x35,0x29,0x20,0x2d,0x20,0x5f,0x34,0x31,0x35,0x29,0x20,
0x2a,0x20,0x70,0x6f,0x77,0x28,0x6d,0x61,0x78,0x28,0x30,0x2e,0x30,0x66,0x2c,0x20,
0x31,0x2e,0x30,0x66,0x20,0x2d,0x20,0x5f,0x34,0x30,0x35,0x29,0x2c,0x20,0x35,0x2e,
0x30,0x66,0x29,0x29,0x29,0x29,0x20,0x2a,0x20,0x28,0x31,0x2e,0x30,0x66,0x20,0x2d,
0x20,0x6d,0x65,0x74,0x61,0x6c,0x6c,0x69,0x63,0x29,0x29,0x20,0x2a,0x20,0x62,0x61,
0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x29,0x20,0x2a,0x20,0x6d,0x61,0x78,0x28,
0x70,0x62,0x72,0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x65,0x53,0x68,0x49,0x72,0x72,
0x61,0x64,0x69,0x61,0x6e,0x63,0x65,0x28,0x70,0x61,0x72,0x61,0x6d,0x2c,0x20,0x70,
0x61,0x72,0x61,0x6d,0x5f,0x31,0x29,0x2c,0x20,0x30,0x2e,0x30,0x66,0x2e,0x78,0x78,
0x78,0x29,0x29,0x20,0x2a,0x20,0x30,0x2e,0x33,0x31,0x38,0x33,0x30,0x39,0x38,0x37,
0x33,0x33,0x34,0x32,0x35,0x31,0x34,0x30,0x33,0x38,0x30,0x38,0x35,0x39,0x33,0x37,
0x35,0x66,0x2e,0x78,0x78,0x78,0x29,0x20,0x2b,0x20,0x28,0x74,0x65,0x78,0x5f,0x73,
0x70,0x65,0x63,0x5f,0x63,0x75,0x62,0x65,0x2e,0x53,0x61,0x6d,0x70,0x6c,0x65,0x4c,
0x65,0x76,0x65,0x6c,0x28,0x73,0x6d,0x70,0x5f,0x73,0x70,0x65,0x63,0x5f,0x63,0x75,
0x62,0x65,0x2c,0x20,0x72,0x65,0x66,0x6c,0x65,0x63,0x74,0x28,0x2d,0x56,0x5f,0x77,
0x6f,0x72,0x6c,0x64,0x2c,0x20,0x4e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x29,0x2c,0x20,
0x72,0x6f,0x75,0x67,0x68,0x6e,0x65,0x73,0x73,0x20,0x2a,0x20,0x6d,0x61,0x78,0x5f,
0x6c,0x6f,0x64,0x29,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,0x28,0x5f,0x34,0x31,
0x35,0x20,0x2a,0x20,0x5f,0x34,0x38,0x31,0x2e,0x78,0x29,0x20,0x2b,0x20,0x5f,0x34,
0x38,0x31,0x2e,0x79,0x2e,0x78,0x78,0x78,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x66,
0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x62,0x72,0x45,0x76,0x61,0x6c,0x75,0x61,0x74,
0x65,0x41,0x6d,0x62,0x69,0x65,0x6e,0x74,0x28,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x62,
0x6c,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,
0x20,0x4e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,
0x20,0x56,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,
0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2c,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x20,0x6d,0x65,0x74,0x61,0x6c,0x6c,0x69,0x63,0x2c,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x20,0x72,0x6f,0x75,0x67,0x68,0x6e,0x65,0x73,0x73,0x2c,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x20,0x66,0x6c,0x61,0x74,0x5f,0x73,0x74,0x72,0x65,0x6e,0x67,0x74,
0x68,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x73,0x68,0x5b,0x39,0x5d,0x2c,
0x20,0x54,0x65,0x78,0x74,0x75,0x72,0x65,0x43,0x75,0x62,0x65,0x3c,0x66,0x6c,0x6f,
0x61,0x74,0x34,0x3e,0x20,0x74,0x65,0x78,0x5f,0x73,0x70,0x65,0x63,0x5f,0x63,0x75,
0x62,0x65,0x2c,0x20,0x53,0x61,0x6d,0x70,0x6c,0x65,0x72,0x53,0x74,0x61,0x74,0x65,
0x20,0x73,0x6d,0x70,0x5f,0x73,0x70,0x65,0x63,0x5f,0x63,0x75,0x62,0x65,0x2c,0x20,
0x54,0x65,0x78,0x74,0x75,0x72,0x65,0x32,0x44,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x34,
0x3e,0x20,0x74,0x65,0x78,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x5f,0x31,
0x2c,0x20,0x53,0x61,0x6d,0x70,0x6c,0x65,0x72,0x53,0x74,0x61,0x74,0x65,0x20,0x73,
0x6d,0x70,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x5f,0x31,0x2c,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x20,0x6d,0x61,0x78,0x5f,0x6c,0x6f,0x64,0x29,0x0a,0x7b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x72,0x65,0x73,0x75,0x6c,
0x74,0x20,0x3d,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x2a,
0x20,0x66,0x6c,0x61,0x74,0x5f,0x73,0x74,0x72,0x65,0x6e,0x67,0x74,0x68,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x69,0x62,0x6c,0x45,0x6e,0x61,0x62,0x6c,
0x65,0x64,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x20,0x3d,
0x20,0x4e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,
0x20,0x3d,0x20,0x56,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,
0x5f,0x32,0x20,0x3d,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,
0x61,0x72,0x61,0x6d,0x5f,0x33,0x20,0x3d,0x20,0x6d,0x65,0x74,0x61,0x6c,0x6c,0x69,
0x63,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x34,0x20,0x3d,0x20,0x72,0x6f,0x75,0x67,0x68,
0x6e,0x65,0x73,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x34,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x5b,0x39,0x5d,0x20,
0x3d,0x20,0x73,0x68,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x36,0x20,0x3d,0x20,0x6d,0x61,
0x78,0x5f,0x6c,0x6f,0x64,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,
0x65,0x73,0x75,0x6c,0x74,0x20,0x3d,0x20,0x70,0x62,0x72,0x45,0x76,0x61,0x6c,0x75,
0x61,0x74,0x65,0x49,0x62,0x6c,0x28,0x70,0x61,0x72,0x61,0x6d,0x2c,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x31,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x2c,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x33,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x34,
0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x2c,0x20,0x74,0x65,0x78,0x5f,0x73,
0x70,0x65,0x63,0x5f,0x63,0x75,0x62,0x65,0x2c,0x20,0x73,0x6d,0x70,0x5f,0x73,0x70,
0x65,0x63,0x5f,0x63,0x75,0x62,0x65,0x2c,0x20,0x74,0x65,0x78,0x5f,0x62,0x72,0x64,
0x66,0x5f,0x6c,0x75,0x74,0x5f,0x31,0x2c,0x20,0x73,0x6d,0x70,0x5f,0x62,0x72,0x64,
0x66,0x5f,0x6c,0x75,0x74,0x5f,0x31,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x36,
0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,
0x75,0x72,0x6e,0x20,0x72,0x65,0x73,0x75,0x6c,0x74,0x3b,0x0a,0x7d,0x0a,0x0a,0x76,
0x6f,0x69,0x64,0x20,0x66,0x72,0x61,0x67,0x5f,0x6d,0x61,0x69,0x6e,0x28,0x29,0x0a,
0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x5f,0x38,0x39,
0x35,0x20,0x3d,0x20,0x64,0x64,0x78,0x28,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,
0x6f,0x73,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,
0x5f,0x38,0x39,0x38,0x20,0x3d,0x20,0x64,0x64,0x79,0x28,0x76,0x5f,0x76,0x69,0x65,
0x77,0x5f,0x70,0x6f,0x73,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x33,0x20,0x5f,0x39,0x30,0x37,0x20,0x3d,0x20,0x6e,0x6f,0x72,0x6d,0x61,0x6c,
0x69,0x7a,0x65,0x28,0x63,0x72,0x6f,0x73,0x73,0x28,0x5f,0x38,0x39,0x38,0x20,0x2a,
0x20,0x28,0x2d,0x5f,0x37,0x30,0x36,0x5f,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,
0x66,0x61,0x72,0x5f,0x76,0x69,0x65,0x77,0x5f,0x7a,0x2e,0x77,0x29,0x2c,0x20,0x5f,
0x38,0x39,0x35,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x20,0x5f,0x39,0x31,0x32,0x20,0x3d,0x20,0x2d,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,
0x70,0x6f,0x73,0x2e,0x7a,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x5f,
0x37,0x30,0x36,0x5f,0x66,0x6c,0x61,0x67,0x73,0x2e,0x78,0x20,0x3d,0x3d,0x20,0x31,
0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x39,0x32,0x33,0x20,0x3d,0x20,0x63,0x6c,0x61,
0x6d,0x70,0x28,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x2e,0x7a,0x20,
0x2a,0x20,0x28,0x2d,0x30,0x2e,0x30,0x31,0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x35,
0x35,0x32,0x39,0x36,0x35,0x31,0x36,0x34,0x31,0x38,0x34,0x35,0x37,0x30,0x33,0x31,
0x32,0x35,0x66,0x29,0x2c,0x20,0x30,0x2e,0x30,0x66,0x2c,0x20,0x31,0x2e,0x30,0x66,
0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x5f,0x63,
0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x5f,0x39,
0x32,0x33,0x2c,0x20,0x5f,0x39,0x32,0x33,0x2c,0x20,0x5f,0x39,0x32,0x33,0x2c,0x20,
0x31,0x2e,0x30,0x66,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,
0x65,0x74,0x75,0x72,0x6e,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,
0x20,0x69,0x66,0x20,0x28,0x5f,0x37,0x30,0x36,0x5f,0x66,0x6c,0x61,0x67,0x73,0x2e,
0x78,0x20,0x3d,0x3d,0x20,0x32,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x6e,0x74,0x20,0x63,0x61,0x73,0x63,0x61,0x64,
0x65,0x20,0x3d,0x20,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,
0x66,0x20,0x28,0x5f,0x39,0x31,0x32,0x20,0x3c,0x20,0x5f,0x37,0x30,0x36,0x5f,0x63,
0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,0x69,0x65,0x77,0x5f,
0x7a,0x2e,0x78,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x63,0x61,0x73,0x63,0x61,
0x64,0x65,0x20,0x3d,0x20,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x6c,0x73,0x65,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x5f,0x39,0x31,0x32,0x20,0x3c,0x20,
0x5f,0x37,0x30,0x36,0x5f,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,
0x5f,0x76,0x69,0x65,0x77,0x5f,0x7a,0x2e,0x79,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x63,0x61,0x73,0x63,0x61,0x64,0x65,
0x20,0x3d,0x20,0x31,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x39,0x35,
0x38,0x20,0x3d,0x20,0x6d,0x75,0x6c,0x28,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x76,
0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x2c,0x20,0x31,0x2e,0x30,0x66,
0x29,0x2c,0x20,0x5f,0x37,0x30,0x36,0x5f,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,
0x6d,0x61,0x74,0x72,0x69,0x63,0x65,0x73,0x5b,0x63,0x61,0x73,0x63,0x61,0x64,0x65,
0x5d,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x33,0x20,0x5f,0x39,0x36,0x35,0x20,0x3d,0x20,0x5f,0x39,0x35,0x38,0x2e,0x78,
0x79,0x7a,0x20,0x2f,0x20,0x5f,0x39,0x35,0x38,0x2e,0x77,0x2e,0x78,0x78,0x78,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,
0x5f,0x39,0x38,0x32,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x28,0x5f,
0x39,0x36,0x35,0x2e,0x78,0x20,0x2a,0x20,0x30,0x2e,0x35,0x66,0x29,0x20,0x2b,0x20,
0x30,0x2e,0x35,0x66,0x2c,0x20,0x28,0x28,0x5f,0x39,0x36,0x35,0x2e,0x79,0x20,0x2a,
0x20,0x5f,0x37,0x30,0x36,0x5f,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,
0x72,0x5f,0x76,0x69,0x65,0x77,0x5f,0x7a,0x2e,0x77,0x29,0x20,0x2a,0x20,0x30,0x2e,
0x35,0x66,0x29,0x20,0x2b,0x20,0x30,0x2e,0x35,0x66,0x2c,0x20,0x5f,0x39,0x36,0x35,
0x2e,0x7a,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x62,0x6f,0x6f,
0x6c,0x20,0x5f,0x39,0x38,0x36,0x20,0x3d,0x20,0x61,0x6e,0x79,0x28,0x62,0x6f,0x6f,
0x6c,0x33,0x28,0x5f,0x39,0x38,0x32,0x2e,0x78,0x20,0x3c,0x20,0x30,0x2e,0x30,0x66,
0x2e,0x78,0x78,0x78,0x2e,0x78,0x2c,0x20,0x5f,0x39,0x38,0x32,0x2e,0x79,0x20,0x3c,
0x20,0x30,0x2e,0x30,0x66,0x2e,0x78,0x78,0x78,0x2e,0x79,0x2c,0x20,0x5f,0x39,0x38,
0x32,0x2e,0x7a,0x20,0x3c,0x20,0x30,0x2e,0x30,0x66,0x2e,0x78,0x78,0x78,0x2e,0x7a,
0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x62,0x6f,0x6f,0x6c,
0x20,0x5f,0x39,0x39,0x33,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,
0x66,0x20,0x28,0x21,0x5f,0x39,0x38,0x36,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x5f,0x39,0x39,0x33,0x20,0x3d,0x20,0x61,0x6e,0x79,0x28,0x62,0x6f,0x6f,0x6c,0x33,
0x28,0x5f,0x39,0x38,0x32,0x2e,0x78,0x20,0x3e,0x20,0x31,0x2e,0x30,0x66,0x2e,0x78,
0x78,0x78,0x2e,0x78,0x2c,0x20,0x5f,0x39,0x38,0x32,0x2e,0x79,0x20,0x3e,0x20,0x31,
0x2e,0x30,0x66,0x2e,0x78,0x78,0x78,0x2e,0x79,0x2c,0x20,0x5f,0x39,0x38,0x32,0x2e,
0x7a,0x20,0x3e,0x20,0x31,0x2e,0x30,0x66,0x2e,0x78,0x78,0x78,0x2e,0x7a,0x29,0x29,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x65,0x6c,0x73,0x65,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,
0x39,0x39,0x33,0x20,0x3d,0x20,0x5f,0x39,0x38,0x36,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x33,0x20,0x74,0x69,0x6e,0x74,0x20,0x3d,0x20,0x31,0x2e,0x30,0x66,
0x2e,0x78,0x78,0x78,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,
0x20,0x28,0x21,0x5f,0x39,0x39,0x33,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,
0x66,0x20,0x28,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x3d,0x3d,0x20,0x30,0x29,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x74,
0x69,0x6e,0x74,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x31,0x2e,0x30,
0x66,0x2c,0x20,0x30,0x2e,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x35,0x39,0x36,
0x30,0x34,0x36,0x34,0x34,0x37,0x37,0x35,0x33,0x39,0x30,0x36,0x32,0x35,0x66,0x2c,
0x20,0x30,0x2e,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x35,0x39,0x36,0x30,0x34,
0x36,0x34,0x34,0x37,0x37,0x35,0x33,0x39,0x30,0x36,0x32,0x35,0x66,0x29,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x6c,0x73,0x65,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x20,
0x28,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x3d,0x3d,0x20,0x31,0x29,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x74,0x69,0x6e,0x74,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x33,0x28,0x30,0x2e,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x35,0x39,0x36,
0x30,0x34,0x36,0x34,0x34,0x37,0x37,0x35,0x33,0x39,0x30,0x36,0x32,0x35,0x66,0x2c,
0x20,0x31,0x2e,0x30,0x66,0x2c,0x20,0x30,0x2e,0x34,0x30,0x30,0x30,0x30,0x30,0x30,
0x30,0x35,0x39,0x36,0x30,0x34,0x36,0x34,0x34,0x37,0x37,0x35,0x33,0x39,0x30,0x36,
0x32,0x35,0x66,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x6c,0x73,0x65,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x74,0x69,0x6e,0x74,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,
0x28,0x30,0x2e,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x35,0x39,0x36,0x30,0x34,
0x36,0x34,0x34,0x37,0x37,0x35,0x33,0x39,0x30,0x36,0x32,0x35,0x66,0x2c,0x20,0x30,
0x2e,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x35,0x39,0x36,0x30,0x34,0x36,0x34,
0x34,0x37,0x37,0x35,0x33,0x39,0x30,0x36,0x32,0x35,0x66,0x2c,0x20,0x31,0x2e,0x30,
0x66,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,
0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x74,0x69,0x6e,0x74,0x2c,0x20,0x31,
0x2e,0x30,0x66,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,0x65,
0x74,0x75,0x72,0x6e,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,
0x69,0x66,0x20,0x28,0x5f,0x37,0x30,0x36,0x5f,0x66,0x6c,0x61,0x67,0x73,0x2e,0x78,
0x20,0x3d,0x3d,0x20,0x33,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x28,0x5f,0x39,0x30,0x37,0x20,0x2a,0x20,
0x30,0x2e,0x35,0x66,0x29,0x20,0x2b,0x20,0x30,0x2e,0x35,0x66,0x2e,0x78,0x78,0x78,
0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,
0x20,0x20,0x20,0x75,0x69,0x6e,0x74,0x20,0x5f,0x31,0x30,0x34,0x35,0x5f,0x64,0x75,
0x6d,0x6d,0x79,0x5f,0x70,0x61,0x72,0x61,0x6d,0x65,0x74,0x65,0x72,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x31,0x30,0x35,0x33,0x20,
0x3d,0x20,0x74,0x65,0x78,0x5f,0x61,0x6f,0x2e,0x53,0x61,0x6d,0x70,0x6c,0x65,0x4c,
0x65,0x76,0x65,0x6c,0x28,0x73,0x6d,0x70,0x5f,0x61,0x6f,0x2c,0x20,0x67,0x6c,0x5f,
0x46,0x72,0x61,0x67,0x43,0x6f,0x6f,0x72,0x64,0x2e,0x78,0x79,0x20,0x2f,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x32,0x28,0x69,0x6e,0x74,0x32,0x28,0x73,0x70,0x76,0x54,0x65,
0x78,0x74,0x75,0x72,0x65,0x53,0x69,0x7a,0x65,0x28,0x74,0x65,0x78,0x5f,0x61,0x6f,
0x2c,0x20,0x75,0x69,0x6e,0x74,0x28,0x30,0x29,0x2c,0x20,0x5f,0x31,0x30,0x34,0x35,
0x5f,0x64,0x75,0x6d,0x6d,0x79,0x5f,0x70,0x61,0x72,0x61,0x6d,0x65,0x74,0x65,0x72,
0x29,0x29,0x29,0x2c,0x20,0x30,0x2e,0x30,0x66,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x31,0x30,0x35,0x34,0x20,0x3d,0x20,0x5f,0x31,
0x30,0x35,0x33,0x2e,0x78,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x5f,
0x37,0x30,0x36,0x5f,0x66,0x6c,0x61,0x67,0x73,0x2e,0x78,0x20,0x3d,0x3d,0x20,0x34,
0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x6f,0x75,0x74,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x34,0x28,0x5f,0x31,0x30,0x35,0x34,0x2c,0x20,0x5f,0x31,0x30,0x35,0x34,0x2c,
0x20,0x5f,0x31,0x30,0x35,0x34,0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,
0x5f,0x31,0x30,0x37,0x32,0x20,0x3d,0x20,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,
0x65,0x28,0x5f,0x37,0x30,0x36,0x5f,0x73,0x75,0x6e,0x5f,0x64,0x69,0x72,0x5f,0x76,
0x69,0x65,0x77,0x2e,0x78,0x79,0x7a,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x20,0x3d,0x20,0x76,0x5f,0x77,
0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x20,0x3d,0x20,0x6d,0x61,
0x78,0x28,0x64,0x6f,0x74,0x28,0x5f,0x39,0x30,0x37,0x2c,0x20,0x5f,0x31,0x30,0x37,
0x32,0x29,0x2c,0x20,0x30,0x2e,0x30,0x66,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x20,0x3d,0x20,0x5f,
0x39,0x31,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x33,0x20,0x3d,0x20,0x5f,0x39,0x30,0x37,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,
0x5f,0x34,0x20,0x3d,0x20,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,0x2d,
0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x29,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x20,
0x3d,0x20,0x5f,0x31,0x30,0x37,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x36,0x20,0x3d,0x20,0x5f,0x37,
0x30,0x36,0x5f,0x73,0x75,0x6e,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2e,0x78,0x79,0x7a,
0x20,0x2a,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x53,0x68,0x61,0x64,0x6f,0x77,0x43,
0x61,0x73,0x63,0x61,0x64,0x65,0x64,0x28,0x70,0x61,0x72,0x61,0x6d,0x2c,0x20,0x70,
0x61,0x72,0x61,0x6d,0x5f,0x31,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x29,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,
0x61,0x6d,0x5f,0x37,0x20,0x3d,0x20,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,
0x6c,0x6f,0x72,0x2e,0x78,0x79,0x7a,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x38,0x20,0x3d,0x20,0x76,0x5f,0x6d,
0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x2e,0x78,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x39,0x20,0x3d,0x20,0x76,
0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x2e,0x79,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x62,0x6f,0x6f,0x6c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x30,0x20,0x3d,
0x20,0x5f,0x37,0x30,0x36,0x5f,0x69,0x62,0x6c,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,
0x2e,0x79,0x20,0x3e,0x20,0x30,0x2e,0x35,0x66,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x31,0x20,0x3d,
0x20,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,0x6d,0x75,0x6c,0x28,0x5f,
0x39,0x30,0x37,0x2c,0x20,0x74,0x72,0x61,0x6e,0x73,0x70,0x6f,0x73,0x65,0x28,0x66,
0x6c,0x6f,0x61,0x74,0x33,0x78,0x33,0x28,0x5f,0x37,0x30,0x36,0x5f,0x76,0x69,0x65,
0x77,0x5b,0x30,0x5d,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x37,0x30,0x36,0x5f,0x76,
0x69,0x65,0x77,0x5b,0x31,0x5d,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x37,0x30,0x36,
0x5f,0x76,0x69,0x65,0x77,0x5b,0x32,0x5d,0x2e,0x78,0x79,0x7a,0x29,0x29,0x29,0x29,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,
0x61,0x6d,0x5f,0x31,0x32,0x20,0x3d,0x20,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,
0x65,0x28,0x5f,0x37,0x30,0x36,0x5f,0x63,0x61,0x6d,0x65,0x72,0x61,0x5f,0x70,0x6f,
0x73,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2e,0x78,0x79,0x7a,0x20,0x2d,0x20,0x76,0x5f,
0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x33,0x20,
0x3d,0x20,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2e,0x78,
0x79,0x7a,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x31,0x34,0x20,0x3d,0x20,0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,
0x69,0x61,0x6c,0x2e,0x78,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x35,0x20,0x3d,0x20,0x76,0x5f,0x6d,0x61,
0x74,0x65,0x72,0x69,0x61,0x6c,0x2e,0x79,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x36,0x20,0x3d,0x20,0x5f,
0x37,0x30,0x36,0x5f,0x73,0x75,0x6e,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2e,0x77,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x70,0x61,0x72,0x61,
0x6d,0x5f,0x31,0x37,0x5b,0x39,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,
0x61,0x6d,0x5f,0x31,0x37,0x5b,0x30,0x5d,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x5f,
0x73,0x68,0x5b,0x30,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,
0x5f,0x31,0x37,0x5b,0x31,0x5d,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x5f,0x73,0x68,
0x5b,0x31,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,
0x37,0x5b,0x32,0x5d,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x5f,0x73,0x68,0x5b,0x32,
0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,
0x33,0x5d,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x5f,0x73,0x68,0x5b,0x33,0x5d,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,0x34,0x5d,
0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x5f,0x73,0x68,0x5b,0x34,0x5d,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,0x35,0x5d,0x20,0x3d,
0x20,0x5f,0x37,0x30,0x36,0x5f,0x73,0x68,0x5b,0x35,0x5d,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,0x36,0x5d,0x20,0x3d,0x20,0x5f,
0x37,0x30,0x36,0x5f,0x73,0x68,0x5b,0x36,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,
0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,0x37,0x5d,0x20,0x3d,0x20,0x5f,0x37,0x30,
0x36,0x5f,0x73,0x68,0x5b,0x37,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,
0x61,0x6d,0x5f,0x31,0x37,0x5b,0x38,0x5d,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x5f,
0x73,0x68,0x5b,0x38,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x38,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,
0x5f,0x69,0x62,0x6c,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x2e,0x78,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x6f,0x75,0x74,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x34,0x28,0x28,0x62,0x72,0x64,0x66,0x5f,0x65,0x76,0x61,0x6c,
0x75,0x61,0x74,0x65,0x28,0x70,0x61,0x72,0x61,0x6d,0x5f,0x33,0x2c,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x34,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x2c,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x36,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x37,
0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x38,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,
0x5f,0x39,0x29,0x20,0x2b,0x20,0x28,0x70,0x62,0x72,0x45,0x76,0x61,0x6c,0x75,0x61,
0x74,0x65,0x41,0x6d,0x62,0x69,0x65,0x6e,0x74,0x28,0x70,0x61,0x72,0x61,0x6d,0x5f,
0x31,0x30,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x31,0x2c,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x31,0x32,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x33,
0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x34,0x2c,0x20,0x70,0x61,0x72,0x61,
0x6d,0x5f,0x31,0x35,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x36,0x2c,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x2c,0x20,0x74,0x65,0x78,0x5f,0x69,0x62,
0x6c,0x5f,0x73,0x70,0x65,0x63,0x2c,0x20,0x73,0x6d,0x70,0x5f,0x69,0x62,0x6c,0x5f,
0x73,0x70,0x65,0x63,0x2c,0x20,0x74,0x65,0x78,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,
0x75,0x74,0x2c,0x20,0x73,0x6d,0x70,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,
0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x38,0x29,0x20,0x2a,0x20,0x5f,0x31,
0x30,0x35,0x34,0x29,0x29,0x20,0x2a,0x20,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,
0x6f,0x6c,0x6f,0x72,0x2e,0x77,0x2c,0x20,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,
0x6f,0x6c,0x6f,0x72,0x2e,0x77,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x53,0x50,0x49,0x52,
0x56,0x5f,0x43,0x72,0x6f,0x73,0x73,0x5f,0x4f,0x75,0x74,0x70,0x75,0x74,0x20,0x6d,
0x61,0x69,0x6e,0x28,0x53,0x50,0x49,0x52,0x56,0x5f,0x43,0x72,0x6f,0x73,0x73,0x5f,
0x49,0x6e,0x70,0x75,0x74,0x20,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x70,0x75,
0x74,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x67,0x6c,0x5f,0x46,0x72,0x61,0x67,
0x43,0x6f,0x6f,0x72,0x64,0x20,0x3d,0x20,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,
0x70,0x75,0x74,0x2e,0x67,0x6c,0x5f,0x46,0x72,0x61,0x67,0x43,0x6f,0x6f,0x72,0x64,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x67,0x6c,0x5f,0x46,0x72,0x61,0x67,0x43,0x6f,0x6f,
0x72,0x64,0x2e,0x77,0x20,0x3d,0x20,0x31,0x2e,0x30,0x20,0x2f,0x20,0x67,0x6c,0x5f,
0x46,0x72,0x61,0x67,0x43,0x6f,0x6f,0x72,0x64,0x2e,0x77,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x20,0x3d,0x20,0x73,0x74,
0x61,0x67,0x65,0x5f,0x69,0x6e,0x70,0x75,0x74,0x2e,0x76,0x5f,0x76,0x69,0x65,0x77,
0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x5f,0x77,0x6f,0x72,0x6c,
0x64,0x5f,0x70,0x6f,0x73,0x20,0x3d,0x20,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,
0x70,0x75,0x74,0x2e,0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,
0x72,0x20,0x3d,0x20,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x70,0x75,0x74,0x2e,
0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x20,0x3d,0x20,0x73,
0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x70,0x75,0x74,0x2e,0x76,0x5f,0x6d,0x61,0x74,
0x65,0x72,0x69,0x61,0x6c,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x72,0x61,0x67,0x5f,
0x6d,0x61,0x69,0x6e,0x28,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x53,0x50,0x49,0x52,
0x56,0x5f,0x43,0x72,0x6f,0x73,0x73,0x5f,0x4f,0x75,0x74,0x70,0x75,0x74,0x20,0x73,
0x74,0x61,0x67,0x65,0x5f,0x6f,0x75,0x74,0x70,0x75,0x74,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x73,0x74,0x61,0x67,0x65,0x5f,0x6f,0x75,0x74,0x70,0x75,0x74,0x2e,0x6f,0x75,
0x74,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x6f,0x75,0x74,0x5f,0x63,0x6f,
0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,
0x73,0x74,0x61,0x67,0x65,0x5f,0x6f,0x75,0x74,0x70,0x75,0x74,0x3b,0x0a,0x7d,0x0a,
0x00,
};
/*
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct cube_instance
{
float4 xform_row0;
float4 xform_row1;
float4 xform_row2;
float4 base_color;
float4 material;
};
struct cube_instances
{
cube_instance instances[1];
};
struct ub_draw
{
int4 inst_base;
};
struct ub_frame
{
float4x4 view;
float4x4 proj;
float4x4 view_proj;
float4x4 inv_view_proj;
float4 camera_pos;
float4 viewport;
};
struct main0_out
{
float3 v_view_pos [[user(locn0)]];
float3 v_world_pos [[user(locn1)]];
float4 v_base_color [[user(locn2)]];
float4 v_material [[user(locn3)]];
float4 gl_Position [[position]];
};
struct main0_in
{
float3 in_pos [[attribute(0)]];
};
vertex main0_out main0(main0_in in [[stage_in]], constant ub_frame& _78 [[buffer(0)]], constant ub_draw& _21 [[buffer(2)]], const device cube_instances& _15 [[buffer(8)]], uint gl_InstanceIndex [[instance_id]])
{
main0_out out = {};
int _30 = _21.inst_base.x + int(gl_InstanceIndex);
float4 _58 = float4(in.in_pos, 1.0);
float _64 = dot(_15.instances[_30].xform_row0, _58);
float _68 = dot(_15.instances[_30].xform_row1, _58);
float _72 = dot(_15.instances[_30].xform_row2, _58);
float4 _87 = _78.view * float4(_64, _68, _72, 1.0);
out.v_view_pos = _87.xyz;
out.v_world_pos = float3(_64, _68, _72);
out.v_base_color = _15.instances[_30].base_color;
out.v_material = _15.instances[_30].material;
out.gl_Position = _78.proj * _87;
return out;
}
*/
static const uint8_t vs_source_metal_macos[1543] = {
0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x20,0x3c,0x6d,0x65,0x74,0x61,0x6c,0x5f,
0x73,0x74,0x64,0x6c,0x69,0x62,0x3e,0x0a,0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,
0x20,0x3c,0x73,0x69,0x6d,0x64,0x2f,0x73,0x69,0x6d,0x64,0x2e,0x68,0x3e,0x0a,0x0a,
0x75,0x73,0x69,0x6e,0x67,0x20,0x6e,0x61,0x6d,0x65,0x73,0x70,0x61,0x63,0x65,0x20,
0x6d,0x65,0x74,0x61,0x6c,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x63,
0x75,0x62,0x65,0x5f,0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x0a,0x7b,0x0a,0x20,
0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x78,0x66,0x6f,0x72,0x6d,0x5f,
0x72,0x6f,0x77,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,
0x20,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x31,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,
0x77,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x62,
0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x34,0x20,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x3b,0x0a,
0x7d,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x63,0x75,0x62,0x65,0x5f,
0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x73,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,
0x63,0x75,0x62,0x65,0x5f,0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x20,0x69,0x6e,
0x73,0x74,0x61,0x6e,0x63,0x65,0x73,0x5b,0x31,0x5d,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,
0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x75,0x62,0x5f,0x64,0x72,0x61,0x77,0x0a,0x7b,
0x0a,0x20,0x20,0x20,0x20,0x69,0x6e,0x74,0x34,0x20,0x69,0x6e,0x73,0x74,0x5f,0x62,
0x61,0x73,0x65,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,
0x75,0x62,0x5f,0x66,0x72,0x61,0x6d,0x65,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x34,0x78,0x34,0x20,0x76,0x69,0x65,0x77,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x78,0x34,0x20,0x70,0x72,0x6f,0x6a,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x78,0x34,0x20,0x76,0x69,
0x65,0x77,0x5f,0x70,0x72,0x6f,0x6a,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x34,0x78,0x34,0x20,0x69,0x6e,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,
0x72,0x6f,0x6a,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,
0x63,0x61,0x6d,0x65,0x72,0x61,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x76,0x69,0x65,0x77,0x70,0x6f,0x72,0x74,0x3b,
0x0a,0x7d,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,
0x30,0x5f,0x6f,0x75,0x74,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x33,0x20,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x20,0x5b,0x5b,
0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e,0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x76,0x5f,0x77,0x6f,0x72,0x6c,
0x64,0x5f,0x70,0x6f,0x73,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,
0x6e,0x31,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x34,0x20,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x5b,
0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e,0x32,0x29,0x5d,0x5d,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x76,0x5f,0x6d,0x61,0x74,
0x65,0x72,0x69,0x61,0x6c,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,
0x6e,0x33,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x34,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x5b,0x5b,
0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5d,0x5d,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,
0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69,0x6e,0x0a,
0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x69,0x6e,0x5f,
0x70,0x6f,0x73,0x20,0x5b,0x5b,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x28,
0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x76,0x65,0x72,0x74,0x65,0x78,
0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,
0x28,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69,0x6e,0x20,0x69,0x6e,0x20,0x5b,0x5b,0x73,
0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x5d,0x5d,0x2c,0x20,0x63,0x6f,0x6e,0x73,0x74,
0x61,0x6e,0x74,0x20,0x75,0x62,0x5f,0x66,0x72,0x61,0x6d,0x65,0x26,0x20,0x5f,0x37,
0x38,0x20,0x5b,0x5b,0x62,0x75,0x66,0x66,0x65,0x72,0x28,0x30,0x29,0x5d,0x5d,0x2c,
0x20,0x63,0x6f,0x6e,0x73,0x74,0x61,0x6e,0x74,0x20,0x75,0x62,0x5f,0x64,0x72,0x61,
0x77,0x26,0x20,0x5f,0x32,0x31,0x20,0x5b,0x5b,0x62,0x75,0x66,0x66,0x65,0x72,0x28,
0x32,0x29,0x5d,0x5d,0x2c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x64,0x65,0x76,0x69,
0x63,0x65,0x20,0x63,0x75,0x62,0x65,0x5f,0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,
0x73,0x26,0x20,0x5f,0x31,0x35,0x20,0x5b,0x5b,0x62,0x75,0x66,0x66,0x65,0x72,0x28,
0x38,0x29,0x5d,0x5d,0x2c,0x20,0x75,0x69,0x6e,0x74,0x20,0x67,0x6c,0x5f,0x49,0x6e,
0x73,0x74,0x61,0x6e,0x63,0x65,0x49,0x6e,0x64,0x65,0x78,0x20,0x5b,0x5b,0x69,0x6e,
0x73,0x74,0x61,0x6e,0x63,0x65,0x5f,0x69,0x64,0x5d,0x5d,0x29,0x0a,0x7b,0x0a,0x20,
0x20,0x20,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6f,0x75,0x74,
0x20,0x3d,0x20,0x7b,0x7d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x6e,0x74,0x20,0x5f,
0x33,0x30,0x20,0x3d,0x20,0x5f,0x32,0x31,0x2e,0x69,0x6e,0x73,0x74,0x5f,0x62,0x61,
0x73,0x65,0x2e,0x78,0x20,0x2b,0x20,0x69,0x6e,0x74,0x28,0x67,0x6c,0x5f,0x49,0x6e,
0x73,0x74,0x61,0x6e,0x63,0x65,0x49,0x6e,0x64,0x65,0x78,0x29,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x35,0x38,0x20,0x3d,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x34,0x28,0x69,0x6e,0x2e,0x69,0x6e,0x5f,0x70,0x6f,0x73,0x2c,
0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x20,0x5f,0x36,0x34,0x20,0x3d,0x20,0x64,0x6f,0x74,0x28,0x5f,0x31,0x35,0x2e,0x69,
0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x73,0x5b,0x5f,0x33,0x30,0x5d,0x2e,0x78,0x66,
0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x30,0x2c,0x20,0x5f,0x35,0x38,0x29,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x36,0x38,0x20,0x3d,0x20,
0x64,0x6f,0x74,0x28,0x5f,0x31,0x35,0x2e,0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,
0x73,0x5b,0x5f,0x33,0x30,0x5d,0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,
0x31,0x2c,0x20,0x5f,0x35,0x38,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x20,0x5f,0x37,0x32,0x20,0x3d,0x20,0x64,0x6f,0x74,0x28,0x5f,0x31,0x35,
0x2e,0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x73,0x5b,0x5f,0x33,0x30,0x5d,0x2e,
0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x32,0x2c,0x20,0x5f,0x35,0x38,0x29,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x38,0x37,
0x20,0x3d,0x20,0x5f,0x37,0x38,0x2e,0x76,0x69,0x65,0x77,0x20,0x2a,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x34,0x28,0x5f,0x36,0x34,0x2c,0x20,0x5f,0x36,0x38,0x2c,0x20,0x5f,
0x37,0x32,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,
0x74,0x2e,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x20,0x3d,0x20,0x5f,
0x38,0x37,0x2e,0x78,0x79,0x7a,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,
0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x20,0x3d,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x33,0x28,0x5f,0x36,0x34,0x2c,0x20,0x5f,0x36,0x38,0x2c,0x20,0x5f,
0x37,0x32,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x76,0x5f,0x62,
0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x5f,0x31,0x35,0x2e,
0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x73,0x5b,0x5f,0x33,0x30,0x5d,0x2e,0x62,
0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,
0x75,0x74,0x2e,0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x20,0x3d,0x20,
0x5f,0x31,0x35,0x2e,0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x73,0x5b,0x5f,0x33,
0x30,0x5d,0x2e,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x6f,0x75,0x74,0x2e,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,
0x20,0x3d,0x20,0x5f,0x37,0x38,0x2e,0x70,0x72,0x6f,0x6a,0x20,0x2a,0x20,0x5f,0x38,
0x37,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6f,0x75,
0x74,0x3b,0x0a,0x7d,0x0a,0x0a,0x00,
};
/*
#pragma clang diagnostic ignored "-Wmissing-prototypes"
#pragma clang diagnostic ignored "-Wmissing-braces"
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
template<typename T, size_t Num>
struct spvUnsafeArray
{
T elements[Num ? Num : 1];
thread T& operator [] (size_t pos) thread
{
return elements[pos];
}
constexpr const thread T& operator [] (size_t pos) const thread
{
return elements[pos];
}
device T& operator [] (size_t pos) device
{
return elements[pos];
}
constexpr const device T& operator [] (size_t pos) const device
{
return elements[pos];
}
constexpr const constant T& operator [] (size_t pos) const constant
{
return elements[pos];
}
threadgroup T& operator [] (size_t pos) threadgroup
{
return elements[pos];
}
constexpr const threadgroup T& operator [] (size_t pos) const threadgroup
{
return elements[pos];
}
};
struct ub_pass
{
float4 sun_dir_view;
float4 sun_color;
int4 flags;
float4 cascade_far_view_z;
float4x4 cascade_matrices[3];
float4x4 view;
float4 camera_pos_world;
float4 sh[9];
float4 ibl_params;
};
struct main0_out
{
float4 out_color [[color(0)]];
};
struct main0_in
{
float3 v_view_pos [[user(locn0)]];
float3 v_world_pos [[user(locn1)]];
float4 v_base_color [[user(locn2), flat]];
float4 v_material [[user(locn3), flat]];
};
static inline __attribute__((always_inline))
float sampleShadowPCF(thread const int& cascade, thread const float3& light_uv, thread const float& bias0, depth2d_array<float> tex_shadow, sampler smp_shadow)
{
float _528 = float(cascade);
float _533 = light_uv.z - bias0;
float _549 = light_uv.x - 0.00048828125;
float _553 = light_uv.y - 0.00048828125;
float4 _556 = float4(_549, _553, _528, _533);
float4 _572 = float4(light_uv.x, _553, _528, _533);
float _583 = light_uv.x + 0.00048828125;
float4 _590 = float4(_583, _553, _528, _533);
float4 _606 = float4(_549, light_uv.y, _528, _533);
float4 _620 = float4(light_uv.xy, _528, _533);
float4 _636 = float4(_583, light_uv.y, _528, _533);
float _651 = light_uv.y + 0.00048828125;
float4 _654 = float4(_549, _651, _528, _533);
float4 _670 = float4(light_uv.x, _651, _528, _533);
float4 _688 = float4(_583, _651, _528, _533);
return ((((((((tex_shadow.sample_compare(smp_shadow, _556.xy, uint(rint(_556.z)), _533) + tex_shadow.sample_compare(smp_shadow, _572.xy, uint(rint(_572.z)), _533)) + tex_shadow.sample_compare(smp_shadow, _590.xy, uint(rint(_590.z)), _533)) + tex_shadow.sample_compare(smp_shadow, _606.xy, uint(rint(_606.z)), _533)) + tex_shadow.sample_compare(smp_shadow, _620.xy, uint(rint(_620.z)), _533)) + tex_shadow.sample_compare(smp_shadow, _636.xy, uint(rint(_636.z)), _533)) + tex_shadow.sample_compare(smp_shadow, _654.xy, uint(rint(_654.z)), _533)) + tex_shadow.sample_compare(smp_shadow, _670.xy, uint(rint(_670.z)), _533)) + tex_shadow.sample_compare(smp_shadow, _688.xy, uint(rint(_688.z)), _533)) * 0.111111111938953399658203125;
}
static inline __attribute__((always_inline))
float sampleCascade(thread const int& cascade, thread const float3& world_pos, thread const float& n_dot_l, depth2d_array<float> tex_shadow, sampler smp_shadow, constant ub_pass& _706)
{
float4 _716 = _706.cascade_matrices[cascade] * float4(world_pos, 1.0);
float3 _723 = _716.xyz / float3(_716.w);
float3 _741 = float3((_723.x * 0.5) + 0.5, ((_723.y * _706.cascade_far_view_z.w) * 0.5) + 0.5, _723.z);
bool _745 = any(_741 < float3(0.0));
bool _752;
if (!_745)
{
_752 = any(_741 > float3(1.0));
}
else
{
_752 = _745;
}
if (_752)
{
return 1.0;
}
float _759 = fast::clamp(n_dot_l, 0.001000000047497451305389404296875, 1.0);
int param = cascade;
float3 param_1 = _741;
float param_2 = fast::clamp(0.001000000047497451305389404296875 * (sqrt(1.0 - (_759 * _759)) / _759), 0.0005000000237487256526947021484375, 0.0500000007450580596923828125);
float pcf = sampleShadowPCF(param, param_1, param_2, tex_shadow, smp_shadow);
if (cascade == 2)
{
float2 _790 = _741.xy;
float2 _795 = fast::min(_790, float2(1.0) - _790);
pcf = mix(1.0, pcf, fast::clamp(fast::min(_795.x, _795.y) * 10.0, 0.0, 1.0));
}
return pcf;
}
static inline __attribute__((always_inline))
float sampleShadowCascaded(thread const float3& world_pos, thread const float& n_dot_l, thread const float& view_z, depth2d_array<float> tex_shadow, sampler smp_shadow, constant ub_pass& _706)
{
int cascade = 2;
if (view_z < _706.cascade_far_view_z.x)
{
cascade = 0;
}
else
{
if (view_z < _706.cascade_far_view_z.y)
{
cascade = 1;
}
}
int param = cascade;
float3 param_1 = world_pos;
float param_2 = n_dot_l;
float shadow = sampleCascade(param, param_1, param_2, tex_shadow, smp_shadow, _706);
if (cascade < 2)
{
float _840;
if (cascade == 0)
{
_840 = _706.cascade_far_view_z.x;
}
else
{
_840 = _706.cascade_far_view_z.y;
}
float _852;
if (cascade == 0)
{
_852 = 0.0;
}
else
{
_852 = _706.cascade_far_view_z.x;
}
float _863 = mix(_840, _852, 0.100000001490116119384765625);
if (view_z > _863)
{
int param_3 = cascade + 1;
float3 param_4 = world_pos;
float param_5 = n_dot_l;
shadow = mix(shadow, sampleCascade(param_3, param_4, param_5, tex_shadow, smp_shadow, _706), (view_z - _863) / (_840 - _863));
}
}
return shadow;
}
static inline __attribute__((always_inline))
float pbrDistributionGGX(thread const float& n_dot_h, thread const float& alpha)
{
float _106 = alpha * alpha;
float _115 = ((n_dot_h * n_dot_h) * (_106 - 1.0)) + 1.0;
return _106 / ((3.1415927410125732421875 * _115) * _115);
}
static inline __attribute__((always_inline))
float pbrVisibilitySmithCorrelated(thread const float& n_dot_v, thread const float& n_dot_l, thread const float& alpha)
{
float _128 = alpha * alpha;
float _135 = 1.0 - _128;
return 0.5 / (((n_dot_l * sqrt(((n_dot_v * n_dot_v) * _135) + _128)) + (n_dot_v * sqrt(((n_dot_l * n_dot_l) * _135) + _128))) + 9.9999997473787516355514526367188e-06);
}
static inline __attribute__((always_inline))
float3 pbrFresnelSchlick(thread const float& v_dot_h, thread const float3& f0)
{
float _164 = 1.0 - v_dot_h;
float _168 = _164 * _164;
return f0 + ((float3(1.0) - f0) * ((_168 * _168) * _164));
}
static inline __attribute__((always_inline))
float3 brdf_evaluate(thread const float3& N, thread const float3& V, thread const float3& L, thread const float3& sun_radiance, thread const float3& base_color, thread const float& metallic, thread const float& roughness)
{
float _187 = fast::max(dot(N, L), 0.0);
float3 _198 = fast::normalize(V + L);
float _212 = fast::max(roughness, 0.04500000178813934326171875);
float _216 = _212 * _212;
float param = fast::max(dot(N, _198), 0.0);
float param_1 = _216;
float param_2 = fast::max(dot(N, V), 9.9999997473787516355514526367188e-05);
float param_3 = _187;
float param_4 = _216;
float param_5 = fast::max(dot(V, _198), 0.0);
float3 param_6 = mix(float3(0.039999999105930328369140625), base_color, float3(metallic));
float3 _243 = pbrFresnelSchlick(param_5, param_6);
return ((((((float3(1.0) - _243) * (1.0 - metallic)) * base_color) * float3(0.3183098733425140380859375)) + (_243 * (pbrDistributionGGX(param, param_1) * pbrVisibilitySmithCorrelated(param_2, param_3, param_4)))) * sun_radiance) * _187;
}
static inline __attribute__((always_inline))
float3 pbrEvaluateShIrradiance(thread const float3& N, thread const spvUnsafeArray<float4, 9>& sh)
{
float3 _398 = ((((((((sh[0].xyz * 0.2820948064327239990234375) + (sh[1].xyz * ((-0.48860251903533935546875) * N.y))) + (sh[2].xyz * (0.48860251903533935546875 * N.z))) + (sh[3].xyz * ((-0.48860251903533935546875) * N.x))) + (sh[4].xyz * ((1.09254848957061767578125 * N.x) * N.y))) + (sh[5].xyz * (((-1.09254848957061767578125) * N.y) * N.z))) + (sh[6].xyz * (0.3153915703296661376953125 * (((3.0 * N.z) * N.z) - 1.0)))) + (sh[7].xyz * (((-1.09254848957061767578125) * N.x) * N.z))) + (sh[8].xyz * (0.546274244785308837890625 * ((N.x * N.x) - (N.y * N.y))));
return _398;
}
static inline __attribute__((always_inline))
float3 pbrEvaluateIbl(thread const float3& N_world, thread const float3& V_world, thread const float3& base_color, thread const float& metallic, thread const float& roughness, thread const spvUnsafeArray<float4, 9>& sh, texturecube<float> tex_spec_cube, sampler smp_spec_cube, texture2d<float> tex_brdf_lut, sampler smp_brdf_lut, thread const float& max_lod)
{
float _405 = fast::clamp(dot(N_world, V_world), 9.9999997473787516355514526367188e-05, 1.0);
float3 _415 = mix(float3(0.039999999105930328369140625), base_color, float3(metallic));
float3 param = N_world;
spvUnsafeArray<float4, 9> param_1 = sh;
float4 _481 = tex_brdf_lut.sample(smp_brdf_lut, float2(_405, roughness));
return (((((float3(1.0) - (_415 + ((fast::max(float3(1.0 - roughness), _415) - _415) * powr(fast::max(0.0, 1.0 - _405), 5.0)))) * (1.0 - metallic)) * base_color) * fast::max(pbrEvaluateShIrradiance(param, param_1), float3(0.0))) * float3(0.3183098733425140380859375)) + (tex_spec_cube.sample(smp_spec_cube, reflect(-V_world, N_world), level(roughness * max_lod)).xyz * ((_415 * _481.x) + float3(_481.y)));
}
static inline __attribute__((always_inline))
float3 pbrEvaluateAmbient(thread const bool& iblEnabled, thread const float3& N_world, thread const float3& V_world, thread const float3& base_color, thread const float& metallic, thread const float& roughness, thread const float& flat_strength, thread const spvUnsafeArray<float4, 9>& sh, texturecube<float> tex_spec_cube, sampler smp_spec_cube, texture2d<float> tex_brdf_lut, sampler smp_brdf_lut, thread const float& max_lod)
{
float3 result = base_color * flat_strength;
if (iblEnabled)
{
float3 param = N_world;
float3 param_1 = V_world;
float3 param_2 = base_color;
float param_3 = metallic;
float param_4 = roughness;
spvUnsafeArray<float4, 9> param_5 = sh;
float param_6 = max_lod;
result = pbrEvaluateIbl(param, param_1, param_2, param_3, param_4, param_5, tex_spec_cube, smp_spec_cube, tex_brdf_lut, smp_brdf_lut, param_6);
}
return result;
}
fragment main0_out main0(main0_in in [[stage_in]], constant ub_pass& _706 [[buffer(1)]], depth2d_array<float> tex_shadow [[texture(0)]], texturecube<float> tex_ibl_spec [[texture(1)]], texture2d<float> tex_brdf_lut [[texture(2)]], texture2d<float> tex_ao [[texture(3)]], sampler smp_shadow [[sampler(0)]], sampler smp_ibl_spec [[sampler(1)]], sampler smp_brdf_lut [[sampler(2)]], sampler smp_ao [[sampler(3)]], float4 gl_FragCoord [[position]])
{
main0_out out = {};
float3 _895 = dfdx(in.v_view_pos);
float3 _898 = dfdy(in.v_view_pos);
float3 _907 = fast::normalize(cross(_898 * (-_706.cascade_far_view_z.w), _895));
float _912 = -in.v_view_pos.z;
if (_706.flags.x == 1)
{
float _923 = fast::clamp(in.v_view_pos.z * (-0.0199999995529651641845703125), 0.0, 1.0);
out.out_color = float4(_923, _923, _923, 1.0);
return out;
}
if (_706.flags.x == 2)
{
int cascade = 2;
if (_912 < _706.cascade_far_view_z.x)
{
cascade = 0;
}
else
{
if (_912 < _706.cascade_far_view_z.y)
{
cascade = 1;
}
}
float4 _958 = _706.cascade_matrices[cascade] * float4(in.v_world_pos, 1.0);
float3 _965 = _958.xyz / float3(_958.w);
float3 _982 = float3((_965.x * 0.5) + 0.5, ((_965.y * _706.cascade_far_view_z.w) * 0.5) + 0.5, _965.z);
bool _986 = any(_982 < float3(0.0));
bool _993;
if (!_986)
{
_993 = any(_982 > float3(1.0));
}
else
{
_993 = _986;
}
float3 tint = float3(1.0);
if (!_993)
{
if (cascade == 0)
{
tint = float3(1.0, 0.4000000059604644775390625, 0.4000000059604644775390625);
}
else
{
if (cascade == 1)
{
tint = float3(0.4000000059604644775390625, 1.0, 0.4000000059604644775390625);
}
else
{
tint = float3(0.4000000059604644775390625, 0.4000000059604644775390625, 1.0);
}
}
}
out.out_color = float4(tint, 1.0);
return out;
}
if (_706.flags.x == 3)
{
out.out_color = float4((_907 * 0.5) + float3(0.5), 1.0);
return out;
}
float4 _1053 = tex_ao.sample(smp_ao, (gl_FragCoord.xy / float2(int2(tex_ao.get_width(), tex_ao.get_height()))), level(0.0));
float _1054 = _1053.x;
if (_706.flags.x == 4)
{
out.out_color = float4(_1054, _1054, _1054, 1.0);
return out;
}
float3 _1072 = fast::normalize(_706.sun_dir_view.xyz);
float3 param = in.v_world_pos;
float param_1 = fast::max(dot(_907, _1072), 0.0);
float param_2 = _912;
float3 param_3 = _907;
float3 param_4 = fast::normalize(-in.v_view_pos);
float3 param_5 = _1072;
float3 param_6 = _706.sun_color.xyz * sampleShadowCascaded(param, param_1, param_2, tex_shadow, smp_shadow, _706);
float3 param_7 = in.v_base_color.xyz;
float param_8 = in.v_material.x;
float param_9 = in.v_material.y;
bool param_10 = _706.ibl_params.y > 0.5;
float3 param_11 = fast::normalize(transpose(float3x3(_706.view[0].xyz, _706.view[1].xyz, _706.view[2].xyz)) * _907);
float3 param_12 = fast::normalize(_706.camera_pos_world.xyz - in.v_world_pos);
float3 param_13 = in.v_base_color.xyz;
float param_14 = in.v_material.x;
float param_15 = in.v_material.y;
float param_16 = _706.sun_color.w;
spvUnsafeArray<float4, 9> param_17;
param_17[0] = _706.sh[0];
param_17[1] = _706.sh[1];
param_17[2] = _706.sh[2];
param_17[3] = _706.sh[3];
param_17[4] = _706.sh[4];
param_17[5] = _706.sh[5];
param_17[6] = _706.sh[6];
param_17[7] = _706.sh[7];
param_17[8] = _706.sh[8];
float param_18 = _706.ibl_params.x;
out.out_color = float4((brdf_evaluate(param_3, param_4, param_5, param_6, param_7, param_8, param_9) + (pbrEvaluateAmbient(param_10, param_11, param_12, param_13, param_14, param_15, param_16, param_17, tex_ibl_spec, smp_ibl_spec, tex_brdf_lut, smp_brdf_lut, param_18) * _1054)) * in.v_base_color.w, in.v_base_color.w);
return out;
}
*/
static const uint8_t fs_source_metal_macos[15098] = {
0x23,0x70,0x72,0x61,0x67,0x6d,0x61,0x20,0x63,0x6c,0x61,0x6e,0x67,0x20,0x64,0x69,
0x61,0x67,0x6e,0x6f,0x73,0x74,0x69,0x63,0x20,0x69,0x67,0x6e,0x6f,0x72,0x65,0x64,
0x20,0x22,0x2d,0x57,0x6d,0x69,0x73,0x73,0x69,0x6e,0x67,0x2d,0x70,0x72,0x6f,0x74,
0x6f,0x74,0x79,0x70,0x65,0x73,0x22,0x0a,0x23,0x70,0x72,0x61,0x67,0x6d,0x61,0x20,
0x63,0x6c,0x61,0x6e,0x67,0x20,0x64,0x69,0x61,0x67,0x6e,0x6f,0x73,0x74,0x69,0x63,
0x20,0x69,0x67,0x6e,0x6f,0x72,0x65,0x64,0x20,0x22,0x2d,0x57,0x6d,0x69,0x73,0x73,
0x69,0x6e,0x67,0x2d,0x62,0x72,0x61,0x63,0x65,0x73,0x22,0x0a,0x0a,0x23,0x69,0x6e,
0x63,0x6c,0x75,0x64,0x65,0x20,0x3c,0x6d,0x65,0x74,0x61,0x6c,0x5f,0x73,0x74,0x64,
0x6c,0x69,0x62,0x3e,0x0a,0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x20,0x3c,0x73,
0x69,0x6d,0x64,0x2f,0x73,0x69,0x6d,0x64,0x2e,0x68,0x3e,0x0a,0x0a,0x75,0x73,0x69,
0x6e,0x67,0x20,0x6e,0x61,0x6d,0x65,0x73,0x70,0x61,0x63,0x65,0x20,0x6d,0x65,0x74,
0x61,0x6c,0x3b,0x0a,0x0a,0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x3c,0x74,0x79,
0x70,0x65,0x6e,0x61,0x6d,0x65,0x20,0x54,0x2c,0x20,0x73,0x69,0x7a,0x65,0x5f,0x74,
0x20,0x4e,0x75,0x6d,0x3e,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x73,0x70,0x76,
0x55,0x6e,0x73,0x61,0x66,0x65,0x41,0x72,0x72,0x61,0x79,0x0a,0x7b,0x0a,0x20,0x20,
0x20,0x20,0x54,0x20,0x65,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x73,0x5b,0x4e,0x75,0x6d,
0x20,0x3f,0x20,0x4e,0x75,0x6d,0x20,0x3a,0x20,0x31,0x5d,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x0a,0x20,0x20,0x20,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x54,0x26,0x20,
0x6f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x5b,0x5d,0x20,0x28,0x73,0x69,0x7a,
0x65,0x5f,0x74,0x20,0x70,0x6f,0x73,0x29,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x0a,
0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,0x65,
0x74,0x75,0x72,0x6e,0x20,0x65,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x73,0x5b,0x70,0x6f,
0x73,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x63,0x6f,
0x6e,0x73,0x74,0x65,0x78,0x70,0x72,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x74,0x68,
0x72,0x65,0x61,0x64,0x20,0x54,0x26,0x20,0x6f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,
0x20,0x5b,0x5d,0x20,0x28,0x73,0x69,0x7a,0x65,0x5f,0x74,0x20,0x70,0x6f,0x73,0x29,
0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x0a,0x20,0x20,
0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,
0x72,0x6e,0x20,0x65,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x73,0x5b,0x70,0x6f,0x73,0x5d,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x0a,0x20,0x20,0x20,
0x20,0x64,0x65,0x76,0x69,0x63,0x65,0x20,0x54,0x26,0x20,0x6f,0x70,0x65,0x72,0x61,
0x74,0x6f,0x72,0x20,0x5b,0x5d,0x20,0x28,0x73,0x69,0x7a,0x65,0x5f,0x74,0x20,0x70,
0x6f,0x73,0x29,0x20,0x64,0x65,0x76,0x69,0x63,0x65,0x0a,0x20,0x20,0x20,0x20,0x7b,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,
0x65,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x73,0x5b,0x70,0x6f,0x73,0x5d,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x63,0x6f,0x6e,0x73,0x74,0x65,0x78,
0x70,0x72,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x64,0x65,0x76,0x69,0x63,0x65,0x20,
0x54,0x26,0x20,0x6f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x5b,0x5d,0x20,0x28,
0x73,0x69,0x7a,0x65,0x5f,0x74,0x20,0x70,0x6f,0x73,0x29,0x20,0x63,0x6f,0x6e,0x73,
0x74,0x20,0x64,0x65,0x76,0x69,0x63,0x65,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x65,0x6c,
0x65,0x6d,0x65,0x6e,0x74,0x73,0x5b,0x70,0x6f,0x73,0x5d,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x0a,0x20,0x20,0x20,0x20,0x63,0x6f,0x6e,0x73,
0x74,0x65,0x78,0x70,0x72,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x63,0x6f,0x6e,0x73,
0x74,0x61,0x6e,0x74,0x20,0x54,0x26,0x20,0x6f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,
0x20,0x5b,0x5d,0x20,0x28,0x73,0x69,0x7a,0x65,0x5f,0x74,0x20,0x70,0x6f,0x73,0x29,
0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x63,0x6f,0x6e,0x73,0x74,0x61,0x6e,0x74,0x0a,
0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,0x65,
0x74,0x75,0x72,0x6e,0x20,0x65,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x73,0x5b,0x70,0x6f,
0x73,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x0a,0x20,
0x20,0x20,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x67,0x72,0x6f,0x75,0x70,0x20,0x54,
0x26,0x20,0x6f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x5b,0x5d,0x20,0x28,0x73,
0x69,0x7a,0x65,0x5f,0x74,0x20,0x70,0x6f,0x73,0x29,0x20,0x74,0x68,0x72,0x65,0x61,
0x64,0x67,0x72,0x6f,0x75,0x70,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x65,0x6c,0x65,0x6d,
0x65,0x6e,0x74,0x73,0x5b,0x70,0x6f,0x73,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,
0x0a,0x20,0x20,0x20,0x20,0x63,0x6f,0x6e,0x73,0x74,0x65,0x78,0x70,0x72,0x20,0x63,
0x6f,0x6e,0x73,0x74,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x67,0x72,0x6f,0x75,0x70,
0x20,0x54,0x26,0x20,0x6f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x5b,0x5d,0x20,
0x28,0x73,0x69,0x7a,0x65,0x5f,0x74,0x20,0x70,0x6f,0x73,0x29,0x20,0x63,0x6f,0x6e,
0x73,0x74,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x67,0x72,0x6f,0x75,0x70,0x0a,0x20,
0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,0x65,0x74,
0x75,0x72,0x6e,0x20,0x65,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x73,0x5b,0x70,0x6f,0x73,
0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x7d,0x3b,0x0a,0x0a,0x73,0x74,0x72,
0x75,0x63,0x74,0x20,0x75,0x62,0x5f,0x70,0x61,0x73,0x73,0x0a,0x7b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x73,0x75,0x6e,0x5f,0x64,0x69,0x72,
0x5f,0x76,0x69,0x65,0x77,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x34,0x20,0x73,0x75,0x6e,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x69,0x6e,0x74,0x34,0x20,0x66,0x6c,0x61,0x67,0x73,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,
0x66,0x61,0x72,0x5f,0x76,0x69,0x65,0x77,0x5f,0x7a,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x34,0x78,0x34,0x20,0x63,0x61,0x73,0x63,0x61,0x64,0x65,
0x5f,0x6d,0x61,0x74,0x72,0x69,0x63,0x65,0x73,0x5b,0x33,0x5d,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x78,0x34,0x20,0x76,0x69,0x65,0x77,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x63,0x61,0x6d,0x65,
0x72,0x61,0x5f,0x70,0x6f,0x73,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x73,0x68,0x5b,0x39,0x5d,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x69,0x62,0x6c,0x5f,0x70,
0x61,0x72,0x61,0x6d,0x73,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,
0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x0a,0x7b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x6f,0x75,0x74,0x5f,0x63,0x6f,0x6c,
0x6f,0x72,0x20,0x5b,0x5b,0x63,0x6f,0x6c,0x6f,0x72,0x28,0x30,0x29,0x5d,0x5d,0x3b,
0x0a,0x7d,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,
0x30,0x5f,0x69,0x6e,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x33,0x20,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x20,0x5b,0x5b,0x75,
0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e,0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,
0x5f,0x70,0x6f,0x73,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e,
0x31,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,
0x20,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x5b,0x5b,
0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e,0x32,0x29,0x2c,0x20,0x66,0x6c,0x61,
0x74,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,
0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x20,0x5b,0x5b,0x75,0x73,0x65,
0x72,0x28,0x6c,0x6f,0x63,0x6e,0x33,0x29,0x2c,0x20,0x66,0x6c,0x61,0x74,0x5d,0x5d,
0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x73,0x74,0x61,0x74,0x69,0x63,0x20,0x69,0x6e,0x6c,
0x69,0x6e,0x65,0x20,0x5f,0x5f,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x5f,
0x5f,0x28,0x28,0x61,0x6c,0x77,0x61,0x79,0x73,0x5f,0x69,0x6e,0x6c,0x69,0x6e,0x65,
0x29,0x29,0x0a,0x66,0x6c,0x6f,0x61,0x74,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x53,
0x68,0x61,0x64,0x6f,0x77,0x50,0x43,0x46,0x28,0x74,0x68,0x72,0x65,0x61,0x64,0x20,
0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x26,0x20,0x63,0x61,0x73,0x63,0x61,
0x64,0x65,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x26,0x20,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,
0x76,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x26,0x20,0x62,0x69,0x61,0x73,0x30,0x2c,0x20,0x64,0x65,
0x70,0x74,0x68,0x32,0x64,0x5f,0x61,0x72,0x72,0x61,0x79,0x3c,0x66,0x6c,0x6f,0x61,
0x74,0x3e,0x20,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x73,
0x61,0x6d,0x70,0x6c,0x65,0x72,0x20,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,
0x77,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,
0x35,0x32,0x38,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x28,0x63,0x61,0x73,0x63,
0x61,0x64,0x65,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,
0x5f,0x35,0x33,0x33,0x20,0x3d,0x20,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,
0x7a,0x20,0x2d,0x20,0x62,0x69,0x61,0x73,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x20,0x5f,0x35,0x34,0x39,0x20,0x3d,0x20,0x6c,0x69,0x67,0x68,
0x74,0x5f,0x75,0x76,0x2e,0x78,0x20,0x2d,0x20,0x30,0x2e,0x30,0x30,0x30,0x34,0x38,
0x38,0x32,0x38,0x31,0x32,0x35,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x20,0x5f,0x35,0x35,0x33,0x20,0x3d,0x20,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,
0x76,0x2e,0x79,0x20,0x2d,0x20,0x30,0x2e,0x30,0x30,0x30,0x34,0x38,0x38,0x32,0x38,
0x31,0x32,0x35,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,
0x5f,0x35,0x35,0x36,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x5f,0x35,
0x34,0x39,0x2c,0x20,0x5f,0x35,0x35,0x33,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,
0x5f,0x35,0x33,0x33,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x34,0x20,0x5f,0x35,0x37,0x32,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,
0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x78,0x2c,0x20,0x5f,0x35,0x35,0x33,
0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x35,0x38,0x33,0x20,0x3d,0x20,
0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x78,0x20,0x2b,0x20,0x30,0x2e,0x30,
0x30,0x30,0x34,0x38,0x38,0x32,0x38,0x31,0x32,0x35,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x35,0x39,0x30,0x20,0x3d,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x34,0x28,0x5f,0x35,0x38,0x33,0x2c,0x20,0x5f,0x35,0x35,0x33,0x2c,
0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x36,0x30,0x36,0x20,0x3d,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x5f,0x35,0x34,0x39,0x2c,0x20,0x6c,0x69,0x67,
0x68,0x74,0x5f,0x75,0x76,0x2e,0x79,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,
0x35,0x33,0x33,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,
0x20,0x5f,0x36,0x32,0x30,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x6c,
0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x78,0x79,0x2c,0x20,0x5f,0x35,0x32,0x38,
0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x34,0x20,0x5f,0x36,0x33,0x36,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x34,0x28,0x5f,0x35,0x38,0x33,0x2c,0x20,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,
0x2e,0x79,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x36,0x35,0x31,0x20,
0x3d,0x20,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x79,0x20,0x2b,0x20,0x30,
0x2e,0x30,0x30,0x30,0x34,0x38,0x38,0x32,0x38,0x31,0x32,0x35,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x36,0x35,0x34,0x20,0x3d,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x5f,0x35,0x34,0x39,0x2c,0x20,0x5f,0x36,0x35,
0x31,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x36,0x37,0x30,0x20,
0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,
0x76,0x2e,0x78,0x2c,0x20,0x5f,0x36,0x35,0x31,0x2c,0x20,0x5f,0x35,0x32,0x38,0x2c,
0x20,0x5f,0x35,0x33,0x33,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x34,0x20,0x5f,0x36,0x38,0x38,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,
0x28,0x5f,0x35,0x38,0x33,0x2c,0x20,0x5f,0x36,0x35,0x31,0x2c,0x20,0x5f,0x35,0x32,
0x38,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,
0x74,0x75,0x72,0x6e,0x20,0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x74,0x65,0x78,
0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2e,0x73,0x61,0x6d,0x70,0x6c,0x65,0x5f,0x63,
0x6f,0x6d,0x70,0x61,0x72,0x65,0x28,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,
0x77,0x2c,0x20,0x5f,0x35,0x35,0x36,0x2e,0x78,0x79,0x2c,0x20,0x75,0x69,0x6e,0x74,
0x28,0x72,0x69,0x6e,0x74,0x28,0x5f,0x35,0x35,0x36,0x2e,0x7a,0x29,0x29,0x2c,0x20,
0x5f,0x35,0x33,0x33,0x29,0x20,0x2b,0x20,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,
0x6f,0x77,0x2e,0x73,0x61,0x6d,0x70,0x6c,0x65,0x5f,0x63,0x6f,0x6d,0x70,0x61,0x72,
0x65,0x28,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x5f,0x35,
0x37,0x32,0x2e,0x78,0x79,0x2c,0x20,0x75,0x69,0x6e,0x74,0x28,0x72,0x69,0x6e,0x74,
0x28,0x5f,0x35,0x37,0x32,0x2e,0x7a,0x29,0x29,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,
0x29,0x20,0x2b,0x20,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2e,0x73,
0x61,0x6d,0x70,0x6c,0x65,0x5f,0x63,0x6f,0x6d,0x70,0x61,0x72,0x65,0x28,0x73,0x6d,
0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x5f,0x35,0x39,0x30,0x2e,0x78,
0x79,0x2c,0x20,0x75,0x69,0x6e,0x74,0x28,0x72,0x69,0x6e,0x74,0x28,0x5f,0x35,0x39,
0x30,0x2e,0x7a,0x29,0x29,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x29,0x20,0x2b,0x20,
0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2e,0x73,0x61,0x6d,0x70,0x6c,
0x65,0x5f,0x63,0x6f,0x6d,0x70,0x61,0x72,0x65,0x28,0x73,0x6d,0x70,0x5f,0x73,0x68,
0x61,0x64,0x6f,0x77,0x2c,0x20,0x5f,0x36,0x30,0x36,0x2e,0x78,0x79,0x2c,0x20,0x75,
0x69,0x6e,0x74,0x28,0x72,0x69,0x6e,0x74,0x28,0x5f,0x36,0x30,0x36,0x2e,0x7a,0x29,
0x29,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x29,0x20,0x2b,0x20,0x74,0x65,0x78,0x5f,
0x73,0x68,0x61,0x64,0x6f,0x77,0x2e,0x73,0x61,0x6d,0x70,0x6c,0x65,0x5f,0x63,0x6f,
0x6d,0x70,0x61,0x72,0x65,0x28,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,
0x2c,0x20,0x5f,0x36,0x32,0x30,0x2e,0x78,0x79,0x2c,0x20,0x75,0x69,0x6e,0x74,0x28,
0x72,0x69,0x6e,0x74,0x28,0x5f,0x36,0x32,0x30,0x2e,0x7a,0x29,0x29,0x2c,0x20,0x5f,
0x35,0x33,0x33,0x29,0x29,0x20,0x2b,0x20,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,
0x6f,0x77,0x2e,0x73,0x61,0x6d,0x70,0x6c,0x65,0x5f,0x63,0x6f,0x6d,0x70,0x61,0x72,
0x65,0x28,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x5f,0x36,
0x33,0x36,0x2e,0x78,0x79,0x2c,0x20,0x75,0x69,0x6e,0x74,0x28,0x72,0x69,0x6e,0x74,
0x28,0x5f,0x36,0x33,0x36,0x2e,0x7a,0x29,0x29,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,
0x29,0x20,0x2b,0x20,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2e,0x73,
0x61,0x6d,0x70,0x6c,0x65,0x5f,0x63,0x6f,0x6d,0x70,0x61,0x72,0x65,0x28,0x73,0x6d,
0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x5f,0x36,0x35,0x34,0x2e,0x78,
0x79,0x2c,0x20,0x75,0x69,0x6e,0x74,0x28,0x72,0x69,0x6e,0x74,0x28,0x5f,0x36,0x35,
0x34,0x2e,0x7a,0x29,0x29,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x29,0x20,0x2b,0x20,
0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2e,0x73,0x61,0x6d,0x70,0x6c,
0x65,0x5f,0x63,0x6f,0x6d,0x70,0x61,0x72,0x65,0x28,0x73,0x6d,0x70,0x5f,0x73,0x68,
0x61,0x64,0x6f,0x77,0x2c,0x20,0x5f,0x36,0x37,0x30,0x2e,0x78,0x79,0x2c,0x20,0x75,
0x69,0x6e,0x74,0x28,0x72,0x69,0x6e,0x74,0x28,0x5f,0x36,0x37,0x30,0x2e,0x7a,0x29,
0x29,0x2c,0x20,0x5f,0x35,0x33,0x33,0x29,0x29,0x20,0x2b,0x20,0x74,0x65,0x78,0x5f,
0x73,0x68,0x61,0x64,0x6f,0x77,0x2e,0x73,0x61,0x6d,0x70,0x6c,0x65,0x5f,0x63,0x6f,
0x6d,0x70,0x61,0x72,0x65,0x28,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,
0x2c,0x20,0x5f,0x36,0x38,0x38,0x2e,0x78,0x79,0x2c,0x20,0x75,0x69,0x6e,0x74,0x28,
0x72,0x69,0x6e,0x74,0x28,0x5f,0x36,0x38,0x38,0x2e,0x7a,0x29,0x29,0x2c,0x20,0x5f,
0x35,0x33,0x33,0x29,0x29,0x20,0x2a,0x20,0x30,0x2e,0x31,0x31,0x31,0x31,0x31,0x31,
0x31,0x31,0x31,0x39,0x33,0x38,0x39,0x35,0x33,0x33,0x39,0x39,0x36,0x35,0x38,0x32,
0x30,0x33,0x31,0x32,0x35,0x3b,0x0a,0x7d,0x0a,0x0a,0x73,0x74,0x61,0x74,0x69,0x63,
0x20,0x69,0x6e,0x6c,0x69,0x6e,0x65,0x20,0x5f,0x5f,0x61,0x74,0x74,0x72,0x69,0x62,
0x75,0x74,0x65,0x5f,0x5f,0x28,0x28,0x61,0x6c,0x77,0x61,0x79,0x73,0x5f,0x69,0x6e,
0x6c,0x69,0x6e,0x65,0x29,0x29,0x0a,0x66,0x6c,0x6f,0x61,0x74,0x20,0x73,0x61,0x6d,
0x70,0x6c,0x65,0x43,0x61,0x73,0x63,0x61,0x64,0x65,0x28,0x74,0x68,0x72,0x65,0x61,
0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x26,0x20,0x63,0x61,0x73,
0x63,0x61,0x64,0x65,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,
0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x26,0x20,0x77,0x6f,0x72,0x6c,0x64,
0x5f,0x70,0x6f,0x73,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,
0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x26,0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,
0x6c,0x2c,0x20,0x64,0x65,0x70,0x74,0x68,0x32,0x64,0x5f,0x61,0x72,0x72,0x61,0x79,
0x3c,0x66,0x6c,0x6f,0x61,0x74,0x3e,0x20,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,
0x6f,0x77,0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x20,0x73,0x6d,0x70,0x5f,
0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x61,0x6e,0x74,
0x20,0x75,0x62,0x5f,0x70,0x61,0x73,0x73,0x26,0x20,0x5f,0x37,0x30,0x36,0x29,0x0a,
0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x37,0x31,
0x36,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x63,0x61,0x73,0x63,0x61,0x64,0x65,
0x5f,0x6d,0x61,0x74,0x72,0x69,0x63,0x65,0x73,0x5b,0x63,0x61,0x73,0x63,0x61,0x64,
0x65,0x5d,0x20,0x2a,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x77,0x6f,0x72,0x6c,
0x64,0x5f,0x70,0x6f,0x73,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x5f,0x37,0x32,0x33,0x20,0x3d,0x20,0x5f,
0x37,0x31,0x36,0x2e,0x78,0x79,0x7a,0x20,0x2f,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,
0x28,0x5f,0x37,0x31,0x36,0x2e,0x77,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x33,0x20,0x5f,0x37,0x34,0x31,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x33,0x28,0x28,0x5f,0x37,0x32,0x33,0x2e,0x78,0x20,0x2a,0x20,0x30,0x2e,0x35,
0x29,0x20,0x2b,0x20,0x30,0x2e,0x35,0x2c,0x20,0x28,0x28,0x5f,0x37,0x32,0x33,0x2e,
0x79,0x20,0x2a,0x20,0x5f,0x37,0x30,0x36,0x2e,0x63,0x61,0x73,0x63,0x61,0x64,0x65,
0x5f,0x66,0x61,0x72,0x5f,0x76,0x69,0x65,0x77,0x5f,0x7a,0x2e,0x77,0x29,0x20,0x2a,
0x20,0x30,0x2e,0x35,0x29,0x20,0x2b,0x20,0x30,0x2e,0x35,0x2c,0x20,0x5f,0x37,0x32,
0x33,0x2e,0x7a,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x5f,
0x37,0x34,0x35,0x20,0x3d,0x20,0x61,0x6e,0x79,0x28,0x5f,0x37,0x34,0x31,0x20,0x3c,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x30,0x2e,0x30,0x29,0x29,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x5f,0x37,0x35,0x32,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x69,0x66,0x20,0x28,0x21,0x5f,0x37,0x34,0x35,0x29,0x0a,0x20,0x20,0x20,
0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x37,0x35,0x32,0x20,
0x3d,0x20,0x61,0x6e,0x79,0x28,0x5f,0x37,0x34,0x31,0x20,0x3e,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x33,0x28,0x31,0x2e,0x30,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,
0x0a,0x20,0x20,0x20,0x20,0x65,0x6c,0x73,0x65,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x37,0x35,0x32,0x20,0x3d,0x20,0x5f,
0x37,0x34,0x35,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x69,
0x66,0x20,0x28,0x5f,0x37,0x35,0x32,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x31,0x2e,
0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x20,0x5f,0x37,0x35,0x39,0x20,0x3d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,
0x63,0x6c,0x61,0x6d,0x70,0x28,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x6c,0x2c,0x20,0x30,
0x2e,0x30,0x30,0x31,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x34,0x37,0x34,0x39,0x37,
0x34,0x35,0x31,0x33,0x30,0x35,0x33,0x38,0x39,0x34,0x30,0x34,0x32,0x39,0x36,0x38,
0x37,0x35,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x6e,
0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x20,0x3d,0x20,0x63,0x61,0x73,0x63,0x61,0x64,
0x65,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x31,0x20,0x3d,0x20,0x5f,0x37,0x34,0x31,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x20,
0x3d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x63,0x6c,0x61,0x6d,0x70,0x28,0x30,0x2e,
0x30,0x30,0x31,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x34,0x37,0x34,0x39,0x37,0x34,
0x35,0x31,0x33,0x30,0x35,0x33,0x38,0x39,0x34,0x30,0x34,0x32,0x39,0x36,0x38,0x37,
0x35,0x20,0x2a,0x20,0x28,0x73,0x71,0x72,0x74,0x28,0x31,0x2e,0x30,0x20,0x2d,0x20,
0x28,0x5f,0x37,0x35,0x39,0x20,0x2a,0x20,0x5f,0x37,0x35,0x39,0x29,0x29,0x20,0x2f,
0x20,0x5f,0x37,0x35,0x39,0x29,0x2c,0x20,0x30,0x2e,0x30,0x30,0x30,0x35,0x30,0x30,
0x30,0x30,0x30,0x30,0x32,0x33,0x37,0x34,0x38,0x37,0x32,0x35,0x36,0x35,0x32,0x36,
0x39,0x34,0x37,0x30,0x32,0x31,0x34,0x38,0x34,0x33,0x37,0x35,0x2c,0x20,0x30,0x2e,
0x30,0x35,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x37,0x34,0x35,0x30,0x35,0x38,0x30,
0x35,0x39,0x36,0x39,0x32,0x33,0x38,0x32,0x38,0x31,0x32,0x35,0x29,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x63,0x66,0x20,0x3d,0x20,0x73,
0x61,0x6d,0x70,0x6c,0x65,0x53,0x68,0x61,0x64,0x6f,0x77,0x50,0x43,0x46,0x28,0x70,
0x61,0x72,0x61,0x6d,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x2c,0x20,0x70,
0x61,0x72,0x61,0x6d,0x5f,0x32,0x2c,0x20,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,
0x6f,0x77,0x2c,0x20,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x29,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x63,0x61,0x73,0x63,0x61,0x64,0x65,
0x20,0x3d,0x3d,0x20,0x32,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x5f,0x37,0x39,0x30,
0x20,0x3d,0x20,0x5f,0x37,0x34,0x31,0x2e,0x78,0x79,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x5f,0x37,0x39,0x35,0x20,
0x3d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x6d,0x69,0x6e,0x28,0x5f,0x37,0x39,0x30,
0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x28,0x31,0x2e,0x30,0x29,0x20,0x2d,0x20,
0x5f,0x37,0x39,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x70,
0x63,0x66,0x20,0x3d,0x20,0x6d,0x69,0x78,0x28,0x31,0x2e,0x30,0x2c,0x20,0x70,0x63,
0x66,0x2c,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x63,0x6c,0x61,0x6d,0x70,0x28,0x66,
0x61,0x73,0x74,0x3a,0x3a,0x6d,0x69,0x6e,0x28,0x5f,0x37,0x39,0x35,0x2e,0x78,0x2c,
0x20,0x5f,0x37,0x39,0x35,0x2e,0x79,0x29,0x20,0x2a,0x20,0x31,0x30,0x2e,0x30,0x2c,
0x20,0x30,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x63,
0x66,0x3b,0x0a,0x7d,0x0a,0x0a,0x73,0x74,0x61,0x74,0x69,0x63,0x20,0x69,0x6e,0x6c,
0x69,0x6e,0x65,0x20,0x5f,0x5f,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x5f,
0x5f,0x28,0x28,0x61,0x6c,0x77,0x61,0x79,0x73,0x5f,0x69,0x6e,0x6c,0x69,0x6e,0x65,
0x29,0x29,0x0a,0x66,0x6c,0x6f,0x61,0x74,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x53,
0x68,0x61,0x64,0x6f,0x77,0x43,0x61,0x73,0x63,0x61,0x64,0x65,0x64,0x28,0x74,0x68,
0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x33,0x26,0x20,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x2c,0x20,0x74,0x68,
0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x26,0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x6c,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,
0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x26,0x20,0x76,
0x69,0x65,0x77,0x5f,0x7a,0x2c,0x20,0x64,0x65,0x70,0x74,0x68,0x32,0x64,0x5f,0x61,
0x72,0x72,0x61,0x79,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x3e,0x20,0x74,0x65,0x78,0x5f,
0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x20,
0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x63,0x6f,0x6e,0x73,
0x74,0x61,0x6e,0x74,0x20,0x75,0x62,0x5f,0x70,0x61,0x73,0x73,0x26,0x20,0x5f,0x37,
0x30,0x36,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x69,0x6e,0x74,0x20,0x63,0x61,
0x73,0x63,0x61,0x64,0x65,0x20,0x3d,0x20,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,
0x66,0x20,0x28,0x76,0x69,0x65,0x77,0x5f,0x7a,0x20,0x3c,0x20,0x5f,0x37,0x30,0x36,
0x2e,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,0x69,0x65,
0x77,0x5f,0x7a,0x2e,0x78,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x3d,0x20,0x30,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x65,0x6c,0x73,0x65,
0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,
0x66,0x20,0x28,0x76,0x69,0x65,0x77,0x5f,0x7a,0x20,0x3c,0x20,0x5f,0x37,0x30,0x36,
0x2e,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,0x69,0x65,
0x77,0x5f,0x7a,0x2e,0x79,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x63,0x61,0x73,
0x63,0x61,0x64,0x65,0x20,0x3d,0x20,0x31,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x69,0x6e,
0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x20,0x3d,0x20,0x63,0x61,0x73,0x63,0x61,0x64,
0x65,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x31,0x20,0x3d,0x20,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,
0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,
0x61,0x6d,0x5f,0x32,0x20,0x3d,0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x6c,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x73,0x68,0x61,0x64,0x6f,0x77,
0x20,0x3d,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x43,0x61,0x73,0x63,0x61,0x64,0x65,
0x28,0x70,0x61,0x72,0x61,0x6d,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x2c,
0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x2c,0x20,0x74,0x65,0x78,0x5f,0x73,0x68,
0x61,0x64,0x6f,0x77,0x2c,0x20,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,
0x2c,0x20,0x5f,0x37,0x30,0x36,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,
0x28,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x3c,0x20,0x32,0x29,0x0a,0x20,0x20,
0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x20,0x5f,0x38,0x34,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x69,0x66,0x20,0x28,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x3d,0x3d,0x20,0x30,
0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x38,0x34,0x30,0x20,0x3d,0x20,0x5f,
0x37,0x30,0x36,0x2e,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,
0x76,0x69,0x65,0x77,0x5f,0x7a,0x2e,0x78,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x6c,0x73,0x65,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x38,0x34,0x30,0x20,0x3d,0x20,0x5f,0x37,
0x30,0x36,0x2e,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,
0x69,0x65,0x77,0x5f,0x7a,0x2e,0x79,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x20,0x5f,0x38,0x35,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,
0x66,0x20,0x28,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x3d,0x3d,0x20,0x30,0x29,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x38,0x35,0x32,0x20,0x3d,0x20,0x30,0x2e,
0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x65,0x6c,0x73,0x65,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x5f,0x38,0x35,0x32,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x63,0x61,0x73,0x63,
0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,0x69,0x65,0x77,0x5f,0x7a,0x2e,0x78,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x38,0x36,0x33,0x20,0x3d,
0x20,0x6d,0x69,0x78,0x28,0x5f,0x38,0x34,0x30,0x2c,0x20,0x5f,0x38,0x35,0x32,0x2c,
0x20,0x30,0x2e,0x31,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x31,0x34,0x39,0x30,0x31,
0x31,0x36,0x31,0x31,0x39,0x33,0x38,0x34,0x37,0x36,0x35,0x36,0x32,0x35,0x29,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x76,0x69,0x65,
0x77,0x5f,0x7a,0x20,0x3e,0x20,0x5f,0x38,0x36,0x33,0x29,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x69,0x6e,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x33,0x20,0x3d,0x20,
0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x2b,0x20,0x31,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x34,0x20,0x3d,0x20,0x77,0x6f,0x72,0x6c,0x64,0x5f,
0x70,0x6f,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x20,0x3d,
0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x6c,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x73,0x68,0x61,0x64,0x6f,0x77,0x20,0x3d,0x20,0x6d,
0x69,0x78,0x28,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c,
0x65,0x43,0x61,0x73,0x63,0x61,0x64,0x65,0x28,0x70,0x61,0x72,0x61,0x6d,0x5f,0x33,
0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x34,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,
0x5f,0x35,0x2c,0x20,0x74,0x65,0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,
0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x2c,0x20,0x5f,0x37,0x30,0x36,
0x29,0x2c,0x20,0x28,0x76,0x69,0x65,0x77,0x5f,0x7a,0x20,0x2d,0x20,0x5f,0x38,0x36,
0x33,0x29,0x20,0x2f,0x20,0x28,0x5f,0x38,0x34,0x30,0x20,0x2d,0x20,0x5f,0x38,0x36,
0x33,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,
0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,
0x73,0x68,0x61,0x64,0x6f,0x77,0x3b,0x0a,0x7d,0x0a,0x0a,0x73,0x74,0x61,0x74,0x69,
0x63,0x20,0x69,0x6e,0x6c,0x69,0x6e,0x65,0x20,0x5f,0x5f,0x61,0x74,0x74,0x72,0x69,
0x62,0x75,0x74,0x65,0x5f,0x5f,0x28,0x28,0x61,0x6c,0x77,0x61,0x79,0x73,0x5f,0x69,
0x6e,0x6c,0x69,0x6e,0x65,0x29,0x29,0x0a,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x62,
0x72,0x44,0x69,0x73,0x74,0x72,0x69,0x62,0x75,0x74,0x69,0x6f,0x6e,0x47,0x47,0x58,
0x28,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x26,0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x68,0x2c,0x20,0x74,0x68,
0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x26,0x20,0x61,0x6c,0x70,0x68,0x61,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x20,0x5f,0x31,0x30,0x36,0x20,0x3d,0x20,0x61,0x6c,0x70,0x68,
0x61,0x20,0x2a,0x20,0x61,0x6c,0x70,0x68,0x61,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x20,0x5f,0x31,0x31,0x35,0x20,0x3d,0x20,0x28,0x28,0x6e,0x5f,
0x64,0x6f,0x74,0x5f,0x68,0x20,0x2a,0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x68,0x29,
0x20,0x2a,0x20,0x28,0x5f,0x31,0x30,0x36,0x20,0x2d,0x20,0x31,0x2e,0x30,0x29,0x29,
0x20,0x2b,0x20,0x31,0x2e,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,
0x72,0x6e,0x20,0x5f,0x31,0x30,0x36,0x20,0x2f,0x20,0x28,0x28,0x33,0x2e,0x31,0x34,
0x31,0x35,0x39,0x32,0x37,0x34,0x31,0x30,0x31,0x32,0x35,0x37,0x33,0x32,0x34,0x32,
0x31,0x38,0x37,0x35,0x20,0x2a,0x20,0x5f,0x31,0x31,0x35,0x29,0x20,0x2a,0x20,0x5f,
0x31,0x31,0x35,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x73,0x74,0x61,0x74,0x69,0x63,0x20,
0x69,0x6e,0x6c,0x69,0x6e,0x65,0x20,0x5f,0x5f,0x61,0x74,0x74,0x72,0x69,0x62,0x75,
0x74,0x65,0x5f,0x5f,0x28,0x28,0x61,0x6c,0x77,0x61,0x79,0x73,0x5f,0x69,0x6e,0x6c,
0x69,0x6e,0x65,0x29,0x29,0x0a,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x62,0x72,0x56,
0x69,0x73,0x69,0x62,0x69,0x6c,0x69,0x74,0x79,0x53,0x6d,0x69,0x74,0x68,0x43,0x6f,
0x72,0x72,0x65,0x6c,0x61,0x74,0x65,0x64,0x28,0x74,0x68,0x72,0x65,0x61,0x64,0x20,
0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x26,0x20,0x6e,0x5f,0x64,
0x6f,0x74,0x5f,0x76,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,
0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x26,0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,
0x6c,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x26,0x20,0x61,0x6c,0x70,0x68,0x61,0x29,0x0a,0x7b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x31,0x32,0x38,0x20,0x3d,
0x20,0x61,0x6c,0x70,0x68,0x61,0x20,0x2a,0x20,0x61,0x6c,0x70,0x68,0x61,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x31,0x33,0x35,0x20,0x3d,
0x20,0x31,0x2e,0x30,0x20,0x2d,0x20,0x5f,0x31,0x32,0x38,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x30,0x2e,0x35,0x20,0x2f,0x20,0x28,0x28,
0x28,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x6c,0x20,0x2a,0x20,0x73,0x71,0x72,0x74,0x28,
0x28,0x28,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x76,0x20,0x2a,0x20,0x6e,0x5f,0x64,0x6f,
0x74,0x5f,0x76,0x29,0x20,0x2a,0x20,0x5f,0x31,0x33,0x35,0x29,0x20,0x2b,0x20,0x5f,
0x31,0x32,0x38,0x29,0x29,0x20,0x2b,0x20,0x28,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x76,
0x20,0x2a,0x20,0x73,0x71,0x72,0x74,0x28,0x28,0x28,0x6e,0x5f,0x64,0x6f,0x74,0x5f,
0x6c,0x20,0x2a,0x20,0x6e,0x5f,0x64,0x6f,0x74,0x5f,0x6c,0x29,0x20,0x2a,0x20,0x5f,
0x31,0x33,0x35,0x29,0x20,0x2b,0x20,0x5f,0x31,0x32,0x38,0x29,0x29,0x29,0x20,0x2b,
0x20,0x39,0x2e,0x39,0x39,0x39,0x39,0x39,0x39,0x37,0x34,0x37,0x33,0x37,0x38,0x37,
0x35,0x31,0x36,0x33,0x35,0x35,0x35,0x31,0x34,0x35,0x32,0x36,0x33,0x36,0x37,0x31,
0x38,0x38,0x65,0x2d,0x30,0x36,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x73,0x74,0x61,0x74,
0x69,0x63,0x20,0x69,0x6e,0x6c,0x69,0x6e,0x65,0x20,0x5f,0x5f,0x61,0x74,0x74,0x72,
0x69,0x62,0x75,0x74,0x65,0x5f,0x5f,0x28,0x28,0x61,0x6c,0x77,0x61,0x79,0x73,0x5f,
0x69,0x6e,0x6c,0x69,0x6e,0x65,0x29,0x29,0x0a,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,
0x70,0x62,0x72,0x46,0x72,0x65,0x73,0x6e,0x65,0x6c,0x53,0x63,0x68,0x6c,0x69,0x63,
0x6b,0x28,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x26,0x20,0x76,0x5f,0x64,0x6f,0x74,0x5f,0x68,0x2c,0x20,0x74,
0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x33,0x26,0x20,0x66,0x30,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x20,0x5f,0x31,0x36,0x34,0x20,0x3d,0x20,0x31,0x2e,0x30,0x20,0x2d,
0x20,0x76,0x5f,0x64,0x6f,0x74,0x5f,0x68,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x20,0x5f,0x31,0x36,0x38,0x20,0x3d,0x20,0x5f,0x31,0x36,0x34,0x20,
0x2a,0x20,0x5f,0x31,0x36,0x34,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,
0x72,0x6e,0x20,0x66,0x30,0x20,0x2b,0x20,0x28,0x28,0x66,0x6c,0x6f,0x61,0x74,0x33,
0x28,0x31,0x2e,0x30,0x29,0x20,0x2d,0x20,0x66,0x30,0x29,0x20,0x2a,0x20,0x28,0x28,
0x5f,0x31,0x36,0x38,0x20,0x2a,0x20,0x5f,0x31,0x36,0x38,0x29,0x20,0x2a,0x20,0x5f,
0x31,0x36,0x34,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x73,0x74,0x61,0x74,0x69,0x63,
0x20,0x69,0x6e,0x6c,0x69,0x6e,0x65,0x20,0x5f,0x5f,0x61,0x74,0x74,0x72,0x69,0x62,
0x75,0x74,0x65,0x5f,0x5f,0x28,0x28,0x61,0x6c,0x77,0x61,0x79,0x73,0x5f,0x69,0x6e,
0x6c,0x69,0x6e,0x65,0x29,0x29,0x0a,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x62,0x72,
0x64,0x66,0x5f,0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x65,0x28,0x74,0x68,0x72,0x65,
0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x26,
0x20,0x4e,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x26,0x20,0x56,0x2c,0x20,0x74,0x68,0x72,0x65,
0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x26,
0x20,0x4c,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x26,0x20,0x73,0x75,0x6e,0x5f,0x72,0x61,0x64,
0x69,0x61,0x6e,0x63,0x65,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,
0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x26,0x20,0x62,0x61,0x73,0x65,
0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,
0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x26,0x20,0x6d,0x65,0x74,0x61,
0x6c,0x6c,0x69,0x63,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,
0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x26,0x20,0x72,0x6f,0x75,0x67,0x68,0x6e,
0x65,0x73,0x73,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x20,0x5f,0x31,0x38,0x37,0x20,0x3d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x6d,0x61,
0x78,0x28,0x64,0x6f,0x74,0x28,0x4e,0x2c,0x20,0x4c,0x29,0x2c,0x20,0x30,0x2e,0x30,
0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x5f,0x31,
0x39,0x38,0x20,0x3d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x6e,0x6f,0x72,0x6d,0x61,
0x6c,0x69,0x7a,0x65,0x28,0x56,0x20,0x2b,0x20,0x4c,0x29,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x32,0x31,0x32,0x20,0x3d,0x20,0x66,0x61,
0x73,0x74,0x3a,0x3a,0x6d,0x61,0x78,0x28,0x72,0x6f,0x75,0x67,0x68,0x6e,0x65,0x73,
0x73,0x2c,0x20,0x30,0x2e,0x30,0x34,0x35,0x30,0x30,0x30,0x30,0x30,0x31,0x37,0x38,
0x38,0x31,0x33,0x39,0x33,0x34,0x33,0x32,0x36,0x31,0x37,0x31,0x38,0x37,0x35,0x29,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x32,0x31,0x36,
0x20,0x3d,0x20,0x5f,0x32,0x31,0x32,0x20,0x2a,0x20,0x5f,0x32,0x31,0x32,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x20,
0x3d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x6d,0x61,0x78,0x28,0x64,0x6f,0x74,0x28,
0x4e,0x2c,0x20,0x5f,0x31,0x39,0x38,0x29,0x2c,0x20,0x30,0x2e,0x30,0x29,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,
0x31,0x20,0x3d,0x20,0x5f,0x32,0x31,0x36,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x20,0x3d,0x20,0x66,0x61,
0x73,0x74,0x3a,0x3a,0x6d,0x61,0x78,0x28,0x64,0x6f,0x74,0x28,0x4e,0x2c,0x20,0x56,
0x29,0x2c,0x20,0x39,0x2e,0x39,0x39,0x39,0x39,0x39,0x39,0x37,0x34,0x37,0x33,0x37,
0x38,0x37,0x35,0x31,0x36,0x33,0x35,0x35,0x35,0x31,0x34,0x35,0x32,0x36,0x33,0x36,
0x37,0x31,0x38,0x38,0x65,0x2d,0x30,0x35,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x33,0x20,0x3d,0x20,0x5f,
0x31,0x38,0x37,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,
0x61,0x72,0x61,0x6d,0x5f,0x34,0x20,0x3d,0x20,0x5f,0x32,0x31,0x36,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,
0x20,0x3d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x6d,0x61,0x78,0x28,0x64,0x6f,0x74,
0x28,0x56,0x2c,0x20,0x5f,0x31,0x39,0x38,0x29,0x2c,0x20,0x30,0x2e,0x30,0x29,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,
0x6d,0x5f,0x36,0x20,0x3d,0x20,0x6d,0x69,0x78,0x28,0x66,0x6c,0x6f,0x61,0x74,0x33,
0x28,0x30,0x2e,0x30,0x33,0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x31,0x30,0x35,0x39,
0x33,0x30,0x33,0x32,0x38,0x33,0x36,0x39,0x31,0x34,0x30,0x36,0x32,0x35,0x29,0x2c,
0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2c,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x33,0x28,0x6d,0x65,0x74,0x61,0x6c,0x6c,0x69,0x63,0x29,0x29,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x5f,0x32,0x34,0x33,0x20,
0x3d,0x20,0x70,0x62,0x72,0x46,0x72,0x65,0x73,0x6e,0x65,0x6c,0x53,0x63,0x68,0x6c,
0x69,0x63,0x6b,0x28,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x2c,0x20,0x70,0x61,0x72,
0x61,0x6d,0x5f,0x36,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,
0x6e,0x20,0x28,0x28,0x28,0x28,0x28,0x28,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x31,
0x2e,0x30,0x29,0x20,0x2d,0x20,0x5f,0x32,0x34,0x33,0x29,0x20,0x2a,0x20,0x28,0x31,
0x2e,0x30,0x20,0x2d,0x20,0x6d,0x65,0x74,0x61,0x6c,0x6c,0x69,0x63,0x29,0x29,0x20,
0x2a,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x29,0x20,0x2a,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x30,0x2e,0x33,0x31,0x38,0x33,0x30,0x39,0x38,
0x37,0x33,0x33,0x34,0x32,0x35,0x31,0x34,0x30,0x33,0x38,0x30,0x38,0x35,0x39,0x33,
0x37,0x35,0x29,0x29,0x20,0x2b,0x20,0x28,0x5f,0x32,0x34,0x33,0x20,0x2a,0x20,0x28,
0x70,0x62,0x72,0x44,0x69,0x73,0x74,0x72,0x69,0x62,0x75,0x74,0x69,0x6f,0x6e,0x47,
0x47,0x58,0x28,0x70,0x61,0x72,0x61,0x6d,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,
0x31,0x29,0x20,0x2a,0x20,0x70,0x62,0x72,0x56,0x69,0x73,0x69,0x62,0x69,0x6c,0x69,
0x74,0x79,0x53,0x6d,0x69,0x74,0x68,0x43,0x6f,0x72,0x72,0x65,0x6c,0x61,0x74,0x65,
0x64,0x28,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,
0x5f,0x33,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x34,0x29,0x29,0x29,0x29,0x20,
0x2a,0x20,0x73,0x75,0x6e,0x5f,0x72,0x61,0x64,0x69,0x61,0x6e,0x63,0x65,0x29,0x20,
0x2a,0x20,0x5f,0x31,0x38,0x37,0x3b,0x0a,0x7d,0x0a,0x0a,0x73,0x74,0x61,0x74,0x69,
0x63,0x20,0x69,0x6e,0x6c,0x69,0x6e,0x65,0x20,0x5f,0x5f,0x61,0x74,0x74,0x72,0x69,
0x62,0x75,0x74,0x65,0x5f,0x5f,0x28,0x28,0x61,0x6c,0x77,0x61,0x79,0x73,0x5f,0x69,
0x6e,0x6c,0x69,0x6e,0x65,0x29,0x29,0x0a,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,
0x62,0x72,0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x65,0x53,0x68,0x49,0x72,0x72,0x61,
0x64,0x69,0x61,0x6e,0x63,0x65,0x28,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,
0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x26,0x20,0x4e,0x2c,0x20,0x74,
0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x73,0x70,0x76,0x55,
0x6e,0x73,0x61,0x66,0x65,0x41,0x72,0x72,0x61,0x79,0x3c,0x66,0x6c,0x6f,0x61,0x74,
0x34,0x2c,0x20,0x39,0x3e,0x26,0x20,0x73,0x68,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x5f,0x33,0x39,0x38,0x20,0x3d,0x20,0x28,
0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x73,0x68,0x5b,0x30,0x5d,0x2e,0x78,0x79,0x7a,
0x20,0x2a,0x20,0x30,0x2e,0x32,0x38,0x32,0x30,0x39,0x34,0x38,0x30,0x36,0x34,0x33,
0x32,0x37,0x32,0x33,0x39,0x39,0x39,0x30,0x32,0x33,0x34,0x33,0x37,0x35,0x29,0x20,
0x2b,0x20,0x28,0x73,0x68,0x5b,0x31,0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,
0x28,0x2d,0x30,0x2e,0x34,0x38,0x38,0x36,0x30,0x32,0x35,0x31,0x39,0x30,0x33,0x35,
0x33,0x33,0x39,0x33,0x35,0x35,0x34,0x36,0x38,0x37,0x35,0x29,0x20,0x2a,0x20,0x4e,
0x2e,0x79,0x29,0x29,0x29,0x20,0x2b,0x20,0x28,0x73,0x68,0x5b,0x32,0x5d,0x2e,0x78,
0x79,0x7a,0x20,0x2a,0x20,0x28,0x30,0x2e,0x34,0x38,0x38,0x36,0x30,0x32,0x35,0x31,
0x39,0x30,0x33,0x35,0x33,0x33,0x39,0x33,0x35,0x35,0x34,0x36,0x38,0x37,0x35,0x20,
0x2a,0x20,0x4e,0x2e,0x7a,0x29,0x29,0x29,0x20,0x2b,0x20,0x28,0x73,0x68,0x5b,0x33,
0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,0x28,0x2d,0x30,0x2e,0x34,0x38,0x38,
0x36,0x30,0x32,0x35,0x31,0x39,0x30,0x33,0x35,0x33,0x33,0x39,0x33,0x35,0x35,0x34,
0x36,0x38,0x37,0x35,0x29,0x20,0x2a,0x20,0x4e,0x2e,0x78,0x29,0x29,0x29,0x20,0x2b,
0x20,0x28,0x73,0x68,0x5b,0x34,0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,0x28,
0x31,0x2e,0x30,0x39,0x32,0x35,0x34,0x38,0x34,0x38,0x39,0x35,0x37,0x30,0x36,0x31,
0x37,0x36,0x37,0x35,0x37,0x38,0x31,0x32,0x35,0x20,0x2a,0x20,0x4e,0x2e,0x78,0x29,
0x20,0x2a,0x20,0x4e,0x2e,0x79,0x29,0x29,0x29,0x20,0x2b,0x20,0x28,0x73,0x68,0x5b,
0x35,0x5d,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,0x28,0x28,0x2d,0x31,0x2e,0x30,
0x39,0x32,0x35,0x34,0x38,0x34,0x38,0x39,0x35,0x37,0x30,0x36,0x31,0x37,0x36,0x37,
0x35,0x37,0x38,0x31,0x32,0x35,0x29,0x20,0x2a,0x20,0x4e,0x2e,0x79,0x29,0x20,0x2a,
0x20,0x4e,0x2e,0x7a,0x29,0x29,0x29,0x20,0x2b,0x20,0x28,0x73,0x68,0x5b,0x36,0x5d,
0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x28,0x30,0x2e,0x33,0x31,0x35,0x33,0x39,0x31,
0x35,0x37,0x30,0x33,0x32,0x39,0x36,0x36,0x36,0x31,0x33,0x37,0x36,0x39,0x35,0x33,
0x31,0x32,0x35,0x20,0x2a,0x20,0x28,0x28,0x28,0x33,0x2e,0x30,0x20,0x2a,0x20,0x4e,
0x2e,0x7a,0x29,0x20,0x2a,0x20,0x4e,0x2e,0x7a,0x29,0x20,0x2d,0x20,0x31,0x2e,0x30,
0x29,0x29,0x29,0x29,0x20,0x2b,0x20,0x28,0x73,0x68,0x5b,0x37,0x5d,0x2e,0x78,0x79,
0x7a,0x20,0x2a,0x20,0x28,0x28,0x28,0x2d,0x31,0x2e,0x30,0x39,0x32,0x35,0x34,0x38,
0x34,0x38,0x39,0x35,0x37,0x30,0x36,0x31,0x37,0x36,0x37,0x35,0x37,0x38,0x31,0x32,
0x35,0x29,0x20,0x2a,0x20,0x4e,0x2e,0x78,0x29,0x20,0x2a,0x20,0x4e,0x2e,0x7a,0x29,
0x29,0x29,0x20,0x2b,0x20,0x28,0x73,0x68,0x5b,0x38,0x5d,0x2e,0x78,0x79,0x7a,0x20,
0x2a,0x20,0x28,0x30,0x2e,0x35,0x34,0x36,0x32,0x37,0x34,0x32,0x34,0x34,0x37,0x38,
0x35,0x33,0x30,0x38,0x38,0x33,0x37,0x38,0x39,0x30,0x36,0x32,0x35,0x20,0x2a,0x20,
0x28,0x28,0x4e,0x2e,0x78,0x20,0x2a,0x20,0x4e,0x2e,0x78,0x29,0x20,0x2d,0x20,0x28,
0x4e,0x2e,0x79,0x20,0x2a,0x20,0x4e,0x2e,0x79,0x29,0x29,0x29,0x29,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x5f,0x33,0x39,0x38,0x3b,0x0a,
0x7d,0x0a,0x0a,0x73,0x74,0x61,0x74,0x69,0x63,0x20,0x69,0x6e,0x6c,0x69,0x6e,0x65,
0x20,0x5f,0x5f,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x5f,0x5f,0x28,0x28,
0x61,0x6c,0x77,0x61,0x79,0x73,0x5f,0x69,0x6e,0x6c,0x69,0x6e,0x65,0x29,0x29,0x0a,
0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x62,0x72,0x45,0x76,0x61,0x6c,0x75,0x61,
0x74,0x65,0x49,0x62,0x6c,0x28,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,
0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x26,0x20,0x4e,0x5f,0x77,0x6f,0x72,
0x6c,0x64,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x26,0x20,0x56,0x5f,0x77,0x6f,0x72,0x6c,0x64,
0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x33,0x26,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,
0x72,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x26,0x20,0x6d,0x65,0x74,0x61,0x6c,0x6c,0x69,0x63,0x2c,
0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x26,0x20,0x72,0x6f,0x75,0x67,0x68,0x6e,0x65,0x73,0x73,0x2c,0x20,
0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x73,0x70,0x76,
0x55,0x6e,0x73,0x61,0x66,0x65,0x41,0x72,0x72,0x61,0x79,0x3c,0x66,0x6c,0x6f,0x61,
0x74,0x34,0x2c,0x20,0x39,0x3e,0x26,0x20,0x73,0x68,0x2c,0x20,0x74,0x65,0x78,0x74,
0x75,0x72,0x65,0x63,0x75,0x62,0x65,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x3e,0x20,0x74,
0x65,0x78,0x5f,0x73,0x70,0x65,0x63,0x5f,0x63,0x75,0x62,0x65,0x2c,0x20,0x73,0x61,
0x6d,0x70,0x6c,0x65,0x72,0x20,0x73,0x6d,0x70,0x5f,0x73,0x70,0x65,0x63,0x5f,0x63,
0x75,0x62,0x65,0x2c,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x32,0x64,0x3c,0x66,
0x6c,0x6f,0x61,0x74,0x3e,0x20,0x74,0x65,0x78,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,
0x75,0x74,0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x20,0x73,0x6d,0x70,0x5f,
0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,
0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x26,0x20,0x6d,0x61,
0x78,0x5f,0x6c,0x6f,0x64,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x20,0x5f,0x34,0x30,0x35,0x20,0x3d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,
0x63,0x6c,0x61,0x6d,0x70,0x28,0x64,0x6f,0x74,0x28,0x4e,0x5f,0x77,0x6f,0x72,0x6c,
0x64,0x2c,0x20,0x56,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x29,0x2c,0x20,0x39,0x2e,0x39,
0x39,0x39,0x39,0x39,0x39,0x37,0x34,0x37,0x33,0x37,0x38,0x37,0x35,0x31,0x36,0x33,
0x35,0x35,0x35,0x31,0x34,0x35,0x32,0x36,0x33,0x36,0x37,0x31,0x38,0x38,0x65,0x2d,
0x30,0x35,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x33,0x20,0x5f,0x34,0x31,0x35,0x20,0x3d,0x20,0x6d,0x69,0x78,0x28,
0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x30,0x2e,0x30,0x33,0x39,0x39,0x39,0x39,0x39,
0x39,0x39,0x31,0x30,0x35,0x39,0x33,0x30,0x33,0x32,0x38,0x33,0x36,0x39,0x31,0x34,
0x30,0x36,0x32,0x35,0x29,0x2c,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,
0x72,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x6d,0x65,0x74,0x61,0x6c,0x6c,
0x69,0x63,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,
0x20,0x70,0x61,0x72,0x61,0x6d,0x20,0x3d,0x20,0x4e,0x5f,0x77,0x6f,0x72,0x6c,0x64,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x73,0x70,0x76,0x55,0x6e,0x73,0x61,0x66,0x65,0x41,
0x72,0x72,0x61,0x79,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x34,0x2c,0x20,0x39,0x3e,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x20,0x3d,0x20,0x73,0x68,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x34,0x38,0x31,0x20,0x3d,0x20,
0x74,0x65,0x78,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x2e,0x73,0x61,0x6d,
0x70,0x6c,0x65,0x28,0x73,0x6d,0x70,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,
0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x28,0x5f,0x34,0x30,0x35,0x2c,0x20,0x72,
0x6f,0x75,0x67,0x68,0x6e,0x65,0x73,0x73,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x28,0x28,0x28,0x28,0x28,0x66,0x6c,0x6f,0x61,
0x74,0x33,0x28,0x31,0x2e,0x30,0x29,0x20,0x2d,0x20,0x28,0x5f,0x34,0x31,0x35,0x20,
0x2b,0x20,0x28,0x28,0x66,0x61,0x73,0x74,0x3a,0x3a,0x6d,0x61,0x78,0x28,0x66,0x6c,
0x6f,0x61,0x74,0x33,0x28,0x31,0x2e,0x30,0x20,0x2d,0x20,0x72,0x6f,0x75,0x67,0x68,
0x6e,0x65,0x73,0x73,0x29,0x2c,0x20,0x5f,0x34,0x31,0x35,0x29,0x20,0x2d,0x20,0x5f,
0x34,0x31,0x35,0x29,0x20,0x2a,0x20,0x70,0x6f,0x77,0x72,0x28,0x66,0x61,0x73,0x74,
0x3a,0x3a,0x6d,0x61,0x78,0x28,0x30,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x20,0x2d,
0x20,0x5f,0x34,0x30,0x35,0x29,0x2c,0x20,0x35,0x2e,0x30,0x29,0x29,0x29,0x29,0x20,
0x2a,0x20,0x28,0x31,0x2e,0x30,0x20,0x2d,0x20,0x6d,0x65,0x74,0x61,0x6c,0x6c,0x69,
0x63,0x29,0x29,0x20,0x2a,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,
0x29,0x20,0x2a,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x6d,0x61,0x78,0x28,0x70,0x62,
0x72,0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x65,0x53,0x68,0x49,0x72,0x72,0x61,0x64,
0x69,0x61,0x6e,0x63,0x65,0x28,0x70,0x61,0x72,0x61,0x6d,0x2c,0x20,0x70,0x61,0x72,
0x61,0x6d,0x5f,0x31,0x29,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x30,0x2e,
0x30,0x29,0x29,0x29,0x20,0x2a,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x30,0x2e,
0x33,0x31,0x38,0x33,0x30,0x39,0x38,0x37,0x33,0x33,0x34,0x32,0x35,0x31,0x34,0x30,
0x33,0x38,0x30,0x38,0x35,0x39,0x33,0x37,0x35,0x29,0x29,0x20,0x2b,0x20,0x28,0x74,
0x65,0x78,0x5f,0x73,0x70,0x65,0x63,0x5f,0x63,0x75,0x62,0x65,0x2e,0x73,0x61,0x6d,
0x70,0x6c,0x65,0x28,0x73,0x6d,0x70,0x5f,0x73,0x70,0x65,0x63,0x5f,0x63,0x75,0x62,
0x65,0x2c,0x20,0x72,0x65,0x66,0x6c,0x65,0x63,0x74,0x28,0x2d,0x56,0x5f,0x77,0x6f,
0x72,0x6c,0x64,0x2c,0x20,0x4e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x29,0x2c,0x20,0x6c,
0x65,0x76,0x65,0x6c,0x28,0x72,0x6f,0x75,0x67,0x68,0x6e,0x65,0x73,0x73,0x20,0x2a,
0x20,0x6d,0x61,0x78,0x5f,0x6c,0x6f,0x64,0x29,0x29,0x2e,0x78,0x79,0x7a,0x20,0x2a,
0x20,0x28,0x28,0x5f,0x34,0x31,0x35,0x20,0x2a,0x20,0x5f,0x34,0x38,0x31,0x2e,0x78,
0x29,0x20,0x2b,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x5f,0x34,0x38,0x31,0x2e,
0x79,0x29,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x73,0x74,0x61,0x74,0x69,0x63,0x20,
0x69,0x6e,0x6c,0x69,0x6e,0x65,0x20,0x5f,0x5f,0x61,0x74,0x74,0x72,0x69,0x62,0x75,
0x74,0x65,0x5f,0x5f,0x28,0x28,0x61,0x6c,0x77,0x61,0x79,0x73,0x5f,0x69,0x6e,0x6c,
0x69,0x6e,0x65,0x29,0x29,0x0a,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x62,0x72,
0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x65,0x41,0x6d,0x62,0x69,0x65,0x6e,0x74,0x28,
0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x62,0x6f,0x6f,
0x6c,0x26,0x20,0x69,0x62,0x6c,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x2c,0x20,0x74,
0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x33,0x26,0x20,0x4e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2c,0x20,0x74,0x68,0x72,
0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,
0x26,0x20,0x56,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,
0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x26,0x20,
0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2c,0x20,0x74,0x68,0x72,0x65,
0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x26,0x20,
0x6d,0x65,0x74,0x61,0x6c,0x6c,0x69,0x63,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,
0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x26,0x20,0x72,0x6f,
0x75,0x67,0x68,0x6e,0x65,0x73,0x73,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,
0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x26,0x20,0x66,0x6c,0x61,
0x74,0x5f,0x73,0x74,0x72,0x65,0x6e,0x67,0x74,0x68,0x2c,0x20,0x74,0x68,0x72,0x65,
0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x73,0x70,0x76,0x55,0x6e,0x73,0x61,
0x66,0x65,0x41,0x72,0x72,0x61,0x79,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x34,0x2c,0x20,
0x39,0x3e,0x26,0x20,0x73,0x68,0x2c,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x63,
0x75,0x62,0x65,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x3e,0x20,0x74,0x65,0x78,0x5f,0x73,
0x70,0x65,0x63,0x5f,0x63,0x75,0x62,0x65,0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,
0x72,0x20,0x73,0x6d,0x70,0x5f,0x73,0x70,0x65,0x63,0x5f,0x63,0x75,0x62,0x65,0x2c,
0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x32,0x64,0x3c,0x66,0x6c,0x6f,0x61,0x74,
0x3e,0x20,0x74,0x65,0x78,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x2c,0x20,
0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x20,0x73,0x6d,0x70,0x5f,0x62,0x72,0x64,0x66,
0x5f,0x6c,0x75,0x74,0x2c,0x20,0x74,0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,
0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x26,0x20,0x6d,0x61,0x78,0x5f,0x6c,0x6f,
0x64,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,
0x72,0x65,0x73,0x75,0x6c,0x74,0x20,0x3d,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,
0x6c,0x6f,0x72,0x20,0x2a,0x20,0x66,0x6c,0x61,0x74,0x5f,0x73,0x74,0x72,0x65,0x6e,
0x67,0x74,0x68,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x69,0x62,0x6c,
0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,
0x72,0x61,0x6d,0x20,0x3d,0x20,0x4e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x31,0x20,0x3d,0x20,0x56,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x20,0x3d,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,
0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x33,0x20,0x3d,0x20,0x6d,0x65,
0x74,0x61,0x6c,0x6c,0x69,0x63,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x34,0x20,0x3d,0x20,
0x72,0x6f,0x75,0x67,0x68,0x6e,0x65,0x73,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x73,0x70,0x76,0x55,0x6e,0x73,0x61,0x66,0x65,0x41,0x72,0x72,0x61,
0x79,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x34,0x2c,0x20,0x39,0x3e,0x20,0x70,0x61,0x72,
0x61,0x6d,0x5f,0x35,0x20,0x3d,0x20,0x73,0x68,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x36,
0x20,0x3d,0x20,0x6d,0x61,0x78,0x5f,0x6c,0x6f,0x64,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x72,0x65,0x73,0x75,0x6c,0x74,0x20,0x3d,0x20,0x70,0x62,0x72,
0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x65,0x49,0x62,0x6c,0x28,0x70,0x61,0x72,0x61,
0x6d,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x2c,0x20,0x70,0x61,0x72,0x61,
0x6d,0x5f,0x32,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x33,0x2c,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x34,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x2c,0x20,
0x74,0x65,0x78,0x5f,0x73,0x70,0x65,0x63,0x5f,0x63,0x75,0x62,0x65,0x2c,0x20,0x73,
0x6d,0x70,0x5f,0x73,0x70,0x65,0x63,0x5f,0x63,0x75,0x62,0x65,0x2c,0x20,0x74,0x65,
0x78,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x2c,0x20,0x73,0x6d,0x70,0x5f,
0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,
0x36,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,
0x74,0x75,0x72,0x6e,0x20,0x72,0x65,0x73,0x75,0x6c,0x74,0x3b,0x0a,0x7d,0x0a,0x0a,
0x66,0x72,0x61,0x67,0x6d,0x65,0x6e,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,
0x75,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x28,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69,
0x6e,0x20,0x69,0x6e,0x20,0x5b,0x5b,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x5d,
0x5d,0x2c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x61,0x6e,0x74,0x20,0x75,0x62,0x5f,0x70,
0x61,0x73,0x73,0x26,0x20,0x5f,0x37,0x30,0x36,0x20,0x5b,0x5b,0x62,0x75,0x66,0x66,
0x65,0x72,0x28,0x31,0x29,0x5d,0x5d,0x2c,0x20,0x64,0x65,0x70,0x74,0x68,0x32,0x64,
0x5f,0x61,0x72,0x72,0x61,0x79,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x3e,0x20,0x74,0x65,
0x78,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,0x20,0x5b,0x5b,0x74,0x65,0x78,0x74,0x75,
0x72,0x65,0x28,0x30,0x29,0x5d,0x5d,0x2c,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65,
0x63,0x75,0x62,0x65,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x3e,0x20,0x74,0x65,0x78,0x5f,
0x69,0x62,0x6c,0x5f,0x73,0x70,0x65,0x63,0x20,0x5b,0x5b,0x74,0x65,0x78,0x74,0x75,
0x72,0x65,0x28,0x31,0x29,0x5d,0x5d,0x2c,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65,
0x32,0x64,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x3e,0x20,0x74,0x65,0x78,0x5f,0x62,0x72,
0x64,0x66,0x5f,0x6c,0x75,0x74,0x20,0x5b,0x5b,0x74,0x65,0x78,0x74,0x75,0x72,0x65,
0x28,0x32,0x29,0x5d,0x5d,0x2c,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x32,0x64,
0x3c,0x66,0x6c,0x6f,0x61,0x74,0x3e,0x20,0x74,0x65,0x78,0x5f,0x61,0x6f,0x20,0x5b,
0x5b,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x28,0x33,0x29,0x5d,0x5d,0x2c,0x20,0x73,
0x61,0x6d,0x70,0x6c,0x65,0x72,0x20,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,
0x77,0x20,0x5b,0x5b,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x28,0x30,0x29,0x5d,0x5d,
0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x20,0x73,0x6d,0x70,0x5f,0x69,0x62,
0x6c,0x5f,0x73,0x70,0x65,0x63,0x20,0x5b,0x5b,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,
0x28,0x31,0x29,0x5d,0x5d,0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x20,0x73,
0x6d,0x70,0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x20,0x5b,0x5b,0x73,0x61,
0x6d,0x70,0x6c,0x65,0x72,0x28,0x32,0x29,0x5d,0x5d,0x2c,0x20,0x73,0x61,0x6d,0x70,
0x6c,0x65,0x72,0x20,0x73,0x6d,0x70,0x5f,0x61,0x6f,0x20,0x5b,0x5b,0x73,0x61,0x6d,
0x70,0x6c,0x65,0x72,0x28,0x33,0x29,0x5d,0x5d,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x34,0x20,0x67,0x6c,0x5f,0x46,0x72,0x61,0x67,0x43,0x6f,0x6f,0x72,0x64,0x20,0x5b,
0x5b,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5d,0x5d,0x29,0x0a,0x7b,0x0a,0x20,
0x20,0x20,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6f,0x75,0x74,
0x20,0x3d,0x20,0x7b,0x7d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x33,0x20,0x5f,0x38,0x39,0x35,0x20,0x3d,0x20,0x64,0x66,0x64,0x78,0x28,0x69,0x6e,
0x2e,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x29,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x5f,0x38,0x39,0x38,0x20,0x3d,0x20,
0x64,0x66,0x64,0x79,0x28,0x69,0x6e,0x2e,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,
0x6f,0x73,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,
0x5f,0x39,0x30,0x37,0x20,0x3d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x6e,0x6f,0x72,
0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,0x63,0x72,0x6f,0x73,0x73,0x28,0x5f,0x38,0x39,
0x38,0x20,0x2a,0x20,0x28,0x2d,0x5f,0x37,0x30,0x36,0x2e,0x63,0x61,0x73,0x63,0x61,
0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,0x69,0x65,0x77,0x5f,0x7a,0x2e,0x77,0x29,
0x2c,0x20,0x5f,0x38,0x39,0x35,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x20,0x5f,0x39,0x31,0x32,0x20,0x3d,0x20,0x2d,0x69,0x6e,0x2e,0x76,
0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x2e,0x7a,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x69,0x66,0x20,0x28,0x5f,0x37,0x30,0x36,0x2e,0x66,0x6c,0x61,0x67,0x73,0x2e,
0x78,0x20,0x3d,0x3d,0x20,0x31,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x39,0x32,0x33,
0x20,0x3d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x63,0x6c,0x61,0x6d,0x70,0x28,0x69,
0x6e,0x2e,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x2e,0x7a,0x20,0x2a,
0x20,0x28,0x2d,0x30,0x2e,0x30,0x31,0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x35,0x35,
0x32,0x39,0x36,0x35,0x31,0x36,0x34,0x31,0x38,0x34,0x35,0x37,0x30,0x33,0x31,0x32,
0x35,0x29,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x6f,0x75,0x74,0x5f,0x63,
0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x5f,0x39,
0x32,0x33,0x2c,0x20,0x5f,0x39,0x32,0x33,0x2c,0x20,0x5f,0x39,0x32,0x33,0x2c,0x20,
0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,0x65,
0x74,0x75,0x72,0x6e,0x20,0x6f,0x75,0x74,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,
0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x5f,0x37,0x30,0x36,0x2e,0x66,0x6c,0x61,
0x67,0x73,0x2e,0x78,0x20,0x3d,0x3d,0x20,0x32,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x6e,0x74,0x20,0x63,0x61,0x73,
0x63,0x61,0x64,0x65,0x20,0x3d,0x20,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x69,0x66,0x20,0x28,0x5f,0x39,0x31,0x32,0x20,0x3c,0x20,0x5f,0x37,0x30,
0x36,0x2e,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,0x66,0x61,0x72,0x5f,0x76,0x69,
0x65,0x77,0x5f,0x7a,0x2e,0x78,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x63,0x61,
0x73,0x63,0x61,0x64,0x65,0x20,0x3d,0x20,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x6c,0x73,
0x65,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x5f,0x39,0x31,0x32,
0x20,0x3c,0x20,0x5f,0x37,0x30,0x36,0x2e,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x5f,
0x66,0x61,0x72,0x5f,0x76,0x69,0x65,0x77,0x5f,0x7a,0x2e,0x79,0x29,0x0a,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x63,0x61,0x73,0x63,
0x61,0x64,0x65,0x20,0x3d,0x20,0x31,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,
0x5f,0x39,0x35,0x38,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x63,0x61,0x73,0x63,
0x61,0x64,0x65,0x5f,0x6d,0x61,0x74,0x72,0x69,0x63,0x65,0x73,0x5b,0x63,0x61,0x73,
0x63,0x61,0x64,0x65,0x5d,0x20,0x2a,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x69,
0x6e,0x2e,0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x70,0x6f,0x73,0x2c,0x20,0x31,
0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x33,0x20,0x5f,0x39,0x36,0x35,0x20,0x3d,0x20,0x5f,0x39,0x35,0x38,0x2e,
0x78,0x79,0x7a,0x20,0x2f,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x5f,0x39,0x35,
0x38,0x2e,0x77,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x33,0x20,0x5f,0x39,0x38,0x32,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x33,0x28,0x28,0x5f,0x39,0x36,0x35,0x2e,0x78,0x20,0x2a,0x20,0x30,0x2e,0x35,
0x29,0x20,0x2b,0x20,0x30,0x2e,0x35,0x2c,0x20,0x28,0x28,0x5f,0x39,0x36,0x35,0x2e,
0x79,0x20,0x2a,0x20,0x5f,0x37,0x30,0x36,0x2e,0x63,0x61,0x73,0x63,0x61,0x64,0x65,
0x5f,0x66,0x61,0x72,0x5f,0x76,0x69,0x65,0x77,0x5f,0x7a,0x2e,0x77,0x29,0x20,0x2a,
0x20,0x30,0x2e,0x35,0x29,0x20,0x2b,0x20,0x30,0x2e,0x35,0x2c,0x20,0x5f,0x39,0x36,
0x35,0x2e,0x7a,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x62,0x6f,
0x6f,0x6c,0x20,0x5f,0x39,0x38,0x36,0x20,0x3d,0x20,0x61,0x6e,0x79,0x28,0x5f,0x39,
0x38,0x32,0x20,0x3c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x30,0x2e,0x30,0x29,
0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x62,0x6f,0x6f,0x6c,0x20,
0x5f,0x39,0x39,0x33,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,
0x20,0x28,0x21,0x5f,0x39,0x38,0x36,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,
0x39,0x39,0x33,0x20,0x3d,0x20,0x61,0x6e,0x79,0x28,0x5f,0x39,0x38,0x32,0x20,0x3e,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x31,0x2e,0x30,0x29,0x29,0x3b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x65,0x6c,0x73,0x65,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x39,0x39,0x33,
0x20,0x3d,0x20,0x5f,0x39,0x38,0x36,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x33,0x20,0x74,0x69,0x6e,0x74,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,
0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,
0x20,0x28,0x21,0x5f,0x39,0x39,0x33,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,
0x66,0x20,0x28,0x63,0x61,0x73,0x63,0x61,0x64,0x65,0x20,0x3d,0x3d,0x20,0x30,0x29,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x74,
0x69,0x6e,0x74,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x31,0x2e,0x30,
0x2c,0x20,0x30,0x2e,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x35,0x39,0x36,0x30,
0x34,0x36,0x34,0x34,0x37,0x37,0x35,0x33,0x39,0x30,0x36,0x32,0x35,0x2c,0x20,0x30,
0x2e,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x35,0x39,0x36,0x30,0x34,0x36,0x34,
0x34,0x37,0x37,0x35,0x33,0x39,0x30,0x36,0x32,0x35,0x29,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x65,0x6c,0x73,0x65,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x63,0x61,
0x73,0x63,0x61,0x64,0x65,0x20,0x3d,0x3d,0x20,0x31,0x29,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x74,0x69,0x6e,0x74,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,
0x30,0x2e,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x35,0x39,0x36,0x30,0x34,0x36,
0x34,0x34,0x37,0x37,0x35,0x33,0x39,0x30,0x36,0x32,0x35,0x2c,0x20,0x31,0x2e,0x30,
0x2c,0x20,0x30,0x2e,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x35,0x39,0x36,0x30,
0x34,0x36,0x34,0x34,0x37,0x37,0x35,0x33,0x39,0x30,0x36,0x32,0x35,0x29,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x65,0x6c,0x73,0x65,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x74,0x69,0x6e,
0x74,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x30,0x2e,0x34,0x30,0x30,
0x30,0x30,0x30,0x30,0x30,0x35,0x39,0x36,0x30,0x34,0x36,0x34,0x34,0x37,0x37,0x35,
0x33,0x39,0x30,0x36,0x32,0x35,0x2c,0x20,0x30,0x2e,0x34,0x30,0x30,0x30,0x30,0x30,
0x30,0x30,0x35,0x39,0x36,0x30,0x34,0x36,0x34,0x34,0x37,0x37,0x35,0x33,0x39,0x30,
0x36,0x32,0x35,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,
0x2e,0x6f,0x75,0x74,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x34,0x28,0x74,0x69,0x6e,0x74,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6f,
0x75,0x74,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,
0x20,0x28,0x5f,0x37,0x30,0x36,0x2e,0x66,0x6c,0x61,0x67,0x73,0x2e,0x78,0x20,0x3d,
0x3d,0x20,0x33,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x6f,0x75,0x74,0x5f,0x63,0x6f,0x6c,0x6f,0x72,
0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x28,0x5f,0x39,0x30,0x37,0x20,
0x2a,0x20,0x30,0x2e,0x35,0x29,0x20,0x2b,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,
0x30,0x2e,0x35,0x29,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6f,0x75,0x74,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,
0x20,0x5f,0x31,0x30,0x35,0x33,0x20,0x3d,0x20,0x74,0x65,0x78,0x5f,0x61,0x6f,0x2e,
0x73,0x61,0x6d,0x70,0x6c,0x65,0x28,0x73,0x6d,0x70,0x5f,0x61,0x6f,0x2c,0x20,0x28,
0x67,0x6c,0x5f,0x46,0x72,0x61,0x67,0x43,0x6f,0x6f,0x72,0x64,0x2e,0x78,0x79,0x20,
0x2f,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x28,0x69,0x6e,0x74,0x32,0x28,0x74,0x65,
0x78,0x5f,0x61,0x6f,0x2e,0x67,0x65,0x74,0x5f,0x77,0x69,0x64,0x74,0x68,0x28,0x29,
0x2c,0x20,0x74,0x65,0x78,0x5f,0x61,0x6f,0x2e,0x67,0x65,0x74,0x5f,0x68,0x65,0x69,
0x67,0x68,0x74,0x28,0x29,0x29,0x29,0x29,0x2c,0x20,0x6c,0x65,0x76,0x65,0x6c,0x28,
0x30,0x2e,0x30,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x20,0x5f,0x31,0x30,0x35,0x34,0x20,0x3d,0x20,0x5f,0x31,0x30,0x35,0x33,0x2e,0x78,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x5f,0x37,0x30,0x36,0x2e,0x66,
0x6c,0x61,0x67,0x73,0x2e,0x78,0x20,0x3d,0x3d,0x20,0x34,0x29,0x0a,0x20,0x20,0x20,
0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x6f,
0x75,0x74,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x34,0x28,0x5f,0x31,0x30,0x35,0x34,0x2c,0x20,0x5f,0x31,0x30,0x35,0x34,0x2c,0x20,
0x5f,0x31,0x30,0x35,0x34,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6f,0x75,0x74,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x33,0x20,0x5f,0x31,0x30,0x37,0x32,0x20,0x3d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,
0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,0x5f,0x37,0x30,0x36,0x2e,0x73,
0x75,0x6e,0x5f,0x64,0x69,0x72,0x5f,0x76,0x69,0x65,0x77,0x2e,0x78,0x79,0x7a,0x29,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,
0x61,0x6d,0x20,0x3d,0x20,0x69,0x6e,0x2e,0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,
0x70,0x6f,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,
0x61,0x72,0x61,0x6d,0x5f,0x31,0x20,0x3d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x6d,
0x61,0x78,0x28,0x64,0x6f,0x74,0x28,0x5f,0x39,0x30,0x37,0x2c,0x20,0x5f,0x31,0x30,
0x37,0x32,0x29,0x2c,0x20,0x30,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,
0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x20,0x3d,0x20,0x5f,
0x39,0x31,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x33,0x20,0x3d,0x20,0x5f,0x39,0x30,0x37,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,
0x5f,0x34,0x20,0x3d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x6e,0x6f,0x72,0x6d,0x61,
0x6c,0x69,0x7a,0x65,0x28,0x2d,0x69,0x6e,0x2e,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,
0x70,0x6f,0x73,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,
0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x20,0x3d,0x20,0x5f,0x31,0x30,0x37,0x32,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,
0x61,0x6d,0x5f,0x36,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x73,0x75,0x6e,0x5f,
0x63,0x6f,0x6c,0x6f,0x72,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x73,0x61,0x6d,0x70,
0x6c,0x65,0x53,0x68,0x61,0x64,0x6f,0x77,0x43,0x61,0x73,0x63,0x61,0x64,0x65,0x64,
0x28,0x70,0x61,0x72,0x61,0x6d,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x2c,
0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x2c,0x20,0x74,0x65,0x78,0x5f,0x73,0x68,
0x61,0x64,0x6f,0x77,0x2c,0x20,0x73,0x6d,0x70,0x5f,0x73,0x68,0x61,0x64,0x6f,0x77,
0x2c,0x20,0x5f,0x37,0x30,0x36,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,
0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x37,0x20,0x3d,0x20,0x69,0x6e,
0x2e,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2e,0x78,0x79,
0x7a,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,
0x61,0x6d,0x5f,0x38,0x20,0x3d,0x20,0x69,0x6e,0x2e,0x76,0x5f,0x6d,0x61,0x74,0x65,
0x72,0x69,0x61,0x6c,0x2e,0x78,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,
0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x39,0x20,0x3d,0x20,0x69,0x6e,0x2e,0x76,
0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x2e,0x79,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x62,0x6f,0x6f,0x6c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x30,0x20,0x3d,
0x20,0x5f,0x37,0x30,0x36,0x2e,0x69,0x62,0x6c,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,
0x2e,0x79,0x20,0x3e,0x20,0x30,0x2e,0x35,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x31,0x20,0x3d,0x20,
0x66,0x61,0x73,0x74,0x3a,0x3a,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,
0x74,0x72,0x61,0x6e,0x73,0x70,0x6f,0x73,0x65,0x28,0x66,0x6c,0x6f,0x61,0x74,0x33,
0x78,0x33,0x28,0x5f,0x37,0x30,0x36,0x2e,0x76,0x69,0x65,0x77,0x5b,0x30,0x5d,0x2e,
0x78,0x79,0x7a,0x2c,0x20,0x5f,0x37,0x30,0x36,0x2e,0x76,0x69,0x65,0x77,0x5b,0x31,
0x5d,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x37,0x30,0x36,0x2e,0x76,0x69,0x65,0x77,
0x5b,0x32,0x5d,0x2e,0x78,0x79,0x7a,0x29,0x29,0x20,0x2a,0x20,0x5f,0x39,0x30,0x37,
0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x31,0x32,0x20,0x3d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x6e,
0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,0x5f,0x37,0x30,0x36,0x2e,0x63,0x61,
0x6d,0x65,0x72,0x61,0x5f,0x70,0x6f,0x73,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2e,0x78,
0x79,0x7a,0x20,0x2d,0x20,0x69,0x6e,0x2e,0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,
0x70,0x6f,0x73,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,
0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x33,0x20,0x3d,0x20,0x69,0x6e,0x2e,0x76,
0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2e,0x78,0x79,0x7a,0x3b,
0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,
0x5f,0x31,0x34,0x20,0x3d,0x20,0x69,0x6e,0x2e,0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,
0x69,0x61,0x6c,0x2e,0x78,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,
0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x35,0x20,0x3d,0x20,0x69,0x6e,0x2e,0x76,
0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x2e,0x79,0x3b,0x0a,0x20,0x20,0x20,
0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x36,0x20,
0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x73,0x75,0x6e,0x5f,0x63,0x6f,0x6c,0x6f,0x72,
0x2e,0x77,0x3b,0x0a,0x20,0x20,0x20,0x20,0x73,0x70,0x76,0x55,0x6e,0x73,0x61,0x66,
0x65,0x41,0x72,0x72,0x61,0x79,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x34,0x2c,0x20,0x39,
0x3e,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,0x30,0x5d,0x20,0x3d,0x20,0x5f,0x37,
0x30,0x36,0x2e,0x73,0x68,0x5b,0x30,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,0x31,0x5d,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,
0x2e,0x73,0x68,0x5b,0x31,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,
0x6d,0x5f,0x31,0x37,0x5b,0x32,0x5d,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x73,
0x68,0x5b,0x32,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,
0x31,0x37,0x5b,0x33,0x5d,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x73,0x68,0x5b,
0x33,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,
0x5b,0x34,0x5d,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x73,0x68,0x5b,0x34,0x5d,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,0x35,
0x5d,0x20,0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x73,0x68,0x5b,0x35,0x5d,0x3b,0x0a,
0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,0x36,0x5d,0x20,
0x3d,0x20,0x5f,0x37,0x30,0x36,0x2e,0x73,0x68,0x5b,0x36,0x5d,0x3b,0x0a,0x20,0x20,
0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,0x37,0x5d,0x20,0x3d,0x20,
0x5f,0x37,0x30,0x36,0x2e,0x73,0x68,0x5b,0x37,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x5b,0x38,0x5d,0x20,0x3d,0x20,0x5f,0x37,
0x30,0x36,0x2e,0x73,0x68,0x5b,0x38,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,
0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x38,0x20,0x3d,0x20,0x5f,
0x37,0x30,0x36,0x2e,0x69,0x62,0x6c,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x2e,0x78,
0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x6f,0x75,0x74,0x5f,0x63,0x6f,
0x6c,0x6f,0x72,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x28,0x62,0x72,
0x64,0x66,0x5f,0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x65,0x28,0x70,0x61,0x72,0x61,
0x6d,0x5f,0x33,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x34,0x2c,0x20,0x70,0x61,
0x72,0x61,0x6d,0x5f,0x35,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x36,0x2c,0x20,
0x70,0x61,0x72,0x61,0x6d,0x5f,0x37,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x38,
0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x39,0x29,0x20,0x2b,0x20,0x28,0x70,0x62,
0x72,0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x65,0x41,0x6d,0x62,0x69,0x65,0x6e,0x74,
0x28,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x30,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,
0x5f,0x31,0x31,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x32,0x2c,0x20,0x70,
0x61,0x72,0x61,0x6d,0x5f,0x31,0x33,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,
0x34,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x35,0x2c,0x20,0x70,0x61,0x72,
0x61,0x6d,0x5f,0x31,0x36,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x2c,
0x20,0x74,0x65,0x78,0x5f,0x69,0x62,0x6c,0x5f,0x73,0x70,0x65,0x63,0x2c,0x20,0x73,
0x6d,0x70,0x5f,0x69,0x62,0x6c,0x5f,0x73,0x70,0x65,0x63,0x2c,0x20,0x74,0x65,0x78,
0x5f,0x62,0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x2c,0x20,0x73,0x6d,0x70,0x5f,0x62,
0x72,0x64,0x66,0x5f,0x6c,0x75,0x74,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,
0x38,0x29,0x20,0x2a,0x20,0x5f,0x31,0x30,0x35,0x34,0x29,0x29,0x20,0x2a,0x20,0x69,
0x6e,0x2e,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2e,0x77,
0x2c,0x20,0x69,0x6e,0x2e,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,
0x72,0x2e,0x77,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,
0x20,0x6f,0x75,0x74,0x3b,0x0a,0x7d,0x0a,0x0a,0x00,
};
static inline const sg_shader_desc* cube_shader_desc(sg_backend backend) {
if (backend == SG_BACKEND_GLCORE) {
static sg_shader_desc desc;
static bool valid;
if (!valid) {
valid = true;
desc.vertex_func.source = (const char*)vs_source_glsl430;
desc.vertex_func.entry = "main";
desc.fragment_func.source = (const char*)fs_source_glsl430;
desc.fragment_func.entry = "main";
desc.attrs[0].base_type = SG_SHADERATTRBASETYPE_FLOAT;
desc.attrs[0].glsl_name = "in_pos";
desc.uniform_blocks[0].stage = SG_SHADERSTAGE_VERTEX;
desc.uniform_blocks[0].layout = SG_UNIFORMLAYOUT_STD140;
desc.uniform_blocks[0].size = 288;
desc.uniform_blocks[0].glsl_uniforms[0].type = SG_UNIFORMTYPE_FLOAT4;
desc.uniform_blocks[0].glsl_uniforms[0].array_count = 18;
desc.uniform_blocks[0].glsl_uniforms[0].glsl_name = "ub_frame";
desc.uniform_blocks[1].stage = SG_SHADERSTAGE_FRAGMENT;
desc.uniform_blocks[1].layout = SG_UNIFORMLAYOUT_STD140;
desc.uniform_blocks[1].size = 496;
desc.uniform_blocks[1].glsl_uniforms[0].type = SG_UNIFORMTYPE_FLOAT4;
desc.uniform_blocks[1].glsl_uniforms[0].array_count = 0;
desc.uniform_blocks[1].glsl_uniforms[0].glsl_name = "_706.sun_dir_view";
desc.uniform_blocks[1].glsl_uniforms[1].type = SG_UNIFORMTYPE_FLOAT4;
desc.uniform_blocks[1].glsl_uniforms[1].array_count = 0;
desc.uniform_blocks[1].glsl_uniforms[1].glsl_name = "_706.sun_color";
desc.uniform_blocks[1].glsl_uniforms[2].type = SG_UNIFORMTYPE_INT4;
desc.uniform_blocks[1].glsl_uniforms[2].array_count = 0;
desc.uniform_blocks[1].glsl_uniforms[2].glsl_name = "_706.flags";
desc.uniform_blocks[1].glsl_uniforms[3].type = SG_UNIFORMTYPE_FLOAT4;
desc.uniform_blocks[1].glsl_uniforms[3].array_count = 0;
desc.uniform_blocks[1].glsl_uniforms[3].glsl_name = "_706.cascade_far_view_z";
desc.uniform_blocks[1].glsl_uniforms[4].type = SG_UNIFORMTYPE_MAT4;
desc.uniform_blocks[1].glsl_uniforms[4].array_count = 3;
desc.uniform_blocks[1].glsl_uniforms[4].glsl_name = "_706.cascade_matrices";
desc.uniform_blocks[1].glsl_uniforms[5].type = SG_UNIFORMTYPE_MAT4;
desc.uniform_blocks[1].glsl_uniforms[5].array_count = 0;
desc.uniform_blocks[1].glsl_uniforms[5].glsl_name = "_706.view";
desc.uniform_blocks[1].glsl_uniforms[6].type = SG_UNIFORMTYPE_FLOAT4;
desc.uniform_blocks[1].glsl_uniforms[6].array_count = 0;
desc.uniform_blocks[1].glsl_uniforms[6].glsl_name = "_706.camera_pos_world";
desc.uniform_blocks[1].glsl_uniforms[7].type = SG_UNIFORMTYPE_FLOAT4;
desc.uniform_blocks[1].glsl_uniforms[7].array_count = 9;
desc.uniform_blocks[1].glsl_uniforms[7].glsl_name = "_706.sh";
desc.uniform_blocks[1].glsl_uniforms[8].type = SG_UNIFORMTYPE_FLOAT4;
desc.uniform_blocks[1].glsl_uniforms[8].array_count = 0;
desc.uniform_blocks[1].glsl_uniforms[8].glsl_name = "_706.ibl_params";
desc.uniform_blocks[2].stage = SG_SHADERSTAGE_VERTEX;
desc.uniform_blocks[2].layout = SG_UNIFORMLAYOUT_STD140;
desc.uniform_blocks[2].size = 16;
desc.uniform_blocks[2].glsl_uniforms[0].type = SG_UNIFORMTYPE_INT4;
desc.uniform_blocks[2].glsl_uniforms[0].array_count = 1;
desc.uniform_blocks[2].glsl_uniforms[0].glsl_name = "ub_draw";
desc.views[0].storage_buffer.stage = SG_SHADERSTAGE_VERTEX;
desc.views[0].storage_buffer.readonly = true;
desc.views[0].storage_buffer.glsl_binding_n = 0;
desc.views[1].texture.stage = SG_SHADERSTAGE_FRAGMENT;
desc.views[1].texture.image_type = SG_IMAGETYPE_ARRAY;
desc.views[1].texture.sample_type = SG_IMAGESAMPLETYPE_DEPTH;
desc.views[1].texture.multisampled = false;
desc.views[2].texture.stage = SG_SHADERSTAGE_FRAGMENT;
desc.views[2].texture.image_type = SG_IMAGETYPE_CUBE;
desc.views[2].texture.sample_type = SG_IMAGESAMPLETYPE_FLOAT;
desc.views[2].texture.multisampled = false;
desc.views[3].texture.stage = SG_SHADERSTAGE_FRAGMENT;
desc.views[3].texture.image_type = SG_IMAGETYPE_2D;
desc.views[3].texture.sample_type = SG_IMAGESAMPLETYPE_FLOAT;
desc.views[3].texture.multisampled = false;
desc.views[4].texture.stage = SG_SHADERSTAGE_FRAGMENT;
desc.views[4].texture.image_type = SG_IMAGETYPE_2D;
desc.views[4].texture.sample_type = SG_IMAGESAMPLETYPE_FLOAT;
desc.views[4].texture.multisampled = false;
desc.samplers[0].stage = SG_SHADERSTAGE_FRAGMENT;
desc.samplers[0].sampler_type = SG_SAMPLERTYPE_COMPARISON;
desc.samplers[1].stage = SG_SHADERSTAGE_FRAGMENT;
desc.samplers[1].sampler_type = SG_SAMPLERTYPE_FILTERING;
desc.samplers[2].stage = SG_SHADERSTAGE_FRAGMENT;
desc.samplers[2].sampler_type = SG_SAMPLERTYPE_FILTERING;
desc.samplers[3].stage = SG_SHADERSTAGE_FRAGMENT;
desc.samplers[3].sampler_type = SG_SAMPLERTYPE_FILTERING;
desc.texture_sampler_pairs[0].stage = SG_SHADERSTAGE_FRAGMENT;
desc.texture_sampler_pairs[0].view_slot = 4;
desc.texture_sampler_pairs[0].sampler_slot = 3;
desc.texture_sampler_pairs[0].glsl_name = "tex_ao_smp_ao";
desc.texture_sampler_pairs[1].stage = SG_SHADERSTAGE_FRAGMENT;
desc.texture_sampler_pairs[1].view_slot = 1;
desc.texture_sampler_pairs[1].sampler_slot = 0;
desc.texture_sampler_pairs[1].glsl_name = "tex_shadow_smp_shadow";
desc.texture_sampler_pairs[2].stage = SG_SHADERSTAGE_FRAGMENT;
desc.texture_sampler_pairs[2].view_slot = 2;
desc.texture_sampler_pairs[2].sampler_slot = 1;
desc.texture_sampler_pairs[2].glsl_name = "tex_ibl_spec_smp_ibl_spec";
desc.texture_sampler_pairs[3].stage = SG_SHADERSTAGE_FRAGMENT;
desc.texture_sampler_pairs[3].view_slot = 3;
desc.texture_sampler_pairs[3].sampler_slot = 2;
desc.texture_sampler_pairs[3].glsl_name = "tex_brdf_lut_smp_brdf_lut";
desc.label = "cube_shader";
}
return &desc;
}
if (backend == SG_BACKEND_D3D11) {
static sg_shader_desc desc;
static bool valid;
if (!valid) {
valid = true;
desc.vertex_func.source = (const char*)vs_source_hlsl5;
desc.vertex_func.d3d11_target = "vs_5_0";
desc.vertex_func.entry = "main";
desc.fragment_func.source = (const char*)fs_source_hlsl5;
desc.fragment_func.d3d11_target = "ps_5_0";
desc.fragment_func.entry = "main";
desc.attrs[0].base_type = SG_SHADERATTRBASETYPE_FLOAT;
desc.attrs[0].hlsl_sem_name = "TEXCOORD";
desc.attrs[0].hlsl_sem_index = 0;
desc.uniform_blocks[0].stage = SG_SHADERSTAGE_VERTEX;
desc.uniform_blocks[0].layout = SG_UNIFORMLAYOUT_STD140;
desc.uniform_blocks[0].size = 288;
desc.uniform_blocks[0].hlsl_register_b_n = 0;
desc.uniform_blocks[1].stage = SG_SHADERSTAGE_FRAGMENT;
desc.uniform_blocks[1].layout = SG_UNIFORMLAYOUT_STD140;
desc.uniform_blocks[1].size = 496;
desc.uniform_blocks[1].hlsl_register_b_n = 1;
desc.uniform_blocks[2].stage = SG_SHADERSTAGE_VERTEX;
desc.uniform_blocks[2].layout = SG_UNIFORMLAYOUT_STD140;
desc.uniform_blocks[2].size = 16;
desc.uniform_blocks[2].hlsl_register_b_n = 2;
desc.views[0].storage_buffer.stage = SG_SHADERSTAGE_VERTEX;
desc.views[0].storage_buffer.readonly = true;
desc.views[0].storage_buffer.hlsl_register_t_n = 0;
desc.views[1].texture.stage = SG_SHADERSTAGE_FRAGMENT;
desc.views[1].texture.image_type = SG_IMAGETYPE_ARRAY;
desc.views[1].texture.sample_type = SG_IMAGESAMPLETYPE_DEPTH;
desc.views[1].texture.multisampled = false;
desc.views[1].texture.hlsl_register_t_n = 0;
desc.views[2].texture.stage = SG_SHADERSTAGE_FRAGMENT;
desc.views[2].texture.image_type = SG_IMAGETYPE_CUBE;
desc.views[2].texture.sample_type = SG_IMAGESAMPLETYPE_FLOAT;
desc.views[2].texture.multisampled = false;
desc.views[2].texture.hlsl_register_t_n = 1;
desc.views[3].texture.stage = SG_SHADERSTAGE_FRAGMENT;
desc.views[3].texture.image_type = SG_IMAGETYPE_2D;
desc.views[3].texture.sample_type = SG_IMAGESAMPLETYPE_FLOAT;
desc.views[3].texture.multisampled = false;
desc.views[3].texture.hlsl_register_t_n = 2;
desc.views[4].texture.stage = SG_SHADERSTAGE_FRAGMENT;
desc.views[4].texture.image_type = SG_IMAGETYPE_2D;
desc.views[4].texture.sample_type = SG_IMAGESAMPLETYPE_FLOAT;
desc.views[4].texture.multisampled = false;
desc.views[4].texture.hlsl_register_t_n = 3;
desc.samplers[0].stage = SG_SHADERSTAGE_FRAGMENT;
desc.samplers[0].sampler_type = SG_SAMPLERTYPE_COMPARISON;
desc.samplers[0].hlsl_register_s_n = 0;
desc.samplers[1].stage = SG_SHADERSTAGE_FRAGMENT;
desc.samplers[1].sampler_type = SG_SAMPLERTYPE_FILTERING;
desc.samplers[1].hlsl_register_s_n = 1;
desc.samplers[2].stage = SG_SHADERSTAGE_FRAGMENT;
desc.samplers[2].sampler_type = SG_SAMPLERTYPE_FILTERING;
desc.samplers[2].hlsl_register_s_n = 2;
desc.samplers[3].stage = SG_SHADERSTAGE_FRAGMENT;
desc.samplers[3].sampler_type = SG_SAMPLERTYPE_FILTERING;
desc.samplers[3].hlsl_register_s_n = 3;
desc.texture_sampler_pairs[0].stage = SG_SHADERSTAGE_FRAGMENT;
desc.texture_sampler_pairs[0].view_slot = 4;
desc.texture_sampler_pairs[0].sampler_slot = 3;
desc.texture_sampler_pairs[1].stage = SG_SHADERSTAGE_FRAGMENT;
desc.texture_sampler_pairs[1].view_slot = 1;
desc.texture_sampler_pairs[1].sampler_slot = 0;
desc.texture_sampler_pairs[2].stage = SG_SHADERSTAGE_FRAGMENT;
desc.texture_sampler_pairs[2].view_slot = 2;
desc.texture_sampler_pairs[2].sampler_slot = 1;
desc.texture_sampler_pairs[3].stage = SG_SHADERSTAGE_FRAGMENT;
desc.texture_sampler_pairs[3].view_slot = 3;
desc.texture_sampler_pairs[3].sampler_slot = 2;
desc.label = "cube_shader";
}
return &desc;
}
if (backend == SG_BACKEND_METAL_MACOS) {
static sg_shader_desc desc;
static bool valid;
if (!valid) {
valid = true;
desc.vertex_func.source = (const char*)vs_source_metal_macos;
desc.vertex_func.entry = "main0";
desc.fragment_func.source = (const char*)fs_source_metal_macos;
desc.fragment_func.entry = "main0";
desc.attrs[0].base_type = SG_SHADERATTRBASETYPE_FLOAT;
desc.uniform_blocks[0].stage = SG_SHADERSTAGE_VERTEX;
desc.uniform_blocks[0].layout = SG_UNIFORMLAYOUT_STD140;
desc.uniform_blocks[0].size = 288;
desc.uniform_blocks[0].msl_buffer_n = 0;
desc.uniform_blocks[1].stage = SG_SHADERSTAGE_FRAGMENT;
desc.uniform_blocks[1].layout = SG_UNIFORMLAYOUT_STD140;
desc.uniform_blocks[1].size = 496;
desc.uniform_blocks[1].msl_buffer_n = 1;
desc.uniform_blocks[2].stage = SG_SHADERSTAGE_VERTEX;
desc.uniform_blocks[2].layout = SG_UNIFORMLAYOUT_STD140;
desc.uniform_blocks[2].size = 16;
desc.uniform_blocks[2].msl_buffer_n = 2;
desc.views[0].storage_buffer.stage = SG_SHADERSTAGE_VERTEX;
desc.views[0].storage_buffer.readonly = true;
desc.views[0].storage_buffer.msl_buffer_n = 8;
desc.views[1].texture.stage = SG_SHADERSTAGE_FRAGMENT;
desc.views[1].texture.image_type = SG_IMAGETYPE_ARRAY;
desc.views[1].texture.sample_type = SG_IMAGESAMPLETYPE_DEPTH;
desc.views[1].texture.multisampled = false;
desc.views[1].texture.msl_texture_n = 0;
desc.views[2].texture.stage = SG_SHADERSTAGE_FRAGMENT;
desc.views[2].texture.image_type = SG_IMAGETYPE_CUBE;
desc.views[2].texture.sample_type = SG_IMAGESAMPLETYPE_FLOAT;
desc.views[2].texture.multisampled = false;
desc.views[2].texture.msl_texture_n = 1;
desc.views[3].texture.stage = SG_SHADERSTAGE_FRAGMENT;
desc.views[3].texture.image_type = SG_IMAGETYPE_2D;
desc.views[3].texture.sample_type = SG_IMAGESAMPLETYPE_FLOAT;
desc.views[3].texture.multisampled = false;
desc.views[3].texture.msl_texture_n = 2;
desc.views[4].texture.stage = SG_SHADERSTAGE_FRAGMENT;
desc.views[4].texture.image_type = SG_IMAGETYPE_2D;
desc.views[4].texture.sample_type = SG_IMAGESAMPLETYPE_FLOAT;
desc.views[4].texture.multisampled = false;
desc.views[4].texture.msl_texture_n = 3;
desc.samplers[0].stage = SG_SHADERSTAGE_FRAGMENT;
desc.samplers[0].sampler_type = SG_SAMPLERTYPE_COMPARISON;
desc.samplers[0].msl_sampler_n = 0;
desc.samplers[1].stage = SG_SHADERSTAGE_FRAGMENT;
desc.samplers[1].sampler_type = SG_SAMPLERTYPE_FILTERING;
desc.samplers[1].msl_sampler_n = 1;
desc.samplers[2].stage = SG_SHADERSTAGE_FRAGMENT;
desc.samplers[2].sampler_type = SG_SAMPLERTYPE_FILTERING;
desc.samplers[2].msl_sampler_n = 2;
desc.samplers[3].stage = SG_SHADERSTAGE_FRAGMENT;
desc.samplers[3].sampler_type = SG_SAMPLERTYPE_FILTERING;
desc.samplers[3].msl_sampler_n = 3;
desc.texture_sampler_pairs[0].stage = SG_SHADERSTAGE_FRAGMENT;
desc.texture_sampler_pairs[0].view_slot = 4;
desc.texture_sampler_pairs[0].sampler_slot = 3;
desc.texture_sampler_pairs[1].stage = SG_SHADERSTAGE_FRAGMENT;
desc.texture_sampler_pairs[1].view_slot = 1;
desc.texture_sampler_pairs[1].sampler_slot = 0;
desc.texture_sampler_pairs[2].stage = SG_SHADERSTAGE_FRAGMENT;
desc.texture_sampler_pairs[2].view_slot = 2;
desc.texture_sampler_pairs[2].sampler_slot = 1;
desc.texture_sampler_pairs[3].stage = SG_SHADERSTAGE_FRAGMENT;
desc.texture_sampler_pairs[3].view_slot = 3;
desc.texture_sampler_pairs[3].sampler_slot = 2;
desc.label = "cube_shader";
}
return &desc;
}
return 0;
}