#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/geom.glsl --output E:/box/box3d/samples/shaders/generated/geom.glsl.h --slang hlsl5:metal_macos:glsl430 Overview: ========= Shader program: 'triangle': Get shader desc: geom_triangle_shader_desc(sg_query_backend()); Vertex Shader: vs Fragment Shader: fs Attributes: ATTR_geom_triangle_in_pos => 0 ATTR_geom_triangle_in_normal => 1 Bindings: Uniform block 'ub_draw': C struct: geom_ub_draw_t Bind slot: UB_geom_ub_draw => 2 Uniform block 'ub_frame': C struct: geom_ub_frame_t Bind slot: UB_geom_ub_frame => 0 Uniform block 'ub_pass': C struct: geom_ub_pass_t Bind slot: UB_geom_ub_pass => 1 Storage buffer 'instances': C struct: geom_instance_t Bind slot: VIEW_geom_instances => 0 Readonly: true Texture 'tex_shadow': Image type: SG_IMAGETYPE_ARRAY Sample type: SG_IMAGESAMPLETYPE_DEPTH Multisampled: false Bind slot: VIEW_geom_tex_shadow => 1 Texture 'tex_ao': Image type: SG_IMAGETYPE_2D Sample type: SG_IMAGESAMPLETYPE_FLOAT Multisampled: false Bind slot: VIEW_geom_tex_ao => 4 Texture 'tex_ibl_spec': Image type: SG_IMAGETYPE_CUBE Sample type: SG_IMAGESAMPLETYPE_FLOAT Multisampled: false Bind slot: VIEW_geom_tex_ibl_spec => 2 Texture 'tex_brdf_lut': Image type: SG_IMAGETYPE_2D Sample type: SG_IMAGESAMPLETYPE_FLOAT Multisampled: false Bind slot: VIEW_geom_tex_brdf_lut => 3 Sampler 'smp_shadow': Type: SG_SAMPLERTYPE_COMPARISON Bind slot: SMP_geom_smp_shadow => 0 Sampler 'smp_ao': Type: SG_SAMPLERTYPE_FILTERING Bind slot: SMP_geom_smp_ao => 3 Sampler 'smp_ibl_spec': Type: SG_SAMPLERTYPE_FILTERING Bind slot: SMP_geom_smp_ibl_spec => 1 Sampler 'smp_brdf_lut': Type: SG_SAMPLERTYPE_FILTERING Bind slot: SMP_geom_smp_brdf_lut => 2 */ #if !defined(SOKOL_GFX_INCLUDED) #error "Please include sokol_gfx.h before geom.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_geom_triangle_in_pos (0) #define ATTR_geom_triangle_in_normal (1) #define UB_geom_ub_draw (2) #define UB_geom_ub_frame (0) #define UB_geom_ub_pass (1) #define VIEW_geom_instances (0) #define VIEW_geom_tex_shadow (1) #define VIEW_geom_tex_ao (4) #define VIEW_geom_tex_ibl_spec (2) #define VIEW_geom_tex_brdf_lut (3) #define SMP_geom_smp_shadow (0) #define SMP_geom_smp_ao (3) #define SMP_geom_smp_ibl_spec (1) #define SMP_geom_smp_brdf_lut (2) #pragma pack(push,1) SOKOL_SHDC_ALIGN(16) typedef struct geom_ub_draw_t { int inst_base[4]; } geom_ub_draw_t; #pragma pack(pop) #pragma pack(push,1) SOKOL_SHDC_ALIGN(16) typedef struct geom_ub_frame_t { Mat4 view_proj; } geom_ub_frame_t; #pragma pack(pop) #pragma pack(push,1) SOKOL_SHDC_ALIGN(16) typedef struct geom_ub_pass_t { Vec4 sun_dir_world; Vec4 sun_color; int flags[4]; Vec4 camera_pos; Vec4 grid_offset; Mat4 view; Vec4 cascade_far_view_z; Mat4 cascade_matrices[3]; Vec4 sh[9]; Vec4 ibl_params; } geom_ub_pass_t; #pragma pack(pop) #pragma pack(push,1) SOKOL_SHDC_ALIGN(16) typedef struct geom_instance_t { Vec4 xform_row0; Vec4 xform_row1; Vec4 xform_row2; Vec4 base_color; Vec4 scale; Vec4 material; } geom_instance_t; #pragma pack(pop) /* #version 430 struct instance { vec4 xform_row0; vec4 xform_row1; vec4 xform_row2; vec4 base_color; vec4 scale; vec4 material; }; layout(binding = 0, std430) readonly buffer instances { instance items[]; } _15; uniform ivec4 ub_draw[1]; uniform vec4 ub_frame[4]; layout(location = 0) in vec3 in_pos; layout(location = 1) in vec3 in_normal; layout(location = 1) out vec3 v_world_normal; layout(location = 2) flat out vec4 v_base_color; layout(location = 3) flat out vec4 v_material; layout(location = 0) out vec3 v_view_pos; void main() { int _30 = ub_draw[0].x + gl_InstanceID; vec4 _68 = vec4(in_pos * _15.items[_30].scale.xyz, 1.0); float _73 = dot(_15.items[_30].xform_row0, _68); float _77 = dot(_15.items[_30].xform_row1, _68); float _81 = dot(_15.items[_30].xform_row2, _68); vec3 _89 = in_normal / _15.items[_30].scale.xyz; v_world_normal = vec3(dot(_15.items[_30].xform_row0.xyz, _89), dot(_15.items[_30].xform_row1.xyz, _89), dot(_15.items[_30].xform_row2.xyz, _89)); v_base_color = _15.items[_30].base_color; v_material = _15.items[_30].material; gl_Position = mat4(ub_frame[0], ub_frame[1], ub_frame[2], ub_frame[3]) * vec4(_73, _77, _81, 1.0); v_view_pos = vec3(_73, _77, _81); } */ static const uint8_t geom_vs_source_glsl430[1269] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x34,0x33,0x30,0x0a,0x0a,0x73,0x74, 0x72,0x75,0x63,0x74,0x20,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,0x73,0x63,0x61, 0x6c,0x65,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,0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x73, 0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x20, 0x69,0x74,0x65,0x6d,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,0x34,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,0x31,0x29,0x20,0x69, 0x6e,0x20,0x76,0x65,0x63,0x33,0x20,0x69,0x6e,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c, 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,0x6e,0x6f,0x72,0x6d,0x61,0x6c,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, 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,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,0x36, 0x38,0x20,0x3d,0x20,0x76,0x65,0x63,0x34,0x28,0x69,0x6e,0x5f,0x70,0x6f,0x73,0x20, 0x2a,0x20,0x5f,0x31,0x35,0x2e,0x69,0x74,0x65,0x6d,0x73,0x5b,0x5f,0x33,0x30,0x5d, 0x2e,0x73,0x63,0x61,0x6c,0x65,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x31,0x2e,0x30,0x29, 0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x37,0x33,0x20, 0x3d,0x20,0x64,0x6f,0x74,0x28,0x5f,0x31,0x35,0x2e,0x69,0x74,0x65,0x6d,0x73,0x5b, 0x5f,0x33,0x30,0x5d,0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x30,0x2c, 0x20,0x5f,0x36,0x38,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74, 0x20,0x5f,0x37,0x37,0x20,0x3d,0x20,0x64,0x6f,0x74,0x28,0x5f,0x31,0x35,0x2e,0x69, 0x74,0x65,0x6d,0x73,0x5b,0x5f,0x33,0x30,0x5d,0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f, 0x72,0x6f,0x77,0x31,0x2c,0x20,0x5f,0x36,0x38,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x38,0x31,0x20,0x3d,0x20,0x64,0x6f,0x74,0x28, 0x5f,0x31,0x35,0x2e,0x69,0x74,0x65,0x6d,0x73,0x5b,0x5f,0x33,0x30,0x5d,0x2e,0x78, 0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x32,0x2c,0x20,0x5f,0x36,0x38,0x29,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x5f,0x38,0x39,0x20,0x3d,0x20, 0x69,0x6e,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x20,0x2f,0x20,0x5f,0x31,0x35,0x2e, 0x69,0x74,0x65,0x6d,0x73,0x5b,0x5f,0x33,0x30,0x5d,0x2e,0x73,0x63,0x61,0x6c,0x65, 0x2e,0x78,0x79,0x7a,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x5f,0x77,0x6f,0x72,0x6c, 0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x20,0x3d,0x20,0x76,0x65,0x63,0x33,0x28, 0x64,0x6f,0x74,0x28,0x5f,0x31,0x35,0x2e,0x69,0x74,0x65,0x6d,0x73,0x5b,0x5f,0x33, 0x30,0x5d,0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x30,0x2e,0x78,0x79, 0x7a,0x2c,0x20,0x5f,0x38,0x39,0x29,0x2c,0x20,0x64,0x6f,0x74,0x28,0x5f,0x31,0x35, 0x2e,0x69,0x74,0x65,0x6d,0x73,0x5b,0x5f,0x33,0x30,0x5d,0x2e,0x78,0x66,0x6f,0x72, 0x6d,0x5f,0x72,0x6f,0x77,0x31,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x38,0x39,0x29, 0x2c,0x20,0x64,0x6f,0x74,0x28,0x5f,0x31,0x35,0x2e,0x69,0x74,0x65,0x6d,0x73,0x5b, 0x5f,0x33,0x30,0x5d,0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x32,0x2e, 0x78,0x79,0x7a,0x2c,0x20,0x5f,0x38,0x39,0x29,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,0x74,0x65,0x6d,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, 0x74,0x65,0x6d,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,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,0x37,0x33,0x2c,0x20,0x5f,0x37,0x37,0x2c,0x20, 0x5f,0x38,0x31,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,0x76,0x65,0x63,0x33, 0x28,0x5f,0x37,0x33,0x2c,0x20,0x5f,0x37,0x37,0x2c,0x20,0x5f,0x38,0x31,0x29,0x3b, 0x0a,0x7d,0x0a,0x0a,0x00, }; /* #version 430 struct ub_pass { vec4 sun_dir_world; vec4 sun_color; ivec4 flags; vec4 camera_pos; vec4 grid_offset; mat4 view; vec4 cascade_far_view_z; mat4 cascade_matrices[3]; vec4 sh[9]; vec4 ibl_params; }; uniform ub_pass _834; 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 = 1) in vec3 v_world_normal; layout(location = 0) in vec3 v_view_pos; layout(location = 0) out vec4 out_color; layout(location = 2) flat in vec4 v_base_color; layout(location = 3) flat in vec4 v_material; vec3 proceduralGrid(vec2 line_xz, vec2 axis_xz, vec3 base_color, float cell_size) { vec2 _536 = line_xz / vec2(cell_size); vec2 _552 = abs(fract(_536 - vec2(0.5)) - vec2(0.5)) / max(fwidth(_536), vec2(9.9999999747524270787835121154785e-07)); vec2 _567 = line_xz / vec2(cell_size * 10.0); vec2 _581 = abs(fract(_567 - vec2(0.5)) - vec2(0.5)) / max(fwidth(_567), vec2(9.9999999747524270787835121154785e-07)); vec2 _612 = max(fwidth(axis_xz), vec2(9.9999999747524270787835121154785e-07)); return mix(mix(mix(mix(base_color, base_color * 0.699999988079071044921875, vec3(1.0 - clamp(min(_552.x, _552.y), 0.0, 1.0))), base_color * 0.3499999940395355224609375, vec3(1.0 - clamp(min(_581.x, _581.y), 0.0, 1.0))), vec3(1.0, 0.0, 0.0), vec3((1.0 - clamp(abs(axis_xz.y) / _612.y, 0.0, 1.0)) * step(0.0, axis_xz.x))), vec3(0.0, 0.0, 1.0), vec3((1.0 - clamp(abs(axis_xz.x) / _612.x, 0.0, 1.0)) * step(0.0, axis_xz.y))); } float sampleShadowPCF(int cascade, vec3 light_uv, float bias) { float _656 = float(cascade); float _661 = light_uv.z - bias; float _677 = light_uv.x - 0.00048828125; float _681 = light_uv.y - 0.00048828125; float _711 = light_uv.x + 0.00048828125; float _779 = light_uv.y + 0.00048828125; return ((((((((texture(tex_shadow_smp_shadow, vec4(vec4(_677, _681, _656, _661).xyz, _661)) + texture(tex_shadow_smp_shadow, vec4(vec4(light_uv.x, _681, _656, _661).xyz, _661))) + texture(tex_shadow_smp_shadow, vec4(vec4(_711, _681, _656, _661).xyz, _661))) + texture(tex_shadow_smp_shadow, vec4(vec4(_677, light_uv.y, _656, _661).xyz, _661))) + texture(tex_shadow_smp_shadow, vec4(vec4(light_uv.xy, _656, _661).xyz, _661))) + texture(tex_shadow_smp_shadow, vec4(vec4(_711, light_uv.y, _656, _661).xyz, _661))) + texture(tex_shadow_smp_shadow, vec4(vec4(_677, _779, _656, _661).xyz, _661))) + texture(tex_shadow_smp_shadow, vec4(vec4(light_uv.x, _779, _656, _661).xyz, _661))) + texture(tex_shadow_smp_shadow, vec4(vec4(_711, _779, _656, _661).xyz, _661))) * 0.111111111938953399658203125; } float sampleCascade(int cascade, vec3 world_pos, vec3 world_normal) { vec4 _844 = _834.cascade_matrices[cascade] * vec4(world_pos, 1.0); vec3 _851 = _844.xyz / vec3(_844.w); vec3 _869 = vec3((_851.x * 0.5) + 0.5, ((_851.y * _834.cascade_far_view_z.w) * 0.5) + 0.5, _851.z); bool _873 = any(lessThan(_869, vec3(0.0))); bool _880; if (!_873) { _880 = any(greaterThan(_869, vec3(1.0))); } else { _880 = _873; } if (_880) { return 1.0; } int param = cascade; vec3 param_1 = _869; float param_2 = mix(0.0040000001899898052215576171875, 0.0007999999797903001308441162109375, max(dot(world_normal, normalize(_834.sun_dir_world.xyz)), 0.0)); float pcf = sampleShadowPCF(param, param_1, param_2); if (cascade == 2) { vec2 _912 = _869.xy; vec2 _917 = min(_912, vec2(1.0) - _912); pcf = mix(1.0, pcf, clamp(min(_917.x, _917.y) * 10.0, 0.0, 1.0)); } return pcf; } float sampleShadowCascaded(vec3 world_pos, vec3 world_normal, float view_z) { int cascade = 2; if (view_z < _834.cascade_far_view_z.x) { cascade = 0; } else { if (view_z < _834.cascade_far_view_z.y) { cascade = 1; } } int param = cascade; vec3 param_1 = world_pos; vec3 param_2 = world_normal; float shadow = sampleCascade(param, param_1, param_2); if (cascade < 2) { float _961; if (cascade == 0) { _961 = _834.cascade_far_view_z.x; } else { _961 = _834.cascade_far_view_z.y; } float _973; if (cascade == 0) { _973 = 0.0; } else { _973 = _834.cascade_far_view_z.x; } float _984 = mix(_961, _973, 0.100000001490116119384765625); if (view_z > _984) { int param_3 = cascade + 1; vec3 param_4 = world_pos; vec3 param_5 = world_normal; shadow = mix(shadow, sampleCascade(param_3, param_4, param_5), (view_z - _984) / (_961 - _984)); } } return shadow; } float pbrDistributionGGX(float n_dot_h, float alpha) { float _116 = alpha * alpha; float _125 = ((n_dot_h * n_dot_h) * (_116 - 1.0)) + 1.0; return _116 / ((3.1415927410125732421875 * _125) * _125); } float pbrVisibilitySmithCorrelated(float n_dot_v, float n_dot_l, float alpha) { float _138 = alpha * alpha; float _145 = 1.0 - _138; return 0.5 / (((n_dot_l * sqrt(((n_dot_v * n_dot_v) * _145) + _138)) + (n_dot_v * sqrt(((n_dot_l * n_dot_l) * _145) + _138))) + 9.9999997473787516355514526367188e-06); } vec3 pbrFresnelSchlick(float v_dot_h, vec3 f0) { float _174 = 1.0 - v_dot_h; float _178 = _174 * _174; return f0 + ((vec3(1.0) - f0) * ((_178 * _178) * _174)); } vec3 brdf_evaluate(vec3 N, vec3 V, vec3 L, vec3 sun_radiance, vec3 base_color, float metallic, float roughness) { float _197 = max(dot(N, L), 0.0); vec3 _208 = normalize(V + L); float _222 = max(roughness, 0.04500000178813934326171875); float _226 = _222 * _222; float param = max(dot(N, _208), 0.0); float param_1 = _226; float param_2 = max(dot(N, V), 9.9999997473787516355514526367188e-05); float param_3 = _197; float param_4 = _226; float param_5 = max(dot(V, _208), 0.0); vec3 param_6 = mix(vec3(0.039999999105930328369140625), base_color, vec3(metallic)); vec3 _253 = pbrFresnelSchlick(param_5, param_6); return ((((((vec3(1.0) - _253) * (1.0 - metallic)) * base_color) * vec3(0.3183098733425140380859375)) + (_253 * (pbrDistributionGGX(param, param_1) * pbrVisibilitySmithCorrelated(param_2, param_3, param_4)))) * sun_radiance) * _197; } vec3 pbrEvaluateShIrradiance(vec3 N, vec4 sh[9]) { vec3 _408 = ((((((((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 _408; } 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 _415 = clamp(dot(N_world, V_world), 9.9999997473787516355514526367188e-05, 1.0); vec3 _425 = mix(vec3(0.039999999105930328369140625), base_color, vec3(metallic)); vec3 param = N_world; vec4 param_1[9] = sh; vec4 _489 = texture(SPIRV_Cross_Combinedtex_brdf_lutsmp_brdf_lut, vec2(_415, roughness)); return (((((vec3(1.0) - (_425 + ((max(vec3(1.0 - roughness), _425) - _425) * pow(max(0.0, 1.0 - _415), 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 * ((_425 * _489.x) + vec3(_489.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 _1016 = normalize(v_world_normal); vec3 n_world = _1016; vec3 _1023 = _834.camera_pos.xyz - v_view_pos; if (dot(_1016, _1023) < 0.0) { n_world = -n_world; } if (_834.flags.x == 1) { float _1054 = clamp((_834.view * vec4(v_view_pos, 1.0)).z * (-0.0199999995529651641845703125), 0.0, 1.0); out_color = vec4(_1054, _1054, _1054, 1.0); return; } if (_834.flags.x == 2) { vec4 _1072 = vec4(v_view_pos, 1.0); float _1075 = -(_834.view * _1072).z; int cascade = 2; if (_1075 < _834.cascade_far_view_z.x) { cascade = 0; } else { if (_1075 < _834.cascade_far_view_z.y) { cascade = 1; } } vec4 _1099 = _834.cascade_matrices[cascade] * _1072; vec3 _1106 = _1099.xyz / vec3(_1099.w); vec3 _1123 = vec3((_1106.x * 0.5) + 0.5, ((_1106.y * _834.cascade_far_view_z.w) * 0.5) + 0.5, _1106.z); bool _1127 = any(lessThan(_1123, vec3(0.0))); bool _1134; if (!_1127) { _1134 = any(greaterThan(_1123, vec3(1.0))); } else { _1134 = _1127; } vec3 tint = vec3(1.0); if (!_1134) { 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 (_834.flags.x == 3) { out_color = vec4((normalize((_834.view * vec4(n_world, 0.0)).xyz) * 0.5) + vec3(0.5), 1.0); return; } vec4 _1205 = textureLod(tex_ao_smp_ao, gl_FragCoord.xy / vec2(textureSize(tex_ao_smp_ao, 0)), 0.0); float _1206 = _1205.x; if (_834.flags.x == 4) { out_color = vec4(_1206, _1206, _1206, 1.0); return; } vec3 baseColor = v_base_color.xyz; if (v_material.z > 0.5) { vec2 param = v_view_pos.xz + _834.grid_offset.xy; vec2 param_1 = v_view_pos.xz + _834.grid_offset.zw; vec3 param_2 = v_base_color.xyz; float param_3 = v_material.w; baseColor = mix(v_base_color.xyz, proceduralGrid(param, param_1, param_2, param_3), vec3(pow(clamp(n_world.y, 0.0, 1.0), 8.0))); } vec3 param_4 = v_view_pos; vec3 param_5 = n_world; float param_6 = -(_834.view * vec4(v_view_pos, 1.0)).z; vec3 _1305 = normalize(_1023); vec3 param_7 = n_world; vec3 param_8 = _1305; vec3 param_9 = normalize(_834.sun_dir_world.xyz); vec3 param_10 = _834.sun_color.xyz * sampleShadowCascaded(param_4, param_5, param_6); vec3 param_11 = baseColor; float param_12 = v_material.x; float param_13 = v_material.y; bool param_14 = _834.ibl_params.y > 0.5; vec3 param_15 = n_world; vec3 param_16 = _1305; vec3 param_17 = baseColor; float param_18 = v_material.x; float param_19 = v_material.y; float param_20 = _834.sun_color.w; vec4 param_21[9]; param_21[0] = _834.sh[0]; param_21[1] = _834.sh[1]; param_21[2] = _834.sh[2]; param_21[3] = _834.sh[3]; param_21[4] = _834.sh[4]; param_21[5] = _834.sh[5]; param_21[6] = _834.sh[6]; param_21[7] = _834.sh[7]; param_21[8] = _834.sh[8]; float param_22 = _834.ibl_params.x; out_color = vec4((brdf_evaluate(param_7, param_8, param_9, param_10, param_11, param_12, param_13) + (pbrEvaluateAmbient(param_14, param_15, param_16, param_17, param_18, param_19, param_20, param_21, param_22, tex_ibl_spec_smp_ibl_spec, tex_brdf_lut_smp_brdf_lut) * _1206)) * v_base_color.w, v_base_color.w); } */ static const uint8_t geom_fs_source_glsl430[13040] = { 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, 0x77,0x6f,0x72,0x6c,0x64,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,0x6d,0x65,0x72,0x61,0x5f,0x70,0x6f,0x73,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x34,0x20,0x67,0x72,0x69,0x64,0x5f,0x6f, 0x66,0x66,0x73,0x65,0x74,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,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,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,0x38,0x33,0x34,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,0x31,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x33,0x20, 0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,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,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,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,0x76,0x65,0x63,0x33,0x20,0x70,0x72,0x6f,0x63,0x65,0x64,0x75,0x72,0x61,0x6c, 0x47,0x72,0x69,0x64,0x28,0x76,0x65,0x63,0x32,0x20,0x6c,0x69,0x6e,0x65,0x5f,0x78, 0x7a,0x2c,0x20,0x76,0x65,0x63,0x32,0x20,0x61,0x78,0x69,0x73,0x5f,0x78,0x7a,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,0x63,0x65,0x6c,0x6c,0x5f,0x73,0x69,0x7a, 0x65,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x32,0x20,0x5f,0x35, 0x33,0x36,0x20,0x3d,0x20,0x6c,0x69,0x6e,0x65,0x5f,0x78,0x7a,0x20,0x2f,0x20,0x76, 0x65,0x63,0x32,0x28,0x63,0x65,0x6c,0x6c,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x32,0x20,0x5f,0x35,0x35,0x32,0x20,0x3d,0x20, 0x61,0x62,0x73,0x28,0x66,0x72,0x61,0x63,0x74,0x28,0x5f,0x35,0x33,0x36,0x20,0x2d, 0x20,0x76,0x65,0x63,0x32,0x28,0x30,0x2e,0x35,0x29,0x29,0x20,0x2d,0x20,0x76,0x65, 0x63,0x32,0x28,0x30,0x2e,0x35,0x29,0x29,0x20,0x2f,0x20,0x6d,0x61,0x78,0x28,0x66, 0x77,0x69,0x64,0x74,0x68,0x28,0x5f,0x35,0x33,0x36,0x29,0x2c,0x20,0x76,0x65,0x63, 0x32,0x28,0x39,0x2e,0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x37,0x34,0x37,0x35,0x32, 0x34,0x32,0x37,0x30,0x37,0x38,0x37,0x38,0x33,0x35,0x31,0x32,0x31,0x31,0x35,0x34, 0x37,0x38,0x35,0x65,0x2d,0x30,0x37,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76, 0x65,0x63,0x32,0x20,0x5f,0x35,0x36,0x37,0x20,0x3d,0x20,0x6c,0x69,0x6e,0x65,0x5f, 0x78,0x7a,0x20,0x2f,0x20,0x76,0x65,0x63,0x32,0x28,0x63,0x65,0x6c,0x6c,0x5f,0x73, 0x69,0x7a,0x65,0x20,0x2a,0x20,0x31,0x30,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20, 0x20,0x76,0x65,0x63,0x32,0x20,0x5f,0x35,0x38,0x31,0x20,0x3d,0x20,0x61,0x62,0x73, 0x28,0x66,0x72,0x61,0x63,0x74,0x28,0x5f,0x35,0x36,0x37,0x20,0x2d,0x20,0x76,0x65, 0x63,0x32,0x28,0x30,0x2e,0x35,0x29,0x29,0x20,0x2d,0x20,0x76,0x65,0x63,0x32,0x28, 0x30,0x2e,0x35,0x29,0x29,0x20,0x2f,0x20,0x6d,0x61,0x78,0x28,0x66,0x77,0x69,0x64, 0x74,0x68,0x28,0x5f,0x35,0x36,0x37,0x29,0x2c,0x20,0x76,0x65,0x63,0x32,0x28,0x39, 0x2e,0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x37,0x34,0x37,0x35,0x32,0x34,0x32,0x37, 0x30,0x37,0x38,0x37,0x38,0x33,0x35,0x31,0x32,0x31,0x31,0x35,0x34,0x37,0x38,0x35, 0x65,0x2d,0x30,0x37,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x32, 0x20,0x5f,0x36,0x31,0x32,0x20,0x3d,0x20,0x6d,0x61,0x78,0x28,0x66,0x77,0x69,0x64, 0x74,0x68,0x28,0x61,0x78,0x69,0x73,0x5f,0x78,0x7a,0x29,0x2c,0x20,0x76,0x65,0x63, 0x32,0x28,0x39,0x2e,0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x37,0x34,0x37,0x35,0x32, 0x34,0x32,0x37,0x30,0x37,0x38,0x37,0x38,0x33,0x35,0x31,0x32,0x31,0x31,0x35,0x34, 0x37,0x38,0x35,0x65,0x2d,0x30,0x37,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72, 0x65,0x74,0x75,0x72,0x6e,0x20,0x6d,0x69,0x78,0x28,0x6d,0x69,0x78,0x28,0x6d,0x69, 0x78,0x28,0x6d,0x69,0x78,0x28,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72, 0x2c,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x2a,0x20,0x30, 0x2e,0x36,0x39,0x39,0x39,0x39,0x39,0x39,0x38,0x38,0x30,0x37,0x39,0x30,0x37,0x31, 0x30,0x34,0x34,0x39,0x32,0x31,0x38,0x37,0x35,0x2c,0x20,0x76,0x65,0x63,0x33,0x28, 0x31,0x2e,0x30,0x20,0x2d,0x20,0x63,0x6c,0x61,0x6d,0x70,0x28,0x6d,0x69,0x6e,0x28, 0x5f,0x35,0x35,0x32,0x2e,0x78,0x2c,0x20,0x5f,0x35,0x35,0x32,0x2e,0x79,0x29,0x2c, 0x20,0x30,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x29,0x29,0x2c,0x20,0x62,0x61, 0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x2a,0x20,0x30,0x2e,0x33,0x34,0x39, 0x39,0x39,0x39,0x39,0x39,0x34,0x30,0x33,0x39,0x35,0x33,0x35,0x35,0x32,0x32,0x34, 0x36,0x30,0x39,0x33,0x37,0x35,0x2c,0x20,0x76,0x65,0x63,0x33,0x28,0x31,0x2e,0x30, 0x20,0x2d,0x20,0x63,0x6c,0x61,0x6d,0x70,0x28,0x6d,0x69,0x6e,0x28,0x5f,0x35,0x38, 0x31,0x2e,0x78,0x2c,0x20,0x5f,0x35,0x38,0x31,0x2e,0x79,0x29,0x2c,0x20,0x30,0x2e, 0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x29,0x29,0x2c,0x20,0x76,0x65,0x63,0x33,0x28, 0x31,0x2e,0x30,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20,0x30,0x2e,0x30,0x29,0x2c,0x20, 0x76,0x65,0x63,0x33,0x28,0x28,0x31,0x2e,0x30,0x20,0x2d,0x20,0x63,0x6c,0x61,0x6d, 0x70,0x28,0x61,0x62,0x73,0x28,0x61,0x78,0x69,0x73,0x5f,0x78,0x7a,0x2e,0x79,0x29, 0x20,0x2f,0x20,0x5f,0x36,0x31,0x32,0x2e,0x79,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20, 0x31,0x2e,0x30,0x29,0x29,0x20,0x2a,0x20,0x73,0x74,0x65,0x70,0x28,0x30,0x2e,0x30, 0x2c,0x20,0x61,0x78,0x69,0x73,0x5f,0x78,0x7a,0x2e,0x78,0x29,0x29,0x29,0x2c,0x20, 0x76,0x65,0x63,0x33,0x28,0x30,0x2e,0x30,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20,0x31, 0x2e,0x30,0x29,0x2c,0x20,0x76,0x65,0x63,0x33,0x28,0x28,0x31,0x2e,0x30,0x20,0x2d, 0x20,0x63,0x6c,0x61,0x6d,0x70,0x28,0x61,0x62,0x73,0x28,0x61,0x78,0x69,0x73,0x5f, 0x78,0x7a,0x2e,0x78,0x29,0x20,0x2f,0x20,0x5f,0x36,0x31,0x32,0x2e,0x78,0x2c,0x20, 0x30,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x29,0x20,0x2a,0x20,0x73,0x74,0x65, 0x70,0x28,0x30,0x2e,0x30,0x2c,0x20,0x61,0x78,0x69,0x73,0x5f,0x78,0x7a,0x2e,0x79, 0x29,0x29,0x29,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,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,0x36,0x35,0x36,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,0x36,0x36,0x31,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,0x36,0x37,0x37,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,0x36,0x38,0x31,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,0x37,0x31,0x31,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,0x37, 0x37,0x39,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,0x36,0x37, 0x37,0x2c,0x20,0x5f,0x36,0x38,0x31,0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c,0x20,0x5f, 0x36,0x36,0x31,0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x38,0x31,0x2c,0x20,0x5f,0x36, 0x35,0x36,0x2c,0x20,0x5f,0x36,0x36,0x31,0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f, 0x36,0x36,0x31,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,0x37,0x31,0x31,0x2c,0x20,0x5f,0x36,0x38,0x31,0x2c,0x20,0x5f,0x36, 0x35,0x36,0x2c,0x20,0x5f,0x36,0x36,0x31,0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f, 0x36,0x36,0x31,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,0x36,0x37,0x37,0x2c,0x20,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76, 0x2e,0x79,0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c,0x20,0x5f,0x36,0x36,0x31,0x29,0x2e, 0x78,0x79,0x7a,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x36,0x35,0x36,0x2c,0x20,0x5f,0x36,0x36,0x31,0x29, 0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x37,0x31,0x31,0x2c,0x20,0x6c, 0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x79,0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c, 0x20,0x5f,0x36,0x36,0x31,0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x36,0x36,0x31, 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, 0x36,0x37,0x37,0x2c,0x20,0x5f,0x37,0x37,0x39,0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c, 0x20,0x5f,0x36,0x36,0x31,0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x36,0x36,0x31, 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,0x37,0x37,0x39,0x2c, 0x20,0x5f,0x36,0x35,0x36,0x2c,0x20,0x5f,0x36,0x36,0x31,0x29,0x2e,0x78,0x79,0x7a, 0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x37,0x31,0x31,0x2c,0x20,0x5f,0x37,0x37,0x39,0x2c, 0x20,0x5f,0x36,0x35,0x36,0x2c,0x20,0x5f,0x36,0x36,0x31,0x29,0x2e,0x78,0x79,0x7a, 0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x76, 0x65,0x63,0x33,0x20,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c, 0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x34,0x20,0x5f,0x38,0x34, 0x34,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,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,0x38,0x35,0x31,0x20,0x3d,0x20,0x5f,0x38,0x34,0x34,0x2e, 0x78,0x79,0x7a,0x20,0x2f,0x20,0x76,0x65,0x63,0x33,0x28,0x5f,0x38,0x34,0x34,0x2e, 0x77,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x5f,0x38,0x36, 0x39,0x20,0x3d,0x20,0x76,0x65,0x63,0x33,0x28,0x28,0x5f,0x38,0x35,0x31,0x2e,0x78, 0x20,0x2a,0x20,0x30,0x2e,0x35,0x29,0x20,0x2b,0x20,0x30,0x2e,0x35,0x2c,0x20,0x28, 0x28,0x5f,0x38,0x35,0x31,0x2e,0x79,0x20,0x2a,0x20,0x5f,0x38,0x33,0x34,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,0x38,0x35,0x31,0x2e,0x7a,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x62,0x6f,0x6f,0x6c,0x20,0x5f,0x38,0x37,0x33,0x20,0x3d,0x20,0x61,0x6e,0x79,0x28, 0x6c,0x65,0x73,0x73,0x54,0x68,0x61,0x6e,0x28,0x5f,0x38,0x36,0x39,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,0x38,0x38,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69, 0x66,0x20,0x28,0x21,0x5f,0x38,0x37,0x33,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x38,0x38,0x30,0x20,0x3d,0x20,0x61, 0x6e,0x79,0x28,0x67,0x72,0x65,0x61,0x74,0x65,0x72,0x54,0x68,0x61,0x6e,0x28,0x5f, 0x38,0x36,0x39,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, 0x38,0x38,0x30,0x20,0x3d,0x20,0x5f,0x38,0x37,0x33,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x7d,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x5f,0x38,0x38,0x30,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,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,0x38,0x36,0x39, 0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61, 0x6d,0x5f,0x32,0x20,0x3d,0x20,0x6d,0x69,0x78,0x28,0x30,0x2e,0x30,0x30,0x34,0x30, 0x30,0x30,0x30,0x30,0x30,0x31,0x38,0x39,0x39,0x38,0x39,0x38,0x30,0x35,0x32,0x32, 0x31,0x35,0x35,0x37,0x36,0x31,0x37,0x31,0x38,0x37,0x35,0x2c,0x20,0x30,0x2e,0x30, 0x30,0x30,0x37,0x39,0x39,0x39,0x39,0x39,0x39,0x37,0x39,0x37,0x39,0x30,0x33,0x30, 0x30,0x31,0x33,0x30,0x38,0x34,0x34,0x31,0x31,0x36,0x32,0x31,0x30,0x39,0x33,0x37, 0x35,0x2c,0x20,0x6d,0x61,0x78,0x28,0x64,0x6f,0x74,0x28,0x77,0x6f,0x72,0x6c,0x64, 0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x2c,0x20,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69, 0x7a,0x65,0x28,0x5f,0x38,0x33,0x34,0x2e,0x73,0x75,0x6e,0x5f,0x64,0x69,0x72,0x5f, 0x77,0x6f,0x72,0x6c,0x64,0x2e,0x78,0x79,0x7a,0x29,0x29,0x2c,0x20,0x30,0x2e,0x30, 0x29,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,0x39,0x31,0x32,0x20,0x3d,0x20,0x5f,0x38, 0x36,0x39,0x2e,0x78,0x79,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x76, 0x65,0x63,0x32,0x20,0x5f,0x39,0x31,0x37,0x20,0x3d,0x20,0x6d,0x69,0x6e,0x28,0x5f, 0x39,0x31,0x32,0x2c,0x20,0x76,0x65,0x63,0x32,0x28,0x31,0x2e,0x30,0x29,0x20,0x2d, 0x20,0x5f,0x39,0x31,0x32,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,0x39, 0x31,0x37,0x2e,0x78,0x2c,0x20,0x5f,0x39,0x31,0x37,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,0x76,0x65,0x63,0x33,0x20,0x77,0x6f,0x72,0x6c,0x64, 0x5f,0x6e,0x6f,0x72,0x6d,0x61,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, 0x38,0x33,0x34,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, 0x38,0x33,0x34,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,0x76,0x65,0x63,0x33,0x20,0x70,0x61,0x72, 0x61,0x6d,0x5f,0x32,0x20,0x3d,0x20,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72, 0x6d,0x61,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,0x39,0x36,0x31,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, 0x39,0x36,0x31,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,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,0x39, 0x36,0x31,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,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,0x39,0x37,0x33,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,0x39, 0x37,0x33,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,0x39,0x37,0x33,0x20,0x3d,0x20,0x5f,0x38, 0x33,0x34,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,0x39,0x38,0x34,0x20,0x3d,0x20,0x6d,0x69,0x78,0x28,0x5f,0x39,0x36,0x31, 0x2c,0x20,0x5f,0x39,0x37,0x33,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,0x39,0x38, 0x34,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,0x76,0x65,0x63,0x33,0x20,0x70,0x61,0x72,0x61,0x6d, 0x5f,0x35,0x20,0x3d,0x20,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61, 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,0x39,0x38,0x34,0x29,0x20,0x2f,0x20, 0x28,0x5f,0x39,0x36,0x31,0x20,0x2d,0x20,0x5f,0x39,0x38,0x34,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,0x31,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,0x32,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,0x31,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,0x31,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,0x32,0x35,0x29,0x20,0x2a, 0x20,0x5f,0x31,0x32,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,0x33,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,0x34,0x35,0x20,0x3d,0x20,0x31,0x2e,0x30,0x20, 0x2d,0x20,0x5f,0x31,0x33,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,0x34,0x35,0x29,0x20,0x2b,0x20,0x5f,0x31,0x33,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,0x34,0x35,0x29,0x20, 0x2b,0x20,0x5f,0x31,0x33,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,0x37,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,0x37,0x38,0x20,0x3d,0x20,0x5f,0x31,0x37,0x34,0x20,0x2a,0x20, 0x5f,0x31,0x37,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,0x37,0x38, 0x20,0x2a,0x20,0x5f,0x31,0x37,0x38,0x29,0x20,0x2a,0x20,0x5f,0x31,0x37,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,0x39,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,0x32,0x30,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,0x32,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,0x32,0x36,0x20,0x3d,0x20, 0x5f,0x32,0x32,0x32,0x20,0x2a,0x20,0x5f,0x32,0x32,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,0x32,0x30,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,0x32,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,0x39,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,0x32,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, 0x32,0x30,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, 0x35,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,0x35,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,0x35,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,0x39,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,0x34,0x30,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,0x34,0x30,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, 0x31,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,0x32,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,0x39,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,0x31,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,0x32,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,0x32,0x35,0x29,0x20,0x2d,0x20, 0x5f,0x34,0x32,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,0x31,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,0x32,0x35,0x20,0x2a,0x20,0x5f,0x34,0x38,0x39,0x2e,0x78, 0x29,0x20,0x2b,0x20,0x76,0x65,0x63,0x33,0x28,0x5f,0x34,0x38,0x39,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,0x31,0x30,0x31,0x36,0x20,0x3d,0x20,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a, 0x65,0x28,0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c, 0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x6e,0x5f,0x77,0x6f, 0x72,0x6c,0x64,0x20,0x3d,0x20,0x5f,0x31,0x30,0x31,0x36,0x3b,0x0a,0x20,0x20,0x20, 0x20,0x76,0x65,0x63,0x33,0x20,0x5f,0x31,0x30,0x32,0x33,0x20,0x3d,0x20,0x5f,0x38, 0x33,0x34,0x2e,0x63,0x61,0x6d,0x65,0x72,0x61,0x5f,0x70,0x6f,0x73,0x2e,0x78,0x79, 0x7a,0x20,0x2d,0x20,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x64,0x6f,0x74,0x28,0x5f,0x31,0x30,0x31, 0x36,0x2c,0x20,0x5f,0x31,0x30,0x32,0x33,0x29,0x20,0x3c,0x20,0x30,0x2e,0x30,0x29, 0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x6e, 0x5f,0x77,0x6f,0x72,0x6c,0x64,0x20,0x3d,0x20,0x2d,0x6e,0x5f,0x77,0x6f,0x72,0x6c, 0x64,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20, 0x28,0x5f,0x38,0x33,0x34,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,0x31,0x30,0x35,0x34,0x20,0x3d,0x20, 0x63,0x6c,0x61,0x6d,0x70,0x28,0x28,0x5f,0x38,0x33,0x34,0x2e,0x76,0x69,0x65,0x77, 0x20,0x2a,0x20,0x76,0x65,0x63,0x34,0x28,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70, 0x6f,0x73,0x2c,0x20,0x31,0x2e,0x30,0x29,0x29,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,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,0x69,0x66,0x20,0x28,0x5f,0x38, 0x33,0x34,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,0x76, 0x65,0x63,0x34,0x20,0x5f,0x31,0x30,0x37,0x32,0x20,0x3d,0x20,0x76,0x65,0x63,0x34, 0x28,0x76,0x5f,0x76,0x69,0x65,0x77,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, 0x20,0x5f,0x31,0x30,0x37,0x35,0x20,0x3d,0x20,0x2d,0x28,0x5f,0x38,0x33,0x34,0x2e, 0x76,0x69,0x65,0x77,0x20,0x2a,0x20,0x5f,0x31,0x30,0x37,0x32,0x29,0x2e,0x7a,0x3b, 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,0x31,0x30,0x37,0x35,0x20,0x3c,0x20,0x5f,0x38, 0x33,0x34,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,0x31,0x30, 0x37,0x35,0x20,0x3c,0x20,0x5f,0x38,0x33,0x34,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,0x31,0x30,0x39,0x39,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,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,0x5f,0x31,0x30,0x37,0x32,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x5f,0x31,0x31, 0x30,0x36,0x20,0x3d,0x20,0x5f,0x31,0x30,0x39,0x39,0x2e,0x78,0x79,0x7a,0x20,0x2f, 0x20,0x76,0x65,0x63,0x33,0x28,0x5f,0x31,0x30,0x39,0x39,0x2e,0x77,0x29,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x5f,0x31,0x31, 0x32,0x33,0x20,0x3d,0x20,0x76,0x65,0x63,0x33,0x28,0x28,0x5f,0x31,0x31,0x30,0x36, 0x2e,0x78,0x20,0x2a,0x20,0x30,0x2e,0x35,0x29,0x20,0x2b,0x20,0x30,0x2e,0x35,0x2c, 0x20,0x28,0x28,0x5f,0x31,0x31,0x30,0x36,0x2e,0x79,0x20,0x2a,0x20,0x5f,0x38,0x33, 0x34,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,0x31,0x31,0x30,0x36,0x2e,0x7a,0x29,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x5f,0x31,0x31, 0x32,0x37,0x20,0x3d,0x20,0x61,0x6e,0x79,0x28,0x6c,0x65,0x73,0x73,0x54,0x68,0x61, 0x6e,0x28,0x5f,0x31,0x31,0x32,0x33,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,0x31,0x31,0x33,0x34,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, 0x20,0x20,0x69,0x66,0x20,0x28,0x21,0x5f,0x31,0x31,0x32,0x37,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,0x31,0x31,0x33,0x34,0x20,0x3d,0x20,0x61,0x6e,0x79,0x28, 0x67,0x72,0x65,0x61,0x74,0x65,0x72,0x54,0x68,0x61,0x6e,0x28,0x5f,0x31,0x31,0x32, 0x33,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,0x31,0x31, 0x33,0x34,0x20,0x3d,0x20,0x5f,0x31,0x31,0x32,0x37,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,0x31,0x31,0x33,0x34,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,0x38,0x33,0x34,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,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,0x28, 0x5f,0x38,0x33,0x34,0x2e,0x76,0x69,0x65,0x77,0x20,0x2a,0x20,0x76,0x65,0x63,0x34, 0x28,0x6e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2c,0x20,0x30,0x2e,0x30,0x29,0x29,0x2e, 0x78,0x79,0x7a,0x29,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, 0x32,0x30,0x35,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,0x32,0x30,0x36,0x20,0x3d,0x20,0x5f, 0x31,0x32,0x30,0x35,0x2e,0x78,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28, 0x5f,0x38,0x33,0x34,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,0x32,0x30,0x36,0x2c,0x20,0x5f,0x31,0x32,0x30,0x36,0x2c,0x20, 0x5f,0x31,0x32,0x30,0x36,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,0x62,0x61,0x73,0x65, 0x43,0x6f,0x6c,0x6f,0x72,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,0x69,0x66, 0x20,0x28,0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x2e,0x7a,0x20,0x3e, 0x20,0x30,0x2e,0x35,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20, 0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x32,0x20,0x70,0x61,0x72,0x61,0x6d,0x20,0x3d, 0x20,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x2e,0x78,0x7a,0x20,0x2b, 0x20,0x5f,0x38,0x33,0x34,0x2e,0x67,0x72,0x69,0x64,0x5f,0x6f,0x66,0x66,0x73,0x65, 0x74,0x2e,0x78,0x79,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x76,0x65, 0x63,0x32,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x20,0x3d,0x20,0x76,0x5f,0x76, 0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x2e,0x78,0x7a,0x20,0x2b,0x20,0x5f,0x38,0x33, 0x34,0x2e,0x67,0x72,0x69,0x64,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x2e,0x7a,0x77, 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,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f, 0x63,0x6f,0x6c,0x6f,0x72,0x2e,0x78,0x79,0x7a,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,0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x2e,0x77,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x62,0x61,0x73,0x65,0x43,0x6f,0x6c, 0x6f,0x72,0x20,0x3d,0x20,0x6d,0x69,0x78,0x28,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f, 0x63,0x6f,0x6c,0x6f,0x72,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x70,0x72,0x6f,0x63,0x65, 0x64,0x75,0x72,0x61,0x6c,0x47,0x72,0x69,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,0x70,0x61,0x72,0x61,0x6d,0x5f,0x33,0x29,0x2c,0x20,0x76,0x65,0x63, 0x33,0x28,0x70,0x6f,0x77,0x28,0x63,0x6c,0x61,0x6d,0x70,0x28,0x6e,0x5f,0x77,0x6f, 0x72,0x6c,0x64,0x2e,0x79,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x29, 0x2c,0x20,0x38,0x2e,0x30,0x29,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a, 0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x34, 0x20,0x3d,0x20,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x20, 0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x20, 0x3d,0x20,0x6e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x36,0x20,0x3d,0x20,0x2d, 0x28,0x5f,0x38,0x33,0x34,0x2e,0x76,0x69,0x65,0x77,0x20,0x2a,0x20,0x76,0x65,0x63, 0x34,0x28,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x2c,0x20,0x31,0x2e, 0x30,0x29,0x29,0x2e,0x7a,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20, 0x5f,0x31,0x33,0x30,0x35,0x20,0x3d,0x20,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a, 0x65,0x28,0x5f,0x31,0x30,0x32,0x33,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65, 0x63,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x37,0x20,0x3d,0x20,0x6e,0x5f,0x77, 0x6f,0x72,0x6c,0x64,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x70, 0x61,0x72,0x61,0x6d,0x5f,0x38,0x20,0x3d,0x20,0x5f,0x31,0x33,0x30,0x35,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x39, 0x20,0x3d,0x20,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,0x5f,0x38,0x33, 0x34,0x2e,0x73,0x75,0x6e,0x5f,0x64,0x69,0x72,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2e, 0x78,0x79,0x7a,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x70, 0x61,0x72,0x61,0x6d,0x5f,0x31,0x30,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,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,0x5f,0x34,0x2c,0x20,0x70,0x61,0x72, 0x61,0x6d,0x5f,0x35,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x36,0x29,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31, 0x31,0x20,0x3d,0x20,0x62,0x61,0x73,0x65,0x43,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20, 0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31, 0x32,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,0x33,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,0x34,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,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,0x35,0x20,0x3d,0x20,0x6e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x3b,0x0a,0x20, 0x20,0x20,0x20,0x76,0x65,0x63,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x36, 0x20,0x3d,0x20,0x5f,0x31,0x33,0x30,0x35,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65, 0x63,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x20,0x3d,0x20,0x62,0x61, 0x73,0x65,0x43,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f, 0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,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,0x31,0x39,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,0x32, 0x30,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,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,0x32,0x31,0x5b,0x39,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31,0x5b,0x30,0x5d,0x20,0x3d,0x20,0x5f,0x38, 0x33,0x34,0x2e,0x73,0x68,0x5b,0x30,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61, 0x72,0x61,0x6d,0x5f,0x32,0x31,0x5b,0x31,0x5d,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34, 0x2e,0x73,0x68,0x5b,0x31,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61, 0x6d,0x5f,0x32,0x31,0x5b,0x32,0x5d,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,0x2e,0x73, 0x68,0x5b,0x32,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f, 0x32,0x31,0x5b,0x33,0x5d,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,0x2e,0x73,0x68,0x5b, 0x33,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31, 0x5b,0x34,0x5d,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,0x2e,0x73,0x68,0x5b,0x34,0x5d, 0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31,0x5b,0x35, 0x5d,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,0x2e,0x73,0x68,0x5b,0x35,0x5d,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31,0x5b,0x36,0x5d,0x20, 0x3d,0x20,0x5f,0x38,0x33,0x34,0x2e,0x73,0x68,0x5b,0x36,0x5d,0x3b,0x0a,0x20,0x20, 0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31,0x5b,0x37,0x5d,0x20,0x3d,0x20, 0x5f,0x38,0x33,0x34,0x2e,0x73,0x68,0x5b,0x37,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31,0x5b,0x38,0x5d,0x20,0x3d,0x20,0x5f,0x38, 0x33,0x34,0x2e,0x73,0x68,0x5b,0x38,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x32,0x20,0x3d,0x20,0x5f, 0x38,0x33,0x34,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,0x37,0x2c,0x20,0x70, 0x61,0x72,0x61,0x6d,0x5f,0x38,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x39,0x2c, 0x20,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,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,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,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x39,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d, 0x5f,0x32,0x30,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31,0x2c,0x20,0x70, 0x61,0x72,0x61,0x6d,0x5f,0x32,0x32,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,0x32,0x30,0x36,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 instance { float4 xform_row0; float4 xform_row1; float4 xform_row2; float4 base_color; float4 scale; 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 _125_view_proj : packoffset(c0); }; static float4 gl_Position; static int gl_InstanceIndex; static float3 in_pos; static float3 in_normal; static float3 v_world_normal; static float4 v_base_color; static float4 v_material; static float3 v_view_pos; struct SPIRV_Cross_Input { float3 in_pos : TEXCOORD0; float3 in_normal : TEXCOORD1; uint gl_InstanceIndex : SV_InstanceID; }; struct SPIRV_Cross_Output { float3 v_view_pos : TEXCOORD0; float3 v_world_normal : TEXCOORD1; nointerpolation float4 v_base_color : TEXCOORD2; nointerpolation float4 v_material : TEXCOORD3; float4 gl_Position : SV_Position; }; void vert_main() { instance _33; _33.xform_row0 = asfloat(_15.Load4((_21_inst_base.x + gl_InstanceIndex) * 96 + 0)); _33.xform_row1 = asfloat(_15.Load4((_21_inst_base.x + gl_InstanceIndex) * 96 + 16)); _33.xform_row2 = asfloat(_15.Load4((_21_inst_base.x + gl_InstanceIndex) * 96 + 32)); _33.base_color = asfloat(_15.Load4((_21_inst_base.x + gl_InstanceIndex) * 96 + 48)); _33.scale = asfloat(_15.Load4((_21_inst_base.x + gl_InstanceIndex) * 96 + 64)); _33.material = asfloat(_15.Load4((_21_inst_base.x + gl_InstanceIndex) * 96 + 80)); float4 _68 = float4(in_pos * _33.scale.xyz, 1.0f); float _73 = dot(_33.xform_row0, _68); float _77 = dot(_33.xform_row1, _68); float _81 = dot(_33.xform_row2, _68); float3 _89 = in_normal / _33.scale.xyz; v_world_normal = float3(dot(_33.xform_row0.xyz, _89), dot(_33.xform_row1.xyz, _89), dot(_33.xform_row2.xyz, _89)); v_base_color = _33.base_color; v_material = _33.material; gl_Position = mul(float4(_73, _77, _81, 1.0f), _125_view_proj); v_view_pos = float3(_73, _77, _81); } SPIRV_Cross_Output main(SPIRV_Cross_Input stage_input) { gl_InstanceIndex = int(stage_input.gl_InstanceIndex); in_pos = stage_input.in_pos; in_normal = stage_input.in_normal; vert_main(); SPIRV_Cross_Output stage_output; stage_output.gl_Position = gl_Position; stage_output.v_world_normal = v_world_normal; stage_output.v_base_color = v_base_color; stage_output.v_material = v_material; stage_output.v_view_pos = v_view_pos; return stage_output; } */ static const uint8_t geom_vs_source_hlsl5[2542] = { 0x73,0x74,0x72,0x75,0x63,0x74,0x20,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,0x73,0x63,0x61,0x6c,0x65,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,0x31,0x32,0x35,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,0x30,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,0x69,0x6e,0x5f,0x6e,0x6f,0x72,0x6d,0x61, 0x6c,0x3b,0x0a,0x73,0x74,0x61,0x74,0x69,0x63,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33, 0x20,0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,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,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,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, 0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x69,0x6e,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c, 0x20,0x3a,0x20,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44,0x31,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,0x6e, 0x6f,0x72,0x6d,0x61,0x6c,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,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,0x39,0x36,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, 0x39,0x36,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,0x39,0x36,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,0x39,0x36,0x20,0x2b,0x20,0x34,0x38,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20, 0x20,0x5f,0x33,0x33,0x2e,0x73,0x63,0x61,0x6c,0x65,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,0x39,0x36,0x20,0x2b,0x20,0x36,0x34,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,0x39,0x36,0x20, 0x2b,0x20,0x38,0x30,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61, 0x74,0x34,0x20,0x5f,0x36,0x38,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28, 0x69,0x6e,0x5f,0x70,0x6f,0x73,0x20,0x2a,0x20,0x5f,0x33,0x33,0x2e,0x73,0x63,0x61, 0x6c,0x65,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x3b,0x0a,0x20, 0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x37,0x33,0x20,0x3d,0x20,0x64, 0x6f,0x74,0x28,0x5f,0x33,0x33,0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77, 0x30,0x2c,0x20,0x5f,0x36,0x38,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f, 0x61,0x74,0x20,0x5f,0x37,0x37,0x20,0x3d,0x20,0x64,0x6f,0x74,0x28,0x5f,0x33,0x33, 0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x31,0x2c,0x20,0x5f,0x36,0x38, 0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x38,0x31, 0x20,0x3d,0x20,0x64,0x6f,0x74,0x28,0x5f,0x33,0x33,0x2e,0x78,0x66,0x6f,0x72,0x6d, 0x5f,0x72,0x6f,0x77,0x32,0x2c,0x20,0x5f,0x36,0x38,0x29,0x3b,0x0a,0x20,0x20,0x20, 0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x5f,0x38,0x39,0x20,0x3d,0x20,0x69,0x6e, 0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x20,0x2f,0x20,0x5f,0x33,0x33,0x2e,0x73,0x63, 0x61,0x6c,0x65,0x2e,0x78,0x79,0x7a,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x5f,0x77, 0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x20,0x3d,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x33,0x28,0x64,0x6f,0x74,0x28,0x5f,0x33,0x33,0x2e,0x78,0x66,0x6f, 0x72,0x6d,0x5f,0x72,0x6f,0x77,0x30,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x38,0x39, 0x29,0x2c,0x20,0x64,0x6f,0x74,0x28,0x5f,0x33,0x33,0x2e,0x78,0x66,0x6f,0x72,0x6d, 0x5f,0x72,0x6f,0x77,0x31,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x38,0x39,0x29,0x2c, 0x20,0x64,0x6f,0x74,0x28,0x5f,0x33,0x33,0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72, 0x6f,0x77,0x32,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x38,0x39,0x29,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,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x5f, 0x37,0x33,0x2c,0x20,0x5f,0x37,0x37,0x2c,0x20,0x5f,0x38,0x31,0x2c,0x20,0x31,0x2e, 0x30,0x66,0x29,0x2c,0x20,0x5f,0x31,0x32,0x35,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70, 0x72,0x6f,0x6a,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x76,0x5f,0x76,0x69,0x65,0x77, 0x5f,0x70,0x6f,0x73,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x5f,0x37, 0x33,0x2c,0x20,0x5f,0x37,0x37,0x2c,0x20,0x5f,0x38,0x31,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,0x69,0x6e,0x5f,0x6e,0x6f,0x72,0x6d, 0x61,0x6c,0x20,0x3d,0x20,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x70,0x75,0x74, 0x2e,0x69,0x6e,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,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,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x20,0x3d,0x20, 0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,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,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,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 _834_sun_dir_world : packoffset(c0); float4 _834_sun_color : packoffset(c1); int4 _834_flags : packoffset(c2); float4 _834_camera_pos : packoffset(c3); float4 _834_grid_offset : packoffset(c4); row_major float4x4 _834_view : packoffset(c5); float4 _834_cascade_far_view_z : packoffset(c9); row_major float4x4 _834_cascade_matrices[3] : packoffset(c10); float4 _834_sh[9] : packoffset(c22); float4 _834_ibl_params : packoffset(c31); }; Texture2DArray tex_shadow : register(t0); SamplerComparisonState smp_shadow : register(s0); Texture2D tex_ao : register(t3); SamplerState smp_ao : register(s3); TextureCube tex_ibl_spec : register(t1); SamplerState smp_ibl_spec : register(s1); Texture2D tex_brdf_lut : register(t2); SamplerState smp_brdf_lut : register(s2); static float4 gl_FragCoord; static float3 v_world_normal; static float3 v_view_pos; static float4 out_color; static float4 v_base_color; static float4 v_material; struct SPIRV_Cross_Input { float3 v_view_pos : TEXCOORD0; float3 v_world_normal : 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 Tex, uint Level, out uint Param) { uint2 ret; Tex.GetDimensions(Level, ret.x, ret.y, Param); return ret; } float3 proceduralGrid(float2 line_xz, float2 axis_xz, float3 base_color, float cell_size) { float2 _536 = line_xz / cell_size.xx; float2 _552 = abs(frac(_536 - 0.5f.xx) - 0.5f.xx) / max(fwidth(_536), 9.9999999747524270787835121154785e-07f.xx); float2 _567 = line_xz / (cell_size * 10.0f).xx; float2 _581 = abs(frac(_567 - 0.5f.xx) - 0.5f.xx) / max(fwidth(_567), 9.9999999747524270787835121154785e-07f.xx); float2 _612 = max(fwidth(axis_xz), 9.9999999747524270787835121154785e-07f.xx); return lerp(lerp(lerp(lerp(base_color, base_color * 0.699999988079071044921875f, (1.0f - clamp(min(_552.x, _552.y), 0.0f, 1.0f)).xxx), base_color * 0.3499999940395355224609375f, (1.0f - clamp(min(_581.x, _581.y), 0.0f, 1.0f)).xxx), float3(1.0f, 0.0f, 0.0f), ((1.0f - clamp(abs(axis_xz.y) / _612.y, 0.0f, 1.0f)) * step(0.0f, axis_xz.x)).xxx), float3(0.0f, 0.0f, 1.0f), ((1.0f - clamp(abs(axis_xz.x) / _612.x, 0.0f, 1.0f)) * step(0.0f, axis_xz.y)).xxx); } float sampleShadowPCF(int cascade, float3 light_uv, float bias) { float _656 = float(cascade); float _661 = light_uv.z - bias; float _677 = light_uv.x - 0.00048828125f; float _681 = light_uv.y - 0.00048828125f; float _711 = light_uv.x + 0.00048828125f; float _779 = light_uv.y + 0.00048828125f; return ((((((((tex_shadow.SampleCmp(smp_shadow, float4(_677, _681, _656, _661).xyz, _661) + tex_shadow.SampleCmp(smp_shadow, float4(light_uv.x, _681, _656, _661).xyz, _661)) + tex_shadow.SampleCmp(smp_shadow, float4(_711, _681, _656, _661).xyz, _661)) + tex_shadow.SampleCmp(smp_shadow, float4(_677, light_uv.y, _656, _661).xyz, _661)) + tex_shadow.SampleCmp(smp_shadow, float4(light_uv.xy, _656, _661).xyz, _661)) + tex_shadow.SampleCmp(smp_shadow, float4(_711, light_uv.y, _656, _661).xyz, _661)) + tex_shadow.SampleCmp(smp_shadow, float4(_677, _779, _656, _661).xyz, _661)) + tex_shadow.SampleCmp(smp_shadow, float4(light_uv.x, _779, _656, _661).xyz, _661)) + tex_shadow.SampleCmp(smp_shadow, float4(_711, _779, _656, _661).xyz, _661)) * 0.111111111938953399658203125f; } float sampleCascade(int cascade, float3 world_pos, float3 world_normal) { float4 _844 = mul(float4(world_pos, 1.0f), _834_cascade_matrices[cascade]); float3 _851 = _844.xyz / _844.w.xxx; float3 _869 = float3((_851.x * 0.5f) + 0.5f, ((_851.y * _834_cascade_far_view_z.w) * 0.5f) + 0.5f, _851.z); bool _873 = any(bool3(_869.x < 0.0f.xxx.x, _869.y < 0.0f.xxx.y, _869.z < 0.0f.xxx.z)); bool _880; if (!_873) { _880 = any(bool3(_869.x > 1.0f.xxx.x, _869.y > 1.0f.xxx.y, _869.z > 1.0f.xxx.z)); } else { _880 = _873; } if (_880) { return 1.0f; } int param = cascade; float3 param_1 = _869; float param_2 = lerp(0.0040000001899898052215576171875f, 0.0007999999797903001308441162109375f, max(dot(world_normal, normalize(_834_sun_dir_world.xyz)), 0.0f)); float pcf = sampleShadowPCF(param, param_1, param_2); if (cascade == 2) { float2 _912 = _869.xy; float2 _917 = min(_912, 1.0f.xx - _912); pcf = lerp(1.0f, pcf, clamp(min(_917.x, _917.y) * 10.0f, 0.0f, 1.0f)); } return pcf; } float sampleShadowCascaded(float3 world_pos, float3 world_normal, float view_z) { int cascade = 2; if (view_z < _834_cascade_far_view_z.x) { cascade = 0; } else { if (view_z < _834_cascade_far_view_z.y) { cascade = 1; } } int param = cascade; float3 param_1 = world_pos; float3 param_2 = world_normal; float shadow = sampleCascade(param, param_1, param_2); if (cascade < 2) { float _961; if (cascade == 0) { _961 = _834_cascade_far_view_z.x; } else { _961 = _834_cascade_far_view_z.y; } float _973; if (cascade == 0) { _973 = 0.0f; } else { _973 = _834_cascade_far_view_z.x; } float _984 = lerp(_961, _973, 0.100000001490116119384765625f); if (view_z > _984) { int param_3 = cascade + 1; float3 param_4 = world_pos; float3 param_5 = world_normal; shadow = lerp(shadow, sampleCascade(param_3, param_4, param_5), (view_z - _984) / (_961 - _984)); } } return shadow; } float pbrDistributionGGX(float n_dot_h, float alpha) { float _116 = alpha * alpha; float _125 = ((n_dot_h * n_dot_h) * (_116 - 1.0f)) + 1.0f; return _116 / ((3.1415927410125732421875f * _125) * _125); } float pbrVisibilitySmithCorrelated(float n_dot_v, float n_dot_l, float alpha) { float _138 = alpha * alpha; float _145 = 1.0f - _138; return 0.5f / (((n_dot_l * sqrt(((n_dot_v * n_dot_v) * _145) + _138)) + (n_dot_v * sqrt(((n_dot_l * n_dot_l) * _145) + _138))) + 9.9999997473787516355514526367188e-06f); } float3 pbrFresnelSchlick(float v_dot_h, float3 f0) { float _174 = 1.0f - v_dot_h; float _178 = _174 * _174; return f0 + ((1.0f.xxx - f0) * ((_178 * _178) * _174)); } float3 brdf_evaluate(float3 N, float3 V, float3 L, float3 sun_radiance, float3 base_color, float metallic, float roughness) { float _197 = max(dot(N, L), 0.0f); float3 _208 = normalize(V + L); float _222 = max(roughness, 0.04500000178813934326171875f); float _226 = _222 * _222; float param = max(dot(N, _208), 0.0f); float param_1 = _226; float param_2 = max(dot(N, V), 9.9999997473787516355514526367188e-05f); float param_3 = _197; float param_4 = _226; float param_5 = max(dot(V, _208), 0.0f); float3 param_6 = lerp(0.039999999105930328369140625f.xxx, base_color, metallic.xxx); float3 _253 = pbrFresnelSchlick(param_5, param_6); return ((((((1.0f.xxx - _253) * (1.0f - metallic)) * base_color) * 0.3183098733425140380859375f.xxx) + (_253 * (pbrDistributionGGX(param, param_1) * pbrVisibilitySmithCorrelated(param_2, param_3, param_4)))) * sun_radiance) * _197; } float3 pbrEvaluateShIrradiance(float3 N, float4 sh[9]) { float3 _408 = ((((((((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 _408; } float3 pbrEvaluateIbl(float3 N_world, float3 V_world, float3 base_color, float metallic, float roughness, float4 sh[9], TextureCube tex_spec_cube, SamplerState smp_spec_cube, Texture2D tex_brdf_lut_1, SamplerState smp_brdf_lut_1, float max_lod) { float _415 = clamp(dot(N_world, V_world), 9.9999997473787516355514526367188e-05f, 1.0f); float3 _425 = lerp(0.039999999105930328369140625f.xxx, base_color, metallic.xxx); float3 param = N_world; float4 param_1[9] = sh; float4 _489 = tex_brdf_lut_1.Sample(smp_brdf_lut_1, float2(_415, roughness)); return (((((1.0f.xxx - (_425 + ((max((1.0f - roughness).xxx, _425) - _425) * pow(max(0.0f, 1.0f - _415), 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 * ((_425 * _489.x) + _489.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 tex_spec_cube, SamplerState smp_spec_cube, Texture2D 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 _1016 = normalize(v_world_normal); float3 n_world = _1016; float3 _1023 = _834_camera_pos.xyz - v_view_pos; if (dot(_1016, _1023) < 0.0f) { n_world = -n_world; } if (_834_flags.x == 1) { float _1054 = clamp(mul(float4(v_view_pos, 1.0f), _834_view).z * (-0.0199999995529651641845703125f), 0.0f, 1.0f); out_color = float4(_1054, _1054, _1054, 1.0f); return; } if (_834_flags.x == 2) { float4 _1072 = float4(v_view_pos, 1.0f); float _1075 = -mul(_1072, _834_view).z; int cascade = 2; if (_1075 < _834_cascade_far_view_z.x) { cascade = 0; } else { if (_1075 < _834_cascade_far_view_z.y) { cascade = 1; } } float4 _1099 = mul(_1072, _834_cascade_matrices[cascade]); float3 _1106 = _1099.xyz / _1099.w.xxx; float3 _1123 = float3((_1106.x * 0.5f) + 0.5f, ((_1106.y * _834_cascade_far_view_z.w) * 0.5f) + 0.5f, _1106.z); bool _1127 = any(bool3(_1123.x < 0.0f.xxx.x, _1123.y < 0.0f.xxx.y, _1123.z < 0.0f.xxx.z)); bool _1134; if (!_1127) { _1134 = any(bool3(_1123.x > 1.0f.xxx.x, _1123.y > 1.0f.xxx.y, _1123.z > 1.0f.xxx.z)); } else { _1134 = _1127; } float3 tint = 1.0f.xxx; if (!_1134) { 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 (_834_flags.x == 3) { out_color = float4((normalize(mul(float4(n_world, 0.0f), _834_view).xyz) * 0.5f) + 0.5f.xxx, 1.0f); return; } uint _1197_dummy_parameter; float4 _1205 = tex_ao.SampleLevel(smp_ao, gl_FragCoord.xy / float2(int2(spvTextureSize(tex_ao, uint(0), _1197_dummy_parameter))), 0.0f); float _1206 = _1205.x; if (_834_flags.x == 4) { out_color = float4(_1206, _1206, _1206, 1.0f); return; } float3 baseColor = v_base_color.xyz; if (v_material.z > 0.5f) { float2 param = v_view_pos.xz + _834_grid_offset.xy; float2 param_1 = v_view_pos.xz + _834_grid_offset.zw; float3 param_2 = v_base_color.xyz; float param_3 = v_material.w; baseColor = lerp(v_base_color.xyz, proceduralGrid(param, param_1, param_2, param_3), pow(clamp(n_world.y, 0.0f, 1.0f), 8.0f).xxx); } float3 param_4 = v_view_pos; float3 param_5 = n_world; float param_6 = -mul(float4(v_view_pos, 1.0f), _834_view).z; float3 _1305 = normalize(_1023); float3 param_7 = n_world; float3 param_8 = _1305; float3 param_9 = normalize(_834_sun_dir_world.xyz); float3 param_10 = _834_sun_color.xyz * sampleShadowCascaded(param_4, param_5, param_6); float3 param_11 = baseColor; float param_12 = v_material.x; float param_13 = v_material.y; bool param_14 = _834_ibl_params.y > 0.5f; float3 param_15 = n_world; float3 param_16 = _1305; float3 param_17 = baseColor; float param_18 = v_material.x; float param_19 = v_material.y; float param_20 = _834_sun_color.w; float4 param_21[9]; param_21[0] = _834_sh[0]; param_21[1] = _834_sh[1]; param_21[2] = _834_sh[2]; param_21[3] = _834_sh[3]; param_21[4] = _834_sh[4]; param_21[5] = _834_sh[5]; param_21[6] = _834_sh[6]; param_21[7] = _834_sh[7]; param_21[8] = _834_sh[8]; float param_22 = _834_ibl_params.x; out_color = float4((brdf_evaluate(param_7, param_8, param_9, param_10, param_11, param_12, param_13) + (pbrEvaluateAmbient(param_14, param_15, param_16, param_17, param_18, param_19, param_20, param_21, tex_ibl_spec, smp_ibl_spec, tex_brdf_lut, smp_brdf_lut, param_22) * _1206)) * 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_world_normal = stage_input.v_world_normal; v_view_pos = stage_input.v_view_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 geom_fs_source_hlsl5[14711] = { 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,0x38,0x33,0x34, 0x5f,0x73,0x75,0x6e,0x5f,0x64,0x69,0x72,0x5f,0x77,0x6f,0x72,0x6c,0x64,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,0x38,0x33,0x34, 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,0x38,0x33,0x34,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,0x38, 0x33,0x34,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,0x33,0x29,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x38,0x33,0x34,0x5f, 0x67,0x72,0x69,0x64,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,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,0x38,0x33,0x34,0x5f,0x76,0x69,0x65,0x77,0x20,0x3a, 0x20,0x70,0x61,0x63,0x6b,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x63,0x35,0x29,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x38,0x33,0x34, 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,0x39,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,0x38,0x33, 0x34,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,0x31,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f, 0x61,0x74,0x34,0x20,0x5f,0x38,0x33,0x34,0x5f,0x73,0x68,0x5b,0x39,0x5d,0x20,0x3a, 0x20,0x70,0x61,0x63,0x6b,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x63,0x32,0x32,0x29, 0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x38,0x33, 0x34,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,0x31,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,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d, 0x61,0x6c,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,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,0x6e, 0x6f,0x72,0x6d,0x61,0x6c,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,0x33,0x20,0x70, 0x72,0x6f,0x63,0x65,0x64,0x75,0x72,0x61,0x6c,0x47,0x72,0x69,0x64,0x28,0x66,0x6c, 0x6f,0x61,0x74,0x32,0x20,0x6c,0x69,0x6e,0x65,0x5f,0x78,0x7a,0x2c,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x32,0x20,0x61,0x78,0x69,0x73,0x5f,0x78,0x7a,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,0x63,0x65,0x6c,0x6c,0x5f,0x73,0x69,0x7a,0x65, 0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x5f, 0x35,0x33,0x36,0x20,0x3d,0x20,0x6c,0x69,0x6e,0x65,0x5f,0x78,0x7a,0x20,0x2f,0x20, 0x63,0x65,0x6c,0x6c,0x5f,0x73,0x69,0x7a,0x65,0x2e,0x78,0x78,0x3b,0x0a,0x20,0x20, 0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x5f,0x35,0x35,0x32,0x20,0x3d,0x20, 0x61,0x62,0x73,0x28,0x66,0x72,0x61,0x63,0x28,0x5f,0x35,0x33,0x36,0x20,0x2d,0x20, 0x30,0x2e,0x35,0x66,0x2e,0x78,0x78,0x29,0x20,0x2d,0x20,0x30,0x2e,0x35,0x66,0x2e, 0x78,0x78,0x29,0x20,0x2f,0x20,0x6d,0x61,0x78,0x28,0x66,0x77,0x69,0x64,0x74,0x68, 0x28,0x5f,0x35,0x33,0x36,0x29,0x2c,0x20,0x39,0x2e,0x39,0x39,0x39,0x39,0x39,0x39, 0x39,0x37,0x34,0x37,0x35,0x32,0x34,0x32,0x37,0x30,0x37,0x38,0x37,0x38,0x33,0x35, 0x31,0x32,0x31,0x31,0x35,0x34,0x37,0x38,0x35,0x65,0x2d,0x30,0x37,0x66,0x2e,0x78, 0x78,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x5f, 0x35,0x36,0x37,0x20,0x3d,0x20,0x6c,0x69,0x6e,0x65,0x5f,0x78,0x7a,0x20,0x2f,0x20, 0x28,0x63,0x65,0x6c,0x6c,0x5f,0x73,0x69,0x7a,0x65,0x20,0x2a,0x20,0x31,0x30,0x2e, 0x30,0x66,0x29,0x2e,0x78,0x78,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61, 0x74,0x32,0x20,0x5f,0x35,0x38,0x31,0x20,0x3d,0x20,0x61,0x62,0x73,0x28,0x66,0x72, 0x61,0x63,0x28,0x5f,0x35,0x36,0x37,0x20,0x2d,0x20,0x30,0x2e,0x35,0x66,0x2e,0x78, 0x78,0x29,0x20,0x2d,0x20,0x30,0x2e,0x35,0x66,0x2e,0x78,0x78,0x29,0x20,0x2f,0x20, 0x6d,0x61,0x78,0x28,0x66,0x77,0x69,0x64,0x74,0x68,0x28,0x5f,0x35,0x36,0x37,0x29, 0x2c,0x20,0x39,0x2e,0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x37,0x34,0x37,0x35,0x32, 0x34,0x32,0x37,0x30,0x37,0x38,0x37,0x38,0x33,0x35,0x31,0x32,0x31,0x31,0x35,0x34, 0x37,0x38,0x35,0x65,0x2d,0x30,0x37,0x66,0x2e,0x78,0x78,0x29,0x3b,0x0a,0x20,0x20, 0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x5f,0x36,0x31,0x32,0x20,0x3d,0x20, 0x6d,0x61,0x78,0x28,0x66,0x77,0x69,0x64,0x74,0x68,0x28,0x61,0x78,0x69,0x73,0x5f, 0x78,0x7a,0x29,0x2c,0x20,0x39,0x2e,0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x37,0x34, 0x37,0x35,0x32,0x34,0x32,0x37,0x30,0x37,0x38,0x37,0x38,0x33,0x35,0x31,0x32,0x31, 0x31,0x35,0x34,0x37,0x38,0x35,0x65,0x2d,0x30,0x37,0x66,0x2e,0x78,0x78,0x29,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6c,0x65,0x72,0x70, 0x28,0x6c,0x65,0x72,0x70,0x28,0x6c,0x65,0x72,0x70,0x28,0x6c,0x65,0x72,0x70,0x28, 0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2c,0x20,0x62,0x61,0x73,0x65, 0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x2a,0x20,0x30,0x2e,0x36,0x39,0x39,0x39,0x39, 0x39,0x39,0x38,0x38,0x30,0x37,0x39,0x30,0x37,0x31,0x30,0x34,0x34,0x39,0x32,0x31, 0x38,0x37,0x35,0x66,0x2c,0x20,0x28,0x31,0x2e,0x30,0x66,0x20,0x2d,0x20,0x63,0x6c, 0x61,0x6d,0x70,0x28,0x6d,0x69,0x6e,0x28,0x5f,0x35,0x35,0x32,0x2e,0x78,0x2c,0x20, 0x5f,0x35,0x35,0x32,0x2e,0x79,0x29,0x2c,0x20,0x30,0x2e,0x30,0x66,0x2c,0x20,0x31, 0x2e,0x30,0x66,0x29,0x29,0x2e,0x78,0x78,0x78,0x29,0x2c,0x20,0x62,0x61,0x73,0x65, 0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x2a,0x20,0x30,0x2e,0x33,0x34,0x39,0x39,0x39, 0x39,0x39,0x39,0x34,0x30,0x33,0x39,0x35,0x33,0x35,0x35,0x32,0x32,0x34,0x36,0x30, 0x39,0x33,0x37,0x35,0x66,0x2c,0x20,0x28,0x31,0x2e,0x30,0x66,0x20,0x2d,0x20,0x63, 0x6c,0x61,0x6d,0x70,0x28,0x6d,0x69,0x6e,0x28,0x5f,0x35,0x38,0x31,0x2e,0x78,0x2c, 0x20,0x5f,0x35,0x38,0x31,0x2e,0x79,0x29,0x2c,0x20,0x30,0x2e,0x30,0x66,0x2c,0x20, 0x31,0x2e,0x30,0x66,0x29,0x29,0x2e,0x78,0x78,0x78,0x29,0x2c,0x20,0x66,0x6c,0x6f, 0x61,0x74,0x33,0x28,0x31,0x2e,0x30,0x66,0x2c,0x20,0x30,0x2e,0x30,0x66,0x2c,0x20, 0x30,0x2e,0x30,0x66,0x29,0x2c,0x20,0x28,0x28,0x31,0x2e,0x30,0x66,0x20,0x2d,0x20, 0x63,0x6c,0x61,0x6d,0x70,0x28,0x61,0x62,0x73,0x28,0x61,0x78,0x69,0x73,0x5f,0x78, 0x7a,0x2e,0x79,0x29,0x20,0x2f,0x20,0x5f,0x36,0x31,0x32,0x2e,0x79,0x2c,0x20,0x30, 0x2e,0x30,0x66,0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x29,0x20,0x2a,0x20,0x73,0x74, 0x65,0x70,0x28,0x30,0x2e,0x30,0x66,0x2c,0x20,0x61,0x78,0x69,0x73,0x5f,0x78,0x7a, 0x2e,0x78,0x29,0x29,0x2e,0x78,0x78,0x78,0x29,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74, 0x33,0x28,0x30,0x2e,0x30,0x66,0x2c,0x20,0x30,0x2e,0x30,0x66,0x2c,0x20,0x31,0x2e, 0x30,0x66,0x29,0x2c,0x20,0x28,0x28,0x31,0x2e,0x30,0x66,0x20,0x2d,0x20,0x63,0x6c, 0x61,0x6d,0x70,0x28,0x61,0x62,0x73,0x28,0x61,0x78,0x69,0x73,0x5f,0x78,0x7a,0x2e, 0x78,0x29,0x20,0x2f,0x20,0x5f,0x36,0x31,0x32,0x2e,0x78,0x2c,0x20,0x30,0x2e,0x30, 0x66,0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x29,0x20,0x2a,0x20,0x73,0x74,0x65,0x70, 0x28,0x30,0x2e,0x30,0x66,0x2c,0x20,0x61,0x78,0x69,0x73,0x5f,0x78,0x7a,0x2e,0x79, 0x29,0x29,0x2e,0x78,0x78,0x78,0x29,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,0x36,0x35,0x36,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,0x36,0x36,0x31,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,0x36,0x37, 0x37,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,0x36,0x38,0x31,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,0x37,0x31,0x31,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,0x37,0x37,0x39,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,0x36,0x37,0x37,0x2c,0x20,0x5f,0x36,0x38,0x31, 0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c,0x20,0x5f,0x36,0x36,0x31,0x29,0x2e,0x78,0x79, 0x7a,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x38,0x31,0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c,0x20,0x5f,0x36,0x36,0x31,0x29, 0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x37,0x31,0x31,0x2c,0x20,0x5f,0x36,0x38, 0x31,0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c,0x20,0x5f,0x36,0x36,0x31,0x29,0x2e,0x78, 0x79,0x7a,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x36,0x37,0x37,0x2c,0x20,0x6c,0x69,0x67,0x68,0x74, 0x5f,0x75,0x76,0x2e,0x79,0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c,0x20,0x5f,0x36,0x36, 0x31,0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x36,0x35,0x36,0x2c,0x20,0x5f,0x36,0x36,0x31, 0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x37,0x31,0x31,0x2c,0x20,0x6c,0x69, 0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x79,0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c,0x20, 0x5f,0x36,0x36,0x31,0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x36,0x37,0x37, 0x2c,0x20,0x5f,0x37,0x37,0x39,0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c,0x20,0x5f,0x36, 0x36,0x31,0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x37,0x37,0x39,0x2c,0x20,0x5f,0x36,0x35,0x36, 0x2c,0x20,0x5f,0x36,0x36,0x31,0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x36,0x36, 0x31,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,0x37, 0x31,0x31,0x2c,0x20,0x5f,0x37,0x37,0x39,0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c,0x20, 0x5f,0x36,0x36,0x31,0x29,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x33, 0x20,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x29,0x0a,0x7b, 0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x38,0x34,0x34, 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,0x38,0x33,0x34,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,0x38,0x35,0x31, 0x20,0x3d,0x20,0x5f,0x38,0x34,0x34,0x2e,0x78,0x79,0x7a,0x20,0x2f,0x20,0x5f,0x38, 0x34,0x34,0x2e,0x77,0x2e,0x78,0x78,0x78,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x33,0x20,0x5f,0x38,0x36,0x39,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61, 0x74,0x33,0x28,0x28,0x5f,0x38,0x35,0x31,0x2e,0x78,0x20,0x2a,0x20,0x30,0x2e,0x35, 0x66,0x29,0x20,0x2b,0x20,0x30,0x2e,0x35,0x66,0x2c,0x20,0x28,0x28,0x5f,0x38,0x35, 0x31,0x2e,0x79,0x20,0x2a,0x20,0x5f,0x38,0x33,0x34,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,0x38,0x35,0x31,0x2e,0x7a,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x62,0x6f, 0x6f,0x6c,0x20,0x5f,0x38,0x37,0x33,0x20,0x3d,0x20,0x61,0x6e,0x79,0x28,0x62,0x6f, 0x6f,0x6c,0x33,0x28,0x5f,0x38,0x36,0x39,0x2e,0x78,0x20,0x3c,0x20,0x30,0x2e,0x30, 0x66,0x2e,0x78,0x78,0x78,0x2e,0x78,0x2c,0x20,0x5f,0x38,0x36,0x39,0x2e,0x79,0x20, 0x3c,0x20,0x30,0x2e,0x30,0x66,0x2e,0x78,0x78,0x78,0x2e,0x79,0x2c,0x20,0x5f,0x38, 0x36,0x39,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,0x38, 0x38,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x21,0x5f,0x38,0x37, 0x33,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, 0x20,0x5f,0x38,0x38,0x30,0x20,0x3d,0x20,0x61,0x6e,0x79,0x28,0x62,0x6f,0x6f,0x6c, 0x33,0x28,0x5f,0x38,0x36,0x39,0x2e,0x78,0x20,0x3e,0x20,0x31,0x2e,0x30,0x66,0x2e, 0x78,0x78,0x78,0x2e,0x78,0x2c,0x20,0x5f,0x38,0x36,0x39,0x2e,0x79,0x20,0x3e,0x20, 0x31,0x2e,0x30,0x66,0x2e,0x78,0x78,0x78,0x2e,0x79,0x2c,0x20,0x5f,0x38,0x36,0x39, 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,0x38,0x38,0x30,0x20,0x3d,0x20,0x5f,0x38,0x37,0x33,0x3b,0x0a,0x20,0x20,0x20, 0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x5f,0x38,0x38,0x30,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,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,0x38,0x36,0x39,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20, 0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x20,0x3d,0x20,0x6c,0x65,0x72,0x70,0x28,0x30, 0x2e,0x30,0x30,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x31,0x38,0x39,0x39,0x38,0x39, 0x38,0x30,0x35,0x32,0x32,0x31,0x35,0x35,0x37,0x36,0x31,0x37,0x31,0x38,0x37,0x35, 0x66,0x2c,0x20,0x30,0x2e,0x30,0x30,0x30,0x37,0x39,0x39,0x39,0x39,0x39,0x39,0x37, 0x39,0x37,0x39,0x30,0x33,0x30,0x30,0x31,0x33,0x30,0x38,0x34,0x34,0x31,0x31,0x36, 0x32,0x31,0x30,0x39,0x33,0x37,0x35,0x66,0x2c,0x20,0x6d,0x61,0x78,0x28,0x64,0x6f, 0x74,0x28,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x2c,0x20, 0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,0x5f,0x38,0x33,0x34,0x5f,0x73, 0x75,0x6e,0x5f,0x64,0x69,0x72,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2e,0x78,0x79,0x7a, 0x29,0x29,0x2c,0x20,0x30,0x2e,0x30,0x66,0x29,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,0x39,0x31,0x32,0x20,0x3d,0x20,0x5f,0x38,0x36,0x39,0x2e,0x78,0x79,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20, 0x5f,0x39,0x31,0x37,0x20,0x3d,0x20,0x6d,0x69,0x6e,0x28,0x5f,0x39,0x31,0x32,0x2c, 0x20,0x31,0x2e,0x30,0x66,0x2e,0x78,0x78,0x20,0x2d,0x20,0x5f,0x39,0x31,0x32,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,0x39,0x31,0x37,0x2e,0x78, 0x2c,0x20,0x5f,0x39,0x31,0x37,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,0x33,0x20,0x77,0x6f, 0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,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,0x38,0x33,0x34,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,0x38,0x33,0x34,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,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x20,0x3d,0x20,0x77,0x6f, 0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,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,0x39,0x36,0x31,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,0x39,0x36,0x31,0x20,0x3d,0x20,0x5f,0x38,0x33, 0x34,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,0x39,0x36,0x31,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34, 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, 0x39,0x37,0x33,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,0x39,0x37,0x33,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, 0x39,0x37,0x33,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,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,0x39,0x38,0x34,0x20,0x3d,0x20, 0x6c,0x65,0x72,0x70,0x28,0x5f,0x39,0x36,0x31,0x2c,0x20,0x5f,0x39,0x37,0x33,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,0x39,0x38,0x34,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,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35, 0x20,0x3d,0x20,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,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,0x39,0x38,0x34,0x29,0x20,0x2f,0x20,0x28, 0x5f,0x39,0x36,0x31,0x20,0x2d,0x20,0x5f,0x39,0x38,0x34,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,0x31,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,0x32,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,0x31,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,0x31,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,0x32,0x35,0x29, 0x20,0x2a,0x20,0x5f,0x31,0x32,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,0x33,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,0x34,0x35,0x20,0x3d,0x20,0x31,0x2e, 0x30,0x66,0x20,0x2d,0x20,0x5f,0x31,0x33,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,0x34,0x35,0x29,0x20,0x2b,0x20,0x5f,0x31, 0x33,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, 0x34,0x35,0x29,0x20,0x2b,0x20,0x5f,0x31,0x33,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,0x37,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,0x37,0x38, 0x20,0x3d,0x20,0x5f,0x31,0x37,0x34,0x20,0x2a,0x20,0x5f,0x31,0x37,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,0x37,0x38,0x20,0x2a,0x20,0x5f,0x31,0x37,0x38, 0x29,0x20,0x2a,0x20,0x5f,0x31,0x37,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,0x39,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, 0x32,0x30,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,0x32,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,0x32,0x36,0x20,0x3d,0x20,0x5f,0x32,0x32,0x32,0x20,0x2a,0x20, 0x5f,0x32,0x32,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,0x32,0x30,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,0x32,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,0x39,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,0x32,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,0x32,0x30,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,0x35,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,0x35,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,0x35,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, 0x39,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,0x34,0x30,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,0x34,0x30,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,0x31,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,0x32,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,0x39,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,0x31,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,0x32,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,0x32,0x35,0x29,0x20,0x2d,0x20,0x5f,0x34, 0x32,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,0x31,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,0x32,0x35,0x20,0x2a,0x20,0x5f,0x34,0x38,0x39,0x2e,0x78,0x29,0x20, 0x2b,0x20,0x5f,0x34,0x38,0x39,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,0x31,0x30,0x31,0x36,0x20,0x3d,0x20,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69, 0x7a,0x65,0x28,0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61, 0x6c,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x6e, 0x5f,0x77,0x6f,0x72,0x6c,0x64,0x20,0x3d,0x20,0x5f,0x31,0x30,0x31,0x36,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x5f,0x31,0x30,0x32,0x33, 0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,0x5f,0x63,0x61,0x6d,0x65,0x72,0x61,0x5f,0x70, 0x6f,0x73,0x2e,0x78,0x79,0x7a,0x20,0x2d,0x20,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f, 0x70,0x6f,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x64,0x6f,0x74, 0x28,0x5f,0x31,0x30,0x31,0x36,0x2c,0x20,0x5f,0x31,0x30,0x32,0x33,0x29,0x20,0x3c, 0x20,0x30,0x2e,0x30,0x66,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20, 0x20,0x20,0x20,0x20,0x20,0x6e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x20,0x3d,0x20,0x2d, 0x6e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20, 0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x5f,0x38,0x33,0x34,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,0x31, 0x30,0x35,0x34,0x20,0x3d,0x20,0x63,0x6c,0x61,0x6d,0x70,0x28,0x6d,0x75,0x6c,0x28, 0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f, 0x73,0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x2c,0x20,0x5f,0x38,0x33,0x34,0x5f,0x76, 0x69,0x65,0x77,0x29,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,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,0x69,0x66,0x20,0x28,0x5f, 0x38,0x33,0x34,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, 0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x31,0x30,0x37,0x32,0x20,0x3d,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x34,0x28,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73, 0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, 0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x31,0x30,0x37,0x35,0x20,0x3d,0x20,0x2d, 0x6d,0x75,0x6c,0x28,0x5f,0x31,0x30,0x37,0x32,0x2c,0x20,0x5f,0x38,0x33,0x34,0x5f, 0x76,0x69,0x65,0x77,0x29,0x2e,0x7a,0x3b,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,0x31, 0x30,0x37,0x35,0x20,0x3c,0x20,0x5f,0x38,0x33,0x34,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,0x31,0x30,0x37,0x35,0x20,0x3c,0x20,0x5f,0x38,0x33, 0x34,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,0x31,0x30,0x39,0x39,0x20, 0x3d,0x20,0x6d,0x75,0x6c,0x28,0x5f,0x31,0x30,0x37,0x32,0x2c,0x20,0x5f,0x38,0x33, 0x34,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,0x31,0x31, 0x30,0x36,0x20,0x3d,0x20,0x5f,0x31,0x30,0x39,0x39,0x2e,0x78,0x79,0x7a,0x20,0x2f, 0x20,0x5f,0x31,0x30,0x39,0x39,0x2e,0x77,0x2e,0x78,0x78,0x78,0x3b,0x0a,0x20,0x20, 0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x5f,0x31,0x31, 0x32,0x33,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x28,0x5f,0x31,0x31, 0x30,0x36,0x2e,0x78,0x20,0x2a,0x20,0x30,0x2e,0x35,0x66,0x29,0x20,0x2b,0x20,0x30, 0x2e,0x35,0x66,0x2c,0x20,0x28,0x28,0x5f,0x31,0x31,0x30,0x36,0x2e,0x79,0x20,0x2a, 0x20,0x5f,0x38,0x33,0x34,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,0x31,0x31,0x30, 0x36,0x2e,0x7a,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x62,0x6f, 0x6f,0x6c,0x20,0x5f,0x31,0x31,0x32,0x37,0x20,0x3d,0x20,0x61,0x6e,0x79,0x28,0x62, 0x6f,0x6f,0x6c,0x33,0x28,0x5f,0x31,0x31,0x32,0x33,0x2e,0x78,0x20,0x3c,0x20,0x30, 0x2e,0x30,0x66,0x2e,0x78,0x78,0x78,0x2e,0x78,0x2c,0x20,0x5f,0x31,0x31,0x32,0x33, 0x2e,0x79,0x20,0x3c,0x20,0x30,0x2e,0x30,0x66,0x2e,0x78,0x78,0x78,0x2e,0x79,0x2c, 0x20,0x5f,0x31,0x31,0x32,0x33,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,0x31,0x31,0x33,0x34,0x3b,0x0a,0x20,0x20,0x20, 0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x21,0x5f,0x31,0x31,0x32,0x37,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,0x31,0x31,0x33,0x34,0x20,0x3d,0x20,0x61, 0x6e,0x79,0x28,0x62,0x6f,0x6f,0x6c,0x33,0x28,0x5f,0x31,0x31,0x32,0x33,0x2e,0x78, 0x20,0x3e,0x20,0x31,0x2e,0x30,0x66,0x2e,0x78,0x78,0x78,0x2e,0x78,0x2c,0x20,0x5f, 0x31,0x31,0x32,0x33,0x2e,0x79,0x20,0x3e,0x20,0x31,0x2e,0x30,0x66,0x2e,0x78,0x78, 0x78,0x2e,0x79,0x2c,0x20,0x5f,0x31,0x31,0x32,0x33,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,0x31,0x31,0x33,0x34,0x20, 0x3d,0x20,0x5f,0x31,0x31,0x32,0x37,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,0x31,0x31,0x33,0x34,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,0x38,0x33,0x34,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,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65, 0x28,0x6d,0x75,0x6c,0x28,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x6e,0x5f,0x77,0x6f, 0x72,0x6c,0x64,0x2c,0x20,0x30,0x2e,0x30,0x66,0x29,0x2c,0x20,0x5f,0x38,0x33,0x34, 0x5f,0x76,0x69,0x65,0x77,0x29,0x2e,0x78,0x79,0x7a,0x29,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,0x31,0x39,0x37,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,0x32,0x30,0x35,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,0x31,0x39,0x37,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,0x32,0x30,0x36,0x20,0x3d,0x20,0x5f,0x31,0x32,0x30, 0x35,0x2e,0x78,0x3b,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x5f,0x38,0x33, 0x34,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,0x32,0x30,0x36,0x2c,0x20,0x5f,0x31,0x32,0x30,0x36,0x2c,0x20,0x5f, 0x31,0x32,0x30,0x36,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,0x62,0x61, 0x73,0x65,0x43,0x6f,0x6c,0x6f,0x72,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, 0x69,0x66,0x20,0x28,0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,0x69,0x61,0x6c,0x2e,0x7a, 0x20,0x3e,0x20,0x30,0x2e,0x35,0x66,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b,0x0a,0x20, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x70,0x61, 0x72,0x61,0x6d,0x20,0x3d,0x20,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73, 0x2e,0x78,0x7a,0x20,0x2b,0x20,0x5f,0x38,0x33,0x34,0x5f,0x67,0x72,0x69,0x64,0x5f, 0x6f,0x66,0x66,0x73,0x65,0x74,0x2e,0x78,0x79,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20, 0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f, 0x31,0x20,0x3d,0x20,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x2e,0x78, 0x7a,0x20,0x2b,0x20,0x5f,0x38,0x33,0x34,0x5f,0x67,0x72,0x69,0x64,0x5f,0x6f,0x66, 0x66,0x73,0x65,0x74,0x2e,0x7a,0x77,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,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2e,0x78, 0x79,0x7a,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,0x76,0x5f,0x6d,0x61, 0x74,0x65,0x72,0x69,0x61,0x6c,0x2e,0x77,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, 0x20,0x20,0x62,0x61,0x73,0x65,0x43,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x6c,0x65, 0x72,0x70,0x28,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2e, 0x78,0x79,0x7a,0x2c,0x20,0x70,0x72,0x6f,0x63,0x65,0x64,0x75,0x72,0x61,0x6c,0x47, 0x72,0x69,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,0x70,0x61,0x72, 0x61,0x6d,0x5f,0x33,0x29,0x2c,0x20,0x70,0x6f,0x77,0x28,0x63,0x6c,0x61,0x6d,0x70, 0x28,0x6e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2e,0x79,0x2c,0x20,0x30,0x2e,0x30,0x66, 0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x2c,0x20,0x38,0x2e,0x30,0x66,0x29,0x2e,0x78, 0x78,0x78,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x34,0x20,0x3d,0x20, 0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x20,0x3d, 0x20,0x6e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x36,0x20,0x3d,0x20,0x2d,0x6d, 0x75,0x6c,0x28,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x76,0x5f,0x76,0x69,0x65,0x77, 0x5f,0x70,0x6f,0x73,0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x2c,0x20,0x5f,0x38,0x33, 0x34,0x5f,0x76,0x69,0x65,0x77,0x29,0x2e,0x7a,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x33,0x20,0x5f,0x31,0x33,0x30,0x35,0x20,0x3d,0x20,0x6e,0x6f, 0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,0x5f,0x31,0x30,0x32,0x33,0x29,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d, 0x5f,0x37,0x20,0x3d,0x20,0x6e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x3b,0x0a,0x20,0x20, 0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x38, 0x20,0x3d,0x20,0x5f,0x31,0x33,0x30,0x35,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x39,0x20,0x3d,0x20,0x6e, 0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,0x5f,0x38,0x33,0x34,0x5f,0x73,0x75, 0x6e,0x5f,0x64,0x69,0x72,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2e,0x78,0x79,0x7a,0x29, 0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72, 0x61,0x6d,0x5f,0x31,0x30,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,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,0x5f,0x34,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d, 0x5f,0x35,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x36,0x29,0x3b,0x0a,0x20,0x20, 0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31, 0x31,0x20,0x3d,0x20,0x62,0x61,0x73,0x65,0x43,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20, 0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31, 0x32,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,0x33,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,0x34,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,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,0x35,0x20,0x3d,0x20,0x6e,0x5f,0x77,0x6f,0x72,0x6c,0x64, 0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72, 0x61,0x6d,0x5f,0x31,0x36,0x20,0x3d,0x20,0x5f,0x31,0x33,0x30,0x35,0x3b,0x0a,0x20, 0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f, 0x31,0x37,0x20,0x3d,0x20,0x62,0x61,0x73,0x65,0x43,0x6f,0x6c,0x6f,0x72,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f, 0x31,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,0x31,0x39,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,0x32,0x30,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,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,0x32,0x31, 0x5b,0x39,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32, 0x31,0x5b,0x30,0x5d,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,0x5f,0x73,0x68,0x5b,0x30, 0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31,0x5b, 0x31,0x5d,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,0x5f,0x73,0x68,0x5b,0x31,0x5d,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31,0x5b,0x32,0x5d, 0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,0x5f,0x73,0x68,0x5b,0x32,0x5d,0x3b,0x0a,0x20, 0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31,0x5b,0x33,0x5d,0x20,0x3d, 0x20,0x5f,0x38,0x33,0x34,0x5f,0x73,0x68,0x5b,0x33,0x5d,0x3b,0x0a,0x20,0x20,0x20, 0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31,0x5b,0x34,0x5d,0x20,0x3d,0x20,0x5f, 0x38,0x33,0x34,0x5f,0x73,0x68,0x5b,0x34,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70, 0x61,0x72,0x61,0x6d,0x5f,0x32,0x31,0x5b,0x35,0x5d,0x20,0x3d,0x20,0x5f,0x38,0x33, 0x34,0x5f,0x73,0x68,0x5b,0x35,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72, 0x61,0x6d,0x5f,0x32,0x31,0x5b,0x36,0x5d,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,0x5f, 0x73,0x68,0x5b,0x36,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d, 0x5f,0x32,0x31,0x5b,0x37,0x5d,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,0x5f,0x73,0x68, 0x5b,0x37,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32, 0x31,0x5b,0x38,0x5d,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,0x5f,0x73,0x68,0x5b,0x38, 0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72, 0x61,0x6d,0x5f,0x32,0x32,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,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,0x37,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f, 0x38,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x39,0x2c,0x20,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,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,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,0x70,0x61,0x72,0x61, 0x6d,0x5f,0x31,0x39,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x30,0x2c,0x20, 0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31,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,0x32,0x32,0x29,0x20,0x2a,0x20,0x5f,0x31, 0x32,0x30,0x36,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,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x20, 0x3d,0x20,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x70,0x75,0x74,0x2e,0x76,0x5f, 0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,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,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 #include using namespace metal; struct instance { float4 xform_row0; float4 xform_row1; float4 xform_row2; float4 base_color; float4 scale; float4 material; }; struct instances { instance items[1]; }; struct ub_draw { int4 inst_base; }; struct ub_frame { float4x4 view_proj; }; struct main0_out { float3 v_view_pos [[user(locn0)]]; float3 v_world_normal [[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)]]; float3 in_normal [[attribute(1)]]; }; vertex main0_out main0(main0_in in [[stage_in]], constant ub_frame& _125 [[buffer(0)]], constant ub_draw& _21 [[buffer(2)]], const device instances& _15 [[buffer(8)]], uint gl_InstanceIndex [[instance_id]]) { main0_out out = {}; int _30 = _21.inst_base.x + int(gl_InstanceIndex); float4 _68 = float4(in.in_pos * _15.items[_30].scale.xyz, 1.0); float _73 = dot(_15.items[_30].xform_row0, _68); float _77 = dot(_15.items[_30].xform_row1, _68); float _81 = dot(_15.items[_30].xform_row2, _68); float3 _89 = in.in_normal / _15.items[_30].scale.xyz; out.v_world_normal = float3(dot(_15.items[_30].xform_row0.xyz, _89), dot(_15.items[_30].xform_row1.xyz, _89), dot(_15.items[_30].xform_row2.xyz, _89)); out.v_base_color = _15.items[_30].base_color; out.v_material = _15.items[_30].material; out.gl_Position = _125.view_proj * float4(_73, _77, _81, 1.0); out.v_view_pos = float3(_73, _77, _81); return out; } */ static const uint8_t geom_vs_source_metal_macos[1633] = { 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,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,0x73,0x63,0x61,0x6c,0x65,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,0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65, 0x73,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x69,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65, 0x20,0x69,0x74,0x65,0x6d,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,0x5f,0x70,0x72,0x6f,0x6a, 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,0x6e,0x6f,0x72,0x6d,0x61,0x6c,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,0x20,0x20,0x20,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x33,0x20,0x69,0x6e,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x20,0x5b, 0x5b,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x28,0x31,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,0x31,0x32,0x35,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,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,0x36,0x38,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x69,0x6e,0x2e, 0x69,0x6e,0x5f,0x70,0x6f,0x73,0x20,0x2a,0x20,0x5f,0x31,0x35,0x2e,0x69,0x74,0x65, 0x6d,0x73,0x5b,0x5f,0x33,0x30,0x5d,0x2e,0x73,0x63,0x61,0x6c,0x65,0x2e,0x78,0x79, 0x7a,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f, 0x61,0x74,0x20,0x5f,0x37,0x33,0x20,0x3d,0x20,0x64,0x6f,0x74,0x28,0x5f,0x31,0x35, 0x2e,0x69,0x74,0x65,0x6d,0x73,0x5b,0x5f,0x33,0x30,0x5d,0x2e,0x78,0x66,0x6f,0x72, 0x6d,0x5f,0x72,0x6f,0x77,0x30,0x2c,0x20,0x5f,0x36,0x38,0x29,0x3b,0x0a,0x20,0x20, 0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x37,0x37,0x20,0x3d,0x20,0x64,0x6f, 0x74,0x28,0x5f,0x31,0x35,0x2e,0x69,0x74,0x65,0x6d,0x73,0x5b,0x5f,0x33,0x30,0x5d, 0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x31,0x2c,0x20,0x5f,0x36,0x38, 0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x38,0x31, 0x20,0x3d,0x20,0x64,0x6f,0x74,0x28,0x5f,0x31,0x35,0x2e,0x69,0x74,0x65,0x6d,0x73, 0x5b,0x5f,0x33,0x30,0x5d,0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x32, 0x2c,0x20,0x5f,0x36,0x38,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61, 0x74,0x33,0x20,0x5f,0x38,0x39,0x20,0x3d,0x20,0x69,0x6e,0x2e,0x69,0x6e,0x5f,0x6e, 0x6f,0x72,0x6d,0x61,0x6c,0x20,0x2f,0x20,0x5f,0x31,0x35,0x2e,0x69,0x74,0x65,0x6d, 0x73,0x5b,0x5f,0x33,0x30,0x5d,0x2e,0x73,0x63,0x61,0x6c,0x65,0x2e,0x78,0x79,0x7a, 0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x76,0x5f,0x77,0x6f,0x72,0x6c, 0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74, 0x33,0x28,0x64,0x6f,0x74,0x28,0x5f,0x31,0x35,0x2e,0x69,0x74,0x65,0x6d,0x73,0x5b, 0x5f,0x33,0x30,0x5d,0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x30,0x2e, 0x78,0x79,0x7a,0x2c,0x20,0x5f,0x38,0x39,0x29,0x2c,0x20,0x64,0x6f,0x74,0x28,0x5f, 0x31,0x35,0x2e,0x69,0x74,0x65,0x6d,0x73,0x5b,0x5f,0x33,0x30,0x5d,0x2e,0x78,0x66, 0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77,0x31,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x38, 0x39,0x29,0x2c,0x20,0x64,0x6f,0x74,0x28,0x5f,0x31,0x35,0x2e,0x69,0x74,0x65,0x6d, 0x73,0x5b,0x5f,0x33,0x30,0x5d,0x2e,0x78,0x66,0x6f,0x72,0x6d,0x5f,0x72,0x6f,0x77, 0x32,0x2e,0x78,0x79,0x7a,0x2c,0x20,0x5f,0x38,0x39,0x29,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,0x74,0x65,0x6d,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,0x74,0x65,0x6d,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,0x31,0x32,0x35,0x2e,0x76,0x69,0x65,0x77,0x5f,0x70,0x72, 0x6f,0x6a,0x20,0x2a,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x5f,0x37,0x33,0x2c, 0x20,0x5f,0x37,0x37,0x2c,0x20,0x5f,0x38,0x31,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,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x5f,0x37,0x33, 0x2c,0x20,0x5f,0x37,0x37,0x2c,0x20,0x5f,0x38,0x31,0x29,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 #include using namespace metal; template 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_world; float4 sun_color; int4 flags; float4 camera_pos; float4 grid_offset; float4x4 view; float4 cascade_far_view_z; float4x4 cascade_matrices[3]; 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_normal [[user(locn1)]]; float4 v_base_color [[user(locn2), flat]]; float4 v_material [[user(locn3), flat]]; }; static inline __attribute__((always_inline)) float3 proceduralGrid(thread const float2& line_xz, thread const float2& axis_xz, thread const float3& base_color, thread const float& cell_size) { float2 _536 = line_xz / float2(cell_size); float2 _552 = abs(fract(_536 - float2(0.5)) - float2(0.5)) / fast::max(fwidth(_536), float2(9.9999999747524270787835121154785e-07)); float2 _567 = line_xz / float2(cell_size * 10.0); float2 _581 = abs(fract(_567 - float2(0.5)) - float2(0.5)) / fast::max(fwidth(_567), float2(9.9999999747524270787835121154785e-07)); float2 _612 = fast::max(fwidth(axis_xz), float2(9.9999999747524270787835121154785e-07)); return mix(mix(mix(mix(base_color, base_color * 0.699999988079071044921875, float3(1.0 - fast::clamp(fast::min(_552.x, _552.y), 0.0, 1.0))), base_color * 0.3499999940395355224609375, float3(1.0 - fast::clamp(fast::min(_581.x, _581.y), 0.0, 1.0))), float3(1.0, 0.0, 0.0), float3((1.0 - fast::clamp(abs(axis_xz.y) / _612.y, 0.0, 1.0)) * step(0.0, axis_xz.x))), float3(0.0, 0.0, 1.0), float3((1.0 - fast::clamp(abs(axis_xz.x) / _612.x, 0.0, 1.0)) * step(0.0, axis_xz.y))); } static inline __attribute__((always_inline)) float sampleShadowPCF(thread const int& cascade, thread const float3& light_uv, thread const float& bias0, depth2d_array tex_shadow, sampler smp_shadow) { float _656 = float(cascade); float _661 = light_uv.z - bias0; float _677 = light_uv.x - 0.00048828125; float _681 = light_uv.y - 0.00048828125; float4 _684 = float4(_677, _681, _656, _661); float4 _700 = float4(light_uv.x, _681, _656, _661); float _711 = light_uv.x + 0.00048828125; float4 _718 = float4(_711, _681, _656, _661); float4 _734 = float4(_677, light_uv.y, _656, _661); float4 _748 = float4(light_uv.xy, _656, _661); float4 _764 = float4(_711, light_uv.y, _656, _661); float _779 = light_uv.y + 0.00048828125; float4 _782 = float4(_677, _779, _656, _661); float4 _798 = float4(light_uv.x, _779, _656, _661); float4 _816 = float4(_711, _779, _656, _661); return ((((((((tex_shadow.sample_compare(smp_shadow, _684.xy, uint(rint(_684.z)), _661) + tex_shadow.sample_compare(smp_shadow, _700.xy, uint(rint(_700.z)), _661)) + tex_shadow.sample_compare(smp_shadow, _718.xy, uint(rint(_718.z)), _661)) + tex_shadow.sample_compare(smp_shadow, _734.xy, uint(rint(_734.z)), _661)) + tex_shadow.sample_compare(smp_shadow, _748.xy, uint(rint(_748.z)), _661)) + tex_shadow.sample_compare(smp_shadow, _764.xy, uint(rint(_764.z)), _661)) + tex_shadow.sample_compare(smp_shadow, _782.xy, uint(rint(_782.z)), _661)) + tex_shadow.sample_compare(smp_shadow, _798.xy, uint(rint(_798.z)), _661)) + tex_shadow.sample_compare(smp_shadow, _816.xy, uint(rint(_816.z)), _661)) * 0.111111111938953399658203125; } static inline __attribute__((always_inline)) float sampleCascade(thread const int& cascade, thread const float3& world_pos, thread const float3& world_normal, depth2d_array tex_shadow, sampler smp_shadow, constant ub_pass& _834) { float4 _844 = _834.cascade_matrices[cascade] * float4(world_pos, 1.0); float3 _851 = _844.xyz / float3(_844.w); float3 _869 = float3((_851.x * 0.5) + 0.5, ((_851.y * _834.cascade_far_view_z.w) * 0.5) + 0.5, _851.z); bool _873 = any(_869 < float3(0.0)); bool _880; if (!_873) { _880 = any(_869 > float3(1.0)); } else { _880 = _873; } if (_880) { return 1.0; } int param = cascade; float3 param_1 = _869; float param_2 = mix(0.0040000001899898052215576171875, 0.0007999999797903001308441162109375, fast::max(dot(world_normal, fast::normalize(_834.sun_dir_world.xyz)), 0.0)); float pcf = sampleShadowPCF(param, param_1, param_2, tex_shadow, smp_shadow); if (cascade == 2) { float2 _912 = _869.xy; float2 _917 = fast::min(_912, float2(1.0) - _912); pcf = mix(1.0, pcf, fast::clamp(fast::min(_917.x, _917.y) * 10.0, 0.0, 1.0)); } return pcf; } static inline __attribute__((always_inline)) float sampleShadowCascaded(thread const float3& world_pos, thread const float3& world_normal, thread const float& view_z, depth2d_array tex_shadow, sampler smp_shadow, constant ub_pass& _834) { int cascade = 2; if (view_z < _834.cascade_far_view_z.x) { cascade = 0; } else { if (view_z < _834.cascade_far_view_z.y) { cascade = 1; } } int param = cascade; float3 param_1 = world_pos; float3 param_2 = world_normal; float shadow = sampleCascade(param, param_1, param_2, tex_shadow, smp_shadow, _834); if (cascade < 2) { float _961; if (cascade == 0) { _961 = _834.cascade_far_view_z.x; } else { _961 = _834.cascade_far_view_z.y; } float _973; if (cascade == 0) { _973 = 0.0; } else { _973 = _834.cascade_far_view_z.x; } float _984 = mix(_961, _973, 0.100000001490116119384765625); if (view_z > _984) { int param_3 = cascade + 1; float3 param_4 = world_pos; float3 param_5 = world_normal; shadow = mix(shadow, sampleCascade(param_3, param_4, param_5, tex_shadow, smp_shadow, _834), (view_z - _984) / (_961 - _984)); } } return shadow; } static inline __attribute__((always_inline)) float pbrDistributionGGX(thread const float& n_dot_h, thread const float& alpha) { float _116 = alpha * alpha; float _125 = ((n_dot_h * n_dot_h) * (_116 - 1.0)) + 1.0; return _116 / ((3.1415927410125732421875 * _125) * _125); } static inline __attribute__((always_inline)) float pbrVisibilitySmithCorrelated(thread const float& n_dot_v, thread const float& n_dot_l, thread const float& alpha) { float _138 = alpha * alpha; float _145 = 1.0 - _138; return 0.5 / (((n_dot_l * sqrt(((n_dot_v * n_dot_v) * _145) + _138)) + (n_dot_v * sqrt(((n_dot_l * n_dot_l) * _145) + _138))) + 9.9999997473787516355514526367188e-06); } static inline __attribute__((always_inline)) float3 pbrFresnelSchlick(thread const float& v_dot_h, thread const float3& f0) { float _174 = 1.0 - v_dot_h; float _178 = _174 * _174; return f0 + ((float3(1.0) - f0) * ((_178 * _178) * _174)); } 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 _197 = fast::max(dot(N, L), 0.0); float3 _208 = fast::normalize(V + L); float _222 = fast::max(roughness, 0.04500000178813934326171875); float _226 = _222 * _222; float param = fast::max(dot(N, _208), 0.0); float param_1 = _226; float param_2 = fast::max(dot(N, V), 9.9999997473787516355514526367188e-05); float param_3 = _197; float param_4 = _226; float param_5 = fast::max(dot(V, _208), 0.0); float3 param_6 = mix(float3(0.039999999105930328369140625), base_color, float3(metallic)); float3 _253 = pbrFresnelSchlick(param_5, param_6); return ((((((float3(1.0) - _253) * (1.0 - metallic)) * base_color) * float3(0.3183098733425140380859375)) + (_253 * (pbrDistributionGGX(param, param_1) * pbrVisibilitySmithCorrelated(param_2, param_3, param_4)))) * sun_radiance) * _197; } static inline __attribute__((always_inline)) float3 pbrEvaluateShIrradiance(thread const float3& N, thread const spvUnsafeArray& sh) { float3 _408 = ((((((((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 _408; } 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& sh, texturecube tex_spec_cube, sampler smp_spec_cube, texture2d tex_brdf_lut, sampler smp_brdf_lut, thread const float& max_lod) { float _415 = fast::clamp(dot(N_world, V_world), 9.9999997473787516355514526367188e-05, 1.0); float3 _425 = mix(float3(0.039999999105930328369140625), base_color, float3(metallic)); float3 param = N_world; spvUnsafeArray param_1 = sh; float4 _489 = tex_brdf_lut.sample(smp_brdf_lut, float2(_415, roughness)); return (((((float3(1.0) - (_425 + ((fast::max(float3(1.0 - roughness), _425) - _425) * powr(fast::max(0.0, 1.0 - _415), 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 * ((_425 * _489.x) + float3(_489.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& sh, texturecube tex_spec_cube, sampler smp_spec_cube, texture2d 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 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& _834 [[buffer(1)]], depth2d_array tex_shadow [[texture(0)]], texturecube tex_ibl_spec [[texture(1)]], texture2d tex_brdf_lut [[texture(2)]], texture2d 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 _1016 = fast::normalize(in.v_world_normal); float3 n_world = _1016; float3 _1023 = _834.camera_pos.xyz - in.v_view_pos; if (dot(_1016, _1023) < 0.0) { n_world = -n_world; } if (_834.flags.x == 1) { float _1054 = fast::clamp((_834.view * float4(in.v_view_pos, 1.0)).z * (-0.0199999995529651641845703125), 0.0, 1.0); out.out_color = float4(_1054, _1054, _1054, 1.0); return out; } if (_834.flags.x == 2) { float4 _1072 = float4(in.v_view_pos, 1.0); float _1075 = -(_834.view * _1072).z; int cascade = 2; if (_1075 < _834.cascade_far_view_z.x) { cascade = 0; } else { if (_1075 < _834.cascade_far_view_z.y) { cascade = 1; } } float4 _1099 = _834.cascade_matrices[cascade] * _1072; float3 _1106 = _1099.xyz / float3(_1099.w); float3 _1123 = float3((_1106.x * 0.5) + 0.5, ((_1106.y * _834.cascade_far_view_z.w) * 0.5) + 0.5, _1106.z); bool _1127 = any(_1123 < float3(0.0)); bool _1134; if (!_1127) { _1134 = any(_1123 > float3(1.0)); } else { _1134 = _1127; } float3 tint = float3(1.0); if (!_1134) { 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 (_834.flags.x == 3) { out.out_color = float4((fast::normalize((_834.view * float4(n_world, 0.0)).xyz) * 0.5) + float3(0.5), 1.0); return out; } float4 _1205 = tex_ao.sample(smp_ao, (gl_FragCoord.xy / float2(int2(tex_ao.get_width(), tex_ao.get_height()))), level(0.0)); float _1206 = _1205.x; if (_834.flags.x == 4) { out.out_color = float4(_1206, _1206, _1206, 1.0); return out; } float3 baseColor = in.v_base_color.xyz; if (in.v_material.z > 0.5) { float2 param = in.v_view_pos.xz + _834.grid_offset.xy; float2 param_1 = in.v_view_pos.xz + _834.grid_offset.zw; float3 param_2 = in.v_base_color.xyz; float param_3 = in.v_material.w; baseColor = mix(in.v_base_color.xyz, proceduralGrid(param, param_1, param_2, param_3), float3(powr(fast::clamp(n_world.y, 0.0, 1.0), 8.0))); } float3 param_4 = in.v_view_pos; float3 param_5 = n_world; float param_6 = -(_834.view * float4(in.v_view_pos, 1.0)).z; float3 _1305 = fast::normalize(_1023); float3 param_7 = n_world; float3 param_8 = _1305; float3 param_9 = fast::normalize(_834.sun_dir_world.xyz); float3 param_10 = _834.sun_color.xyz * sampleShadowCascaded(param_4, param_5, param_6, tex_shadow, smp_shadow, _834); float3 param_11 = baseColor; float param_12 = in.v_material.x; float param_13 = in.v_material.y; bool param_14 = _834.ibl_params.y > 0.5; float3 param_15 = n_world; float3 param_16 = _1305; float3 param_17 = baseColor; float param_18 = in.v_material.x; float param_19 = in.v_material.y; float param_20 = _834.sun_color.w; spvUnsafeArray param_21; param_21[0] = _834.sh[0]; param_21[1] = _834.sh[1]; param_21[2] = _834.sh[2]; param_21[3] = _834.sh[3]; param_21[4] = _834.sh[4]; param_21[5] = _834.sh[5]; param_21[6] = _834.sh[6]; param_21[7] = _834.sh[7]; param_21[8] = _834.sh[8]; float param_22 = _834.ibl_params.x; out.out_color = float4((brdf_evaluate(param_7, param_8, param_9, param_10, param_11, param_12, param_13) + (pbrEvaluateAmbient(param_14, param_15, param_16, param_17, param_18, param_19, param_20, param_21, tex_ibl_spec, smp_ibl_spec, tex_brdf_lut, smp_brdf_lut, param_22) * _1206)) * in.v_base_color.w, in.v_base_color.w); return out; } */ static const uint8_t geom_fs_source_metal_macos[16696] = { 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,0x77,0x6f,0x72,0x6c,0x64,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,0x6d,0x65,0x72,0x61,0x5f, 0x70,0x6f,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20, 0x67,0x72,0x69,0x64,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,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,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,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,0x6e,0x6f,0x72,0x6d,0x61,0x6c,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,0x33,0x20, 0x70,0x72,0x6f,0x63,0x65,0x64,0x75,0x72,0x61,0x6c,0x47,0x72,0x69,0x64,0x28,0x74, 0x68,0x72,0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61, 0x74,0x32,0x26,0x20,0x6c,0x69,0x6e,0x65,0x5f,0x78,0x7a,0x2c,0x20,0x74,0x68,0x72, 0x65,0x61,0x64,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32, 0x26,0x20,0x61,0x78,0x69,0x73,0x5f,0x78,0x7a,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, 0x63,0x65,0x6c,0x6c,0x5f,0x73,0x69,0x7a,0x65,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20, 0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x5f,0x35,0x33,0x36,0x20,0x3d,0x20,0x6c, 0x69,0x6e,0x65,0x5f,0x78,0x7a,0x20,0x2f,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x28, 0x63,0x65,0x6c,0x6c,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x5f,0x35,0x35,0x32,0x20,0x3d,0x20,0x61,0x62, 0x73,0x28,0x66,0x72,0x61,0x63,0x74,0x28,0x5f,0x35,0x33,0x36,0x20,0x2d,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x32,0x28,0x30,0x2e,0x35,0x29,0x29,0x20,0x2d,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x32,0x28,0x30,0x2e,0x35,0x29,0x29,0x20,0x2f,0x20,0x66,0x61,0x73, 0x74,0x3a,0x3a,0x6d,0x61,0x78,0x28,0x66,0x77,0x69,0x64,0x74,0x68,0x28,0x5f,0x35, 0x33,0x36,0x29,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x28,0x39,0x2e,0x39,0x39, 0x39,0x39,0x39,0x39,0x39,0x37,0x34,0x37,0x35,0x32,0x34,0x32,0x37,0x30,0x37,0x38, 0x37,0x38,0x33,0x35,0x31,0x32,0x31,0x31,0x35,0x34,0x37,0x38,0x35,0x65,0x2d,0x30, 0x37,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20, 0x5f,0x35,0x36,0x37,0x20,0x3d,0x20,0x6c,0x69,0x6e,0x65,0x5f,0x78,0x7a,0x20,0x2f, 0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x28,0x63,0x65,0x6c,0x6c,0x5f,0x73,0x69,0x7a, 0x65,0x20,0x2a,0x20,0x31,0x30,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x32,0x20,0x5f,0x35,0x38,0x31,0x20,0x3d,0x20,0x61,0x62,0x73, 0x28,0x66,0x72,0x61,0x63,0x74,0x28,0x5f,0x35,0x36,0x37,0x20,0x2d,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x32,0x28,0x30,0x2e,0x35,0x29,0x29,0x20,0x2d,0x20,0x66,0x6c,0x6f, 0x61,0x74,0x32,0x28,0x30,0x2e,0x35,0x29,0x29,0x20,0x2f,0x20,0x66,0x61,0x73,0x74, 0x3a,0x3a,0x6d,0x61,0x78,0x28,0x66,0x77,0x69,0x64,0x74,0x68,0x28,0x5f,0x35,0x36, 0x37,0x29,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x28,0x39,0x2e,0x39,0x39,0x39, 0x39,0x39,0x39,0x39,0x37,0x34,0x37,0x35,0x32,0x34,0x32,0x37,0x30,0x37,0x38,0x37, 0x38,0x33,0x35,0x31,0x32,0x31,0x31,0x35,0x34,0x37,0x38,0x35,0x65,0x2d,0x30,0x37, 0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x5f, 0x36,0x31,0x32,0x20,0x3d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x6d,0x61,0x78,0x28, 0x66,0x77,0x69,0x64,0x74,0x68,0x28,0x61,0x78,0x69,0x73,0x5f,0x78,0x7a,0x29,0x2c, 0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x28,0x39,0x2e,0x39,0x39,0x39,0x39,0x39,0x39, 0x39,0x37,0x34,0x37,0x35,0x32,0x34,0x32,0x37,0x30,0x37,0x38,0x37,0x38,0x33,0x35, 0x31,0x32,0x31,0x31,0x35,0x34,0x37,0x38,0x35,0x65,0x2d,0x30,0x37,0x29,0x29,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6d,0x69,0x78,0x28, 0x6d,0x69,0x78,0x28,0x6d,0x69,0x78,0x28,0x6d,0x69,0x78,0x28,0x62,0x61,0x73,0x65, 0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x2c,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c, 0x6f,0x72,0x20,0x2a,0x20,0x30,0x2e,0x36,0x39,0x39,0x39,0x39,0x39,0x39,0x38,0x38, 0x30,0x37,0x39,0x30,0x37,0x31,0x30,0x34,0x34,0x39,0x32,0x31,0x38,0x37,0x35,0x2c, 0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x31,0x2e,0x30,0x20,0x2d,0x20,0x66,0x61, 0x73,0x74,0x3a,0x3a,0x63,0x6c,0x61,0x6d,0x70,0x28,0x66,0x61,0x73,0x74,0x3a,0x3a, 0x6d,0x69,0x6e,0x28,0x5f,0x35,0x35,0x32,0x2e,0x78,0x2c,0x20,0x5f,0x35,0x35,0x32, 0x2e,0x79,0x29,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x29,0x29, 0x2c,0x20,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x2a,0x20,0x30, 0x2e,0x33,0x34,0x39,0x39,0x39,0x39,0x39,0x39,0x34,0x30,0x33,0x39,0x35,0x33,0x35, 0x35,0x32,0x32,0x34,0x36,0x30,0x39,0x33,0x37,0x35,0x2c,0x20,0x66,0x6c,0x6f,0x61, 0x74,0x33,0x28,0x31,0x2e,0x30,0x20,0x2d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x63, 0x6c,0x61,0x6d,0x70,0x28,0x66,0x61,0x73,0x74,0x3a,0x3a,0x6d,0x69,0x6e,0x28,0x5f, 0x35,0x38,0x31,0x2e,0x78,0x2c,0x20,0x5f,0x35,0x38,0x31,0x2e,0x79,0x29,0x2c,0x20, 0x30,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x29,0x29,0x2c,0x20,0x66,0x6c,0x6f, 0x61,0x74,0x33,0x28,0x31,0x2e,0x30,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20,0x30,0x2e, 0x30,0x29,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x28,0x31,0x2e,0x30,0x20, 0x2d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x63,0x6c,0x61,0x6d,0x70,0x28,0x61,0x62, 0x73,0x28,0x61,0x78,0x69,0x73,0x5f,0x78,0x7a,0x2e,0x79,0x29,0x20,0x2f,0x20,0x5f, 0x36,0x31,0x32,0x2e,0x79,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x29, 0x29,0x20,0x2a,0x20,0x73,0x74,0x65,0x70,0x28,0x30,0x2e,0x30,0x2c,0x20,0x61,0x78, 0x69,0x73,0x5f,0x78,0x7a,0x2e,0x78,0x29,0x29,0x29,0x2c,0x20,0x66,0x6c,0x6f,0x61, 0x74,0x33,0x28,0x30,0x2e,0x30,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30, 0x29,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x28,0x31,0x2e,0x30,0x20,0x2d, 0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x63,0x6c,0x61,0x6d,0x70,0x28,0x61,0x62,0x73, 0x28,0x61,0x78,0x69,0x73,0x5f,0x78,0x7a,0x2e,0x78,0x29,0x20,0x2f,0x20,0x5f,0x36, 0x31,0x32,0x2e,0x78,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x29, 0x20,0x2a,0x20,0x73,0x74,0x65,0x70,0x28,0x30,0x2e,0x30,0x2c,0x20,0x61,0x78,0x69, 0x73,0x5f,0x78,0x7a,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, 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,0x36,0x35,0x36,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,0x36,0x36,0x31,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,0x36,0x37, 0x37,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,0x36,0x38,0x31,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,0x36,0x38,0x34,0x20,0x3d,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x34,0x28,0x5f,0x36,0x37,0x37,0x2c,0x20,0x5f,0x36,0x38,0x31, 0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c,0x20,0x5f,0x36,0x36,0x31,0x29,0x3b,0x0a,0x20, 0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x37,0x30,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,0x38,0x31,0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c,0x20, 0x5f,0x36,0x36,0x31,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74, 0x20,0x5f,0x37,0x31,0x31,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, 0x37,0x31,0x38,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x5f,0x37,0x31, 0x31,0x2c,0x20,0x5f,0x36,0x38,0x31,0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c,0x20,0x5f, 0x36,0x36,0x31,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34, 0x20,0x5f,0x37,0x33,0x34,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x5f, 0x36,0x37,0x37,0x2c,0x20,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x79,0x2c, 0x20,0x5f,0x36,0x35,0x36,0x2c,0x20,0x5f,0x36,0x36,0x31,0x29,0x3b,0x0a,0x20,0x20, 0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x37,0x34,0x38,0x20,0x3d,0x20, 0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e, 0x78,0x79,0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c,0x20,0x5f,0x36,0x36,0x31,0x29,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x37,0x36,0x34, 0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x5f,0x37,0x31,0x31,0x2c,0x20, 0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x79,0x2c,0x20,0x5f,0x36,0x35,0x36, 0x2c,0x20,0x5f,0x36,0x36,0x31,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f, 0x61,0x74,0x20,0x5f,0x37,0x37,0x39,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,0x37,0x38,0x32,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x5f, 0x36,0x37,0x37,0x2c,0x20,0x5f,0x37,0x37,0x39,0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c, 0x20,0x5f,0x36,0x36,0x31,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61, 0x74,0x34,0x20,0x5f,0x37,0x39,0x38,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34, 0x28,0x6c,0x69,0x67,0x68,0x74,0x5f,0x75,0x76,0x2e,0x78,0x2c,0x20,0x5f,0x37,0x37, 0x39,0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c,0x20,0x5f,0x36,0x36,0x31,0x29,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x38,0x31,0x36,0x20, 0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x5f,0x37,0x31,0x31,0x2c,0x20,0x5f, 0x37,0x37,0x39,0x2c,0x20,0x5f,0x36,0x35,0x36,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x36,0x38,0x34,0x2e, 0x78,0x79,0x2c,0x20,0x75,0x69,0x6e,0x74,0x28,0x72,0x69,0x6e,0x74,0x28,0x5f,0x36, 0x38,0x34,0x2e,0x7a,0x29,0x29,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x37,0x30,0x30,0x2e,0x78,0x79,0x2c,0x20,0x75, 0x69,0x6e,0x74,0x28,0x72,0x69,0x6e,0x74,0x28,0x5f,0x37,0x30,0x30,0x2e,0x7a,0x29, 0x29,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x37,0x31,0x38,0x2e,0x78,0x79,0x2c,0x20,0x75,0x69,0x6e,0x74,0x28, 0x72,0x69,0x6e,0x74,0x28,0x5f,0x37,0x31,0x38,0x2e,0x7a,0x29,0x29,0x2c,0x20,0x5f, 0x36,0x36,0x31,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,0x37, 0x33,0x34,0x2e,0x78,0x79,0x2c,0x20,0x75,0x69,0x6e,0x74,0x28,0x72,0x69,0x6e,0x74, 0x28,0x5f,0x37,0x33,0x34,0x2e,0x7a,0x29,0x29,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x37,0x34,0x38,0x2e,0x78, 0x79,0x2c,0x20,0x75,0x69,0x6e,0x74,0x28,0x72,0x69,0x6e,0x74,0x28,0x5f,0x37,0x34, 0x38,0x2e,0x7a,0x29,0x29,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x37,0x36,0x34,0x2e,0x78,0x79,0x2c,0x20,0x75, 0x69,0x6e,0x74,0x28,0x72,0x69,0x6e,0x74,0x28,0x5f,0x37,0x36,0x34,0x2e,0x7a,0x29, 0x29,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x37,0x38,0x32,0x2e,0x78,0x79,0x2c,0x20,0x75,0x69,0x6e,0x74,0x28, 0x72,0x69,0x6e,0x74,0x28,0x5f,0x37,0x38,0x32,0x2e,0x7a,0x29,0x29,0x2c,0x20,0x5f, 0x36,0x36,0x31,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,0x37, 0x39,0x38,0x2e,0x78,0x79,0x2c,0x20,0x75,0x69,0x6e,0x74,0x28,0x72,0x69,0x6e,0x74, 0x28,0x5f,0x37,0x39,0x38,0x2e,0x7a,0x29,0x29,0x2c,0x20,0x5f,0x36,0x36,0x31,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,0x38,0x31,0x36,0x2e,0x78, 0x79,0x2c,0x20,0x75,0x69,0x6e,0x74,0x28,0x72,0x69,0x6e,0x74,0x28,0x5f,0x38,0x31, 0x36,0x2e,0x7a,0x29,0x29,0x2c,0x20,0x5f,0x36,0x36,0x31,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, 0x33,0x26,0x20,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,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,0x38,0x33,0x34,0x29,0x0a,0x7b,0x0a, 0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x38,0x34,0x34,0x20, 0x3d,0x20,0x5f,0x38,0x33,0x34,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,0x38,0x35,0x31,0x20,0x3d,0x20,0x5f,0x38,0x34, 0x34,0x2e,0x78,0x79,0x7a,0x20,0x2f,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x5f, 0x38,0x34,0x34,0x2e,0x77,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61, 0x74,0x33,0x20,0x5f,0x38,0x36,0x39,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33, 0x28,0x28,0x5f,0x38,0x35,0x31,0x2e,0x78,0x20,0x2a,0x20,0x30,0x2e,0x35,0x29,0x20, 0x2b,0x20,0x30,0x2e,0x35,0x2c,0x20,0x28,0x28,0x5f,0x38,0x35,0x31,0x2e,0x79,0x20, 0x2a,0x20,0x5f,0x38,0x33,0x34,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,0x38,0x35,0x31,0x2e, 0x7a,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x5f,0x38,0x37, 0x33,0x20,0x3d,0x20,0x61,0x6e,0x79,0x28,0x5f,0x38,0x36,0x39,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,0x38,0x38,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x69,0x66,0x20,0x28,0x21,0x5f,0x38,0x37,0x33,0x29,0x0a,0x20,0x20,0x20,0x20,0x7b, 0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x5f,0x38,0x38,0x30,0x20,0x3d,0x20, 0x61,0x6e,0x79,0x28,0x5f,0x38,0x36,0x39,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,0x38,0x38,0x30,0x20,0x3d,0x20,0x5f,0x38,0x37, 0x33,0x3b,0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20, 0x28,0x5f,0x38,0x38,0x30,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,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,0x38,0x36,0x39,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x20,0x3d,0x20,0x6d, 0x69,0x78,0x28,0x30,0x2e,0x30,0x30,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x31,0x38, 0x39,0x39,0x38,0x39,0x38,0x30,0x35,0x32,0x32,0x31,0x35,0x35,0x37,0x36,0x31,0x37, 0x31,0x38,0x37,0x35,0x2c,0x20,0x30,0x2e,0x30,0x30,0x30,0x37,0x39,0x39,0x39,0x39, 0x39,0x39,0x37,0x39,0x37,0x39,0x30,0x33,0x30,0x30,0x31,0x33,0x30,0x38,0x34,0x34, 0x31,0x31,0x36,0x32,0x31,0x30,0x39,0x33,0x37,0x35,0x2c,0x20,0x66,0x61,0x73,0x74, 0x3a,0x3a,0x6d,0x61,0x78,0x28,0x64,0x6f,0x74,0x28,0x77,0x6f,0x72,0x6c,0x64,0x5f, 0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x2c,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x6e,0x6f, 0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,0x5f,0x38,0x33,0x34,0x2e,0x73,0x75,0x6e, 0x5f,0x64,0x69,0x72,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2e,0x78,0x79,0x7a,0x29,0x29, 0x2c,0x20,0x30,0x2e,0x30,0x29,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,0x39,0x31,0x32,0x20,0x3d,0x20,0x5f,0x38,0x36, 0x39,0x2e,0x78,0x79,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x32,0x20,0x5f,0x39,0x31,0x37,0x20,0x3d,0x20,0x66,0x61,0x73,0x74, 0x3a,0x3a,0x6d,0x69,0x6e,0x28,0x5f,0x39,0x31,0x32,0x2c,0x20,0x66,0x6c,0x6f,0x61, 0x74,0x32,0x28,0x31,0x2e,0x30,0x29,0x20,0x2d,0x20,0x5f,0x39,0x31,0x32,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,0x39,0x31,0x37,0x2e,0x78,0x2c,0x20,0x5f,0x39,0x31,0x37,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,0x33,0x26,0x20,0x77,0x6f,0x72, 0x6c,0x64,0x5f,0x6e,0x6f,0x72,0x6d,0x61,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,0x38, 0x33,0x34,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,0x38,0x33,0x34, 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,0x38,0x33,0x34, 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,0x33,0x20,0x70,0x61, 0x72,0x61,0x6d,0x5f,0x32,0x20,0x3d,0x20,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f, 0x72,0x6d,0x61,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,0x38,0x33,0x34,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,0x39,0x36,0x31,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,0x39, 0x36,0x31,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,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,0x39,0x36, 0x31,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,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,0x39,0x37,0x33,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,0x39,0x37, 0x33,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,0x39,0x37,0x33,0x20,0x3d,0x20,0x5f,0x38,0x33, 0x34,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,0x39,0x38,0x34,0x20,0x3d,0x20,0x6d,0x69,0x78,0x28,0x5f,0x39,0x36,0x31,0x2c, 0x20,0x5f,0x39,0x37,0x33,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,0x39,0x38,0x34, 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,0x33,0x20,0x70,0x61, 0x72,0x61,0x6d,0x5f,0x35,0x20,0x3d,0x20,0x77,0x6f,0x72,0x6c,0x64,0x5f,0x6e,0x6f, 0x72,0x6d,0x61,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,0x38,0x33,0x34,0x29,0x2c,0x20,0x28, 0x76,0x69,0x65,0x77,0x5f,0x7a,0x20,0x2d,0x20,0x5f,0x39,0x38,0x34,0x29,0x20,0x2f, 0x20,0x28,0x5f,0x39,0x36,0x31,0x20,0x2d,0x20,0x5f,0x39,0x38,0x34,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,0x31,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,0x32,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,0x31,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,0x31,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,0x32,0x35,0x29,0x20,0x2a,0x20,0x5f,0x31,0x32,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,0x33,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,0x34,0x35,0x20,0x3d,0x20,0x31,0x2e,0x30, 0x20,0x2d,0x20,0x5f,0x31,0x33,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,0x34,0x35,0x29,0x20,0x2b,0x20,0x5f,0x31,0x33,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,0x34,0x35,0x29, 0x20,0x2b,0x20,0x5f,0x31,0x33,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,0x37,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,0x37,0x38,0x20,0x3d,0x20,0x5f,0x31,0x37,0x34,0x20,0x2a,0x20,0x5f,0x31, 0x37,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,0x37,0x38, 0x20,0x2a,0x20,0x5f,0x31,0x37,0x38,0x29,0x20,0x2a,0x20,0x5f,0x31,0x37,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,0x39, 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,0x32,0x30,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,0x32,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,0x32,0x36,0x20,0x3d,0x20,0x5f, 0x32,0x32,0x32,0x20,0x2a,0x20,0x5f,0x32,0x32,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, 0x32,0x30,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,0x32,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,0x39,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,0x32,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,0x32,0x30,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,0x35,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,0x35,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,0x35,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, 0x39,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,0x34,0x30,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,0x34,0x30,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,0x31,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,0x32,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,0x39,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,0x31,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,0x32,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,0x32,0x35,0x29,0x20,0x2d,0x20,0x5f,0x34,0x32,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,0x31, 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,0x32,0x35,0x20,0x2a,0x20,0x5f,0x34,0x38,0x39,0x2e,0x78,0x29,0x20,0x2b,0x20, 0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x5f,0x34,0x38,0x39,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,0x38,0x33,0x34,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,0x31, 0x30,0x31,0x36,0x20,0x3d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x6e,0x6f,0x72,0x6d, 0x61,0x6c,0x69,0x7a,0x65,0x28,0x69,0x6e,0x2e,0x76,0x5f,0x77,0x6f,0x72,0x6c,0x64, 0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x33,0x20,0x6e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x20,0x3d,0x20,0x5f, 0x31,0x30,0x31,0x36,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33, 0x20,0x5f,0x31,0x30,0x32,0x33,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,0x2e,0x63,0x61, 0x6d,0x65,0x72,0x61,0x5f,0x70,0x6f,0x73,0x2e,0x78,0x79,0x7a,0x20,0x2d,0x20,0x69, 0x6e,0x2e,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x20,0x20, 0x20,0x20,0x69,0x66,0x20,0x28,0x64,0x6f,0x74,0x28,0x5f,0x31,0x30,0x31,0x36,0x2c, 0x20,0x5f,0x31,0x30,0x32,0x33,0x29,0x20,0x3c,0x20,0x30,0x2e,0x30,0x29,0x0a,0x20, 0x20,0x20,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x6e,0x5f,0x77, 0x6f,0x72,0x6c,0x64,0x20,0x3d,0x20,0x2d,0x6e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x69,0x66,0x20,0x28,0x5f, 0x38,0x33,0x34,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,0x31,0x30,0x35,0x34,0x20,0x3d,0x20,0x66,0x61, 0x73,0x74,0x3a,0x3a,0x63,0x6c,0x61,0x6d,0x70,0x28,0x28,0x5f,0x38,0x33,0x34,0x2e, 0x76,0x69,0x65,0x77,0x20,0x2a,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x69,0x6e, 0x2e,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x2c,0x20,0x31,0x2e,0x30, 0x29,0x29,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,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,0x69,0x66,0x20, 0x28,0x5f,0x38,0x33,0x34,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,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x5f,0x31,0x30,0x37,0x32,0x20,0x3d, 0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x69,0x6e,0x2e,0x76,0x5f,0x76,0x69,0x65, 0x77,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,0x20,0x5f,0x31,0x30,0x37,0x35, 0x20,0x3d,0x20,0x2d,0x28,0x5f,0x38,0x33,0x34,0x2e,0x76,0x69,0x65,0x77,0x20,0x2a, 0x20,0x5f,0x31,0x30,0x37,0x32,0x29,0x2e,0x7a,0x3b,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,0x31,0x30,0x37,0x35,0x20,0x3c,0x20,0x5f,0x38,0x33,0x34,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,0x31,0x30,0x37,0x35,0x20,0x3c,0x20,0x5f, 0x38,0x33,0x34,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,0x31,0x30,0x39, 0x39,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,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,0x5f,0x31,0x30,0x37,0x32,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x5f,0x31,0x31,0x30,0x36, 0x20,0x3d,0x20,0x5f,0x31,0x30,0x39,0x39,0x2e,0x78,0x79,0x7a,0x20,0x2f,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x33,0x28,0x5f,0x31,0x30,0x39,0x39,0x2e,0x77,0x29,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x5f, 0x31,0x31,0x32,0x33,0x20,0x3d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x28,0x5f, 0x31,0x31,0x30,0x36,0x2e,0x78,0x20,0x2a,0x20,0x30,0x2e,0x35,0x29,0x20,0x2b,0x20, 0x30,0x2e,0x35,0x2c,0x20,0x28,0x28,0x5f,0x31,0x31,0x30,0x36,0x2e,0x79,0x20,0x2a, 0x20,0x5f,0x38,0x33,0x34,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,0x31,0x31,0x30,0x36,0x2e, 0x7a,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x62,0x6f,0x6f,0x6c, 0x20,0x5f,0x31,0x31,0x32,0x37,0x20,0x3d,0x20,0x61,0x6e,0x79,0x28,0x5f,0x31,0x31, 0x32,0x33,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,0x31,0x31,0x33,0x34,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69, 0x66,0x20,0x28,0x21,0x5f,0x31,0x31,0x32,0x37,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,0x31,0x31,0x33,0x34,0x20,0x3d,0x20,0x61,0x6e,0x79,0x28,0x5f,0x31,0x31, 0x32,0x33,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,0x31,0x31,0x33,0x34,0x20,0x3d,0x20,0x5f,0x31,0x31,0x32,0x37,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,0x31,0x31,0x33,0x34,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,0x38,0x33,0x34,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,0x66,0x61,0x73,0x74,0x3a,0x3a,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a, 0x65,0x28,0x28,0x5f,0x38,0x33,0x34,0x2e,0x76,0x69,0x65,0x77,0x20,0x2a,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x34,0x28,0x6e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2c,0x20,0x30, 0x2e,0x30,0x29,0x29,0x2e,0x78,0x79,0x7a,0x29,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,0x32,0x30,0x35, 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,0x32,0x30,0x36, 0x20,0x3d,0x20,0x5f,0x31,0x32,0x30,0x35,0x2e,0x78,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x69,0x66,0x20,0x28,0x5f,0x38,0x33,0x34,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,0x32,0x30, 0x36,0x2c,0x20,0x5f,0x31,0x32,0x30,0x36,0x2c,0x20,0x5f,0x31,0x32,0x30,0x36,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,0x62,0x61,0x73,0x65, 0x43,0x6f,0x6c,0x6f,0x72,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,0x69,0x66,0x20,0x28,0x69,0x6e,0x2e,0x76,0x5f,0x6d,0x61,0x74,0x65,0x72,0x69, 0x61,0x6c,0x2e,0x7a,0x20,0x3e,0x20,0x30,0x2e,0x35,0x29,0x0a,0x20,0x20,0x20,0x20, 0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32, 0x20,0x70,0x61,0x72,0x61,0x6d,0x20,0x3d,0x20,0x69,0x6e,0x2e,0x76,0x5f,0x76,0x69, 0x65,0x77,0x5f,0x70,0x6f,0x73,0x2e,0x78,0x7a,0x20,0x2b,0x20,0x5f,0x38,0x33,0x34, 0x2e,0x67,0x72,0x69,0x64,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x2e,0x78,0x79,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20, 0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x20,0x3d,0x20,0x69,0x6e,0x2e,0x76,0x5f,0x76, 0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x2e,0x78,0x7a,0x20,0x2b,0x20,0x5f,0x38,0x33, 0x34,0x2e,0x67,0x72,0x69,0x64,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x2e,0x7a,0x77, 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,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,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61, 0x72,0x61,0x6d,0x5f,0x33,0x20,0x3d,0x20,0x69,0x6e,0x2e,0x76,0x5f,0x6d,0x61,0x74, 0x65,0x72,0x69,0x61,0x6c,0x2e,0x77,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, 0x20,0x62,0x61,0x73,0x65,0x43,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x6d,0x69,0x78, 0x28,0x69,0x6e,0x2e,0x76,0x5f,0x62,0x61,0x73,0x65,0x5f,0x63,0x6f,0x6c,0x6f,0x72, 0x2e,0x78,0x79,0x7a,0x2c,0x20,0x70,0x72,0x6f,0x63,0x65,0x64,0x75,0x72,0x61,0x6c, 0x47,0x72,0x69,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,0x70,0x61, 0x72,0x61,0x6d,0x5f,0x33,0x29,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x28,0x70, 0x6f,0x77,0x72,0x28,0x66,0x61,0x73,0x74,0x3a,0x3a,0x63,0x6c,0x61,0x6d,0x70,0x28, 0x6e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x2e,0x79,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20, 0x31,0x2e,0x30,0x29,0x2c,0x20,0x38,0x2e,0x30,0x29,0x29,0x29,0x3b,0x0a,0x20,0x20, 0x20,0x20,0x7d,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70, 0x61,0x72,0x61,0x6d,0x5f,0x34,0x20,0x3d,0x20,0x69,0x6e,0x2e,0x76,0x5f,0x76,0x69, 0x65,0x77,0x5f,0x70,0x6f,0x73,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61, 0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x20,0x3d,0x20,0x6e,0x5f,0x77, 0x6f,0x72,0x6c,0x64,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20, 0x70,0x61,0x72,0x61,0x6d,0x5f,0x36,0x20,0x3d,0x20,0x2d,0x28,0x5f,0x38,0x33,0x34, 0x2e,0x76,0x69,0x65,0x77,0x20,0x2a,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x69, 0x6e,0x2e,0x76,0x5f,0x76,0x69,0x65,0x77,0x5f,0x70,0x6f,0x73,0x2c,0x20,0x31,0x2e, 0x30,0x29,0x29,0x2e,0x7a,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74, 0x33,0x20,0x5f,0x31,0x33,0x30,0x35,0x20,0x3d,0x20,0x66,0x61,0x73,0x74,0x3a,0x3a, 0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65,0x28,0x5f,0x31,0x30,0x32,0x33,0x29, 0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72, 0x61,0x6d,0x5f,0x37,0x20,0x3d,0x20,0x6e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d, 0x5f,0x38,0x20,0x3d,0x20,0x5f,0x31,0x33,0x30,0x35,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x39,0x20,0x3d, 0x20,0x66,0x61,0x73,0x74,0x3a,0x3a,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x69,0x7a,0x65, 0x28,0x5f,0x38,0x33,0x34,0x2e,0x73,0x75,0x6e,0x5f,0x64,0x69,0x72,0x5f,0x77,0x6f, 0x72,0x6c,0x64,0x2e,0x78,0x79,0x7a,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x30,0x20,0x3d,0x20, 0x5f,0x38,0x33,0x34,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,0x5f, 0x34,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x35,0x2c,0x20,0x70,0x61,0x72,0x61, 0x6d,0x5f,0x36,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,0x38,0x33, 0x34,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70, 0x61,0x72,0x61,0x6d,0x5f,0x31,0x31,0x20,0x3d,0x20,0x62,0x61,0x73,0x65,0x43,0x6f, 0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70, 0x61,0x72,0x61,0x6d,0x5f,0x31,0x32,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,0x33,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,0x34,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,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, 0x35,0x20,0x3d,0x20,0x6e,0x5f,0x77,0x6f,0x72,0x6c,0x64,0x3b,0x0a,0x20,0x20,0x20, 0x20,0x66,0x6c,0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x36, 0x20,0x3d,0x20,0x5f,0x31,0x33,0x30,0x35,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x33,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x37,0x20,0x3d,0x20, 0x62,0x61,0x73,0x65,0x43,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,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,0x31,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,0x66,0x6c,0x6f,0x61,0x74, 0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x30,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34, 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,0x32,0x31,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f, 0x32,0x31,0x5b,0x30,0x5d,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,0x2e,0x73,0x68,0x5b, 0x30,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31, 0x5b,0x31,0x5d,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,0x2e,0x73,0x68,0x5b,0x31,0x5d, 0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31,0x5b,0x32, 0x5d,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,0x2e,0x73,0x68,0x5b,0x32,0x5d,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31,0x5b,0x33,0x5d,0x20, 0x3d,0x20,0x5f,0x38,0x33,0x34,0x2e,0x73,0x68,0x5b,0x33,0x5d,0x3b,0x0a,0x20,0x20, 0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31,0x5b,0x34,0x5d,0x20,0x3d,0x20, 0x5f,0x38,0x33,0x34,0x2e,0x73,0x68,0x5b,0x34,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31,0x5b,0x35,0x5d,0x20,0x3d,0x20,0x5f,0x38, 0x33,0x34,0x2e,0x73,0x68,0x5b,0x35,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61, 0x72,0x61,0x6d,0x5f,0x32,0x31,0x5b,0x36,0x5d,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34, 0x2e,0x73,0x68,0x5b,0x36,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61, 0x6d,0x5f,0x32,0x31,0x5b,0x37,0x5d,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,0x2e,0x73, 0x68,0x5b,0x37,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f, 0x32,0x31,0x5b,0x38,0x5d,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,0x2e,0x73,0x68,0x5b, 0x38,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x61, 0x72,0x61,0x6d,0x5f,0x32,0x32,0x20,0x3d,0x20,0x5f,0x38,0x33,0x34,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,0x37,0x2c,0x20,0x70, 0x61,0x72,0x61,0x6d,0x5f,0x38,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x39,0x2c, 0x20,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,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,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,0x70,0x61,0x72,0x61,0x6d,0x5f,0x31,0x39,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d, 0x5f,0x32,0x30,0x2c,0x20,0x70,0x61,0x72,0x61,0x6d,0x5f,0x32,0x31,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,0x32,0x32,0x29, 0x20,0x2a,0x20,0x5f,0x31,0x32,0x30,0x36,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* geom_triangle_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*)geom_vs_source_glsl430; desc.vertex_func.entry = "main"; desc.fragment_func.source = (const char*)geom_fs_source_glsl430; desc.fragment_func.entry = "main"; desc.attrs[0].base_type = SG_SHADERATTRBASETYPE_FLOAT; desc.attrs[0].glsl_name = "in_pos"; desc.attrs[1].base_type = SG_SHADERATTRBASETYPE_FLOAT; desc.attrs[1].glsl_name = "in_normal"; desc.uniform_blocks[0].stage = SG_SHADERSTAGE_VERTEX; desc.uniform_blocks[0].layout = SG_UNIFORMLAYOUT_STD140; desc.uniform_blocks[0].size = 64; desc.uniform_blocks[0].glsl_uniforms[0].type = SG_UNIFORMTYPE_FLOAT4; desc.uniform_blocks[0].glsl_uniforms[0].array_count = 4; 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 = 512; 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 = "_834.sun_dir_world"; 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 = "_834.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 = "_834.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 = "_834.camera_pos"; desc.uniform_blocks[1].glsl_uniforms[4].type = SG_UNIFORMTYPE_FLOAT4; desc.uniform_blocks[1].glsl_uniforms[4].array_count = 0; desc.uniform_blocks[1].glsl_uniforms[4].glsl_name = "_834.grid_offset"; 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 = "_834.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 = "_834.cascade_far_view_z"; desc.uniform_blocks[1].glsl_uniforms[7].type = SG_UNIFORMTYPE_MAT4; desc.uniform_blocks[1].glsl_uniforms[7].array_count = 3; desc.uniform_blocks[1].glsl_uniforms[7].glsl_name = "_834.cascade_matrices"; desc.uniform_blocks[1].glsl_uniforms[8].type = SG_UNIFORMTYPE_FLOAT4; desc.uniform_blocks[1].glsl_uniforms[8].array_count = 9; desc.uniform_blocks[1].glsl_uniforms[8].glsl_name = "_834.sh"; desc.uniform_blocks[1].glsl_uniforms[9].type = SG_UNIFORMTYPE_FLOAT4; desc.uniform_blocks[1].glsl_uniforms[9].array_count = 0; desc.uniform_blocks[1].glsl_uniforms[9].glsl_name = "_834.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 = "geom_triangle_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*)geom_vs_source_hlsl5; desc.vertex_func.d3d11_target = "vs_5_0"; desc.vertex_func.entry = "main"; desc.fragment_func.source = (const char*)geom_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.attrs[1].base_type = SG_SHADERATTRBASETYPE_FLOAT; desc.attrs[1].hlsl_sem_name = "TEXCOORD"; desc.attrs[1].hlsl_sem_index = 1; desc.uniform_blocks[0].stage = SG_SHADERSTAGE_VERTEX; desc.uniform_blocks[0].layout = SG_UNIFORMLAYOUT_STD140; desc.uniform_blocks[0].size = 64; 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 = 512; 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 = "geom_triangle_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*)geom_vs_source_metal_macos; desc.vertex_func.entry = "main0"; desc.fragment_func.source = (const char*)geom_fs_source_metal_macos; desc.fragment_func.entry = "main0"; desc.attrs[0].base_type = SG_SHADERATTRBASETYPE_FLOAT; desc.attrs[1].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 = 64; 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 = 512; 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 = "geom_triangle_shader"; } return &desc; } return 0; }