Port Soft-AP web UI and LED engine onto Pico 2 W C firmware.
Serve the ESP32 frontend over httpserver/WebSocket, drive eight WS2812 strips with PIO/DMA patterns on core1, and keep Wi-Fi control on core0. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
b783d97f13
commit
b3e9fc9663
28 files changed
+5123
-14
No files matched your search
@@ -0,0 +1,46 @@
|
||||
#include "cmd_queue.h"
|
||||
|
||||
#include <string.h>
|
||||
#include "pico/sync.h"
|
||||
|
||||
#define CMD_QUEUE_SIZE 8
|
||||
|
||||
static led_cmd_t q[CMD_QUEUE_SIZE];
|
||||
static volatile int q_head;
|
||||
static volatile int q_tail;
|
||||
static critical_section_t q_lock;
|
||||
static bool q_inited;
|
||||
|
||||
static void q_init(void) {
|
||||
if (!q_inited) {
|
||||
critical_section_init(&q_lock);
|
||||
q_inited = true;
|
||||
}
|
||||
}
|
||||
|
||||
bool cmd_queue_push(const led_cmd_t *cmd) {
|
||||
q_init();
|
||||
critical_section_enter_blocking(&q_lock);
|
||||
int next = (q_head + 1) % CMD_QUEUE_SIZE;
|
||||
if (next == q_tail) {
|
||||
critical_section_exit(&q_lock);
|
||||
return false;
|
||||
}
|
||||
q[q_head] = *cmd;
|
||||
q_head = next;
|
||||
critical_section_exit(&q_lock);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool cmd_queue_pop(led_cmd_t *cmd) {
|
||||
q_init();
|
||||
critical_section_enter_blocking(&q_lock);
|
||||
if (q_tail == q_head) {
|
||||
critical_section_exit(&q_lock);
|
||||
return false;
|
||||
}
|
||||
*cmd = q[q_tail];
|
||||
q_tail = (q_tail + 1) % CMD_QUEUE_SIZE;
|
||||
critical_section_exit(&q_lock);
|
||||
return true;
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
#ifndef CMD_QUEUE_H
|
||||
#define CMD_QUEUE_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
CMD_SELECT = 1,
|
||||
CMD_EDIT,
|
||||
CMD_DELETE,
|
||||
CMD_SAVE,
|
||||
CMD_BRIGHTNESS,
|
||||
} cmd_type_t;
|
||||
|
||||
#define CMD_NAME_MAX 32
|
||||
#define CMD_DATA_MAX 512
|
||||
|
||||
typedef struct {
|
||||
cmd_type_t type;
|
||||
char name[CMD_NAME_MAX];
|
||||
char data[CMD_DATA_MAX]; /* JSON object for edit */
|
||||
int ival;
|
||||
} led_cmd_t;
|
||||
|
||||
bool cmd_queue_push(const led_cmd_t *cmd);
|
||||
bool cmd_queue_pop(led_cmd_t *cmd);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,74 @@
|
||||
#include "flash_store.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "hardware/flash.h"
|
||||
#include "hardware/sync.h"
|
||||
#include "pico/stdlib.h"
|
||||
|
||||
/* Two sectors near end of flash: buttons, presets */
|
||||
#ifndef PICO_FLASH_SIZE_BYTES
|
||||
#define PICO_FLASH_SIZE_BYTES (2 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
#define STORE_MAGIC 0x484F4F50u /* HOOP */
|
||||
|
||||
typedef struct {
|
||||
uint32_t magic;
|
||||
uint32_t len;
|
||||
char name[16];
|
||||
char data[FLASH_STORE_MAX - 24];
|
||||
} store_blob_t;
|
||||
|
||||
_Static_assert(sizeof(store_blob_t) <= FLASH_SECTOR_SIZE, "blob too big");
|
||||
|
||||
static uint32_t slot_offset(const char *name) {
|
||||
uint32_t base = PICO_FLASH_SIZE_BYTES - 2 * FLASH_SECTOR_SIZE;
|
||||
if (strcmp(name, "buttons") == 0) {
|
||||
return base;
|
||||
}
|
||||
return base + FLASH_SECTOR_SIZE; /* presets */
|
||||
}
|
||||
|
||||
bool flash_store_load(const char *name, char *out, size_t out_len, size_t *out_size) {
|
||||
if (!name || !out || out_len == 0) {
|
||||
return false;
|
||||
}
|
||||
const store_blob_t *blob = (const store_blob_t *)(XIP_BASE + slot_offset(name));
|
||||
if (blob->magic != STORE_MAGIC || blob->len == 0 || blob->len >= sizeof(blob->data)) {
|
||||
return false;
|
||||
}
|
||||
if (strncmp(blob->name, name, sizeof(blob->name)) != 0) {
|
||||
return false;
|
||||
}
|
||||
size_t n = blob->len;
|
||||
if (n >= out_len) {
|
||||
n = out_len - 1;
|
||||
}
|
||||
memcpy(out, blob->data, n);
|
||||
out[n] = '\0';
|
||||
if (out_size) {
|
||||
*out_size = n;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool flash_store_save(const char *name, const char *data, size_t len) {
|
||||
if (!name || !data || len >= FLASH_STORE_MAX - 24) {
|
||||
return false;
|
||||
}
|
||||
store_blob_t blob;
|
||||
memset(&blob, 0, sizeof(blob));
|
||||
blob.magic = STORE_MAGIC;
|
||||
blob.len = (uint32_t)len;
|
||||
snprintf(blob.name, sizeof(blob.name), "%s", name);
|
||||
memcpy(blob.data, data, len);
|
||||
|
||||
uint32_t off = slot_offset(name);
|
||||
uint32_t ints = save_and_disable_interrupts();
|
||||
flash_range_erase(off, FLASH_SECTOR_SIZE);
|
||||
flash_range_program(off, (const uint8_t *)&blob, sizeof(blob));
|
||||
restore_interrupts(ints);
|
||||
return true;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
#ifndef FLASH_STORE_H
|
||||
#define FLASH_STORE_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define FLASH_STORE_MAX 4096
|
||||
|
||||
bool flash_store_load(const char *name, char *out, size_t out_len, size_t *out_size);
|
||||
bool flash_store_save(const char *name, const char *data, size_t len);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,102 @@
|
||||
#include "led_core.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
|
||||
#include "pico/stdlib.h"
|
||||
|
||||
#include "cmd_queue.h"
|
||||
#include "mini_json.h"
|
||||
#include "leds/presets.hpp"
|
||||
#include "leds/preset.hpp"
|
||||
|
||||
static Preset preset_from_json(const char *data) {
|
||||
Preset p;
|
||||
char s[64];
|
||||
int v;
|
||||
if (json_get_string(data, "p", s, sizeof(s))) {
|
||||
p.p = s;
|
||||
}
|
||||
if (json_get_int(data, "d", &v)) {
|
||||
p.d = v;
|
||||
}
|
||||
if (json_get_int(data, "b", &v)) {
|
||||
p.b = v;
|
||||
}
|
||||
if (json_get_int(data, "n1", &v)) p.n1 = v;
|
||||
if (json_get_int(data, "n2", &v)) p.n2 = v;
|
||||
if (json_get_int(data, "n3", &v)) p.n3 = v;
|
||||
if (json_get_int(data, "n4", &v)) p.n4 = v;
|
||||
if (json_get_int(data, "n5", &v)) p.n5 = v;
|
||||
if (json_get_int(data, "n6", &v)) p.n6 = v;
|
||||
if (json_get_int(data, "n7", &v)) p.n7 = v;
|
||||
if (json_get_int(data, "n8", &v)) p.n8 = v;
|
||||
|
||||
/* Parse "c":[[r,g,b],...] loosely */
|
||||
const char *cpos = strstr(data, "\"c\"");
|
||||
if (cpos) {
|
||||
const char *arr = strchr(cpos, '[');
|
||||
if (arr) {
|
||||
p.c.clear();
|
||||
const char *scan = arr;
|
||||
while ((scan = strchr(scan, '[')) != NULL) {
|
||||
if (scan == arr) {
|
||||
scan++;
|
||||
continue;
|
||||
}
|
||||
int r = 0, g = 0, b = 0;
|
||||
if (sscanf(scan, "[%d,%d,%d]", &r, &g, &b) == 3) {
|
||||
p.c.push_back({(uint8_t)r, (uint8_t)g, (uint8_t)b});
|
||||
}
|
||||
scan++;
|
||||
if (p.c.size() >= 16) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (p.c.empty()) {
|
||||
p.c.push_back({255, 255, 255});
|
||||
}
|
||||
}
|
||||
}
|
||||
return p;
|
||||
}
|
||||
|
||||
static void apply_cmd(Presets &presets, const led_cmd_t &cmd) {
|
||||
switch (cmd.type) {
|
||||
case CMD_SELECT:
|
||||
presets.select(cmd.name);
|
||||
break;
|
||||
case CMD_EDIT:
|
||||
presets.edit(cmd.name, preset_from_json(cmd.data));
|
||||
break;
|
||||
case CMD_DELETE:
|
||||
presets.remove(cmd.name);
|
||||
break;
|
||||
case CMD_SAVE:
|
||||
/* RAM only for now; flash persistence of presets can be added later */
|
||||
printf("led: preset_save acknowledged (%zu presets)\n", presets.presets.size());
|
||||
break;
|
||||
case CMD_BRIGHTNESS:
|
||||
presets.b = (uint8_t)cmd.ival;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
extern "C" void led_core_entry(void) {
|
||||
Presets presets;
|
||||
presets.select("off");
|
||||
printf("led core1: ready (%zu strips)\n", Presets::kStripCount);
|
||||
|
||||
while (true) {
|
||||
led_cmd_t cmd;
|
||||
while (cmd_queue_pop(&cmd)) {
|
||||
apply_cmd(presets, cmd);
|
||||
}
|
||||
presets.tick();
|
||||
if (presets.current) {
|
||||
presets.show_all_parallel();
|
||||
}
|
||||
sleep_ms(1);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
#ifndef LED_CORE_H
|
||||
#define LED_CORE_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void led_core_entry(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
struct RGB {
|
||||
uint8_t r = 0;
|
||||
uint8_t g = 0;
|
||||
uint8_t b = 0;
|
||||
};
|
||||
|
||||
class Preset {
|
||||
public:
|
||||
std::string p = "off";
|
||||
int d = 100;
|
||||
int b = 127;
|
||||
std::vector<RGB> c{{255, 255, 255}};
|
||||
bool a = true;
|
||||
int n1 = 0, n2 = 0, n3 = 0, n4 = 0;
|
||||
int n5 = 0, n6 = 0, n7 = 0, n8 = 0;
|
||||
|
||||
Preset() = default;
|
||||
explicit Preset(std::string pattern) : p(std::move(pattern)) {}
|
||||
};
|
||||
@@ -0,0 +1,97 @@
|
||||
#include "leds/presets.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include "patterns/patterns.hpp"
|
||||
|
||||
namespace {
|
||||
struct StripConfig { uint pin, count, midpoint; };
|
||||
constexpr StripConfig kConfig[] = {
|
||||
{6, 291, 291 / 2}, {29, 290, 290 / 2 - 1}, {3, 283, 283 / 2},
|
||||
{28, 278, 278 / 2 - 1}, {2, 278, 275 / 2}, {0, 283, 278 / 2 - 1},
|
||||
{4, 290, 283 / 2}, {7, 291, 290 / 2 - 1},
|
||||
};
|
||||
}
|
||||
|
||||
Presets::Presets() {
|
||||
for (size_t i = 0; i < kStripCount; ++i) {
|
||||
strips[i] = std::make_unique<WS2812B>(kConfig[i].count, kConfig[i].pin, i);
|
||||
strip_midpoints[i] = kConfig[i].midpoint;
|
||||
scale_map[i].resize(kConfig[0].count);
|
||||
for (size_t led = 0; led < scale_map[i].size(); ++led)
|
||||
scale_map[i][led] = led * kConfig[i].count / kConfig[0].count;
|
||||
}
|
||||
}
|
||||
Presets::~Presets() = default;
|
||||
|
||||
std::unique_ptr<Pattern> Presets::make_pattern(const std::string& name) const {
|
||||
#define MAKE(name) if (name == #name) return std::make_unique<name>();
|
||||
if (name == "off" || name == "on") return nullptr;
|
||||
if (name == "blink") return std::make_unique<Blink>();
|
||||
if (name == "rainbow") return std::make_unique<Rainbow>();
|
||||
if (name == "pulse") return std::make_unique<Pulse>();
|
||||
if (name == "transition") return std::make_unique<Transition>();
|
||||
if (name == "chase") return std::make_unique<Chase>();
|
||||
if (name == "circle") return std::make_unique<Circle>();
|
||||
if (name == "roll") return std::make_unique<Roll>();
|
||||
if (name == "calibration") return std::make_unique<Calibration>();
|
||||
if (name == "test") return std::make_unique<Test>();
|
||||
if (name == "grab") return std::make_unique<Grab>();
|
||||
if (name == "spin") return std::make_unique<Spin>();
|
||||
if (name == "lift") return std::make_unique<Lift>();
|
||||
if (name == "flare") return std::make_unique<Flare>();
|
||||
if (name == "hook") return std::make_unique<Hook>();
|
||||
if (name == "pose") return std::make_unique<Pose>();
|
||||
if (name == "point") return std::make_unique<Point>();
|
||||
if (name == "scale_test") return std::make_unique<ScaleTest>();
|
||||
return nullptr;
|
||||
#undef MAKE
|
||||
}
|
||||
|
||||
bool Presets::select(const std::string& name, int next_step) {
|
||||
auto saved = presets.find(name);
|
||||
Preset* preset = saved == presets.end() ? nullptr : &saved->second;
|
||||
const std::string pattern = preset ? preset->p : name;
|
||||
if (pattern == "off") { off(); current.reset(); selected = name; step = 0; return true; }
|
||||
if (pattern == "on") {
|
||||
static Preset default_on("on");
|
||||
on(preset ? preset : &default_on); current.reset(); selected = name; return true;
|
||||
}
|
||||
current = make_pattern(pattern);
|
||||
if (!current) return false;
|
||||
static Preset built_in;
|
||||
if (!preset) { built_in = Preset(pattern); preset = &built_in; }
|
||||
if (next_step >= 0) step = next_step;
|
||||
else if (selected != name) step = 0;
|
||||
current->start(*this, preset);
|
||||
selected = name;
|
||||
return true;
|
||||
}
|
||||
bool Presets::edit(const std::string& name, const Preset& preset) { presets[name] = preset; return true; }
|
||||
bool Presets::remove(const std::string& name) { return presets.erase(name) != 0; }
|
||||
void Presets::tick() { if (current && !current->tick()) current.reset(); }
|
||||
void Presets::fill(RGB color) { for (auto& strip : strips) strip->fill(color); }
|
||||
void Presets::fill_n(RGB color, int first, int last) {
|
||||
first = std::max(0, first); last = std::min<int>(kConfig[0].count, last);
|
||||
for (int i = first; i < last; ++i) for (size_t s = 0; s < kStripCount; ++s) set(s, i, color);
|
||||
}
|
||||
bool Presets::set(size_t strip, int index, RGB color) {
|
||||
if (strip >= kStripCount || index < 0 || index >= static_cast<int>(scale_map[strip].size())) return false;
|
||||
strips[strip]->set(scale_map[strip][index], color); return true;
|
||||
}
|
||||
RGB Presets::apply_brightness(RGB color, int local) const {
|
||||
const int effective = std::clamp(local, 0, 255) * b / 255;
|
||||
return {static_cast<uint8_t>(color.r * effective / 255), static_cast<uint8_t>(color.g * effective / 255),
|
||||
static_cast<uint8_t>(color.b * effective / 255)};
|
||||
}
|
||||
void Presets::show_all() { for (auto& strip : strips) strip->show(); }
|
||||
void Presets::show_all_parallel() {
|
||||
uint32_t mask = 0;
|
||||
for (auto& strip : strips) { strip->prepare_show(); mask |= 1u << strip->dma_channel; }
|
||||
dma_start_channel_mask(mask);
|
||||
}
|
||||
void Presets::off() { fill({0, 0, 0}); show_all_parallel(); }
|
||||
void Presets::on(Preset* preset) {
|
||||
const RGB color = preset && !preset->c.empty() ? preset->c[0] : RGB{255, 255, 255};
|
||||
fill(apply_brightness(color, preset ? preset->b : 255)); show_all_parallel();
|
||||
}
|
||||
uint16_t Presets::strip_length(size_t strip) const { return strip < kStripCount ? strips[strip]->num_leds : 0; }
|
||||
@@ -0,0 +1,46 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
#include "leds/preset.hpp"
|
||||
#include "leds/ws2812.hpp"
|
||||
|
||||
class Pattern;
|
||||
|
||||
class Presets {
|
||||
public:
|
||||
static constexpr size_t kStripCount = 8;
|
||||
Presets();
|
||||
~Presets();
|
||||
|
||||
bool select(const std::string& name, int step = -1);
|
||||
bool edit(const std::string& name, const Preset& preset);
|
||||
bool remove(const std::string& name);
|
||||
void tick();
|
||||
void fill(RGB color);
|
||||
void fill_n(RGB color, int first, int last);
|
||||
bool set(size_t strip, int reference_index, RGB color);
|
||||
RGB apply_brightness(RGB color, int local = 255) const;
|
||||
void show_all();
|
||||
void show_all_parallel();
|
||||
void off();
|
||||
void on(Preset* preset);
|
||||
uint16_t strip_length(size_t strip) const;
|
||||
|
||||
std::array<std::unique_ptr<WS2812B>, kStripCount> strips;
|
||||
std::array<uint16_t, kStripCount> strip_midpoints{};
|
||||
std::array<std::vector<uint16_t>, kStripCount> scale_map;
|
||||
std::unordered_map<std::string, Preset> presets;
|
||||
std::unique_ptr<Pattern> current;
|
||||
std::string selected;
|
||||
int step = 0;
|
||||
int last_roll_head = 0;
|
||||
uint8_t b = 255;
|
||||
|
||||
private:
|
||||
std::unique_ptr<Pattern> make_pattern(const std::string& name) const;
|
||||
};
|
||||
@@ -0,0 +1,84 @@
|
||||
#include "leds/ws2812.hpp"
|
||||
|
||||
#include "hardware/clocks.h"
|
||||
#include "hardware/gpio.h"
|
||||
#include "leds/preset.hpp"
|
||||
|
||||
namespace {
|
||||
constexpr uint T1 = 2, T2 = 5, T3 = 3;
|
||||
const uint16_t ws2812_instructions[] = {
|
||||
static_cast<uint16_t>(pio_encode_out(pio_x, 1) | pio_encode_sideset(1, 0) | pio_encode_delay(T3 - 1)),
|
||||
static_cast<uint16_t>(pio_encode_jmp_not_x(3) | pio_encode_sideset(1, 1) | pio_encode_delay(T1 - 1)),
|
||||
static_cast<uint16_t>(pio_encode_jmp(0) | pio_encode_sideset(1, 1) | pio_encode_delay(T2 - 1)),
|
||||
static_cast<uint16_t>(pio_encode_nop() | pio_encode_sideset(1, 0) | pio_encode_delay(T2 - 1)),
|
||||
};
|
||||
const pio_program ws2812_program = {
|
||||
.instructions = ws2812_instructions, .length = 4, .origin = -1,
|
||||
};
|
||||
bool pio_program_added[2] = {};
|
||||
uint pio_offsets[2] = {};
|
||||
|
||||
uint program_offset(PIO pio) {
|
||||
const uint index = pio == pio0 ? 0 : 1;
|
||||
if (!pio_program_added[index]) {
|
||||
pio_offsets[index] = pio_add_program(pio, &ws2812_program);
|
||||
pio_program_added[index] = true;
|
||||
}
|
||||
return pio_offsets[index];
|
||||
}
|
||||
} // namespace
|
||||
|
||||
WS2812B::WS2812B(uint16_t count, uint pin, uint strip_index, float level)
|
||||
: num_leds(count), brightness(level), buffer(static_cast<size_t>(count) * 3),
|
||||
pio(strip_index < 4 ? pio0 : pio1), sm(strip_index % 4), pin_(pin) {
|
||||
const uint offset = program_offset(pio);
|
||||
pio_gpio_init(pio, pin_);
|
||||
pio_sm_set_consecutive_pindirs(pio, sm, pin_, 1, true);
|
||||
pio_sm_config config = pio_get_default_sm_config();
|
||||
sm_config_set_wrap(&config, offset, offset + 3);
|
||||
sm_config_set_sideset(&config, 1, false, false);
|
||||
sm_config_set_sideset_pins(&config, pin_);
|
||||
sm_config_set_out_shift(&config, false, true, 8);
|
||||
sm_config_set_fifo_join(&config, PIO_FIFO_JOIN_TX);
|
||||
sm_config_set_clkdiv(&config, static_cast<float>(clock_get_hz(clk_sys)) / 8000000.0f);
|
||||
pio_sm_init(pio, sm, offset, &config);
|
||||
pio_sm_set_enabled(pio, sm, true);
|
||||
|
||||
dma_channel = dma_claim_unused_channel(true);
|
||||
dma_channel_config dma_config = dma_channel_get_default_config(dma_channel);
|
||||
channel_config_set_transfer_data_size(&dma_config, DMA_SIZE_8);
|
||||
channel_config_set_dreq(&dma_config, pio_get_dreq(pio, sm, true));
|
||||
channel_config_set_read_increment(&dma_config, true);
|
||||
channel_config_set_write_increment(&dma_config, false);
|
||||
dma_channel_configure(dma_channel, &dma_config, &pio->txf[sm], nullptr,
|
||||
buffer.size(), false);
|
||||
}
|
||||
|
||||
WS2812B::~WS2812B() {
|
||||
if (dma_channel >= 0) dma_channel_unclaim(dma_channel);
|
||||
}
|
||||
|
||||
void WS2812B::set(uint16_t index, RGB color) {
|
||||
if (index >= num_leds) return;
|
||||
const size_t pos = static_cast<size_t>(index) * 3;
|
||||
buffer[pos] = static_cast<uint8_t>(color.g * brightness);
|
||||
buffer[pos + 1] = static_cast<uint8_t>(color.r * brightness);
|
||||
buffer[pos + 2] = static_cast<uint8_t>(color.b * brightness);
|
||||
}
|
||||
|
||||
void WS2812B::fill(RGB color) {
|
||||
for (uint16_t i = 0; i < num_leds; ++i) set(i, color);
|
||||
}
|
||||
|
||||
void WS2812B::prepare_show(const uint8_t* source, size_t offset) {
|
||||
if (!source) source = buffer.data();
|
||||
dma_channel_set_read_addr(dma_channel, source + offset, false);
|
||||
dma_channel_set_trans_count(dma_channel, buffer.size(), false);
|
||||
}
|
||||
|
||||
void WS2812B::trigger() { dma_channel_start(dma_channel); }
|
||||
void WS2812B::show(const uint8_t* source, size_t offset) {
|
||||
prepare_show(source, offset);
|
||||
trigger();
|
||||
}
|
||||
bool WS2812B::busy() const { return dma_channel_is_busy(dma_channel); }
|
||||
@@ -0,0 +1,34 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
#include "hardware/dma.h"
|
||||
#include "hardware/pio.h"
|
||||
|
||||
struct RGB;
|
||||
|
||||
class WS2812B {
|
||||
public:
|
||||
WS2812B(uint16_t num_leds, uint pin, uint strip_index, float brightness = 1.0f);
|
||||
~WS2812B();
|
||||
WS2812B(const WS2812B&) = delete;
|
||||
WS2812B& operator=(const WS2812B&) = delete;
|
||||
|
||||
void fill(RGB color);
|
||||
void set(uint16_t index, RGB color);
|
||||
void show(const uint8_t* buffer = nullptr, size_t offset = 0);
|
||||
void prepare_show(const uint8_t* buffer = nullptr, size_t offset = 0);
|
||||
void trigger();
|
||||
bool busy() const;
|
||||
|
||||
uint16_t num_leds;
|
||||
float brightness;
|
||||
std::vector<uint8_t> buffer;
|
||||
int dma_channel = -1;
|
||||
PIO pio = pio0;
|
||||
uint sm = 0;
|
||||
|
||||
private:
|
||||
uint pin_;
|
||||
};
|
||||
+14
-13
@@ -1,35 +1,36 @@
|
||||
#include <stdio.h>
|
||||
#include "pico/stdlib.h"
|
||||
|
||||
// Minimal example: initialize cyw43 and blink its onboard LED.
|
||||
// (On `pico2_w` the LED lives on the wireless chip, not the main RP pin.)
|
||||
#include "pico/stdlib.h"
|
||||
#include "pico/multicore.h"
|
||||
#include "pico/cyw43_arch.h"
|
||||
|
||||
#include "ap.h"
|
||||
#include "web.h"
|
||||
#include "led_core.h"
|
||||
|
||||
int main() {
|
||||
stdio_init_all();
|
||||
sleep_ms(200);
|
||||
|
||||
while (cyw43_arch_init()) {
|
||||
if (stdio_usb_connected()) {
|
||||
printf("cyw43_arch_init failed; retrying...\n");
|
||||
}
|
||||
printf("cyw43_arch_init failed; retrying...\n");
|
||||
sleep_ms(1000);
|
||||
}
|
||||
|
||||
printf("LED blink example starting\n");
|
||||
printf("led_hoop: Soft-AP + web + LEDs\n");
|
||||
|
||||
unsigned int count = 0;
|
||||
multicore_launch_core1(led_core_entry);
|
||||
|
||||
ap_start();
|
||||
web_start();
|
||||
|
||||
unsigned count = 0;
|
||||
while (true) {
|
||||
cyw43_arch_gpio_put(CYW43_WL_GPIO_LED_PIN, 1);
|
||||
if (stdio_usb_connected() || count % 10 == 0) {
|
||||
printf("count=%u\n", count);
|
||||
/* Keep core0 responsive for cyw43 background; light status print */
|
||||
if (count % 20 == 0) {
|
||||
printf("core0 alive count=%u\n", count);
|
||||
}
|
||||
count++;
|
||||
sleep_ms(500);
|
||||
cyw43_arch_gpio_put(CYW43_WL_GPIO_LED_PIN, 0);
|
||||
sleep_ms(500);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,157 @@
|
||||
#include "mini_json.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
static const char *skip_ws(const char *p) {
|
||||
while (*p && isspace((unsigned char)*p)) {
|
||||
p++;
|
||||
}
|
||||
return p;
|
||||
}
|
||||
|
||||
static const char *find_key(const char *json, const char *key) {
|
||||
char pat[64];
|
||||
snprintf(pat, sizeof(pat), "\"%s\"", key);
|
||||
const char *p = json;
|
||||
while ((p = strstr(p, pat)) != NULL) {
|
||||
const char *after = p + strlen(pat);
|
||||
after = skip_ws(after);
|
||||
if (*after == ':') {
|
||||
return skip_ws(after + 1);
|
||||
}
|
||||
p++;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static bool copy_string_value(const char *p, char *out, size_t out_len) {
|
||||
p = skip_ws(p);
|
||||
if (*p != '"') {
|
||||
return false;
|
||||
}
|
||||
p++;
|
||||
size_t i = 0;
|
||||
while (*p && *p != '"' && i + 1 < out_len) {
|
||||
if (*p == '\\' && p[1]) {
|
||||
p++;
|
||||
}
|
||||
out[i++] = *p++;
|
||||
}
|
||||
out[i] = '\0';
|
||||
return true;
|
||||
}
|
||||
|
||||
bool json_get_string(const char *json, const char *key, char *out, size_t out_len) {
|
||||
const char *p = find_key(json, key);
|
||||
if (!p) {
|
||||
return false;
|
||||
}
|
||||
return copy_string_value(p, out, out_len);
|
||||
}
|
||||
|
||||
bool json_get_object(const char *json, const char *key, char *out, size_t out_len) {
|
||||
const char *p = find_key(json, key);
|
||||
if (!p) {
|
||||
return false;
|
||||
}
|
||||
p = skip_ws(p);
|
||||
if (*p != '{') {
|
||||
return false;
|
||||
}
|
||||
int depth = 0;
|
||||
const char *start = p;
|
||||
do {
|
||||
if (*p == '{') {
|
||||
depth++;
|
||||
} else if (*p == '}') {
|
||||
depth--;
|
||||
} else if (*p == '"') {
|
||||
p++;
|
||||
while (*p && *p != '"') {
|
||||
if (*p == '\\' && p[1]) {
|
||||
p++;
|
||||
}
|
||||
p++;
|
||||
}
|
||||
}
|
||||
if (!*p) {
|
||||
return false;
|
||||
}
|
||||
p++;
|
||||
} while (depth > 0);
|
||||
size_t n = (size_t)(p - start);
|
||||
if (n >= out_len) {
|
||||
n = out_len - 1;
|
||||
}
|
||||
memcpy(out, start, n);
|
||||
out[n] = '\0';
|
||||
return true;
|
||||
}
|
||||
|
||||
bool json_get_bool(const char *json, const char *key, bool *out) {
|
||||
const char *p = find_key(json, key);
|
||||
if (!p || !out) {
|
||||
return false;
|
||||
}
|
||||
p = skip_ws(p);
|
||||
if (strncmp(p, "true", 4) == 0) {
|
||||
*out = true;
|
||||
return true;
|
||||
}
|
||||
if (strncmp(p, "false", 5) == 0) {
|
||||
*out = false;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool json_get_int(const char *json, const char *key, int *out) {
|
||||
const char *p = find_key(json, key);
|
||||
if (!p || !out) {
|
||||
return false;
|
||||
}
|
||||
p = skip_ws(p);
|
||||
char *end = NULL;
|
||||
long v = strtol(p, &end, 10);
|
||||
if (end == p) {
|
||||
return false;
|
||||
}
|
||||
*out = (int)v;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool json_get_select_name(const char *json, char *out, size_t out_len) {
|
||||
const char *p = find_key(json, "select");
|
||||
if (!p) {
|
||||
return false;
|
||||
}
|
||||
p = skip_ws(p);
|
||||
if (*p == '"') {
|
||||
return copy_string_value(p, out, out_len);
|
||||
}
|
||||
if (*p == '[') {
|
||||
/* ["id","name"] — take second string */
|
||||
p++;
|
||||
p = skip_ws(p);
|
||||
if (*p == '"') {
|
||||
char tmp[64];
|
||||
if (!copy_string_value(p, tmp, sizeof(tmp))) {
|
||||
return false;
|
||||
}
|
||||
p = strchr(p + 1, '"');
|
||||
if (!p) {
|
||||
return false;
|
||||
}
|
||||
p++;
|
||||
p = skip_ws(p);
|
||||
if (*p == ',') {
|
||||
p = skip_ws(p + 1);
|
||||
}
|
||||
return copy_string_value(p, out, out_len);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
#ifndef MINI_JSON_H
|
||||
#define MINI_JSON_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Extract JSON string value for key into out (unescaped simple strings). */
|
||||
bool json_get_string(const char *json, const char *key, char *out, size_t out_len);
|
||||
|
||||
/* Extract nested object text for key into out (raw substring including braces). */
|
||||
bool json_get_object(const char *json, const char *key, char *out, size_t out_len);
|
||||
|
||||
bool json_get_bool(const char *json, const char *key, bool *out);
|
||||
bool json_get_int(const char *json, const char *key, int *out);
|
||||
|
||||
/* If select is a string, copy it; if ["id","name"], copy name. */
|
||||
bool json_get_select_name(const char *json, char *out, size_t out_len);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,201 @@
|
||||
#include "patterns/patterns.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include "pico/stdlib.h"
|
||||
#include "leds/presets.hpp"
|
||||
|
||||
namespace {
|
||||
uint32_t now() { return to_ms_since_boot(get_absolute_time()); }
|
||||
bool due(uint32_t& last, uint32_t ms) {
|
||||
const uint32_t current = now();
|
||||
if (current - last < ms) return false;
|
||||
last = current; return true;
|
||||
}
|
||||
RGB black() { return {0, 0, 0}; }
|
||||
RGB lerp(RGB a, RGB b, float t) {
|
||||
return {static_cast<uint8_t>(a.r + (b.r - a.r) * t), static_cast<uint8_t>(a.g + (b.g - a.g) * t),
|
||||
static_cast<uint8_t>(a.b + (b.b - a.b) * t)};
|
||||
}
|
||||
RGB hue(int hue) {
|
||||
hue = ((hue % 360) + 360) % 360;
|
||||
const float x = 1.0f - std::abs(std::fmod(hue / 60.0f, 2.0f) - 1.0f);
|
||||
if (hue < 60) return {255, static_cast<uint8_t>(x * 255), 0};
|
||||
if (hue < 120) return {static_cast<uint8_t>(x * 255), 255, 0};
|
||||
if (hue < 180) return {0, 255, static_cast<uint8_t>(x * 255)};
|
||||
if (hue < 240) return {0, static_cast<uint8_t>(x * 255), 255};
|
||||
if (hue < 300) return {static_cast<uint8_t>(x * 255), 0, 255};
|
||||
return {255, 0, static_cast<uint8_t>(x * 255)};
|
||||
}
|
||||
RGB color(const Preset* p, size_t index, RGB fallback = {255, 255, 255}) {
|
||||
return p->c.empty() ? fallback : p->c[index % p->c.size()];
|
||||
}
|
||||
void begin(Presets*& dest, Preset*& preset_dest, uint32_t& started, uint32_t& last,
|
||||
Presets& ps, Preset* p) {
|
||||
dest = &ps; preset_dest = p; started = last = now();
|
||||
}
|
||||
void static_done(Presets*& ps, Preset*& p, uint32_t& started, uint32_t& last,
|
||||
Presets& x, Preset* y) { begin(ps, p, started, last, x, y); }
|
||||
}
|
||||
|
||||
#define START(CLASS) void CLASS::start(Presets& ps, Preset* p) { begin(ps_, p_, started_, last_, ps, p); step_ = head_ = tail_ = phase_ = 0; drawn_ = false; }
|
||||
|
||||
START(Blink)
|
||||
bool Blink::tick() {
|
||||
if (!due(last_, std::max(1, p_->d))) return true;
|
||||
if (phase_++ % 2 == 0) ps_->fill(ps_->apply_brightness(color(p_, step_++), p_->b));
|
||||
else ps_->fill(black());
|
||||
ps_->show_all_parallel(); return true;
|
||||
}
|
||||
|
||||
START(Rainbow)
|
||||
bool Rainbow::tick() {
|
||||
if (!due(last_, p_->a ? std::max(1, p_->d) : 0)) return true;
|
||||
const int advance = std::max(1, p_->n1);
|
||||
for (size_t s = 0; s < Presets::kStripCount; ++s)
|
||||
for (uint16_t i = 0; i < ps_->strips[s]->num_leds; ++i)
|
||||
ps_->strips[s]->set(i, ps_->apply_brightness(hue((i * 720 / ps_->strips[s]->num_leds) + step_), p_->b));
|
||||
ps_->show_all_parallel(); step_ += advance; ps_->step = step_ * 256 / 873;
|
||||
return p_->a;
|
||||
}
|
||||
|
||||
START(Pulse)
|
||||
bool Pulse::tick() {
|
||||
const int attack = std::max(0, p_->n1), hold = std::max(0, p_->n2), decay = std::max(0, p_->n3);
|
||||
const int total = std::max(1, attack + hold + decay + std::max(0, p_->d));
|
||||
const uint32_t elapsed = now() - started_;
|
||||
float factor = 0;
|
||||
if (elapsed < static_cast<uint32_t>(attack) && attack) factor = float(elapsed) / attack;
|
||||
else if (elapsed < static_cast<uint32_t>(attack + hold)) factor = 1;
|
||||
else if (elapsed < static_cast<uint32_t>(attack + hold + decay) && decay)
|
||||
factor = 1.0f - float(elapsed - attack - hold) / decay;
|
||||
ps_->fill(ps_->apply_brightness(lerp(black(), color(p_, step_), factor), p_->b));
|
||||
ps_->show_all_parallel();
|
||||
if (elapsed >= static_cast<uint32_t>(total)) { started_ = now(); ++step_; return p_->a; }
|
||||
return true;
|
||||
}
|
||||
|
||||
START(Transition)
|
||||
bool Transition::tick() {
|
||||
if (p_->c.empty()) { ps_->off(); return false; }
|
||||
if (p_->c.size() == 1) { ps_->fill(ps_->apply_brightness(p_->c[0], p_->b)); ps_->show_all_parallel(); return true; }
|
||||
const int duration = std::max(10, p_->d); const uint32_t elapsed = now() - started_;
|
||||
if (elapsed >= static_cast<uint32_t>(duration)) {
|
||||
ps_->fill(ps_->apply_brightness(color(p_, step_ + 1), p_->b)); ps_->show_all_parallel();
|
||||
if (!p_->a) return false; ++step_; started_ = now(); return true;
|
||||
}
|
||||
ps_->fill(ps_->apply_brightness(lerp(color(p_, step_), color(p_, step_ + 1), float(elapsed) / duration), p_->b));
|
||||
ps_->show_all_parallel(); return true;
|
||||
}
|
||||
|
||||
START(Chase)
|
||||
bool Chase::tick() {
|
||||
if (drawn_ && (!p_->a || !due(last_, std::max(10, p_->d)))) return p_->a;
|
||||
const int n1 = std::max(1, p_->n1), n2 = std::max(1, p_->n2), len = n1 + n2;
|
||||
const int position = (step_ % 2 == 0 ? (step_ / 2) * (p_->n3 + p_->n4) + p_->n3
|
||||
: ((step_ + 1) / 2) * (p_->n3 + p_->n4));
|
||||
for (int i = 0; i < 291; ++i) ps_->fill_n(ps_->apply_brightness(((i - position + len * 100) % len) < n1 ? color(p_, 0) : color(p_, 1), p_->b), i, i + 1);
|
||||
ps_->show_all_parallel(); ps_->step = ++step_; drawn_ = true; return p_->a;
|
||||
}
|
||||
|
||||
START(Circle)
|
||||
bool Circle::tick() {
|
||||
const int head_delay = 1000 / std::max(1, p_->n1), tail_delay = 1000 / std::max(1, p_->n3);
|
||||
const int max_len = std::max(1, p_->n2), min_len = std::max(0, p_->n4);
|
||||
if (due(last_, head_delay)) ++head_;
|
||||
if (phase_ == 1 && due(started_, tail_delay)) ++tail_;
|
||||
const int length = std::max(0, head_ - tail_);
|
||||
if (phase_ == 0 && length >= max_len) phase_ = 1;
|
||||
if (phase_ == 1 && length <= min_len) phase_ = min_len ? 0 : 2;
|
||||
if (phase_ == 2) { phase_ = 0; tail_ = head_; }
|
||||
ps_->fill(phase_ == 2 ? ps_->apply_brightness(color(p_, 1, black()), p_->b) : black());
|
||||
for (int i = 0; i <= length; ++i) ps_->fill_n(ps_->apply_brightness(color(p_, 0), p_->b), tail_ + i, tail_ + i + 1);
|
||||
ps_->show_all_parallel(); return true;
|
||||
}
|
||||
|
||||
START(Roll)
|
||||
bool Roll::tick() {
|
||||
if (drawn_ && (!p_->a || !due(last_, std::max(1, p_->d)))) return p_->a;
|
||||
const int head = (p_->n4 == 0 ? step_ : 7 - step_) & 7; ps_->last_roll_head = head;
|
||||
const RGB c1 = ps_->apply_brightness(color(p_, 0), p_->b), c2 = ps_->apply_brightness(color(p_, 1, black()), p_->b);
|
||||
for (int s = 0; s < 8; ++s) {
|
||||
const int dist = p_->n4 == 0 ? (head - s + 8) % 8 : (s - head + 8) % 8;
|
||||
const RGB c = lerp(c1, c2, dist / 7.0f); auto& strip = *ps_->strips[s];
|
||||
const int begin_at = std::max(0, p_->n1), end_at = std::max(begin_at, int(strip.num_leds) - std::max(0, p_->n2));
|
||||
for (uint16_t i = 0; i < strip.num_leds; ++i) strip.set(i, i >= begin_at && i < end_at ? c : black());
|
||||
}
|
||||
ps_->show_all_parallel(); ++step_; ps_->step = step_; drawn_ = true;
|
||||
return !(p_->n3 > 0 && step_ >= p_->n3 * 8);
|
||||
}
|
||||
|
||||
START(Calibration)
|
||||
bool Calibration::tick() {
|
||||
if (drawn_) return true;
|
||||
for (int s = 0; s < 8; ++s) for (uint16_t i = 0; i < ps_->strips[s]->num_leds; ++i)
|
||||
ps_->strips[s]->set(i, (s == 2 || s == 6) ? (i < 10 ? RGB{0,25,0} : (((i-10)/10)%2 ? RGB{25,0,0} : RGB{0,0,25})) : black());
|
||||
ps_->show_all_parallel(); drawn_ = true; return true;
|
||||
}
|
||||
START(Test)
|
||||
bool Test::tick() {
|
||||
if (drawn_) return true;
|
||||
ps_->fill(black()); for (int s = 0; s < 8; ++s) { for (int i=0;i<=s;++i) ps_->strips[s]->set(i,{127,0,0}); ps_->strips[s]->set(ps_->strip_midpoints[s],{127,0,0}); }
|
||||
ps_->show_all_parallel(); drawn_=true; return true;
|
||||
}
|
||||
START(Grab)
|
||||
bool Grab::tick() {
|
||||
if (drawn_) return true; ps_->fill(black());
|
||||
for (int s=0;s<8;++s) for (int i=std::max(0,int(ps_->strip_midpoints[s])-10); i<=int(ps_->strip_midpoints[s])+10; ++i) ps_->strips[s]->set(i,color(p_,0,{180,0,255}));
|
||||
ps_->show_all_parallel(); drawn_=true; return true;
|
||||
}
|
||||
|
||||
START(Spin)
|
||||
bool Spin::tick() {
|
||||
if (!due(last_, std::max(1,p_->d))) return true;
|
||||
const int rate=std::max(1,p_->n1), margin=std::max(0,p_->n2);
|
||||
for (int s : {0,4}) { auto& strip=*ps_->strips[s]; int mid=ps_->strip_midpoints[s], expand=step_*(s==0?std::max(1,rate/2):rate);
|
||||
int left=std::max(margin,mid-10-expand), right=std::min(int(strip.num_leds)-margin,mid+11+expand);
|
||||
for(int i=left;i<mid-10;++i) strip.set(i,lerp(color(p_,1),color(p_,0),float(i-left)/std::max(1,mid-10-left-1)));
|
||||
for(int i=mid+11;i<right;++i) strip.set(i,lerp(color(p_,0),color(p_,1),float(i-mid-11)/std::max(1,right-mid-12))); }
|
||||
ps_->show_all_parallel(); ++step_; return true;
|
||||
}
|
||||
START(Lift)
|
||||
bool Lift::tick() {
|
||||
if (!due(last_,std::max(1,p_->d))) return true;
|
||||
const int rate=std::max(1,p_->n1), margin=std::max(0,p_->n2); bool done=true;
|
||||
for(int s : {0,4}) { auto& strip=*ps_->strips[s]; int mid=ps_->strip_midpoints[s], shrink=step_*(s==0?std::max(1,rate/2):rate);
|
||||
int left=std::min(mid-10,margin+shrink), right=std::max(mid+11,int(strip.num_leds)-margin-shrink);
|
||||
for(int i=margin;i<mid-10;++i) strip.set(i,black()); for(int i=mid+11;i<int(strip.num_leds)-margin;++i) strip.set(i,black());
|
||||
for(int i=left;i<mid-10;++i) strip.set(i,lerp(color(p_,1),color(p_,0),float(i-left)/std::max(1,mid-10-left-1)));
|
||||
for(int i=mid+11;i<right;++i) strip.set(i,lerp(color(p_,0),color(p_,1),float(i-mid-11)/std::max(1,right-mid-12)));
|
||||
done &= left==mid-10 && right==mid+11; }
|
||||
ps_->show_all_parallel(); ++step_; return true; // Lift holds its final image.
|
||||
}
|
||||
START(Flare)
|
||||
bool Flare::tick() {
|
||||
const int fade=std::max(1,p_->d); const float f=std::min(1.0f,float(now()-started_)/fade); auto& strip=*ps_->strips[std::clamp(ps_->last_roll_head,0,7)];
|
||||
const int count=std::clamp(p_->n1,0,int(strip.num_leds)); for(uint16_t i=0;i<strip.num_leds;++i) strip.set(i,ps_->apply_brightness(lerp(black(),color(p_,i<count?0:1,black()),f),p_->b));
|
||||
strip.show(); return true;
|
||||
}
|
||||
START(Hook)
|
||||
bool Hook::tick() {
|
||||
if(drawn_) return true; ps_->fill(black()); const int a=std::max(0,p_->n1),b=std::min(7,std::max(a,p_->n2)),span=std::max(0,p_->n3);
|
||||
for(int s=a;s<=b;++s) { int center=ps_->strip_midpoints[s]+p_->n4; for(int i=std::max(0,center-span);i<=std::min(int(ps_->strips[s]->num_leds)-1,center+span);++i) ps_->strips[s]->set(i,color(p_,0,black())); }
|
||||
ps_->show_all_parallel(); drawn_=true; return true;
|
||||
}
|
||||
START(Pose)
|
||||
bool Pose::tick() {
|
||||
if(drawn_) return true; const int ranges[8]={p_->n1,p_->n2,p_->n3,p_->n4,p_->n5,p_->n6,p_->n7,p_->n8};
|
||||
for(auto& sp:ps_->strips) for(uint16_t i=0;i<sp->num_leds;++i) { RGB out=black(); for(int n=0;n<4;++n) {int a=std::min(ranges[n*2],ranges[n*2+1]),b=std::max(ranges[n*2],ranges[n*2+1]);if(i>=a&&i<=b)out=ps_->apply_brightness(color(p_,n,black()),p_->b);} sp->set(i,out); }
|
||||
ps_->show_all_parallel();drawn_=true;return true;
|
||||
}
|
||||
START(Point)
|
||||
bool Point::tick() {
|
||||
if(drawn_) return false; ps_->fill(black()); const int r[8]={p_->n1,p_->n2,p_->n3,p_->n4,p_->n5,p_->n6,p_->n7,p_->n8};
|
||||
for(int n=0;n<4;++n) ps_->fill_n(ps_->apply_brightness(color(p_,n,black()),p_->b),r[n*2],r[n*2+1]);
|
||||
ps_->show_all_parallel();drawn_=true;return false;
|
||||
}
|
||||
START(ScaleTest)
|
||||
bool ScaleTest::tick() {
|
||||
if(!due(last_,std::max(1,p_->d)))return true;ps_->fill(black());for(size_t s=0;s<8;++s)ps_->set(s,step_%291,ps_->apply_brightness({255,0,0},p_->b));ps_->show_all_parallel();ps_->step=++step_;return true;
|
||||
}
|
||||
#undef START
|
||||
@@ -0,0 +1,33 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
class Presets;
|
||||
class Preset;
|
||||
|
||||
class Pattern {
|
||||
public:
|
||||
virtual ~Pattern() = default;
|
||||
virtual void start(Presets& presets, Preset* preset) = 0;
|
||||
virtual bool tick() = 0;
|
||||
};
|
||||
|
||||
#define DECLARE_PATTERN(name) class name final : public Pattern { public: void start(Presets&, Preset*) override; bool tick() override; private: Presets* ps_ = nullptr; Preset* p_ = nullptr; uint32_t started_ = 0, last_ = 0; int step_ = 0, head_ = 0, tail_ = 0, phase_ = 0; bool drawn_ = false; };
|
||||
DECLARE_PATTERN(Blink)
|
||||
DECLARE_PATTERN(Rainbow)
|
||||
DECLARE_PATTERN(Pulse)
|
||||
DECLARE_PATTERN(Transition)
|
||||
DECLARE_PATTERN(Chase)
|
||||
DECLARE_PATTERN(Circle)
|
||||
DECLARE_PATTERN(Roll)
|
||||
DECLARE_PATTERN(Calibration)
|
||||
DECLARE_PATTERN(Test)
|
||||
DECLARE_PATTERN(Grab)
|
||||
DECLARE_PATTERN(Spin)
|
||||
DECLARE_PATTERN(Lift)
|
||||
DECLARE_PATTERN(Flare)
|
||||
DECLARE_PATTERN(Hook)
|
||||
DECLARE_PATTERN(Pose)
|
||||
DECLARE_PATTERN(Point)
|
||||
DECLARE_PATTERN(ScaleTest)
|
||||
#undef DECLARE_PATTERN
|
||||
+166
@@ -0,0 +1,166 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "httpserver.h"
|
||||
#include "web.h"
|
||||
#include "web_index_html.h"
|
||||
#include "web_main_js.h"
|
||||
#include "web_styles_css.h"
|
||||
#include "flash_store.h"
|
||||
#include "mini_json.h"
|
||||
#include "cmd_queue.h"
|
||||
|
||||
#define WS_MSG_MAX 2048
|
||||
|
||||
static httpserver_t *g_http;
|
||||
static char g_buttons_json[FLASH_STORE_MAX];
|
||||
|
||||
static void buttons_load(void) {
|
||||
size_t n = 0;
|
||||
if (!flash_store_load("buttons", g_buttons_json, sizeof(g_buttons_json), &n)) {
|
||||
snprintf(g_buttons_json, sizeof(g_buttons_json), "{\"buttons\":[]}");
|
||||
}
|
||||
}
|
||||
|
||||
static void on_index(httpserver_conn_t *conn, const char *path, const char *query) {
|
||||
(void)path;
|
||||
(void)query;
|
||||
httpserver_send_static(conn, 200, "text/html; charset=utf-8", web_index_html, web_index_html_len);
|
||||
}
|
||||
|
||||
static void on_main_js(httpserver_conn_t *conn, const char *path, const char *query) {
|
||||
(void)path;
|
||||
(void)query;
|
||||
httpserver_send_static(conn, 200, "application/javascript; charset=utf-8", web_main_js, web_main_js_len);
|
||||
}
|
||||
|
||||
static void on_styles_css(httpserver_conn_t *conn, const char *path, const char *query) {
|
||||
(void)path;
|
||||
(void)query;
|
||||
httpserver_send_static(conn, 200, "text/css; charset=utf-8", web_styles_css, web_styles_css_len);
|
||||
}
|
||||
|
||||
static void on_get_buttons(httpserver_conn_t *conn, const char *path, const char *query) {
|
||||
(void)path;
|
||||
(void)query;
|
||||
httpserver_send(conn, 200, "application/json", g_buttons_json, strlen(g_buttons_json));
|
||||
}
|
||||
|
||||
static void on_post_buttons(httpserver_conn_t *conn, const char *path, const char *query) {
|
||||
(void)path;
|
||||
(void)query;
|
||||
size_t len = 0;
|
||||
const char *body = httpserver_request_body(conn, &len);
|
||||
if (!body || len == 0 || len >= sizeof(g_buttons_json)) {
|
||||
httpserver_send(conn, 500, "application/json", "{\"ok\":false}", 12);
|
||||
return;
|
||||
}
|
||||
memcpy(g_buttons_json, body, len);
|
||||
g_buttons_json[len] = '\0';
|
||||
if (!flash_store_save("buttons", g_buttons_json, len)) {
|
||||
httpserver_send(conn, 500, "application/json", "{\"ok\":false,\"error\":\"save failed\"}", 34);
|
||||
return;
|
||||
}
|
||||
httpserver_send(conn, 200, "application/json", "{\"ok\":true}", 11);
|
||||
}
|
||||
|
||||
static void on_ws_open(httpserver_conn_t *ws) {
|
||||
(void)ws;
|
||||
printf("ws: open\n");
|
||||
}
|
||||
|
||||
static void push_select(const char *name) {
|
||||
led_cmd_t cmd;
|
||||
memset(&cmd, 0, sizeof(cmd));
|
||||
cmd.type = CMD_SELECT;
|
||||
snprintf(cmd.name, sizeof(cmd.name), "%s", name);
|
||||
cmd_queue_push(&cmd);
|
||||
}
|
||||
|
||||
static void on_ws_msg(httpserver_conn_t *ws, const uint8_t *data, size_t len, bool text) {
|
||||
(void)text;
|
||||
char msg[WS_MSG_MAX + 1];
|
||||
if (len >= sizeof(msg)) {
|
||||
len = sizeof(msg) - 1;
|
||||
}
|
||||
memcpy(msg, data, len);
|
||||
msg[len] = '\0';
|
||||
printf("ws: %s\n", msg);
|
||||
|
||||
char name[CMD_NAME_MAX];
|
||||
if (json_get_select_name(msg, name, sizeof(name))) {
|
||||
push_select(name);
|
||||
/* broadcast selection so other clients update */
|
||||
char out[96];
|
||||
int n = snprintf(out, sizeof(out), "{\"select\":\"%s\"}", name);
|
||||
if (g_http) {
|
||||
httpserver_ws_broadcast(g_http, out, (size_t)n, true);
|
||||
} else {
|
||||
httpserver_ws_send(ws, out, (size_t)n, true);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
char obj[CMD_DATA_MAX];
|
||||
if (json_get_object(msg, "preset_edit", obj, sizeof(obj))) {
|
||||
led_cmd_t cmd;
|
||||
memset(&cmd, 0, sizeof(cmd));
|
||||
cmd.type = CMD_EDIT;
|
||||
if (!json_get_string(obj, "name", cmd.name, sizeof(cmd.name))) {
|
||||
return;
|
||||
}
|
||||
char data[CMD_DATA_MAX];
|
||||
if (json_get_object(obj, "data", data, sizeof(data))) {
|
||||
snprintf(cmd.data, sizeof(cmd.data), "%s", data);
|
||||
} else {
|
||||
/* data may be inline in edit object without nested key in some payloads */
|
||||
snprintf(cmd.data, sizeof(cmd.data), "%s", obj);
|
||||
}
|
||||
cmd_queue_push(&cmd);
|
||||
return;
|
||||
}
|
||||
|
||||
if (json_get_string(msg, "preset_delete", name, sizeof(name))) {
|
||||
led_cmd_t cmd;
|
||||
memset(&cmd, 0, sizeof(cmd));
|
||||
cmd.type = CMD_DELETE;
|
||||
snprintf(cmd.name, sizeof(cmd.name), "%s", name);
|
||||
cmd_queue_push(&cmd);
|
||||
return;
|
||||
}
|
||||
|
||||
bool save = false;
|
||||
if (json_get_bool(msg, "preset_save", &save) && save) {
|
||||
led_cmd_t cmd;
|
||||
memset(&cmd, 0, sizeof(cmd));
|
||||
cmd.type = CMD_SAVE;
|
||||
cmd_queue_push(&cmd);
|
||||
return;
|
||||
}
|
||||
|
||||
int b = 0;
|
||||
if (json_get_int(msg, "b", &b)) {
|
||||
led_cmd_t cmd;
|
||||
memset(&cmd, 0, sizeof(cmd));
|
||||
cmd.type = CMD_BRIGHTNESS;
|
||||
cmd.ival = b;
|
||||
cmd_queue_push(&cmd);
|
||||
}
|
||||
}
|
||||
|
||||
static void on_ws_close(httpserver_conn_t *ws) {
|
||||
(void)ws;
|
||||
printf("ws: close\n");
|
||||
}
|
||||
|
||||
bool web_start(void) {
|
||||
buttons_load();
|
||||
g_http = httpserver_create();
|
||||
httpserver_route(g_http, "GET", "/", on_index);
|
||||
httpserver_route(g_http, "GET", "/static/main.js", on_main_js);
|
||||
httpserver_route(g_http, "GET", "/static/styles.css", on_styles_css);
|
||||
httpserver_route(g_http, "GET", "/api/buttons", on_get_buttons);
|
||||
httpserver_route(g_http, "POST", "/api/buttons", on_post_buttons);
|
||||
httpserver_websocket(g_http, "/ws", on_ws_open, on_ws_msg, on_ws_close);
|
||||
return httpserver_listen(g_http, 80);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
#ifndef WEB_H
|
||||
#define WEB_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
bool web_start(void);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,447 @@
|
||||
/* auto-generated from /home/jimmy/projects/led-hoop/c/web/index.html */
|
||||
#pragma once
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
static const uint8_t web_index_html[] = {
|
||||
0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0x0a,
|
||||
0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x20, 0x6c, 0x61, 0x6e, 0x67, 0x3d, 0x22, 0x65, 0x6e, 0x22, 0x3e,
|
||||
0x0a, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6d, 0x65, 0x74,
|
||||
0x61, 0x20, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x3d, 0x22, 0x55, 0x54, 0x46, 0x2d, 0x38,
|
||||
0x22, 0x20, 0x2f, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6d, 0x65, 0x74, 0x61, 0x20, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x3d, 0x22, 0x76, 0x69, 0x65, 0x77, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x20, 0x63,
|
||||
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x3d, 0x22, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3d, 0x64, 0x65,
|
||||
0x76, 0x69, 0x63, 0x65, 0x2d, 0x77, 0x69, 0x64, 0x74, 0x68, 0x2c, 0x20, 0x69, 0x6e, 0x69, 0x74,
|
||||
0x69, 0x61, 0x6c, 0x2d, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x3d, 0x31, 0x2e, 0x30, 0x22, 0x20, 0x2f,
|
||||
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, 0x4c, 0x65, 0x64,
|
||||
0x20, 0x48, 0x6f, 0x6f, 0x70, 0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, 0x0a, 0x20, 0x20,
|
||||
0x20, 0x20, 0x3c, 0x6c, 0x69, 0x6e, 0x6b, 0x20, 0x72, 0x65, 0x6c, 0x3d, 0x22, 0x73, 0x74, 0x79,
|
||||
0x6c, 0x65, 0x73, 0x68, 0x65, 0x65, 0x74, 0x22, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x73,
|
||||
0x74, 0x61, 0x74, 0x69, 0x63, 0x2f, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x73, 0x2e, 0x63, 0x73, 0x73,
|
||||
0x22, 0x20, 0x2f, 0x3e, 0x0a, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x3e, 0x0a, 0x3c, 0x62, 0x6f,
|
||||
0x64, 0x79, 0x20, 0x64, 0x61, 0x74, 0x61, 0x2d, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2d, 0x69,
|
||||
0x64, 0x3d, 0x22, 0x31, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x64, 0x69, 0x76, 0x20,
|
||||
0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x3e, 0x0a,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x20,
|
||||
0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x6d, 0x65, 0x6e, 0x75, 0x2d, 0x62, 0x74, 0x6e, 0x22,
|
||||
0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x22, 0x20, 0x6f,
|
||||
0x6e, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x3d, 0x22, 0x74, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x4d, 0x65,
|
||||
0x6e, 0x75, 0x28, 0x29, 0x22, 0x20, 0x61, 0x72, 0x69, 0x61, 0x2d, 0x6c, 0x61, 0x62, 0x65, 0x6c,
|
||||
0x3d, 0x22, 0x4d, 0x65, 0x6e, 0x75, 0x22, 0x3e, 0xe2, 0x98, 0xb0, 0x20, 0x4d, 0x65, 0x6e, 0x75,
|
||||
0x3c, 0x2f, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x6d, 0x65,
|
||||
0x6e, 0x75, 0x22, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x6d, 0x65, 0x6e, 0x75, 0x22, 0x3e, 0x0a, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x75, 0x74, 0x74,
|
||||
0x6f, 0x6e, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x6d, 0x65, 0x6e, 0x75, 0x2d, 0x69,
|
||||
0x74, 0x65, 0x6d, 0x20, 0x6f, 0x66, 0x66, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x62,
|
||||
0x75, 0x74, 0x74, 0x6f, 0x6e, 0x22, 0x20, 0x6f, 0x6e, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x3d, 0x22,
|
||||
0x73, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x28, 0x27, 0x6f, 0x66, 0x66, 0x27,
|
||||
0x2c, 0x20, 0x6e, 0x75, 0x6c, 0x6c, 0x29, 0x3b, 0x20, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x4d, 0x65,
|
||||
0x6e, 0x75, 0x28, 0x29, 0x3b, 0x22, 0x3e, 0x4f, 0x66, 0x66, 0x3c, 0x2f, 0x62, 0x75, 0x74, 0x74,
|
||||
0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x3c, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x6d,
|
||||
0x65, 0x6e, 0x75, 0x2d, 0x69, 0x74, 0x65, 0x6d, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22,
|
||||
0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x22, 0x20, 0x6f, 0x6e, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x3d,
|
||||
0x22, 0x73, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x28, 0x27, 0x74, 0x65, 0x73,
|
||||
0x74, 0x27, 0x2c, 0x20, 0x6e, 0x75, 0x6c, 0x6c, 0x29, 0x3b, 0x20, 0x63, 0x6c, 0x6f, 0x73, 0x65,
|
||||
0x4d, 0x65, 0x6e, 0x75, 0x28, 0x29, 0x3b, 0x22, 0x3e, 0x54, 0x65, 0x73, 0x74, 0x3c, 0x2f, 0x62,
|
||||
0x75, 0x74, 0x74, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x3c, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73,
|
||||
0x3d, 0x22, 0x6d, 0x65, 0x6e, 0x75, 0x2d, 0x69, 0x74, 0x65, 0x6d, 0x22, 0x20, 0x74, 0x79, 0x70,
|
||||
0x65, 0x3d, 0x22, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x22, 0x20, 0x6f, 0x6e, 0x63, 0x6c, 0x69,
|
||||
0x63, 0x6b, 0x3d, 0x22, 0x73, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x28, 0x27,
|
||||
0x63, 0x61, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x27, 0x2c, 0x20, 0x6e, 0x75,
|
||||
0x6c, 0x6c, 0x29, 0x3b, 0x20, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x4d, 0x65, 0x6e, 0x75, 0x28, 0x29,
|
||||
0x3b, 0x22, 0x3e, 0x43, 0x61, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3c, 0x2f,
|
||||
0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x20, 0x63, 0x6c, 0x61, 0x73,
|
||||
0x73, 0x3d, 0x22, 0x6d, 0x65, 0x6e, 0x75, 0x2d, 0x69, 0x74, 0x65, 0x6d, 0x22, 0x20, 0x74, 0x79,
|
||||
0x70, 0x65, 0x3d, 0x22, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x22, 0x20, 0x6f, 0x6e, 0x63, 0x6c,
|
||||
0x69, 0x63, 0x6b, 0x3d, 0x22, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x4d, 0x65, 0x6e, 0x75, 0x28, 0x29,
|
||||
0x3b, 0x20, 0x6f, 0x70, 0x65, 0x6e, 0x4e, 0x65, 0x77, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x45,
|
||||
0x64, 0x69, 0x74, 0x6f, 0x72, 0x28, 0x29, 0x3b, 0x22, 0x3e, 0x41, 0x64, 0x64, 0x20, 0x62, 0x75,
|
||||
0x74, 0x74, 0x6f, 0x6e, 0x3c, 0x2f, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x75, 0x74, 0x74, 0x6f,
|
||||
0x6e, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x6d, 0x65, 0x6e, 0x75, 0x2d, 0x69, 0x74,
|
||||
0x65, 0x6d, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e,
|
||||
0x22, 0x20, 0x6f, 0x6e, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x3d, 0x22, 0x63, 0x6c, 0x6f, 0x73, 0x65,
|
||||
0x4d, 0x65, 0x6e, 0x75, 0x28, 0x29, 0x3b, 0x20, 0x73, 0x61, 0x76, 0x65, 0x43, 0x75, 0x72, 0x72,
|
||||
0x65, 0x6e, 0x74, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73, 0x28, 0x29, 0x3b, 0x22, 0x3e, 0x53,
|
||||
0x61, 0x76, 0x65, 0x3c, 0x2f, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||
0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x64, 0x69, 0x76, 0x20,
|
||||
0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73, 0x22, 0x20,
|
||||
0x69, 0x64, 0x3d, 0x22, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61,
|
||||
0x69, 0x6e, 0x65, 0x72, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x64, 0x69, 0x76,
|
||||
0x3e, 0x0a, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6c, 0x61, 0x73,
|
||||
0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72,
|
||||
0x22, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x45, 0x64, 0x69, 0x74,
|
||||
0x6f, 0x72, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x64, 0x69,
|
||||
0x76, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d,
|
||||
0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x22, 0x3e, 0x0a, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x68, 0x32, 0x20, 0x63,
|
||||
0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69,
|
||||
0x74, 0x6f, 0x72, 0x2d, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x22, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x62,
|
||||
0x75, 0x74, 0x74, 0x6f, 0x6e, 0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x54, 0x69, 0x74, 0x6c, 0x65,
|
||||
0x22, 0x3e, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x3c, 0x2f, 0x68, 0x32, 0x3e, 0x0a, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x61, 0x62, 0x65, 0x6c,
|
||||
0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65,
|
||||
0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x3e, 0x0a, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x73,
|
||||
0x70, 0x61, 0x6e, 0x3e, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x20, 0x6c, 0x61, 0x62, 0x65, 0x6c,
|
||||
0x3c, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20, 0x69,
|
||||
0x64, 0x3d, 0x22, 0x62, 0x65, 0x2d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0x20, 0x74, 0x79, 0x70,
|
||||
0x65, 0x3d, 0x22, 0x74, 0x65, 0x78, 0x74, 0x22, 0x20, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f,
|
||||
0x6c, 0x64, 0x65, 0x72, 0x3d, 0x22, 0x65, 0x2e, 0x67, 0x2e, 0x20, 0x67, 0x72, 0x61, 0x62, 0x22,
|
||||
0x20, 0x2f, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x3c, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x20, 0x63, 0x6c, 0x61, 0x73,
|
||||
0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72,
|
||||
0x2d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x50,
|
||||
0x72, 0x65, 0x73, 0x65, 0x74, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3c, 0x2f, 0x73, 0x70, 0x61, 0x6e,
|
||||
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x3c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x62, 0x65, 0x2d,
|
||||
0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x74, 0x65,
|
||||
0x78, 0x74, 0x22, 0x20, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x3d,
|
||||
0x22, 0x65, 0x2e, 0x67, 0x2e, 0x20, 0x67, 0x72, 0x61, 0x62, 0x22, 0x20, 0x2f, 0x3e, 0x0a, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x6c, 0x61, 0x62,
|
||||
0x65, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x3c, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x70, 0x72,
|
||||
0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x66, 0x69, 0x65, 0x6c,
|
||||
0x64, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x3c, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72,
|
||||
0x6e, 0x20, 0x28, 0x70, 0x29, 0x3c, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x73, 0x65,
|
||||
0x6c, 0x65, 0x63, 0x74, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x62, 0x65, 0x2d, 0x70, 0x61, 0x74, 0x74,
|
||||
0x65, 0x72, 0x6e, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x73, 0x70, 0x69, 0x6e, 0x22, 0x3e, 0x73,
|
||||
0x70, 0x69, 0x6e, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22,
|
||||
0x72, 0x6f, 0x6c, 0x6c, 0x22, 0x3e, 0x72, 0x6f, 0x6c, 0x6c, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x67, 0x72, 0x61, 0x62, 0x22, 0x3e, 0x67, 0x72, 0x61,
|
||||
0x62, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||
0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x6c, 0x69,
|
||||
0x66, 0x74, 0x22, 0x3e, 0x6c, 0x69, 0x66, 0x74, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x3d, 0x22, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x22, 0x3e, 0x66, 0x6c, 0x61, 0x72,
|
||||
0x65, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||
0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x68, 0x6f,
|
||||
0x6f, 0x6b, 0x22, 0x3e, 0x68, 0x6f, 0x6f, 0x6b, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x3d, 0x22, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x73, 0x70, 0x6c, 0x69, 0x74,
|
||||
0x22, 0x3e, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x3c, 0x2f, 0x6f,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x70, 0x6f, 0x73, 0x65, 0x22, 0x3e,
|
||||
0x70, 0x6f, 0x73, 0x65, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d,
|
||||
0x22, 0x62, 0x61, 0x63, 0x6b, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x3e, 0x62, 0x61,
|
||||
0x63, 0x6b, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x62, 0x65, 0x61, 0x74, 0x22, 0x3e, 0x62, 0x65, 0x61, 0x74,
|
||||
0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x63, 0x72, 0x6f,
|
||||
0x75, 0x63, 0x68, 0x22, 0x3e, 0x63, 0x72, 0x6f, 0x75, 0x63, 0x68, 0x3c, 0x2f, 0x6f, 0x70, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x62, 0x61, 0x63, 0x6b, 0x62, 0x65, 0x6e, 0x64,
|
||||
0x73, 0x70, 0x6c, 0x69, 0x74, 0x22, 0x3e, 0x62, 0x61, 0x63, 0x6b, 0x62, 0x65, 0x6e, 0x64, 0x73,
|
||||
0x70, 0x6c, 0x69, 0x74, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d,
|
||||
0x22, 0x73, 0x74, 0x72, 0x61, 0x64, 0x64, 0x6c, 0x65, 0x22, 0x3e, 0x73, 0x74, 0x72, 0x61, 0x64,
|
||||
0x64, 0x6c, 0x65, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22,
|
||||
0x66, 0x72, 0x6f, 0x6e, 0x74, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x3e, 0x66, 0x72,
|
||||
0x6f, 0x6e, 0x74, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x65, 0x6c, 0x62, 0x6f, 0x77, 0x68, 0x61, 0x6e, 0x67,
|
||||
0x22, 0x3e, 0x65, 0x6c, 0x62, 0x6f, 0x77, 0x68, 0x61, 0x6e, 0x67, 0x3c, 0x2f, 0x6f, 0x70, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x65, 0x6c, 0x62, 0x6f, 0x77, 0x68, 0x61, 0x6e,
|
||||
0x67, 0x73, 0x70, 0x69, 0x6e, 0x22, 0x3e, 0x65, 0x6c, 0x62, 0x6f, 0x77, 0x68, 0x61, 0x6e, 0x67,
|
||||
0x73, 0x70, 0x69, 0x6e, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d,
|
||||
0x22, 0x64, 0x69, 0x73, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3e, 0x64, 0x69, 0x73, 0x6d, 0x6f,
|
||||
0x75, 0x6e, 0x74, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22,
|
||||
0x66, 0x6c, 0x75, 0x66, 0x66, 0x22, 0x3e, 0x66, 0x6c, 0x75, 0x66, 0x66, 0x3c, 0x2f, 0x6f, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x65, 0x6c, 0x62, 0x6f, 0x77, 0x68, 0x61,
|
||||
0x6e, 0x67, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x22, 0x3e, 0x65, 0x6c, 0x62, 0x6f, 0x77, 0x68, 0x61,
|
||||
0x6e, 0x67, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x3d, 0x22, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x22, 0x3e, 0x69, 0x6e, 0x76, 0x65,
|
||||
0x72, 0x74, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x62,
|
||||
0x61, 0x63, 0x6b, 0x62, 0x65, 0x6e, 0x64, 0x22, 0x3e, 0x62, 0x61, 0x63, 0x6b, 0x62, 0x65, 0x6e,
|
||||
0x64, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||
0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x73, 0x65,
|
||||
0x61, 0x74, 0x22, 0x3e, 0x73, 0x65, 0x61, 0x74, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x3d, 0x22, 0x6b, 0x6e, 0x65, 0x65, 0x68, 0x61, 0x6e, 0x67, 0x22, 0x3e, 0x6b,
|
||||
0x6e, 0x65, 0x65, 0x68, 0x61, 0x6e, 0x67, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x3d, 0x22, 0x6c, 0x65, 0x67, 0x73, 0x77, 0x6f, 0x6f, 0x70, 0x22, 0x3e, 0x6c, 0x65,
|
||||
0x67, 0x73, 0x77, 0x6f, 0x6f, 0x70, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x3d, 0x22, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x22, 0x3e, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x3c,
|
||||
0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x66, 0x6f, 0x6f, 0x74,
|
||||
0x68, 0x61, 0x6e, 0x67, 0x22, 0x3e, 0x66, 0x6f, 0x6f, 0x74, 0x68, 0x61, 0x6e, 0x67, 0x3c, 0x2f,
|
||||
0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x70, 0x6f, 0x69, 0x6e, 0x74,
|
||||
0x22, 0x3e, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x3d, 0x22, 0x6f, 0x66, 0x66, 0x22, 0x3e, 0x6f, 0x66, 0x66, 0x3c, 0x2f, 0x6f, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x6f, 0x6e, 0x22, 0x3e, 0x6f, 0x6e, 0x3c,
|
||||
0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x62, 0x6c, 0x69, 0x6e,
|
||||
0x6b, 0x22, 0x3e, 0x62, 0x6c, 0x69, 0x6e, 0x6b, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x3d, 0x22, 0x72, 0x61, 0x69, 0x6e, 0x62, 0x6f, 0x77, 0x22, 0x3e, 0x72, 0x61,
|
||||
0x69, 0x6e, 0x62, 0x6f, 0x77, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x3d, 0x22, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x22, 0x3e, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x3c, 0x2f,
|
||||
0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x74, 0x72, 0x61, 0x6e, 0x73,
|
||||
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||
0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x63, 0x68,
|
||||
0x61, 0x73, 0x65, 0x22, 0x3e, 0x63, 0x68, 0x61, 0x73, 0x65, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x22, 0x3e, 0x63,
|
||||
0x69, 0x72, 0x63, 0x6c, 0x65, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x3d, 0x22, 0x63, 0x61, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3e, 0x63,
|
||||
0x61, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x74, 0x65, 0x73, 0x74, 0x22, 0x3e, 0x74, 0x65, 0x73,
|
||||
0x74, 0x3c, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x73, 0x65, 0x6c,
|
||||
0x65, 0x63, 0x74, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x3c, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73,
|
||||
0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d,
|
||||
0x72, 0x6f, 0x77, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x20, 0x63, 0x6c, 0x61,
|
||||
0x73, 0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f,
|
||||
0x72, 0x2d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x73,
|
||||
0x70, 0x61, 0x6e, 0x3e, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x20, 0x28, 0x64, 0x29, 0x3c, 0x2f, 0x73,
|
||||
0x70, 0x61, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20,
|
||||
0x69, 0x64, 0x3d, 0x22, 0x62, 0x65, 0x2d, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x22, 0x20, 0x74, 0x79,
|
||||
0x70, 0x65, 0x3d, 0x22, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x20, 0x69, 0x6e, 0x70, 0x75,
|
||||
0x74, 0x6d, 0x6f, 0x64, 0x65, 0x3d, 0x22, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x22, 0x20,
|
||||
0x2f, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x3c, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x61, 0x62,
|
||||
0x65, 0x6c, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74,
|
||||
0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x3e, 0x0a,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x3c, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x42, 0x72, 0x69, 0x67, 0x68, 0x74,
|
||||
0x6e, 0x65, 0x73, 0x73, 0x20, 0x28, 0x62, 0x29, 0x3c, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x0a,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x3c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x62,
|
||||
0x65, 0x2d, 0x62, 0x72, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x22, 0x20, 0x74, 0x79,
|
||||
0x70, 0x65, 0x3d, 0x22, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x20, 0x69, 0x6e, 0x70, 0x75,
|
||||
0x74, 0x6d, 0x6f, 0x64, 0x65, 0x3d, 0x22, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x22, 0x20,
|
||||
0x6d, 0x69, 0x6e, 0x3d, 0x22, 0x30, 0x22, 0x20, 0x6d, 0x61, 0x78, 0x3d, 0x22, 0x32, 0x35, 0x35,
|
||||
0x22, 0x20, 0x2f, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x3e, 0x0a, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x61,
|
||||
0x62, 0x65, 0x6c, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65,
|
||||
0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x3e,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x3c, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x20, 0x28, 0x63,
|
||||
0x29, 0x3c, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20,
|
||||
0x69, 0x64, 0x3d, 0x22, 0x62, 0x65, 0x2d, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x22, 0x20, 0x74,
|
||||
0x79, 0x70, 0x65, 0x3d, 0x22, 0x74, 0x65, 0x78, 0x74, 0x22, 0x20, 0x70, 0x6c, 0x61, 0x63, 0x65,
|
||||
0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x3d, 0x22, 0x72, 0x2c, 0x67, 0x2c, 0x62, 0x3b, 0x20, 0x72,
|
||||
0x2c, 0x67, 0x2c, 0x62, 0x20, 0x28, 0x30, 0xe2, 0x80, 0x93, 0x32, 0x35, 0x35, 0x29, 0x22, 0x20,
|
||||
0x2f, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||
0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22,
|
||||
0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x72, 0x6f,
|
||||
0x77, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73,
|
||||
0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d,
|
||||
0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x22, 0x3e, 0x0a, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x3c, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x6e, 0x31, 0x3c, 0x2f, 0x73, 0x70, 0x61, 0x6e,
|
||||
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20, 0x69, 0x64, 0x3d,
|
||||
0x22, 0x62, 0x65, 0x2d, 0x6e, 0x31, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x6e, 0x75,
|
||||
0x6d, 0x62, 0x65, 0x72, 0x22, 0x20, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x6d, 0x6f, 0x64, 0x65, 0x3d,
|
||||
0x22, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x22, 0x20, 0x2f, 0x3e, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x6c,
|
||||
0x61, 0x62, 0x65, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x20, 0x63, 0x6c, 0x61,
|
||||
0x73, 0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f,
|
||||
0x72, 0x2d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x22, 0x3e, 0x0a,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x3c, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x6e, 0x32, 0x3c, 0x2f, 0x73, 0x70,
|
||||
0x61, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20, 0x69,
|
||||
0x64, 0x3d, 0x22, 0x62, 0x65, 0x2d, 0x6e, 0x32, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22,
|
||||
0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x20, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x6d, 0x6f, 0x64,
|
||||
0x65, 0x3d, 0x22, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x22, 0x20, 0x2f, 0x3e, 0x0a, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||
0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6c, 0x61, 0x73,
|
||||
0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72,
|
||||
0x2d, 0x72, 0x6f, 0x77, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x20, 0x63, 0x6c,
|
||||
0x61, 0x73, 0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74,
|
||||
0x6f, 0x72, 0x2d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x22, 0x3e,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x6e, 0x33, 0x3c, 0x2f, 0x73,
|
||||
0x70, 0x61, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20,
|
||||
0x69, 0x64, 0x3d, 0x22, 0x62, 0x65, 0x2d, 0x6e, 0x33, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d,
|
||||
0x22, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x20, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x6d, 0x6f,
|
||||
0x64, 0x65, 0x3d, 0x22, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x22, 0x20, 0x2f, 0x3e, 0x0a,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x3c, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x20,
|
||||
0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64,
|
||||
0x69, 0x74, 0x6f, 0x72, 0x2d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x73, 0x6d, 0x61, 0x6c, 0x6c,
|
||||
0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x6e, 0x34, 0x3c,
|
||||
0x2f, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x69, 0x6e, 0x70, 0x75,
|
||||
0x74, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x62, 0x65, 0x2d, 0x6e, 0x34, 0x22, 0x20, 0x74, 0x79, 0x70,
|
||||
0x65, 0x3d, 0x22, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x20, 0x69, 0x6e, 0x70, 0x75, 0x74,
|
||||
0x6d, 0x6f, 0x64, 0x65, 0x3d, 0x22, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x22, 0x20, 0x2f,
|
||||
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x3c, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e, 0x0a, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x64, 0x69, 0x76, 0x20, 0x63,
|
||||
0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69,
|
||||
0x74, 0x6f, 0x72, 0x2d, 0x72, 0x6f, 0x77, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x61, 0x62, 0x65, 0x6c,
|
||||
0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65,
|
||||
0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x73, 0x6d, 0x61, 0x6c,
|
||||
0x6c, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x6e, 0x35,
|
||||
0x3c, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x69, 0x6e, 0x70,
|
||||
0x75, 0x74, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x62, 0x65, 0x2d, 0x6e, 0x35, 0x22, 0x20, 0x74, 0x79,
|
||||
0x70, 0x65, 0x3d, 0x22, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x20, 0x69, 0x6e, 0x70, 0x75,
|
||||
0x74, 0x6d, 0x6f, 0x64, 0x65, 0x3d, 0x22, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x22, 0x20,
|
||||
0x2f, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x3c, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x61, 0x62,
|
||||
0x65, 0x6c, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74,
|
||||
0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x73, 0x6d,
|
||||
0x61, 0x6c, 0x6c, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x73, 0x70, 0x61, 0x6e, 0x3e,
|
||||
0x6e, 0x36, 0x3c, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x69,
|
||||
0x6e, 0x70, 0x75, 0x74, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x62, 0x65, 0x2d, 0x6e, 0x36, 0x22, 0x20,
|
||||
0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x20, 0x69, 0x6e,
|
||||
0x70, 0x75, 0x74, 0x6d, 0x6f, 0x64, 0x65, 0x3d, 0x22, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63,
|
||||
0x22, 0x20, 0x2f, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x3e, 0x0a, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x64, 0x69,
|
||||
0x76, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d,
|
||||
0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x72, 0x6f, 0x77, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x61,
|
||||
0x62, 0x65, 0x6c, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65,
|
||||
0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x73,
|
||||
0x6d, 0x61, 0x6c, 0x6c, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x73, 0x70, 0x61, 0x6e,
|
||||
0x3e, 0x6e, 0x37, 0x3c, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||
0x69, 0x6e, 0x70, 0x75, 0x74, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x62, 0x65, 0x2d, 0x6e, 0x37, 0x22,
|
||||
0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x20, 0x69,
|
||||
0x6e, 0x70, 0x75, 0x74, 0x6d, 0x6f, 0x64, 0x65, 0x3d, 0x22, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69,
|
||||
0x63, 0x22, 0x20, 0x2f, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x3e, 0x0a, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||
0x6c, 0x61, 0x62, 0x65, 0x6c, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x70, 0x72, 0x65,
|
||||
0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x66, 0x69, 0x65, 0x6c, 0x64,
|
||||
0x20, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x73, 0x70,
|
||||
0x61, 0x6e, 0x3e, 0x6e, 0x38, 0x3c, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x3c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x62, 0x65, 0x2d, 0x6e,
|
||||
0x38, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22,
|
||||
0x20, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x6d, 0x6f, 0x64, 0x65, 0x3d, 0x22, 0x6e, 0x75, 0x6d, 0x65,
|
||||
0x72, 0x69, 0x63, 0x22, 0x20, 0x2f, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x3e,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x64,
|
||||
0x69, 0x76, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x3c, 0x64, 0x69, 0x76, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73,
|
||||
0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x73, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x20, 0x74, 0x79, 0x70, 0x65,
|
||||
0x3d, 0x22, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x22, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d,
|
||||
0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x62,
|
||||
0x74, 0x6e, 0x20, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x20, 0x6f, 0x6e, 0x63, 0x6c,
|
||||
0x69, 0x63, 0x6b, 0x3d, 0x22, 0x73, 0x61, 0x76, 0x65, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x46,
|
||||
0x72, 0x6f, 0x6d, 0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x28, 0x29, 0x22, 0x3e, 0x53, 0x61, 0x76,
|
||||
0x65, 0x3c, 0x2f, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x75, 0x74, 0x74,
|
||||
0x6f, 0x6e, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x22,
|
||||
0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65,
|
||||
0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x62, 0x74, 0x6e, 0x22, 0x20, 0x6f, 0x6e, 0x63, 0x6c, 0x69,
|
||||
0x63, 0x6b, 0x3d, 0x22, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x45,
|
||||
0x64, 0x69, 0x74, 0x6f, 0x72, 0x28, 0x29, 0x22, 0x3e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x3c,
|
||||
0x2f, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||
0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x64, 0x69, 0x76, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||
0x2f, 0x64, 0x69, 0x76, 0x3e, 0x0a, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x75, 0x74, 0x74,
|
||||
0x6f, 0x6e, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x6e, 0x65, 0x78, 0x74, 0x2d, 0x62,
|
||||
0x74, 0x6e, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e,
|
||||
0x22, 0x20, 0x6f, 0x6e, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x3d, 0x22, 0x6e, 0x65, 0x78, 0x74, 0x50,
|
||||
0x72, 0x65, 0x73, 0x65, 0x74, 0x28, 0x29, 0x22, 0x3e, 0x4e, 0x65, 0x78, 0x74, 0x3c, 0x2f, 0x62,
|
||||
0x75, 0x74, 0x74, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x73, 0x63, 0x72, 0x69,
|
||||
0x70, 0x74, 0x20, 0x73, 0x72, 0x63, 0x3d, 0x22, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x2f, 0x6d,
|
||||
0x61, 0x69, 0x6e, 0x2e, 0x6a, 0x73, 0x22, 0x3e, 0x3c, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
|
||||
0x3e, 0x0a, 0x3c, 0x2f, 0x62, 0x6f, 0x64, 0x79, 0x3e, 0x0a, 0x3c, 0x2f, 0x68, 0x74, 0x6d, 0x6c,
|
||||
0x3e, 0x0a,
|
||||
};
|
||||
static const size_t web_index_html_len = sizeof(web_index_html);
|
||||
+1329
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,307 @@
|
||||
/* auto-generated from /home/jimmy/projects/led-hoop/c/web/static/styles.css */
|
||||
#pragma once
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
static const uint8_t web_styles_css[] = {
|
||||
0x62, 0x6f, 0x64, 0x79, 0x20, 0x7b, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x66, 0x61, 0x6d, 0x69,
|
||||
0x6c, 0x79, 0x3a, 0x20, 0x73, 0x61, 0x6e, 0x73, 0x2d, 0x73, 0x65, 0x72, 0x69, 0x66, 0x3b, 0x20,
|
||||
0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x3a, 0x20, 0x30, 0x3b, 0x20, 0x70, 0x61, 0x64, 0x64, 0x69,
|
||||
0x6e, 0x67, 0x3a, 0x20, 0x30, 0x20, 0x30, 0x20, 0x36, 0x2e, 0x35, 0x72, 0x65, 0x6d, 0x20, 0x30,
|
||||
0x3b, 0x20, 0x7d, 0x0a, 0x0a, 0x62, 0x6f, 0x64, 0x79, 0x2e, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e,
|
||||
0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x20, 0x7b, 0x0a, 0x20,
|
||||
0x20, 0x20, 0x20, 0x6f, 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x3a, 0x20, 0x68, 0x69, 0x64,
|
||||
0x64, 0x65, 0x6e, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x20,
|
||||
0x7b, 0x20, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x72, 0x65, 0x6c, 0x61,
|
||||
0x74, 0x69, 0x76, 0x65, 0x3b, 0x20, 0x7d, 0x0a, 0x0a, 0x2e, 0x6d, 0x65, 0x6e, 0x75, 0x2d, 0x62,
|
||||
0x74, 0x6e, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3a, 0x20,
|
||||
0x31, 0x30, 0x30, 0x25, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e,
|
||||
0x67, 0x3a, 0x20, 0x30, 0x2e, 0x37, 0x35, 0x72, 0x65, 0x6d, 0x20, 0x31, 0x72, 0x65, 0x6d, 0x3b,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x20,
|
||||
0x31, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72,
|
||||
0x3a, 0x20, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62,
|
||||
0x6f, 0x72, 0x64, 0x65, 0x72, 0x3a, 0x20, 0x31, 0x70, 0x78, 0x20, 0x73, 0x6f, 0x6c, 0x69, 0x64,
|
||||
0x20, 0x23, 0x35, 0x35, 0x35, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65,
|
||||
0x72, 0x2d, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x3a, 0x20, 0x23, 0x33, 0x33,
|
||||
0x33, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x20, 0x23, 0x66,
|
||||
0x66, 0x66, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2d, 0x61, 0x6c, 0x69,
|
||||
0x67, 0x6e, 0x3a, 0x20, 0x6c, 0x65, 0x66, 0x74, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e, 0x6d, 0x65,
|
||||
0x6e, 0x75, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
|
||||
0x3a, 0x20, 0x6e, 0x6f, 0x6e, 0x65, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x70, 0x6f, 0x73, 0x69,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x61, 0x62, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x65, 0x3b, 0x0a,
|
||||
0x20, 0x20, 0x20, 0x20, 0x74, 0x6f, 0x70, 0x3a, 0x20, 0x31, 0x30, 0x30, 0x25, 0x3b, 0x0a, 0x20,
|
||||
0x20, 0x20, 0x20, 0x6c, 0x65, 0x66, 0x74, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||
0x72, 0x69, 0x67, 0x68, 0x74, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x7a, 0x2d,
|
||||
0x69, 0x6e, 0x64, 0x65, 0x78, 0x3a, 0x20, 0x31, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x66,
|
||||
0x6c, 0x65, 0x78, 0x2d, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x63,
|
||||
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65,
|
||||
0x72, 0x3a, 0x20, 0x31, 0x70, 0x78, 0x20, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x20, 0x23, 0x35, 0x35,
|
||||
0x35, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2d, 0x74, 0x6f,
|
||||
0x70, 0x3a, 0x20, 0x6e, 0x6f, 0x6e, 0x65, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x61, 0x63,
|
||||
0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x3a, 0x20, 0x23, 0x32, 0x61, 0x32, 0x61, 0x32, 0x61,
|
||||
0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x78, 0x2d, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77,
|
||||
0x3a, 0x20, 0x30, 0x20, 0x34, 0x70, 0x78, 0x20, 0x38, 0x70, 0x78, 0x20, 0x72, 0x67, 0x62, 0x61,
|
||||
0x28, 0x30, 0x2c, 0x30, 0x2c, 0x30, 0x2c, 0x30, 0x2e, 0x33, 0x29, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a,
|
||||
0x2e, 0x6d, 0x65, 0x6e, 0x75, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x20, 0x7b, 0x20, 0x64, 0x69, 0x73,
|
||||
0x70, 0x6c, 0x61, 0x79, 0x3a, 0x20, 0x66, 0x6c, 0x65, 0x78, 0x3b, 0x20, 0x7d, 0x0a, 0x0a, 0x2e,
|
||||
0x6d, 0x65, 0x6e, 0x75, 0x2d, 0x69, 0x74, 0x65, 0x6d, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||
0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x30, 0x2e, 0x37, 0x35, 0x72, 0x65, 0x6d,
|
||||
0x20, 0x31, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d,
|
||||
0x73, 0x69, 0x7a, 0x65, 0x3a, 0x20, 0x31, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||
0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x3a, 0x20, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x3b,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x3a, 0x20, 0x6e, 0x6f, 0x6e,
|
||||
0x65, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2d, 0x62, 0x6f,
|
||||
0x74, 0x74, 0x6f, 0x6d, 0x3a, 0x20, 0x31, 0x70, 0x78, 0x20, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x20,
|
||||
0x23, 0x34, 0x34, 0x34, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72,
|
||||
0x6f, 0x75, 0x6e, 0x64, 0x3a, 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e,
|
||||
0x74, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x20, 0x23, 0x66,
|
||||
0x66, 0x66, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2d, 0x61, 0x6c, 0x69,
|
||||
0x67, 0x6e, 0x3a, 0x20, 0x6c, 0x65, 0x66, 0x74, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e, 0x6d, 0x65,
|
||||
0x6e, 0x75, 0x2d, 0x69, 0x74, 0x65, 0x6d, 0x3a, 0x6c, 0x61, 0x73, 0x74, 0x2d, 0x63, 0x68, 0x69,
|
||||
0x6c, 0x64, 0x20, 0x7b, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2d, 0x62, 0x6f, 0x74, 0x74,
|
||||
0x6f, 0x6d, 0x3a, 0x20, 0x6e, 0x6f, 0x6e, 0x65, 0x3b, 0x20, 0x7d, 0x0a, 0x0a, 0x2e, 0x6d, 0x65,
|
||||
0x6e, 0x75, 0x2d, 0x69, 0x74, 0x65, 0x6d, 0x3a, 0x68, 0x6f, 0x76, 0x65, 0x72, 0x20, 0x7b, 0x20,
|
||||
0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x3a, 0x20, 0x23, 0x34, 0x34, 0x34,
|
||||
0x3b, 0x20, 0x7d, 0x0a, 0x0a, 0x2e, 0x6d, 0x65, 0x6e, 0x75, 0x2d, 0x69, 0x74, 0x65, 0x6d, 0x2e,
|
||||
0x6f, 0x66, 0x66, 0x20, 0x7b, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64,
|
||||
0x3a, 0x20, 0x23, 0x35, 0x32, 0x32, 0x3b, 0x20, 0x7d, 0x0a, 0x0a, 0x2e, 0x62, 0x75, 0x74, 0x74,
|
||||
0x6f, 0x6e, 0x73, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
|
||||
0x79, 0x3a, 0x20, 0x67, 0x72, 0x69, 0x64, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x67, 0x72, 0x69,
|
||||
0x64, 0x2d, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2d, 0x63, 0x6f, 0x6c, 0x75, 0x6d,
|
||||
0x6e, 0x73, 0x3a, 0x20, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x28, 0x33, 0x2c, 0x20, 0x31, 0x66,
|
||||
0x72, 0x29, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x67, 0x61, 0x70, 0x3a, 0x20, 0x31, 0x70, 0x78,
|
||||
0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x6d, 0x61, 0x78, 0x2d, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74,
|
||||
0x3a, 0x20, 0x63, 0x61, 0x6c, 0x63, 0x28, 0x31, 0x30, 0x30, 0x76, 0x68, 0x20, 0x2d, 0x20, 0x31,
|
||||
0x30, 0x72, 0x65, 0x6d, 0x29, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x6f, 0x76, 0x65, 0x72, 0x66,
|
||||
0x6c, 0x6f, 0x77, 0x2d, 0x79, 0x3a, 0x20, 0x61, 0x75, 0x74, 0x6f, 0x3b, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x2d, 0x77, 0x65, 0x62, 0x6b, 0x69, 0x74, 0x2d, 0x6f, 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f,
|
||||
0x77, 0x2d, 0x73, 0x63, 0x72, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x74, 0x6f, 0x75,
|
||||
0x63, 0x68, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x40, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x20, 0x28, 0x6d,
|
||||
0x69, 0x6e, 0x2d, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3a, 0x20, 0x37, 0x36, 0x38, 0x70, 0x78, 0x29,
|
||||
0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x2e, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73, 0x20,
|
||||
0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x67, 0x72, 0x69, 0x64, 0x2d, 0x74,
|
||||
0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2d, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x3a,
|
||||
0x20, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x28, 0x36, 0x2c, 0x20, 0x31, 0x66, 0x72, 0x29, 0x3b,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x7d, 0x0a, 0x7d, 0x0a, 0x2e, 0x62, 0x74, 0x6e, 0x20, 0x7b, 0x0a,
|
||||
0x20, 0x20, 0x20, 0x20, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x30, 0x2e, 0x35,
|
||||
0x72, 0x65, 0x6d, 0x20, 0x30, 0x2e, 0x32, 0x35, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x3a, 0x20, 0x31, 0x70, 0x78, 0x20, 0x73, 0x6f, 0x6c,
|
||||
0x69, 0x64, 0x20, 0x23, 0x35, 0x35, 0x35, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x72,
|
||||
0x64, 0x65, 0x72, 0x2d, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20,
|
||||
0x20, 0x20, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x3a, 0x20, 0x23,
|
||||
0x34, 0x34, 0x34, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x20,
|
||||
0x23, 0x66, 0x66, 0x66, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73,
|
||||
0x69, 0x7a, 0x65, 0x3a, 0x20, 0x31, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x63,
|
||||
0x75, 0x72, 0x73, 0x6f, 0x72, 0x3a, 0x20, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x3b, 0x0a,
|
||||
0x20, 0x20, 0x20, 0x20, 0x6d, 0x69, 0x6e, 0x2d, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3a, 0x20,
|
||||
0x34, 0x2e, 0x31, 0x35, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x7d, 0x0a, 0x2e, 0x62, 0x74, 0x6e, 0x2e,
|
||||
0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62,
|
||||
0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x3a, 0x20, 0x23, 0x32, 0x61, 0x37, 0x3b,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2d, 0x63, 0x6f, 0x6c, 0x6f,
|
||||
0x72, 0x3a, 0x20, 0x23, 0x33, 0x62, 0x38, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e, 0x62, 0x74, 0x6e,
|
||||
0x2e, 0x64, 0x72, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x20, 0x7b, 0x20, 0x6f, 0x70, 0x61, 0x63,
|
||||
0x69, 0x74, 0x79, 0x3a, 0x20, 0x30, 0x2e, 0x35, 0x3b, 0x20, 0x7d, 0x0a, 0x0a, 0x2e, 0x62, 0x74,
|
||||
0x6e, 0x2e, 0x64, 0x72, 0x6f, 0x70, 0x2d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x20, 0x7b, 0x20,
|
||||
0x6f, 0x75, 0x74, 0x6c, 0x69, 0x6e, 0x65, 0x3a, 0x20, 0x32, 0x70, 0x78, 0x20, 0x73, 0x6f, 0x6c,
|
||||
0x69, 0x64, 0x20, 0x23, 0x33, 0x62, 0x38, 0x3b, 0x20, 0x6f, 0x75, 0x74, 0x6c, 0x69, 0x6e, 0x65,
|
||||
0x2d, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x3a, 0x20, 0x2d, 0x32, 0x70, 0x78, 0x3b, 0x20, 0x7d,
|
||||
0x0a, 0x0a, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2d, 0x6d, 0x65, 0x6e, 0x75, 0x20,
|
||||
0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20,
|
||||
0x66, 0x69, 0x78, 0x65, 0x64, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x7a, 0x2d, 0x69, 0x6e, 0x64,
|
||||
0x65, 0x78, 0x3a, 0x20, 0x31, 0x30, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x61, 0x63,
|
||||
0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x3a, 0x20, 0x23, 0x32, 0x61, 0x32, 0x61, 0x32, 0x61,
|
||||
0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x3a, 0x20, 0x31, 0x70,
|
||||
0x78, 0x20, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x20, 0x23, 0x35, 0x35, 0x35, 0x3b, 0x0a, 0x20, 0x20,
|
||||
0x20, 0x20, 0x62, 0x6f, 0x78, 0x2d, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x3a, 0x20, 0x30, 0x20,
|
||||
0x34, 0x70, 0x78, 0x20, 0x31, 0x32, 0x70, 0x78, 0x20, 0x72, 0x67, 0x62, 0x61, 0x28, 0x30, 0x2c,
|
||||
0x30, 0x2c, 0x30, 0x2c, 0x30, 0x2e, 0x34, 0x29, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x6d, 0x69,
|
||||
0x6e, 0x2d, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3a, 0x20, 0x38, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x7d,
|
||||
0x0a, 0x0a, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2d, 0x6d, 0x65, 0x6e, 0x75, 0x2d,
|
||||
0x69, 0x74, 0x65, 0x6d, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x64, 0x69, 0x73, 0x70, 0x6c,
|
||||
0x61, 0x79, 0x3a, 0x20, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x77,
|
||||
0x69, 0x64, 0x74, 0x68, 0x3a, 0x20, 0x31, 0x30, 0x30, 0x25, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||
0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x30, 0x2e, 0x35, 0x72, 0x65, 0x6d, 0x20,
|
||||
0x31, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72,
|
||||
0x3a, 0x20, 0x6e, 0x6f, 0x6e, 0x65, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x61, 0x63, 0x6b,
|
||||
0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x3a, 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72,
|
||||
0x65, 0x6e, 0x74, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x20,
|
||||
0x23, 0x66, 0x66, 0x66, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73,
|
||||
0x69, 0x7a, 0x65, 0x3a, 0x20, 0x31, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x74,
|
||||
0x65, 0x78, 0x74, 0x2d, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x3a, 0x20, 0x6c, 0x65, 0x66, 0x74, 0x3b,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x3a, 0x20, 0x70, 0x6f, 0x69,
|
||||
0x6e, 0x74, 0x65, 0x72, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78,
|
||||
0x74, 0x2d, 0x6d, 0x65, 0x6e, 0x75, 0x2d, 0x69, 0x74, 0x65, 0x6d, 0x3a, 0x68, 0x6f, 0x76, 0x65,
|
||||
0x72, 0x20, 0x7b, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x3a, 0x20,
|
||||
0x23, 0x34, 0x34, 0x34, 0x3b, 0x20, 0x7d, 0x0a, 0x0a, 0x2e, 0x74, 0x6f, 0x61, 0x73, 0x74, 0x20,
|
||||
0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20,
|
||||
0x66, 0x69, 0x78, 0x65, 0x64, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x74, 0x74, 0x6f,
|
||||
0x6d, 0x3a, 0x20, 0x35, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x6c, 0x65, 0x66,
|
||||
0x74, 0x3a, 0x20, 0x35, 0x30, 0x25, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x74, 0x72, 0x61, 0x6e,
|
||||
0x73, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65,
|
||||
0x58, 0x28, 0x2d, 0x35, 0x30, 0x25, 0x29, 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74,
|
||||
0x65, 0x59, 0x28, 0x32, 0x72, 0x65, 0x6d, 0x29, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x70, 0x61,
|
||||
0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x30, 0x2e, 0x35, 0x72, 0x65, 0x6d, 0x20, 0x31, 0x72,
|
||||
0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75,
|
||||
0x6e, 0x64, 0x3a, 0x20, 0x23, 0x33, 0x33, 0x33, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x63, 0x6f,
|
||||
0x6c, 0x6f, 0x72, 0x3a, 0x20, 0x23, 0x66, 0x66, 0x66, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62,
|
||||
0x6f, 0x72, 0x64, 0x65, 0x72, 0x2d, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x3a, 0x20, 0x34, 0x70,
|
||||
0x78, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65,
|
||||
0x3a, 0x20, 0x30, 0x2e, 0x39, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x7a, 0x2d,
|
||||
0x69, 0x6e, 0x64, 0x65, 0x78, 0x3a, 0x20, 0x31, 0x30, 0x30, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x6f, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x6f, 0x70, 0x61,
|
||||
0x63, 0x69, 0x74, 0x79, 0x20, 0x30, 0x2e, 0x32, 0x73, 0x2c, 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73,
|
||||
0x66, 0x6f, 0x72, 0x6d, 0x20, 0x30, 0x2e, 0x32, 0x73, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x70,
|
||||
0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x2d, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x20, 0x6e,
|
||||
0x6f, 0x6e, 0x65, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e, 0x74, 0x6f, 0x61, 0x73, 0x74, 0x2e, 0x74,
|
||||
0x6f, 0x61, 0x73, 0x74, 0x2d, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x20, 0x7b, 0x0a, 0x20,
|
||||
0x20, 0x20, 0x20, 0x6f, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x3a, 0x20, 0x31, 0x3b, 0x0a, 0x20,
|
||||
0x20, 0x20, 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x20, 0x74, 0x72,
|
||||
0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x58, 0x28, 0x2d, 0x35, 0x30, 0x25, 0x29, 0x20, 0x74,
|
||||
0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x59, 0x28, 0x30, 0x29, 0x3b, 0x0a, 0x7d, 0x0a,
|
||||
0x2e, 0x6e, 0x65, 0x78, 0x74, 0x2d, 0x62, 0x74, 0x6e, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||
0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x66, 0x69, 0x78, 0x65, 0x64, 0x3b,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x74, 0x74, 0x6f, 0x6d, 0x3a, 0x20, 0x30, 0x3b, 0x0a,
|
||||
0x20, 0x20, 0x20, 0x20, 0x6c, 0x65, 0x66, 0x74, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x72, 0x69, 0x67, 0x68, 0x74, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x77,
|
||||
0x69, 0x64, 0x74, 0x68, 0x3a, 0x20, 0x31, 0x30, 0x30, 0x25, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||
0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x32, 0x72, 0x65, 0x6d, 0x20, 0x31, 0x72,
|
||||
0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x2d,
|
||||
0x62, 0x6f, 0x74, 0x74, 0x6f, 0x6d, 0x3a, 0x20, 0x6d, 0x61, 0x78, 0x28, 0x32, 0x72, 0x65, 0x6d,
|
||||
0x2c, 0x20, 0x65, 0x6e, 0x76, 0x28, 0x73, 0x61, 0x66, 0x65, 0x2d, 0x61, 0x72, 0x65, 0x61, 0x2d,
|
||||
0x69, 0x6e, 0x73, 0x65, 0x74, 0x2d, 0x62, 0x6f, 0x74, 0x74, 0x6f, 0x6d, 0x29, 0x29, 0x3b, 0x0a,
|
||||
0x20, 0x20, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x20, 0x31,
|
||||
0x2e, 0x32, 0x35, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x63, 0x75, 0x72, 0x73,
|
||||
0x6f, 0x72, 0x3a, 0x20, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x3b, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x3a, 0x20, 0x32, 0x70, 0x78, 0x20, 0x73, 0x6f, 0x6c,
|
||||
0x69, 0x64, 0x20, 0x23, 0x35, 0x35, 0x35, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x72,
|
||||
0x64, 0x65, 0x72, 0x2d, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20,
|
||||
0x20, 0x20, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x3a, 0x20, 0x23,
|
||||
0x33, 0x33, 0x33, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x20,
|
||||
0x23, 0x66, 0x66, 0x66, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74,
|
||||
0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x70, 0x6f,
|
||||
0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x66, 0x69, 0x78, 0x65, 0x64, 0x3b, 0x0a, 0x20,
|
||||
0x20, 0x20, 0x20, 0x69, 0x6e, 0x73, 0x65, 0x74, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x3a, 0x20, 0x72, 0x67, 0x62,
|
||||
0x61, 0x28, 0x30, 0x2c, 0x20, 0x30, 0x2c, 0x20, 0x30, 0x2c, 0x20, 0x30, 0x2e, 0x36, 0x35, 0x29,
|
||||
0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x3a, 0x20, 0x6e,
|
||||
0x6f, 0x6e, 0x65, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x2d, 0x69,
|
||||
0x74, 0x65, 0x6d, 0x73, 0x3a, 0x20, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3b, 0x0a, 0x20, 0x20,
|
||||
0x20, 0x20, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x79, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
|
||||
0x74, 0x3a, 0x20, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x7a,
|
||||
0x2d, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x3a, 0x20, 0x32, 0x30, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x31, 0x72, 0x65, 0x6d, 0x3b, 0x0a,
|
||||
0x7d, 0x0a, 0x0a, 0x2e, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f,
|
||||
0x72, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x64, 0x69, 0x73,
|
||||
0x70, 0x6c, 0x61, 0x79, 0x3a, 0x20, 0x66, 0x6c, 0x65, 0x78, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e,
|
||||
0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x69, 0x6e,
|
||||
0x6e, 0x65, 0x72, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3a,
|
||||
0x20, 0x31, 0x30, 0x30, 0x25, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x6d, 0x61, 0x78, 0x2d, 0x77,
|
||||
0x69, 0x64, 0x74, 0x68, 0x3a, 0x20, 0x32, 0x38, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x6d, 0x61, 0x78, 0x2d, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3a, 0x20, 0x63, 0x61, 0x6c,
|
||||
0x63, 0x28, 0x31, 0x30, 0x30, 0x76, 0x68, 0x20, 0x2d, 0x20, 0x34, 0x72, 0x65, 0x6d, 0x29, 0x3b,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x6f, 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x2d, 0x79, 0x3a,
|
||||
0x20, 0x61, 0x75, 0x74, 0x6f, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x67,
|
||||
0x72, 0x6f, 0x75, 0x6e, 0x64, 0x3a, 0x20, 0x23, 0x32, 0x32, 0x32, 0x3b, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x3a, 0x20, 0x31, 0x70, 0x78, 0x20, 0x73, 0x6f, 0x6c,
|
||||
0x69, 0x64, 0x20, 0x23, 0x35, 0x35, 0x35, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x78,
|
||||
0x2d, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x3a, 0x20, 0x30, 0x20, 0x36, 0x70, 0x78, 0x20, 0x31,
|
||||
0x36, 0x70, 0x78, 0x20, 0x72, 0x67, 0x62, 0x61, 0x28, 0x30, 0x2c, 0x20, 0x30, 0x2c, 0x20, 0x30,
|
||||
0x2c, 0x20, 0x30, 0x2e, 0x36, 0x29, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x72, 0x64,
|
||||
0x65, 0x72, 0x2d, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x3a, 0x20, 0x36, 0x70, 0x78, 0x3b, 0x0a,
|
||||
0x20, 0x20, 0x20, 0x20, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x31, 0x72, 0x65,
|
||||
0x6d, 0x20, 0x31, 0x2e, 0x32, 0x35, 0x72, 0x65, 0x6d, 0x20, 0x30, 0x2e, 0x37, 0x35, 0x72, 0x65,
|
||||
0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x78, 0x2d, 0x73, 0x69, 0x7a, 0x69, 0x6e,
|
||||
0x67, 0x3a, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2d, 0x62, 0x6f, 0x78, 0x3b, 0x0a, 0x7d,
|
||||
0x0a, 0x0a, 0x2e, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72,
|
||||
0x2d, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x6d, 0x61, 0x72,
|
||||
0x67, 0x69, 0x6e, 0x3a, 0x20, 0x30, 0x20, 0x30, 0x20, 0x30, 0x2e, 0x37, 0x35, 0x72, 0x65, 0x6d,
|
||||
0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a,
|
||||
0x20, 0x31, 0x2e, 0x32, 0x35, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x63, 0x6f,
|
||||
0x6c, 0x6f, 0x72, 0x3a, 0x20, 0x23, 0x66, 0x66, 0x66, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e, 0x70,
|
||||
0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x66, 0x69, 0x65,
|
||||
0x6c, 0x64, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
|
||||
0x3a, 0x20, 0x66, 0x6c, 0x65, 0x78, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x66, 0x6c, 0x65, 0x78,
|
||||
0x2d, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x63, 0x6f, 0x6c, 0x75,
|
||||
0x6d, 0x6e, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x2d, 0x62,
|
||||
0x6f, 0x74, 0x74, 0x6f, 0x6d, 0x3a, 0x20, 0x30, 0x2e, 0x35, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20,
|
||||
0x20, 0x20, 0x20, 0x67, 0x61, 0x70, 0x3a, 0x20, 0x30, 0x2e, 0x32, 0x35, 0x72, 0x65, 0x6d, 0x3b,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x20,
|
||||
0x30, 0x2e, 0x39, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x63, 0x6f, 0x6c, 0x6f,
|
||||
0x72, 0x3a, 0x20, 0x23, 0x64, 0x64, 0x64, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e, 0x70, 0x72, 0x65,
|
||||
0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x66, 0x69, 0x65, 0x6c, 0x64,
|
||||
0x20, 0x73, 0x70, 0x61, 0x6e, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x6f, 0x70, 0x61, 0x63,
|
||||
0x69, 0x74, 0x79, 0x3a, 0x20, 0x30, 0x2e, 0x38, 0x35, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e, 0x70,
|
||||
0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x66, 0x69, 0x65,
|
||||
0x6c, 0x64, 0x20, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x70,
|
||||
0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x30, 0x2e, 0x33, 0x35, 0x72, 0x65, 0x6d, 0x20,
|
||||
0x30, 0x2e, 0x35, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x72, 0x64,
|
||||
0x65, 0x72, 0x2d, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x3a, 0x20, 0x34, 0x70, 0x78, 0x3b, 0x0a,
|
||||
0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x3a, 0x20, 0x31, 0x70, 0x78, 0x20,
|
||||
0x73, 0x6f, 0x6c, 0x69, 0x64, 0x20, 0x23, 0x35, 0x35, 0x35, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||
0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x3a, 0x20, 0x23, 0x31, 0x31, 0x31,
|
||||
0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x20, 0x23, 0x66, 0x66,
|
||||
0x66, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65,
|
||||
0x3a, 0x20, 0x30, 0x2e, 0x39, 0x35, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e, 0x70,
|
||||
0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x72, 0x6f, 0x77,
|
||||
0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x3a, 0x20,
|
||||
0x66, 0x6c, 0x65, 0x78, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x67, 0x61, 0x70, 0x3a, 0x20, 0x30,
|
||||
0x2e, 0x35, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e, 0x70, 0x72, 0x65, 0x73, 0x65,
|
||||
0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x73,
|
||||
0x6d, 0x61, 0x6c, 0x6c, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x66, 0x6c, 0x65, 0x78, 0x3a,
|
||||
0x20, 0x30, 0x20, 0x30, 0x20, 0x34, 0x38, 0x25, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e, 0x70, 0x72,
|
||||
0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x66, 0x69, 0x65, 0x6c,
|
||||
0x64, 0x2e, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x20, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20, 0x7b, 0x0a,
|
||||
0x20, 0x20, 0x20, 0x20, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x30, 0x2e, 0x32,
|
||||
0x35, 0x72, 0x65, 0x6d, 0x20, 0x30, 0x2e, 0x34, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x20, 0x30, 0x2e, 0x38, 0x35,
|
||||
0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d,
|
||||
0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x7b,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x3a, 0x20, 0x66, 0x6c,
|
||||
0x65, 0x78, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x66, 0x6c, 0x65, 0x78, 0x2d, 0x77, 0x72, 0x61,
|
||||
0x70, 0x3a, 0x20, 0x77, 0x72, 0x61, 0x70, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x67, 0x61, 0x70,
|
||||
0x3a, 0x20, 0x30, 0x2e, 0x35, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x6d, 0x61,
|
||||
0x72, 0x67, 0x69, 0x6e, 0x3a, 0x20, 0x30, 0x2e, 0x37, 0x35, 0x72, 0x65, 0x6d, 0x20, 0x30, 0x20,
|
||||
0x30, 0x2e, 0x35, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e, 0x70, 0x72, 0x65, 0x73,
|
||||
0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x62, 0x74, 0x6e, 0x20, 0x7b, 0x0a,
|
||||
0x20, 0x20, 0x20, 0x20, 0x66, 0x6c, 0x65, 0x78, 0x3a, 0x20, 0x31, 0x3b, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x30, 0x2e, 0x35, 0x72, 0x65, 0x6d,
|
||||
0x20, 0x30, 0x2e, 0x37, 0x35, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f,
|
||||
0x72, 0x64, 0x65, 0x72, 0x2d, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x3a, 0x20, 0x34, 0x70, 0x78,
|
||||
0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x3a, 0x20, 0x31, 0x70,
|
||||
0x78, 0x20, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x20, 0x23, 0x35, 0x35, 0x35, 0x3b, 0x0a, 0x20, 0x20,
|
||||
0x20, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x3a, 0x20, 0x23, 0x33,
|
||||
0x33, 0x33, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x20, 0x23,
|
||||
0x66, 0x66, 0x66, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69,
|
||||
0x7a, 0x65, 0x3a, 0x20, 0x30, 0x2e, 0x39, 0x35, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20, 0x20,
|
||||
0x20, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x3a, 0x20, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72,
|
||||
0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2e, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69,
|
||||
0x74, 0x6f, 0x72, 0x2d, 0x62, 0x74, 0x6e, 0x2e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x20,
|
||||
0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64,
|
||||
0x3a, 0x20, 0x23, 0x32, 0x61, 0x37, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x72, 0x64,
|
||||
0x65, 0x72, 0x2d, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x20, 0x23, 0x33, 0x62, 0x38, 0x3b, 0x0a,
|
||||
0x7d, 0x0a, 0x0a, 0x2e, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f,
|
||||
0x72, 0x2d, 0x62, 0x74, 0x6e, 0x2e, 0x64, 0x61, 0x6e, 0x67, 0x65, 0x72, 0x20, 0x7b, 0x0a, 0x20,
|
||||
0x20, 0x20, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x3a, 0x20, 0x23,
|
||||
0x37, 0x32, 0x32, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2d,
|
||||
0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x20, 0x23, 0x61, 0x33, 0x33, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a,
|
||||
0x2e, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2d, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x2d, 0x63,
|
||||
0x6c, 0x6f, 0x73, 0x65, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68,
|
||||
0x3a, 0x20, 0x31, 0x30, 0x30, 0x25, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x6d, 0x61, 0x72, 0x67,
|
||||
0x69, 0x6e, 0x2d, 0x74, 0x6f, 0x70, 0x3a, 0x20, 0x30, 0x2e, 0x32, 0x35, 0x72, 0x65, 0x6d, 0x3b,
|
||||
0x0a, 0x20, 0x20, 0x20, 0x20, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x30, 0x2e,
|
||||
0x34, 0x72, 0x65, 0x6d, 0x20, 0x30, 0x2e, 0x37, 0x35, 0x72, 0x65, 0x6d, 0x3b, 0x0a, 0x20, 0x20,
|
||||
0x20, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2d, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x3a,
|
||||
0x20, 0x34, 0x70, 0x78, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72,
|
||||
0x3a, 0x20, 0x31, 0x70, 0x78, 0x20, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x20, 0x23, 0x35, 0x35, 0x35,
|
||||
0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64,
|
||||
0x3a, 0x20, 0x23, 0x31, 0x31, 0x31, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x63, 0x6f, 0x6c, 0x6f,
|
||||
0x72, 0x3a, 0x20, 0x23, 0x63, 0x63, 0x63, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x66, 0x6f, 0x6e,
|
||||
0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x20, 0x30, 0x2e, 0x39, 0x72, 0x65, 0x6d, 0x3b, 0x0a,
|
||||
0x20, 0x20, 0x20, 0x20, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x3a, 0x20, 0x70, 0x6f, 0x69, 0x6e,
|
||||
0x74, 0x65, 0x72, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2f, 0x2a, 0x20, 0x70, 0x72, 0x65, 0x73, 0x65,
|
||||
0x74, 0x2d, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x20, 0x77,
|
||||
0x69, 0x74, 0x68, 0x20, 0x6f, 0x6c, 0x64, 0x20, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x20, 0x65,
|
||||
0x64, 0x69, 0x74, 0x6f, 0x72, 0x20, 0x2a, 0x2f, 0x0a,
|
||||
};
|
||||
static const size_t web_styles_css_len = sizeof(web_styles_css);
|
||||
Reference in new issue
Block a user