blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b53c3f93c230035d2fa53bc6e4ec0c3ab07e1dd0 | c247563822cd032452ff22d3c50e7d69555950ed | /src_ordenacao_alianca_rebelde_algoritmo1/mergeSort.cpp | d4424bf83c81e36b02f65f1fb76d55393ba866b3 | [] | no_license | gusstavotelles/tp2-ed | def2764e475b45834571c63709b57b3a1e7ecc22 | aeb6d3f67bc7120a2b1e6a8a7e51fd7d67ea6b22 | refs/heads/master | 2022-12-27T17:49:33.943221 | 2020-10-16T02:22:15 | 2020-10-16T02:22:15 | 304,411,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,746 | cpp | #include "headers/civilizacao.hpp"
#include <vector>
#include <iostream>
void Merge(std::vector<Civilizacao> *civilizacoesLeft, std::vector<Civilizacao> *civilizacoesRight, int nl, int nr, std::vector<Civilizacao> *civ)
{
int i = 0;
int j = 0;
int k = 0;
while (i < nl && j < nr)
{
if (civilizacoesLeft->at(i).GetDist() < civilizacoesRight->at(j).GetDist() || (civilizacoesLeft->at(i).GetDist() == civilizacoesRight->at(j).GetDist() && (civilizacoesLeft->at(i).GetPop() > civilizacoesRight->at(j).GetPop())))
{
civ->at(k) = civilizacoesLeft->at(i);
i++;
}
else
{
civ->at(k) = civilizacoesRight->at(j);
j++;
}
k++;
}
// Complemeta com os elementos que faltaram na esquerda
while (i < nl)
{
civ->at(k) = civilizacoesLeft->at(i);
i++;
k++;
}
// Complemeta com os elementos que faltaram na direita
while (j < nr)
{
civ->at(k) = civilizacoesRight->at(j);
j++;
k++;
}
}
void MergeSort(std::vector<Civilizacao> *civ)
{
if (civ->size() <= 1)
return;
int mid = civ->size() / 2;
std::vector<Civilizacao> *civilizacoesLeft = new std::vector<Civilizacao>;
std::vector<Civilizacao> *civilizacoesRight = new std::vector<Civilizacao>;
for (int i = 0; i < mid; i++)
{
civilizacoesLeft->push_back(civ->at(i));
}
for (size_t j = 0; j < civ->size() - mid; j++)
{
civilizacoesRight->push_back(civ->at(mid + j));
}
MergeSort(civilizacoesLeft);
MergeSort(civilizacoesRight);
Merge(civilizacoesLeft, civilizacoesRight, civilizacoesLeft->size(), civilizacoesRight->size(), civ);
} | [
"gusstavotelles@outlook.com"
] | gusstavotelles@outlook.com |
571dd3d3793a605c1344d678780d81fb2edc9581 | b5ec2a2253fb46337901df859cefce736f752656 | /src/util/Cache.hxx | cc411a132aeb2f09ce28c6e72f013c426a4c9f4d | [] | no_license | August2111/libcommon | bf55a16976db74f0d8534bd4b44a59aca4dfad96 | f79e3c4c2eaa395de6c29945c6fa9b76fb6a2a0b | refs/heads/master | 2023-04-17T05:41:00.093627 | 2021-05-21T13:25:45 | 2021-05-21T13:25:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,709 | hxx | /*
* Copyright 2011-2021 Max Kellermann <max.kellermann@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the
* distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef CACHE_HXX
#define CACHE_HXX
#include "Manual.hxx"
#include "Cast.hxx"
#include <boost/intrusive/list.hpp>
#include <boost/intrusive/unordered_set.hpp>
#include <array>
#include <assert.h>
/**
* A simple LRU cache. Item lookup is done with a hash table. No
* dynamic allocation; all items are allocated statically inside this
* class.
*
* @param max_size the maximum number of items in the cache
* @param table_size the size of the internal hash table; rule of
* thumb: should be prime
*/
template<typename Key, typename Data,
std::size_t max_size,
std::size_t table_size,
typename Hash=std::hash<Key>,
typename Equal=std::equal_to<Key>>
class Cache {
struct Pair {
Key key;
Data data;
template<typename K, typename U>
Pair(K &&_key, U &&_data)
:key(std::forward<K>(_key)),
data(std::forward<U>(_data)) {}
static constexpr Pair &Cast(Data &data) {
return ContainerCast(data, &Pair::data);
}
template<typename U>
void ReplaceData(U &&_data) {
data = std::forward<U>(_data);
}
template<typename K, typename U>
void Replace(K &&_key, U &&_data) {
key = std::forward<K>(_key);
data = std::forward<U>(_data);
}
};
class Item
: public boost::intrusive::unordered_set_base_hook<boost::intrusive::link_mode<boost::intrusive::normal_link>>,
public boost::intrusive::list_base_hook<boost::intrusive::link_mode<boost::intrusive::normal_link>> {
Manual<Pair> pair;
public:
static constexpr Item &Cast(Data &data) {
return ContainerCast(Manual<Pair>::Cast(Pair::Cast(data)),
&Item::pair);
}
const Key &GetKey() const noexcept {
return pair->key;
}
const Data &GetData() const noexcept {
return pair->data;
}
Data &GetData() noexcept {
return pair->data;
}
template<typename K, typename U>
void Construct(K &&_key, U &&value) {
pair.Construct(std::forward<K>(_key),
std::forward<U>(value));
}
void Destruct() noexcept {
pair.Destruct();
}
template<typename U>
void ReplaceData(U &&value) {
pair->ReplaceData(std::forward<U>(value));
}
template<typename K, typename U>
void Replace(K &&_key, U &&value) {
pair->Replace(std::forward<K>(_key),
std::forward<U>(value));
}
};
struct ItemHash : Hash {
using Hash::operator();
[[gnu::pure]]
std::size_t operator()(const Item &a) const noexcept {
return Hash::operator()(a.GetKey());
}
};
struct ItemEqual : Equal {
using Equal::operator();
[[gnu::pure]]
bool operator()(const Item &a, const Item &b) const noexcept {
return Equal::operator()(a.GetKey(), b.GetKey());
}
template<typename A>
[[gnu::pure]]
bool operator()(A &&a, const Item &b) const noexcept {
return Equal::operator()(std::forward<A>(a), b.GetKey());
}
};
typedef boost::intrusive::list<Item,
boost::intrusive::constant_time_size<false>> ItemList;
/**
* The list of unallocated items.
*/
ItemList unallocated_list;
ItemList chronological_list;
using KeyMap = boost::intrusive::unordered_set<Item,
boost::intrusive::hash<ItemHash>,
boost::intrusive::equal<ItemEqual>,
boost::intrusive::constant_time_size<false>>;
std::array<typename KeyMap::bucket_type, table_size> buckets;
KeyMap map;
std::array<Item, max_size> buffer;
[[gnu::pure]]
Item &GetOldest() noexcept {
assert(!chronological_list.empty());
return chronological_list.back();
}
/**
* Remove the oldest item from the cache (both from the #map and
* from #chronological_list), but do not destruct it.
*/
Item &RemoveOldest() noexcept {
Item &item = GetOldest();
map.erase(map.iterator_to(item));
chronological_list.erase(chronological_list.iterator_to(item));
return item;
}
/**
* Allocate an item from #unallocated_list, but do not construct it.
*/
Item &Allocate() noexcept {
assert(!unallocated_list.empty());
Item &item = unallocated_list.front();
unallocated_list.erase(unallocated_list.iterator_to(item));
return item;
}
template<typename K, typename U>
Item &Make(K &&key, U &&data) {
if (unallocated_list.empty()) {
/* cache is full: delete oldest */
Item &item = RemoveOldest();
item.Replace(std::forward<K>(key), std::forward<U>(data));
return item;
} else {
/* cache is not full: allocate new item */
Item &item = Allocate();
item.Construct(std::forward<K>(key), std::forward<U>(data));
return item;
}
}
public:
using hasher = typename KeyMap::hasher;
using key_equal = typename KeyMap::key_equal;
Cache() noexcept
:map(typename KeyMap::bucket_traits(&buckets.front(), buckets.size())) {
for (auto &i : buffer)
unallocated_list.push_back(i);
}
~Cache() noexcept {
Clear();
}
Cache(const Cache &) = delete;
Cache &operator=(const Cache &) = delete;
decltype(auto) hash_function() const noexcept {
return map.hash_function();
}
decltype(auto) key_eq() const noexcept {
return map.key_eq();
}
bool IsEmpty() const noexcept {
return chronological_list.empty();
}
bool IsFull() const noexcept {
return unallocated_list.empty();
}
void Clear() noexcept {
map.clear();
chronological_list.clear_and_dispose([this](Item *item){
item->Destruct();
unallocated_list.push_front(*item);
});
}
/**
* Look up an item by its key. Returns nullptr if no such
* item exists.
*/
template<typename K>
[[gnu::pure]]
Data *Get(K &&key) noexcept {
auto i = map.find(std::forward<K>(key),
map.hash_function(), map.key_eq());
if (i == map.end())
return nullptr;
Item &item = *i;
/* move to the front of the chronological list */
chronological_list.erase(chronological_list.iterator_to(item));
chronological_list.push_front(item);
return &item.GetData();
}
/**
* Insert a new item into the cache. The key must not exist
* already, i.e. Get() has returned nullptr; it is not
* possible to replace an existing item. If the cache is
* full, then the least recently used item is deleted, making
* room for this one.
*/
template<typename K, typename U>
Data &Put(K &&key, U &&data) {
Item &item = Make(std::forward<K>(key), std::forward<U>(data));
chronological_list.push_front(item);
auto i = map.insert(item);
(void)i;
assert(i.second && "Key must not exist already");
return item.GetData();
}
/**
* Insert a new item into the cache. If the key exists
* already, then the item is replaced.
*/
template<typename K, typename U>
Data &PutOrReplace(K &&key, U &&data) {
typename KeyMap::insert_commit_data icd;
auto i = map.insert_check(key,
map.hash_function(), map.key_eq(),
icd);
if (i.second) {
Item &item = Make(std::forward<K>(key), std::forward<U>(data));
chronological_list.push_front(item);
map.insert_commit(item, icd);
return item.GetData();
} else {
i.first->ReplaceData(std::forward<U>(data));
return i.first->GetData();
}
}
/**
* Remove an item from the cache using a reference to the
* value.
*/
void RemoveItem(Data &data) noexcept {
auto &item = Item::Cast(data);
map.erase(map.iterator_to(item));
chronological_list.erase(chronological_list.iterator_to(item));
item.Destruct();
unallocated_list.push_front(item);
}
/**
* Remove an item from the cache.
*/
template<typename K>
void Remove(K &&key) noexcept {
auto i = map.find(std::forward<K>(key),
map.hash_function(), map.key_eq());
if (i == map.end())
return;
Item &item = *i;
map.erase(i);
chronological_list.erase(chronological_list.iterator_to(item));
item.Destruct();
unallocated_list.push_front(item);
}
/**
* Iterates over all items and remove all those which match
* the given predicate.
*/
template<typename P>
void RemoveIf(P &&p) noexcept {
chronological_list.remove_and_dispose_if([&p](const Item &item){
return p(item.GetKey(), item.GetData());
},
[this](Item *item){
map.erase(map.iterator_to(*item));
item->Destruct();
unallocated_list.push_front(*item);
});
}
/**
* Iterates over all items, passing each key/value pair to a
* given function. The cache must not be modified from within
* that function.
*/
template<typename F>
void ForEach(F &&f) const {
for (const auto &i : chronological_list)
f(i.GetKey(), i.GetData());
}
};
#endif
| [
"mk@cm4all.com"
] | mk@cm4all.com |
4710e79cd9e7bd17bc414bdf73917614cccd76b5 | 826143704613e6edea300b037e645eb66922993f | /program.cpp | cbf54a6ebf5433401454faf637236b48cf291a5f | [] | no_license | nikolaed/SI_171299_lab1 | fb4615ef45293a37738557668d4f3f253cfc164a | 3ebd851a353e7fb4d4144f2b05a2fcbc07db07f1 | refs/heads/master | 2020-05-02T19:26:56.380869 | 2019-03-28T08:48:56 | 2019-03-28T08:48:56 | 178,159,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | cpp | #include <iostream>
#include <cstring>
using namespace std;
void printMyName () {
cout<<"Nikola Edrovski";
}
void printMyIndex () {
cout<<"171299";
}
int main () {
printMyName();
printMyIndex();
} | [
"student@labstudenti.finki.ukim.mk"
] | student@labstudenti.finki.ukim.mk |
4d1a16857c06f25a17c014cda02a9325bae827aa | 4193cebbae594ce696e5c6d5394b56a75a89de84 | /TPListas/Door.cpp | fa5c67271e80a9319c897f127fbf6935cac33db6 | [] | no_license | kawzar/ProgI_TP3 | 3e407720e8c0b155a7473659b1a4589b6f27f33d | 3e7ac5cac386aec0bba125f90283869cf23ac1da | refs/heads/master | 2020-06-23T08:38:06.802258 | 2019-11-29T01:34:40 | 2019-11-29T01:34:40 | 198,573,154 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | cpp | #include "pch.h"
#include "Door.h"
Door::Door(float x, float y)
{
_tx.loadFromFile("Images/puerta.png");
_sprite.setTexture(_tx);
_sprite.setOrigin(_tx.getSize().x / 2, _tx.getSize().y);
_sprite.setPosition(x, y);
}
Door::~Door()
{
}
void Door::draw(RenderWindow * window)
{
window->draw(_sprite);
}
FloatRect Door::getBounds()
{
return _sprite.getGlobalBounds();
}
| [
"hmacarena@gmail.com"
] | hmacarena@gmail.com |
4090c9eebd53f38667a716b9d3f0870e90ca37e1 | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /tci/src/v20190318/model/ModifyPersonRequest.cpp | 897f71aa998ee6882113889cf2a4eb07d694b6e1 | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 5,882 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <tencentcloud/tci/v20190318/model/ModifyPersonRequest.h>
#include <tencentcloud/core/utils/rapidjson/document.h>
#include <tencentcloud/core/utils/rapidjson/writer.h>
#include <tencentcloud/core/utils/rapidjson/stringbuffer.h>
using namespace TencentCloud::Tci::V20190318::Model;
using namespace rapidjson;
using namespace std;
ModifyPersonRequest::ModifyPersonRequest() :
m_libraryIdHasBeenSet(false),
m_personIdHasBeenSet(false),
m_jobNumberHasBeenSet(false),
m_mailHasBeenSet(false),
m_maleHasBeenSet(false),
m_personNameHasBeenSet(false),
m_phoneNumberHasBeenSet(false),
m_studentNumberHasBeenSet(false)
{
}
string ModifyPersonRequest::ToJsonString() const
{
Document d;
d.SetObject();
Document::AllocatorType& allocator = d.GetAllocator();
if (m_libraryIdHasBeenSet)
{
Value iKey(kStringType);
string key = "LibraryId";
iKey.SetString(key.c_str(), allocator);
d.AddMember(iKey, Value(m_libraryId.c_str(), allocator).Move(), allocator);
}
if (m_personIdHasBeenSet)
{
Value iKey(kStringType);
string key = "PersonId";
iKey.SetString(key.c_str(), allocator);
d.AddMember(iKey, Value(m_personId.c_str(), allocator).Move(), allocator);
}
if (m_jobNumberHasBeenSet)
{
Value iKey(kStringType);
string key = "JobNumber";
iKey.SetString(key.c_str(), allocator);
d.AddMember(iKey, Value(m_jobNumber.c_str(), allocator).Move(), allocator);
}
if (m_mailHasBeenSet)
{
Value iKey(kStringType);
string key = "Mail";
iKey.SetString(key.c_str(), allocator);
d.AddMember(iKey, Value(m_mail.c_str(), allocator).Move(), allocator);
}
if (m_maleHasBeenSet)
{
Value iKey(kStringType);
string key = "Male";
iKey.SetString(key.c_str(), allocator);
d.AddMember(iKey, m_male, allocator);
}
if (m_personNameHasBeenSet)
{
Value iKey(kStringType);
string key = "PersonName";
iKey.SetString(key.c_str(), allocator);
d.AddMember(iKey, Value(m_personName.c_str(), allocator).Move(), allocator);
}
if (m_phoneNumberHasBeenSet)
{
Value iKey(kStringType);
string key = "PhoneNumber";
iKey.SetString(key.c_str(), allocator);
d.AddMember(iKey, Value(m_phoneNumber.c_str(), allocator).Move(), allocator);
}
if (m_studentNumberHasBeenSet)
{
Value iKey(kStringType);
string key = "StudentNumber";
iKey.SetString(key.c_str(), allocator);
d.AddMember(iKey, Value(m_studentNumber.c_str(), allocator).Move(), allocator);
}
StringBuffer buffer;
Writer<StringBuffer> writer(buffer);
d.Accept(writer);
return buffer.GetString();
}
string ModifyPersonRequest::GetLibraryId() const
{
return m_libraryId;
}
void ModifyPersonRequest::SetLibraryId(const string& _libraryId)
{
m_libraryId = _libraryId;
m_libraryIdHasBeenSet = true;
}
bool ModifyPersonRequest::LibraryIdHasBeenSet() const
{
return m_libraryIdHasBeenSet;
}
string ModifyPersonRequest::GetPersonId() const
{
return m_personId;
}
void ModifyPersonRequest::SetPersonId(const string& _personId)
{
m_personId = _personId;
m_personIdHasBeenSet = true;
}
bool ModifyPersonRequest::PersonIdHasBeenSet() const
{
return m_personIdHasBeenSet;
}
string ModifyPersonRequest::GetJobNumber() const
{
return m_jobNumber;
}
void ModifyPersonRequest::SetJobNumber(const string& _jobNumber)
{
m_jobNumber = _jobNumber;
m_jobNumberHasBeenSet = true;
}
bool ModifyPersonRequest::JobNumberHasBeenSet() const
{
return m_jobNumberHasBeenSet;
}
string ModifyPersonRequest::GetMail() const
{
return m_mail;
}
void ModifyPersonRequest::SetMail(const string& _mail)
{
m_mail = _mail;
m_mailHasBeenSet = true;
}
bool ModifyPersonRequest::MailHasBeenSet() const
{
return m_mailHasBeenSet;
}
int64_t ModifyPersonRequest::GetMale() const
{
return m_male;
}
void ModifyPersonRequest::SetMale(const int64_t& _male)
{
m_male = _male;
m_maleHasBeenSet = true;
}
bool ModifyPersonRequest::MaleHasBeenSet() const
{
return m_maleHasBeenSet;
}
string ModifyPersonRequest::GetPersonName() const
{
return m_personName;
}
void ModifyPersonRequest::SetPersonName(const string& _personName)
{
m_personName = _personName;
m_personNameHasBeenSet = true;
}
bool ModifyPersonRequest::PersonNameHasBeenSet() const
{
return m_personNameHasBeenSet;
}
string ModifyPersonRequest::GetPhoneNumber() const
{
return m_phoneNumber;
}
void ModifyPersonRequest::SetPhoneNumber(const string& _phoneNumber)
{
m_phoneNumber = _phoneNumber;
m_phoneNumberHasBeenSet = true;
}
bool ModifyPersonRequest::PhoneNumberHasBeenSet() const
{
return m_phoneNumberHasBeenSet;
}
string ModifyPersonRequest::GetStudentNumber() const
{
return m_studentNumber;
}
void ModifyPersonRequest::SetStudentNumber(const string& _studentNumber)
{
m_studentNumber = _studentNumber;
m_studentNumberHasBeenSet = true;
}
bool ModifyPersonRequest::StudentNumberHasBeenSet() const
{
return m_studentNumberHasBeenSet;
}
| [
"zhiqiangfan@tencent.com"
] | zhiqiangfan@tencent.com |
d8b6160fe93212d9167b8a74bd607109a22607e2 | 0f66068cd26a1e697fb4de29d006642796204190 | /Air_CPP/23_Algorithm/23_08.cpp | 36df272350a3284d22445f407d74f760720d93fd | [] | no_license | aemonair/Learning_About_C | cf58cec57c96a1745e6c1bd7ce49bb8bf110c4f7 | 2651cfb6717eb058137707524d03d521adfac7a9 | refs/heads/master | 2021-06-11T01:18:47.317361 | 2017-07-31T07:41:01 | 2017-07-31T07:41:01 | 59,681,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,714 | cpp | #include <algorithm>
#include <vector>
#include <list>
#include <iostream>
using namespace std;
template <typename T>
void DisplayContents(const T& Input)
{
for ( auto iElement = Input.cbegin()
; iElement != Input.cend()
; ++ iElement )
cout << *iElement << ' ';
cout << "| Number of elements: " << Input.size() << endl;
}
int main()
{
list <int> listIntegers;
for (int nCount = 0; nCount < 10; ++ nCount)
listIntegers.push_back (nCount);
cout << "Source (list) contains: " << endl;
DisplayContents (listIntegers);
// Initialize the vector to hold twice as many elements as the list
vector <int> vecIntegers (listIntegers.size() * 2 );
auto iLastPos = copy ( listIntegers.begin()
, listIntegers.end ()
, vecIntegers.begin() );
// copy odd numbers from list into vector
copy_if ( listIntegers.begin(), listIntegers.end()
, iLastPos
, [](int element){return ((element % 2) == 1 );});
cout << "Destination (vecto) after copy and copy_if:" << endl;
DisplayContents(vecIntegers);
// Remove all instance of '0', resize vector using erase()
auto iNewEnd = remove (vecIntegers.begin(), vecIntegers.end(), 0);
vecIntegers.erase (iNewEnd, vecIntegers.end());
// Remove all odd numbers from the vector using remove_if
iNewEnd = remove_if ( vecIntegers.begin(), vecIntegers.end(),
[](int element){return ((element % 2) == 1);});
vecIntegers.erase (iNewEnd, vecIntegers.end());
cout << "Destination (vector) after remove, remove_if , erase: " << endl;
DisplayContents (vecIntegers);
return 0;
}
| [
"v.aemonair@gmail.com"
] | v.aemonair@gmail.com |
de246ac0c8a719678ba3a0ec7d12b9bf2aa64abb | ae936fb07d9478152cb998e94b9937d625f5c3dd | /Codeforces/CF1388C.cpp | 84416c17c867079e8829392061f28936f6cffbf3 | [] | no_license | Jorgefiestas/CompetitiveProgramming | f035978fd2d3951dbd1ffd14d60236ef548a1974 | b35405d6be5adf87e9a257be2fa0b14f5eba3c83 | refs/heads/master | 2021-06-12T06:28:20.878137 | 2021-04-21T01:32:37 | 2021-04-21T01:32:37 | 164,651,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,075 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 100;
int t, n, m, good[N], pass[N], pop[N], hap[N];
vector<int> adjList[N];
bool poss;
void dfs(int v, int p) {
pass[v] = pop[v];
int gchild = 0;
for (int u : adjList[v]) {
if (u == p) continue;
dfs(u, v);
pass[v] += pass[u];
gchild += good[u];
}
if ((pass[v] & 1) != (hap[v] & 1)) {
poss = false;
}
if (hap[v] < -pass[v] || hap[v] > pass[v]) {
poss = false;
}
good[v] = (pass[v] + hap[v]) / 2;
if (good[v] < gchild) {
poss = false;
}
}
bool solve() {
cin >> n >> m;
for (int i = 1; i <= n; i++) {
cin >> pop[i];
}
for (int i = 1; i <= n; i++) {
cin >> hap[i];
}
int a, b;
for (int i = 1; i < n; i++) {
cin >> a >> b;
adjList[a].emplace_back(b);
adjList[b].emplace_back(a);
}
poss = true;
dfs(1, -1);
return poss;
}
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cin >> t;
while (t--) {
for (int i = 0; i <= n; i++) {
adjList[i].clear();
}
if (solve()) {
cout << "YES\n";
}
else {
cout << "NO\n";
}
}
return 0;
}
| [
"jorge.fiestas@utec.edu.pe"
] | jorge.fiestas@utec.edu.pe |
9c46858b28b96091187f4be6bb49a2d222f0d7c3 | b0f28559a5c358f6b7076cc48bbbc9d4a6ae761a | /companies.cpp | 678b1a98f4cc70bda52cfc96d7ae11d2b1e6d6b0 | [
"MIT"
] | permissive | StavrosChryselis/hellenico | e0308cae0a67dd0a9dae6247cc4695c754b05366 | 8965de28ef87d794614ade054a2ccbbb1a03446a | refs/heads/master | 2019-07-25T18:50:52.850250 | 2017-03-18T11:56:15 | 2017-03-18T11:56:15 | 85,396,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,291 | cpp | /*
****************************************************************
****************************************************************
-> Coded by Stavros Chryselis
-> Visit my github for more solved problems over multiple sites
-> https://github.com/StavrosChryselis
-> Feel free to email me at stavrikios@gmail.com
****************************************************************
****************************************************************
*/
#include <iostream>
#include <fstream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <string>
#define CODE_WORKS true
using namespace std;
ifstream in("companies.in");
ofstream out("companies.out");
int main()
{
int s[101][101], v[101][101];
memset(s, 0, sizeof(s));
memset(v, 0, sizeof(v));
int i, j, k, a, b, p, N;
in >> N;
for (i = 0; i < N; i++)
{
in >> a >> b >> p;
s[a][b] = p;
}
for (i = 1; i < 101; i++)
{
for (j = 1; j < 101; j++)
{
if (i != j && !v[i][j] && s[i][j] > 50)
{
v[i][j] = 1;
for (k = 1; k < 101; k++)
{
s[i][k] += s[j][k];
if (v[j][k]) v[i][k] = 1;
}
j = 0;
}
}
}
for (i = 1; i < 101; i++)
for (j = 1; j < 101; j++)
if (i != j && v[i][j]) out << i << " " << j << endl;
}
| [
"noreply@github.com"
] | StavrosChryselis.noreply@github.com |
04ec714eb97baea94455739c54d862b5ffc79285 | 596b4a6fa7f733bb173ee7bf048ba8e3c6975baa | /Binary.cpp | c059332b57bcbd8e451f61cfd44ddca810caabd3 | [] | no_license | idaohang/GNSS_Viewer_V2 | de35d57712fd8fc56d7b43b61484039b1e803398 | 59305cc1b8988c6b1000e7760d0ef034cb9b3d88 | refs/heads/master | 2020-12-25T06:13:50.690423 | 2015-07-21T08:18:53 | 2015-07-21T08:18:53 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 148,691 | cpp | #include "stdafx.h"
#include "GPS.h"
#include "BinaryMSG.h"
#include "Serial.h"
#include "WaitReadLog.h"
#include "Redir.h"
#include "MaskedBitmap.h"
#include "Config_Password.h"
#include "Monitor_1PPS.h"
#include "PositionRateDlg.h"
#include "SysRestartDlg.h"
#include "SnrBarChart.h"
#include "Pic_Earth.h"
#include "Pic_Scatter.h"
#include "Config1ppsPulseWidthDlg.h"
#include "Con1PPS_PulseClkSource.h"
#include "Timing_start.h"
#include "Config_Proprietary.h"
#include "ConAntennaDetection.h"
#include "Con1PPS_Nmea_Delay.h"
#include "Con1PPS_OutputMode.h"
#include "ConNMEADlg.h"
#include "ConfigNmeaIntervalDlg.h"
#include "ConDauDlg.h"
#include "ConDOPDlg.h"
#include "ConEleDlg.h"
#include "ConBinOutDlg.h"
#include "ConSrePorDlg.h"
#include "DrMultiHzDlg.h"
#include "Config1ppsFrequenceOutput.h"
#include "ConfigEricssonIntervalDlg.h"
#include "GetAlmanac.h"
#include "CommonConfigDlg.h"
#include "GPSDlg.h"
struct CommandEntry
{
U08 cmdId;
U08 cmdSubId;
U16 cmdSize;
U08 cmdAck;
U08 cmdAckSub;
};
static CommandEntry cmdTable[] =
{
//QueryPositionRateCmd
{ 0x10, 0xFF, 1, 0x86, 0x00 },
//QueryPositionPinningCmd
{ 0x3A, 0xFF, 1, 0xB4, 0x00 },
//QueryDatumCmd
{ 0x2D, 0xFF, 1, 0xAE, 0x00 },
//QuerySha1StringCmd
{ 0x64, 0x7E, 2, 0x64, 0xFF },
//QueryConstellationCapabilityCmd
{ 0x64, 0x29, 2, 0x64, 0x93 },
//QueryVersionExtensionCmd
{ 0x64, 0x7D, 2, 0x64, 0xFE },
//QuerySwVerRomCmd
{ 0x02, 0x00, 2, 0x80, 0x00 },
//QuerySwVerSysCmd
{ 0x02, 0x01, 2, 0x80, 0x00 },
//QuerySwCrcRomCmd
{ 0x03, 0x00, 2, 0x81, 0x00 },
//QuerySwCrcSysCmd
{ 0x03, 0x01, 2, 0x81, 0x00 },
//QueryWaasStatusCmd
{ 0x38, 0x00, 2, 0xB3, 0x00 },
//Query1ppsModeCmd
{ 0x3F, 0xFF, 1, 0xB6, 0x00 },
//QueryPowerModeCmd
{ 0x15, 0xFF, 1, 0xB9, 0x00 },
//QueryPowerSavingParametersCmd
{ 0x0D, 0xFF, 1, 0x86, 0x00 },
//QueryProprietaryMessageCmd
{ 0x4A, 0xFF, 1, 0xBF, 0x00 },
//QueryTimingCmd
{ 0x44, 0xFF, 1, 0xC2, 0x00 },
//QueryDopMaskCmd
{ 0x2E, 0xFF, 1, 0xAF, 0x00 },
//QueryElevationAndCnrMaskCmd,
{ 0x2F, 0xFF, 1, 0xB0, 0x00 },
//QueryAntennaDetectionCmd,
{ 0x48, 0xFF, 1, 0xBC, 0x00 },
//QueryNoisePowerCmd,
{ 0x40, 0xFF, 1, 0xB7, 0x00 },
//QueryDrInfoCmd,
{ 0x7F, 0xFF, 1, 0xF0, 0x00 },
//QueryDrHwParameterCmd,
{ 0x7E, 0xFF, 1, 0xF1, 0x00 },
//QueryGnssSelectionForNavigationSystemCmd,
{ 0x11, 0xFF, 1, 0x87, 0x00 },
//QueryGnssKnumberSlotCnrCmd,
{ 0x12, 0xFF, 1, 0x88, 0x00 },
//QuerySbasCmd,
{ 0x62, 0x02, 2, 0x62, 0x80 },
//QuerySagpsCmd,
{ 0x63, 0x02, 2, 0x63, 0x80 },
//QueryQzssCmd,
{ 0x62, 0x04, 2, 0x62, 0x81 },
//QueryNoisePowerControlCmd,
{ 0x64, 0x09, 2, 0x64, 0x84 },
//QueryInterferenceDetectControlCmd,
{ 0x64, 0x07, 2, 0x64, 0x83 },
//QueryNmeaBinaryOutputDestinationCmd,
{ 0x64, 0x05, 2, 0x64, 0x82 },
//QueryParameterSearchEngineNumberCmd,
{ 0x64, 0x0b, 2, 0x64, 0x85 },
//QueryAgpsStatusCmd,
{ 0x34, 0xFF, 8, 0xB2, 0x00 },
//QueryDatalogLogStatusCmd,
{ 0x17, 0xFF, 1, 0x94, 0x00 },
//QueryRegisterCmd,
{ 0x71, 0xFF, 5, 0xC0, 0x00 },
//QueryPositionFixNavigationMaskCmd,
{ 0x64, 0x12, 2, 0x64, 0x88 },
//QueryChannelDopplerCmd,
{ 0x7B, 0xFF, 9, 0xFE, 0x00 },
//QueryNavigationModeCmd,
{ 0x3D, 0xFF, 1, 0xB5, 0x00 },
//QueryNmeaIntervalV8Cmd,
{ 0x64, 0x03, 2, 0x64, 0x81 },
//QueryNmeaInterval2V8Cmd,
{ 0x7A, 0x01, 3, 0x7A, 0x01 },
//QueryChannelClockOffsetCmd,
{ 0x7C, 0xFF, 9, 0xFF, 0x00 },
//QueryRefTimeSyncToGpsTimeCmd,
{ 0x64, 0x16, 2, 0x64, 0x8A },
//QuerySearchEngineSleepCriteriaCmd,
{ 0x64, 0x26, 2, 0x64, 0x91 },
//QueryDatumIndexCmd,
{ 0x64, 0x28, 2, 0x64, 0x92 },
//QueryNavigationModeV8Cmd,
{ 0x64, 0x18, 2, 0x64, 0x8B },
//QueryGnssBootStatusCmd,
{ 0x64, 0x01, 2, 0x64, 0x80 },
//QueryDrMultiHzCmd,
{ 0x6F, 0x02, 2, 0x6F, 0x80 },
//QueryGnssKnumberSlotCnr2Cmd,
{ 0x66, 0x7F, 2, 0x66, 0xFF },
//QueryGnssSelectionForNavigationSystem2Cmd,
{ 0x66, 0x02, 2, 0x66, 0x80 },
//QueryV8PowerSaveParameters,
{ 0x64, 0x0D, 2, 0x64, 0x86 },
//QueryV8RomPowerSaveParameters,
{ 0x64, 0x0D, 2, 0x86, 0x00 },
//QueryGnssNavSolCmd,
{ 0x64, 0x1A, 2, 0x64, 0x8C },
//{ 0x64, 0x1A, 2, 0x8C, 0x00 },
//QueryGnssNmeaTalkIdCmd,
{ 0x4F, 0xFF, 1, 0x93, 0x00 },
//QueryCustomerIDCmd,
{ 0x0D, 0xFF, 1, 0x85, 0x00 },
//Query1ppsFreqencyOutputCmd,
{ 0x65, 0x04, 2, 0x65, 0x81 },
//QueryEricssonIntervalCmd,
{ 0x7A, 0x04, 3, 0x7A, 0x04 },
//QueryUartPassCmd,
{ 0x7A, 0x08, 3, 0x7A, 0x08 },
//QQueryBinaryMeasurementDataOutCmd,
{ 0x1F, 0xFF, 1, 0x89, 0x00 },
//QuerySerialNumberCmd,
{ 0x7A, 0x05, 3, 0x7A, 0x05 },
//QueryDgpsCmd,
{ 0x69, 0x02, 2, 0x69, 0x80 },
//QuerySmoothModeCmd,
{ 0x69, 0x04, 2, 0x69, 0x81 },
//QueryTimeStampingCmd,
{ 0x64, 0x1E, 2, 0x64, 0x8D },
//QueryGpsTimeCmd,
{ 0x64, 0x20, 2, 0x64, 0x8E },
//ReadSup800UserDataCmd,
{ 0x7A, 0x09, 8, 0x7A, 0x09 },
//QuerySignalDisturbanceStatusCmd,
{ 0x64, 0x2B, 2, 0x64, 0x94 },
//QuerySignalDisturbanceDataCmd,
{ 0x64, 0x2C, 2, 0x64, 0x95 },
//QueryCableDelayCmd,
{ 0x46, 0xFF, 1, 0xBB, 0x00 },
};
enum SqBinaryCmd
{
QueryPositionRateCmd = 0,
QueryPositionPinningCmd,
QueryDatumCmd,
QuerySha1StringCmd,
QueryConstellationCapabilityCmd,
QueryVersionExtensionCmd,
QuerySwVerRomCmd,
QuerySwVerSysCmd,
QuerySwCrcRomCmd,
QuerySwCrcSysCmd,
QueryWaasStatusCmd,
Query1ppsModeCmd,
QueryPowerModeCmd,
QueryPowerSavingParametersCmd,
QueryProprietaryMessageCmd,
QueryTimingCmd,
QueryDopMaskCmd,
QueryElevationAndCnrMaskCmd,
QueryAntennaDetectionCmd,
QueryNoisePowerCmd,
QueryDrInfoCmd,
QueryDrHwParameterCmd,
QueryGnssSelectionForNavigationSystemCmd,
QueryGnssKnumberSlotCnrCmd,
QuerySbasCmd,
QuerySagpsCmd,
QueryQzssCmd,
QueryNoisePowerControlCmd,
QueryInterferenceDetectControlCmd,
QueryNmeaBinaryOutputDestinationCmd,
QueryParameterSearchEngineNumberCmd,
QueryAgpsStatusCmd,
QueryDatalogLogStatusCmd,
QueryRegisterCmd,
QueryPositionFixNavigationMaskCmd,
QueryChannelDopplerCmd,
QueryNavigationModeCmd,
QueryNmeaIntervalV8Cmd,
QueryNmeaInterval2V8Cmd,
QueryChannelClockOffsetCmd,
QueryRefTimeSyncToGpsTimeCmd,
QuerySearchEngineSleepCriteriaCmd,
QueryDatumIndexCmd,
QueryNavigationModeV8Cmd,
QueryGnssBootStatusCmd,
QueryDrMultiHzCmd,
QueryGnssKnumberSlotCnr2Cmd,
QueryGnssSelectionForNavigationSystem2Cmd,
QueryV8PowerSaveParameters,
QueryV8RomPowerSaveParameters,
QueryGnssNavSolCmd,
QueryGnssNmeaTalkIdCmd,
QueryCustomerIDCmd,
Query1ppsFreqencyOutputCmd,
QueryEricssonIntervalCmd,
QueryUartPassCmd,
QueryBinaryMeasurementDataOutCmd,
QuerySerialNumberCmd,
QueryDgpsCmd,
QuerySmoothModeCmd,
QueryTimeStampingCmd,
QueryGpsTimeCmd,
ReadSup800UserDataCmd,
QuerySignalDisturbanceStatusCmd,
QuerySignalDisturbanceDataCmd,
QueryCableDelayCmd,
};
bool CGPSDlg::SaveEphemeris(U08* buff, U08 id)
{
if(Cal_Checksum(buff) == id)
{
int len = buff[3] - 1;
m_ephmsFile.Write(&buff[5], len);
return true;
}
return false;
}
bool CGPSDlg::SaveEphemeris2(U08* buff, WORD id)
{
if(CalCheckSum2(buff) == id)
{
int len = buff[3] - 2; //id and sub id are two bytes.
m_ephmsFile.Write(&buff[6], len);
return true;
}
return false;
}
U08 CGPSDlg::IsSuccessful(U08* buff, int tail, bool show_msg)
{
if(buff[0]==0xa0 && buff[1]==0xa1 &&
buff[tail-1]==0x0d && buff[tail]==0x0a && buff[4]==0x83 && buff[5]==0x0)
{
return 0;
}
if((buff[0]==0xa0) && (buff[1]==0xa1) &&
(buff[tail-1]==0x0d)&&(buff[tail]==0x0a) && (buff[4]==0x83))
{
_cprintf("Received ACK...\n");
return 1;
}
else if((buff[0]==0xa0) && (buff[1]==0xa1) &&
(buff[tail-1]==0x0d)&&(buff[tail]==0x0a) && (buff[4]==0x84))
{
_cprintf("Received NACK...\n");
if(show_msg)
{
add_msgtolist("Received NACK...");
}
return 2;
}
return 0;
}
bool CGPSDlg::SendToTarget(U08* message, U16 length, const char* Msg, bool quick)
{
time_t start,end;
start = clock();
if(m_bShowBinaryCmdData)
{
add_msgtolist("In : " + theApp.GetHexString(message, length));
}
DWORD timeout = (quick) ? 2000 : 10000;
ClearQue();
m_serial->SendData(message, length);
ScopeTimer t;
while(1)
{
U08 buff[1024] = {0};
m_serial->GetBinary(buff, sizeof(buff), timeout - t.GetDuration());
U08 len = buff[2] <<8 | buff[3];
int k1 = len + 5;
int k2 = len + 6;
U08 ack = IsSuccessful(buff, k2, (Msg!=NULL));
if(ack == 1)
{
if(m_bShowBinaryCmdData)
{
add_msgtolist("Ack: " + theApp.GetHexString(buff, buff[2] <<8 | buff[3] + 7));
}
if(strlen(Msg))
{
add_msgtolist(Msg);
}
return true;
}
else if(ack == 2)
{
return false;
}
end=clock();
if(quick)
{
if(TIMEOUT_METHOD_QUICK(start, end))
return false;
}
else
{
if(TIMEOUT_METHOD(start, end))
return false;
}
}
}
bool CGPSDlg::SendToTargetNoAck(U08* message,U16 length)
{
ClearQue();
m_serial->SendData(message, length, true);
return true;
}
bool CGPSDlg::SendToTargetNoWait(U08* message, U16 length, LPCSTR Msg)
{
time_t start,end;
start = clock();
if(m_bShowBinaryCmdData)
{
add_msgtolist("In : " + theApp.GetHexString(message, length));
}
ClearQue();
m_serial->SendData(message, length);
while(1)
{
U08 buff[1024] = {0};
m_serial->GetBinary(buff, sizeof(buff));
U08 len = buff[2] << 8 | buff[3];
int k1 = len + 5;
int k2 = len + 6;
U08 ack = IsSuccessful(buff, k2);
if(ack == 1)
{
if(m_bShowBinaryCmdData)
{
add_msgtolist("Ack: " + theApp.GetHexString(buff, k2+1));
}
if(strlen(Msg))
{
add_msgtolist(Msg);
}
return true;
}
else if(ack == 2)
{
return false;
}
end=clock();
if(TIMEOUT_METHOD(start, end))
{
return false;
}
}
}
bool CGPSDlg::CheckGPS(U08* message, U16 length, char* Msg)
{
if(m_bShowBinaryCmdData)
{
add_msgtolist("In : " + theApp.GetHexString(message, length));
}
m_serial->SendData(message, length, true);
time_t start,end;
start = clock();
while(1)
{
U08 buff[1024] = {0};
m_serial->GetBinary(buff, sizeof(buff));
U08 len = buff[2] << 8 | buff[3];
int k1 = len + 5;
int k2 = len + 6;
if(IsSuccessful(buff, k2))
{
if(m_bShowBinaryCmdData)
{
add_msgtolist("Return: " + theApp.GetHexString(buff, k2+1));
}
if(strlen(Msg))
{
add_msgtolist(Msg);
}
return true;
}
end=clock();
//TIMEOUT = (U32)(end-start);
if((end-start) > SCAN_TIME_OUT_MS)
{
return false;
}
}
}
void CGPSDlg::CancelRead()
{
// cancel_readlog = 1;
}
UINT LogReadBatchControlThread(LPVOID pParam)
{
CGPSDlg::gpsDlg->LogReadBatchControl();
return 0;
}
void CGPSDlg::OnDatalogLogReadBatch()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
CString fileName("Data.log");
CFileDialog dlgFile(false, _T("log"), fileName, OFN_HIDEREADONLY, _T("ALL Files (*.*)|*.*||"), this);
INT_PTR nResult = dlgFile.DoModal();
fileName = dlgFile.GetPathName();
CFileException ef;
try
{
if(nResult == IDOK)
{
datalogFilename = fileName;
this->m_nDownloadBaudIdx = g_setting.boostBaudIndex;
::AfxBeginThread(LogReadBatchControlThread, 0);
//SetThreadPriority(pthread,THREAD_PRIORITY_HIGHEST);
}
else
{
SetMode();
CreateGPSThread();
}
}
catch(CFileException *fe)
{
fe->ReportError();
fe->Delete();
return;
}
}
bool CGPSDlg::DataLogReadOffsetCtrl(int startId, int totalSector, int offset, U08 *buffer, long bufferSize, long *receiveBytes)
{
WRL = new CWaitReadLog;
AfxBeginThread(WaitLogRead, 0);
WaitForSingleObject(waitlog, INFINITE);
memset(buffer, 0, bufferSize);
for(int i=startId; i<totalSector; i+=offset)
{
int step = ((i+offset)>totalSector) ? (totalSector - i) : offset;
int tryCount = 0;
while(1)
{
++tryCount;
if(tryCount > 60)
{
//OnBinaryCode.fire(9);
return false;
}
long tmp_count = 0;
if(DatalogReadAll(i, step, &buffer[*receiveBytes], step * 4096, &tmp_count))
{
*receiveBytes += tmp_count;
CString displayMessage;
displayMessage.Format("Retrieve Log data #%d sector #%d bytes\n", i, *receiveBytes);
//sprintf_s(tmp_buff, sizeof(tmp_buff), "Retrieve Log data #%d sector #%d bytes\n",i,*receiveBytes);
WRL->msg.SetWindowText(displayMessage);
//WRL->msg.SetWindowText("Log read cancel by user!");
//OnReadProgress.fire(0,*receiveBytes);
Sleep(150);
break;
}
else
{
Utility::LogFatal(__FUNCTION__, "[DataLog] DatalogReadAll fail", __LINE__);
Sleep(150);
}
}
}
VerifyDataLogFormat(buffer, receiveBytes);
return true;
}
bool CGPSDlg::DatalogReadAll(int startId, int offset, U08 *datalog, long size, long *receiveBytes)
{
U08 cmd[5] = {0x1d, startId >> 8, startId & 0xff, offset >> 8, offset & 0xff};
U08 message[12] = {0};
int len = SetMessage2(message, cmd, sizeof(cmd));
Sleep(50);
int i = 0;
for(; i<30; ++i)
{
if(SendToTarget(message, len, "", 1))
{
break;
}
Utility::Log(__FUNCTION__, "[DataLog] SendToTarget retry :", i);
}
if(i==30)
{
Utility::LogFatal(__FUNCTION__, "[DataLog] SendToTarget fail", __LINE__);
return false;
}
U08 ptr_tmp = 0;
bool isFinish = false;
// long show_c = 0;
DWORD res_c = 0;
*receiveBytes = 0;
U08 res_buff[0x1000] = {0};
while(1)
{
U08 buff[0x2000] = {0};
//Read 8k one time.
DWORD readBytes = m_serial->ReadData(buff, sizeof(buff), true);
if(readBytes <= 0 || readBytes > sizeof(buff))
{
continue;
}
if(*receiveBytes > 8000)
{
int a = 0;
}
bool isEnd = VerifyDataLogBuffer(buff, datalog, &ptr_tmp, readBytes, receiveBytes);
if(isEnd)
{
if(ptr_tmp > 0)
{
memcpy(res_buff, buff, ptr_tmp);
}
isFinish = true;
break;
}
if(*receiveBytes > size + 10)
{
Utility::LogFatal(__FUNCTION__, "[DataLog] receiveBytes fail", __LINE__);
isFinish = false;
break;
}
if(*receiveBytes + readBytes > 8000)
{
int a = 0;
}
memcpy(&datalog[*receiveBytes], buff, readBytes);
*receiveBytes += readBytes;
// show_c += readBytes;
}
if(!isFinish)
{
Utility::LogFatal(__FUNCTION__, "[DataLog] isFinish fail", __LINE__);
return false;
}
res_c = ptr_tmp;
int count = 0;
bool chk_sum_right = false;
while(1)
{
if(res_c > 0)
{
if(!strncmp((char*)res_buff,"CHECKSUM=",9) && res_c >= 12)
{
U08 chk = (U08)res_buff[9];
U16 id;
if(res_buff[10] == 10 && res_buff[11] == 13)
id = startId ;
else
id = (U08)res_buff[11]<<8|(U08)res_buff[10];
U08 chk_sum = 0;
for(int i=0; i <*receiveBytes; i++)
chk_sum = datalog[i]^chk_sum;
TRACE("chk=%d,chk_sum=%d,*receiveBytes=%d\n", chk, chk_sum, *receiveBytes);
if(chk == chk_sum && id == startId)
{
//OnReadProgress.fire(startId,*receiveBytes);
return true;
}
Utility::LogFatal(__FUNCTION__, "[DataLog] chk_sum fail", __LINE__);
return false;
}
Utility::LogFatal(__FUNCTION__, "[DataLog] CHECKSUM fail", __LINE__);
}
U08 buff[1024] = {0};
DWORD readBytes = m_serial->ReadData(&res_buff[res_c], sizeof(buff), true);
res_c += readBytes;
count++;
if(count > 10000)
{
Utility::LogFatal(__FUNCTION__, "[DataLog] count fail", __LINE__);
return false;
}
} //while(1)
return false;
}
BOOL CGPSDlg::OpenDataLogFile(UINT nOpenFlags)
{
return dataLogFile.Open(datalogFilename, nOpenFlags);
}
void CGPSDlg::LogReadBatchControl()
{
if(!dataLogFile.Open(datalogFilename, CFile::modeReadWrite | CFile::modeCreate))
{
return;
}
U16 endPos, totalBytes;
if(!QueryDataLogBoundary(&endPos, &totalBytes))
{
dataLogFile.Close();
Utility::LogFatal(__FUNCTION__, "[DataLog] QueryDataLogBoundary fail", __LINE__);
return;
}
BoostBaudrate(FALSE);
long bufferSize = (endPos + 1) * 0x1000;
U08* buffer = (U08*)malloc(bufferSize);
long receiveBytes = 0;
if(DataLogReadOffsetCtrl(0, endPos, 2, buffer, bufferSize, &receiveBytes))
{
dataLogFile.Write(buffer, receiveBytes);
WRL->msg.SetWindowText("Log read is completed!");
CGPSDlg::gpsDlg->add_msgtolist("Log Read Successful...");
}
else
{
WRL->msg.SetWindowText("Log read is failed!");
CGPSDlg::gpsDlg->add_msgtolist("Log Read failure...");
}
// Flog.Write(datalog,receiveBytesount);
WRL->IsFinish = true;
free(buffer);
CGPSDlg::gpsDlg->target_only_restart(0);
CGPSDlg::gpsDlg->m_serial->ResetPort(CGPSDlg::gpsDlg->GetBaudrate());
CGPSDlg::gpsDlg->m_BaudRateCombo.SetCurSel(CGPSDlg::gpsDlg->GetBaudrate());
dataLogFile.Close();
}
DWORD ReadDataLogSector(CSerial* serial, void* buffer, DWORD bufferSize)
{
DWORD totalSize = 0;
char* bufferIter = (char*)buffer;
DWORD nBytesRead = 0;
do
{
nBytesRead = serial->ReadData(bufferIter, 1);
if(nBytesRead <= 0)
{
return totalSize;
}
if((*bufferIter == 0x0a) && (*(bufferIter - 1) == 0x0d))
{ //When read 0d, 0a, check pack size to make sure until tail.
DWORD len = *(bufferIter - totalSize + 3);
if(totalSize == len + 6)
{
break;
}
}
bufferIter += nBytesRead;
totalSize += nBytesRead;
}
while(totalSize < bufferSize);
return totalSize;
}
void CGPSDlg::VerifyDataLogFormat(U08 *datalog, long *size)
{
long count = 0;
U08* buff = new U08[*size];
for(long i=0; i<*size; i+=0x1000)
{
U08 *bufferIter = &datalog[i];
long tmp_count = 0;
while(1)
{
//type = bufferIter[0] & 0xFC;
U08 type = bufferIter[0] & 0xE0;
if(type == 0x40 || type == 0x60)
{
bufferIter += 18;
tmp_count += 18;
}
else if(type == 0x80)
{
bufferIter += 8;
tmp_count += 8;
}
else if(type == 0x20 || type == 0xC0)
{
bufferIter += 20;
tmp_count += 20;
}
else
{
break;
}
}
memcpy(&buff[count], &datalog[i], tmp_count);
count += tmp_count;
}
memcpy(datalog, buff, count);
*size = count;
delete [] buff;
}
bool CGPSDlg::VerifyDataLogBuffer(U08 *buff, U08 *datalog, U08 *ptr_last, int size, long *receive_count)
{
bool isEnd = false;
//if( size < 2) return false;
for(int i=0; i<size; ++i)
{
if(i < size - 3 &&
buff[i] == 'E' && buff[i+1] == 'N' && buff[i+2] == 'D' && buff[i+3] == '\0')
{
isEnd = true;
memcpy(&datalog[*receive_count], buff, i);
*receive_count += i;
if(size > i + 3)
{
memcpy(buff, &buff[i+4], size - (i+4));
*ptr_last = size - (i + 4);
}
Utility::Log(__FUNCTION__, "[DataLog] VerifyDataLogBuffer type 1", __LINE__);
break;
}
else if(i < size - 2 && *receive_count >= 1 &&
datalog[*receive_count-1] == 'E' && buff[i] == 'N' && buff[i+1] == 'D' && buff[i+2] == '\0')
{
isEnd = true;
*receive_count -= 1;
if(size > i + 3)
{
memcpy(buff, &buff[i+3], size - (i + 3));
*ptr_last = size - (i + 3);
}
Utility::Log(__FUNCTION__, "[DataLog] VerifyDataLogBuffer type 2", __LINE__);
break;
}
else if(i < size - 1 && *receive_count >= 2 &&
datalog[*receive_count-2] == 'E' && datalog[*receive_count-1] == 'N' && buff[i] == 'D' && buff[i+1] == '\0')
{
isEnd = true;
*receive_count -= 2;
if(size > i + 2)
{
memcpy(buff, &buff[i+2], size - (i + 2));
*ptr_last = size - (i + 2);
}
Utility::Log(__FUNCTION__, "[DataLog] VerifyDataLogBuffer type 3", __LINE__);
break;
}
else if(i < size && *receive_count >= 3 &&
datalog[*receive_count-3] == 'E' && datalog[*receive_count-2] == 'N' && datalog[*receive_count-1] == 'D' && buff[i] == '\0')
{
isEnd = true;
*receive_count -= 3;
if(size > i + 1)
{
memcpy(buff, &buff[i+1], size - (i + 1));
*ptr_last = size - (i + 1);
}
Utility::Log(__FUNCTION__, "[DataLog] VerifyDataLogBuffer type 4", __LINE__);
break;
}
}
//Utility::Log(__FUNCTION__, "[DataLog] VerifyDataLogBuffer isEnd :", (int)isEnd);
return isEnd;
}
U08 CGPSDlg::MinihomerQuerytag()
{
U08 msg[1] ,checksum=0;
CString temp;
U32 data = 0;
U08 buff[100];
int k1,k2;
time_t start,end;
msg[0]=0x7D; //msgid
int len = CGPSDlg::gpsDlg->SetMessage(msg,sizeof(msg));
CGPSDlg::gpsDlg->ClearQue();
if(CGPSDlg::gpsDlg->SendToTarget(CGPSDlg::m_inputMsg,len,"Query miniHomer tag Successful.",1))
{
start = clock();
while(1)
{
memset(buff, 0, 100);
CGPSDlg::gpsDlg->m_serial->GetBinary(buff, sizeof(buff));
len = buff[2]<<8|buff[3];
k1=len+5;
k2=len+6;
if((buff[0]==0xa0) && (buff[1]==0xa1) && (buff[4]==0xD1) && (buff[k2-1]==0x0d)&&(buff[k2]==0x0a))
{
for(int i=0;i<(int) buff[3];i++)
checksum^=buff[i+4];
if(checksum == buff[k2-2])
{
U08 size = buff[5];
if(buff[5] == 0xFF)
{
CGPSDlg::gpsDlg->add_msgtolist("No Tag");
}else
{
temp.Append("Tag = ");
for (int i=0;i<size;i++)
{
temp.AppendFormat("0x%02X ",buff[6+i]);
}
CGPSDlg::gpsDlg->add_msgtolist(temp);
}
break;
}
}
end=clock();
if(CGPSDlg::gpsDlg->TIMEOUT_METHOD_QUICK(start,end))
break;
}
}else
CGPSDlg::gpsDlg->add_msgtolist("Query DR Info Fail.");
CGPSDlg::gpsDlg->SetMode();
CGPSDlg::gpsDlg->CreateGPSThread();
return TRUE;
}
UINT MinihomerQuerytagThread(LPVOID pParam)
{
CGPSDlg::gpsDlg->MinihomerQuerytag();
return TRUE;
}
void CGPSDlg::OnMinihomerQuerytag()
{
if(!CheckConnect())
{
return;
}
AfxBeginThread(MinihomerQuerytagThread, 0);
}
UINT ActivateminiHomerThread(LPVOID pParam)
{
CGPSDlg::gpsDlg->activate_minihomer();
return TRUE;
}
void CGPSDlg::set_minihomerid(U08* id,int id_len)
{
U08 msg[11], checksum=0;
CString temp;
U32 data = 0;
msg[0]=0x74; // set device_id;
memcpy(&msg[1],id,id_len);
int len = SetMessage(msg,sizeof(msg));
ClearQue();
if(SendToTarget(CGPSDlg::m_inputMsg,len,"Set miniHomer Device ID Successful.",1) != 1)
add_msgtolist("Set miniHomer Device ID Fail.");
}
void CGPSDlg::set_minihomerkey(U08* key,int key_len)
{
U08 msg[65] ,checksum=0;
CString temp;
U32 data = 0;
// U08 buff[100];
// int k1,k2;
// time_t start,end;
msg[0]=0x75; // set device_id;
memcpy(&msg[1],key,key_len);
int len = SetMessage(msg,sizeof(msg));
ClearQue();
if(SendToTarget(CGPSDlg::m_inputMsg,len,"Set miniHomer Device Key Successful.",1) != 1)
add_msgtolist("Set miniHomer Device Key Fail.");
}
void CGPSDlg::activate_minihomer()
{
CRedirector m_redir;
char cmd_path[1024];
GetCurrentDirectory(1024,cmd_path);
strcat_s(cmd_path, sizeof(cmd_path), "\\Create_miniHomer_Activate_Code.exe -c -s");
// NMEA nmea;
m_redir.Close();
m_redir.Open(cmd_path);
m_redir.Wait();
TRACE("%s",m_redir.std_output);
m_redir.Close();
U08 id[10];
U08 key[64];
CString retval = m_redir.std_output;
int start = retval.Find("id=")+3;
for (int i=0;i<10;i++)
{
//id[i] = Utility::MSB(retval[start+i*2]) + Utility::LSB(retval[start+i*2+1]);
id[i] = Utility::GetOctValue(retval[start+i*2], retval[start+i*2+1]);
}
start = retval.Find("signature=")+10;
for (int i=0;i<64;i++)
{
//key[i] = Utility::MSB(retval[start+i*2]) + Utility::LSB(retval[start+i*2+1]);
key[i] = Utility::GetOctValue(retval[start+i*2], retval[start+i*2+1]);
}
set_minihomerid(id,sizeof(id));
set_minihomerkey(key,sizeof(key));
SetMode();
CreateGPSThread();
return ;
}
void CGPSDlg::OnMinihomerActivate()
{
if(!CheckConnect())
{
return;
}
AfxBeginThread(ActivateminiHomerThread, 0);
}
inline const char *go_next_dot(const char *buff)
{
while(1)
{
if(*buff == 0 || *buff=='*') return NULL;
if(*buff == ',') return buff+1;
buff++;
}
}
void CGPSDlg::parse_sti_20_message(const char *buff,int len) // for timing module
{
const char *ptr = buff;
CString temp;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
temp.Format("%d",atoi(ptr));
m_odo_meter.SetWindowText(temp);
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
temp.Format("%d",atoi(ptr));
m_backward_indicator.SetWindowText(temp);
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
temp.Format("%.2f",atof(ptr));
m_gyro_data.SetWindowText(temp);
}
void CGPSDlg::parse_sti_03_message(const char *buff,int len) // for timing module
{
const char *ptr = buff;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
CString temp;
temp.Format("%d",atoi(ptr));
m_odo_meter.SetWindowText(temp);
}
#if(_MODULE_SUP_800_)
void CGPSDlg::parse_sti_04_001_message(const char *buff,int len) // for timing module
{
const char *ptr = buff;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
this->m_psti004001.Valide = atoi(ptr);
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
this->m_psti004001.Pitch = atof(ptr);
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
this->m_psti004001.Roll = atof(ptr);
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
this->m_psti004001.Yaw = atof(ptr);
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
this->m_psti004001.Pressure = atoi(ptr);
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
this->m_psti004001.Temperature = atof(ptr);
}
#endif
void CGPSDlg::parse_sti_message(const char *buff,int len)
{
const char *ptr = buff;
int psti_id;
ptr = go_next_dot(ptr);
if(ptr == NULL)
return;
psti_id = atoi(ptr);
if(psti_id == 50) // glonass k-number
{
parse_psti_50(ptr);
}
else if(psti_id == 0)
{
parse_sti_0_message(buff,len);
}
else if(psti_id == 20) // for dr
{
parse_sti_20_message(buff,len);
}
else if(psti_id == 3) // for jamming interference
{
parse_sti_03_message(buff,len);
}
#if(_MODULE_SUP_800_)
else if(psti_id == 4) // for SUP800
{
ptr = go_next_dot(ptr);
int psti_sub_id = atoi(ptr);
if(psti_sub_id==1)
{
parse_sti_04_001_message(buff,len);
}
}
#endif
}
#if(TIMING_MODE)
void CGPSDlg::parse_sti_0_message(const char *buff,int len) // for timing module
{
int mode,survery_len;
float error;
int set_std,now_std;
// int psti_id;
const char *ptr = buff;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
mode = atoi(ptr);
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
survery_len = atoi(ptr);
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
error = (float)atof(ptr);
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
set_std = atoi(ptr);
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
now_std = atoi(ptr);
if(dia_monitor_1pps != NULL)
dia_monitor_1pps->Show1PPSTiming(mode,survery_len,error,set_std,now_std);
}
#else
void CGPSDlg::parse_sti_0_message(const char *buff,int len) // for timing module
{
int mode,survery_len;
float error;
// int psti_id;
const char *ptr = buff;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
mode = atoi(ptr);
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
survery_len = atoi(ptr);
ptr = go_next_dot(ptr);
if(ptr == NULL) return;
error = (float)atof(ptr);
if(dia_monitor_1pps != NULL)
dia_monitor_1pps->Show1PPSTiming(mode,survery_len,error);
}
#endif
void CGPSDlg::On1ppstimingMonitoring1pps()
{
if(dia_monitor_1pps == NULL)
{
dia_monitor_1pps = new CMonitor_1PPS();
dia_monitor_1pps->Create(IDD_1PPS_MONITOR);
dia_monitor_1pps->ShowWindow(SW_SHOW);
}
else
{
dia_monitor_1pps->SetFocus();
}
}
void CGPSDlg::close_minitor_1pps_window()
{
dia_monitor_1pps->DestroyWindow();
dia_monitor_1pps = NULL;
}
void CGPSDlg::parse_psti_50(const char *buff) // gnss
{
const char *ptr = buff;
U08 psti_num, seq_num;
U08 total_gnss;
ptr = go_next_dot(ptr);
psti_num = atoi(ptr);
ptr = go_next_dot(ptr);
seq_num = atoi(ptr);
ptr = go_next_dot(ptr);
total_gnss = atoi(ptr);
ptr = go_next_dot(ptr);
if(seq_num == 1)
{
memset(&m_gnssTemp,0,sizeof(GNSS_T));
}
while(ptr && *ptr != ',')
{
m_gnssTemp.sate[m_gnssTemp.gnss_in_view].k_num = atoi(ptr);
ptr=go_next_dot(ptr);
m_gnssTemp.sate[m_gnssTemp.gnss_in_view].slot_num = atoi(ptr);
ptr=go_next_dot(ptr);
m_gnssTemp.sate[m_gnssTemp.gnss_in_view].snr = atoi(ptr);
ptr=go_next_dot(ptr);
m_gnssTemp.gnss_in_view++;
}
if(seq_num == psti_num && m_gnssTemp.gnss_in_view == total_gnss)
{
memcpy(&m_gnss, &m_gnssTemp,sizeof(GNSS_T));
memset(&m_gnssTemp,0,sizeof(GNSS_T));
}
ptr = NULL;
}
int position_update_rate;
int position_update_attr;
int com_baudrate;
UINT Configurepositionrate(LPVOID param)
{
U08 msg[3];
msg[0] = 0xE;
msg[1] = position_update_rate;
msg[2] = position_update_attr;
int len = CGPSDlg::gpsDlg->SetMessage(msg, sizeof(msg));
//CGPSDlg::gpsDlg->WaitEvent();
CGPSDlg::gpsDlg->ClearQue();
if(CGPSDlg::gpsDlg->SendToTarget(CGPSDlg::m_inputMsg,len,"Configure Position Rate Successful..."))
{
Sleep(200);
if(position_update_rate>10 && com_baudrate<115200) //Boost to 115200 when update rate > 10Hz.
{
CGPSDlg::gpsDlg->ConfigBaudrate(5, position_update_attr);
}
else if(position_update_rate>2 && com_baudrate<38400) //Boost to 38400 when update rate > 2Hz.
{
CGPSDlg::gpsDlg->ConfigBaudrate(3, position_update_attr);
}
else if(position_update_rate>1 && com_baudrate<9600) //Boost to 9600 when update rate > 1Hz.
{
CGPSDlg::gpsDlg->ConfigBaudrate(1, position_update_attr);
}
else
{
CGPSDlg::gpsDlg->SendRestartCommand(1);
//CGPSDlg::gpsDlg->target_restart();
}
}
//CGPSDlg::gpsDlg->OnQuerypositionrate();
CGPSDlg::gpsDlg->SetMode();
CGPSDlg::gpsDlg->CreateGPSThread();
return 0;
}
UINT ConfigureDrMultiHz(LPVOID param)
{
U08 msg[4] = {0};
msg[0] = 0x6F;
msg[1] = 0x01;
msg[2] = position_update_rate;
msg[3] = position_update_attr;
int len = CGPSDlg::gpsDlg->SetMessage(msg, sizeof(msg));
//CGPSDlg::gpsDlg->WaitEvent();
CGPSDlg::gpsDlg->ClearQue();
if(CGPSDlg::gpsDlg->SendToTarget(CGPSDlg::m_inputMsg,len,"Configure DR Multi-Hz Successful..."))
{
Sleep(200);
if(position_update_rate > 10 && com_baudrate < 115200)
{
CGPSDlg::gpsDlg->ConfigBaudrate(5, position_update_attr); //Boost to 115200 when update rate > 10Hz.
}
else if(position_update_rate>2 && com_baudrate<38400) //Boost to 115200 when update rate > 2Hz.
{
CGPSDlg::gpsDlg->ConfigBaudrate(3, position_update_attr); //Boost to 115200 when update rate > 10Hz.
}
else if(position_update_rate>1 && com_baudrate<9600) //Boost to 115200 when update rate > 1Hz.
{
CGPSDlg::gpsDlg->ConfigBaudrate(1, position_update_attr); //Boost to 115200 when update rate > 10Hz.
}
else
{
CGPSDlg::gpsDlg->SendRestartCommand(1);
//CGPSDlg::gpsDlg->target_restart();
}
}
//CGPSDlg::gpsDlg->OnQuerypositionrate();
CGPSDlg::gpsDlg->SetMode();
CGPSDlg::gpsDlg->CreateGPSThread();
return 0;
}
void CGPSDlg::OnBinaryConfigurepositionrate()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
CPositionRateDlg *dlg = new CPositionRateDlg(this);
if(dlg->DoModal() == IDOK)
{
position_update_rate = dlg->rate;
position_update_attr = dlg->attr;
com_baudrate = m_serial->GetBaudRate();
#if(CHECK_SAEE_MULTIHZ_ON)
if(position_update_rate > 1)
{
U08 data = 0;
U32 data2 = 0;
if(Ack == QuerySagps(Return, &data))
{
if(data != 2)
{ //AGPS not disable or ROM version.
if(Ack == QueryGnssBootStatus(Return, &data2))
{
if((LOBYTE(data2) != 1) && HIBYTE(data2) != 0)
{ // Not boot from ROM.
add_msgtolist("Configure Position Rate Cancel...");
::AfxMessageBox("Please disable SAEE before using multi-hz update rate.");
SetMode();
CreateGPSThread();
return;
}
}
}
}
}
#endif
AfxBeginThread(Configurepositionrate, 0);
}
else
{
SetMode();
CreateGPSThread();
}
}
void CGPSDlg::OnBinaryConfigDrMultiHz()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
DrMultiHzDlg *dlg = new DrMultiHzDlg(this);
if(dlg->DoModal() == IDOK)
{
position_update_rate = dlg->rate;
position_update_attr = dlg->attr;
com_baudrate = m_serial->GetBaudRate();
AfxBeginThread(ConfigureDrMultiHz, 0);
}
else
{
SetMode();
CreateGPSThread();
}
}
void CGPSDlg::OnBnClickedECompassCalibration()
{
if(!CheckConnect())
{
return;
}
//WaitEvent();
ClearQue();
U08 message[8];
U08 msg[1];
msg[0] = 0x54; //msgid
int msg_len = SetMessage2(message, msg, sizeof(msg));
int res = SendToTarget(message, msg_len, "E-Compass calibration successful...");
if(res)
{
GetDlgItem(IDC_ECOM_COUNTER)->SetWindowText("20");
SetTimer(ECOM_CALIB_TIMER, 1000, NULL);
}
else
{
::AfxMessageBox("No E-Compass for calibration.");
}
CreateGPSThread();
}
void CGPSDlg::OnBinarySystemRestart()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
CSysRestartDlg dlg;
dlg.ReStartType = 0;
INT_PTR nResult = dlg.DoModal();
if(nResult == IDOK)
{
m_ttffCount = 0;
m_initTtff = false;
SetTTFF(0);
DeleteNmeaMemery();
}
else
{
SetMode();
CreateGPSThread();
}
}
//¼ö¶}¾÷
void CGPSDlg::OnBnClickedHotstart()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
m_ttffCount = 0;
m_initTtff = false;
if( IS_DEBUG == FALSE)
{
target_only_restart(1);
//CreateGPSThread();
}
else
{
CSysRestartDlg* dlg = new CSysRestartDlg;
dlg->ReStartType = 1;
INT_PTR nResult = dlg->DoModal();
if(nResult == IDOK)
{
SetTTFF(0);
}
else
{
SetMode();
Sleep(500);
CreateGPSThread();
}
delete dlg; dlg= NULL;
}
DeleteNmeaMemery();
m_ttffCount = 0;
m_initTtff = false;
//m_ttff.SetWindowText("0");
SetTTFF(0);
ClearGlonass();
}
//warm start
void CGPSDlg::OnBnClickedWarmstart()
{
if(!CheckConnect())
return;
m_inputMode = 0;
m_ttffCount = 0;
m_initTtff = false;
if(IS_DEBUG == FALSE)
{
target_only_restart(2);
//CreateGPSThread();
}
else
{
CSysRestartDlg* dlg = new CSysRestartDlg;
dlg->ReStartType = 2;
INT_PTR nResult = dlg->DoModal();
if(nResult == IDOK)
{
SetTTFF(0);
}
else
{
SetMode();
Sleep(500);
CreateGPSThread();
}
delete dlg; dlg= NULL;
}
DeleteNmeaMemery();
ClearGlonass();
}
void CGPSDlg::target_only_restart(int mode)
{
SendRestartCommand(mode);
SetMode();
CreateGPSThread();
}
void CGPSDlg::SendRestartCommand(int mode)
{
SYSTEMTIME now;
GetSystemTime(&now);
U08 msg[15] = {0};
msg[0] = 0x1; //msgid
msg[1] = mode; //mode
if(mode!=1 && mode!=5)
{
msg[2] = HIBYTE(now.wYear);
msg[3] = LOBYTE(now.wYear);
msg[4] = (U08)now.wMonth;
msg[5] = (U08)now.wDay;
msg[6] = (U08)now.wHour;
msg[7] = (U08)now.wMinute;
msg[8] = (U08)now.wSecond;
if(mode!=4)
{
if(m_gpggaMsgBk.Latitude == 0.0)
{
m_gpggaMsgBk.Latitude = warmstart_latitude;
}
if(m_gpggaMsgBk.Longitude == 0.0)
{
m_gpggaMsgBk.Longitude = warmstart_longitude;
}
if(m_gpggaMsgBk.Altitude == 0.0)
{
m_gpggaMsgBk.Altitude = (F32)warmstart_altitude;
}
S16 lat = (S16)(m_gpggaMsgBk.Latitude / 100) * 100;
lat += (S16)((m_gpggaMsgBk.Latitude - lat)* 100 / 60 + 0.5);
if(m_gpggaMsgBk.Latitude_N_S == 'S')
{
lat *= -1;
}
msg[9] = HIBYTE(lat);
msg[10]= LOBYTE(lat);
S16 lon = (S16)((m_gpggaMsgBk.Longitude / 100) * 100);
lon += (S16)((m_gpggaMsgBk.Longitude - lon)* 100 / 60 + 0.5);
if(m_gpggaMsgBk.Longitude_E_W == 'W')
{
lon *= -1;
}
msg[11]= HIBYTE(lon);
msg[12]= LOBYTE(lon);
msg[13]= HIBYTE((int)m_gpggaMsgBk.Altitude);
msg[14]= LOBYTE((int)m_gpggaMsgBk.Altitude);
}
}
int len = CGPSDlg::gpsDlg->SetMessage(msg,sizeof(msg));
SendToTarget(CGPSDlg::m_inputMsg, len, "System Restart Successful...", true);
}
void CGPSDlg::Restart(U08* messages)
{
m_CloseBtn.ShowWindow(0);
//WaitEvent();
ClearQue();
SendToTarget(messages, 22, "System Restart Successful...");
DeleteNmeaMemery();
ClearInformation();
m_initTtff = false;
m_ttffCount = 0;
SetTTFF(0);
ClearGlonass();
SetMode();
CreateGPSThread();
gpsSnrBar->Invalidate(FALSE);
bdSnrBar->Invalidate(FALSE);
gaSnrBar->Invalidate(FALSE);
pic_earth->Invalidate(FALSE);
pic_scatter->Invalidate(FALSE);
m_CloseBtn.ShowWindow(1);
}
UINT RestartThread(LPVOID pParam)
{
BinaryData binData(15);
*(binData.GetBuffer(0)) = 1;
*(binData.GetBuffer(1)) = CGPSDlg::gpsDlg->GetRestartMode();
BinaryCommand binCmd(binData);
CGPSDlg::gpsDlg->Restart(binCmd.GetBuffer());
return 0;
}
void CGPSDlg::OnBnClickedColdstart()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
m_restartMode = 3;
AfxBeginThread(RestartThread, 0);
}
UINT AFX_CDECL Configure1ppsPulseWidthThread(LPVOID param)
{
CGPSDlg::gpsDlg->ExecuteConfigureCommand(CGPSDlg::gpsDlg->m_inputMsg, 14, "Configure 1PPS Pulse Width Successful");
return 0;
}
void CGPSDlg::On1ppstimingConfigurePulseWidth()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
CConfig1ppsPulseWidthDlg dlg;
INT_PTR nResult = dlg.DoModal();
if(nResult == IDOK)
{
U08 msg[7] = {0};
msg[0] = 0x65;
msg[1] = 0x01;
msg[2] = dlg.m_nPulseWidth >> 24 & 0xFF;
msg[3] = dlg.m_nPulseWidth >> 16 & 0xFF;
msg[4] = dlg.m_nPulseWidth >> 8 & 0xFF;
msg[5] = dlg.m_nPulseWidth & 0xFF;
msg[6] = (U08)dlg.m_nAttribute;
int len = SetMessage(msg, sizeof(msg));
AfxBeginThread(Configure1ppsPulseWidthThread, 0);
}
else
{
SetMode();
CreateGPSThread();
}
}
UINT AFX_CDECL Query1ppsPulseWidth(LPVOID param)
{
U08 msg[2];
msg[0] = 0x65;
msg[1] = 0x02;
int len = CGPSDlg::gpsDlg->SetMessage(msg, sizeof(msg));
//CGPSDlg::gpsDlg->WaitEvent();
CGPSDlg::gpsDlg->ClearQue();
U08 buff[100] = {0};
if(CGPSDlg::gpsDlg->SendToTarget(CGPSDlg::m_inputMsg, len, "Query 1PPS Pulse Width Successful..."))
{
ScopeTimer timer;
while(1)
{
memset(buff, 0, 100);
DWORD res = CGPSDlg::gpsDlg->m_serial->GetBinary(buff, sizeof(buff));
if(ReadOK(res))
{
if(Cal_Checksum(buff) == 0x65 && buff[5] == 0x80)
{
if(CGPSDlg::gpsDlg->GetShowBinaryCmdData())
{
CGPSDlg::gpsDlg->add_msgtolist("Return: " + theApp.GetHexString(buff, buff[2] <<8 | buff[3] + 7));
}
CString strTxt;
UINT32 nPulseWidth = 0;
nPulseWidth = buff[6] << 24 & 0xff000000 |
buff[7] << 16 & 0xff0000 |
buff[8] << 8 &0xff00 |
buff[9] & 0xff;
strTxt.Format("1PPS Pulse Width : %dus", nPulseWidth);
CGPSDlg::gpsDlg->add_msgtolist(strTxt);
break;
}
}
if(timer.GetDuration() > TIME_OUT_MS)
{
AfxMessageBox("Timeout: GPS device no response.");
break;
}
} //while(1)
} //if(CGPSDlg::gpsDlg->SendToTarget(messages,len,"Query Position Pinning Successful..."))
CGPSDlg::gpsDlg->SetMode();
CGPSDlg::gpsDlg->CreateGPSThread();
return TRUE;
}
void CGPSDlg::On1ppsTimingQuery1ppsPulseWidth()
{
if(!CheckConnect())
{
return;
}
//Utility::Log(__FUNCTION__, "start QuerySBAS thread", __LINE__);
AfxBeginThread(Query1ppsPulseWidth, 0);
}
long int g_1ppsFrequencyOutput = 0;
U08 g_1ppsFrequencyOutputAttr = 0;
UINT Config1ppsFrequencyOutputThread(LPVOID param)
{
U08 msg[7] ;
msg[0] = 0x65;
msg[1] = 0x03;
msg[2] = (U08)HIBYTE(HIWORD(g_1ppsFrequencyOutput));
msg[3] = (U08)LOBYTE(HIWORD(g_1ppsFrequencyOutput));
msg[4] = (U08)HIBYTE(LOWORD(g_1ppsFrequencyOutput));
msg[5] = (U08)LOBYTE(LOWORD(g_1ppsFrequencyOutput));
msg[6] = g_1ppsFrequencyOutputAttr;
int len = CGPSDlg::gpsDlg->SetMessage(msg, sizeof(msg));
CGPSDlg::gpsDlg->ExecuteConfigureCommand(CGPSDlg::m_inputMsg, len, "Configure 1PPS Frequency Output Successful...");
return 0;
}
void CGPSDlg::OnConfig1ppsFrequencyOutput()
{
CConfig1ppsFrequenceOutput dlg;
if(!CheckConnect())
{
return;
}
if(dlg.DoModal()!=IDOK)
{
SetMode();
CreateGPSThread();
return;
}
g_1ppsFrequencyOutput = dlg.freqOutput;
g_1ppsFrequencyOutputAttr = dlg.freqOutputAttr;
AfxBeginThread(Config1ppsFrequencyOutputThread, 0);
}
void CGPSDlg::On1ppstimingEnterreferenceposition32977()
{
CTiming_start dlg;
if(CheckConnect())
{
dlg.DoModal();
SetMode();
CreateGPSThread();
}
}
UINT query_1PPS_pulse_clksrc_thread(LPVOID param)
{
U08 buff[100];
U08 msg[1] ;
CString tmp;
time_t start,end;
int res;
msg[0] = 0x58;
int len = CGPSDlg::gpsDlg->SetMessage(msg,sizeof(msg));
//CGPSDlg::gpsDlg->WaitEvent();
CGPSDlg::gpsDlg->ClearQue();
if(CGPSDlg::gpsDlg->SendToTarget(CGPSDlg::m_inputMsg,len,"Query 1PPS Pulse Clk Src Successful..."))
{
start = clock();
while(1)
{
memset(buff, 0, 100);
res = CGPSDlg::gpsDlg->m_serial->GetBinary(buff, sizeof(buff));
if(ReadOK(res) && BINARY_HD1==buff[0] && BINARY_HD2==buff[1])
{
if(Cal_Checksum(buff) == 0xC4)
{
if(buff[5] == 0)
CGPSDlg::gpsDlg->add_msgtolist("PPS Pulse Clock Source : x1");
else if(buff[5] == 1)
CGPSDlg::gpsDlg->add_msgtolist("PPS Pulse Clock Source : x2");
else if(buff[5] == 2)
CGPSDlg::gpsDlg->add_msgtolist("PPS Pulse Clock Source : x4");
else if(buff[5] == 3)
CGPSDlg::gpsDlg->add_msgtolist("PPS Pulse Clock Source : x8");
else
CGPSDlg::gpsDlg->add_msgtolist("PPS Pulse Clock Source :Out of Range");
break;
}
}
end=clock();
if(CGPSDlg::gpsDlg->TIMEOUT_METHOD(start,end))
break;
}
}
CGPSDlg::gpsDlg->SetMode();
CGPSDlg::gpsDlg->CreateGPSThread();
return 0;
}
void CGPSDlg::On1ppstimingQueryppspulseclksrc()
{
if(CheckConnect())
{
AfxBeginThread(query_1PPS_pulse_clksrc_thread, 0);
}
}
UINT AFX_CDECL ConfigureNoisePowerControlThread(LPVOID param)
{
CGPSDlg::gpsDlg->ExecuteConfigureCommand(CGPSDlg::gpsDlg->m_inputMsg, 11, "Configure Noise Power Control Successful");
return 0;
}
U32 m_propri_enable;
int m_propri_attr;
UINT ConfigProprietaryMessageThread(LPVOID param)
{
U08 msg[6] = { 0 };
msg[0] = 0x49;
msg[1] = m_propri_enable>>24 & 0xFF;
msg[2] = m_propri_enable>>16 & 0xFF;
msg[3] = m_propri_enable>>8 & 0xFF;
msg[4] = m_propri_enable & 0xFF;
msg[5] = m_propri_attr;
int len = CGPSDlg::gpsDlg->SetMessage(msg,sizeof(msg));
CGPSDlg::gpsDlg->ExecuteConfigureCommand(CGPSDlg::m_inputMsg, len, "Configure Proprietary NMEA Successful...");
return 0;
}
void CGPSDlg::OnConfigProprietaryMessage()
{
if(CheckConnect())
{
return;
}
CConfig_Proprietary dlg;
if(dlg.DoModal()==IDOK)
{
m_propri_enable = dlg.enable;
m_propri_attr = dlg.attr;
AfxBeginThread(ConfigProprietaryMessageThread, 0);
}
else
{
SetMode();
CreateGPSThread();
}
}
int m_antenna_control,m_antenna_attr;
UINT configy_antenna_detection_thread(LPVOID param)
{
U08 msg[3] ;
memset(msg,0,sizeof(msg));
msg[0] = 0x47;
msg[1] = m_antenna_control;
msg[2] = m_antenna_attr;
int len = CGPSDlg::gpsDlg->SetMessage(msg,sizeof(msg));
CGPSDlg::gpsDlg->ExecuteConfigureCommand(CGPSDlg::m_inputMsg, len, "Configure Antenna Detection Successful...");
return 0;
}
void CGPSDlg::OnBinaryConfigureantennadetection()
{
CConAntennaDetection dlg;
if(CheckConnect())
{
if(dlg.DoModal()==IDOK)
{
m_antenna_control = dlg.antenna_control;
m_antenna_attr = dlg.attr;
AfxBeginThread(configy_antenna_detection_thread, 0);
}
else
{
SetMode();
CreateGPSThread();
}
}
}
U08 CGPSDlg::QueryChanelFreq(int chanel,U16 *prn,double *freq)
{
CmdErrorCode ack;
U32 v;
long int nco_freq;
int clk_base_reg = 0x60005A24;
int clk_struct_size = 0x5b0;
m_regAddress = clk_base_reg+4 + chanel*clk_struct_size;
ack = QueryRegister(Return, &v);
if(ack != Ack)
{
return 0;
}
//return 0;
*prn = v>>16;
m_regAddress = 0x2000401C + chanel*0x100;
ack = QueryRegister(Return, &v);
if(ack != Ack)
{
return 0;
}
v = v<<9;
memcpy(&nco_freq,&v,4);
nco_freq = nco_freq / 512;
*freq = nco_freq * 0.030487 - 32051.25 ;
return 1;
}
U08 CGPSDlg::PredictClockOffset(double *clk_offset)
{
U08 ack;
U16 prn;
double nco_freq;
int i;
for(i=0;i<12;i++)
{
ack = QueryChanelFreq(i,&prn,&nco_freq);
//return ack; // Test
if(ack == 1)
{
if(prn == 1)
{
*clk_offset = nco_freq - 173.3276;
return 1;
}
}
}
return 0;
}
void CGPSDlg::OnClockOffsetPredict()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
int ChannelTable[GSA_MAX_SATELLITE] = {0};
QueryChannelDoppler(Return, ChannelTable);
QueryClockOffset(Display, ChannelTable);
SetMode();
CreateGPSThread();
}
void CGPSDlg::OnClockOffsetPredictOld()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
QueryChannelDoppler(Display, NULL);
SetMode();
CreateGPSThread();
}
CGPSDlg::CmdErrorCode CGPSDlg::GetBinaryResponse(BinaryData* ackCmd, U08 cAck, U08 cAckSub, DWORD timeOut, bool silent, bool noWaitAck)
{
ScopeTimer t;
bool alreadyAck = noWaitAck;
while(1)
{
ackCmd->Clear();
DWORD len = m_serial->GetBinary(ackCmd->GetBuffer(), ackCmd->Size(), timeOut - t.GetDuration());
if(CGPSDlg::gpsDlg->CheckTimeOut(t.GetDuration(), timeOut, silent))
{ //Time Out
return Timeout;
}
if(!ReadOK(len))
{
continue;
}
int cmdSize = MAKEWORD((*ackCmd)[3], (*ackCmd)[2]);
if(cmdSize != len - 7)
{ //Packet Size Error
continue;
}
if( (*ackCmd)[0] != 0xa0 || (*ackCmd)[1] != 0xa1 ||
(*ackCmd)[len-2] != 0x0d || (*ackCmd)[len-1] != 0x0a)
{ //Format Error
continue;
}
if((*ackCmd)[4] == 0x83 && (*ackCmd)[5] == 0x0)
{ //ACK0
continue;
}
if((*ackCmd)[4] == 0x84)
{ //NACK
if(m_bShowBinaryCmdData)
{
add_msgtolist("NACK: " + theApp.GetHexString(ackCmd->Ptr(), len));
}
add_msgtolist("Received NACK...");
return NACK;
}
if( (*ackCmd)[4] == 0x83)
{ //Get ACK
if(m_bShowBinaryCmdData)
{
add_msgtolist("Ack: " + theApp.GetHexString(ackCmd->Ptr(), len));
}
alreadyAck = true;
continue;
}
if(alreadyAck && Cal_Checksum((*ackCmd).GetBuffer()) && (*ackCmd)[4]==cAck && cAckSub==0x00)
{
if(m_bShowBinaryCmdData)
{
add_msgtolist("Out: " +theApp.GetHexString(ackCmd->Ptr(), len));
}
return Ack;
}
if(alreadyAck && Cal_Checksum((*ackCmd).GetBuffer()) && (*ackCmd)[4]==cAck && (*ackCmd)[5]==cAckSub)
{
if(m_bShowBinaryCmdData)
{
add_msgtolist("Out: " +theApp.GetHexString(ackCmd->Ptr(), len));
}
return Ack;
}
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::ExcuteBinaryCommand(int cmdIdx, BinaryCommand* cmd, BinaryData* ackCmd, DWORD timeOut, bool silent)
{
CommandEntry binMsg = cmdTable[cmdIdx];
U08* pCmd = cmd->GetBuffer();
int inSize = cmd->Size();
if(m_bShowBinaryCmdData)
{
add_msgtolist("In : " + theApp.GetHexString(pCmd, inSize));
}
ackCmd->Alloc(1024);
m_serial->ClearQueue();
m_serial->SendData(pCmd, inSize);
return GetBinaryResponse(ackCmd, binMsg.cmdAck, binMsg.cmdAckSub, timeOut, silent);
}
CGPSDlg::CmdErrorCode CGPSDlg::ExcuteBinaryCommandNoWait(int cmdIdx, BinaryCommand* cmd)
{
CommandEntry binMsg = cmdTable[cmdIdx];
U08* pCmd = cmd->GetBuffer();
int inSize = cmd->Size();
if(m_bShowBinaryCmdData)
{
add_msgtolist("In : " + theApp.GetHexString(pCmd, inSize));
}
m_serial->SendData(pCmd, inSize);
return Timeout;
}
CGPSDlg::CmdErrorCode (CGPSDlg::*queryFunction)(CGPSDlg::CmdExeMode, void*) = NULL;
UINT GenericQueryThread(LPVOID param)
{
(*CGPSDlg::gpsDlg.*queryFunction)(CGPSDlg::Display, NULL);
CGPSDlg::gpsDlg->SetMode();
CGPSDlg::gpsDlg->CreateGPSThread();
return TRUE;
}
void CGPSDlg::GenericQuery(QueryFunction pfn)
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
queryFunction = pfn;
::AfxBeginThread(GenericQueryThread, 0);
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryPositionRate(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryPositionRateCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryPositionRateCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryPositionRateCmd, &cmd, &ackCmd))
{
if(nMode==Return)
{
*((U08*)outputData) = ackCmd[5];
return Ack;
}
CString strMsg = "Query Position Rate Successful...";
add_msgtolist(strMsg);
strMsg.Format("Position Rate = %d Hz", ackCmd[5]);
add_msgtolist(strMsg);
}
return Timeout;
}
const TEL el[] =
{
{0,0},
{6377563.396, 299.3249646},
{6377340.189, 299.3249646},
{6378160, 298.25},
{6377483.865, 299.1528128},
{6377397.155, 299.1528128},
{6378206.4, 294.9786982},
{6378249.145, 293.465},
{6377276.345, 300.8017},
{6377298.556, 300.8017},
{6377301.243, 300.8017},
{6377295.664, 300.8017},
{6377304.063, 300.8017},
{6377309.613, 300.8017},
{6378155, 298.3},
{6378200, 298.3},
{6378270, 297},
{6378160, 298.247},
{6378388, 297},
{6378245, 298.3},
{6378137, 298.257222101},
{6378160, 298.25},
{6378135, 298.26},
{6378137, 298.257223563}
};
const TDRL datum[] =
{
{ 0, 0, 0, el[23].a, el[23].I_F,23},
{-118, -14, 218, el[7].a, el[7].I_F ,23},
{-134, -2, 210, el[7].a, el[7].I_F,7 },
{-165, -11, 206, el[7].a, el[7].I_F ,7},
{-123, -20, 220, el[7].a, el[7].I_F ,7},
{-166, -15, 204, el[7].a, el[7].I_F ,7},
{-128, -18, 224, el[7].a, el[7].I_F ,7},
{-161, -14, 205, el[7].a, el[7].I_F ,7},
{ -43, -163, 45, el[19].a, el[19].I_F,19},
{-150, -250, -1, el[18].a, el[18].I_F,18},
{-143, -236, 7, el[18].a, el[18].I_F,18},
{-115, 118, 426, el[6].a, el[6].I_F ,6},
{-491, -22, 435, el[3].a, el[3].I_F ,3},
{-270, 13, 62, el[7].a, el[7].I_F ,7},
{-138, -105, -289, el[7].a, el[7].I_F,7},
{-153, -5, -292, el[7].a, el[7].I_F ,7},
{-125, -108, -295, el[7].a, el[7].I_F,7},
{-161, -73, -317, el[7].a, el[7].I_F ,7},
{-143, -90, -294, el[7].a, el[7].I_F,7},
{-134, -105, -295, el[7].a, el[7].I_F ,7},
{-169, -19, -278, el[7].a, el[7].I_F,7},
{-147, -74, -283, el[7].a, el[7].I_F ,7},
{-142, -96, -293, el[7].a, el[7].I_F,7},
{-160, -6, -302, el[7].a, el[7].I_F ,7},
{-157, -2, -299, el[7].a, el[7].I_F,7},
{-175, -23, -303, el[7].a, el[7].I_F ,7},
{-205, 107, 53, el[18].a, el[18].I_F,18},
{ 145, 75, -272, el[18].a, el[18].I_F,18},
{-320, 550, -494, el[18].a, el[18].I_F,18},
{ 114, -116, -333, el[18].a, el[18].I_F,18},
{ 124, -234, -25, el[18].a, el[18].I_F,18},
{-133, -48, 148, el[3].a, el[3].I_F ,3},
{-134, -48, 149, el[3].a, el[3].I_F,3},
{ -79, -129, 145, el[7].a, el[7].I_F,7},
{-127, -769, 472, el[18].a, el[18].I_F,18},
{ -73, 213, 296, el[6].a, el[6].I_F,6},
{-173, 253, 27, el[18].a, el[18].I_F,18},
{ 307, 304, -318, el[18].a, el[18].I_F,18},
{-384, 664, -48, el[5].a, el[5].I_F,5},
{-104, -129, 239, el[18].a, el[18].I_F,18},
{-148, 136, 90, el[18].a, el[18].I_F,18},
{ 298, -304, -375, el[18].a, el[18].I_F,18},
{-136, -108, -292, el[7].a, el[7].I_F,7},
{ -2, 151, 181, el[6].a, el[6].I_F,6},
{-263, 6, 431, el[7].a, el[7].I_F,7},
{ 175, -38, 113, el[18].a, el[18].I_F,18},
{-134, 229, -29, el[18].a, el[18].I_F,18},
{-206, 172, -6, el[18].a, el[18].I_F,18},
{ -83, 37, 124, el[7].a, el[7].I_F,7},
{ 260, 12, -147, el[7].a, el[7].I_F,7},
{-377, 681, -50, el[5].a, el[5].I_F,5},
{ 230, -199, -752, el[18].a, el[18].I_F,18},
{ 211, 147, 111, el[18].a, el[18].I_F,18},
{ 374, 150, 588, el[5].a, el[5].I_F,5},
{-104, -101, -140, el[18].a, el[18].I_F,18},
{-130, -117, -151, el[18].a, el[18].I_F,18},
{ -86, -96, -120, el[18].a, el[18].I_F,18},
{ -86, -96, -120, el[18].a, el[18].I_F,18},
{ -87, -95, -120, el[18].a, el[18].I_F,18},
{ -84, -95, -130, el[18].a, el[18].I_F,18},
{-117, -132, -164, el[18].a, el[18].I_F,18},
{ -97, -103, -120, el[18].a, el[18].I_F,18},
{ -97, -88, -135, el[18].a, el[18].I_F,18},
{-107, -88, -149, el[18].a, el[18].I_F,18},
{ -87, -98, -121, el[18].a, el[18].I_F,18},
{ -87, -96, -120, el[18].a, el[18].I_F,18},
{-103, -106, -141, el[18].a, el[18].I_F,18},
{ -84, -107, -120, el[18].a, el[18].I_F,18},
{-112, -77, -145, el[18].a, el[18].I_F,18},
{ -86, -98, -119, el[18].a, el[18].I_F,18},
{ -7, 215, 225, el[7].a, el[7].I_F,7},
{-133, -321, 50, el[18].a, el[18].I_F,18},
{ 84, -22, 209, el[18].a, el[18].I_F,18},
{-104, 167, -38, el[18].a, el[18].I_F ,18},
{-100, -248, 259, el[6].a, el[6].I_F,6},
{-403, 684, 41, el[5].a, el[5].I_F,5},
{ 252, -209, -751, el[18].a, el[18].I_F,18},
{-333, -222, 114, el[18].a, el[18].I_F,18},
{ 653, -212, 449, el[4].a, el[4].I_F,4},
{ -73, 46, -86, el[18].a, el[18].I_F,18},
{-156, -271, -189, el[18].a, el[18].I_F,18},
{-637, -549, -203, el[18].a, el[18].I_F,18},
{ 282, 726, 254, el[8].a, el[8].I_F,8},
{ 295, 736, 257, el[10].a, el[10].I_F,10},
{ 283, 682, 231, el[13].a, el[13].I_F,13},
{ 217, 823, 299, el[8].a, el[8].I_F,8},
{ 182, 915, 344, el[8].a, el[8].I_F,8},
{ 198, 881, 317, el[8].a, el[8].I_F,8},
{ 210, 814, 289, el[8].a, el[8].I_F,8},
{ -24, -15, 5, el[17].a, el[17].I_F,17},
{ 506, -122, 611, el[2].a, el[2].I_F,2},
{-794, 119, -298, el[18].a, el[18].I_F,18},
{ 208, -435, -229, el[18].a, el[18].I_F,18},
{ 189, -79, -202, el[18].a, el[18].I_F,18},
{ -97, 787, 86, el[8].a, el[8].I_F,8},
{ 145, -187, 103, el[18].a, el[18].I_F,18},
{ -11, 851, 5, el[12].a, el[12].I_F,12},
{ 647, 1777,-1124, el[18].a, el[18].I_F,18},
{ 0, 0, 0, el[20].a, el[20].I_F,20},
{ 42, 124, 147, el[6].a, el[6].I_F,6},
{-130, 29, 364, el[7].a, el[7].I_F,7},
{ -90, 40, 88, el[7].a, el[7].I_F,7},
{-133, -77, -51, el[6].a, el[6].I_F,6},
{-133, -79, -72, el[6].a, el[6].I_F,6},
{ -74, -130, 42, el[7].a, el[7].I_F,7},
{ 41, -220, -134, el[7].a, el[7].I_F,7},
{ 639, 405, 60, el[5].a, el[5].I_F,5},
{ 31, 146, 47, el[7].a, el[7].I_F,7},
{ 912, -58, 1227, el[18].a, el[18].I_F,18},
{ -81, -84, 115, el[7].a, el[7].I_F,7},
{ -92, -93, 122, el[7].a, el[7].I_F,7},
{ 174, 359, 365, el[7].a, el[7].I_F},
{-247, -148, 369, el[7].a, el[7].I_F,7},
{-243, -192, 477, el[7].a, el[7].I_F},
{-249, -156, 381, el[7].a, el[7].I_F,7},
{ -10, 375, 165, el[18].a, el[18].I_F,18},
{ -5, 135, 172, el[6].a, el[6].I_F,6},
{ -2, 152, 149, el[6].a, el[6].I_F,6},
{ 2, 204, 105, el[6].a, el[6].I_F,6},
{ -4, 154, 178, el[6].a, el[6].I_F,6},
{ 1, 140, 165, el[6].a, el[6].I_F,6},
{ -7, 162, 188, el[6].a, el[6].I_F,6},
{ -9, 157, 184, el[6].a, el[6].I_F,6},
{ -22, 160, 190, el[6].a, el[6].I_F,6},
{ 4, 159, 188, el[6].a, el[6].I_F,6},
{ -7, 139, 181, el[6].a, el[6].I_F,6},
{ 0, 125, 201, el[6].a, el[6].I_F,6},
{ -9, 152, 178, el[6].a, el[6].I_F,6},
{ 11, 114, 195, el[6].a, el[6].I_F,6},
{ -3, 142, 183, el[6].a, el[6].I_F,6},
{ 0, 125, 194, el[6].a, el[6].I_F,6},
{ -10, 158, 187, el[6].a, el[6].I_F,6},
{ -8, 160, 176, el[6].a, el[6].I_F,6},
{ -9, 161, 179, el[6].a, el[6].I_F,6},
{ -8, 159, 175, el[6].a, el[6].I_F,6},
{ -12, 130, 190, el[6].a, el[6].I_F,6},
{ 0, 0, 0, el[20].a, el[20].I_F,20},
{ -2, 0, 4, el[20].a, el[20].I_F,20},
{ 0, 0, 0, el[20].a, el[20].I_F,20},
{ 0, 0, 0, el[20].a, el[20].I_F,20},
{ 1, 1, -1, el[20].a, el[20].I_F,20},
{ 0, 0, 0, el[20].a, el[20].I_F,20},
{-186, -93, 310, el[7].a, el[7].I_F,7},
{-425, -169, 81, el[18].a, el[18].I_F,18},
{-130, 110, -13, el[15].a, el[15].I_F,15},
{ 89, -279, -183, el[6].a, el[6].I_F,6},
{ 45, -290, -172, el[6].a, el[6].I_F,6},
{ 65, -290, -190, el[6].a, el[6].I_F,6},
{ 61, -285, -181, el[6].a, el[6].I_F,6},
{ 58, -283, -182, el[6].a, el[6].I_F,6},
{-346, -1, 224, el[7].a, el[7].I_F,7},
{ 371, -112, 434, el[1].a, el[1].I_F,1},
{ 371, -111, 434, el[1].a, el[1].I_F,1},
{ 375, -111, 431, el[1].a, el[1].I_F,1},
{ 384, -111, 425, el[1].a, el[1].I_F,1},
{ 370, -108, 434, el[1].a, el[1].I_F,1},
{-307, -92, 127, el[18].a, el[18].I_F,18},
{ 185, 165, 42, el[18].a, el[18].I_F,18},
{-106, -129, 165, el[7].a, el[7].I_F,7},
{-148, 51, -291, el[18].a, el[18].I_F,18},
{-499, -249, 314, el[18].a, el[18].I_F,18},
{-270, 188, -388, el[18].a, el[18].I_F,18},
{-270, 183, -390, el[18].a, el[18].I_F,18},
{-305, 243, -442, el[18].a, el[18].I_F,18},
{-282, 169, -371, el[18].a, el[18].I_F,18},
{-278, 171, -367, el[18].a, el[18].I_F,18},
{-298, 159, -369, el[18].a, el[18].I_F,18},
{-288, 175, -376, el[18].a, el[18].I_F,18},
{-279, 175, -379, el[18].a, el[18].I_F,18},
{-295, 173, -371, el[18].a, el[18].I_F,18},
{ 16, 196, 93, el[18].a, el[18].I_F,18},
{ 11, 72, -101, el[6].a, el[6].I_F,6},
{ 28, -130, -95, el[19].a, el[19].I_F,19},
{-128, -283, 22, el[18].a, el[18].I_F,18},
{ 164, 138, -189, el[18].a, el[18].I_F,18},
{ 94, -948,-1262, el[18].a, el[18].I_F,18},
{-225, -65, 9, el[18].a, el[18].I_F,18},
{ 28, -121, -77, el[19].a, el[19].I_F,19},
{ 23, -124, -82, el[19].a, el[19].I_F,19},
{ 26, -121, -78, el[19].a, el[19].I_F,19},
{ 24, -124, -82, el[19].a, el[19].I_F,19},
{ 15, -130, -84, el[19].a, el[19].I_F,19},
{ 24, -130, -92, el[19].a, el[19].I_F,19},
{ 28, -121, -77, el[19].a, el[19].I_F,19},
{ 589, 76, 480, el[5].a, el[5].I_F,5},
{ 170, 42, 84, el[18].a, el[18].I_F,18},
{-203, 141, 53, el[18].a, el[18].I_F,5},
{-355, 21, 72, el[18].a, el[18].I_F,18},
{ 616, 97, -251, el[4].a, el[4].I_F,4},
{-289, -124, 60, el[18].a, el[18].I_F,18},
{ -88, 4, 101, el[7].a, el[7].I_F,7},
{ -62, -1, -37, el[21].a, el[21].I_F,21},
{ -61, 2, -48, el[21].a, el[21].I_F,21},
{ -60, -2, -41, el[21].a, el[21].I_F,21},
{ -75, -1, -44, el[21].a, el[21].I_F,21},
{ -44, 6, -36, el[21].a, el[21].I_F,21},
{ -48, 3, -44, el[21].a, el[21].I_F,21},
{ -47, 26, -42, el[21].a, el[21].I_F,21},
{ -53, 3, -47, el[21].a, el[21].I_F,21},
{ -57, 1, -41, el[21].a, el[21].I_F,21},
{ -61, 2, -33, el[21].a, el[21].I_F,21},
{ -58, 0, -44, el[21].a, el[21].I_F,21},
{ -45, 12, -33, el[21].a, el[21].I_F,21},
{ -45, 8, -33, el[21].a, el[21].I_F,21},
{ 7, -10, -26, el[14].a, el[14].I_F,14},
{-189, -242, -91, el[18].a, el[18].I_F,18},
{-679, 669, -48, el[9].a, el[7].I_F,7},
{-148, 507, 685, el[5].a, el[5].I_F,5},
{-148, 507, 685, el[5].a, el[5].I_F,5},
{-158, 507, 676, el[5].a, el[5].I_F,5},
{-147, 506, 687, el[5].a, el[5].I_F,5},
{-632, 438, -609, el[18].a, el[18].I_F,18},
{ 51, 391, -36, el[7].a, el[7].I_F,7},
{-123, -206, 219, el[7].a, el[7].I_F,7},
{ 276, -57, 149, el[18].a, el[18].I_F,18},
{ 102, 52, -38, el[16].a, el[16].I_F,16},
{ 0, 0, 0, el[22].a, el[22].I_F,22},
{-155, 171, 37, el[18].a, el[18].I_F,18},
{-265, 120, -358, el[18].a, el[18].I_F,22},
};
CGPSDlg::CmdErrorCode CGPSDlg::QueryDatum(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryDatumCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryDatumCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryDatumCmd, &cmd, &ackCmd))
{
U16 datumIdx = MAKEWORD(ackCmd[6], ackCmd[5]);
CString strMsg = "Query Datum Successful...";
add_msgtolist(strMsg);
strMsg.Format("DeltaX: %d, DeltaY: %d, DeltaZ: %d",
datum[datumIdx].DeltaX, datum[datumIdx].DeltaY, datum[datumIdx].DeltaZ);
add_msgtolist(strMsg);
strMsg.Format("Semi_Major_Axis: %.3f", datum[datumIdx].Semi_Major_Axis);
add_msgtolist(strMsg);
strMsg.Format("Inversed_Flattening: %.9f", datum[datumIdx].Inversd_Flattening);
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QuerySoftwareVersionRomCode(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QuerySwVerRomCmd].cmdSize);
cmd.SetU08(1, cmdTable[QuerySwVerRomCmd].cmdId);
cmd.SetU08(2, cmdTable[QuerySwVerRomCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QuerySwVerRomCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Version Successful...";
add_msgtolist(strMsg);
strMsg.Format("%s%d.%d.%d", "Kernel Version ", ackCmd[7], ackCmd[8], ackCmd[9]);
add_msgtolist(strMsg);
strMsg.Format("%s%d.%d.%d", "Software Version ", ackCmd[11], ackCmd[12], ackCmd[13]);
add_msgtolist(strMsg);
strMsg.Format("%s%d.%d.%d", "Revision ", ackCmd[15] + 2000, ackCmd[16], ackCmd[17]);
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QuerySha1String(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QuerySha1StringCmd].cmdSize);
cmd.SetU08(1, cmdTable[QuerySha1StringCmd].cmdId);
cmd.SetU08(2, cmdTable[QuerySha1StringCmd].cmdSubId);
if(NoWait==nMode)
{
ExcuteBinaryCommandNoWait(QuerySha1StringCmd, &cmd);
return Timeout;
}
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QuerySha1StringCmd, &cmd, &ackCmd, 3000))
{
CString strMsg, strSha;
const int Sha1Length = 32;
char* p = strSha.GetBuffer(Sha1Length + 1);
memcpy(p, ackCmd.GetBuffer(6), Sha1Length);
p[Sha1Length] = 0;
strSha.ReleaseBuffer();
strMsg.Format("SHA1: %s", strSha);
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryConstellationCapability(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryConstellationCapabilityCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryConstellationCapabilityCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryConstellationCapabilityCmd].cmdSubId);
if(NoWait==nMode)
{
ExcuteBinaryCommandNoWait(QueryConstellationCapabilityCmd, &cmd);
return Timeout;
}
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryConstellationCapabilityCmd, &cmd, &ackCmd, 3000))
{
CString strMsg;
U16 mode = MAKEWORD(ackCmd[7], ackCmd[6]);
add_msgtolist("Constellation Capability : ");
if(mode & 0x0001)
{
strMsg += "GPS, ";
}
if(mode & 0x0002)
{
strMsg += "GLONASS, ";
}
if(mode & 0x0004)
{
strMsg += "Galileo, ";
}
if(mode & 0x0008)
{
strMsg += "Beidou, ";
}
add_msgtolist(strMsg);
UINT32 freq = ackCmd[8] << 24 & 0xff000000 |
ackCmd[9] << 16 & 0xff0000 |
ackCmd[10] << 8 &0xff00 |
ackCmd[11] & 0xff;
strMsg.Format("GPS Ref. Freq. : %d Hz", freq);
add_msgtolist(strMsg);
freq = ackCmd[12] << 24 & 0xff000000 |
ackCmd[13] << 16 & 0xff0000 |
ackCmd[14] << 8 &0xff00 |
ackCmd[15] & 0xff;
strMsg.Format("GLONASS Ref. Freq. : %d Hz", freq);
add_msgtolist(strMsg);
freq = ackCmd[16] << 24 & 0xff000000 |
ackCmd[17] << 16 & 0xff0000 |
ackCmd[18] << 8 &0xff00 |
ackCmd[19] & 0xff;
strMsg.Format("Galileo Ref. Freq. : %d Hz", freq);
add_msgtolist(strMsg);
freq = ackCmd[20] << 24 & 0xff000000 |
ackCmd[21] << 16 & 0xff0000 |
ackCmd[22] << 8 &0xff00 |
ackCmd[23] & 0xff;
strMsg.Format("Beidou Ref. Freq. : %d Hz", freq);
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryVersionExtension(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryVersionExtensionCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryVersionExtensionCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryVersionExtensionCmd].cmdSubId);
if(NoWait==nMode)
{
ExcuteBinaryCommandNoWait(QueryVersionExtensionCmd, &cmd);
return Timeout;
}
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryVersionExtensionCmd, &cmd, &ackCmd, 3000))
{
CString strMsg, strSha;
const int Sha1Length = 32;
char* p = strSha.GetBuffer(Sha1Length + 1);
memcpy(p, ackCmd.GetBuffer(6), Sha1Length);
p[Sha1Length] = 0;
strSha.ReleaseBuffer();
if(nMode==Return)
{
*((CString*)outputData) = strSha;
return Ack;
}
strMsg.Format("Version Extension: %s", strSha);
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QuerySoftwareVersionSystemCode(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QuerySwVerSysCmd].cmdSize);
cmd.SetU08(1, cmdTable[QuerySwVerSysCmd].cmdId);
cmd.SetU08(2, cmdTable[QuerySwVerSysCmd].cmdSubId);
if(NoWait==nMode)
{
ExcuteBinaryCommandNoWait(QuerySwVerSysCmd, &cmd);
return Timeout;
}
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QuerySwVerSysCmd, &cmd, &ackCmd, 3000))
{
CString strExt;
if(Ack==QueryVersionExtension(Return, &strExt))
{
}
CString strMsg = "Query Version Successful...";
add_msgtolist(strMsg);
strMsg.Format("%s%d.%d.%d%s", "Kernel Version ", ackCmd[7], ackCmd[8], ackCmd[9], strExt);
add_msgtolist(strMsg);
strMsg.Format("%s%d.%d.%d", "Software Version ", ackCmd[11], ackCmd[12], ackCmd[13]);
add_msgtolist(strMsg);
strMsg.Format("%s%d.%d.%d", "Revision ", ackCmd[15] + 2000, ackCmd[16], ackCmd[17]);
add_msgtolist(strMsg);
m_versionInfo = ackCmd;
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QuerySoftwareCrcRomCode(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QuerySwCrcRomCmd].cmdSize);
cmd.SetU08(1, cmdTable[QuerySwCrcRomCmd].cmdId);
cmd.SetU08(2, cmdTable[QuerySwCrcRomCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QuerySwCrcRomCmd, &cmd, &ackCmd, 5000))
{
CString strMsg = "Query CRC Successful...";
add_msgtolist(strMsg);
strMsg.Format("%s%02x%02x", "Rom CRC: ", ackCmd[6], ackCmd[7]);
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QuerySoftwareCrcSystemCode(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QuerySwCrcSysCmd].cmdSize);
cmd.SetU08(1, cmdTable[QuerySwCrcSysCmd].cmdId);
cmd.SetU08(2, cmdTable[QuerySwCrcSysCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QuerySwCrcSysCmd, &cmd, &ackCmd, m_nDefaultTimeout))
{
if(nMode==Return)
{
*((U16*)outputData) = (ackCmd[6]<<8) | ackCmd[7];
return Ack;
}
CString strMsg = "Query CRC Successful...";
add_msgtolist(strMsg);
strMsg.Format("%s%02x%02x", "System CRC: ", ackCmd[6], ackCmd[7]);
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryWaasStatus(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryWaasStatusCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryWaasStatusCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryWaasStatusCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryWaasStatusCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Waas Status Successful...";
add_msgtolist(strMsg);
strMsg.Format("WAAS status: %s", (ackCmd[5]) ? "Enable" : "Disable");
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryPositionPinning(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryPositionPinningCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryPositionPinningCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryPositionPinningCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Position Pinning Successful...";
add_msgtolist(strMsg);
strMsg = "Position Pinning: ";
if(0==ackCmd[5])
{
strMsg += "Default";
}
else if(1==ackCmd[5])
{
strMsg += "Enable";
}
else if(2==ackCmd[5])
{
strMsg += "Disable";
}
add_msgtolist(strMsg);
strMsg.Format("Pinning Speed: %d", MAKEWORD(ackCmd[7], ackCmd[6]));
add_msgtolist(strMsg);
strMsg.Format("Pinning Cnt: %d", MAKEWORD(ackCmd[9], ackCmd[8]));
add_msgtolist(strMsg);
strMsg.Format("Unpinning Speed: %d", MAKEWORD(ackCmd[11], ackCmd[10]));
add_msgtolist(strMsg);
strMsg.Format("Unpinning Cnt: %d", MAKEWORD(ackCmd[13], ackCmd[12]));
add_msgtolist(strMsg);
strMsg.Format("Unpinning Distance: %d", MAKEWORD(ackCmd[15], ackCmd[14]));
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::Query1ppsMode(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[Query1ppsModeCmd].cmdSize);
cmd.SetU08(1, cmdTable[Query1ppsModeCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(Query1ppsModeCmd, &cmd, &ackCmd))
{
CString strMsg = "Query GPS Measurement Mode Successful...";
add_msgtolist(strMsg);
strMsg = "GPS Measurement Mode: ";
if(0==ackCmd[5])
{
strMsg += "Not sync to UTC second";
}
else if(1==ackCmd[5])
{
strMsg += "Sync to UTC second when 3D fix";
}
else if(2==ackCmd[5])
{
strMsg += "On when 1 SV";
}
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryPowerMode(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryPowerModeCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryPowerModeCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryPowerModeCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Power Mode Successful...";
add_msgtolist(strMsg);
strMsg = "Power Mode: ";
if(1==ackCmd[5])
{
strMsg += "Power Save";
}
else
{
strMsg += "Normal";
}
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryPowerSavingParameters(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryPowerSavingParametersCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryPowerSavingParametersCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryPowerSavingParametersCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Power Saving Parameters Successful...";
add_msgtolist(strMsg);
strMsg.Format("2 PSE no fix cycle time:%d", MAKEWORD(ackCmd[7], ackCmd[6]));
add_msgtolist(strMsg);
strMsg.Format("2 PSE fix cycle time:%d", MAKEWORD(ackCmd[9], ackCmd[8]));
add_msgtolist(strMsg);
strMsg.Format("4 PSE no fix cycle time:%d", MAKEWORD(ackCmd[11], ackCmd[10]));
add_msgtolist(strMsg);
strMsg.Format("4 PSE fix cycle time:%d", MAKEWORD(ackCmd[13], ackCmd[12]));
add_msgtolist(strMsg);
strMsg.Format("First boot up full power time:%d", MAKEWORD(ackCmd[15], ackCmd[14]));
add_msgtolist(strMsg);
strMsg.Format("Power save entering wait:%d", MAKEWORD(ackCmd[17], ackCmd[16]));
add_msgtolist(strMsg);
strMsg.Format("Cold start full power time:%d", MAKEWORD(ackCmd[19], ackCmd[18]));
add_msgtolist(strMsg);
strMsg.Format("Tunnel full power time:%d", MAKEWORD(ackCmd[21], ackCmd[20]));
add_msgtolist(strMsg);
strMsg.Format("SV no diff time:%d", MAKEWORD(ackCmd[23], ackCmd[22]));
add_msgtolist(strMsg);
strMsg = "Power Mode: ";
if(1==ackCmd[24])
{
strMsg += "Power Save";
}
else
{
strMsg += "Normal";
}
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryV8PowerSavingParametersRom(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryV8RomPowerSaveParameters].cmdSize);
cmd.SetU08(1, cmdTable[QueryV8RomPowerSaveParameters].cmdId);
cmd.SetU08(2, cmdTable[QueryV8RomPowerSaveParameters].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryV8RomPowerSaveParameters, &cmd, &ackCmd))
{
CString strMsg = "Query Power Saving Parameters Successful...";
add_msgtolist(strMsg);
strMsg.Format("2 PSE no fix cycle time:%d", MAKEWORD(ackCmd[7], ackCmd[6]));
add_msgtolist(strMsg);
strMsg.Format("2 PSE fix cycle time:%d", MAKEWORD(ackCmd[9], ackCmd[8]));
add_msgtolist(strMsg);
strMsg.Format("4 PSE no fix cycle time:%d", MAKEWORD(ackCmd[11], ackCmd[10]));
add_msgtolist(strMsg);
strMsg.Format("4 PSE fix cycle time:%d", MAKEWORD(ackCmd[13], ackCmd[12]));
add_msgtolist(strMsg);
strMsg.Format("First boot up full power time:%d", MAKEWORD(ackCmd[15], ackCmd[14]));
add_msgtolist(strMsg);
strMsg.Format("Power save entering wait:%d", MAKEWORD(ackCmd[17], ackCmd[16]));
add_msgtolist(strMsg);
strMsg.Format("Cold start full power time:%d", MAKEWORD(ackCmd[19], ackCmd[18]));
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryV8PowerSavingParameters(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryV8PowerSaveParameters].cmdSize);
cmd.SetU08(1, cmdTable[QueryV8PowerSaveParameters].cmdId);
cmd.SetU08(2, cmdTable[QueryV8PowerSaveParameters].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryV8PowerSaveParameters, &cmd, &ackCmd))
{
CString strMsg = "Query Power Saving Parameters Successful...";
add_msgtolist(strMsg);
strMsg.Format("2 PSE no fix cycle time:%d", MAKEWORD(ackCmd[7], ackCmd[6]));
add_msgtolist(strMsg);
strMsg.Format("2 PSE fix cycle time:%d", MAKEWORD(ackCmd[9], ackCmd[8]));
add_msgtolist(strMsg);
strMsg.Format("4 PSE no fix cycle time:%d", MAKEWORD(ackCmd[11], ackCmd[10]));
add_msgtolist(strMsg);
strMsg.Format("4 PSE fix cycle time:%d", MAKEWORD(ackCmd[13], ackCmd[12]));
add_msgtolist(strMsg);
strMsg.Format("First boot up full power time:%d", MAKEWORD(ackCmd[15], ackCmd[14]));
add_msgtolist(strMsg);
strMsg.Format("Power save entering wait:%d", MAKEWORD(ackCmd[17], ackCmd[16]));
add_msgtolist(strMsg);
strMsg.Format("Cold start full power time:%d", MAKEWORD(ackCmd[19], ackCmd[18]));
add_msgtolist(strMsg);
strMsg.Format("Reserved:%d", MAKEWORD(ackCmd[21], ackCmd[20]));
add_msgtolist(strMsg);
strMsg.Format("SV no diff time:%d", MAKEWORD(ackCmd[23], ackCmd[22]));
add_msgtolist(strMsg);
strMsg = "Power Mode: ";
if(1==ackCmd[24])
{
strMsg += "Power Save";
}
else
{
strMsg += "Normal";
}
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryProprietaryMessage(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryProprietaryMessageCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryProprietaryMessageCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryProprietaryMessageCmd, &cmd, &ackCmd))
{
add_msgtolist("Query Proprietary Message Successful...");
DWORD enable = MAKELONG(MAKEWORD(ackCmd[8], ackCmd[7]), MAKEWORD(ackCmd[6], ackCmd[5]));
if(enable & 0x00000001)
{
add_msgtolist("epe enable");
}
else
{
add_msgtolist("epe disable");
}
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryTiming(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryTimingCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryTimingCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryTimingCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Timing Successful...";
add_msgtolist(strMsg);
_1PPS_Timing_T t;
t.Timing_mode = ackCmd[5];
t.Survey_Length = MAKELONG(MAKEWORD(ackCmd[9], ackCmd[8]), MAKEWORD(ackCmd[7], ackCmd[6]));
t.Standard_deviation = MAKELONG(MAKEWORD(ackCmd[13], ackCmd[12]), MAKEWORD(ackCmd[11], ackCmd[10]));
for(int i=0; i<sizeof(t.latitude); ++i)
{
((BYTE*)(&t.latitude))[7 - i] = ackCmd[14 + i];
((BYTE*)(&t.longitude))[7 - i] = ackCmd[22 + i];
if(i < sizeof(t.altitude))
{
((BYTE*)(&t.altitude))[3 - i] = ackCmd[30 + i];
}
}
t.RT_Timing_mode = ackCmd[34];
t.RT_Survey_Length = MAKELONG(MAKEWORD(ackCmd[38], ackCmd[37]), MAKEWORD(ackCmd[36], ackCmd[35]));
if(t.Timing_mode==0)
{
add_msgtolist("Timing Mode: PVT Mode");
}
else if(t.Timing_mode==1)
{
add_msgtolist("Timing Mode: Survey Mode");
strMsg.Format("Survey Length: %d",t.Survey_Length);
add_msgtolist(strMsg);
strMsg.Format("Standard deviation: %d",t.Standard_deviation);
add_msgtolist(strMsg);
}
else if(t.Timing_mode==2)
{
add_msgtolist("Timing Mode: Static Mode");
strMsg.Format("Saved Latitude: %.6f",t.latitude);
add_msgtolist(strMsg);
strMsg.Format("Saved Longitude: %.6f",t.longitude);
add_msgtolist(strMsg);
strMsg.Format("Saved Altitude: %.6f",t.altitude);
add_msgtolist(strMsg);
}
if(t.RT_Timing_mode==0)
{
add_msgtolist("Run-time Timing Mode: PVT Mode");
}
else if(t.RT_Timing_mode==1)
{
add_msgtolist("Run-time Timing Mode: Survey Mode");
strMsg.Format("Run-time Survey Length: %d",t.RT_Survey_Length);
add_msgtolist(strMsg);
}
else if(t.RT_Timing_mode==2)
{
add_msgtolist("Run-time Timing Mode: Static Mode");
}
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryDopMask(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryDopMaskCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryDopMaskCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryDopMaskCmd, &cmd, &ackCmd))
{
CString strMsg = "Query DOP Mask Successful...";
add_msgtolist(strMsg);
strMsg.Format("DOP Mode: %d", ackCmd[5]);
add_msgtolist(strMsg);
if(ackCmd[5]==1)
{
strMsg.Format("PDOP: %.1f", MAKEWORD(ackCmd[7], ackCmd[6]) / 10.0);
add_msgtolist(strMsg);
strMsg.Format("HDOP: %.1f", MAKEWORD(ackCmd[9], ackCmd[8]) / 10.0);
add_msgtolist(strMsg);
}
else if(ackCmd[5] == 2)
{
strMsg.Format("PDOP: %.1f", MAKEWORD(ackCmd[7], ackCmd[6]) / 10.0);
add_msgtolist(strMsg);
}
else if(ackCmd[5] == 3)
{
strMsg.Format("HDOP: %.1f", MAKEWORD(ackCmd[9], ackCmd[8]) / 10.0);
add_msgtolist(strMsg);
}
else if(ackCmd[5] == 4)
{
strMsg.Format("GDOP: %.1f", MAKEWORD(ackCmd[11], ackCmd[10]) / 10.0);
add_msgtolist(strMsg);
}
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryElevationAndCnrMask(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryElevationAndCnrMaskCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryElevationAndCnrMaskCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryElevationAndCnrMaskCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Elevation and CNR Mask Successful...";
add_msgtolist(strMsg);
strMsg.Format("Elevation and CNR Mask Mode: %d", ackCmd[5]);
add_msgtolist(strMsg);
if(ackCmd[5]==1)
{
strMsg.Format("Elevation Mask: %d", ackCmd[6]);
add_msgtolist(strMsg);
strMsg.Format("CNR Mask: %d", ackCmd[7]);
add_msgtolist(strMsg);
}
else if(ackCmd[5] == 2)
{
strMsg.Format("Elevation Mask: %d", ackCmd[6]);
add_msgtolist(strMsg);
}
else if(ackCmd[5] == 3)
{
strMsg.Format("CNR Mask: %d", ackCmd[7]);
add_msgtolist(strMsg);
}
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryAntennaDetection(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryAntennaDetectionCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryAntennaDetectionCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryAntennaDetectionCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Antenna Detection Successful...";
add_msgtolist(strMsg);
//20150709 Modify for fw spec, just only ON/OFF.
//if(ackCmd[5] & 0x01)
//{
// add_msgtolist("Short Circuit Detection On");
//}
//else
//{
// add_msgtolist("Short Circuit Detection Off");
//}
//if(ackCmd[5] & 0x02)
//{
// add_msgtolist("Antenna Detection On");
//}
//else
//{
// add_msgtolist("Antenna Detection Off");
//}
if(ackCmd[5])
{
add_msgtolist("Antenna Detection On");
}
else
{
add_msgtolist("Antenna Detection Off");
}
strMsg.Format("Antenna Mode Status:0x%02X", ackCmd[6]);
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryNoisePower(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryNoisePowerCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryNoisePowerCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryNoisePowerCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Noise Power Successful...";
add_msgtolist(strMsg);
strMsg.Format("Noise Power: %d", MAKELONG(MAKEWORD(ackCmd[8], ackCmd[7]), MAKEWORD(ackCmd[6], ackCmd[5])));
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryDrInfo(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryDrInfoCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryDrInfoCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryDrInfoCmd, &cmd, &ackCmd))
{
CString strMsg = "Query DR Info Successful...";
add_msgtolist(strMsg);
//data = buff[7]<<24 | buff[8]<<16 | buff[9]<<8 | buff[10];
F32 gyroData;
for(int i=0; i<sizeof(gyroData); ++i)
{
((BYTE*)(&gyroData))[sizeof(gyroData) - i - 1] = ackCmd[7 + i];
}
strMsg.Format("Temperature = %f",(F32)MAKEWORD(ackCmd[6], ackCmd[5]) / 10.0);
add_msgtolist(strMsg);
strMsg.Format("Gyro Data = %f",gyroData);
add_msgtolist(strMsg);
strMsg.Format("Odo Data = %d", MAKEWORD(ackCmd[12], ackCmd[11]));
add_msgtolist(strMsg);
strMsg.Format("Odo backward indicator = %s", (ackCmd[13]) ? "TRUE" : "FALSE");
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryDrHwParameter(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryDrHwParameterCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryDrHwParameterCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryDrHwParameterCmd, &cmd, &ackCmd))
{
CString strMsg = "Query DR HW Parameter Successful...";
add_msgtolist(strMsg);
F32 gyroOutputUnit, gyroReference, gyroAdcReference, gyroAdcGain, defaultOdoScale;
for(int i=0; i<sizeof(gyroOutputUnit); ++i)
{
((BYTE*)(&gyroOutputUnit))[sizeof(F32) - i - 1] = ackCmd[5 + i];
((BYTE*)(&gyroReference))[sizeof(F32) - i - 1] = ackCmd[9 + i];
((BYTE*)(&gyroAdcReference))[sizeof(F32) - i - 1] = ackCmd[14 + i];
((BYTE*)(&gyroAdcGain))[sizeof(F32) - i - 1] = ackCmd[21 + i];
((BYTE*)(&defaultOdoScale))[sizeof(F32) - i - 1] = ackCmd[25 + i];
}
strMsg.Format("Gyro output unit = %f mV/dps", gyroOutputUnit);
add_msgtolist(strMsg);
strMsg.Format("Gyro reference voltage = %f", gyroReference);
add_msgtolist(strMsg);
strMsg.Format("Gyro ADC type = %s", (ackCmd[13]) ? "unipolar" : "differential");
add_msgtolist(strMsg);
strMsg.Format("Gyro ADC reference voltage = %f", gyroAdcReference);
add_msgtolist(strMsg);
strMsg.Format("Gyro ADC sampling freq = %d", MAKEWORD(ackCmd[19], ackCmd[18]));
add_msgtolist(strMsg);
strMsg.Format("Gyro ADC NBITS = %d", ackCmd[20]);
add_msgtolist(strMsg);
strMsg.Format("Gyro ADC gain = %f", gyroAdcGain);
add_msgtolist(strMsg);
strMsg.Format("Default ODO scale = %f", defaultOdoScale);
add_msgtolist(strMsg);
strMsg.Format("%s", (ackCmd[29]) ? "ODO has backward" : "ODO no backward");
add_msgtolist(strMsg);
strMsg.Format("%s", (ackCmd[30]) ? "ODO invert FW/BW" : "ODO not invert FW/BW");
add_msgtolist(strMsg);
strMsg.Format("%s", (ackCmd[31]) ? "ODO in period mode" : "ODO in hz mode");
add_msgtolist(strMsg);
strMsg.Format("ODO period in = %d us", MAKEWORD(ackCmd[33], ackCmd[32]));
add_msgtolist(strMsg);
strMsg.Format("DR firmware version = %d.%d.%d", ackCmd[35], ackCmd[36], ackCmd[37]);
add_msgtolist(strMsg);
strMsg.Format("%s", (ackCmd[38]) ? "DR enable temperature" : "DR not enable temperature");
add_msgtolist(strMsg);
strMsg.Format("%s", (ackCmd[39]) ? "DR enable tunnel table" : "DR not enable tunnel table");
add_msgtolist(strMsg);
strMsg = "DR table region = ";
if(ackCmd[43] & 0x01)
{
strMsg.Append("Taiwan,");
}
if(ackCmd[43] & 0x02)
{
strMsg.Append("Korea,");
}
if(ackCmd[43] & 0x04)
{
strMsg.Append("Japan,");
}
if(ackCmd[43] & 0x08)
{
strMsg.Append("China,");
}
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryGnssSelectionForNavigationSystem(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryGnssSelectionForNavigationSystemCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryGnssSelectionForNavigationSystemCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryGnssSelectionForNavigationSystemCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Gnss Selection for Navigation System Successful...";
add_msgtolist(strMsg);
strMsg = "GNSS Navigation Selection: ";
if(ackCmd[5]==0)
{
strMsg.Append("None");
}
else if(ackCmd[5]==1)
{
strMsg.Append("GPS Only");
}
else if(ackCmd[5]==2)
{
strMsg.Append("Glonass Only");
}
else if(ackCmd[5]==3)
{
strMsg.Append("Combined");
}
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryGnssKnumberSlotCnr(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryGnssKnumberSlotCnrCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryGnssKnumberSlotCnrCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryGnssKnumberSlotCnrCmd, &cmd, &ackCmd))
{
CString strMsg = "Query GLONASS K-Num, Slot, CNR Successful...";
add_msgtolist(strMsg);
for(int i=0; i<ackCmd[5]; ++i)
{
strMsg.Format("K-Num=%d, Slot=%d, CNR=%d", (int)(char)ackCmd[6+i*3], ackCmd[7+i*3], ackCmd[8+i*3]);
add_msgtolist(strMsg);
}
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QuerySbas(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QuerySbasCmd].cmdSize);
cmd.SetU08(1, cmdTable[QuerySbasCmd].cmdId);
cmd.SetU08(2, cmdTable[QuerySbasCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QuerySbasCmd, &cmd, &ackCmd))
{
CString strMsg = "Query SBAS Successful...";
add_msgtolist(strMsg);
strMsg.Format("SBAS system: %s", ((ackCmd[6]) ? "Enable" : "Disable"));
add_msgtolist(strMsg);
if(ackCmd[7]==0)
{
strMsg.Format("Ranging : %s", "Disable");
}
else if(ackCmd[7]==1)
{
strMsg.Format("Ranging : %s", "Enable");
}
else
{
strMsg.Format("Ranging : %s", "Auto");
}
add_msgtolist(strMsg);
strMsg.Format("Ranking URA Mask: %d", ackCmd[8]);
add_msgtolist(strMsg);
strMsg.Format("Correction: %s", ((ackCmd[9]) ? "Enable" : "Disable"));
add_msgtolist(strMsg);
strMsg.Format("Number of tracking channels: %d", ackCmd[10]);
add_msgtolist(strMsg);
strMsg.Format("All: %s", ((ackCmd[11] & 0x80) ? "Enable" : "Disable"));
add_msgtolist(strMsg);
if(!(ackCmd[11] & 0x80))
{
strMsg.Format("WAAS: %s", ((ackCmd[11] & 0x01) ? "Enable" : "Disable"));
add_msgtolist(strMsg);
strMsg.Format("EGNOS: %s", ((ackCmd[11] & 0x02) ? "Enable" : "Disable"));
add_msgtolist(strMsg);
strMsg.Format("MSAS: %s", ((ackCmd[11] & 0x04) ? "Enable" : "Disable"));
add_msgtolist(strMsg);
strMsg.Format("GAGAN: %s", ((ackCmd[11] & 0x08) ? "Enable" : "Disable"));
add_msgtolist(strMsg);
}
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QuerySagps(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QuerySagpsCmd].cmdSize);
cmd.SetU08(1, cmdTable[QuerySagpsCmd].cmdId);
cmd.SetU08(2, cmdTable[QuerySagpsCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QuerySagpsCmd, &cmd, &ackCmd))
{
if(nMode==Return)
{
*((U08*)outputData) = ackCmd[6];
return Ack;
}
CString strMsg = "Query SAEE Successful...";
add_msgtolist(strMsg);
strMsg = "SAEE System: ";
if(0==(ackCmd[6]))
{
strMsg += "Default";
}
else if(1==(ackCmd[6]))
{
strMsg += "Enable";
}
else if(2==(ackCmd[6]))
{
strMsg += "Disable";
}
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryQzss(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryQzssCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryQzssCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryQzssCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryQzssCmd, &cmd, &ackCmd))
{
CString strMsg = "Query QZSS Successful...";
add_msgtolist(strMsg);
strMsg.Format("QZSS System: %s", ((ackCmd[6]) ? "Enable" : "Disable"));
add_msgtolist(strMsg);
strMsg.Format("Number of Tracking Channels: %d", ackCmd[7]);
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryDgps(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryDgpsCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryDgpsCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryDgpsCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryDgpsCmd, &cmd, &ackCmd))
{
CString strMsg = "Query DGPS Successful...";
add_msgtolist(strMsg);
if(ackCmd[6] <= 1)
{
strMsg.Format("DGPS Status : %s", ((ackCmd[6]) ? "Enable" : "Disable"));
}
else
{
strMsg.Format("DGPS Status : %d", ackCmd[6]);
}
add_msgtolist(strMsg);
strMsg.Format("Overdue seconds : %d", MAKEWORD(ackCmd[8], ackCmd[7]));
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QuerySmoothMode(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QuerySmoothModeCmd].cmdSize);
cmd.SetU08(1, cmdTable[QuerySmoothModeCmd].cmdId);
cmd.SetU08(2, cmdTable[QuerySmoothModeCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QuerySmoothModeCmd, &cmd, &ackCmd))
{
CString strMsg = "Query carrier smooth mode successful...";
add_msgtolist(strMsg);
if(ackCmd[6] <= 1)
{
strMsg.Format("Mode : %s", ((ackCmd[6]) ? "Enable" : "Disable"));
}
else
{
strMsg.Format("Mode : %d", ackCmd[6]);
}
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryTimeStamping(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryTimeStampingCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryTimeStampingCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryTimeStampingCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryTimeStampingCmd, &cmd, &ackCmd))
{
CString strMsg = "Query time stamping successful...";
add_msgtolist(strMsg);
if(ackCmd[6] <= 1)
{
strMsg.Format("Time stamping %s", ((ackCmd[6]) ? "enable" : "disable"));
}
else
{
strMsg.Format("Mode : %d", ackCmd[6]);
}
add_msgtolist(strMsg);
if(ackCmd[7] <= 1)
{
strMsg.Format("Tigger Mode : %s", ((ackCmd[7]) ? "Falling Edge" : "Rising Edge"));
}
else
{
strMsg.Format("Tigger Mode : : %d", ackCmd[7]);
}
add_msgtolist(strMsg);
if(ackCmd[8] <= 1)
{
strMsg.Format("Time Valid : %s", ((ackCmd[8]) ? "Valid" : "Invalid"));
}
else
{
strMsg.Format("Time Valid : : %d", ackCmd[8]);
}
add_msgtolist(strMsg);
strMsg.Format("Tigger Counter : %d", MAKEWORD(ackCmd[10], ackCmd[9]));
add_msgtolist(strMsg);
strMsg.Format("Week Number : %d", MAKEWORD(ackCmd[12], ackCmd[11]));
add_msgtolist(strMsg);
strMsg.Format("Time of Week : %d", MAKELONG(MAKEWORD(ackCmd[16], ackCmd[15]), MAKEWORD(ackCmd[14], ackCmd[13])));
add_msgtolist(strMsg);
strMsg.Format("Sub Time of Week : %d", MAKELONG(MAKEWORD(ackCmd[20], ackCmd[19]), MAKEWORD(ackCmd[18], ackCmd[17])));
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryGpsTime(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryGpsTimeCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryGpsTimeCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryGpsTimeCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryGpsTimeCmd, &cmd, &ackCmd))
{
CString strMsg = "Query GPS time successful...";
add_msgtolist(strMsg);
strMsg.Format("Time of week %d", MAKELONG(MAKEWORD(ackCmd[9], ackCmd[8]), MAKEWORD(ackCmd[7], ackCmd[6])));
add_msgtolist(strMsg);
strMsg.Format("Sub time of week %d", MAKELONG(MAKEWORD(ackCmd[13], ackCmd[12]), MAKEWORD(ackCmd[11], ackCmd[10])));
add_msgtolist(strMsg);
strMsg.Format("Week number %d", MAKEWORD(ackCmd[15], ackCmd[14]));
add_msgtolist(strMsg);
strMsg.Format("Default leap seconds %d", ackCmd[16]);
add_msgtolist(strMsg);
strMsg.Format("Current leap seconds %d", ackCmd[17]);
add_msgtolist(strMsg);
strMsg.Format("Valid %d", ackCmd[18]);
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryNoisePowerControl(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryNoisePowerControlCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryNoisePowerControlCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryNoisePowerControlCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryNoisePowerControlCmd, &cmd, &ackCmd))
{
CString strMsg;
strMsg = "Query Noise Power Control Successful...";
add_msgtolist(strMsg);
strMsg.Format("Noise Power Control: %s", ((ackCmd[6]) ? "Dynamic" : "Static"));
add_msgtolist(strMsg);
WORD ackSize = MAKEWORD(ackCmd[3], ackCmd[2]);
if(ackSize == 8)
{
strMsg.Format("Default Noise Power Control: %d(%s)", ackCmd[7], (ackCmd[7]) ? "external" : "defalut");
add_msgtolist(strMsg);
U32 data = MAKELONG(MAKEWORD(ackCmd[11], ackCmd[10]), MAKEWORD(ackCmd[9], ackCmd[8]));
strMsg.Format("External Noise Power Value: %u", data);
add_msgtolist(strMsg);
};
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryInterferenceDetectControl(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryInterferenceDetectControlCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryInterferenceDetectControlCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryInterferenceDetectControlCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryInterferenceDetectControlCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Interference Detect Control Successful...";
add_msgtolist(strMsg);
strMsg.Format("Interference Control Detect: %s", ((ackCmd[6]) ? "Enable" : "Disable"));
add_msgtolist(strMsg);
strMsg.Format("Interference Status: ");
if(0==ackCmd[7])
{
strMsg.Append("Unknown");
}
else if(1==ackCmd[7])
{
strMsg.Append("No Interference");
}
else if(2==ackCmd[7])
{
strMsg.Append("Lite");
}
else
{
strMsg.Append("Critical");
}
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryNmeaBinaryOutputDestination(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryNmeaBinaryOutputDestinationCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryNmeaBinaryOutputDestinationCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryNmeaBinaryOutputDestinationCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryNmeaBinaryOutputDestinationCmd, &cmd, &ackCmd))
{
CString strMsg = "Query NMEA Binary Output Dest. Successful...";
add_msgtolist(strMsg);
if(ackCmd[7] & 0x0001)
{
add_msgtolist("UART Port");
}
if(ackCmd[7] & 0x0002)
{
add_msgtolist("SPI Slave Port");
}
if(ackCmd[7] & 0x0004)
{
add_msgtolist("I2C Slave Port");
}
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryParameterSearchEngineNumber(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryParameterSearchEngineNumberCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryParameterSearchEngineNumberCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryParameterSearchEngineNumberCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryParameterSearchEngineNumberCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Param. Search Engine Num. Successful...";
add_msgtolist(strMsg);
strMsg.Format("Search Engine Mode: ");
if(0==ackCmd[6])
{
strMsg.Append("Default");
}
else if(1==ackCmd[6])
{
strMsg.Append("Low");
}
else if(2==ackCmd[6])
{
strMsg.Append("Middle");
}
else if(3==ackCmd[6])
{
strMsg.Append("High");
}
else if(4==ackCmd[6])
{
strMsg.Append("Full");
}
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryGnssKnumberSlotCnr2(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryGnssKnumberSlotCnr2Cmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryGnssKnumberSlotCnr2Cmd].cmdId);
cmd.SetU08(2, cmdTable[QueryGnssKnumberSlotCnr2Cmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryGnssKnumberSlotCnr2Cmd, &cmd, &ackCmd))
{
CString strMsg = "Query GLONASS K-Num, Slot, CNR Successful...";
add_msgtolist(strMsg);
for(int i=0; i<ackCmd[6]; ++i)
{
strMsg.Format("K-Num=%d, Slot=%d, CNR=%d", (int)(char)ackCmd[7+i*3], ackCmd[8+i*3], ackCmd[9+i*3]);
add_msgtolist(strMsg);
}
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryAgpsStatus(CmdExeMode nMode, void* outputData)
{
SYSTEMTIME now;
GetSystemTime(&now);
BinaryCommand cmd(cmdTable[QueryAgpsStatusCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryAgpsStatusCmd].cmdId);
cmd.SetU08(2, HIBYTE(now.wYear));
cmd.SetU08(3, LOBYTE(now.wYear));
cmd.SetU08(4, (U08)now.wMonth);
cmd.SetU08(5, (U08)now.wDay);
cmd.SetU08(6, (U08)now.wHour);
cmd.SetU08(7, (U08)now.wMinute);
cmd.SetU08(8, (U08)now.wSecond);
BinaryData ackCmd;
CmdErrorCode ret = ExcuteBinaryCommand(QueryAgpsStatusCmd, &cmd, &ackCmd);
if(Return==nMode)
{
return ret;
}
if(!ret)
{
CString strMsg = "--------- AGPS Status ---------";
add_msgtolist(strMsg);
strMsg.Format("Aiding days: %d days %d hours", MAKEWORD(ackCmd[5], ackCmd[6]) / 24, MAKEWORD(ackCmd[5], ackCmd[6]) % 24);
add_msgtolist(strMsg);
strMsg.Format("AGPS: %s", (ackCmd[7]) ? "Enable" : "Disable");
add_msgtolist(strMsg);
}
return ret;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryGnssSelectionForNavigationSystem2(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryGnssSelectionForNavigationSystem2Cmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryGnssSelectionForNavigationSystem2Cmd].cmdId);
cmd.SetU08(2, cmdTable[QueryGnssSelectionForNavigationSystem2Cmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryGnssSelectionForNavigationSystem2Cmd, &cmd, &ackCmd))
{
CString strMsg = "Query Gnss Sel for Nav System Successful...";
add_msgtolist(strMsg);
strMsg = "GNSS Nav Sel: ";
if(ackCmd[6]==0)
{
strMsg.Append("None");
}
else if(ackCmd[6]==1)
{
strMsg.Append("GPS Only");
}
else if(ackCmd[6]==2)
{
strMsg.Append("Glonass Only");
}
else if(ackCmd[6]==3)
{
strMsg.Append("Both GPS and Glonass");
}
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryGnssNmeaTalkId(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryGnssNmeaTalkIdCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryGnssNmeaTalkIdCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryGnssNmeaTalkIdCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Gnss NMEA Talk ID Successful...";
add_msgtolist(strMsg);
strMsg = "NMEA Talk ID: ";
if(ackCmd[5]==0)
{
strMsg.Append("GP Mode");
}
else if(ackCmd[5]==1)
{
strMsg.Append("GN Mode");
}
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryDatalogLogStatus(CmdExeMode nMode, void* outputData)
{
SYSTEMTIME now;
GetSystemTime(&now);
BinaryCommand cmd(cmdTable[QueryDatalogLogStatusCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryDatalogLogStatusCmd].cmdId);
BinaryData ackCmd;
CmdErrorCode ret = ExcuteBinaryCommand(QueryDatalogLogStatusCmd, &cmd, &ackCmd);
if(Return==nMode)
{
return ret;
}
if(!ret)
{
LogFlashInfo1 logInfo = {0};
// memcpy(&logInfo.log_flash_current_prt, &ackCmd[5], sizeof(U32));
logInfo.log_flash_current_prt = MAKELONG(MAKEWORD(ackCmd[5], ackCmd[6]), MAKEWORD(ackCmd[7], ackCmd[8]));
// memcpy(&logInfo.sector_left, &ackCmd[9], sizeof(U16));
logInfo.sector_left = MAKEWORD(ackCmd[9], ackCmd[10]);
// memcpy(&logInfo.total_sector, &ackCmd[11], sizeof(U16));
logInfo.total_sector = MAKEWORD(ackCmd[11], ackCmd[12]);
// memcpy(&logInfo.max_time, &ackCmd[13], sizeof(U32));
logInfo.max_time = MAKELONG(MAKEWORD(ackCmd[13], ackCmd[14]), MAKEWORD(ackCmd[15], ackCmd[16]));
// memcpy(&logInfo.min_time, &ackCmd[17], sizeof(U32));
logInfo.min_time = MAKELONG(MAKEWORD(ackCmd[17], ackCmd[18]), MAKEWORD(ackCmd[19], ackCmd[20]));
// memcpy(&logInfo.max_distance, &ackCmd[21], sizeof(U32));
logInfo.max_distance = MAKELONG(MAKEWORD(ackCmd[21], ackCmd[22]), MAKEWORD(ackCmd[23], ackCmd[24]));
// memcpy(&logInfo.min_distance, &ackCmd[25], sizeof(U32));
logInfo.min_distance = MAKELONG(MAKEWORD(ackCmd[25], ackCmd[26]), MAKEWORD(ackCmd[27], ackCmd[28]));
// memcpy(&logInfo.max_speed, &ackCmd[29], sizeof(U32));
logInfo.max_speed = MAKELONG(MAKEWORD(ackCmd[29], ackCmd[30]), MAKEWORD(ackCmd[31], ackCmd[32]));
// memcpy(&logInfo.min_speed, &ackCmd[33], sizeof(U32));
logInfo.min_speed = MAKELONG(MAKEWORD(ackCmd[33], ackCmd[34]), MAKEWORD(ackCmd[35], ackCmd[36]));
// memcpy(&logInfo.datalog_enable, &ackCmd[37], sizeof(U08));
logInfo.datalog_enable = ackCmd[37];
// memcpy(&logInfo.fifo_mode, &ackCmd[38], sizeof(U08));
logInfo.fifo_mode = ackCmd[38];
#if DATA_POI
// memcpy(&logInfo.poi_entry, &ackCmd[39], sizeof(U32));
logInfo.poi_entry = MAKELONG(MAKEWORD(ackCmd[39], ackCmd[40]), MAKEWORD(ackCmd[41], ackCmd[42]));
// memcpy(&logInfo.autolog_full, &ackCmd[43], sizeof(U08));
logInfo.autolog_full = ackCmd[43];
// memcpy(&logInfo.poi_full, &ackCmd[44], sizeof(U08));
logInfo.poi_full = ackCmd[44];
#endif
add_msgtolist("Get Log Status Successful...");
add_msgtolist("--------- Log Status ---------");
CString strMsg;
if(logInfo.total_sector)
{
if(logInfo.sector_left == 0x0)
{
strMsg = "Sector Full!";
}
else if((logInfo.sector_left &0x80000000) != 0)
{
logInfo.sector_left = logInfo.sector_left << 1 >> 1;
strMsg.Format("Circular Sector left: %d / %d", logInfo.sector_left, logInfo.total_sector);
}
else if((logInfo.sector_left &0x80000000) == 0)
{
logInfo.sector_left = logInfo.sector_left << 1 >> 1;
strMsg.Format("Sector left: %d / %d", logInfo.sector_left, logInfo.total_sector);
}
}
else
{
if(logInfo.sector_left == 0x0)
{
strMsg = "Sector Full!";
}
else if((logInfo.sector_left &0x80000000) != 0)
{
logInfo.sector_left = logInfo.sector_left << 1 >> 1;
strMsg.Format("Circular Sector left: %d", logInfo.sector_left);
}
else if((logInfo.sector_left &0x80000000) == 0)
{
logInfo.sector_left = logInfo.sector_left << 1 >> 1;
strMsg.Format("Sector left: %d", logInfo.sector_left);
}
}
add_msgtolist(strMsg);
strMsg.Format("max T: %d, min T: %d", logInfo.max_time, logInfo.min_time);
add_msgtolist(strMsg);
strMsg.Format("max D: %d, min D: %d", logInfo.max_distance, logInfo.min_distance);
add_msgtolist(strMsg);
strMsg.Format("max V: %d, min V: %d", logInfo.max_speed, logInfo.min_speed);
add_msgtolist(strMsg);
strMsg.Format("Datalog: %s", (logInfo.datalog_enable) ? "Enable" : "Disable");
add_msgtolist(strMsg);
strMsg.Format("FIFO mode: %s", (logInfo.fifo_mode) ? "Circular" : "Oneway");
if(DATA_POI && TWIN_DATALOG)
{
strMsg.Format("POI entry Datalogger1 : %d", logInfo.poi_entry & 0xffff);
add_msgtolist(strMsg);
strMsg.Format("POI entry Datalogger2 : %d", logInfo.poi_entry >> 16);
add_msgtolist(strMsg);
strMsg.Format("Autolog full : %d", logInfo.autolog_full);
add_msgtolist(strMsg);
strMsg.Format("POIlog full : %d", logInfo.poi_full);
add_msgtolist(strMsg);
}
else if(DATA_POI && !TWIN_DATALOG)
{
strMsg.Format("POI entry Datalogger1 : %d", logInfo.poi_entry);
add_msgtolist(strMsg);
strMsg.Format("Autolog full : %d", logInfo.autolog_full);
add_msgtolist(strMsg);
strMsg.Format("POIlog full : %d", logInfo.poi_full);
add_msgtolist(strMsg);
}
}
return ret;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryRegister(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryRegisterCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryRegisterCmd].cmdId);
cmd.SetU08(2, HIBYTE(HIWORD(m_regAddress)));
cmd.SetU08(3, LOBYTE(HIWORD(m_regAddress)));
cmd.SetU08(4, HIBYTE(LOWORD(m_regAddress)));
cmd.SetU08(5, LOBYTE(LOWORD(m_regAddress)));
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryRegisterCmd, &cmd, &ackCmd))
{
U32 data = MAKELONG(MAKEWORD(ackCmd[8], ackCmd[7]), MAKEWORD(ackCmd[6], ackCmd[5]));
if(nMode==Return)
{
*((U32*)outputData) = data;
return Ack;
}
CString strMsg;
strMsg.Format("Get Register in 0x%08X", m_regAddress);
add_msgtolist(strMsg);
strMsg.Format("0x%08X (%d)", data, data);
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryPositionFixNavigationMask(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryPositionFixNavigationMaskCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryPositionFixNavigationMaskCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryPositionFixNavigationMaskCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryPositionFixNavigationMaskCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Position Fix Navigation Mask Successful...";
add_msgtolist(strMsg);
strMsg.Format("First fix navigation mask : %s", (ackCmd[6]) ? "2D" : "3D");
add_msgtolist(strMsg);
strMsg.Format("Subsequent fix navigation mask : %s", (ackCmd[7]) ? "2D" : "3D");
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryNavigationMode(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryNavigationModeCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryNavigationModeCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryNavigationModeCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Navigation Mode Successful";
add_msgtolist(strMsg);
switch(ackCmd[5])
{
case 0:
strMsg.SetString("Navigation Mode: Car");
break;
case 1:
strMsg.SetString("Navigation Mode: Pedestrain");
break;
case 2:
strMsg.SetString("Navigation Mode: Bike");
break;
case 3:
strMsg.SetString("Navigation Mode: Marine");
break;
case 4:
strMsg.SetString("Navigation Mode: Balloon");
break;
case 5:
strMsg.SetString("Navigation Mode: Portable");
break;
case 6:
strMsg.SetString("Navigation Mode: Airborne");
break;
default:
strMsg.Format("Navigation Mode : %d", ackCmd[5]);
break;
}
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryNavigationModeV8(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryNavigationModeV8Cmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryNavigationModeV8Cmd].cmdId);
cmd.SetU08(2, cmdTable[QueryNavigationModeV8Cmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryNavigationModeV8Cmd, &cmd, &ackCmd))
{
CString strMsg = "Query Navigation Mode Successful";
add_msgtolist(strMsg);
switch(ackCmd[6])
{
case 0:
strMsg.SetString("Navigation Mode: Auto");
break;
case 1:
strMsg.SetString("Navigation Mode: Pedestrain");
break;
case 2:
strMsg.SetString("Navigation Mode: Car");
break;
case 3:
strMsg.SetString("Navigation Mode: Marine");
break;
case 4:
strMsg.SetString("Navigation Mode: Balloon");
break;
case 5:
strMsg.SetString("Navigation Mode: Airborne");
break;
case 6:
strMsg.SetString("Navigation Mode: Surveying and mapping");
break;
default:
strMsg.Format("Navigation Mode: %d", ackCmd[6]);
break;
}
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryGnssBootStatus(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryGnssBootStatusCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryGnssBootStatusCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryGnssBootStatusCmd].cmdSubId);
if(NoWait==nMode)
{
ExcuteBinaryCommandNoWait(QueryGnssBootStatusCmd, &cmd);
return Timeout;
}
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryGnssBootStatusCmd, &cmd, &ackCmd))
{
m_bootInfo = ackCmd;
if(nMode == Return)
{
*((U32*)outputData) = MAKEWORD(ackCmd[6], ackCmd[7]);
return Ack;
}
CString strMsg = "Get GNSS ROM Boot Status Successful";
add_msgtolist(strMsg);
switch(ackCmd[6])
{
case 0:
strMsg.SetString("Status : Boot flash OK");
break;
case 1:
strMsg.SetString("Status : Fail over to boot from ROM");
break;
default:
strMsg.Format("Status : %d", ackCmd[6]);
break;
}
add_msgtolist(strMsg);
switch(ackCmd[7])
{
case 0:
strMsg.SetString("Flash Type : ROM");
break;
case 1:
strMsg.SetString("Flash Type : QSPI Flash Type 1"); //Winbond-type
break;
case 2:
strMsg.SetString("Flash Type : QSPI Flash Type 2"); // EON-type
break;
case 4:
strMsg.SetString("Flash Type : Parallel Flash");
break;
default:
strMsg.Format("Flash Type : %d", ackCmd[7]);
break;
}
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryDrMultiHz(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryDrMultiHzCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryDrMultiHzCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryDrMultiHzCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryDrMultiHzCmd, &cmd, &ackCmd))
{
CString strMsg = "Get DR Multi-Hz Successful";
strMsg.Format("DR Update Rate = %d Hz", ackCmd[6]);
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryNmeaIntervalV8(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryNmeaIntervalV8Cmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryNmeaIntervalV8Cmd].cmdId);
cmd.SetU08(2, cmdTable[QueryNmeaIntervalV8Cmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryNmeaIntervalV8Cmd, &cmd, &ackCmd))
{
CString strMsg = "Query NMEA Message Interval Successful";
add_msgtolist(strMsg);
if(ackCmd[6])
{
strMsg.Format("GGA Interval : %d second(s)", ackCmd[6]);
add_msgtolist(strMsg);
}
if(ackCmd[7])
{
strMsg.Format("GSA Interval : %d second(s)", ackCmd[7]);
add_msgtolist(strMsg);
}
if(ackCmd[8])
{
strMsg.Format("GSV Interval : %d second(s)", ackCmd[8]);
add_msgtolist(strMsg);
}
if(ackCmd[9])
{
strMsg.Format("GLL Interval : %d second(s)", ackCmd[9]);
add_msgtolist(strMsg);
}
if(ackCmd[10])
{
strMsg.Format("RMC Interval : %d second(s)", ackCmd[10]);
add_msgtolist(strMsg);
}
if(ackCmd[11])
{
strMsg.Format("VTG Interval : %d second(s)", ackCmd[11]);
add_msgtolist(strMsg);
}
if(ackCmd[12])
{
strMsg.Format("ZDA Interval : %d second(s)", ackCmd[12]);
add_msgtolist(strMsg);
}
if(ackCmd[13])
{
strMsg.Format("GNS Interval : %d second(s)", ackCmd[13]);
add_msgtolist(strMsg);
}
if(ackCmd[14])
{
strMsg.Format("GBS Interval : %d second(s)", ackCmd[14]);
add_msgtolist(strMsg);
}
if(ackCmd[15])
{
strMsg.Format("GRS Interval : %d second(s)", ackCmd[15]);
add_msgtolist(strMsg);
}
if(ackCmd[16])
{
strMsg.Format("DTM Interval : %d second(s)", ackCmd[16]);
add_msgtolist(strMsg);
}
if(ackCmd[17])
{
strMsg.Format("GST Interval : %d second(s)", ackCmd[17]);
add_msgtolist(strMsg);
}
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryNmeaInterval2V8(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryNmeaInterval2V8Cmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryNmeaInterval2V8Cmd].cmdId);
cmd.SetU08(2, cmdTable[QueryNmeaInterval2V8Cmd].cmdSubId);
cmd.SetU08(3, 0x02);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryNmeaInterval2V8Cmd, &cmd, &ackCmd))
{
CString strMsg = "Query NMEA Message Interval Successful";
add_msgtolist(strMsg);
if(ackCmd[7])
{
strMsg.Format("GGA Interval : %d second(s)", ackCmd[7]);
add_msgtolist(strMsg);
}
if(ackCmd[8])
{
strMsg.Format("GSA Interval : %d second(s)", ackCmd[8]);
add_msgtolist(strMsg);
}
if(ackCmd[9])
{
strMsg.Format("GSV Interval : %d second(s)", ackCmd[9]);
add_msgtolist(strMsg);
}
if(ackCmd[10])
{
strMsg.Format("GPtps Interval : %d second(s)", ackCmd[10]);
add_msgtolist(strMsg);
}
if(ackCmd[11])
{
strMsg.Format("GPanc Interval : %d second(s)", ackCmd[11]);
add_msgtolist(strMsg);
}
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryEricssonInterval(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryEricssonIntervalCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryEricssonIntervalCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryEricssonIntervalCmd].cmdSubId);
cmd.SetU08(3, 0x02);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryEricssonIntervalCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Ericsson Sentence Interval Successful";
add_msgtolist(strMsg);
if(ackCmd[7])
{
strMsg.Format("GPppr Interval : %d second(s)", ackCmd[7]);
add_msgtolist(strMsg);
}
if(ackCmd[8])
{
strMsg.Format("GPsts Interval : %d second(s)", ackCmd[8]);
add_msgtolist(strMsg);
}
if(ackCmd[9])
{
strMsg.Format("GPver Interval : %d second(s)", ackCmd[9]);
add_msgtolist(strMsg);
}
if(ackCmd[10])
{
strMsg.Format("GPavp Interval : %d second(s)", ackCmd[10]);
add_msgtolist(strMsg);
}
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QuerySerialNumber(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QuerySerialNumberCmd].cmdSize);
cmd.SetU08(1, cmdTable[QuerySerialNumberCmd].cmdId);
cmd.SetU08(2, cmdTable[QuerySerialNumberCmd].cmdSubId);
cmd.SetU08(3, 0x02);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QuerySerialNumberCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Serial Number Successful";
add_msgtolist(strMsg);
if(ackCmd[7] > 0) //Has Serial Number
{
strMsg.Format("Serial Number:");
add_msgtolist(strMsg);
char* p = strMsg.GetBuffer(ackCmd[7] + 1);
memcpy(p, ackCmd.GetBuffer(8), ackCmd[7]);
p[ackCmd[7]] = 0;
strMsg.ReleaseBuffer();
add_msgtolist(strMsg);
}
else //No Serial Number
{
strMsg.Format("No valid serial number.");
add_msgtolist(strMsg);
}
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryChannelDoppler(CmdExeMode nMode, void* outputData)
{
const int ChannelCount = GSA_MAX_SATELLITE;
CString strMsg("PRN, DOPPLER");
if(nMode==Display)
{
add_msgtolist(strMsg);
}
for(int i=0; i<ChannelCount; ++i)
{
BinaryCommand cmd(cmdTable[QueryChannelDopplerCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryChannelDopplerCmd].cmdId);
cmd.SetU08(2, (U08)i);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryChannelDopplerCmd, &cmd, &ackCmd))
{
U32 data = MAKELONG(MAKEWORD(ackCmd[8], ackCmd[7]), MAKEWORD(ackCmd[6], ackCmd[5]));
S16 prn = MAKEWORD(ackCmd[6], ackCmd[5]);
S16 doppler = MAKEWORD(ackCmd[8], ackCmd[7]);
if(nMode==Return)
{
int* ChannelTable = (int*)outputData;
ChannelTable[i] = prn;
}
else if(nMode==Display)
{
strMsg.Format(" %02d, %d", prn, doppler);
add_msgtolist(strMsg);
}
}
}
if(nMode==Return)
{
return Ack;
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryClockOffset(CmdExeMode nMode, void* outputData)
{
const int ChannelCount = GSA_MAX_SATELLITE;
CString strMsg("PRN, Clock Offset, ppm");
if(nMode==Display)
{
add_msgtolist(strMsg);
}
int* ChannelTable = (int*)outputData;
int totalCount = 0;
int totalOffset = 0;
for(int i=0; i<ChannelCount; ++i)
{
if(-1==ChannelTable[i])
{
continue;
}
BinaryCommand cmd(cmdTable[QueryChannelClockOffsetCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryChannelClockOffsetCmd].cmdId);
cmd.SetU08(6, HIBYTE(ChannelTable[i]));
cmd.SetU08(7, LOBYTE(ChannelTable[i]));
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryChannelClockOffsetCmd, &cmd, &ackCmd))
{
S32 data = MAKELONG(MAKEWORD(ackCmd[8], ackCmd[7]), MAKEWORD(ackCmd[6], ackCmd[5]));
strMsg.Format(" %3d, %5d, %2.6fppm", ChannelTable[i], data, data / (96.25 * 16.367667));
add_msgtolist(strMsg);
++totalCount;
totalOffset += data;
}
}
if(nMode==Display)
{
strMsg.Format("Avg : %5d, %2.6fppm", totalOffset / totalCount, (totalOffset / totalCount) / (96.25 * 16.367667));
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryRefTimeSyncToGpsTime(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryRefTimeSyncToGpsTimeCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryRefTimeSyncToGpsTimeCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryRefTimeSyncToGpsTimeCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryRefTimeSyncToGpsTimeCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Ref Time Sync To Gps Time Successful";
add_msgtolist(strMsg);
strMsg.Format("Enable : %d", ackCmd[6]);
add_msgtolist(strMsg);
strMsg.Format("Date : %d/%d/%d", MAKEWORD(ackCmd[8], ackCmd[7]), ackCmd[9], ackCmd[10]);
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QuerySearchEngineSleepCriteria(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QuerySearchEngineSleepCriteriaCmd].cmdSize);
cmd.SetU08(1, cmdTable[QuerySearchEngineSleepCriteriaCmd].cmdId);
cmd.SetU08(2, cmdTable[QuerySearchEngineSleepCriteriaCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QuerySearchEngineSleepCriteriaCmd, &cmd, &ackCmd))
{
CString strMsg = "QuerySearchEngineSleepCriteriaCmd Successful";
add_msgtolist(strMsg);
strMsg.Format("GPS Satellite Tracked Number : %d", ackCmd[6]);
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryDatumIndex(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryDatumIndexCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryDatumIndexCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryDatumIndexCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryDatumIndexCmd, &cmd, &ackCmd))
{
CString strMsg = "QueryDatumIndex Successful";
add_msgtolist(strMsg);
int datumIndex = MAKEWORD(ackCmd[7], ackCmd[6]);
strMsg.Format("Datum Index : %d", datumIndex);
add_msgtolist(strMsg);
if(datumIndex < DatumListSize)
{
strMsg = DatumList[datumIndex];
add_msgtolist(strMsg);
}
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QuerySignalDisturbanceStatus(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QuerySignalDisturbanceStatusCmd].cmdSize);
cmd.SetU08(1, cmdTable[QuerySignalDisturbanceStatusCmd].cmdId);
cmd.SetU08(2, cmdTable[QuerySignalDisturbanceStatusCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QuerySignalDisturbanceStatusCmd, &cmd, &ackCmd))
{
CString strMsg = "QuerySignalDisturbanceStatus Successful";
add_msgtolist(strMsg);
strMsg.Format("Operation Type : %d (%s)", ackCmd[6], (ackCmd[6]==0) ? "disable" : "Enable");
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QuerySignalDisturbanceData(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QuerySignalDisturbanceDataCmd].cmdSize);
cmd.SetU08(1, cmdTable[QuerySignalDisturbanceDataCmd].cmdId);
cmd.SetU08(2, cmdTable[QuerySignalDisturbanceDataCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QuerySignalDisturbanceDataCmd, &cmd, &ackCmd))
{
const int FieldLen = 7;
int chCnt = (MAKEWORD(ackCmd[3], ackCmd[2]) - 2) / FieldLen;
CString strMsg = "QuerySignalDisturbanceData Successful";
add_msgtolist(strMsg);
strMsg = "NO. GNSS_TYPE PRN CN0 Total Unreliable_Count";
add_msgtolist(strMsg);
for(int i = 0; i < chCnt; ++i)
{
int a = 6 + i * FieldLen;
const char* type = NULL;
switch(ackCmd[a])
{
case 0:
type = "NONE";
break;
case 1:
type = "GPS";
break;
case 2:
type = "SBAS";
break;
case 3:
type = "GLONASS";
break;
case 4:
type = "GALILEO";
break;
case 5:
type = "QZSS";
break;
case 6:
type = "BD2";
break;
default:
type = "Unknown";
break;
}
strMsg.Format("%3d %8s %3d %3d %6d %6d", i, type, ackCmd[a + 1], ackCmd[a + 2],
MAKEWORD(ackCmd[a + 4], ackCmd[a + 3]), MAKEWORD(ackCmd[a + 6], ackCmd[a + 5]));
add_msgtolist(strMsg);
}
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::ResetOdometer(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(1);
cmd.SetU08(1, 0x7F);
ClearQue();
SendToTarget(cmd.GetBuffer(), cmd.Size(), "Reset Odometer Successful");
return Timeout;
}
//GPSDO command
//bit 0 : Enter pass through mode
//bit 1 : Disable GPS ISR(must reset master when leave)
//bit 2 : Reset slave, master only
//bit 3 : Drive slave CPU clock(must reset slave), master only
//bit 4 : Boost baud rate to 460800
#define GPSDO_PASS_THROUGH (1 << 0)
#define GPSDO_DISABLE_GPS_ISR (1 << 1)
#define GPSDO_RESET_SLAVE (1 << 2)
#define GPSDO_DRIVE_SLAVE (1 << 3)
#define GPSDO_BOOST_BAUDRATE (1 << 4)
CGPSDlg::CmdErrorCode CGPSDlg::GpsdoResetSlave(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(4);
cmd.SetU08(1, 0x7A);
cmd.SetU08(2, 0x08);
cmd.SetU08(3, 0x01);
cmd.SetU08(4, GPSDO_RESET_SLAVE);
ClearQue();
SendToTarget(cmd.GetBuffer(), cmd.Size(), "Reset Slave MCU Successful");
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::GpsdoEnterRom(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(4);
cmd.SetU08(1, 0x7A);
cmd.SetU08(2, 0x08);
cmd.SetU08(3, 0x01);
cmd.SetU08(4, (GPSDO_PASS_THROUGH | GPSDO_DISABLE_GPS_ISR | GPSDO_DRIVE_SLAVE));
ClearQue();
SendToTarget(cmd.GetBuffer(), cmd.Size(), "Enter Slave ROM Download Successful");
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::GpsdoLeaveRom(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(4);
cmd.SetU08(1, 0x7A);
cmd.SetU08(2, 0x08);
cmd.SetU08(3, 0x01);
cmd.SetU08(4, GPSDO_DISABLE_GPS_ISR | GPSDO_DRIVE_SLAVE);
ClearQue();
SendToTarget(cmd.GetBuffer(), cmd.Size(), "Back To Normal Mode from ROM Download Successful");
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::GpsdoEnterDownload(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(4);
cmd.SetU08(1, 0x7A);
cmd.SetU08(2, 0x08);
cmd.SetU08(3, 0x01);
cmd.SetU08(4, GPSDO_PASS_THROUGH | GPSDO_DISABLE_GPS_ISR);
ClearQue();
bool r = SendToTarget(cmd.GetBuffer(), cmd.Size(), "Enter Slave Download Successful");
return (r) ? Ack : Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::GpsdoLeaveDownload(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(4);
cmd.SetU08(1, 0x7A);
cmd.SetU08(2, 0x08);
cmd.SetU08(3, 0x01);
cmd.SetU08(4, GPSDO_DISABLE_GPS_ISR);
ClearQue();
SendToTarget(cmd.GetBuffer(), cmd.Size(), "Back To Normal Mode from Slave Download Successful");
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::GpsdoEnterDownloadHigh(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(4);
cmd.SetU08(1, 0x7A);
cmd.SetU08(2, 0x08);
cmd.SetU08(3, 0x01);
cmd.SetU08(4, GPSDO_PASS_THROUGH | GPSDO_DISABLE_GPS_ISR | GPSDO_DRIVE_SLAVE | GPSDO_BOOST_BAUDRATE);
ClearQue();
bool r = SendToTarget(cmd.GetBuffer(), cmd.Size(), "Enter High-Speed Slave Download Successful", false);
CGPSDlg::gpsDlg->SetBaudrate(7); //460800 bps
PostMessage(UWM_GPSDO_HI_DOWNLOAD, 0, 0);
return (r) ? Ack : Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::GpsdoEnterUart(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(4);
cmd.SetU08(1, 0x7A);
cmd.SetU08(2, 0x08);
cmd.SetU08(3, 0x01);
cmd.SetU08(4, GPSDO_PASS_THROUGH);
ClearQue();
SendToTarget(cmd.GetBuffer(), cmd.Size(), "Enter Slave UART Pass Through Successful");
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::GpsdoLeaveUart(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(4);
cmd.SetU08(1, 0x7A);
cmd.SetU08(2, 0x08);
cmd.SetU08(3, 0x01);
cmd.SetU08(4, 0x00);
ClearQue();
SendToTarget(cmd.GetBuffer(), cmd.Size(), "Back To Normal Mode from UART Passthrough Successful");
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryUartPass(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryUartPassCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryUartPassCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryUartPassCmd].cmdSubId);
cmd.SetU08(3, 0x02);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryUartPassCmd, &cmd, &ackCmd))
{
if(nMode==Return && outputData)
{
*((BYTE*)outputData) = ackCmd[7];
return Ack;
}
CString strMsg = "Query UART pass-through Successful";
add_msgtolist(strMsg);
if(ackCmd[7] == 1)
{
strMsg.Format("UART pass-through : MASTER");
}
else if(ackCmd[7] == 0)
{
strMsg.Format("UART pass-through : SLAVE");
}
else
{
strMsg.Format("UART pass-through : %d", ackCmd[7]);
}
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryGnssNavSol(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryGnssNavSolCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryGnssNavSolCmd].cmdId);
cmd.SetU08(2, cmdTable[QueryGnssNavSolCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryGnssNavSolCmd, &cmd, &ackCmd))
{
CString strMsg = "Query GNSS constellation type Successful";
add_msgtolist(strMsg);
U16 mode = MAKEWORD(ackCmd[7], ackCmd[6]);
add_msgtolist("Navigation Solution : ");
CString strOutput;
if(mode & 0x0001)
{
strOutput += "GPS + ";
}
if(mode & 0x0002)
{
strOutput += "GLONASS + ";
}
if(mode & 0x0004)
{
strOutput += "Galileo + ";
}
if(mode & 0x0008)
{
strOutput += "Beidou + ";
}
if(mode==0)
{
add_msgtolist("None");
}
else
{
strOutput = strOutput.Left(strOutput.GetLength() - 2);
add_msgtolist(strOutput);
}
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryCustomerID(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryCustomerIDCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryCustomerIDCmd].cmdId);
BinaryData ackCmd;
if(Return==nMode && outputData)
{
if(!ExcuteBinaryCommand(QueryCustomerIDCmd, &cmd, &ackCmd, 300, true))
{
*((U32*)outputData) = MAKELONG(MAKEWORD(ackCmd[8], ackCmd[7]),MAKEWORD(ackCmd[6], ackCmd[5]));
}
return Timeout;
}
if(!ExcuteBinaryCommand(QueryCustomerIDCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Customer ID Successful...";
add_msgtolist(strMsg);
strMsg.Format("Customer ID : 0X%08X",
MAKELONG(MAKEWORD(ackCmd[8], ackCmd[7]),MAKEWORD(ackCmd[6], ackCmd[5])));
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::Query1ppsFreqencyOutput(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[Query1ppsFreqencyOutputCmd].cmdSize);
cmd.SetU08(1, cmdTable[Query1ppsFreqencyOutputCmd].cmdId);
cmd.SetU08(2, cmdTable[Query1ppsFreqencyOutputCmd].cmdSubId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(Query1ppsFreqencyOutputCmd, &cmd, &ackCmd))
{
CString strMsg = "Query 1PPS Freqency Output Successful...";
add_msgtolist(strMsg);
strMsg.Format("Freqency : %d",
MAKELONG(MAKEWORD(ackCmd[9], ackCmd[8]),MAKEWORD(ackCmd[7], ackCmd[6])));
add_msgtolist(strMsg);
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryBinaryMeasurementDataOut(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryBinaryMeasurementDataOutCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryBinaryMeasurementDataOutCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryBinaryMeasurementDataOutCmd, &cmd, &ackCmd))
{
CString strMsg = "Query Binary Measurement Data Out Successful...";
add_msgtolist(strMsg);
if(ackCmd[5]==0)
{
strMsg.Format("Output Rate : 1Hz");
}
else if(ackCmd[5]==1)
{
strMsg.Format("Output Rate : 2Hz");
}
else if(ackCmd[5]==2)
{
strMsg.Format("Output Rate : 4Hz");
}
else if(ackCmd[5]==3)
{
strMsg.Format("Output Rate : 5Hz");
}
else if(ackCmd[5]==4)
{
strMsg.Format("Output Rate : 10Hz");
}
else
{
strMsg.Format("Output Rate : 20Hz");
}
add_msgtolist(strMsg);
strMsg.Format("Meas Time : %s", (ackCmd[6]) ? "Enable" : "Disable");
add_msgtolist(strMsg);
strMsg.Format("Raw Meas : %s", (ackCmd[7]) ? "Enable" : "Disable");
add_msgtolist(strMsg);
strMsg.Format("SV CH Status : %s", (ackCmd[8]) ? "Enable" : "Disable");
add_msgtolist(strMsg);
strMsg.Format("RCV State : %s", (ackCmd[9]) ? "Enable" : "Disable");
add_msgtolist(strMsg);
CString strOutput;
if(ackCmd[10] & 0x01)
{
strOutput += "GPS + ";
}
if(ackCmd[10] & 0x02)
{
strOutput += "GLONASS + ";
}
if(ackCmd[10] & 0x04)
{
strOutput += "Galileo + ";
}
if(ackCmd[10] & 0x08)
{
strOutput += "Beidou + ";
}
if(ackCmd[10]==0)
{
add_msgtolist("None");
}
else
{
add_msgtolist("Subframe for different constellation :");
strOutput = strOutput.Left(strOutput.GetLength() - 2);
add_msgtolist(strOutput);
}
}
return Timeout;
}
CGPSDlg::CmdErrorCode CGPSDlg::QueryCableDelay(CmdExeMode nMode, void* outputData)
{
BinaryCommand cmd(cmdTable[QueryCableDelayCmd].cmdSize);
cmd.SetU08(1, cmdTable[QueryCableDelayCmd].cmdId);
BinaryData ackCmd;
if(!ExcuteBinaryCommand(QueryCableDelayCmd, &cmd, &ackCmd))
{
CString strMsg;
strMsg = "Query 1PPS Cable Delay Successful...";
add_msgtolist(strMsg);
U32 data = ackCmd[5]<<24 | ackCmd[6]<<16 | ackCmd[7]<<8 | ackCmd[8];
strMsg.Format("Cable delay: %0.2fns", data / 100.0);
add_msgtolist(strMsg);
}
return Timeout;
}
UINT SetFacMsgThread(LPVOID pParam)
{
CGPSDlg::gpsDlg->ExecuteConfigureCommand(CGPSDlg::m_inputMsg, 9, "Configure Successful...");
return 0;
}
void CGPSDlg::SetFactoryDefault(bool isReboot)
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
memset(m_inputMsg, 0, 9);
m_inputMsg[0]=(U08)0xa0;
m_inputMsg[1]=(U08)0xa1;
m_inputMsg[2]=0;
m_inputMsg[3]=2;
m_inputMsg[4]=4; //msgid
if(isReboot)
{
m_inputMsg[5]=1;
m_inputMsg[6]=5; //checksum right
}
else
{
m_inputMsg[5]=0;
m_inputMsg[6]=4; //checksum right
}
m_inputMsg[7]=(U08)0x0d;
m_inputMsg[8]=(U08)0x0a;
slgsv = 6;
AfxBeginThread(SetFacMsgThread, 0);
}
void CGPSDlg::OnSetFactoryDefaultNoReboot()
{
SetFactoryDefault(false);
}
void CGPSDlg::OnSetFactoryDefaultReboot()
{
SetFactoryDefault(true);
}
void CGPSDlg::OnConfigureoutputmessagetypeNooutput()
{
if(!CheckConnect())return;
m_inputMode = 0;
memset(m_inputMsg, 0, 9);
m_inputMsg[0]=(U08)0xa0;
m_inputMsg[1]=(U08)0xa1;
m_inputMsg[2]=0;
m_inputMsg[3]=2;
m_inputMsg[4]=9; //msgid
m_inputMsg[5]=0;
m_inputMsg[6]=9; //checksum right
m_inputMsg[7]=(U08)0x0d;
m_inputMsg[8]=(U08)0x0a;
SetMsgType(Nooutput_Mode);
m_no_output.EnableWindow(0);
m_nmea0183msg.EnableWindow(1);
m_binarymsg.EnableWindow(1);
AfxBeginThread(SetFacMsgThread,0);
//InvalidateRect(CRect(30,64,320,114),TRUE);
}
void CGPSDlg::OnConfigureoutputmessagetypeNmeamessage()
{
if(!CheckConnect())return;
m_inputMode = 0;
memset(m_inputMsg, 0, 9);
m_inputMsg[0]=(U08)0xa0;
m_inputMsg[1]=(U08)0xa1;
m_inputMsg[2]=0;
m_inputMsg[3]=2;
m_inputMsg[4]=9; //msgid
m_inputMsg[5]=1;
m_inputMsg[6]=8; //checksum right
m_inputMsg[7]=(U08)0x0d;
m_inputMsg[8]=(U08)0x0a;
SetMsgType(NMEA_Mode);
m_no_output.EnableWindow(1);
m_nmea0183msg.EnableWindow(0);
m_binarymsg.EnableWindow(1);
AfxBeginThread(SetFacMsgThread,0);
}
void CGPSDlg::OnConfigureoutputmessagetypeBinarymessage()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
memset(m_inputMsg, 0, 9);
m_inputMsg[0]=(U08)0xa0;
m_inputMsg[1]=(U08)0xa1;
m_inputMsg[2]=0;
m_inputMsg[3]=2;
m_inputMsg[4]=9; //msgid
m_inputMsg[5]=2;
m_inputMsg[6]=11; //checksum right
m_inputMsg[7]=(U08)0x0d;
m_inputMsg[8]=(U08)0x0a;
SetMsgType(Binary_Mode);
m_no_output.EnableWindow(1);
m_nmea0183msg.EnableWindow(1);
m_binarymsg.EnableWindow(0);
AfxBeginThread(SetFacMsgThread,0);
}
void CGPSDlg::OnBinaryConfigurenmeaoutput()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
CConNMEADlg dlg;
if(dlg.DoModal() != IDOK)
{
SetMode();
CreateGPSThread();
}
}
void CGPSDlg::OnConfigureNmeaIntervalV8()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
CConfigNmeaIntervalDlg dlg;
if(dlg.DoModal() != IDOK)
{
SetMode();
CreateGPSThread();
}
}
void CGPSDlg::OnConfigureEricssonSentecneInterval()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
ConfigEricssonIntervalDlg dlg;
if(dlg.DoModal() != IDOK)
{
SetMode();
CreateGPSThread();
}
}
void CGPSDlg::OnConfigureSerialNumber()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
ConfigSerialNumberDlg dlg;
if(dlg.DoModal() != IDOK)
{
SetMode();
CreateGPSThread();
}
}
void CGPSDlg::OnBinaryConfiguredatum()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
CConDauDlg dlg;
if(dlg.DoModal() != IDOK)
{
SetMode();
CreateGPSThread();
}
}
void CGPSDlg::OnBinaryConfiguredopmask()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
CConDOPDlg dlg;
if(dlg.DoModal() != IDOK)
{
SetMode();
CreateGPSThread();
}
}
void CGPSDlg::OnBinaryConfigureelevationmask()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
CConEleDlg dlg;
if(dlg.DoModal() != IDOK)
{
SetMode();
CreateGPSThread();
}
}
void CGPSDlg::OnBinaryConfigurebinarydata()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
CConBinOutDlg dlg;
if(dlg.DoModal() != IDOK)
{
SetMode();
CreateGPSThread();
}
}
void CGPSDlg::OnConfigureSerialPort()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
CConSrePorDlg dlg;
if(dlg.DoModal() != IDOK)
{
SetMode();
CreateGPSThread();
}
}
void CGPSDlg::GetGpsAlmanac(CString m_almanac_filename,U08 sv,U08 continues)
{
int wait = 0;
U08 msg[2];
char BINMSG[1024] = {0};
msg[0] = 0x50;
msg[1] = sv;
int res_len;
int len = SetMessage(msg,sizeof(msg));
FILE *f;
//WaitEvent();
ClearQue();
if(SendToTarget(m_inputMsg,len,"Get Almance start...") == 1)
{
if(WRL == NULL)
{
WRL = new CWaitReadLog;
}
AfxBeginThread(WaitLogRead,0);
WaitForSingleObject(waitlog,INFINITE);
WRL->SetWindowText("Wait for get almanac");
WRL->msg.SetWindowText("Please wait for get almanac!");
U08 NumsOfEphemeris = 0;
fopen_s(&f, m_almanac_filename, "wb+");
fclose(f);
while(1)
{
wait++;
if(wait == 50)
{
Sleep(500);
WRL->msg.SetWindowText("Retrieve almanac data is Failed!");
Sleep(500);
WRL->IsFinish = true;
add_msgtolist("Retrieve almanac Failed...");
//goto TheLast;
}
U08 buff[1024] = {0};
res_len = m_serial->GetBinary(buff, sizeof(buff));
if(res_len==0x3b)
{
fopen_s(&f, m_almanac_filename, "ab");
fwrite(&buff[5], 1, res_len - 8, f);
fclose(f);
}
else
{
break;
}
NumsOfEphemeris = buff[7];
// }
sprintf_s(BINMSG,"Retrieve Satellite ID # %d almanac",NumsOfEphemeris);
WRL->msg.SetWindowText(BINMSG);
if(NumsOfEphemeris==32)break;
//}
}
Sleep(500);
WRL->msg.SetWindowText("Retrieve almanac data is completed!");
Sleep(500);
WRL->IsFinish = true;
add_msgtolist("Retrieve almanac Successful...");
}
if(!continues)
{
SetMode();
CreateGPSThread();
}
}
UINT GetGpsAlmanacThread(LPVOID param)
{
CGPSDlg::gpsDlg->GetGpsAlmanac(m_almanac_filename,m_almanac_no,FALSE);
return 0;
}
void CGPSDlg::OnGetGpsAlmanac()
{
CGetAlmanac frm;
if(CheckConnect())
{
if(frm.DoModal()==IDOK)
{
m_almanac_filename = frm.fileName;
m_almanac_no = frm.sv;
::AfxBeginThread(GetGpsAlmanacThread, 0);
}else
{
SetMode();
CreateGPSThread();
}
}
}
UINT SetGpsAlmanacThread(LPVOID pParam)
{
CGPSDlg::gpsDlg->SetGpsAlmanac(FALSE);
return 0;
}
void CGPSDlg::SetGpsAlmanac(U08 continues)
{
U16 SVID;
U08 messages[100];
U08 msg[100];
BYTE buffer[0x1000];
ULONGLONG dwBytesRemaining = m_ephmsFile.GetLength();
if(dwBytesRemaining == 0)
{
m_ephmsFile.Close();
if(!continues)
{
SetMode();
CreateGPSThread();
}
return;
}
m_ephmsFile.Read(buffer,1);
int one_entry_size = buffer[0] + 3; //Size 1 byte, satellite id 2 bytes.
if(dwBytesRemaining == 32 * one_entry_size)
{
m_ephmsFile.SeekToBegin();
while(1)
{
UINT nBytesRead = m_ephmsFile.Read(buffer,one_entry_size);
if(nBytesRead<=0)
break;
memset(msg, 0, sizeof(msg));
memset(messages, 0, sizeof(messages));
msg[0] = 0x51;
memcpy(&msg[1],&buffer[1],one_entry_size-1);
SVID = buffer[1]<<8 | buffer[2];
if(buffer[0] == 0)
{
TRACE("SVID=%d,continue\r\n",SVID);
continue;
}
if(continues)
{
msg[one_entry_size] = 0;
}
else
{
if(SVID == 32)
msg[one_entry_size] = 1;
else
msg[one_entry_size] = 0;
}
int len = SetMessage2(messages, msg, one_entry_size + 1);
sprintf_s(m_nmeaBuffer, "Set SV#%d Almanac Successful...",SVID);
if(!SendToTargetNoWait(messages, len,m_nmeaBuffer))
{
sprintf_s(m_nmeaBuffer, "Set SV#%d Almanac Fail...",SVID);
add_msgtolist(m_nmeaBuffer);
}
}
}
else
{
AfxMessageBox("The Almanac data Format of the file is wrong");
}
m_ephmsFile.Close();
if(!continues)
{
SetMode();
CreateGPSThread();
}
}
void CGPSDlg::OnSetGpsAlmanac()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
CString fileName("GPS_Almanac.log");
CFileDialog dlgFile(true, _T("log"), fileName, OFN_HIDEREADONLY, _T("Almanac Files (*.log)|*.log||"), this);
INT_PTR nResult = dlgFile.DoModal();
fileName = dlgFile.GetPathName();
CFileException ef;
try
{
if(nResult == IDOK)
{
if(!m_ephmsFile.Open(fileName, CFile::modeRead, &ef))
{
ef.ReportError();
SetMode();
CreateGPSThread();
return;
}
AfxBeginThread(SetGpsAlmanacThread, 0);
}
else
{
SetMode();
CreateGPSThread();
}
}
catch(CFileException *fe)
{
fe->ReportError();
fe->Delete();
return;
}
fileName.ReleaseBuffer();
}
void CGPSDlg::GetGlonassAlmanac(CString m_almanac_filename,U08 sv,U08 continues)
{
int wait = 0;
U08 msg[2];
char BINMSG[1024] = {0};
msg[0] = 0x5D;
msg[1] = sv;
int res_len;
int len = SetMessage(msg,sizeof(msg));
FILE *f = NULL;
ClearQue();
if(SendToTarget(m_inputMsg,len,"Get Glonass Almance start...") == 1)
{
if(WRL == NULL)
{
WRL = new CWaitReadLog;
}
AfxBeginThread(WaitLogRead,0);
WaitForSingleObject(waitlog,INFINITE);
WRL->SetWindowText("Wait for get Glonass almanac");
WRL->msg.SetWindowText("Please wait for get Glonass almanac!");
U08 NumsOfEphemeris = 0;
fopen_s(&f, m_almanac_filename, "wb+");
fclose(f);
while(1)
{
wait++;
if(wait == 50){
Sleep(500);
WRL->msg.SetWindowText("Retrieve Glonass almanac data is Failed!");
Sleep(500);
WRL->IsFinish = true;
add_msgtolist("Retrieve Glonass almanac Failed...");
//goto TheLast;
}
U08 buff[1024] = {0};
res_len = m_serial->GetBinary(buff, sizeof(buff));
if(res_len==32)
{
fopen_s(&f, m_almanac_filename, "ab");
//fwrite(&buff[5],1,res_len-7,f);
fwrite(&buff[5],1,res_len-8,f);
fclose(f);
}
else
{
break;
}
NumsOfEphemeris = buff[5];
TRACE("NumsOfEphemeris=%d\r\n",NumsOfEphemeris);
sprintf_s(BINMSG, sizeof(BINMSG), "Retrieve Glonass Satellite ID # %d almanac", NumsOfEphemeris);
WRL->msg.SetWindowText(BINMSG);
if(NumsOfEphemeris==24)break;
}
Sleep(500);
WRL->msg.SetWindowText("Retrieve Glonass almanac data is completed!");
Sleep(500);
WRL->IsFinish = true;
add_msgtolist("Retrieve Glonass almanac Successful...");
}
if(!continues)
{
SetMode();
CreateGPSThread();
}
}
UINT GetGlonassAlmanacThread(LPVOID param)
{
CGPSDlg::gpsDlg->GetGlonassAlmanac(m_almanac_filename,m_almanac_no,FALSE);
return 0;
}
void CGPSDlg::OnGetGlonassAlmanac()
{
CGetAlmanac frm;
if(CheckConnect())
{
frm.isGlonass = 1;
if(frm.DoModal()==IDOK)
{
m_almanac_filename = frm.fileName;
m_almanac_no = frm.sv;
::AfxBeginThread(GetGlonassAlmanacThread, 0);
}
else
{
SetMode();
CreateGPSThread();
}
}
}
UINT SetGlonassAlmanacThread(LPVOID pParam)
{
CGPSDlg::gpsDlg->SetGlonassAlmanac(FALSE);
return 0;
}
void CGPSDlg::SetGlonassAlmanac(U08 continues)
{
U16 SVID;
U08 messages[100];
U08 msg[100];
BYTE buffer[0x1000];
ULONGLONG dwBytesRemaining = m_ephmsFile.GetLength();
if(dwBytesRemaining == 0)
{
m_ephmsFile.Close();
if(!continues)
{
SetMode();
CreateGPSThread();
}
return;
}
m_ephmsFile.Read(buffer,1);
int one_entry_size = 24;
if(dwBytesRemaining == 24 * one_entry_size)
{
m_ephmsFile.SeekToBegin();
while(1)
{
UINT nBytesRead = m_ephmsFile.Read(buffer,one_entry_size);
//TRACE("nBytesRead=%d\r\n",nBytesRead);
if(nBytesRead<=0)
break;
memset(msg, 0, sizeof(msg));
memset(messages, 0, sizeof(messages));
msg[0] = 0x5E;
memcpy(&msg[1],buffer,one_entry_size);
SVID = buffer[0];
if(buffer[0] == 0)
{
TRACE("SVID=%d,continue\r\n",SVID);
continue;
}
if(continues)
{
msg[one_entry_size + 1] = 0;
}
else
{
msg[one_entry_size + 1] = (SVID == 24) ? 1 : 0;
}
int len = SetMessage2(messages, msg, one_entry_size + 2);
sprintf_s(m_nmeaBuffer, sizeof(m_nmeaBuffer), "Set SV#%d Glonass Almanac Successful...",SVID);
if(!SendToTargetNoWait(messages, len,m_nmeaBuffer))
{
sprintf_s(m_nmeaBuffer, sizeof(m_nmeaBuffer), "Set SV#%d Glonass Almanac Fail...",SVID);
add_msgtolist(m_nmeaBuffer);
}
//Sleep(10);
}
}
else
{
AfxMessageBox("The Glonass Almanac data Format of the file is wrong");
}
m_ephmsFile.Close();
if(!continues)
{
SetMode();
CreateGPSThread();
}
}
void CGPSDlg::OnSetGlonassAlmanac()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
CString fileName("Glonass_Almanac.log");
CFileDialog dlgFile(true, _T("log"), fileName, OFN_HIDEREADONLY, _T("Almanac Files (*.log)|*.log||"), this);
INT_PTR nResult = dlgFile.DoModal();
fileName = dlgFile.GetPathName();
CFileException ef;
try
{
if(nResult == IDOK)
{
if(!m_ephmsFile.Open(fileName,CFile::modeRead,&ef))
{
ef.ReportError();
SetMode();
CreateGPSThread();
return;
}
AfxBeginThread(SetGlonassAlmanacThread,0);
}
else
{
SetMode();
CreateGPSThread();
}
}
catch(CFileException *fe)
{
fe->ReportError();
fe->Delete();
return;
}
fileName.ReleaseBuffer();
}
void CGPSDlg::GetBeidouAlmanac(CString m_almanac_filename, U08 sv, U08 continues)
{
int wait = 0;
U08 msg[3];
char BINMSG[1024] = {0};
msg[0] = 0x67;
msg[1] = 0x04;
msg[2] = sv;
int res_len;
int len = SetMessage(msg, sizeof(msg));
FILE *f = NULL;
ClearQue();
if(SendToTarget(m_inputMsg, len, "Get Beidou Almance start...") == 1)
{
if(WRL == NULL)
{
WRL = new CWaitReadLog;
}
AfxBeginThread(WaitLogRead,0);
WaitForSingleObject(waitlog,INFINITE);
WRL->SetWindowText("Wait for get Beidou almanac");
WRL->msg.SetWindowText("Please wait for get Beidou almanac!");
U08 NumsOfEphemeris = 0;
fopen_s(&f, m_almanac_filename, "wb+");
fclose(f);
while(1)
{
wait++;
if(wait == 50)
{
Sleep(500);
WRL->msg.SetWindowText("Retrieve Beidou almanac data is Failed!");
Sleep(500);
WRL->IsFinish = true;
add_msgtolist("Retrieve Beidou almanac Failed...");
}
U08 buff[1024] = {0};
res_len = m_serial->GetBinary(buff, sizeof(buff));
if(res_len==60)
{
fopen_s(&f, m_almanac_filename, "ab");
fwrite(&buff[6],1,res_len-9,f);
fclose(f);
}
else
{
break;
}
NumsOfEphemeris = buff[8];
sprintf_s(BINMSG, sizeof(BINMSG), "Retrieve Beidou Satellite ID # %d almanac", NumsOfEphemeris);
WRL->msg.SetWindowText(BINMSG);
if(NumsOfEphemeris==37)
break;
}
Sleep(500);
WRL->msg.SetWindowText("Retrieve Beidou almanac data is completed!");
Sleep(500);
WRL->IsFinish = true;
add_msgtolist("Retrieve Beidou almanac Successful...");
}
if(!continues)
{
SetMode();
CreateGPSThread();
}
}
UINT GetBeidouAlmanacThread(LPVOID param)
{
CGPSDlg::gpsDlg->GetBeidouAlmanac(m_almanac_filename, m_almanac_no, FALSE);
return 0;
}
void CGPSDlg::OnGetBeidouAlmanac()
{
CGetAlmanac frm;
if(CheckConnect())
{
frm.isGlonass = 2;
if(frm.DoModal()==IDOK)
{
m_almanac_filename = frm.fileName;
m_almanac_no = frm.sv;
::AfxBeginThread(GetBeidouAlmanacThread, 0);
}
else
{
SetMode();
CreateGPSThread();
}
}
}
UINT SetBeidouAlmanacThread(LPVOID pParam)
{
CGPSDlg::gpsDlg->SetBeidouAlmanac(FALSE);
return 0;
}
void CGPSDlg::SetBeidouAlmanac(U08 continues)
{
BYTE buffer[1000];
ULONGLONG dwBytesRemaining = m_ephmsFile.GetLength();
if(dwBytesRemaining == 0)
{
m_ephmsFile.Close();
if(!continues)
{
SetMode();
CreateGPSThread();
}
return;
}
m_ephmsFile.Read(buffer, 1);
int one_entry_size = 51;
if(dwBytesRemaining == 37 * one_entry_size)
{
m_ephmsFile.SeekToBegin();
while(1)
{
UINT nBytesRead = m_ephmsFile.Read(buffer, one_entry_size);
if(nBytesRead <= 0)
{
break;
}
U08 msg[53] = { 0 }; //id, sub-id, svid-h, svid-l, 48 bytes almanac, attributes
U08 messages[100] = { 0 };
msg[0] = 0x67;
msg[1] = 0x03;
memcpy(&msg[2], buffer + 1, one_entry_size - 1);
U16 SVID = buffer[2];
if(SVID == 0)
{
continue;
}
if(continues)
{
msg[one_entry_size] = 0;
}
else
{
msg[one_entry_size] = (SVID == 37) ? 1 : 0;
}
int len = SetMessage2(messages, msg, sizeof(msg));
sprintf_s(m_nmeaBuffer, sizeof(m_nmeaBuffer), "Set SV#%d Beidou Almanac Successful...", SVID);
if(!SendToTargetNoWait(messages, len, m_nmeaBuffer))
{
sprintf_s(m_nmeaBuffer, sizeof(m_nmeaBuffer), "Set SV#%d Beidou Almanac Fail...", SVID);
add_msgtolist(m_nmeaBuffer);
}
}
}
else
{
AfxMessageBox("The Beidou Almanac data Format of the file is wrong");
//return;
}
m_ephmsFile.Close();
if(!continues)
{
SetMode();
CreateGPSThread();
}
}
void CGPSDlg::OnSetBeidouAlmanac()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
CString fileName("Beidou_Almanac.log");
CFileDialog dlgFile(true, _T("log"), fileName, OFN_HIDEREADONLY, _T("Almanac Files (*.log)|*.log||"), this);
INT_PTR nResult = dlgFile.DoModal();
fileName = dlgFile.GetPathName();
CFileException ef;
try
{
if(nResult == IDOK)
{
if(!m_ephmsFile.Open(fileName,CFile::modeRead,&ef))
{
ef.ReportError();
SetMode();
CreateGPSThread();
return;
}
AfxBeginThread(SetBeidouAlmanacThread,0);
}
else
{
SetMode();
CreateGPSThread();
}
}
catch(CFileException *fe)
{
fe->ReportError();
fe->Delete();
return;
}
fileName.ReleaseBuffer();
}
UINT AFX_CDECL ConfigGnssDozeModeThread(LPVOID param)
{
CGPSDlg::gpsDlg->ExecuteConfigureCommand(CGPSDlg::gpsDlg->m_inputMsg, 9, "ConfigGnssDozeMode Successful");
return 0;
}
void CGPSDlg::OnConfigGnssDozeMode()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
{
U08 msg[2] = {0};
msg[0] = 0x64;
msg[1] = 0x1C;
int len = SetMessage(msg, sizeof(msg));
AfxBeginThread(ConfigGnssDozeModeThread, 0);
}
}
#include "GpsdoDownload.h"
UINT DownloadThread(LPVOID pParam);
void CGPSDlg::OnGpsdoFirmwareDownload()
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
CGpsdoDownload dlg;
if(IDOK != dlg.DoModal())
{
SetMode();
CreateGPSThread();
return;
}
m_nDownloadBaudIdx = 7;
m_nDownloadBufferIdx = 0;
m_DownloadMode = GpsdoMasterSlave;
m_strDownloadImage = dlg.m_strMasterPath;
m_strDownloadImage2 = dlg.m_strSlavePath;
::AfxBeginThread(DownloadThread, 0);
}
void CGPSDlg::DoCommonConfig(CCommonConfigDlg* dlg)
{
if(!CheckConnect())
{
return;
}
m_inputMode = 0;
INT_PTR nResult = dlg->DoModal();
if(nResult == IDOK)
{
dlg->DoCommand();
}
else
{
SetMode();
CreateGPSThread();
}
}
void CGPSDlg::OnBinaryConfigureQZSS()
{
CConfigQZSS dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnBinaryConfigureDGPS()
{
CConfigDGPS dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnBinaryConfigureSmoothMode()
{
CConfigSmoothMode dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnBinaryConfigTimeStamping()
{
CConfigTimeStamping dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnConfigLeapSeconds()
{
CConfigLeapSeconds dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnConfigParamSearchEngineSleepCriteria()
{
CConfigParamSearchEngineSleepCRiteria dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnConfigDatumIndex()
{
CConfigDatumIndex dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnBinaryConfigureSBAS()
{
CConfigSBAS dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnBinaryConfigureSAGPS()
{
CConfigSAEE dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnConfigureInterferenceDetectControl()
{
CConfigInterferenceDetectControl dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnConfigNMEABinaryOutputDestination()
{
CConfigNMEABinaryOutputDestination dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnConfigParameterSearchEngineNumber()
{
CConfigParameterSearchEngineNumber dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnConfigPositionFixNavigationMask()
{
CConfigPositionFixNavigationMask dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnConfigRefTimeSyncToGpsTime()
{
ConfigRefTimeToGpsTimeDlg dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnConfigQueryGnssNavSol()
{
ConfigGnssConstellationTypeDlg dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnConfigBinaryMeasurementDataOut()
{
ConfigBinaryMeasurementDataOutDlg dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnBinaryConfigurepowermode()
{
CConfigPowerMode dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnSup800EraseData()
{
CSUP800EraseUserDataDlg dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnSup800WriteData()
{
CSUP800WriteUserDataDlg dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnSup800ReadData()
{
CSUP800ReadUserDataDlg dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnConfigureSignalDisturbanceStatus()
{
CConfigureSignalDisturbanceStatusDlg dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnConfigureGpsUtcLeapSecondsInUtc()
{
CConfigureGpsUtcLeapSecondsInUtcDlg dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnConfigureNoisePowerControl()
{
CConfigNoisePowerControlDlg dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnConfigPowerSavingParametersRom()
{
ConfigPowerSavingParametersRomDlg dlg;
dlg.SetRomMode(true);
DoCommonConfig(&dlg);
}
void CGPSDlg::OnConfigPowerSavingParameters()
{
ConfigPowerSavingParametersRomDlg dlg;
DoCommonConfig(&dlg);
}
void CGPSDlg::OnIqPlot()
{
CIqPlot dlg;
DoCommonConfig(&dlg);
}
| [
"alex.lin@skytraq.com.tw"
] | alex.lin@skytraq.com.tw |
8797021f4e6a36da623c505adc2e3278e594058f | 3a9bc382365f27aa7404060770e2da160bd695f9 | /beaker/decl.hpp | fe407641c990677380c2749f46dddcecdcfcde7b | [
"Apache-2.0"
] | permissive | asutton/beaker-old | 59e901c9b009cbc4a6d2a51af192c5004c58d5d0 | e701754cbdb84a26a443983b5777c9aa50c04a7b | refs/heads/master | 2020-04-15T07:07:46.683633 | 2015-09-16T16:48:11 | 2015-09-16T16:48:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,821 | hpp | // Copyright (c) 2015 Andrew Sutton
// All rights reserved
#ifndef BEAKER_DECL_HPP
#define BEAKER_DECL_HPP
// The declaration module defines the declarations
// in the language and tools for working with them.
#include "beaker/prelude.hpp"
#include "lingo/node.hpp"
namespace beaker
{
struct Decl_visitor;
// The Decl class is the base class of all declarations
// in the language. A declaration binds a symbol (identifier)
// to its type, value, definition, etc.
//
// Every declaration has a name and type.
//
// Each declaration explicitly contains a source location,
// which represennts the lexical point at which the declaration
// begins. Note that most declaratins are specifically
// introduced by a keyword (e.g., `var`, or `def`).
struct Decl
{
Decl(Location l, String const* n, Type const* t)
: loc_(l), name_(n), type_(t)
{ }
virtual ~Decl() { }
// Accept a declaration visitor.
virtual void accept(Decl_visitor&) const = 0;
Location location() const { return loc_; }
String const* name() const { return name_; }
Type const* type() const { return type_; }
Location loc_; // The token that begins the declaration
String const* name_; // The bound identifier
Type const* type_; // The bound type
};
// The declaration visitor.
struct Decl_visitor
{
virtual void visit(Variable_decl const*) { }
virtual void visit(Function_decl const*) { }
virtual void visit(Parameter_decl const*) { }
};
// A variable declration introduces a named binding for a
// value. Once bound, the name cannot be rebound.
struct Variable_decl : Decl
{
Variable_decl(Location loc, String const* n, Type const* t, Expr const* e)
: Decl(loc, n, t), first(e)
{ }
void accept(Decl_visitor& v) const { return v.visit(this); }
Expr const* initializer() const { return first; }
void initialize(Expr const* e) { first = e; }
Expr const* first; // Initializer
};
// A function declaration defines a mapping from a sequence
// of inputs to an output. The parameters of a function
// determine the types of inputs. The body of a function is
// a statement that computes the result.
struct Function_decl : Decl
{
Function_decl(Location, String const*, Type const*, Decl_seq const&, Stmt const*);
void accept(Decl_visitor& v) const { return v.visit(this); }
Decl_seq const& parameters() const { return first; }
Stmt const* body() const { return second; }
Function_type const* type() const;
Type const* return_type() const;
void define(Stmt const* s) { second = s; }
Decl_seq first; // Parameters
Stmt const* second; // Body
};
// A parameter declaration.
struct Parameter_decl : Decl
{
Parameter_decl(Location loc, String const* n, Type const* t)
: Decl(loc, n, t)
{ }
void accept(Decl_visitor& v) const { return v.visit(this); }
};
// -------------------------------------------------------------------------- //
// Declaration builders
Variable_decl* make_variable_decl(Location, String const*, Type const*, Expr const*);
Variable_decl* make_variable_decl(Location, String const*, Type const*);
Function_decl* make_function_decl(Location, String const*, Decl_seq const&, Type const*, Stmt const*);
Function_decl* make_function_decl(Location, String const*, Decl_seq const&, Type const*);
Parameter_decl* make_parameter_decl(Location, String const*, Type const*);
// Make a new variable declaration.
inline Variable_decl*
make_variable_decl(String const* n, Type const* t, Expr const* e)
{
return make_variable_decl(Location::none, n, t, e);
}
// Make a function declaration.
inline Function_decl*
make_function_decl(String const* n, Decl_seq const& p, Type const* r, Stmt const* b)
{
return make_function_decl(Location::none, n, p, r, b);
}
// Make a parameter declaration.
inline Parameter_decl*
make_parameter_decl(String const* n, Type const* t)
{
return make_parameter_decl(Location::none, n, t);
}
// -------------------------------------------------------------------------- //
// Generic visitor
// A parameterized visitor that dispatches to a function object.
template<typename F, typename T>
struct Generic_decl_visitor : Decl_visitor, Generic_visitor<F, T>
{
Generic_decl_visitor(F f)
: Generic_visitor<F, T>(f)
{ }
void visit(Variable_decl const* d) { return this->invoke(d); }
void visit(Function_decl const* d) { return this->invoke(d); }
void visit(Parameter_decl const* d) { return this->invoke(d); }
};
// Apply the function f to the statement s.
template<typename F, typename T = typename std::result_of<F(Variable_decl*)>::type>
inline T
apply(Decl const* s, F fn)
{
Generic_decl_visitor<F, T> v(fn);
return accept(s, v);
}
} // namespace beaker
#endif
| [
"andrew.n.sutton@gmail.com"
] | andrew.n.sutton@gmail.com |
19049768decc24de06d040a8cf6da67cc8f951f1 | f63a0d3ab28f80e7688f50991a3e5528a703cf50 | /src/StatusRequestHandler.cpp | 8d5e5b99bdb5d64d20d9b41cd2e5060588b8e727 | [
"MIT"
] | permissive | md-w/httpserver | b984a412fe5a679fe4f0ad9b5157c7e936608f0f | 41645e5632f17dd931ee3ba4f1947e78ae9f3172 | refs/heads/main | 2023-07-19T05:35:20.234939 | 2021-09-13T19:18:13 | 2021-09-13T19:18:13 | 402,065,828 | 0 | 0 | MIT | 2021-09-01T19:19:59 | 2021-09-01T13:12:15 | null | UTF-8 | C++ | false | false | 1,398 | cpp | #include "StatusRequestHandler.h"
#include <Poco/File.h>
#include <Poco/FileStream.h>
#include <Poco/Path.h>
#include <Poco/StreamCopier.h>
#include <Poco/URI.h>
#include <iostream>
#include "CentralDataRepo.h"
StatusRequestHandler::StatusRequestHandler() {}
void StatusRequestHandler::handleRequest(Poco::Net::HTTPServerRequest &request,
Poco::Net::HTTPServerResponse &response) {
std::streamsize bytesWritten = 0;
// response.setChunkedTransferEncoding(true);
response.setContentType("application/json");
std::string origin = "*";
try {
origin = request.get("Origin");
} catch (const std::exception &e) {}
response.add("Access-Control-Allow-Origin", origin);
response.add("Access-Control-Allow-Credentials", "true");
response.add("Access-Control-Allow-Methods", "GET,POST,OPTIONS");
response.add("Access-Control-Allow-Headers",
"Accept,Authorization, "
"Keep-Alive,X-CustomHeader,Origin,DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,"
"Content-Type,Range");
response.add("Access-Control-Expose-Headers", "Content-Length,Content-Range");
// response.setContentLength(fileSize);
std::ostream &ostr = response.send();
*(CentralDataRepo::getInstance()) >> ostr;
if (ostr.good()) {
ostr.flush();
}
}
StatusRequestHandler::~StatusRequestHandler() {}
| [
"mailme.souravbatabyal@gmail.com"
] | mailme.souravbatabyal@gmail.com |
1f91ca962f128b85eeaf52367974fd57d4fa7018 | d25d2517328b84f498beca8e6500e47d427aeca7 | /mock-test/jump.cpp | 8ddbe60c54849466df6b4397cf958528683d3bd3 | [] | no_license | Pigrabbit/coding-test | 572a2eb7515b312fbdb6761158e019b09c00e786 | 09b12c4604e2cf1c08284f886512380d7e48f680 | refs/heads/master | 2022-06-08T10:52:29.484965 | 2020-05-07T14:07:55 | 2020-05-07T14:07:55 | 235,729,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,281 | cpp | // 징검다리는 일렬로 놓여 있고 각 징검다리의 디딤돌에는 모두 숫자가 적혀 있으며
// 디딤돌의 숫자는 한 번 밟을 때마다 1씩 줄어듭니다.
// 디딤돌의 숫자가 0이 되면 더 이상 밟을 수 없으며
// 이때는 그 다음 디딤돌로 한번에 여러 칸을 건너 뛸 수 있습니다.
// 단, 다음으로 밟을 수 있는 디딤돌이 여러 개인 경우
// 무조건 가장 가까운 디딤돌로만 건너뛸 수 있습니다.
// i번째 디딤돌에 도달하는 경우의 수
// i-1번째를 디디고 한 칸 이동하는 경우
// i-2번째를 디디고 i-1번째가 0일 때 두 칸 이동하는 경우
// i-3번째를 디디고 i-2, i-1번째가 0일 때 세 칸 이동하는 경우
// ...
// i-k번째를 디디고 i-k+1, ..., i-1번째가 0일 때 k 칸 이동하는 경우
// Brute-force로 풀기
// while(true) 로 반복문 돌리기
// 더 이상 못건너는 상태면 count 반환하고 loop 탈출
// 징검다리 앞에서부터 simulation
// i번째 돌위에 있다면 i+1 부터 i+range까지 건널 수 있는 돌이 있는지 확인
// 있으면 건너고 위치 update
// 끝에 도달하면 count++;
// 끝에 도달하지 못하면 loop 탈출
#include <string>
#include <vector>
#include <limits.h>
#include <iostream>
#define CATCH_CONFIG_MAIN
#include "../lib/catch.hpp"
using namespace std;
int solution(vector<int> stones, int k) {
int answer = 0;
int numStones = stones.size();
while (true)
{
int pos = 0;
while (pos <= numStones) {
bool canMove = false;
for (int i = pos + 1; i <= min(pos + k, numStones - 1 - k); i++) {
if (stones[i] == 0) continue;
stones[i]--;
pos = i;
cout << "current pos: " << pos << "\n";
canMove = true;
break;
}
if(!canMove) break;
}
if (pos < numStones - 1 - k) break;
answer++;
continue;
}
return answer;
}
TEST_CASE("solution") {
SECTION("example 1") {
vector<int> stones = {2, 4, 5, 3, 2, 1, 4, 2, 5, 1};
int k = 3;
REQUIRE(solution(stones, k) == 3);
}
}
| [
"donghyuk1003@gmail.com"
] | donghyuk1003@gmail.com |
d6324cbddcce04b28f0c72f637a7c8de8dc7e9f4 | 4e6339c09f71df1cca042cf14737d550396a41e4 | /src/mac/carbon/combobox.cpp | 74d35afd6b9ba2aa51c79156d9ec7f378c1a481e | [] | no_license | OpenCMISS-Dependencies/wxWidgets | 46c31dee3c1bba0da4e62c3fcd9d183c414fd500 | 5b6e51f6c06de81c6aa269c289e4a0081b0f13bb | refs/heads/3.1.0 | 2021-01-01T06:22:13.109785 | 2017-05-26T04:14:56 | 2017-05-26T04:14:56 | 3,723,243 | 0 | 3 | null | 2019-07-09T00:07:39 | 2012-03-14T22:59:32 | C++ | UTF-8 | C++ | false | false | 16,635 | cpp | /////////////////////////////////////////////////////////////////////////////
// Name: src/mac/carbon/combobox.cpp
// Purpose: wxComboBox class
// Author: Stefan Csomor, Dan "Bud" Keith (composite combobox)
// Modified by:
// Created: 1998-01-01
// RCS-ID: $Id: combobox.cpp 58883 2009-02-13 16:06:13Z SC $
// Copyright: (c) Stefan Csomor
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
#if wxUSE_COMBOBOX
#include "wx/combobox.h"
#ifndef WX_PRECOMP
#include "wx/button.h"
#include "wx/menu.h"
#include "wx/containr.h"
#include "wx/toplevel.h"
#endif
#include "wx/mac/uma.h"
IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
WX_DELEGATE_TO_CONTROL_CONTAINER(wxComboBox, wxControl)
BEGIN_EVENT_TABLE(wxComboBox, wxControl)
WX_EVENT_TABLE_CONTROL_CONTAINER(wxComboBox)
END_EVENT_TABLE()
static int nextPopUpMenuId = 1000 ;
MenuHandle NewUniqueMenu()
{
MenuHandle handle = UMANewMenu(nextPopUpMenuId, wxString(wxT("Menu")), wxFont::GetDefaultEncoding() );
nextPopUpMenuId++ ;
return handle ;
}
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------
// the margin between the text control and the choice
#if TARGET_API_MAC_OSX
// margin should be bigger on OS X due to blue highlight
// around text control.
static const wxCoord MARGIN = 4;
// this is the border a focus rect on OSX is needing
static const int TEXTFOCUSBORDER = 3 ;
#else
static const wxCoord MARGIN = 2;
static const int TEXTFOCUSBORDER = 0 ;
#endif
// ----------------------------------------------------------------------------
// wxComboBoxText: text control forwards events to combobox
// ----------------------------------------------------------------------------
class wxComboBoxText : public wxTextCtrl
{
public:
wxComboBoxText( wxComboBox * cb )
: wxTextCtrl( cb , 1 )
{
m_cb = cb;
SetTriggerOnSetValue( false );
}
protected:
void OnChar( wxKeyEvent& event )
{
// Allows processing the tab key to go to the next control
if (event.GetKeyCode() == WXK_TAB)
{
wxNavigationKeyEvent NavEvent;
NavEvent.SetEventObject(this);
NavEvent.SetDirection(true);
NavEvent.SetWindowChange(false);
// Get the parent of the combo and have it process the navigation?
if (m_cb->GetParent()->GetEventHandler()->ProcessEvent(NavEvent))
return;
}
// send the event to the combobox class in case the user has bound EVT_CHAR
wxKeyEvent kevt(event);
kevt.SetEventObject(m_cb);
if (m_cb->GetEventHandler()->ProcessEvent(kevt))
// If the event was handled and not skipped then we're done
return;
if ( event.GetKeyCode() == WXK_RETURN )
{
wxCommandEvent event(wxEVT_COMMAND_TEXT_ENTER, m_cb->GetId());
event.SetString( GetValue() );
event.SetInt( m_cb->GetSelection() );
event.SetEventObject( m_cb );
// This will invoke the dialog default action,
// such as the clicking the default button.
if (!m_cb->GetEventHandler()->ProcessEvent( event ))
{
wxTopLevelWindow *tlw = wxDynamicCast(wxGetTopLevelParent(this), wxTopLevelWindow);
if ( tlw && tlw->GetDefaultItem() )
{
wxButton *def = wxDynamicCast(tlw->GetDefaultItem(), wxButton);
if ( def && def->IsEnabled() )
{
wxCommandEvent event( wxEVT_COMMAND_BUTTON_CLICKED, def->GetId() );
event.SetEventObject(def);
def->Command(event);
}
}
return;
}
}
event.Skip();
}
void OnKeyUp( wxKeyEvent& event )
{
event.SetEventObject(m_cb);
event.SetId(m_cb->GetId());
if (! m_cb->GetEventHandler()->ProcessEvent(event))
event.Skip();
}
void OnKeyDown( wxKeyEvent& event )
{
event.SetEventObject(m_cb);
event.SetId(m_cb->GetId());
if (! m_cb->GetEventHandler()->ProcessEvent(event))
event.Skip();
}
void OnText( wxCommandEvent& event )
{
event.SetEventObject(m_cb);
event.SetId(m_cb->GetId());
if (! m_cb->GetEventHandler()->ProcessEvent(event))
event.Skip();
}
void OnFocus( wxFocusEvent& event )
{
// in case the textcontrol gets the focus we propagate
// it to the parent's handlers.
wxFocusEvent evt2(event.GetEventType(),m_cb->GetId());
evt2.SetEventObject(m_cb);
m_cb->GetEventHandler()->ProcessEvent(evt2);
event.Skip();
}
private:
wxComboBox *m_cb;
DECLARE_EVENT_TABLE()
};
BEGIN_EVENT_TABLE(wxComboBoxText, wxTextCtrl)
EVT_KEY_DOWN(wxComboBoxText::OnKeyDown)
EVT_CHAR(wxComboBoxText::OnChar)
EVT_KEY_UP(wxComboBoxText::OnKeyUp)
EVT_SET_FOCUS(wxComboBoxText::OnFocus)
EVT_KILL_FOCUS(wxComboBoxText::OnFocus)
EVT_TEXT(wxID_ANY, wxComboBoxText::OnText)
END_EVENT_TABLE()
class wxComboBoxChoice : public wxChoice
{
public:
wxComboBoxChoice( wxComboBox *cb, int style )
: wxChoice( cb , 1 , wxDefaultPosition , wxDefaultSize , 0 , NULL , style & (wxCB_SORT) )
{
m_cb = cb;
}
int GetPopupWidth() const
{
switch ( GetWindowVariant() )
{
case wxWINDOW_VARIANT_NORMAL :
case wxWINDOW_VARIANT_LARGE :
return 24 ;
default :
return 21 ;
}
}
protected:
void OnChoice( wxCommandEvent& e )
{
wxString s = e.GetString();
m_cb->DelegateChoice( s );
wxCommandEvent event2(wxEVT_COMMAND_COMBOBOX_SELECTED, m_cb->GetId() );
event2.SetInt(m_cb->GetSelection());
event2.SetEventObject(m_cb);
event2.SetString(m_cb->GetStringSelection());
m_cb->ProcessCommand(event2);
// For consistency with MSW and GTK, also send a text updated event
// After all, the text is updated when a selection is made
wxCommandEvent TextEvent( wxEVT_COMMAND_TEXT_UPDATED, m_cb->GetId() );
TextEvent.SetString( m_cb->GetStringSelection() );
TextEvent.SetEventObject( m_cb );
m_cb->ProcessCommand( TextEvent );
}
virtual wxSize DoGetBestSize() const
{
wxSize sz = wxChoice::DoGetBestSize() ;
if (! m_cb->HasFlag(wxCB_READONLY) )
sz.x = GetPopupWidth() ;
return sz ;
}
private:
wxComboBox *m_cb;
friend class wxComboBox;
DECLARE_EVENT_TABLE()
};
BEGIN_EVENT_TABLE(wxComboBoxChoice, wxChoice)
EVT_CHOICE(wxID_ANY, wxComboBoxChoice::OnChoice)
END_EVENT_TABLE()
wxComboBox::~wxComboBox()
{
// delete client objects
FreeData();
// delete the controls now, don't leave them alive even though they would
// still be eventually deleted by our parent - but it will be too late, the
// user code expects them to be gone now
if (m_text != NULL)
{
delete m_text;
m_text = NULL;
}
if (m_choice != NULL)
{
delete m_choice;
m_choice = NULL;
}
}
// ----------------------------------------------------------------------------
// geometry
// ----------------------------------------------------------------------------
wxSize wxComboBox::DoGetBestSize() const
{
if (!m_choice && !m_text)
return GetSize();
wxSize size = m_choice->GetBestSize();
if ( m_text != NULL )
{
wxSize sizeText = m_text->GetBestSize();
if (sizeText.y > size.y)
size.y = sizeText.y;
size.x = m_choice->GetPopupWidth() + sizeText.x + MARGIN;
size.x += TEXTFOCUSBORDER ;
size.y += 2 * TEXTFOCUSBORDER ;
}
else
{
// clipping is too tight
size.y += 1 ;
}
return size;
}
void wxComboBox::DoMoveWindow(int x, int y, int width, int height)
{
wxControl::DoMoveWindow( x, y, width , height );
if ( m_text == NULL )
{
// we might not be fully constructed yet, therefore watch out...
if ( m_choice )
m_choice->SetSize(0, 0 , width, -1);
}
else
{
wxCoord wText = width - m_choice->GetPopupWidth() - MARGIN;
m_text->SetSize(TEXTFOCUSBORDER, TEXTFOCUSBORDER, wText, -1);
// put it at an inset of 1 to have outer area shadows drawn as well
m_choice->SetSize(TEXTFOCUSBORDER + wText + MARGIN - 1 , TEXTFOCUSBORDER, m_choice->GetPopupWidth() , -1);
}
}
// ----------------------------------------------------------------------------
// operations forwarded to the subcontrols
// ----------------------------------------------------------------------------
bool wxComboBox::Enable(bool enable)
{
if ( !wxControl::Enable(enable) )
return false;
if (m_text)
m_text->Enable(enable);
return true;
}
bool wxComboBox::Show(bool show)
{
if ( !wxControl::Show(show) )
return false;
return true;
}
void wxComboBox::DelegateTextChanged( const wxString& value )
{
SetStringSelection( value );
}
void wxComboBox::DelegateChoice( const wxString& value )
{
SetStringSelection( value );
}
void wxComboBox::Init()
{
m_container.SetContainerWindow(this);
}
bool wxComboBox::Create(wxWindow *parent,
wxWindowID id,
const wxString& value,
const wxPoint& pos,
const wxSize& size,
const wxArrayString& choices,
long style,
const wxValidator& validator,
const wxString& name)
{
wxCArrayString chs( choices );
return Create( parent, id, value, pos, size, chs.GetCount(),
chs.GetStrings(), style, validator, name );
}
bool wxComboBox::Create(wxWindow *parent,
wxWindowID id,
const wxString& value,
const wxPoint& pos,
const wxSize& size,
int n,
const wxString choices[],
long style,
const wxValidator& validator,
const wxString& name)
{
if ( !wxControl::Create(parent, id, wxDefaultPosition, wxDefaultSize, style ,
validator, name) )
{
return false;
}
wxSize csize = size;
if ( style & wxCB_READONLY )
{
m_text = NULL;
}
else
{
m_text = new wxComboBoxText(this);
if ( size.y == -1 )
{
csize.y = m_text->GetSize().y ;
csize.y += 2 * TEXTFOCUSBORDER ;
}
}
m_choice = new wxComboBoxChoice(this, style );
DoSetSize(pos.x, pos.y, csize.x, csize.y);
for ( int i = 0 ; i < n ; i++ )
{
m_choice->DoAppend( choices[ i ] );
}
// Needed because it is a wxControlWithItems
SetInitialSize(size);
SetStringSelection(value);
return true;
}
wxString wxComboBox::GetValue() const
{
wxString result;
if ( m_text == NULL )
result = m_choice->GetString( m_choice->GetSelection() );
else
result = m_text->GetValue();
return result;
}
unsigned int wxComboBox::GetCount() const
{
return m_choice->GetCount() ;
}
void wxComboBox::SetValue(const wxString& value)
{
if ( HasFlag(wxCB_READONLY) )
SetStringSelection( value ) ;
else
m_text->SetValue( value );
}
// Clipboard operations
void wxComboBox::Copy()
{
if ( m_text != NULL )
m_text->Copy();
}
void wxComboBox::Cut()
{
if ( m_text != NULL )
m_text->Cut();
}
void wxComboBox::Paste()
{
if ( m_text != NULL )
m_text->Paste();
}
void wxComboBox::SetEditable(bool editable)
{
if ( ( m_text == NULL ) && editable )
{
m_text = new wxComboBoxText( this );
}
else if ( ( m_text != NULL ) && !editable )
{
delete m_text;
m_text = NULL;
}
int currentX, currentY;
GetPosition( ¤tX, ¤tY );
int currentW, currentH;
GetSize( ¤tW, ¤tH );
DoMoveWindow( currentX, currentY, currentW, currentH );
}
void wxComboBox::SetInsertionPoint(long pos)
{
if ( m_text )
m_text->SetInsertionPoint(pos);
}
void wxComboBox::SetInsertionPointEnd()
{
if ( m_text )
m_text->SetInsertionPointEnd();
}
long wxComboBox::GetInsertionPoint() const
{
if ( m_text )
return m_text->GetInsertionPoint();
return 0;
}
wxTextPos wxComboBox::GetLastPosition() const
{
if ( m_text )
return m_text->GetLastPosition();
return 0;
}
void wxComboBox::Replace(long from, long to, const wxString& value)
{
if ( m_text )
m_text->Replace(from,to,value);
}
void wxComboBox::Remove(long from, long to)
{
if ( m_text )
m_text->Remove(from,to);
}
void wxComboBox::SetSelection(long from, long to)
{
if ( m_text )
m_text->SetSelection(from,to);
}
void wxComboBox::GetSelection(long *from, long* to) const
{
if ( m_text )
m_text->GetSelection(from,to);
}
int wxComboBox::DoAppend(const wxString& item)
{
return m_choice->DoAppend( item ) ;
}
int wxComboBox::DoInsert(const wxString& item, unsigned int pos)
{
return m_choice->DoInsert( item , pos ) ;
}
void wxComboBox::DoSetItemClientData(unsigned int n, void* clientData)
{
return m_choice->DoSetItemClientData( n , clientData ) ;
}
void* wxComboBox::DoGetItemClientData(unsigned int n) const
{
return m_choice->DoGetItemClientData( n ) ;
}
void wxComboBox::DoSetItemClientObject(unsigned int n, wxClientData* clientData)
{
return m_choice->DoSetItemClientObject(n, clientData);
}
wxClientData* wxComboBox::DoGetItemClientObject(unsigned int n) const
{
return m_choice->DoGetItemClientObject( n ) ;
}
void wxComboBox::FreeData()
{
if ( HasClientObjectData() )
{
unsigned int count = GetCount();
for ( unsigned int n = 0; n < count; n++ )
{
SetClientObject( n, NULL );
}
}
}
void wxComboBox::Delete(unsigned int n)
{
// force client object deletion
if( HasClientObjectData() )
SetClientObject( n, NULL );
m_choice->Delete( n );
}
void wxComboBox::Clear()
{
FreeData();
m_choice->Clear();
}
int wxComboBox::GetSelection() const
{
return m_choice->GetSelection();
}
void wxComboBox::SetSelection(int n)
{
m_choice->SetSelection( n );
if ( m_text != NULL )
m_text->SetValue(n != wxNOT_FOUND ? GetString(n) : wxString(wxEmptyString));
}
int wxComboBox::FindString(const wxString& s, bool bCase) const
{
return m_choice->FindString( s, bCase );
}
wxString wxComboBox::GetString(unsigned int n) const
{
return m_choice->GetString( n );
}
wxString wxComboBox::GetStringSelection() const
{
int sel = GetSelection();
if (sel != wxNOT_FOUND)
return wxString(this->GetString((unsigned int)sel));
else
return wxEmptyString;
}
void wxComboBox::SetString(unsigned int n, const wxString& s)
{
m_choice->SetString( n , s );
}
bool wxComboBox::IsEditable() const
{
return m_text != NULL && !HasFlag(wxCB_READONLY);
}
void wxComboBox::Undo()
{
if (m_text != NULL)
m_text->Undo();
}
void wxComboBox::Redo()
{
if (m_text != NULL)
m_text->Redo();
}
void wxComboBox::SelectAll()
{
if (m_text != NULL)
m_text->SelectAll();
}
bool wxComboBox::CanCopy() const
{
if (m_text != NULL)
return m_text->CanCopy();
else
return false;
}
bool wxComboBox::CanCut() const
{
if (m_text != NULL)
return m_text->CanCut();
else
return false;
}
bool wxComboBox::CanPaste() const
{
if (m_text != NULL)
return m_text->CanPaste();
else
return false;
}
bool wxComboBox::CanUndo() const
{
if (m_text != NULL)
return m_text->CanUndo();
else
return false;
}
bool wxComboBox::CanRedo() const
{
if (m_text != NULL)
return m_text->CanRedo();
else
return false;
}
wxInt32 wxComboBox::MacControlHit( WXEVENTHANDLERREF WXUNUSED(handler) , WXEVENTREF WXUNUSED(event) )
{
/*
For consistency with other platforms, clicking in the text area does not constitute a selection
wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_SELECTED, m_windowId );
event.SetInt(GetSelection());
event.SetEventObject(this);
event.SetString(GetStringSelection());
ProcessCommand(event);
*/
return noErr ;
}
#endif // wxUSE_COMBOBOX
| [
"h.sorby@auckland.ac.nz"
] | h.sorby@auckland.ac.nz |
bd042bafa6004694bc235b883b22d5070411539e | 40240667f380a7e580a717bfd85680f78eef341c | /MFCMLIB/wfrmsite.cpp | 34d4ac3c1eda6ef927ea9c692226e9445a0e5e03 | [] | no_license | tobias-loew/MFC | 526365792741ee68205a528ae02dc9b8c7c3bdbe | d8573c6d0a8a699901ef0cac53bd944dfe89be26 | refs/heads/master | 2023-01-03T13:17:50.432462 | 2022-12-22T11:44:10 | 2022-12-22T11:44:10 | 259,225,363 | 0 | 0 | null | 2020-04-27T06:28:11 | 2020-04-27T06:28:10 | null | UTF-8 | C++ | false | false | 7,108 | cpp | // This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.
#include "stdafx.h"
namespace Microsoft {
namespace VisualC {
namespace MFC {
//////////////////////////////////////////////////////////////////////////
//CWinFormsControlSite
//
HRESULT CWinFormsControlSite::DoVerb(LONG nVerb, LPMSG lpMsg)
{
HRESULT hr=S_OK;
switch(nVerb)
{
case OLEIVERB_SHOW:
get_Control()->Visible = true;
break;
case OLEIVERB_HIDE:
get_Control()->Visible = false;
break;
default:
hr=__super::DoVerb(nVerb, lpMsg);
} //End switch
return hr;
}
HRESULT CWinFormsControlSite::CreateOrLoad(const CControlCreationInfo& creationInfo)
{
typedef System::Runtime::InteropServices::GCHandle GCHandle;
HRESULT hr=E_FAIL;
//Create an instance of the managed object and set the m_gcEventHelper
//to reference it and hook HWND related events.
ASSERT(creationInfo.IsManaged());
System::Windows::Forms::Control^ pControl=nullptr;
if (creationInfo.m_hk == CControlCreationInfo::ReflectionType)
{
System::Type^ pType=safe_cast<System::Type^>( (GCHandle::operator GCHandle(System::IntPtr(creationInfo.m_nHandle))).Target );
System::Object^ pObj = System::Activator::CreateInstance(pType);
pControl=safe_cast<System::Windows::Forms::Control^>(pObj);
} else if (creationInfo.m_hk == CControlCreationInfo::ControlInstance)
{
pControl=safe_cast<System::Windows::Forms::Control^>( (GCHandle::operator GCHandle(System::IntPtr(creationInfo.m_nHandle))).Target );
}
if (pControl!=nullptr)
{
m_gcEventHelper->Control::set( pControl );
//Marshal the control into IUnknown for usage of MFC Native ActiveX code.
System::IntPtr pUnknAsInt = System::Runtime::InteropServices::Marshal::GetIUnknownForObject(get_Control());
IUnknown* pUnkn = static_cast<IUnknown*>(pUnknAsInt.ToPointer());
if (pUnkn!=NULL)
{
hr=pUnkn->QueryInterface(IID_IOleObject, (void**)&m_pObject);
System::Runtime::InteropServices::Marshal::Release(pUnknAsInt);
}
if (SUCCEEDED(hr))
{ //Now that m_pObject is set, call the original CreateOrLoad method.
hr=__super::CreateOrLoad(GUID_NULL, NULL,FALSE, NULL);
}
}
return hr;
}
HRESULT CWinFormsControlSite::CreateControlCommon(CWnd* pWndCtrl, REFCLSID clsid,const CControlCreationInfo& creationInfo,
LPCTSTR lpszWindowName, DWORD dwStyle, const POINT* ppt, const SIZE* psize, UINT nID,
CFile* pPersist, BOOL bStorage, BSTR bstrLicKey)
{
HRESULT hr=COleControlSite::CreateControlCommon(pWndCtrl, clsid,creationInfo,
lpszWindowName, dwStyle, ppt,
psize, nID, pPersist, bStorage, bstrLicKey);
if (SUCCEEDED(hr))
{
get_Control()->TabStop = m_dwStyle & WS_TABSTOP ? true : false;
}
return hr;
}
void CWinFormsControlSite::GetProperty(DISPID dwDispID, VARTYPE vtProp, void* pvProp) const
{
switch(dwDispID)
{
case DISPID_ENABLED:
ENSURE_ARG(vtProp==VT_BOOL);
ENSURE_ARG(pvProp!=NULL);
*(bool*)pvProp = get_Control()->Enabled;
break;
default:
__super::GetProperty(dwDispID, vtProp, pvProp);
}
}
#pragma warning( push )
#pragma warning( disable : 4793 )
void CWinFormsControlSite::SetPropertyV(DISPID dwDispID, VARTYPE vtProp, va_list argList)
{
switch(dwDispID)
{
case DISPID_ENABLED:
{
ENSURE(vtProp==VT_BOOL);
BOOL bEnable=va_arg(argList, BOOL);
SetControlEnabled(bEnable ? true : false);
break;
}
default:
__super::SetPropertyV(dwDispID, vtProp, argList);
}
}
#pragma warning( pop )
DWORD CWinFormsControlSite::GetStyle() const
{
DWORD dwStyle = __super::GetStyle();
dwStyle = get_Control()->Visible ? dwStyle | WS_VISIBLE : dwStyle & ~WS_VISIBLE;
dwStyle = get_Control()->TabStop ? dwStyle | WS_TABSTOP : dwStyle & ~WS_TABSTOP;
return dwStyle;
}
void CWinFormsControlSite::OnHandleCreatedHandler()
{
AttachWindow();
//Fix Z-order after WinForms ReCreate a control (Ex: Button style changed).
//First find current site in the list, and then
//iterate backward, until a valid hWnd is found. Insert the recreated control
//in the correct Win32 z-order pos - after the found hWnd.
COleControlSiteOrWnd *pSiteOrWnd = NULL,*pPrevZorderSiteWnd=NULL;
ENSURE(m_pCtrlCont != NULL);
POSITION currentPos = NULL;
POSITION pos = m_pCtrlCont->m_listSitesOrWnds.GetHeadPosition();
BOOL bFoundSelf=FALSE;
while(pos)
{
currentPos = pos;
pSiteOrWnd = m_pCtrlCont->m_listSitesOrWnds.GetNext(pos);
if (pSiteOrWnd && pSiteOrWnd->m_pSite == this)
{
bFoundSelf = TRUE;
break;
}
}//End while(pos)
//Move backward to find valid hWnd to insert after in Z-order.
if (bFoundSelf)
{
m_pCtrlCont->m_listSitesOrWnds.GetPrev(currentPos);
HWND hWndBeforeInOrder = NULL;
while(currentPos)
{
pPrevZorderSiteWnd = m_pCtrlCont->m_listSitesOrWnds.GetPrev(currentPos);
if (pPrevZorderSiteWnd)
{
if (pPrevZorderSiteWnd->m_hWnd!=NULL)
{
hWndBeforeInOrder = pPrevZorderSiteWnd->m_hWnd;
} else if (pPrevZorderSiteWnd->m_pSite && pPrevZorderSiteWnd->m_pSite->m_hWnd!=NULL)
{
hWndBeforeInOrder=pPrevZorderSiteWnd->m_pSite->m_hWnd;
}
if (hWndBeforeInOrder!=NULL)
{
break;
}
}
}//End while(currentPos)
if (hWndBeforeInOrder == NULL)
{
//If first on z-order, there is no valid hWnd in the m_listSitesOrWnds before
//this control.
hWndBeforeInOrder = HWND_TOP;
}
BOOL ok=::SetWindowPos(m_hWnd, hWndBeforeInOrder, 0, 0, 0, 0,
SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
ASSERT(ok);
} //End if (bFoundSelf)
}
void CWinFormsControlSite::OnHandleCreated( gcroot<System::Object^> , gcroot<System::EventArgs^> )
{
OnHandleCreatedHandler();
}
class CWinFormsControlSiteFactory : public IControlSiteFactory
{
public:
CWinFormsControlSiteFactory() { }
COleControlSite* CreateSite(COleControlContainer* pCtrlCont,const CControlCreationInfo& creationInfo)
{
COleControlSite* pSite=NULL;
if (InlineIsEqualGUID(creationInfo.m_clsid , CLSID_WinFormsControl))
{
pSite=new CWinFormsControlSite(pCtrlCont);
}
return pSite;
}
};
struct CRegisterWinFormsFactory
{
IControlSiteFactory* m_pFactory;
CRegisterWinFormsFactory()
{
m_pFactory=new CWinFormsControlSiteFactory();
AfxRegisterSiteFactory(m_pFactory);
}
~CRegisterWinFormsFactory()
{
AfxUnregisterSiteFactory(m_pFactory);
delete m_pFactory;
}
};
//Register our WinForms control site factory
extern "C" { CRegisterWinFormsFactory g_registerWinFormsFactory; }
#if defined(_M_IX86)
#pragma comment(linker, "/INCLUDE:_g_registerWinFormsFactory")
#elif defined(_M_X64)
#pragma comment(linker, "/INCLUDE:g_registerWinFormsFactory")
#elif defined(_M_ARM64)
#pragma comment(linker, "/INCLUDE:g_registerWinFormsFactory")
#else
#pragma message("Unknown platform. Make sure the linker includes g_registerWinFormsFactory")
#endif
} //MFC
} //VisualC
} //Microsoft
| [
"ferdo@bigroses.nl"
] | ferdo@bigroses.nl |
3a33c53b80ded0f0938d4572cda251b6a5f195a9 | 75a9780e7de9db564eb4e02904bd1eab2c602593 | /examples/testableexample/dummytests2.h | f42d75e302403266cf6fb41d9a47a8e43afdf5fd | [
"Apache-2.0"
] | permissive | benlau/testable | 0c0b3ead48716d2ada2bfde45af0577dc7cf86fc | 061909979e8609528bbfd15ec0aedc7227b47770 | refs/heads/master | 2021-01-17T02:20:28.244884 | 2020-11-03T10:33:52 | 2020-11-03T10:33:52 | 48,814,653 | 56 | 9 | Apache-2.0 | 2020-07-17T09:43:22 | 2015-12-30T18:44:26 | C++ | UTF-8 | C++ | false | false | 276 | h | #ifndef DUMMYTESTS2_H
#define DUMMYTESTS2_H
#include <QObject>
class DummyTests2 : public QObject
{
Q_OBJECT
public:
explicit DummyTests2(QObject *parent = 0);
signals:
public slots:
private slots:
void test1();
void fail();
};
#endif // DUMMYTESTS2_H
| [
"xbenlau@gmail.com"
] | xbenlau@gmail.com |
4d1abaaff0bf99cee544072f8cf89cfd646abb3d | 15790a38ff529267ab4d6dd8ddbc30358e489621 | /hola.cpp | 4ac3e60e05913219c0371b4a01304815e561d67d | [] | no_license | iamsanchez/prueba1 | d70987fa637eb7dedf3a741aa54d7f70e052f4fe | 87e39b8493b17130cb592c84fcd26ced151aa04c | refs/heads/master | 2020-05-17T18:44:39.214569 | 2013-08-06T22:46:11 | 2013-08-06T22:46:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 96 | cpp | #include <iostream>
using namespace std;
int main(){
cout << "Hola Mundo" <<endl;
return 0;
} | [
"sedsanchez93@gmail.com"
] | sedsanchez93@gmail.com |
c0cd618e0b2570b7dc3c7ab20ec7c1115ba0de10 | a06a9ae73af6690fabb1f7ec99298018dd549bb7 | /_Library/_Include/boost/config/platform/bsd.hpp | a9f437a6b6ad7f8f8874cf94206960ded0c63240 | [
"BSL-1.0"
] | permissive | longstl/mus12 | f76de65cca55e675392eac162dcc961531980f9f | 9e1be111f505ac23695f7675fb9cefbd6fa876e9 | refs/heads/master | 2021-05-18T08:20:40.821655 | 2020-03-29T17:38:13 | 2020-03-29T17:38:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,772 | hpp | ////////////////////////////////////////////////////////////////////////////////
// bsd.hpp
// (C) Copyright John Maddock 2001 - 2003.
// (C) Copyright Darin Adler 2001.
// (C) Copyright Douglas Gregor 2002.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org for most recent version.
// generic BSD config options:
#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
#error "This platform is not BSD"
#endif
#ifdef __FreeBSD__
#define BOOST_PLATFORM "FreeBSD " BOOST_STRINGIZE(__FreeBSD__)
#elif defined(__NetBSD__)
#define BOOST_PLATFORM "NetBSD " BOOST_STRINGIZE(__NetBSD__)
#elif defined(__OpenBSD__)
#define BOOST_PLATFORM "OpenBSD " BOOST_STRINGIZE(__OpenBSD__)
#elif defined(__DragonFly__)
#define BOOST_PLATFORM "DragonFly " BOOST_STRINGIZE(__DragonFly__)
#endif
//
// is this the correct version check?
// FreeBSD has <nl_types.h> but does not
// advertise the fact in <unistd.h>:
//
#if (defined(__FreeBSD__) && (__FreeBSD__ >= 3)) || defined(__DragonFly__)
# define BOOST_HAS_NL_TYPES_H
#endif
//
// FreeBSD 3.x has pthreads support, but defines _POSIX_THREADS in <pthread.h>
// and not in <unistd.h>
//
#if (defined(__FreeBSD__) && (__FreeBSD__ <= 3))\
|| defined(__OpenBSD__) || defined(__DragonFly__)
# define BOOST_HAS_PTHREADS
#endif
//
// No wide character support in the BSD header files:
//
#if defined(__NetBSD__)
#define __NetBSD_GCC__ (__GNUC__ * 1000000 \
+ __GNUC_MINOR__ * 1000 \
+ __GNUC_PATCHLEVEL__)
// XXX - the following is required until c++config.h
// defines _GLIBCXX_HAVE_SWPRINTF and friends
// or the preprocessor conditionals are removed
// from the cwchar header.
#define _GLIBCXX_HAVE_SWPRINTF 1
#endif
#if !((defined(__FreeBSD__) && (__FreeBSD__ >= 5)) \
|| (defined(__NetBSD_GCC__) && (__NetBSD_GCC__ >= 2095003)) || defined(__DragonFly__))
# define BOOST_NO_CWCHAR
#endif
//
// The BSD <ctype.h> has macros only, no functions:
//
#if !defined(__OpenBSD__) || defined(__DragonFly__)
# define BOOST_NO_CTYPE_FUNCTIONS
#endif
//
// thread API's not auto detected:
//
#define BOOST_HAS_SCHED_YIELD
#define BOOST_HAS_NANOSLEEP
#define BOOST_HAS_GETTIMEOFDAY
#define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
#define BOOST_HAS_SIGACTION
// boilerplate code:
#define BOOST_HAS_UNISTD_H
#include <boost/config/posix_features.hpp>
/////////////////////////////////////////////////
// vnDev.Games - Trong.LIVE - DAO VAN TRONG //
////////////////////////////////////////////////////////////////////////////////
| [
"adm.fael.hs@gmail.com"
] | adm.fael.hs@gmail.com |
7665f15f5347b670903e27f27fc19ba002e80919 | 8db6364b650f52647e5a2d477c9d63c4343427fb | /gesture-control/aura/firmware/lib/HCD/HCD.h | 57a84f52df659f228bb920b4e848aecfbb42767e | [
"CC0-1.0"
] | permissive | CobraPi/Gesture-Controled-Drone | 3f22f6d633f36704acdb96e168b7b4a10f99c8f9 | 94053b27f1ecd4d667ea603d45a5e29ffbfe2787 | refs/heads/master | 2022-11-28T10:50:40.552688 | 2020-08-11T05:34:49 | 2020-08-11T05:34:49 | 237,590,057 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | h | //************************************************************************
// Communicarion library for "Hamster Cage Drones"
// (C) Dzl December 2013
// http://dzlsevilgeniuslair.blogspot.dk/
//************************************************************************
#ifndef _HCD
#define _HCD
#include "bk2421.h"
extern BK2421 radio;
#define HS_UNINITIALIZED 0
#define HS_INITIALIZED 1
#define HS_CONNECT 2
#define HS_CONNECTED 3
class HCD {
private:
unsigned char noteID[4];
unsigned char state;
unsigned char initialized;
public:
HCD();
void bind(unsigned char *ID);
void unbind();
void reconnect(unsigned char *ID);
unsigned char inactive();
void update(unsigned char throttle, unsigned char yaw, unsigned char yawtrim, unsigned char pitch,
unsigned char roll, unsigned char pitchtrim, unsigned char rolltrim, unsigned char flyrun);
void update(unsigned char *payload);
};
#endif
| [
"joey@Josephs-MBP.fios-router.home"
] | joey@Josephs-MBP.fios-router.home |
f32e04ed589235756a2311fa69aaba0e6d12b01a | ea4e3ac0966fe7b69f42eaa5a32980caa2248957 | /download/unzip/WebKit2/WebKit2-7537.71/WebProcess/WebPage/WebPage.cpp | 60237a1a138b124b74b9530348701c6eea31cfd7 | [] | no_license | hyl946/opensource_apple | 36b49deda8b2f241437ed45113d624ad45aa6d5f | e0f41fa0d9d535d57bfe56a264b4b27b8f93d86a | refs/heads/master | 2023-02-26T16:27:25.343636 | 2020-03-29T08:50:45 | 2020-03-29T08:50:45 | 249,169,732 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 152,894 | cpp | /*
* Copyright (C) 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
* Copyright (C) 2012 Intel Corporation. All rights reserved.
* Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
#include "WebPage.h"
#include "Arguments.h"
#include "DataReference.h"
#include "DecoderAdapter.h"
#include "DrawingArea.h"
#include "DrawingAreaMessages.h"
#include "InjectedBundle.h"
#include "InjectedBundleBackForwardList.h"
#include "InjectedBundleUserMessageCoders.h"
#include "LayerTreeHost.h"
#include "NetscapePlugin.h"
#include "NotificationPermissionRequestManager.h"
#include "PageBanner.h"
#include "PageOverlay.h"
#include "PluginProcessAttributes.h"
#include "PluginProxy.h"
#include "PluginView.h"
#include "PrintInfo.h"
#include "SessionState.h"
#include "ShareableBitmap.h"
#include "WebAlternativeTextClient.h"
#include "WebBackForwardList.h"
#include "WebBackForwardListItem.h"
#include "WebBackForwardListProxy.h"
#include "WebChromeClient.h"
#include "WebColorChooser.h"
#include "WebContextMenu.h"
#include "WebContextMenuClient.h"
#include "WebContextMessages.h"
#include "WebCoreArgumentCoders.h"
#include "WebDragClient.h"
#include "WebEditorClient.h"
#include "WebEvent.h"
#include "WebEventConversion.h"
#include "WebFrame.h"
#include "WebFullScreenManager.h"
#include "WebFullScreenManagerMessages.h"
#include "WebGeolocationClient.h"
#include "WebGeometry.h"
#include "WebImage.h"
#include "WebInspector.h"
#include "WebInspectorClient.h"
#include "WebInspectorMessages.h"
#include "WebNotificationClient.h"
#include "WebOpenPanelResultListener.h"
#include "WebPageCreationParameters.h"
#include "WebPageGroupProxy.h"
#include "WebPageMessages.h"
#include "WebPageProxyMessages.h"
#include "WebPlugInClient.h"
#include "WebPopupMenu.h"
#include "WebPreferencesStore.h"
#include "WebProcess.h"
#include "WebProcessProxyMessages.h"
#include <JavaScriptCore/APICast.h>
#include <WebCore/ArchiveResource.h>
#include <WebCore/Chrome.h>
#include <WebCore/ContextMenuController.h>
#include <WebCore/DatabaseManager.h>
#include <WebCore/DocumentFragment.h>
#include <WebCore/DocumentLoader.h>
#include <WebCore/DocumentMarkerController.h>
#include <WebCore/DragController.h>
#include <WebCore/DragData.h>
#include <WebCore/DragSession.h>
#include <WebCore/EventHandler.h>
#include <WebCore/FocusController.h>
#include <WebCore/FormState.h>
#include <WebCore/Frame.h>
#include <WebCore/FrameLoadRequest.h>
#include <WebCore/FrameLoaderTypes.h>
#include <WebCore/FrameView.h>
#include <WebCore/HTMLFormElement.h>
#include <WebCore/HTMLInputElement.h>
#include <WebCore/HTMLPlugInElement.h>
#include <WebCore/HTMLPlugInImageElement.h>
#include <WebCore/HistoryController.h>
#include <WebCore/HistoryItem.h>
#include <WebCore/JSDOMWindow.h>
#include <WebCore/KeyboardEvent.h>
#include <WebCore/MIMETypeRegistry.h>
#include <WebCore/MouseEvent.h>
#include <WebCore/Page.h>
#include <WebCore/PlatformKeyboardEvent.h>
#include <WebCore/PluginDocument.h>
#include <WebCore/PrintContext.h>
#include <WebCore/Range.h>
#include <WebCore/RenderLayer.h>
#include <WebCore/RenderTreeAsText.h>
#include <WebCore/RenderView.h>
#include <WebCore/ResourceBuffer.h>
#include <WebCore/ResourceRequest.h>
#include <WebCore/ResourceResponse.h>
#include <WebCore/RunLoop.h>
#include <WebCore/RuntimeEnabledFeatures.h>
#include <WebCore/SchemeRegistry.h>
#include <WebCore/ScriptController.h>
#include <WebCore/ScriptValue.h>
#include <WebCore/SerializedScriptValue.h>
#include <WebCore/Settings.h>
#include <WebCore/SharedBuffer.h>
#include <WebCore/SubstituteData.h>
#include <WebCore/TextIterator.h>
#include <WebCore/VisiblePosition.h>
#include <WebCore/markup.h>
#include <runtime/JSCJSValue.h>
#include <runtime/JSLock.h>
#include <runtime/Operations.h>
#if ENABLE(MHTML)
#include <WebCore/MHTMLArchive.h>
#endif
#if ENABLE(PLUGIN_PROCESS)
#if PLATFORM(MAC)
#include "MachPort.h"
#endif
#endif
#if ENABLE(BATTERY_STATUS)
#include "WebBatteryClient.h"
#endif
#if ENABLE(NETWORK_INFO)
#include "WebNetworkInfoClient.h"
#endif
#if ENABLE(VIBRATION)
#include "WebVibrationClient.h"
#endif
#if ENABLE(PROXIMITY_EVENTS)
#include "WebDeviceProximityClient.h"
#endif
#if PLATFORM(MAC)
#include "SimplePDFPlugin.h"
#if ENABLE(PDFKIT_PLUGIN)
#include "PDFPlugin.h"
#endif
#include <WebCore/LegacyWebArchive.h>
#endif
#if PLATFORM(QT)
#if ENABLE(DEVICE_ORIENTATION) && HAVE(QTSENSORS)
#include "DeviceMotionClientQt.h"
#include "DeviceOrientationClientQt.h"
#endif
#include "HitTestResult.h"
#include <QMimeData>
#endif
#if PLATFORM(GTK)
#include <gtk/gtk.h>
#include "DataObjectGtk.h"
#include "WebPrintOperationGtk.h"
#endif
#ifndef NDEBUG
#include <wtf/RefCountedLeakCounter.h>
#endif
#if USE(COORDINATED_GRAPHICS)
#include "CoordinatedLayerTreeHostMessages.h"
#endif
using namespace JSC;
using namespace WebCore;
namespace WebKit {
class SendStopResponsivenessTimer {
public:
SendStopResponsivenessTimer(WebPage* page)
: m_page(page)
{
}
~SendStopResponsivenessTimer()
{
m_page->send(Messages::WebPageProxy::StopResponsivenessTimer());
}
private:
WebPage* m_page;
};
DEFINE_DEBUG_ONLY_GLOBAL(WTF::RefCountedLeakCounter, webPageCounter, ("WebPage"));
PassRefPtr<WebPage> WebPage::create(uint64_t pageID, const WebPageCreationParameters& parameters)
{
RefPtr<WebPage> page = adoptRef(new WebPage(pageID, parameters));
if (page->pageGroup()->isVisibleToInjectedBundle() && WebProcess::shared().injectedBundle())
WebProcess::shared().injectedBundle()->didCreatePage(page.get());
return page.release();
}
WebPage::WebPage(uint64_t pageID, const WebPageCreationParameters& parameters)
: m_viewSize(parameters.viewSize)
, m_useFixedLayout(false)
, m_drawsBackground(true)
, m_drawsTransparentBackground(false)
, m_isInRedo(false)
, m_isClosed(false)
, m_tabToLinks(false)
, m_asynchronousPluginInitializationEnabled(false)
, m_asynchronousPluginInitializationEnabledForAllPlugins(false)
, m_artificialPluginInitializationDelayEnabled(false)
, m_scrollingPerformanceLoggingEnabled(false)
, m_mainFrameIsScrollable(true)
#if ENABLE(PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC)
, m_readyToFindPrimarySnapshottedPlugin(false)
, m_didFindPrimarySnapshottedPlugin(false)
, m_determinePrimarySnapshottedPlugInTimer(RunLoop::main(), this, &WebPage::determinePrimarySnapshottedPlugInTimerFired)
#endif
#if PLATFORM(MAC)
, m_pdfPluginEnabled(false)
, m_hasCachedWindowFrame(false)
, m_windowIsVisible(false)
, m_layerHostingMode(parameters.layerHostingMode)
, m_keyboardEventBeingInterpreted(0)
#elif PLATFORM(GTK)
, m_accessibilityObject(0)
#endif
, m_setCanStartMediaTimer(RunLoop::main(), this, &WebPage::setCanStartMediaTimerFired)
, m_sendDidUpdateInWindowStateTimer(RunLoop::main(), this, &WebPage::didUpdateInWindowStateTimerFired)
, m_findController(this)
#if ENABLE(TOUCH_EVENTS)
#if PLATFORM(QT)
, m_tapHighlightController(this)
#endif
#endif
#if ENABLE(INPUT_TYPE_COLOR)
, m_activeColorChooser(0)
#endif
#if ENABLE(GEOLOCATION)
, m_geolocationPermissionRequestManager(this)
#endif
, m_pageID(pageID)
, m_canRunBeforeUnloadConfirmPanel(parameters.canRunBeforeUnloadConfirmPanel)
, m_canRunModal(parameters.canRunModal)
, m_isRunningModal(false)
, m_cachedMainFrameIsPinnedToLeftSide(false)
, m_cachedMainFrameIsPinnedToRightSide(false)
, m_cachedMainFrameIsPinnedToTopSide(false)
, m_cachedMainFrameIsPinnedToBottomSide(false)
, m_canShortCircuitHorizontalWheelEvents(false)
, m_numWheelEventHandlers(0)
, m_cachedPageCount(0)
, m_autoSizingShouldExpandToViewHeight(false)
#if ENABLE(CONTEXT_MENUS)
, m_isShowingContextMenu(false)
#endif
, m_willGoToBackForwardItemCallbackEnabled(true)
#if ENABLE(PAGE_VISIBILITY_API)
, m_visibilityState(WebCore::PageVisibilityStateVisible)
#endif
, m_inspectorClient(0)
, m_backgroundColor(Color::white)
, m_maximumRenderingSuppressionToken(0)
, m_scrollPinningBehavior(DoNotPin)
{
ASSERT(m_pageID);
// FIXME: This is a non-ideal location for this Setting and
// 4ms should be adopted project-wide now, https://bugs.webkit.org/show_bug.cgi?id=61214
Settings::setDefaultMinDOMTimerInterval(0.004);
Page::PageClients pageClients;
pageClients.chromeClient = new WebChromeClient(this);
#if ENABLE(CONTEXT_MENUS)
pageClients.contextMenuClient = new WebContextMenuClient(this);
#endif
pageClients.editorClient = new WebEditorClient(this);
#if ENABLE(DRAG_SUPPORT)
pageClients.dragClient = new WebDragClient(this);
#endif
pageClients.backForwardClient = WebBackForwardListProxy::create(this);
#if ENABLE(INSPECTOR)
m_inspectorClient = new WebInspectorClient(this);
pageClients.inspectorClient = m_inspectorClient;
#endif
#if USE(AUTOCORRECTION_PANEL)
pageClients.alternativeTextClient = new WebAlternativeTextClient(this);
#endif
pageClients.plugInClient = new WebPlugInClient(this);
m_page = adoptPtr(new Page(pageClients));
#if ENABLE(BATTERY_STATUS)
WebCore::provideBatteryTo(m_page.get(), new WebBatteryClient(this));
#endif
#if ENABLE(GEOLOCATION)
WebCore::provideGeolocationTo(m_page.get(), new WebGeolocationClient(this));
#endif
#if ENABLE(DEVICE_ORIENTATION) && PLATFORM(QT) && HAVE(QTSENSORS)
WebCore::provideDeviceMotionTo(m_page.get(), new DeviceMotionClientQt);
WebCore::provideDeviceOrientationTo(m_page.get(), new DeviceOrientationClientQt);
#endif
#if ENABLE(NETWORK_INFO)
WebCore::provideNetworkInfoTo(m_page.get(), new WebNetworkInfoClient(this));
#endif
#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
WebCore::provideNotification(m_page.get(), new WebNotificationClient(this));
#endif
#if ENABLE(VIBRATION)
WebCore::provideVibrationTo(m_page.get(), new WebVibrationClient(this));
#endif
#if ENABLE(PROXIMITY_EVENTS)
WebCore::provideDeviceProximityTo(m_page.get(), new WebDeviceProximityClient(this));
#endif
m_page->setCanStartMedia(false);
m_mayStartMediaWhenInWindow = parameters.mayStartMediaWhenInWindow;
m_pageGroup = WebProcess::shared().webPageGroup(parameters.pageGroupData);
m_page->setGroupName(m_pageGroup->identifier());
m_page->setDeviceScaleFactor(parameters.deviceScaleFactor);
m_drawingArea = DrawingArea::create(this, parameters);
m_drawingArea->setPaintingEnabled(false);
updatePreferences(parameters.store);
platformInitialize();
m_mainFrame = WebFrame::createMainFrame(this);
setUseFixedLayout(parameters.useFixedLayout);
setDrawsBackground(parameters.drawsBackground);
setDrawsTransparentBackground(parameters.drawsTransparentBackground);
setUnderlayColor(parameters.underlayColor);
setPaginationMode(parameters.paginationMode);
setPaginationBehavesLikeColumns(parameters.paginationBehavesLikeColumns);
setPageLength(parameters.pageLength);
setGapBetweenPages(parameters.gapBetweenPages);
setMemoryCacheMessagesEnabled(parameters.areMemoryCacheClientCallsEnabled);
setActive(parameters.isActive);
setFocused(parameters.isFocused);
// Page defaults to in-window, but setIsInWindow depends on it being a valid indicator of actually having been put into a window.
if (!parameters.isInWindow)
m_page->setIsInWindow(false);
else
WebProcess::shared().pageDidEnterWindow(m_pageID);
setIsInWindow(parameters.isInWindow);
setMinimumLayoutSize(parameters.minimumLayoutSize);
setAutoSizingShouldExpandToViewHeight(parameters.autoSizingShouldExpandToViewHeight);
setScrollPinningBehavior(parameters.scrollPinningBehavior);
m_userAgent = parameters.userAgent;
WebBackForwardListProxy::setHighestItemIDFromUIProcess(parameters.highestUsedBackForwardItemID);
if (!parameters.sessionState.isEmpty())
restoreSession(parameters.sessionState);
m_drawingArea->setPaintingEnabled(true);
setMediaVolume(parameters.mediaVolume);
// We use the DidFirstLayout milestone to determine when to unfreeze the layer tree.
m_page->addLayoutMilestones(DidFirstLayout);
WebProcess::shared().addMessageReceiver(Messages::WebPage::messageReceiverName(), m_pageID, this);
// FIXME: This should be done in the object constructors, and the objects themselves should be message receivers.
WebProcess::shared().addMessageReceiver(Messages::DrawingArea::messageReceiverName(), m_pageID, this);
#if USE(COORDINATED_GRAPHICS)
WebProcess::shared().addMessageReceiver(Messages::CoordinatedLayerTreeHost::messageReceiverName(), m_pageID, this);
#endif
#if ENABLE(INSPECTOR)
WebProcess::shared().addMessageReceiver(Messages::WebInspector::messageReceiverName(), m_pageID, this);
#endif
#if ENABLE(FULLSCREEN_API)
WebProcess::shared().addMessageReceiver(Messages::WebFullScreenManager::messageReceiverName(), m_pageID, this);
#endif
#ifndef NDEBUG
webPageCounter.increment();
#endif
}
WebPage::~WebPage()
{
if (m_backForwardList)
m_backForwardList->detach();
ASSERT(!m_page);
m_sandboxExtensionTracker.invalidate();
for (HashSet<PluginView*>::const_iterator it = m_pluginViews.begin(), end = m_pluginViews.end(); it != end; ++it)
(*it)->webPageDestroyed();
if (m_headerBanner)
m_headerBanner->detachFromPage();
if (m_footerBanner)
m_footerBanner->detachFromPage();
WebProcess::shared().removeMessageReceiver(Messages::WebPage::messageReceiverName(), m_pageID);
// FIXME: This should be done in the object destructors, and the objects themselves should be message receivers.
WebProcess::shared().removeMessageReceiver(Messages::DrawingArea::messageReceiverName(), m_pageID);
#if USE(COORDINATED_GRAPHICS)
WebProcess::shared().removeMessageReceiver(Messages::CoordinatedLayerTreeHost::messageReceiverName(), m_pageID);
#endif
#if ENABLE(INSPECTOR)
WebProcess::shared().removeMessageReceiver(Messages::WebInspector::messageReceiverName(), m_pageID);
#endif
#if ENABLE(FULLSCREEN_API)
WebProcess::shared().removeMessageReceiver(Messages::WebFullScreenManager::messageReceiverName(), m_pageID);
#endif
#ifndef NDEBUG
webPageCounter.decrement();
#endif
}
void WebPage::dummy(bool&)
{
}
CoreIPC::Connection* WebPage::messageSenderConnection()
{
return WebProcess::shared().parentProcessConnection();
}
uint64_t WebPage::messageSenderDestinationID()
{
return pageID();
}
#if ENABLE(CONTEXT_MENUS)
void WebPage::initializeInjectedBundleContextMenuClient(WKBundlePageContextMenuClient* client)
{
m_contextMenuClient.initialize(client);
}
#endif
void WebPage::initializeInjectedBundleEditorClient(WKBundlePageEditorClient* client)
{
m_editorClient.initialize(client);
}
void WebPage::initializeInjectedBundleFormClient(WKBundlePageFormClient* client)
{
m_formClient.initialize(client);
}
void WebPage::initializeInjectedBundleLoaderClient(WKBundlePageLoaderClient* client)
{
// It would be nice to get rid of this code and transition all clients to using didLayout instead of
// didFirstLayoutInFrame and didFirstVisuallyNonEmptyLayoutInFrame. In the meantime, this is required
// for backwards compatibility.
LayoutMilestones milestones = 0;
if (client) {
if (client->didFirstLayoutForFrame)
milestones |= WebCore::DidFirstLayout;
if (client->didFirstVisuallyNonEmptyLayoutForFrame)
milestones |= WebCore::DidFirstVisuallyNonEmptyLayout;
if (client->didNewFirstVisuallyNonEmptyLayout)
milestones |= WebCore::DidHitRelevantRepaintedObjectsAreaThreshold;
}
if (milestones)
listenForLayoutMilestones(milestones);
m_loaderClient.initialize(client);
}
void WebPage::initializeInjectedBundlePolicyClient(WKBundlePagePolicyClient* client)
{
m_policyClient.initialize(client);
}
void WebPage::initializeInjectedBundleResourceLoadClient(WKBundlePageResourceLoadClient* client)
{
m_resourceLoadClient.initialize(client);
}
void WebPage::initializeInjectedBundleUIClient(WKBundlePageUIClient* client)
{
m_uiClient.initialize(client);
}
#if ENABLE(FULLSCREEN_API)
void WebPage::initializeInjectedBundleFullScreenClient(WKBundlePageFullScreenClient* client)
{
m_fullScreenClient.initialize(client);
}
#endif
void WebPage::initializeInjectedBundleDiagnosticLoggingClient(WKBundlePageDiagnosticLoggingClient* client)
{
m_logDiagnosticMessageClient.initialize(client);
}
#if ENABLE(NETSCAPE_PLUGIN_API)
PassRefPtr<Plugin> WebPage::createPlugin(WebFrame* frame, HTMLPlugInElement* pluginElement, const Plugin::Parameters& parameters, String& newMIMEType)
{
String frameURLString = frame->coreFrame()->loader()->documentLoader()->responseURL().string();
String pageURLString = m_page->mainFrame()->loader()->documentLoader()->responseURL().string();
PluginProcessType processType = pluginElement->displayState() == HTMLPlugInElement::WaitingForSnapshot ? PluginProcessTypeSnapshot : PluginProcessTypeNormal;
bool allowOnlyApplicationPlugins = !frame->coreFrame()->loader()->subframeLoader()->allowPlugins(NotAboutToInstantiatePlugin);
uint64_t pluginProcessToken;
uint32_t pluginLoadPolicy;
String unavailabilityDescription;
if (!sendSync(Messages::WebPageProxy::FindPlugin(parameters.mimeType, static_cast<uint32_t>(processType), parameters.url.string(), frameURLString, pageURLString, allowOnlyApplicationPlugins), Messages::WebPageProxy::FindPlugin::Reply(pluginProcessToken, newMIMEType, pluginLoadPolicy, unavailabilityDescription))) {
return 0;
}
switch (static_cast<PluginModuleLoadPolicy>(pluginLoadPolicy)) {
case PluginModuleLoadNormally:
case PluginModuleLoadUnsandboxed:
break;
case PluginModuleBlocked:
bool replacementObscured = false;
if (pluginElement->renderer()->isEmbeddedObject()) {
RenderEmbeddedObject* renderObject = toRenderEmbeddedObject(pluginElement->renderer());
renderObject->setPluginUnavailabilityReasonWithDescription(RenderEmbeddedObject::InsecurePluginVersion, unavailabilityDescription);
replacementObscured = renderObject->isReplacementObscured();
renderObject->setUnavailablePluginIndicatorIsHidden(replacementObscured);
}
send(Messages::WebPageProxy::DidBlockInsecurePluginVersion(parameters.mimeType, parameters.url.string(), frameURLString, pageURLString, replacementObscured));
return 0;
}
if (!pluginProcessToken) {
#if PLATFORM(MAC)
String path = parameters.url.path();
if (MIMETypeRegistry::isPDFOrPostScriptMIMEType(parameters.mimeType) || (parameters.mimeType.isEmpty() && (path.endsWith(".pdf", false) || path.endsWith(".ps", false)))) {
#if ENABLE(PDFKIT_PLUGIN)
if (shouldUsePDFPlugin())
return PDFPlugin::create(frame);
#endif
return SimplePDFPlugin::create(frame);
}
#else
UNUSED_PARAM(frame);
#endif
return 0;
}
bool isRestartedProcess = (pluginElement->displayState() == HTMLPlugInElement::Restarting || pluginElement->displayState() == HTMLPlugInElement::RestartingWithPendingMouseClick);
return PluginProxy::create(pluginProcessToken, isRestartedProcess);
}
#endif // ENABLE(NETSCAPE_PLUGIN_API)
EditorState WebPage::editorState() const
{
Frame* frame = m_page->focusController()->focusedOrMainFrame();
ASSERT(frame);
EditorState result;
if (PluginView* pluginView = focusedPluginViewForFrame(frame)) {
if (!pluginView->getSelectionString().isNull()) {
result.selectionIsNone = false;
result.selectionIsRange = true;
result.isInPlugin = true;
return result;
}
}
result.selectionIsNone = frame->selection()->isNone();
result.selectionIsRange = frame->selection()->isRange();
result.isContentEditable = frame->selection()->isContentEditable();
result.isContentRichlyEditable = frame->selection()->isContentRichlyEditable();
result.isInPasswordField = frame->selection()->isInPasswordField();
result.hasComposition = frame->editor().hasComposition();
result.shouldIgnoreCompositionSelectionChange = frame->editor().ignoreCompositionSelectionChange();
#if PLATFORM(QT)
size_t location = 0;
size_t length = 0;
Element* selectionRoot = frame->selection()->rootEditableElementRespectingShadowTree();
Element* scope = selectionRoot ? selectionRoot : frame->document()->documentElement();
if (!scope)
return result;
if (scope->hasTagName(HTMLNames::inputTag)) {
HTMLInputElement* input = static_cast<HTMLInputElement*>(scope);
if (input->isTelephoneField())
result.inputMethodHints |= Qt::ImhDialableCharactersOnly;
else if (input->isNumberField())
result.inputMethodHints |= Qt::ImhDigitsOnly;
else if (input->isEmailField()) {
result.inputMethodHints |= Qt::ImhEmailCharactersOnly;
result.inputMethodHints |= Qt::ImhNoAutoUppercase;
} else if (input->isURLField()) {
result.inputMethodHints |= Qt::ImhUrlCharactersOnly;
result.inputMethodHints |= Qt::ImhNoAutoUppercase;
} else if (input->isPasswordField()) {
// Set ImhHiddenText flag for password fields. The Qt platform
// is responsible for determining which widget will receive input
// method events for password fields.
result.inputMethodHints |= Qt::ImhHiddenText;
result.inputMethodHints |= Qt::ImhNoAutoUppercase;
result.inputMethodHints |= Qt::ImhNoPredictiveText;
result.inputMethodHints |= Qt::ImhSensitiveData;
}
}
if (selectionRoot)
result.editorRect = frame->view()->contentsToWindow(selectionRoot->pixelSnappedBoundingBox());
RefPtr<Range> range;
if (result.hasComposition && (range = frame->editor().compositionRange())) {
frame->editor().getCompositionSelection(result.anchorPosition, result.cursorPosition);
result.compositionRect = frame->view()->contentsToWindow(range->boundingBox());
}
if (!result.hasComposition && !result.selectionIsNone && (range = frame->selection()->selection().firstRange())) {
TextIterator::getLocationAndLengthFromRange(scope, range.get(), location, length);
bool baseIsFirst = frame->selection()->selection().isBaseFirst();
result.cursorPosition = (baseIsFirst) ? location + length : location;
result.anchorPosition = (baseIsFirst) ? location : location + length;
result.selectedText = range->text();
}
if (range)
result.cursorRect = frame->view()->contentsToWindow(frame->editor().firstRectForRange(range.get()));
// FIXME: We should only transfer innerText when it changes and do this on the UI side.
if (result.isContentEditable && !result.isInPasswordField) {
result.surroundingText = scope->innerText();
if (result.hasComposition) {
// The anchor is always the left position when they represent a composition.
result.surroundingText.remove(result.anchorPosition, result.cursorPosition - result.anchorPosition);
}
}
#endif
#if PLATFORM(GTK)
result.cursorRect = frame->selection()->absoluteCaretBounds();
#endif
return result;
}
String WebPage::renderTreeExternalRepresentation() const
{
return externalRepresentation(m_mainFrame->coreFrame(), RenderAsTextBehaviorNormal);
}
String WebPage::renderTreeExternalRepresentationForPrinting() const
{
return externalRepresentation(m_mainFrame->coreFrame(), RenderAsTextPrintingMode);
}
uint64_t WebPage::renderTreeSize() const
{
if (!m_page)
return 0;
return m_page->renderTreeSize().treeSize;
}
void WebPage::setTracksRepaints(bool trackRepaints)
{
if (FrameView* view = mainFrameView())
view->setTracksRepaints(trackRepaints);
}
bool WebPage::isTrackingRepaints() const
{
if (FrameView* view = mainFrameView())
return view->isTrackingRepaints();
return false;
}
void WebPage::resetTrackedRepaints()
{
if (FrameView* view = mainFrameView())
view->resetTrackedRepaints();
}
PassRefPtr<ImmutableArray> WebPage::trackedRepaintRects()
{
FrameView* view = mainFrameView();
if (!view)
return ImmutableArray::create();
const Vector<IntRect>& rects = view->trackedRepaintRects();
size_t size = rects.size();
if (!size)
return ImmutableArray::create();
Vector<RefPtr<APIObject>> vector;
vector.reserveInitialCapacity(size);
for (size_t i = 0; i < size; ++i)
vector.uncheckedAppend(WebRect::create(toAPI(rects[i])));
return ImmutableArray::adopt(vector);
}
PluginView* WebPage::focusedPluginViewForFrame(Frame* frame)
{
if (!frame->document()->isPluginDocument())
return 0;
PluginDocument* pluginDocument = static_cast<PluginDocument*>(frame->document());
if (pluginDocument->focusedElement() != pluginDocument->pluginElement())
return 0;
PluginView* pluginView = static_cast<PluginView*>(pluginDocument->pluginWidget());
return pluginView;
}
PluginView* WebPage::pluginViewForFrame(Frame* frame)
{
if (!frame->document()->isPluginDocument())
return 0;
PluginDocument* pluginDocument = static_cast<PluginDocument*>(frame->document());
PluginView* pluginView = static_cast<PluginView*>(pluginDocument->pluginWidget());
return pluginView;
}
void WebPage::executeEditingCommand(const String& commandName, const String& argument)
{
Frame* frame = m_page->focusController()->focusedOrMainFrame();
if (!frame)
return;
if (PluginView* pluginView = focusedPluginViewForFrame(frame)) {
pluginView->handleEditingCommand(commandName, argument);
return;
}
frame->editor().command(commandName).execute(argument);
}
bool WebPage::isEditingCommandEnabled(const String& commandName)
{
Frame* frame = m_page->focusController()->focusedOrMainFrame();
if (!frame)
return false;
if (PluginView* pluginView = focusedPluginViewForFrame(frame))
return pluginView->isEditingCommandEnabled(commandName);
Editor::Command command = frame->editor().command(commandName);
return command.isSupported() && command.isEnabled();
}
void WebPage::clearMainFrameName()
{
if (Frame* frame = mainFrame())
frame->tree()->clearName();
}
#if USE(ACCELERATED_COMPOSITING)
void WebPage::enterAcceleratedCompositingMode(GraphicsLayer* layer)
{
m_drawingArea->setRootCompositingLayer(layer);
}
void WebPage::exitAcceleratedCompositingMode()
{
m_drawingArea->setRootCompositingLayer(0);
}
#endif
void WebPage::close()
{
if (m_isClosed)
return;
m_isClosed = true;
// If there is still no URL, then we never loaded anything in this page, so nothing to report.
if (!mainWebFrame()->url().isEmpty())
reportUsedFeatures();
if (pageGroup()->isVisibleToInjectedBundle() && WebProcess::shared().injectedBundle())
WebProcess::shared().injectedBundle()->willDestroyPage(this);
#if ENABLE(INSPECTOR)
m_inspector = 0;
#endif
#if ENABLE(FULLSCREEN_API)
m_fullScreenManager = 0;
#endif
if (m_activePopupMenu) {
m_activePopupMenu->disconnectFromPage();
m_activePopupMenu = 0;
}
if (m_activeOpenPanelResultListener) {
m_activeOpenPanelResultListener->disconnectFromPage();
m_activeOpenPanelResultListener = 0;
}
#if ENABLE(INPUT_TYPE_COLOR)
if (m_activeColorChooser) {
m_activeColorChooser->disconnectFromPage();
m_activeColorChooser = 0;
}
#endif
m_sandboxExtensionTracker.invalidate();
#if ENABLE(PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC)
m_determinePrimarySnapshottedPlugInTimer.stop();
#endif
#if ENABLE(CONTEXT_MENUS)
m_contextMenuClient.initialize(0);
#endif
m_editorClient.initialize(0);
m_formClient.initialize(0);
m_loaderClient.initialize(0);
m_policyClient.initialize(0);
m_resourceLoadClient.initialize(0);
m_uiClient.initialize(0);
#if ENABLE(FULLSCREEN_API)
m_fullScreenClient.initialize(0);
#endif
m_logDiagnosticMessageClient.initialize(0);
m_underlayPage = nullptr;
m_printContext = nullptr;
m_mainFrame->coreFrame()->loader()->detachFromParent();
m_page = nullptr;
m_drawingArea = nullptr;
bool isRunningModal = m_isRunningModal;
m_isRunningModal = false;
// The WebPage can be destroyed by this call.
WebProcess::shared().removeWebPage(m_pageID);
if (isRunningModal)
RunLoop::main()->stop();
}
void WebPage::tryClose()
{
SendStopResponsivenessTimer stopper(this);
if (!m_mainFrame->coreFrame()->loader()->shouldClose()) {
send(Messages::WebPageProxy::StopResponsivenessTimer());
return;
}
send(Messages::WebPageProxy::ClosePage(true));
}
void WebPage::sendClose()
{
send(Messages::WebPageProxy::ClosePage(false));
}
void WebPage::loadURL(const String& url, const SandboxExtension::Handle& sandboxExtensionHandle, CoreIPC::MessageDecoder& decoder)
{
loadURLRequest(ResourceRequest(KURL(KURL(), url)), sandboxExtensionHandle, decoder);
}
void WebPage::loadURLRequest(const ResourceRequest& request, const SandboxExtension::Handle& sandboxExtensionHandle, CoreIPC::MessageDecoder& decoder)
{
SendStopResponsivenessTimer stopper(this);
RefPtr<APIObject> userData;
InjectedBundleUserMessageDecoder userMessageDecoder(userData);
if (!decoder.decode(userMessageDecoder))
return;
m_sandboxExtensionTracker.beginLoad(m_mainFrame.get(), sandboxExtensionHandle);
// Let the InjectedBundle know we are about to start the load, passing the user data from the UIProcess
// to all the client to set up any needed state.
m_loaderClient.willLoadURLRequest(this, request, userData.get());
// Initate the load in WebCore.
m_mainFrame->coreFrame()->loader()->load(FrameLoadRequest(m_mainFrame->coreFrame(), request));
}
void WebPage::loadDataImpl(PassRefPtr<SharedBuffer> sharedBuffer, const String& MIMEType, const String& encodingName, const KURL& baseURL, const KURL& unreachableURL, CoreIPC::MessageDecoder& decoder)
{
SendStopResponsivenessTimer stopper(this);
RefPtr<APIObject> userData;
InjectedBundleUserMessageDecoder userMessageDecoder(userData);
if (!decoder.decode(userMessageDecoder))
return;
ResourceRequest request(baseURL);
SubstituteData substituteData(sharedBuffer, MIMEType, encodingName, unreachableURL);
// Let the InjectedBundle know we are about to start the load, passing the user data from the UIProcess
// to all the client to set up any needed state.
m_loaderClient.willLoadDataRequest(this, request, substituteData.content(), substituteData.mimeType(), substituteData.textEncoding(), substituteData.failingURL(), userData.get());
// Initate the load in WebCore.
m_mainFrame->coreFrame()->loader()->load(FrameLoadRequest(m_mainFrame->coreFrame(), request, substituteData));
}
void WebPage::loadData(const CoreIPC::DataReference& data, const String& MIMEType, const String& encodingName, const String& baseURLString, CoreIPC::MessageDecoder& decoder)
{
RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(reinterpret_cast<const char*>(data.data()), data.size());
KURL baseURL = baseURLString.isEmpty() ? blankURL() : KURL(KURL(), baseURLString);
loadDataImpl(sharedBuffer, MIMEType, encodingName, baseURL, KURL(), decoder);
}
void WebPage::loadHTMLString(const String& htmlString, const String& baseURLString, CoreIPC::MessageDecoder& decoder)
{
RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(reinterpret_cast<const char*>(htmlString.characters()), htmlString.length() * sizeof(UChar));
KURL baseURL = baseURLString.isEmpty() ? blankURL() : KURL(KURL(), baseURLString);
loadDataImpl(sharedBuffer, "text/html", "utf-16", baseURL, KURL(), decoder);
}
void WebPage::loadAlternateHTMLString(const String& htmlString, const String& baseURLString, const String& unreachableURLString, CoreIPC::MessageDecoder& decoder)
{
RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(reinterpret_cast<const char*>(htmlString.characters()), htmlString.length() * sizeof(UChar));
KURL baseURL = baseURLString.isEmpty() ? blankURL() : KURL(KURL(), baseURLString);
KURL unreachableURL = unreachableURLString.isEmpty() ? KURL() : KURL(KURL(), unreachableURLString);
loadDataImpl(sharedBuffer, "text/html", "utf-16", baseURL, unreachableURL, decoder);
}
void WebPage::loadPlainTextString(const String& string, CoreIPC::MessageDecoder& decoder)
{
RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(reinterpret_cast<const char*>(string.characters()), string.length() * sizeof(UChar));
loadDataImpl(sharedBuffer, "text/plain", "utf-16", blankURL(), KURL(), decoder);
}
void WebPage::loadWebArchiveData(const CoreIPC::DataReference& webArchiveData, CoreIPC::MessageDecoder& decoder)
{
RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(reinterpret_cast<const char*>(webArchiveData.data()), webArchiveData.size() * sizeof(uint8_t));
loadDataImpl(sharedBuffer, "application/x-webarchive", "utf-16", blankURL(), KURL(), decoder);
}
void WebPage::linkClicked(const String& url, const WebMouseEvent& event)
{
Frame* frame = m_page->mainFrame();
if (!frame)
return;
RefPtr<Event> coreEvent;
if (event.type() != WebEvent::NoType)
coreEvent = MouseEvent::create(eventNames().clickEvent, frame->document()->defaultView(), platform(event), 0, 0);
frame->loader()->loadFrameRequest(FrameLoadRequest(frame, ResourceRequest(url)), false, false, coreEvent.get(), 0, MaybeSendReferrer);
}
void WebPage::stopLoadingFrame(uint64_t frameID)
{
WebFrame* frame = WebProcess::shared().webFrame(frameID);
if (!frame)
return;
frame->coreFrame()->loader()->stopForUserCancel();
}
void WebPage::stopLoading()
{
SendStopResponsivenessTimer stopper(this);
m_mainFrame->coreFrame()->loader()->stopForUserCancel();
}
void WebPage::setDefersLoading(bool defersLoading)
{
m_page->setDefersLoading(defersLoading);
}
void WebPage::reload(bool reloadFromOrigin, const SandboxExtension::Handle& sandboxExtensionHandle)
{
SendStopResponsivenessTimer stopper(this);
m_sandboxExtensionTracker.beginLoad(m_mainFrame.get(), sandboxExtensionHandle);
m_mainFrame->coreFrame()->loader()->reload(reloadFromOrigin);
}
void WebPage::goForward(uint64_t backForwardItemID)
{
SendStopResponsivenessTimer stopper(this);
HistoryItem* item = WebBackForwardListProxy::itemForID(backForwardItemID);
ASSERT(item);
if (!item)
return;
m_page->goToItem(item, FrameLoadTypeForward);
}
void WebPage::goBack(uint64_t backForwardItemID)
{
SendStopResponsivenessTimer stopper(this);
HistoryItem* item = WebBackForwardListProxy::itemForID(backForwardItemID);
ASSERT(item);
if (!item)
return;
m_page->goToItem(item, FrameLoadTypeBack);
}
void WebPage::goToBackForwardItem(uint64_t backForwardItemID)
{
SendStopResponsivenessTimer stopper(this);
HistoryItem* item = WebBackForwardListProxy::itemForID(backForwardItemID);
ASSERT(item);
if (!item)
return;
m_page->goToItem(item, FrameLoadTypeIndexedBackForward);
}
void WebPage::tryRestoreScrollPosition()
{
m_page->mainFrame()->loader()->history()->restoreScrollPositionAndViewState();
}
void WebPage::layoutIfNeeded()
{
if (m_mainFrame->coreFrame()->view())
m_mainFrame->coreFrame()->view()->updateLayoutAndStyleIfNeededRecursive();
if (m_underlayPage) {
if (FrameView *frameView = m_underlayPage->mainFrameView())
frameView->updateLayoutAndStyleIfNeededRecursive();
}
}
WebPage* WebPage::fromCorePage(Page* page)
{
return static_cast<WebChromeClient*>(page->chrome().client())->page();
}
void WebPage::setSize(const WebCore::IntSize& viewSize)
{
FrameView* view = m_page->mainFrame()->view();
if (m_viewSize == viewSize)
return;
view->resize(viewSize);
view->setNeedsLayout();
m_drawingArea->setNeedsDisplay();
m_viewSize = viewSize;
#if USE(TILED_BACKING_STORE)
if (view->useFixedLayout())
sendViewportAttributesChanged();
#endif
}
#if USE(TILED_BACKING_STORE)
void WebPage::setFixedVisibleContentRect(const IntRect& rect)
{
ASSERT(m_useFixedLayout);
m_page->mainFrame()->view()->setFixedVisibleContentRect(rect);
}
void WebPage::sendViewportAttributesChanged()
{
ASSERT(m_useFixedLayout);
// Viewport properties have no impact on zero sized fixed viewports.
if (m_viewSize.isEmpty())
return;
// Recalculate the recommended layout size, when the available size (device pixel) changes.
Settings* settings = m_page->settings();
int minimumLayoutFallbackWidth = std::max(settings->layoutFallbackWidth(), m_viewSize.width());
// If unset we use the viewport dimensions. This fits with the behavior of desktop browsers.
int deviceWidth = (settings->deviceWidth() > 0) ? settings->deviceWidth() : m_viewSize.width();
int deviceHeight = (settings->deviceHeight() > 0) ? settings->deviceHeight() : m_viewSize.height();
ViewportAttributes attr = computeViewportAttributes(m_page->viewportArguments(), minimumLayoutFallbackWidth, deviceWidth, deviceHeight, 1, m_viewSize);
FrameView* view = m_page->mainFrame()->view();
// If no layout was done yet set contentFixedOrigin to (0,0).
IntPoint contentFixedOrigin = view->didFirstLayout() ? view->fixedVisibleContentRect().location() : IntPoint();
// Put the width and height to the viewport width and height. In css units however.
// Use FloatSize to avoid truncated values during scale.
FloatSize contentFixedSize = m_viewSize;
#if ENABLE(CSS_DEVICE_ADAPTATION)
// CSS viewport descriptors might be applied to already affected viewport size
// if the page enables/disables stylesheets, so need to keep initial viewport size.
view->setInitialViewportSize(roundedIntSize(contentFixedSize));
#endif
contentFixedSize.scale(1 / attr.initialScale);
setFixedVisibleContentRect(IntRect(contentFixedOrigin, roundedIntSize(contentFixedSize)));
attr.initialScale = m_page->viewportArguments().zoom; // Resets auto (-1) if no value was set by user.
// This also takes care of the relayout.
setFixedLayoutSize(roundedIntSize(attr.layoutSize));
send(Messages::WebPageProxy::DidChangeViewportProperties(attr));
}
#endif
void WebPage::scrollMainFrameIfNotAtMaxScrollPosition(const IntSize& scrollOffset)
{
Frame* frame = m_page->mainFrame();
IntPoint scrollPosition = frame->view()->scrollPosition();
IntPoint maximumScrollPosition = frame->view()->maximumScrollPosition();
// If the current scroll position in a direction is the max scroll position
// we don't want to scroll at all.
IntSize newScrollOffset;
if (scrollPosition.x() < maximumScrollPosition.x())
newScrollOffset.setWidth(scrollOffset.width());
if (scrollPosition.y() < maximumScrollPosition.y())
newScrollOffset.setHeight(scrollOffset.height());
if (newScrollOffset.isZero())
return;
frame->view()->setScrollPosition(frame->view()->scrollPosition() + newScrollOffset);
}
void WebPage::drawRect(GraphicsContext& graphicsContext, const IntRect& rect)
{
GraphicsContextStateSaver stateSaver(graphicsContext);
graphicsContext.clip(rect);
if (m_underlayPage) {
m_underlayPage->drawRect(graphicsContext, rect);
graphicsContext.beginTransparencyLayer(1);
m_mainFrame->coreFrame()->view()->paint(&graphicsContext, rect);
graphicsContext.endTransparencyLayer();
return;
}
m_mainFrame->coreFrame()->view()->paint(&graphicsContext, rect);
}
void WebPage::drawPageOverlay(PageOverlay* pageOverlay, GraphicsContext& graphicsContext, const IntRect& rect)
{
ASSERT(pageOverlay);
GraphicsContextStateSaver stateSaver(graphicsContext);
graphicsContext.clip(rect);
pageOverlay->drawRect(graphicsContext, rect);
}
double WebPage::textZoomFactor() const
{
Frame* frame = m_mainFrame->coreFrame();
if (!frame)
return 1;
return frame->textZoomFactor();
}
void WebPage::setTextZoomFactor(double zoomFactor)
{
PluginView* pluginView = pluginViewForFrame(m_page->mainFrame());
if (pluginView && pluginView->handlesPageScaleFactor())
return;
Frame* frame = m_mainFrame->coreFrame();
if (!frame)
return;
frame->setTextZoomFactor(static_cast<float>(zoomFactor));
}
double WebPage::pageZoomFactor() const
{
PluginView* pluginView = pluginViewForFrame(m_page->mainFrame());
if (pluginView && pluginView->handlesPageScaleFactor())
return pluginView->pageScaleFactor();
Frame* frame = m_mainFrame->coreFrame();
if (!frame)
return 1;
return frame->pageZoomFactor();
}
void WebPage::setPageZoomFactor(double zoomFactor)
{
PluginView* pluginView = pluginViewForFrame(m_page->mainFrame());
if (pluginView && pluginView->handlesPageScaleFactor()) {
pluginView->setPageScaleFactor(zoomFactor, IntPoint());
return;
}
Frame* frame = m_mainFrame->coreFrame();
if (!frame)
return;
frame->setPageZoomFactor(static_cast<float>(zoomFactor));
}
void WebPage::setPageAndTextZoomFactors(double pageZoomFactor, double textZoomFactor)
{
PluginView* pluginView = pluginViewForFrame(m_page->mainFrame());
if (pluginView && pluginView->handlesPageScaleFactor()) {
pluginView->setPageScaleFactor(pageZoomFactor, IntPoint());
return;
}
Frame* frame = m_mainFrame->coreFrame();
if (!frame)
return;
return frame->setPageAndTextZoomFactors(static_cast<float>(pageZoomFactor), static_cast<float>(textZoomFactor));
}
void WebPage::windowScreenDidChange(uint64_t displayID)
{
m_page->windowScreenDidChange(static_cast<PlatformDisplayID>(displayID));
}
void WebPage::scalePage(double scale, const IntPoint& origin)
{
PluginView* pluginView = pluginViewForFrame(m_page->mainFrame());
if (pluginView && pluginView->handlesPageScaleFactor()) {
pluginView->setPageScaleFactor(scale, origin);
return;
}
m_page->setPageScaleFactor(scale, origin);
for (HashSet<PluginView*>::const_iterator it = m_pluginViews.begin(), end = m_pluginViews.end(); it != end; ++it)
(*it)->pageScaleFactorDidChange();
if (m_drawingArea->layerTreeHost())
m_drawingArea->layerTreeHost()->deviceOrPageScaleFactorChanged();
send(Messages::WebPageProxy::PageScaleFactorDidChange(scale));
}
double WebPage::pageScaleFactor() const
{
PluginView* pluginView = pluginViewForFrame(m_page->mainFrame());
if (pluginView && pluginView->handlesPageScaleFactor())
return pluginView->pageScaleFactor();
return m_page->pageScaleFactor();
}
void WebPage::setDeviceScaleFactor(float scaleFactor)
{
if (scaleFactor == m_page->deviceScaleFactor())
return;
m_page->setDeviceScaleFactor(scaleFactor);
// Tell all our plug-in views that the device scale factor changed.
#if PLATFORM(MAC)
for (HashSet<PluginView*>::const_iterator it = m_pluginViews.begin(), end = m_pluginViews.end(); it != end; ++it)
(*it)->setDeviceScaleFactor(scaleFactor);
updateHeaderAndFooterLayersForDeviceScaleChange(scaleFactor);
#endif
if (m_findController.isShowingOverlay()) {
// We must have updated layout to get the selection rects right.
layoutIfNeeded();
m_findController.deviceScaleFactorDidChange();
}
if (m_drawingArea->layerTreeHost())
m_drawingArea->layerTreeHost()->deviceOrPageScaleFactorChanged();
}
float WebPage::deviceScaleFactor() const
{
return m_page->deviceScaleFactor();
}
void WebPage::setUseFixedLayout(bool fixed)
{
// Do not overwrite current settings if initially setting it to false.
if (m_useFixedLayout == fixed)
return;
m_useFixedLayout = fixed;
m_page->settings()->setFixedElementsLayoutRelativeToFrame(fixed);
#if USE(COORDINATED_GRAPHICS)
m_page->settings()->setAcceleratedCompositingForFixedPositionEnabled(fixed);
m_page->settings()->setFixedPositionCreatesStackingContext(fixed);
m_page->settings()->setApplyPageScaleFactorInCompositor(fixed);
m_page->settings()->setScrollingCoordinatorEnabled(fixed);
#endif
#if USE(TILED_BACKING_STORE) && ENABLE(SMOOTH_SCROLLING)
// Delegated scrolling will be enabled when the FrameView is created if fixed layout is enabled.
// Ensure we don't do animated scrolling in the WebProcess in that case.
m_page->settings()->setScrollAnimatorEnabled(!fixed);
#endif
FrameView* view = mainFrameView();
if (!view)
return;
#if USE(TILED_BACKING_STORE)
view->setDelegatesScrolling(fixed);
view->setPaintsEntireContents(fixed);
#endif
view->setUseFixedLayout(fixed);
if (!fixed)
setFixedLayoutSize(IntSize());
}
void WebPage::setFixedLayoutSize(const IntSize& size)
{
FrameView* view = mainFrameView();
if (!view || view->fixedLayoutSize() == size)
return;
view->setFixedLayoutSize(size);
// Do not force it until the first layout, this would then become our first layout prematurely.
if (view->didFirstLayout())
view->forceLayout();
}
void WebPage::listenForLayoutMilestones(uint32_t milestones)
{
if (!m_page)
return;
m_page->addLayoutMilestones(static_cast<LayoutMilestones>(milestones));
}
void WebPage::setSuppressScrollbarAnimations(bool suppressAnimations)
{
m_page->setShouldSuppressScrollbarAnimations(suppressAnimations);
}
void WebPage::setRubberBandsAtBottom(bool rubberBandsAtBottom)
{
m_page->setRubberBandsAtBottom(rubberBandsAtBottom);
}
void WebPage::setRubberBandsAtTop(bool rubberBandsAtTop)
{
m_page->setRubberBandsAtTop(rubberBandsAtTop);
}
void WebPage::setPaginationMode(uint32_t mode)
{
Pagination pagination = m_page->pagination();
pagination.mode = static_cast<Pagination::Mode>(mode);
m_page->setPagination(pagination);
}
void WebPage::setPaginationBehavesLikeColumns(bool behavesLikeColumns)
{
Pagination pagination = m_page->pagination();
pagination.behavesLikeColumns = behavesLikeColumns;
m_page->setPagination(pagination);
}
void WebPage::setPageLength(double pageLength)
{
Pagination pagination = m_page->pagination();
pagination.pageLength = pageLength;
m_page->setPagination(pagination);
}
void WebPage::setGapBetweenPages(double gap)
{
Pagination pagination = m_page->pagination();
pagination.gap = gap;
m_page->setPagination(pagination);
}
void WebPage::postInjectedBundleMessage(const String& messageName, CoreIPC::MessageDecoder& decoder)
{
InjectedBundle* injectedBundle = WebProcess::shared().injectedBundle();
if (!injectedBundle)
return;
RefPtr<APIObject> messageBody;
InjectedBundleUserMessageDecoder messageBodyDecoder(messageBody);
if (!decoder.decode(messageBodyDecoder))
return;
injectedBundle->didReceiveMessageToPage(this, messageName, messageBody.get());
}
void WebPage::installPageOverlay(PassRefPtr<PageOverlay> pageOverlay, bool shouldFadeIn)
{
RefPtr<PageOverlay> overlay = pageOverlay;
if (m_pageOverlays.contains(overlay.get()))
return;
m_pageOverlays.append(overlay);
overlay->setPage(this);
if (shouldFadeIn)
overlay->startFadeInAnimation();
m_drawingArea->didInstallPageOverlay(overlay.get());
}
void WebPage::uninstallPageOverlay(PageOverlay* pageOverlay, bool shouldFadeOut)
{
size_t existingOverlayIndex = m_pageOverlays.find(pageOverlay);
if (existingOverlayIndex == notFound)
return;
if (shouldFadeOut) {
pageOverlay->startFadeOutAnimation();
return;
}
pageOverlay->setPage(0);
m_pageOverlays.remove(existingOverlayIndex);
m_drawingArea->didUninstallPageOverlay(pageOverlay);
}
void WebPage::setHeaderPageBanner(PassRefPtr<PageBanner> pageBanner)
{
if (m_headerBanner)
m_headerBanner->detachFromPage();
m_headerBanner = pageBanner;
if (m_headerBanner)
m_headerBanner->addToPage(PageBanner::Header, this);
}
PageBanner* WebPage::headerPageBanner()
{
return m_headerBanner.get();
}
void WebPage::setFooterPageBanner(PassRefPtr<PageBanner> pageBanner)
{
if (m_footerBanner)
m_footerBanner->detachFromPage();
m_footerBanner = pageBanner;
if (m_footerBanner)
m_footerBanner->addToPage(PageBanner::Footer, this);
}
PageBanner* WebPage::footerPageBanner()
{
return m_footerBanner.get();
}
void WebPage::hidePageBanners()
{
if (m_headerBanner)
m_headerBanner->hide();
if (m_footerBanner)
m_footerBanner->hide();
}
void WebPage::showPageBanners()
{
if (m_headerBanner)
m_headerBanner->showIfHidden();
if (m_footerBanner)
m_footerBanner->showIfHidden();
}
PassRefPtr<WebImage> WebPage::scaledSnapshotWithOptions(const IntRect& rect, double scaleFactor, SnapshotOptions options)
{
Frame* coreFrame = m_mainFrame->coreFrame();
if (!coreFrame)
return 0;
FrameView* frameView = coreFrame->view();
if (!frameView)
return 0;
IntSize bitmapSize = rect.size();
float combinedScaleFactor = scaleFactor * corePage()->deviceScaleFactor();
bitmapSize.scale(combinedScaleFactor);
RefPtr<WebImage> snapshot = WebImage::create(bitmapSize, snapshotOptionsToImageOptions(options));
if (!snapshot->bitmap())
return 0;
OwnPtr<WebCore::GraphicsContext> graphicsContext = snapshot->bitmap()->createGraphicsContext();
graphicsContext->clearRect(IntRect(IntPoint(), bitmapSize));
graphicsContext->applyDeviceScaleFactor(combinedScaleFactor);
graphicsContext->translate(-rect.x(), -rect.y());
FrameView::SelectionInSnaphot shouldPaintSelection = FrameView::IncludeSelection;
if (options & SnapshotOptionsExcludeSelectionHighlighting)
shouldPaintSelection = FrameView::ExcludeSelection;
FrameView::CoordinateSpaceForSnapshot coordinateSpace = FrameView::DocumentCoordinates;
if (options & SnapshotOptionsInViewCoordinates)
coordinateSpace = FrameView::ViewCoordinates;
frameView->paintContentsForSnapshot(graphicsContext.get(), rect, shouldPaintSelection, coordinateSpace);
if (options & SnapshotOptionsPaintSelectionRectangle) {
FloatRect selectionRectangle = m_mainFrame->coreFrame()->selection()->bounds();
graphicsContext->setStrokeColor(Color(0xFF, 0, 0), ColorSpaceDeviceRGB);
graphicsContext->strokeRect(selectionRectangle, 1);
}
return snapshot.release();
}
void WebPage::pageDidScroll()
{
m_uiClient.pageDidScroll(this);
send(Messages::WebPageProxy::PageDidScroll());
}
#if USE(TILED_BACKING_STORE)
void WebPage::pageDidRequestScroll(const IntPoint& point)
{
send(Messages::WebPageProxy::PageDidRequestScroll(point));
}
#endif
#if ENABLE(CONTEXT_MENUS)
WebContextMenu* WebPage::contextMenu()
{
if (!m_contextMenu)
m_contextMenu = WebContextMenu::create(this);
return m_contextMenu.get();
}
WebContextMenu* WebPage::contextMenuAtPointInWindow(const IntPoint& point)
{
corePage()->contextMenuController()->clearContextMenu();
// Simulate a mouse click to generate the correct menu.
PlatformMouseEvent mouseEvent(point, point, RightButton, PlatformEvent::MousePressed, 1, false, false, false, false, currentTime());
bool handled = corePage()->mainFrame()->eventHandler()->sendContextMenuEvent(mouseEvent);
if (!handled)
return 0;
return contextMenu();
}
#endif
// Events
static const WebEvent* g_currentEvent = 0;
// FIXME: WebPage::currentEvent is used by the plug-in code to avoid having to convert from DOM events back to
// WebEvents. When we get the event handling sorted out, this should go away and the Widgets should get the correct
// platform events passed to the event handler code.
const WebEvent* WebPage::currentEvent()
{
return g_currentEvent;
}
class CurrentEvent {
public:
explicit CurrentEvent(const WebEvent& event)
: m_previousCurrentEvent(g_currentEvent)
{
g_currentEvent = &event;
}
~CurrentEvent()
{
g_currentEvent = m_previousCurrentEvent;
}
private:
const WebEvent* m_previousCurrentEvent;
};
#if ENABLE(CONTEXT_MENUS)
static bool isContextClick(const PlatformMouseEvent& event)
{
if (event.button() == WebCore::RightButton)
return true;
#if PLATFORM(MAC)
// FIXME: this really should be about OSX-style UI, not about the Mac port
if (event.button() == WebCore::LeftButton && event.ctrlKey())
return true;
#endif
return false;
}
static bool handleContextMenuEvent(const PlatformMouseEvent& platformMouseEvent, WebPage* page)
{
IntPoint point = page->corePage()->mainFrame()->view()->windowToContents(platformMouseEvent.position());
HitTestResult result = page->corePage()->mainFrame()->eventHandler()->hitTestResultAtPoint(point);
Frame* frame = page->corePage()->mainFrame();
if (result.innerNonSharedNode())
frame = result.innerNonSharedNode()->document()->frame();
bool handled = frame->eventHandler()->sendContextMenuEvent(platformMouseEvent);
if (handled)
page->contextMenu()->show();
return handled;
}
#endif
static bool handleMouseEvent(const WebMouseEvent& mouseEvent, WebPage* page, bool onlyUpdateScrollbars)
{
Frame* frame = page->corePage()->mainFrame();
if (!frame->view())
return false;
PlatformMouseEvent platformMouseEvent = platform(mouseEvent);
switch (platformMouseEvent.type()) {
case PlatformEvent::MousePressed: {
#if ENABLE(CONTEXT_MENUS)
if (isContextClick(platformMouseEvent))
page->corePage()->contextMenuController()->clearContextMenu();
#endif
bool handled = frame->eventHandler()->handleMousePressEvent(platformMouseEvent);
#if ENABLE(CONTEXT_MENUS)
if (isContextClick(platformMouseEvent))
handled = handleContextMenuEvent(platformMouseEvent, page);
#endif
return handled;
}
case PlatformEvent::MouseReleased:
return frame->eventHandler()->handleMouseReleaseEvent(platformMouseEvent);
case PlatformEvent::MouseMoved:
if (onlyUpdateScrollbars)
return frame->eventHandler()->passMouseMovedEventToScrollbars(platformMouseEvent);
return frame->eventHandler()->mouseMoved(platformMouseEvent);
default:
ASSERT_NOT_REACHED();
return false;
}
}
void WebPage::mouseEvent(const WebMouseEvent& mouseEvent)
{
#if ENABLE(CONTEXT_MENUS)
// Don't try to handle any pending mouse events if a context menu is showing.
if (m_isShowingContextMenu) {
send(Messages::WebPageProxy::DidReceiveEvent(static_cast<uint32_t>(mouseEvent.type()), false));
return;
}
#endif
bool handled = false;
if (m_pageOverlays.size()) {
// Let the page overlay handle the event.
PageOverlayList::reverse_iterator end = m_pageOverlays.rend();
for (PageOverlayList::reverse_iterator it = m_pageOverlays.rbegin(); it != end; ++it)
if ((handled = (*it)->mouseEvent(mouseEvent)))
break;
}
if (!handled && m_headerBanner)
handled = m_headerBanner->mouseEvent(mouseEvent);
if (!handled && m_footerBanner)
handled = m_footerBanner->mouseEvent(mouseEvent);
if (!handled && canHandleUserEvents()) {
CurrentEvent currentEvent(mouseEvent);
// We need to do a full, normal hit test during this mouse event if the page is active or if a mouse
// button is currently pressed. It is possible that neither of those things will be true since on
// Lion when legacy scrollbars are enabled, WebKit receives mouse events all the time. If it is one
// of those cases where the page is not active and the mouse is not pressed, then we can fire a more
// efficient scrollbars-only version of the event.
bool onlyUpdateScrollbars = !(m_page->focusController()->isActive() || (mouseEvent.button() != WebMouseEvent::NoButton));
handled = handleMouseEvent(mouseEvent, this, onlyUpdateScrollbars);
}
send(Messages::WebPageProxy::DidReceiveEvent(static_cast<uint32_t>(mouseEvent.type()), handled));
}
void WebPage::mouseEventSyncForTesting(const WebMouseEvent& mouseEvent, bool& handled)
{
handled = false;
if (m_pageOverlays.size()) {
PageOverlayList::reverse_iterator end = m_pageOverlays.rend();
for (PageOverlayList::reverse_iterator it = m_pageOverlays.rbegin(); it != end; ++it)
if ((handled = (*it)->mouseEvent(mouseEvent)))
break;
}
if (!handled && m_headerBanner)
handled = m_headerBanner->mouseEvent(mouseEvent);
if (!handled && m_footerBanner)
handled = m_footerBanner->mouseEvent(mouseEvent);
if (!handled) {
CurrentEvent currentEvent(mouseEvent);
// We need to do a full, normal hit test during this mouse event if the page is active or if a mouse
// button is currently pressed. It is possible that neither of those things will be true since on
// Lion when legacy scrollbars are enabled, WebKit receives mouse events all the time. If it is one
// of those cases where the page is not active and the mouse is not pressed, then we can fire a more
// efficient scrollbars-only version of the event.
bool onlyUpdateScrollbars = !(m_page->focusController()->isActive() || (mouseEvent.button() != WebMouseEvent::NoButton));
handled = handleMouseEvent(mouseEvent, this, onlyUpdateScrollbars);
}
}
static bool handleWheelEvent(const WebWheelEvent& wheelEvent, Page* page)
{
Frame* frame = page->mainFrame();
if (!frame->view())
return false;
PlatformWheelEvent platformWheelEvent = platform(wheelEvent);
return frame->eventHandler()->handleWheelEvent(platformWheelEvent);
}
void WebPage::wheelEvent(const WebWheelEvent& wheelEvent)
{
bool handled = false;
if (canHandleUserEvents()) {
CurrentEvent currentEvent(wheelEvent);
handled = handleWheelEvent(wheelEvent, m_page.get());
}
send(Messages::WebPageProxy::DidReceiveEvent(static_cast<uint32_t>(wheelEvent.type()), handled));
}
void WebPage::wheelEventSyncForTesting(const WebWheelEvent& wheelEvent, bool& handled)
{
CurrentEvent currentEvent(wheelEvent);
handled = handleWheelEvent(wheelEvent, m_page.get());
}
static bool handleKeyEvent(const WebKeyboardEvent& keyboardEvent, Page* page)
{
if (!page->mainFrame()->view())
return false;
if (keyboardEvent.type() == WebEvent::Char && keyboardEvent.isSystemKey())
return page->focusController()->focusedOrMainFrame()->eventHandler()->handleAccessKey(platform(keyboardEvent));
return page->focusController()->focusedOrMainFrame()->eventHandler()->keyEvent(platform(keyboardEvent));
}
void WebPage::keyEvent(const WebKeyboardEvent& keyboardEvent)
{
bool handled = false;
if (canHandleUserEvents()) {
CurrentEvent currentEvent(keyboardEvent);
handled = handleKeyEvent(keyboardEvent, m_page.get());
// FIXME: Platform default behaviors should be performed during normal DOM event dispatch (in most cases, in default keydown event handler).
if (!handled)
handled = performDefaultBehaviorForKeyEvent(keyboardEvent);
}
send(Messages::WebPageProxy::DidReceiveEvent(static_cast<uint32_t>(keyboardEvent.type()), handled));
}
void WebPage::keyEventSyncForTesting(const WebKeyboardEvent& keyboardEvent, bool& handled)
{
CurrentEvent currentEvent(keyboardEvent);
handled = handleKeyEvent(keyboardEvent, m_page.get());
if (!handled)
handled = performDefaultBehaviorForKeyEvent(keyboardEvent);
}
#if ENABLE(GESTURE_EVENTS)
static bool handleGestureEvent(const WebGestureEvent& gestureEvent, Page* page)
{
Frame* frame = page->mainFrame();
if (!frame->view())
return false;
PlatformGestureEvent platformGestureEvent = platform(gestureEvent);
return frame->eventHandler()->handleGestureEvent(platformGestureEvent);
}
void WebPage::gestureEvent(const WebGestureEvent& gestureEvent)
{
bool handled = false;
if (canHandleUserEvents()) {
CurrentEvent currentEvent(gestureEvent);
handled = handleGestureEvent(gestureEvent, m_page.get());
}
send(Messages::WebPageProxy::DidReceiveEvent(static_cast<uint32_t>(gestureEvent.type()), handled));
}
#endif
WKTypeRef WebPage::pageOverlayCopyAccessibilityAttributeValue(WKStringRef attribute, WKTypeRef parameter)
{
if (!m_pageOverlays.size())
return 0;
PageOverlayList::reverse_iterator end = m_pageOverlays.rend();
for (PageOverlayList::reverse_iterator it = m_pageOverlays.rbegin(); it != end; ++it) {
WKTypeRef value = (*it)->copyAccessibilityAttributeValue(attribute, parameter);
if (value)
return value;
}
return 0;
}
WKArrayRef WebPage::pageOverlayCopyAccessibilityAttributesNames(bool parameterizedNames)
{
if (!m_pageOverlays.size())
return 0;
PageOverlayList::reverse_iterator end = m_pageOverlays.rend();
for (PageOverlayList::reverse_iterator it = m_pageOverlays.rbegin(); it != end; ++it) {
WKArrayRef value = (*it)->copyAccessibilityAttributeNames(parameterizedNames);
if (value)
return value;
}
return 0;
}
void WebPage::validateCommand(const String& commandName, uint64_t callbackID)
{
bool isEnabled = false;
int32_t state = 0;
Frame* frame = m_page->focusController()->focusedOrMainFrame();
if (frame) {
if (PluginView* pluginView = focusedPluginViewForFrame(frame))
isEnabled = pluginView->isEditingCommandEnabled(commandName);
else {
Editor::Command command = frame->editor().command(commandName);
state = command.state();
isEnabled = command.isSupported() && command.isEnabled();
}
}
send(Messages::WebPageProxy::ValidateCommandCallback(commandName, isEnabled, state, callbackID));
}
void WebPage::executeEditCommand(const String& commandName)
{
executeEditingCommand(commandName, String());
}
uint64_t WebPage::restoreSession(const SessionState& sessionState)
{
const BackForwardListItemVector& list = sessionState.list();
size_t size = list.size();
uint64_t currentItemID = 0;
for (size_t i = 0; i < size; ++i) {
WebBackForwardListItem* webItem = list[i].get();
DecoderAdapter decoder(webItem->backForwardData().data(), webItem->backForwardData().size());
RefPtr<HistoryItem> item = HistoryItem::decodeBackForwardTree(webItem->url(), webItem->title(), webItem->originalURL(), decoder);
if (!item) {
LOG_ERROR("Failed to decode a HistoryItem from session state data.");
return 0;
}
if (i == sessionState.currentIndex())
currentItemID = webItem->itemID();
WebBackForwardListProxy::addItemFromUIProcess(list[i]->itemID(), item.release());
}
ASSERT(currentItemID);
return currentItemID;
}
void WebPage::restoreSessionAndNavigateToCurrentItem(const SessionState& sessionState)
{
if (uint64_t currentItemID = restoreSession(sessionState))
goToBackForwardItem(currentItemID);
}
#if ENABLE(TOUCH_EVENTS)
#if PLATFORM(QT)
void WebPage::highlightPotentialActivation(const IntPoint& point, const IntSize& area)
{
if (point == IntPoint::zero()) {
// An empty point deactivates the highlighting.
tapHighlightController().hideHighlight();
} else {
Frame* mainframe = m_page->mainFrame();
Node* activationNode = 0;
Node* adjustedNode = 0;
IntPoint adjustedPoint;
#if ENABLE(TOUCH_ADJUSTMENT)
if (!mainframe->eventHandler()->bestClickableNodeForTouchPoint(point, IntSize(area.width() / 2, area.height() / 2), adjustedPoint, adjustedNode))
return;
#else
HitTestResult result = mainframe->eventHandler()->hitTestResultAtPoint(mainframe->view()->windowToContents(point), HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::IgnoreClipping | HitTestRequest::DisallowShadowContent);
adjustedNode = result.innerNode();
#endif
// Find the node to highlight. This is not the same as the node responding the tap gesture, because many
// pages has a global click handler and we do not want to highlight the body.
for (Node* node = adjustedNode; node; node = node->parentOrShadowHostNode()) {
if (node->isDocumentNode() || node->isFrameOwnerElement())
break;
// We always highlight focusable (form-elements), image links or content-editable elements.
if ((node->isElementNode() && toElement(node)->isMouseFocusable()) || node->isLink() || node->isContentEditable())
activationNode = node;
else if (node->willRespondToMouseClickEvents()) {
// Highlight elements with default mouse-click handlers, but highlight only inline elements with
// scripted event-handlers.
if (!node->Node::willRespondToMouseClickEvents() || (node->renderer() && node->renderer()->isInline()))
activationNode = node;
}
if (activationNode)
break;
}
if (activationNode)
tapHighlightController().highlight(activationNode);
}
}
#endif
static bool handleTouchEvent(const WebTouchEvent& touchEvent, Page* page)
{
Frame* frame = page->mainFrame();
if (!frame->view())
return false;
return frame->eventHandler()->handleTouchEvent(platform(touchEvent));
}
void WebPage::touchEvent(const WebTouchEvent& touchEvent)
{
bool handled = false;
if (canHandleUserEvents()) {
CurrentEvent currentEvent(touchEvent);
handled = handleTouchEvent(touchEvent, m_page.get());
}
send(Messages::WebPageProxy::DidReceiveEvent(static_cast<uint32_t>(touchEvent.type()), handled));
}
void WebPage::touchEventSyncForTesting(const WebTouchEvent& touchEvent, bool& handled)
{
CurrentEvent currentEvent(touchEvent);
handled = handleTouchEvent(touchEvent, m_page.get());
}
#endif
bool WebPage::scroll(Page* page, ScrollDirection direction, ScrollGranularity granularity)
{
return page->focusController()->focusedOrMainFrame()->eventHandler()->scrollRecursively(direction, granularity);
}
bool WebPage::logicalScroll(Page* page, ScrollLogicalDirection direction, ScrollGranularity granularity)
{
return page->focusController()->focusedOrMainFrame()->eventHandler()->logicalScrollRecursively(direction, granularity);
}
bool WebPage::scrollBy(uint32_t scrollDirection, uint32_t scrollGranularity)
{
return scroll(m_page.get(), static_cast<ScrollDirection>(scrollDirection), static_cast<ScrollGranularity>(scrollGranularity));
}
void WebPage::centerSelectionInVisibleArea()
{
Frame* frame = m_page->focusController()->focusedOrMainFrame();
if (!frame)
return;
frame->selection()->revealSelection(ScrollAlignment::alignCenterAlways);
m_findController.showFindIndicatorInSelection();
}
void WebPage::setActive(bool isActive)
{
m_page->focusController()->setActive(isActive);
#if PLATFORM(MAC)
// Tell all our plug-in views that the window focus changed.
for (HashSet<PluginView*>::const_iterator it = m_pluginViews.begin(), end = m_pluginViews.end(); it != end; ++it)
(*it)->setWindowIsFocused(isActive);
#endif
}
void WebPage::setDrawsBackground(bool drawsBackground)
{
if (m_drawsBackground == drawsBackground)
return;
m_drawsBackground = drawsBackground;
for (Frame* coreFrame = m_mainFrame->coreFrame(); coreFrame; coreFrame = coreFrame->tree()->traverseNext()) {
if (FrameView* view = coreFrame->view())
view->setTransparent(!drawsBackground);
}
m_drawingArea->pageBackgroundTransparencyChanged();
m_drawingArea->setNeedsDisplay();
}
void WebPage::setDrawsTransparentBackground(bool drawsTransparentBackground)
{
if (m_drawsTransparentBackground == drawsTransparentBackground)
return;
m_drawsTransparentBackground = drawsTransparentBackground;
Color backgroundColor = drawsTransparentBackground ? Color::transparent : Color::white;
for (Frame* coreFrame = m_mainFrame->coreFrame(); coreFrame; coreFrame = coreFrame->tree()->traverseNext()) {
if (FrameView* view = coreFrame->view())
view->setBaseBackgroundColor(backgroundColor);
}
m_drawingArea->pageBackgroundTransparencyChanged();
m_drawingArea->setNeedsDisplay();
}
void WebPage::viewWillStartLiveResize()
{
if (!m_page)
return;
// FIXME: This should propagate to all ScrollableAreas.
if (Frame* frame = m_page->focusController()->focusedOrMainFrame()) {
if (FrameView* view = frame->view())
view->willStartLiveResize();
}
}
void WebPage::viewWillEndLiveResize()
{
if (!m_page)
return;
// FIXME: This should propagate to all ScrollableAreas.
if (Frame* frame = m_page->focusController()->focusedOrMainFrame()) {
if (FrameView* view = frame->view())
view->willEndLiveResize();
}
}
void WebPage::setFocused(bool isFocused)
{
m_page->focusController()->setFocused(isFocused);
}
void WebPage::setInitialFocus(bool forward, bool isKeyboardEventValid, const WebKeyboardEvent& event)
{
if (!m_page || !m_page->focusController())
return;
Frame* frame = m_page->focusController()->focusedOrMainFrame();
frame->document()->setFocusedElement(0);
if (isKeyboardEventValid && event.type() == WebEvent::KeyDown) {
PlatformKeyboardEvent platformEvent(platform(event));
platformEvent.disambiguateKeyDownEvent(PlatformEvent::RawKeyDown);
m_page->focusController()->setInitialFocus(forward ? FocusDirectionForward : FocusDirectionBackward, KeyboardEvent::create(platformEvent, frame->document()->defaultView()).get());
return;
}
m_page->focusController()->setInitialFocus(forward ? FocusDirectionForward : FocusDirectionBackward, 0);
}
void WebPage::setWindowResizerSize(const IntSize& windowResizerSize)
{
if (m_windowResizerSize == windowResizerSize)
return;
m_windowResizerSize = windowResizerSize;
for (Frame* coreFrame = m_mainFrame->coreFrame(); coreFrame; coreFrame = coreFrame->tree()->traverseNext()) {
FrameView* view = coreFrame->view();
if (view)
view->windowResizerRectChanged();
}
}
void WebPage::setCanStartMediaTimerFired()
{
if (m_page)
m_page->setCanStartMedia(true);
}
#if !PLATFORM(MAC)
void WebPage::didUpdateInWindowStateTimerFired()
{
send(Messages::WebPageProxy::DidUpdateInWindowState());
}
#endif
inline bool WebPage::canHandleUserEvents() const
{
#if USE(TILED_BACKING_STORE)
// Should apply only if the area was frozen by didStartPageTransition().
return !m_drawingArea->layerTreeStateIsFrozen();
#endif
return true;
}
void WebPage::setIsInWindow(bool isInWindow, bool wantsDidUpdateViewInWindowState)
{
bool pageWasInWindow = m_page->isInWindow();
if (!isInWindow) {
m_setCanStartMediaTimer.stop();
m_page->setCanStartMedia(false);
m_page->willMoveOffscreen();
if (pageWasInWindow)
WebProcess::shared().pageWillLeaveWindow(m_pageID);
} else {
// Defer the call to Page::setCanStartMedia() since it ends up sending a synchronous message to the UI process
// in order to get plug-in connections, and the UI process will be waiting for the Web process to update the backing
// store after moving the view into a window, until it times out and paints white. See <rdar://problem/9242771>.
if (m_mayStartMediaWhenInWindow)
m_setCanStartMediaTimer.startOneShot(0);
m_page->didMoveOnscreen();
if (!pageWasInWindow)
WebProcess::shared().pageDidEnterWindow(m_pageID);
}
m_page->setIsInWindow(isInWindow);
if (wantsDidUpdateViewInWindowState)
m_sendDidUpdateInWindowStateTimer.startOneShot(0);
}
void WebPage::didReceivePolicyDecision(uint64_t frameID, uint64_t listenerID, uint32_t policyAction, uint64_t downloadID)
{
WebFrame* frame = WebProcess::shared().webFrame(frameID);
if (!frame)
return;
frame->didReceivePolicyDecision(listenerID, static_cast<PolicyAction>(policyAction), downloadID);
}
void WebPage::didStartPageTransition()
{
m_drawingArea->setLayerTreeStateIsFrozen(true);
}
void WebPage::didCompletePageTransition()
{
#if USE(TILED_BACKING_STORE)
if (m_mainFrame->coreFrame()->view()->delegatesScrolling())
// Wait until the UI process sent us the visible rect it wants rendered.
send(Messages::WebPageProxy::PageTransitionViewportReady());
else
#endif
m_drawingArea->setLayerTreeStateIsFrozen(false);
}
void WebPage::show()
{
send(Messages::WebPageProxy::ShowPage());
}
void WebPage::setUserAgent(const String& userAgent)
{
m_userAgent = userAgent;
}
void WebPage::suspendActiveDOMObjectsAndAnimations()
{
m_page->suspendActiveDOMObjectsAndAnimations();
}
void WebPage::resumeActiveDOMObjectsAndAnimations()
{
m_page->resumeActiveDOMObjectsAndAnimations();
}
IntPoint WebPage::screenToWindow(const IntPoint& point)
{
IntPoint windowPoint;
sendSync(Messages::WebPageProxy::ScreenToWindow(point), Messages::WebPageProxy::ScreenToWindow::Reply(windowPoint));
return windowPoint;
}
IntRect WebPage::windowToScreen(const IntRect& rect)
{
IntRect screenRect;
sendSync(Messages::WebPageProxy::WindowToScreen(rect), Messages::WebPageProxy::WindowToScreen::Reply(screenRect));
return screenRect;
}
IntRect WebPage::windowResizerRect() const
{
if (m_windowResizerSize.isEmpty())
return IntRect();
IntSize frameViewSize;
if (Frame* coreFrame = m_mainFrame->coreFrame()) {
if (FrameView* view = coreFrame->view())
frameViewSize = view->size();
}
return IntRect(frameViewSize.width() - m_windowResizerSize.width(), frameViewSize.height() - m_windowResizerSize.height(),
m_windowResizerSize.width(), m_windowResizerSize.height());
}
KeyboardUIMode WebPage::keyboardUIMode()
{
bool fullKeyboardAccessEnabled = WebProcess::shared().fullKeyboardAccessEnabled();
return static_cast<KeyboardUIMode>((fullKeyboardAccessEnabled ? KeyboardAccessFull : KeyboardAccessDefault) | (m_tabToLinks ? KeyboardAccessTabsToLinks : 0));
}
void WebPage::runJavaScriptInMainFrame(const String& script, uint64_t callbackID)
{
// NOTE: We need to be careful when running scripts that the objects we depend on don't
// disappear during script execution.
// Retain the SerializedScriptValue at this level so it (and the internal data) lives
// long enough for the DataReference to be encoded by the sent message.
RefPtr<SerializedScriptValue> serializedResultValue;
CoreIPC::DataReference dataReference;
JSLockHolder lock(JSDOMWindow::commonVM());
if (JSValue resultValue = m_mainFrame->coreFrame()->script()->executeScript(script, true).jsValue()) {
if ((serializedResultValue = SerializedScriptValue::create(m_mainFrame->jsContext(), toRef(m_mainFrame->coreFrame()->script()->globalObject(mainThreadNormalWorld())->globalExec(), resultValue), 0)))
dataReference = serializedResultValue->data();
}
send(Messages::WebPageProxy::ScriptValueCallback(dataReference, callbackID));
}
void WebPage::getContentsAsString(uint64_t callbackID)
{
String resultString = m_mainFrame->contentsAsString();
send(Messages::WebPageProxy::StringCallback(resultString, callbackID));
}
#if ENABLE(MHTML)
void WebPage::getContentsAsMHTMLData(uint64_t callbackID, bool useBinaryEncoding)
{
CoreIPC::DataReference dataReference;
RefPtr<SharedBuffer> buffer = useBinaryEncoding
? MHTMLArchive::generateMHTMLDataUsingBinaryEncoding(m_page.get())
: MHTMLArchive::generateMHTMLData(m_page.get());
if (buffer)
dataReference = CoreIPC::DataReference(reinterpret_cast<const uint8_t*>(buffer->data()), buffer->size());
send(Messages::WebPageProxy::DataCallback(dataReference, callbackID));
}
#endif
void WebPage::getRenderTreeExternalRepresentation(uint64_t callbackID)
{
String resultString = renderTreeExternalRepresentation();
send(Messages::WebPageProxy::StringCallback(resultString, callbackID));
}
static Frame* frameWithSelection(Page* page)
{
for (Frame* frame = page->mainFrame(); frame; frame = frame->tree()->traverseNext()) {
if (frame->selection()->isRange())
return frame;
}
return 0;
}
void WebPage::getSelectionAsWebArchiveData(uint64_t callbackID)
{
CoreIPC::DataReference dataReference;
#if PLATFORM(MAC)
RefPtr<LegacyWebArchive> archive;
RetainPtr<CFDataRef> data;
Frame* frame = frameWithSelection(m_page.get());
if (frame) {
archive = LegacyWebArchive::createFromSelection(frame);
data = archive->rawDataRepresentation();
dataReference = CoreIPC::DataReference(CFDataGetBytePtr(data.get()), CFDataGetLength(data.get()));
}
#endif
send(Messages::WebPageProxy::DataCallback(dataReference, callbackID));
}
void WebPage::getSelectionOrContentsAsString(uint64_t callbackID)
{
String resultString = m_mainFrame->selectionAsString();
if (resultString.isEmpty())
resultString = m_mainFrame->contentsAsString();
send(Messages::WebPageProxy::StringCallback(resultString, callbackID));
}
void WebPage::getSourceForFrame(uint64_t frameID, uint64_t callbackID)
{
String resultString;
if (WebFrame* frame = WebProcess::shared().webFrame(frameID))
resultString = frame->source();
send(Messages::WebPageProxy::StringCallback(resultString, callbackID));
}
void WebPage::getMainResourceDataOfFrame(uint64_t frameID, uint64_t callbackID)
{
CoreIPC::DataReference dataReference;
RefPtr<ResourceBuffer> buffer;
RefPtr<SharedBuffer> pdfResource;
if (WebFrame* frame = WebProcess::shared().webFrame(frameID)) {
if (PluginView* pluginView = pluginViewForFrame(frame->coreFrame())) {
if ((pdfResource = pluginView->liveResourceData()))
dataReference = CoreIPC::DataReference(reinterpret_cast<const uint8_t*>(pdfResource->data()), pdfResource->size());
}
if (dataReference.isEmpty()) {
if (DocumentLoader* loader = frame->coreFrame()->loader()->documentLoader()) {
if ((buffer = loader->mainResourceData()))
dataReference = CoreIPC::DataReference(reinterpret_cast<const uint8_t*>(buffer->data()), buffer->size());
}
}
}
send(Messages::WebPageProxy::DataCallback(dataReference, callbackID));
}
static PassRefPtr<SharedBuffer> resourceDataForFrame(Frame* frame, const KURL& resourceURL)
{
DocumentLoader* loader = frame->loader()->documentLoader();
if (!loader)
return 0;
RefPtr<ArchiveResource> subresource = loader->subresource(resourceURL);
if (!subresource)
return 0;
return subresource->data();
}
void WebPage::getResourceDataFromFrame(uint64_t frameID, const String& resourceURLString, uint64_t callbackID)
{
CoreIPC::DataReference dataReference;
KURL resourceURL(KURL(), resourceURLString);
RefPtr<SharedBuffer> buffer;
if (WebFrame* frame = WebProcess::shared().webFrame(frameID)) {
buffer = resourceDataForFrame(frame->coreFrame(), resourceURL);
if (!buffer) {
// Try to get the resource data from the cache.
buffer = cachedResponseDataForURL(resourceURL);
}
if (buffer)
dataReference = CoreIPC::DataReference(reinterpret_cast<const uint8_t*>(buffer->data()), buffer->size());
}
send(Messages::WebPageProxy::DataCallback(dataReference, callbackID));
}
void WebPage::getWebArchiveOfFrame(uint64_t frameID, uint64_t callbackID)
{
CoreIPC::DataReference dataReference;
#if PLATFORM(MAC)
RetainPtr<CFDataRef> data;
if (WebFrame* frame = WebProcess::shared().webFrame(frameID)) {
if ((data = frame->webArchiveData(0, 0)))
dataReference = CoreIPC::DataReference(CFDataGetBytePtr(data.get()), CFDataGetLength(data.get()));
}
#else
UNUSED_PARAM(frameID);
#endif
send(Messages::WebPageProxy::DataCallback(dataReference, callbackID));
}
void WebPage::forceRepaintWithoutCallback()
{
m_drawingArea->forceRepaint();
}
void WebPage::forceRepaint(uint64_t callbackID)
{
if (m_drawingArea->forceRepaintAsync(callbackID))
return;
forceRepaintWithoutCallback();
send(Messages::WebPageProxy::VoidCallback(callbackID));
}
void WebPage::preferencesDidChange(const WebPreferencesStore& store)
{
WebPreferencesStore::removeTestRunnerOverrides();
updatePreferences(store);
}
void WebPage::updatePreferences(const WebPreferencesStore& store)
{
Settings* settings = m_page->settings();
m_tabToLinks = store.getBoolValueForKey(WebPreferencesKey::tabsToLinksKey());
m_asynchronousPluginInitializationEnabled = store.getBoolValueForKey(WebPreferencesKey::asynchronousPluginInitializationEnabledKey());
m_asynchronousPluginInitializationEnabledForAllPlugins = store.getBoolValueForKey(WebPreferencesKey::asynchronousPluginInitializationEnabledForAllPluginsKey());
m_artificialPluginInitializationDelayEnabled = store.getBoolValueForKey(WebPreferencesKey::artificialPluginInitializationDelayEnabledKey());
m_scrollingPerformanceLoggingEnabled = store.getBoolValueForKey(WebPreferencesKey::scrollingPerformanceLoggingEnabledKey());
#if PLATFORM(MAC)
m_pdfPluginEnabled = store.getBoolValueForKey(WebPreferencesKey::pdfPluginEnabledKey());
#endif
// FIXME: This should be generated from macro expansion for all preferences,
// but we currently don't match the naming of WebCore exactly so we are
// handrolling the boolean and integer preferences until that is fixed.
#define INITIALIZE_SETTINGS(KeyUpper, KeyLower, TypeName, Type, DefaultValue) settings->set##KeyUpper(store.get##TypeName##ValueForKey(WebPreferencesKey::KeyLower##Key()));
FOR_EACH_WEBKIT_STRING_PREFERENCE(INITIALIZE_SETTINGS)
#undef INITIALIZE_SETTINGS
settings->setScriptEnabled(store.getBoolValueForKey(WebPreferencesKey::javaScriptEnabledKey()));
settings->setScriptMarkupEnabled(store.getBoolValueForKey(WebPreferencesKey::javaScriptMarkupEnabledKey()));
settings->setLoadsImagesAutomatically(store.getBoolValueForKey(WebPreferencesKey::loadsImagesAutomaticallyKey()));
settings->setLoadsSiteIconsIgnoringImageLoadingSetting(store.getBoolValueForKey(WebPreferencesKey::loadsSiteIconsIgnoringImageLoadingPreferenceKey()));
settings->setPluginsEnabled(store.getBoolValueForKey(WebPreferencesKey::pluginsEnabledKey()));
settings->setJavaEnabled(store.getBoolValueForKey(WebPreferencesKey::javaEnabledKey()));
settings->setJavaEnabledForLocalFiles(store.getBoolValueForKey(WebPreferencesKey::javaEnabledForLocalFilesKey()));
settings->setOfflineWebApplicationCacheEnabled(store.getBoolValueForKey(WebPreferencesKey::offlineWebApplicationCacheEnabledKey()));
settings->setLocalStorageEnabled(store.getBoolValueForKey(WebPreferencesKey::localStorageEnabledKey()));
settings->setXSSAuditorEnabled(store.getBoolValueForKey(WebPreferencesKey::xssAuditorEnabledKey()));
settings->setFrameFlatteningEnabled(store.getBoolValueForKey(WebPreferencesKey::frameFlatteningEnabledKey()));
settings->setPrivateBrowsingEnabled(store.getBoolValueForKey(WebPreferencesKey::privateBrowsingEnabledKey()));
settings->setDeveloperExtrasEnabled(store.getBoolValueForKey(WebPreferencesKey::developerExtrasEnabledKey()));
settings->setJavaScriptExperimentsEnabled(store.getBoolValueForKey(WebPreferencesKey::javaScriptExperimentsEnabledKey()));
settings->setTextAreasAreResizable(store.getBoolValueForKey(WebPreferencesKey::textAreasAreResizableKey()));
settings->setNeedsSiteSpecificQuirks(store.getBoolValueForKey(WebPreferencesKey::needsSiteSpecificQuirksKey()));
settings->setJavaScriptCanOpenWindowsAutomatically(store.getBoolValueForKey(WebPreferencesKey::javaScriptCanOpenWindowsAutomaticallyKey()));
settings->setForceFTPDirectoryListings(store.getBoolValueForKey(WebPreferencesKey::forceFTPDirectoryListingsKey()));
settings->setDNSPrefetchingEnabled(store.getBoolValueForKey(WebPreferencesKey::dnsPrefetchingEnabledKey()));
#if ENABLE(WEB_ARCHIVE)
settings->setWebArchiveDebugModeEnabled(store.getBoolValueForKey(WebPreferencesKey::webArchiveDebugModeEnabledKey()));
#endif
settings->setLocalFileContentSniffingEnabled(store.getBoolValueForKey(WebPreferencesKey::localFileContentSniffingEnabledKey()));
settings->setUsesPageCache(store.getBoolValueForKey(WebPreferencesKey::usesPageCacheKey()));
settings->setPageCacheSupportsPlugins(store.getBoolValueForKey(WebPreferencesKey::pageCacheSupportsPluginsKey()));
settings->setAuthorAndUserStylesEnabled(store.getBoolValueForKey(WebPreferencesKey::authorAndUserStylesEnabledKey()));
settings->setPaginateDuringLayoutEnabled(store.getBoolValueForKey(WebPreferencesKey::paginateDuringLayoutEnabledKey()));
settings->setDOMPasteAllowed(store.getBoolValueForKey(WebPreferencesKey::domPasteAllowedKey()));
settings->setJavaScriptCanAccessClipboard(store.getBoolValueForKey(WebPreferencesKey::javaScriptCanAccessClipboardKey()));
settings->setShouldPrintBackgrounds(store.getBoolValueForKey(WebPreferencesKey::shouldPrintBackgroundsKey()));
settings->setWebSecurityEnabled(store.getBoolValueForKey(WebPreferencesKey::webSecurityEnabledKey()));
settings->setAllowUniversalAccessFromFileURLs(store.getBoolValueForKey(WebPreferencesKey::allowUniversalAccessFromFileURLsKey()));
settings->setAllowFileAccessFromFileURLs(store.getBoolValueForKey(WebPreferencesKey::allowFileAccessFromFileURLsKey()));
settings->setMinimumFontSize(store.getUInt32ValueForKey(WebPreferencesKey::minimumFontSizeKey()));
settings->setMinimumLogicalFontSize(store.getUInt32ValueForKey(WebPreferencesKey::minimumLogicalFontSizeKey()));
settings->setDefaultFontSize(store.getUInt32ValueForKey(WebPreferencesKey::defaultFontSizeKey()));
settings->setDefaultFixedFontSize(store.getUInt32ValueForKey(WebPreferencesKey::defaultFixedFontSizeKey()));
settings->setScreenFontSubstitutionEnabled(store.getBoolValueForKey(WebPreferencesKey::screenFontSubstitutionEnabledKey())
#if PLATFORM(MAC)
|| WebProcess::shared().shouldForceScreenFontSubstitution()
#endif
);
settings->setLayoutFallbackWidth(store.getUInt32ValueForKey(WebPreferencesKey::layoutFallbackWidthKey()));
settings->setDeviceWidth(store.getUInt32ValueForKey(WebPreferencesKey::deviceWidthKey()));
settings->setDeviceHeight(store.getUInt32ValueForKey(WebPreferencesKey::deviceHeightKey()));
settings->setEditableLinkBehavior(static_cast<WebCore::EditableLinkBehavior>(store.getUInt32ValueForKey(WebPreferencesKey::editableLinkBehaviorKey())));
settings->setShowsToolTipOverTruncatedText(store.getBoolValueForKey(WebPreferencesKey::showsToolTipOverTruncatedTextKey()));
settings->setAcceleratedCompositingForOverflowScrollEnabled(store.getBoolValueForKey(WebPreferencesKey::acceleratedCompositingForOverflowScrollEnabledKey()));
settings->setAcceleratedCompositingEnabled(store.getBoolValueForKey(WebPreferencesKey::acceleratedCompositingEnabledKey()) && LayerTreeHost::supportsAcceleratedCompositing());
settings->setAcceleratedDrawingEnabled(store.getBoolValueForKey(WebPreferencesKey::acceleratedDrawingEnabledKey()) && LayerTreeHost::supportsAcceleratedCompositing());
settings->setCanvasUsesAcceleratedDrawing(store.getBoolValueForKey(WebPreferencesKey::canvasUsesAcceleratedDrawingKey()) && LayerTreeHost::supportsAcceleratedCompositing());
settings->setShowDebugBorders(store.getBoolValueForKey(WebPreferencesKey::compositingBordersVisibleKey()));
settings->setShowRepaintCounter(store.getBoolValueForKey(WebPreferencesKey::compositingRepaintCountersVisibleKey()));
settings->setShowTiledScrollingIndicator(store.getBoolValueForKey(WebPreferencesKey::tiledScrollingIndicatorVisibleKey()));
settings->setAggressiveTileRetentionEnabled(store.getBoolValueForKey(WebPreferencesKey::aggressiveTileRetentionEnabledKey()));
settings->setCSSCustomFilterEnabled(store.getBoolValueForKey(WebPreferencesKey::cssCustomFilterEnabledKey()));
RuntimeEnabledFeatures::setCSSRegionsEnabled(store.getBoolValueForKey(WebPreferencesKey::cssRegionsEnabledKey()));
RuntimeEnabledFeatures::setCSSCompositingEnabled(store.getBoolValueForKey(WebPreferencesKey::cssCompositingEnabledKey()));
settings->setCSSGridLayoutEnabled(store.getBoolValueForKey(WebPreferencesKey::cssGridLayoutEnabledKey()));
settings->setRegionBasedColumnsEnabled(store.getBoolValueForKey(WebPreferencesKey::regionBasedColumnsEnabledKey()));
settings->setWebGLEnabled(store.getBoolValueForKey(WebPreferencesKey::webGLEnabledKey()));
settings->setAccelerated2dCanvasEnabled(store.getBoolValueForKey(WebPreferencesKey::accelerated2dCanvasEnabledKey()));
settings->setMediaPlaybackRequiresUserGesture(store.getBoolValueForKey(WebPreferencesKey::mediaPlaybackRequiresUserGestureKey()));
settings->setMediaPlaybackAllowsInline(store.getBoolValueForKey(WebPreferencesKey::mediaPlaybackAllowsInlineKey()));
settings->setMockScrollbarsEnabled(store.getBoolValueForKey(WebPreferencesKey::mockScrollbarsEnabledKey()));
settings->setHyperlinkAuditingEnabled(store.getBoolValueForKey(WebPreferencesKey::hyperlinkAuditingEnabledKey()));
settings->setRequestAnimationFrameEnabled(store.getBoolValueForKey(WebPreferencesKey::requestAnimationFrameEnabledKey()));
#if ENABLE(SMOOTH_SCROLLING)
settings->setScrollAnimatorEnabled(store.getBoolValueForKey(WebPreferencesKey::scrollAnimatorEnabledKey()));
#endif
settings->setInteractiveFormValidationEnabled(store.getBoolValueForKey(WebPreferencesKey::interactiveFormValidationEnabledKey()));
#if ENABLE(SQL_DATABASE)
DatabaseManager::manager().setIsAvailable(store.getBoolValueForKey(WebPreferencesKey::databasesEnabledKey()));
#endif
#if ENABLE(FULLSCREEN_API)
settings->setFullScreenEnabled(store.getBoolValueForKey(WebPreferencesKey::fullScreenEnabledKey()));
#endif
#if USE(AVFOUNDATION)
settings->setAVFoundationEnabled(store.getBoolValueForKey(WebPreferencesKey::isAVFoundationEnabledKey()));
#endif
#if PLATFORM(MAC)
settings->setQTKitEnabled(store.getBoolValueForKey(WebPreferencesKey::isQTKitEnabledKey()));
#endif
#if ENABLE(WEB_AUDIO)
settings->setWebAudioEnabled(store.getBoolValueForKey(WebPreferencesKey::webAudioEnabledKey()));
#endif
settings->setApplicationChromeMode(store.getBoolValueForKey(WebPreferencesKey::applicationChromeModeKey()));
settings->setSuppressesIncrementalRendering(store.getBoolValueForKey(WebPreferencesKey::suppressesIncrementalRenderingKey()));
settings->setIncrementalRenderingSuppressionTimeoutInSeconds(store.getDoubleValueForKey(WebPreferencesKey::incrementalRenderingSuppressionTimeoutKey()));
settings->setBackspaceKeyNavigationEnabled(store.getBoolValueForKey(WebPreferencesKey::backspaceKeyNavigationEnabledKey()));
settings->setWantsBalancedSetDefersLoadingBehavior(store.getBoolValueForKey(WebPreferencesKey::wantsBalancedSetDefersLoadingBehaviorKey()));
settings->setCaretBrowsingEnabled(store.getBoolValueForKey(WebPreferencesKey::caretBrowsingEnabledKey()));
#if ENABLE(VIDEO_TRACK)
settings->setShouldDisplaySubtitles(store.getBoolValueForKey(WebPreferencesKey::shouldDisplaySubtitlesKey()));
settings->setShouldDisplayCaptions(store.getBoolValueForKey(WebPreferencesKey::shouldDisplayCaptionsKey()));
settings->setShouldDisplayTextDescriptions(store.getBoolValueForKey(WebPreferencesKey::shouldDisplayTextDescriptionsKey()));
#endif
#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
settings->setNotificationsEnabled(store.getBoolValueForKey(WebPreferencesKey::notificationsEnabledKey()));
#endif
settings->setShouldRespectImageOrientation(store.getBoolValueForKey(WebPreferencesKey::shouldRespectImageOrientationKey()));
settings->setStorageBlockingPolicy(static_cast<SecurityOrigin::StorageBlockingPolicy>(store.getUInt32ValueForKey(WebPreferencesKey::storageBlockingPolicyKey())));
settings->setCookieEnabled(store.getBoolValueForKey(WebPreferencesKey::cookieEnabledKey()));
settings->setDiagnosticLoggingEnabled(store.getBoolValueForKey(WebPreferencesKey::diagnosticLoggingEnabledKey()));
settings->setScrollingPerformanceLoggingEnabled(m_scrollingPerformanceLoggingEnabled);
settings->setPlugInSnapshottingEnabled(store.getBoolValueForKey(WebPreferencesKey::plugInSnapshottingEnabledKey()));
settings->setSnapshotAllPlugIns(store.getBoolValueForKey(WebPreferencesKey::snapshotAllPlugInsKey()));
settings->setAutostartOriginPlugInSnapshottingEnabled(store.getBoolValueForKey(WebPreferencesKey::autostartOriginPlugInSnapshottingEnabledKey()));
settings->setPrimaryPlugInSnapshotDetectionEnabled(store.getBoolValueForKey(WebPreferencesKey::primaryPlugInSnapshotDetectionEnabledKey()));
settings->setUsesEncodingDetector(store.getBoolValueForKey(WebPreferencesKey::usesEncodingDetectorKey()));
#if ENABLE(TEXT_AUTOSIZING)
settings->setTextAutosizingEnabled(store.getBoolValueForKey(WebPreferencesKey::textAutosizingEnabledKey()));
#endif
settings->setLogsPageMessagesToSystemConsoleEnabled(store.getBoolValueForKey(WebPreferencesKey::logsPageMessagesToSystemConsoleEnabledKey()));
settings->setAsynchronousSpellCheckingEnabled(store.getBoolValueForKey(WebPreferencesKey::asynchronousSpellCheckingEnabledKey()));
settings->setSmartInsertDeleteEnabled(store.getBoolValueForKey(WebPreferencesKey::smartInsertDeleteEnabledKey()));
settings->setSelectTrailingWhitespaceEnabled(store.getBoolValueForKey(WebPreferencesKey::selectTrailingWhitespaceEnabledKey()));
settings->setShowsURLsInToolTips(store.getBoolValueForKey(WebPreferencesKey::showsURLsInToolTipsEnabledKey()));
#if ENABLE(HIDDEN_PAGE_DOM_TIMER_THROTTLING)
settings->setHiddenPageDOMTimerThrottlingEnabled(store.getBoolValueForKey(WebPreferencesKey::hiddenPageDOMTimerThrottlingEnabledKey()));
#endif
#if ENABLE(PAGE_VISIBILITY_API)
settings->setHiddenPageCSSAnimationSuspensionEnabled(store.getBoolValueForKey(WebPreferencesKey::hiddenPageCSSAnimationSuspensionEnabledKey()));
#endif
settings->setLowPowerVideoAudioBufferSizeEnabled(store.getBoolValueForKey(WebPreferencesKey::lowPowerVideoAudioBufferSizeEnabledKey()));
platformPreferencesDidChange(store);
if (m_drawingArea)
m_drawingArea->updatePreferences(store);
}
#if ENABLE(INSPECTOR)
WebInspector* WebPage::inspector()
{
if (m_isClosed)
return 0;
if (!m_inspector)
m_inspector = WebInspector::create(this, m_inspectorClient);
return m_inspector.get();
}
#endif
#if ENABLE(FULLSCREEN_API)
WebFullScreenManager* WebPage::fullScreenManager()
{
if (!m_fullScreenManager)
m_fullScreenManager = WebFullScreenManager::create(this);
return m_fullScreenManager.get();
}
#endif
NotificationPermissionRequestManager* WebPage::notificationPermissionRequestManager()
{
if (m_notificationPermissionRequestManager)
return m_notificationPermissionRequestManager.get();
m_notificationPermissionRequestManager = NotificationPermissionRequestManager::create(this);
return m_notificationPermissionRequestManager.get();
}
#if !PLATFORM(GTK) && !PLATFORM(MAC)
bool WebPage::handleEditingKeyboardEvent(KeyboardEvent* evt)
{
Node* node = evt->target()->toNode();
ASSERT(node);
Frame* frame = node->document()->frame();
ASSERT(frame);
const PlatformKeyboardEvent* keyEvent = evt->keyEvent();
if (!keyEvent)
return false;
Editor::Command command = frame->editor().command(interpretKeyEvent(evt));
if (keyEvent->type() == PlatformEvent::RawKeyDown) {
// WebKit doesn't have enough information about mode to decide how commands that just insert text if executed via Editor should be treated,
// so we leave it upon WebCore to either handle them immediately (e.g. Tab that changes focus) or let a keypress event be generated
// (e.g. Tab that inserts a Tab character, or Enter).
return !command.isTextInsertion() && command.execute(evt);
}
if (command.execute(evt))
return true;
// Don't allow text insertion for nodes that cannot edit.
if (!frame->editor().canEdit())
return false;
// Don't insert null or control characters as they can result in unexpected behaviour
if (evt->charCode() < ' ')
return false;
return frame->editor().insertText(evt->keyEvent()->text(), evt);
}
#endif
#if ENABLE(DRAG_SUPPORT)
#if PLATFORM(QT) || PLATFORM(GTK)
void WebPage::performDragControllerAction(uint64_t action, WebCore::DragData dragData)
{
if (!m_page) {
send(Messages::WebPageProxy::DidPerformDragControllerAction(WebCore::DragSession()));
#if PLATFORM(QT)
QMimeData* data = const_cast<QMimeData*>(dragData.platformData());
delete data;
#elif PLATFORM(GTK)
DataObjectGtk* data = const_cast<DataObjectGtk*>(dragData.platformData());
data->deref();
#endif
return;
}
switch (action) {
case DragControllerActionEntered:
send(Messages::WebPageProxy::DidPerformDragControllerAction(m_page->dragController()->dragEntered(&dragData)));
break;
case DragControllerActionUpdated:
send(Messages::WebPageProxy::DidPerformDragControllerAction(m_page->dragController()->dragUpdated(&dragData)));
break;
case DragControllerActionExited:
m_page->dragController()->dragExited(&dragData);
break;
case DragControllerActionPerformDrag: {
m_page->dragController()->performDrag(&dragData);
break;
}
default:
ASSERT_NOT_REACHED();
}
// DragData does not delete its platformData so we need to do that here.
#if PLATFORM(QT)
QMimeData* data = const_cast<QMimeData*>(dragData.platformData());
delete data;
#elif PLATFORM(GTK)
DataObjectGtk* data = const_cast<DataObjectGtk*>(dragData.platformData());
data->deref();
#endif
}
#else
void WebPage::performDragControllerAction(uint64_t action, WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t draggingSourceOperationMask, const String& dragStorageName, uint32_t flags, const SandboxExtension::Handle& sandboxExtensionHandle, const SandboxExtension::HandleArray& sandboxExtensionsHandleArray)
{
if (!m_page) {
send(Messages::WebPageProxy::DidPerformDragControllerAction(WebCore::DragSession()));
return;
}
DragData dragData(dragStorageName, clientPosition, globalPosition, static_cast<DragOperation>(draggingSourceOperationMask), static_cast<DragApplicationFlags>(flags));
switch (action) {
case DragControllerActionEntered:
send(Messages::WebPageProxy::DidPerformDragControllerAction(m_page->dragController()->dragEntered(&dragData)));
break;
case DragControllerActionUpdated:
send(Messages::WebPageProxy::DidPerformDragControllerAction(m_page->dragController()->dragUpdated(&dragData)));
break;
case DragControllerActionExited:
m_page->dragController()->dragExited(&dragData);
break;
case DragControllerActionPerformDrag: {
ASSERT(!m_pendingDropSandboxExtension);
m_pendingDropSandboxExtension = SandboxExtension::create(sandboxExtensionHandle);
for (size_t i = 0; i < sandboxExtensionsHandleArray.size(); i++) {
if (RefPtr<SandboxExtension> extension = SandboxExtension::create(sandboxExtensionsHandleArray[i]))
m_pendingDropExtensionsForFileUpload.append(extension);
}
m_page->dragController()->performDrag(&dragData);
// If we started loading a local file, the sandbox extension tracker would have adopted this
// pending drop sandbox extension. If not, we'll play it safe and clear it.
m_pendingDropSandboxExtension = nullptr;
m_pendingDropExtensionsForFileUpload.clear();
break;
}
default:
ASSERT_NOT_REACHED();
}
}
#endif
void WebPage::dragEnded(WebCore::IntPoint clientPosition, WebCore::IntPoint globalPosition, uint64_t operation)
{
IntPoint adjustedClientPosition(clientPosition.x() + m_page->dragController()->dragOffset().x(), clientPosition.y() + m_page->dragController()->dragOffset().y());
IntPoint adjustedGlobalPosition(globalPosition.x() + m_page->dragController()->dragOffset().x(), globalPosition.y() + m_page->dragController()->dragOffset().y());
m_page->dragController()->dragEnded();
FrameView* view = m_page->mainFrame()->view();
if (!view)
return;
// FIXME: These are fake modifier keys here, but they should be real ones instead.
PlatformMouseEvent event(adjustedClientPosition, adjustedGlobalPosition, LeftButton, PlatformEvent::MouseMoved, 0, false, false, false, false, currentTime());
m_page->mainFrame()->eventHandler()->dragSourceEndedAt(event, (DragOperation)operation);
}
void WebPage::willPerformLoadDragDestinationAction()
{
m_sandboxExtensionTracker.willPerformLoadDragDestinationAction(m_pendingDropSandboxExtension.release());
}
void WebPage::mayPerformUploadDragDestinationAction()
{
for (size_t i = 0; i < m_pendingDropExtensionsForFileUpload.size(); i++)
m_pendingDropExtensionsForFileUpload[i]->consumePermanently();
m_pendingDropExtensionsForFileUpload.clear();
}
#endif // ENABLE(DRAG_SUPPORT)
WebUndoStep* WebPage::webUndoStep(uint64_t stepID)
{
return m_undoStepMap.get(stepID);
}
void WebPage::addWebUndoStep(uint64_t stepID, WebUndoStep* entry)
{
m_undoStepMap.set(stepID, entry);
}
void WebPage::removeWebEditCommand(uint64_t stepID)
{
m_undoStepMap.remove(stepID);
}
void WebPage::unapplyEditCommand(uint64_t stepID)
{
WebUndoStep* step = webUndoStep(stepID);
if (!step)
return;
step->step()->unapply();
}
void WebPage::reapplyEditCommand(uint64_t stepID)
{
WebUndoStep* step = webUndoStep(stepID);
if (!step)
return;
m_isInRedo = true;
step->step()->reapply();
m_isInRedo = false;
}
void WebPage::didRemoveEditCommand(uint64_t commandID)
{
removeWebEditCommand(commandID);
}
void WebPage::setActivePopupMenu(WebPopupMenu* menu)
{
m_activePopupMenu = menu;
}
#if ENABLE(INPUT_TYPE_COLOR)
void WebPage::setActiveColorChooser(WebColorChooser* colorChooser)
{
m_activeColorChooser = colorChooser;
}
void WebPage::didEndColorChooser()
{
m_activeColorChooser->didEndChooser();
}
void WebPage::didChooseColor(const WebCore::Color& color)
{
m_activeColorChooser->didChooseColor(color);
}
#endif
void WebPage::setActiveOpenPanelResultListener(PassRefPtr<WebOpenPanelResultListener> openPanelResultListener)
{
m_activeOpenPanelResultListener = openPanelResultListener;
}
bool WebPage::findStringFromInjectedBundle(const String& target, FindOptions options)
{
return m_page->findString(target, options);
}
void WebPage::findString(const String& string, uint32_t options, uint32_t maxMatchCount)
{
m_findController.findString(string, static_cast<FindOptions>(options), maxMatchCount);
}
void WebPage::findStringMatches(const String& string, uint32_t options, uint32_t maxMatchCount)
{
m_findController.findStringMatches(string, static_cast<FindOptions>(options), maxMatchCount);
}
void WebPage::getImageForFindMatch(uint32_t matchIndex)
{
m_findController.getImageForFindMatch(matchIndex);
}
void WebPage::selectFindMatch(uint32_t matchIndex)
{
m_findController.selectFindMatch(matchIndex);
}
void WebPage::hideFindUI()
{
m_findController.hideFindUI();
}
void WebPage::countStringMatches(const String& string, uint32_t options, uint32_t maxMatchCount)
{
m_findController.countStringMatches(string, static_cast<FindOptions>(options), maxMatchCount);
}
void WebPage::didChangeSelectedIndexForActivePopupMenu(int32_t newIndex)
{
changeSelectedIndex(newIndex);
m_activePopupMenu = 0;
}
void WebPage::changeSelectedIndex(int32_t index)
{
if (!m_activePopupMenu)
return;
m_activePopupMenu->didChangeSelectedIndex(index);
}
void WebPage::didChooseFilesForOpenPanel(const Vector<String>& files)
{
if (!m_activeOpenPanelResultListener)
return;
m_activeOpenPanelResultListener->didChooseFiles(files);
m_activeOpenPanelResultListener = 0;
}
void WebPage::didCancelForOpenPanel()
{
m_activeOpenPanelResultListener = 0;
}
#if ENABLE(WEB_PROCESS_SANDBOX)
void WebPage::extendSandboxForFileFromOpenPanel(const SandboxExtension::Handle& handle)
{
SandboxExtension::create(handle)->consumePermanently();
}
#endif
#if ENABLE(GEOLOCATION)
void WebPage::didReceiveGeolocationPermissionDecision(uint64_t geolocationID, bool allowed)
{
m_geolocationPermissionRequestManager.didReceiveGeolocationPermissionDecision(geolocationID, allowed);
}
#endif
void WebPage::didReceiveNotificationPermissionDecision(uint64_t notificationID, bool allowed)
{
notificationPermissionRequestManager()->didReceiveNotificationPermissionDecision(notificationID, allowed);
}
void WebPage::advanceToNextMisspelling(bool startBeforeSelection)
{
Frame* frame = m_page->focusController()->focusedOrMainFrame();
frame->editor().advanceToNextMisspelling(startBeforeSelection);
}
void WebPage::changeSpellingToWord(const String& word)
{
replaceSelectionWithText(m_page->focusController()->focusedOrMainFrame(), word);
}
void WebPage::unmarkAllMisspellings()
{
for (Frame* frame = m_page->mainFrame(); frame; frame = frame->tree()->traverseNext()) {
if (Document* document = frame->document())
document->markers()->removeMarkers(DocumentMarker::Spelling);
}
}
void WebPage::unmarkAllBadGrammar()
{
for (Frame* frame = m_page->mainFrame(); frame; frame = frame->tree()->traverseNext()) {
if (Document* document = frame->document())
document->markers()->removeMarkers(DocumentMarker::Grammar);
}
}
#if USE(APPKIT)
void WebPage::uppercaseWord()
{
m_page->focusController()->focusedOrMainFrame()->editor().uppercaseWord();
}
void WebPage::lowercaseWord()
{
m_page->focusController()->focusedOrMainFrame()->editor().lowercaseWord();
}
void WebPage::capitalizeWord()
{
m_page->focusController()->focusedOrMainFrame()->editor().capitalizeWord();
}
#endif
void WebPage::setTextForActivePopupMenu(int32_t index)
{
if (!m_activePopupMenu)
return;
m_activePopupMenu->setTextForIndex(index);
}
#if PLATFORM(GTK)
void WebPage::failedToShowPopupMenu()
{
if (!m_activePopupMenu)
return;
m_activePopupMenu->client()->popupDidHide();
}
#endif
#if ENABLE(CONTEXT_MENUS)
void WebPage::didSelectItemFromActiveContextMenu(const WebContextMenuItemData& item)
{
if (!m_contextMenu)
return;
m_contextMenu->itemSelected(item);
m_contextMenu = 0;
}
#endif
void WebPage::replaceSelectionWithText(Frame* frame, const String& text)
{
bool selectReplacement = true;
bool smartReplace = false;
return frame->editor().replaceSelectionWithText(text, selectReplacement, smartReplace);
}
void WebPage::clearSelection()
{
m_page->focusController()->focusedOrMainFrame()->selection()->clear();
}
bool WebPage::mainFrameHasCustomRepresentation() const
{
if (Frame* frame = mainFrame()) {
WebFrameLoaderClient* webFrameLoaderClient = toWebFrameLoaderClient(frame->loader()->client());
ASSERT(webFrameLoaderClient);
return webFrameLoaderClient->frameHasCustomRepresentation();
}
return false;
}
void WebPage::didChangeScrollOffsetForMainFrame()
{
Frame* frame = m_page->mainFrame();
IntPoint scrollPosition = frame->view()->scrollPosition();
IntPoint maximumScrollPosition = frame->view()->maximumScrollPosition();
IntPoint minimumScrollPosition = frame->view()->minimumScrollPosition();
bool isPinnedToLeftSide = (scrollPosition.x() <= minimumScrollPosition.x());
bool isPinnedToRightSide = (scrollPosition.x() >= maximumScrollPosition.x());
bool isPinnedToTopSide = (scrollPosition.y() <= minimumScrollPosition.y());
bool isPinnedToBottomSide = (scrollPosition.y() >= maximumScrollPosition.y());
if (isPinnedToLeftSide != m_cachedMainFrameIsPinnedToLeftSide || isPinnedToRightSide != m_cachedMainFrameIsPinnedToRightSide || isPinnedToTopSide != m_cachedMainFrameIsPinnedToTopSide || isPinnedToBottomSide != m_cachedMainFrameIsPinnedToBottomSide) {
send(Messages::WebPageProxy::DidChangeScrollOffsetPinningForMainFrame(isPinnedToLeftSide, isPinnedToRightSide, isPinnedToTopSide, isPinnedToBottomSide));
m_cachedMainFrameIsPinnedToLeftSide = isPinnedToLeftSide;
m_cachedMainFrameIsPinnedToRightSide = isPinnedToRightSide;
m_cachedMainFrameIsPinnedToTopSide = isPinnedToTopSide;
m_cachedMainFrameIsPinnedToBottomSide = isPinnedToBottomSide;
}
}
void WebPage::mainFrameDidLayout()
{
unsigned pageCount = m_page->pageCount();
if (pageCount != m_cachedPageCount) {
send(Messages::WebPageProxy::DidChangePageCount(pageCount));
m_cachedPageCount = pageCount;
}
#if USE(TILED_BACKING_STORE) && USE(ACCELERATED_COMPOSITING)
if (m_drawingArea && m_drawingArea->layerTreeHost()) {
double red, green, blue, alpha;
m_mainFrame->getDocumentBackgroundColor(&red, &green, &blue, &alpha);
RGBA32 rgba = makeRGBA32FromFloats(red, green, blue, alpha);
if (m_backgroundColor.rgb() != rgba) {
m_backgroundColor.setRGB(rgba);
m_drawingArea->layerTreeHost()->setBackgroundColor(m_backgroundColor);
}
}
#endif
}
void WebPage::addPluginView(PluginView* pluginView)
{
ASSERT(!m_pluginViews.contains(pluginView));
m_pluginViews.add(pluginView);
#if ENABLE(PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC)
m_determinePrimarySnapshottedPlugInTimer.startOneShot(0);
#endif
}
void WebPage::removePluginView(PluginView* pluginView)
{
ASSERT(m_pluginViews.contains(pluginView));
m_pluginViews.remove(pluginView);
}
void WebPage::sendSetWindowFrame(const FloatRect& windowFrame)
{
#if PLATFORM(MAC)
m_hasCachedWindowFrame = false;
#endif
send(Messages::WebPageProxy::SetWindowFrame(windowFrame));
}
#if PLATFORM(MAC)
void WebPage::setWindowIsVisible(bool windowIsVisible)
{
m_windowIsVisible = windowIsVisible;
corePage()->focusController()->setContainingWindowIsVisible(windowIsVisible);
// Tell all our plug-in views that the window visibility changed.
for (HashSet<PluginView*>::const_iterator it = m_pluginViews.begin(), end = m_pluginViews.end(); it != end; ++it)
(*it)->setWindowIsVisible(windowIsVisible);
}
void WebPage::windowAndViewFramesChanged(const FloatRect& windowFrameInScreenCoordinates, const FloatRect& windowFrameInUnflippedScreenCoordinates, const FloatRect& viewFrameInWindowCoordinates, const FloatPoint& accessibilityViewCoordinates)
{
m_windowFrameInScreenCoordinates = windowFrameInScreenCoordinates;
m_windowFrameInUnflippedScreenCoordinates = windowFrameInUnflippedScreenCoordinates;
m_viewFrameInWindowCoordinates = viewFrameInWindowCoordinates;
m_accessibilityPosition = accessibilityViewCoordinates;
// Tell all our plug-in views that the window and view frames have changed.
for (HashSet<PluginView*>::const_iterator it = m_pluginViews.begin(), end = m_pluginViews.end(); it != end; ++it)
(*it)->windowAndViewFramesChanged(enclosingIntRect(windowFrameInScreenCoordinates), enclosingIntRect(viewFrameInWindowCoordinates));
m_hasCachedWindowFrame = !m_windowFrameInUnflippedScreenCoordinates.isEmpty();
}
#endif
void WebPage::viewExposedRectChanged(const FloatRect& exposedRect, bool clipsToExposedRect)
{
m_drawingArea->setExposedRect(exposedRect);
m_drawingArea->setClipsToExposedRect(clipsToExposedRect);
}
void WebPage::setMainFrameIsScrollable(bool isScrollable)
{
m_mainFrameIsScrollable = isScrollable;
m_drawingArea->mainFrameScrollabilityChanged(isScrollable);
if (FrameView* frameView = m_mainFrame->coreFrame()->view()) {
frameView->setCanHaveScrollbars(isScrollable);
frameView->setProhibitsScrolling(!isScrollable);
}
}
bool WebPage::windowIsFocused() const
{
return m_page->focusController()->isActive();
}
bool WebPage::windowAndWebPageAreFocused() const
{
#if PLATFORM(MAC)
if (!m_windowIsVisible)
return false;
#endif
return m_page->focusController()->isFocused() && m_page->focusController()->isActive();
}
void WebPage::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder)
{
if (decoder.messageReceiverName() == Messages::DrawingArea::messageReceiverName()) {
if (m_drawingArea)
m_drawingArea->didReceiveDrawingAreaMessage(connection, decoder);
return;
}
#if USE(TILED_BACKING_STORE) && USE(ACCELERATED_COMPOSITING)
if (decoder.messageReceiverName() == Messages::CoordinatedLayerTreeHost::messageReceiverName()) {
if (m_drawingArea)
m_drawingArea->didReceiveCoordinatedLayerTreeHostMessage(connection, decoder);
return;
}
#endif
#if ENABLE(INSPECTOR)
if (decoder.messageReceiverName() == Messages::WebInspector::messageReceiverName()) {
if (WebInspector* inspector = this->inspector())
inspector->didReceiveWebInspectorMessage(connection, decoder);
return;
}
#endif
#if ENABLE(FULLSCREEN_API)
if (decoder.messageReceiverName() == Messages::WebFullScreenManager::messageReceiverName()) {
fullScreenManager()->didReceiveMessage(connection, decoder);
return;
}
#endif
didReceiveWebPageMessage(connection, decoder);
}
void WebPage::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder, OwnPtr<CoreIPC::MessageEncoder>& replyEncoder)
{
didReceiveSyncWebPageMessage(connection, decoder, replyEncoder);
}
InjectedBundleBackForwardList* WebPage::backForwardList()
{
if (!m_backForwardList)
m_backForwardList = InjectedBundleBackForwardList::create(this);
return m_backForwardList.get();
}
#if PLATFORM(QT)
#if ENABLE(TOUCH_ADJUSTMENT)
void WebPage::findZoomableAreaForPoint(const WebCore::IntPoint& point, const WebCore::IntSize& area)
{
Node* node = 0;
IntRect zoomableArea;
bool foundAreaForTouchPoint = m_mainFrame->coreFrame()->eventHandler()->bestZoomableAreaForTouchPoint(point, IntSize(area.width() / 2, area.height() / 2), zoomableArea, node);
if (!foundAreaForTouchPoint)
return;
ASSERT(node);
if (node->document() && node->document()->view())
zoomableArea = node->document()->view()->contentsToWindow(zoomableArea);
send(Messages::WebPageProxy::DidFindZoomableArea(point, zoomableArea));
}
#else
void WebPage::findZoomableAreaForPoint(const WebCore::IntPoint& point, const WebCore::IntSize& area)
{
UNUSED_PARAM(area);
Frame* mainframe = m_mainFrame->coreFrame();
HitTestResult result = mainframe->eventHandler()->hitTestResultAtPoint(mainframe->view()->windowToContents(point), HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::IgnoreClipping | HitTestRequest::DisallowShadowContent);
Node* node = result.innerNode();
if (!node)
return;
IntRect zoomableArea = node->getRect();
while (true) {
bool found = !node->isTextNode() && !node->isShadowRoot();
// No candidate found, bail out.
if (!found && !node->parentNode())
return;
// Candidate found, and it is a better candidate than its parent.
// NB: A parent is considered a better candidate iff the node is
// contained by it and it is the only child.
if (found && (!node->parentNode() || node->parentNode()->childNodeCount() != 1))
break;
node = node->parentNode();
zoomableArea.unite(node->getRect());
}
if (node->document() && node->document()->frame() && node->document()->frame()->view()) {
const ScrollView* view = node->document()->frame()->view();
zoomableArea = view->contentsToWindow(zoomableArea);
}
send(Messages::WebPageProxy::DidFindZoomableArea(point, zoomableArea));
}
#endif
#endif
WebPage::SandboxExtensionTracker::~SandboxExtensionTracker()
{
invalidate();
}
void WebPage::SandboxExtensionTracker::invalidate()
{
m_pendingProvisionalSandboxExtension = nullptr;
if (m_provisionalSandboxExtension) {
m_provisionalSandboxExtension->revoke();
m_provisionalSandboxExtension = nullptr;
}
if (m_committedSandboxExtension) {
m_committedSandboxExtension->revoke();
m_committedSandboxExtension = nullptr;
}
}
void WebPage::SandboxExtensionTracker::willPerformLoadDragDestinationAction(PassRefPtr<SandboxExtension> pendingDropSandboxExtension)
{
setPendingProvisionalSandboxExtension(pendingDropSandboxExtension);
}
void WebPage::SandboxExtensionTracker::beginLoad(WebFrame* frame, const SandboxExtension::Handle& handle)
{
ASSERT_UNUSED(frame, frame->isMainFrame());
setPendingProvisionalSandboxExtension(SandboxExtension::create(handle));
}
void WebPage::SandboxExtensionTracker::setPendingProvisionalSandboxExtension(PassRefPtr<SandboxExtension> pendingProvisionalSandboxExtension)
{
m_pendingProvisionalSandboxExtension = pendingProvisionalSandboxExtension;
}
static bool shouldReuseCommittedSandboxExtension(WebFrame* frame)
{
ASSERT(frame->isMainFrame());
FrameLoader* frameLoader = frame->coreFrame()->loader();
FrameLoadType frameLoadType = frameLoader->loadType();
// If the page is being reloaded, it should reuse whatever extension is committed.
if (frameLoadType == FrameLoadTypeReload || frameLoadType == FrameLoadTypeReloadFromOrigin)
return true;
DocumentLoader* documentLoader = frameLoader->documentLoader();
DocumentLoader* provisionalDocumentLoader = frameLoader->provisionalDocumentLoader();
if (!documentLoader || !provisionalDocumentLoader)
return false;
if (documentLoader->url().isLocalFile() && provisionalDocumentLoader->url().isLocalFile())
return true;
return false;
}
void WebPage::SandboxExtensionTracker::didStartProvisionalLoad(WebFrame* frame)
{
if (!frame->isMainFrame())
return;
// We should only reuse the commited sandbox extension if it is not null. It can be
// null if the last load was for an error page.
if (m_committedSandboxExtension && shouldReuseCommittedSandboxExtension(frame))
m_pendingProvisionalSandboxExtension = m_committedSandboxExtension;
ASSERT(!m_provisionalSandboxExtension);
m_provisionalSandboxExtension = m_pendingProvisionalSandboxExtension.release();
if (!m_provisionalSandboxExtension)
return;
ASSERT(!m_provisionalSandboxExtension || frame->coreFrame()->loader()->provisionalDocumentLoader()->url().isLocalFile());
m_provisionalSandboxExtension->consume();
}
void WebPage::SandboxExtensionTracker::didCommitProvisionalLoad(WebFrame* frame)
{
if (!frame->isMainFrame())
return;
if (m_committedSandboxExtension)
m_committedSandboxExtension->revoke();
m_committedSandboxExtension = m_provisionalSandboxExtension.release();
// We can also have a non-null m_pendingProvisionalSandboxExtension if a new load is being started.
// This extension is not cleared, because it does not pertain to the failed load, and will be needed.
}
void WebPage::SandboxExtensionTracker::didFailProvisionalLoad(WebFrame* frame)
{
if (!frame->isMainFrame())
return;
if (!m_provisionalSandboxExtension)
return;
m_provisionalSandboxExtension->revoke();
m_provisionalSandboxExtension = nullptr;
// We can also have a non-null m_pendingProvisionalSandboxExtension if a new load is being started
// (notably, if the current one fails because the new one cancels it). This extension is not cleared,
// because it does not pertain to the failed load, and will be needed.
}
bool WebPage::hasLocalDataForURL(const KURL& url)
{
if (url.isLocalFile())
return true;
FrameLoader* frameLoader = m_page->mainFrame()->loader();
DocumentLoader* documentLoader = frameLoader ? frameLoader->documentLoader() : 0;
if (documentLoader && documentLoader->subresource(url))
return true;
return platformHasLocalDataForURL(url);
}
void WebPage::setCustomTextEncodingName(const String& encoding)
{
m_page->mainFrame()->loader()->reloadWithOverrideEncoding(encoding);
}
void WebPage::didRemoveBackForwardItem(uint64_t itemID)
{
WebBackForwardListProxy::removeItem(itemID);
}
#if PLATFORM(MAC)
bool WebPage::isSpeaking()
{
bool result;
return sendSync(Messages::WebPageProxy::GetIsSpeaking(), Messages::WebPageProxy::GetIsSpeaking::Reply(result)) && result;
}
void WebPage::speak(const String& string)
{
send(Messages::WebPageProxy::Speak(string));
}
void WebPage::stopSpeaking()
{
send(Messages::WebPageProxy::StopSpeaking());
}
#endif
#if PLATFORM(MAC)
RetainPtr<PDFDocument> WebPage::pdfDocumentForPrintingFrame(Frame* coreFrame)
{
Document* document = coreFrame->document();
if (!document)
return 0;
if (!document->isPluginDocument())
return 0;
PluginView* pluginView = static_cast<PluginView*>(toPluginDocument(document)->pluginWidget());
if (!pluginView)
return 0;
return pluginView->pdfDocumentForPrinting();
}
#endif // PLATFORM(MAC)
void WebPage::beginPrinting(uint64_t frameID, const PrintInfo& printInfo)
{
WebFrame* frame = WebProcess::shared().webFrame(frameID);
if (!frame)
return;
Frame* coreFrame = frame->coreFrame();
if (!coreFrame)
return;
#if PLATFORM(MAC)
if (pdfDocumentForPrintingFrame(coreFrame))
return;
#endif // PLATFORM(MAC)
if (!m_printContext)
m_printContext = adoptPtr(new PrintContext(coreFrame));
drawingArea()->setLayerTreeStateIsFrozen(true);
m_printContext->begin(printInfo.availablePaperWidth, printInfo.availablePaperHeight);
float fullPageHeight;
m_printContext->computePageRects(FloatRect(0, 0, printInfo.availablePaperWidth, printInfo.availablePaperHeight), 0, 0, printInfo.pageSetupScaleFactor, fullPageHeight, true);
#if PLATFORM(GTK)
if (!m_printOperation)
m_printOperation = WebPrintOperationGtk::create(this, printInfo);
#endif
}
void WebPage::endPrinting()
{
drawingArea()->setLayerTreeStateIsFrozen(false);
#if PLATFORM(GTK)
m_printOperation = 0;
#endif
m_printContext = nullptr;
}
void WebPage::computePagesForPrinting(uint64_t frameID, const PrintInfo& printInfo, uint64_t callbackID)
{
Vector<IntRect> resultPageRects;
double resultTotalScaleFactorForPrinting = 1;
beginPrinting(frameID, printInfo);
if (m_printContext) {
resultPageRects = m_printContext->pageRects();
resultTotalScaleFactorForPrinting = m_printContext->computeAutomaticScaleFactor(FloatSize(printInfo.availablePaperWidth, printInfo.availablePaperHeight)) * printInfo.pageSetupScaleFactor;
}
#if PLATFORM(MAC)
else
computePagesForPrintingPDFDocument(frameID, printInfo, resultPageRects);
#endif // PLATFORM(MAC)
// If we're asked to print, we should actually print at least a blank page.
if (resultPageRects.isEmpty())
resultPageRects.append(IntRect(0, 0, 1, 1));
send(Messages::WebPageProxy::ComputedPagesCallback(resultPageRects, resultTotalScaleFactorForPrinting, callbackID));
}
#if PLATFORM(MAC)
void WebPage::drawRectToImage(uint64_t frameID, const PrintInfo& printInfo, const IntRect& rect, const WebCore::IntSize& imageSize, uint64_t callbackID)
{
WebFrame* frame = WebProcess::shared().webFrame(frameID);
Frame* coreFrame = frame ? frame->coreFrame() : 0;
RefPtr<WebImage> image;
#if USE(CG)
if (coreFrame) {
#if PLATFORM(MAC)
ASSERT(coreFrame->document()->printing() || pdfDocumentForPrintingFrame(coreFrame));
#else
ASSERT(coreFrame->document()->printing());
#endif
RefPtr<ShareableBitmap> bitmap = ShareableBitmap::createShareable(imageSize, ShareableBitmap::SupportsAlpha);
OwnPtr<GraphicsContext> graphicsContext = bitmap->createGraphicsContext();
float printingScale = static_cast<float>(imageSize.width()) / rect.width();
graphicsContext->scale(FloatSize(printingScale, printingScale));
#if PLATFORM(MAC)
if (RetainPtr<PDFDocument> pdfDocument = pdfDocumentForPrintingFrame(coreFrame)) {
ASSERT(!m_printContext);
graphicsContext->scale(FloatSize(1, -1));
graphicsContext->translate(0, -rect.height());
drawPDFDocument(graphicsContext->platformContext(), pdfDocument.get(), printInfo, rect);
} else
#endif
{
m_printContext->spoolRect(*graphicsContext, rect);
}
image = WebImage::create(bitmap.release());
}
#endif
ShareableBitmap::Handle handle;
if (image)
image->bitmap()->createHandle(handle, SharedMemory::ReadOnly);
send(Messages::WebPageProxy::ImageCallback(handle, callbackID));
}
void WebPage::drawPagesToPDF(uint64_t frameID, const PrintInfo& printInfo, uint32_t first, uint32_t count, uint64_t callbackID)
{
WebFrame* frame = WebProcess::shared().webFrame(frameID);
Frame* coreFrame = frame ? frame->coreFrame() : 0;
RetainPtr<CFMutableDataRef> pdfPageData = adoptCF(CFDataCreateMutable(0, 0));
#if USE(CG)
if (coreFrame) {
#if PLATFORM(MAC)
ASSERT(coreFrame->document()->printing() || pdfDocumentForPrintingFrame(coreFrame));
#else
ASSERT(coreFrame->document()->printing());
#endif
// FIXME: Use CGDataConsumerCreate with callbacks to avoid copying the data.
RetainPtr<CGDataConsumerRef> pdfDataConsumer = adoptCF(CGDataConsumerCreateWithCFData(pdfPageData.get()));
CGRect mediaBox = (m_printContext && m_printContext->pageCount()) ? m_printContext->pageRect(0) : CGRectMake(0, 0, printInfo.availablePaperWidth, printInfo.availablePaperHeight);
RetainPtr<CGContextRef> context = adoptCF(CGPDFContextCreate(pdfDataConsumer.get(), &mediaBox, 0));
#if PLATFORM(MAC)
if (RetainPtr<PDFDocument> pdfDocument = pdfDocumentForPrintingFrame(coreFrame)) {
ASSERT(!m_printContext);
drawPagesToPDFFromPDFDocument(context.get(), pdfDocument.get(), printInfo, first, count);
} else
#endif
{
size_t pageCount = m_printContext->pageCount();
for (uint32_t page = first; page < first + count; ++page) {
if (page >= pageCount)
break;
RetainPtr<CFDictionaryRef> pageInfo = adoptCF(CFDictionaryCreateMutable(0, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks));
CGPDFContextBeginPage(context.get(), pageInfo.get());
GraphicsContext ctx(context.get());
ctx.scale(FloatSize(1, -1));
ctx.translate(0, -m_printContext->pageRect(page).height());
m_printContext->spoolPage(ctx, page, m_printContext->pageRect(page).width());
CGPDFContextEndPage(context.get());
}
}
CGPDFContextClose(context.get());
}
#endif
send(Messages::WebPageProxy::DataCallback(CoreIPC::DataReference(CFDataGetBytePtr(pdfPageData.get()), CFDataGetLength(pdfPageData.get())), callbackID));
}
#elif PLATFORM(GTK)
void WebPage::drawPagesForPrinting(uint64_t frameID, const PrintInfo& printInfo, uint64_t callbackID)
{
beginPrinting(frameID, printInfo);
if (m_printContext && m_printOperation) {
m_printOperation->startPrint(m_printContext.get(), callbackID);
return;
}
send(Messages::WebPageProxy::VoidCallback(callbackID));
}
#endif
void WebPage::savePDFToFileInDownloadsFolder(const String& suggestedFilename, const String& originatingURLString, const uint8_t* data, unsigned long size)
{
send(Messages::WebPageProxy::SavePDFToFileInDownloadsFolder(suggestedFilename, originatingURLString, CoreIPC::DataReference(data, size)));
}
#if PLATFORM(MAC)
void WebPage::savePDFToTemporaryFolderAndOpenWithNativeApplication(const String& suggestedFilename, const String& originatingURLString, const uint8_t* data, unsigned long size, const String& pdfUUID)
{
send(Messages::WebPageProxy::SavePDFToTemporaryFolderAndOpenWithNativeApplication(suggestedFilename, originatingURLString, CoreIPC::DataReference(data, size), pdfUUID));
}
#endif
void WebPage::setMediaVolume(float volume)
{
m_page->setMediaVolume(volume);
}
void WebPage::setMayStartMediaWhenInWindow(bool mayStartMedia)
{
if (mayStartMedia == m_mayStartMediaWhenInWindow)
return;
m_mayStartMediaWhenInWindow = mayStartMedia;
if (m_mayStartMediaWhenInWindow && m_page->isOnscreen())
m_setCanStartMediaTimer.startOneShot(0);
}
void WebPage::runModal()
{
if (m_isClosed)
return;
if (m_isRunningModal)
return;
m_isRunningModal = true;
send(Messages::WebPageProxy::RunModal());
RunLoop::run();
ASSERT(!m_isRunningModal);
}
void WebPage::setMemoryCacheMessagesEnabled(bool memoryCacheMessagesEnabled)
{
m_page->setMemoryCacheClientCallsEnabled(memoryCacheMessagesEnabled);
}
bool WebPage::canHandleRequest(const WebCore::ResourceRequest& request)
{
if (SchemeRegistry::shouldLoadURLSchemeAsEmptyDocument(request.url().protocol()))
return true;
#if ENABLE(BLOB)
if (request.url().protocolIs("blob"))
return true;
#endif
return platformCanHandleRequest(request);
}
#if USE(TILED_BACKING_STORE)
void WebPage::commitPageTransitionViewport()
{
m_drawingArea->setLayerTreeStateIsFrozen(false);
}
#endif
#if PLATFORM(MAC)
void WebPage::handleAlternativeTextUIResult(const String& result)
{
Frame* frame = m_page->focusController()->focusedOrMainFrame();
if (!frame)
return;
frame->editor().handleAlternativeTextUIResult(result);
}
#endif
void WebPage::simulateMouseDown(int button, WebCore::IntPoint position, int clickCount, WKEventModifiers modifiers, double time)
{
mouseEvent(WebMouseEvent(WebMouseEvent::MouseDown, static_cast<WebMouseEvent::Button>(button), position, position, 0, 0, 0, clickCount, static_cast<WebMouseEvent::Modifiers>(modifiers), time));
}
void WebPage::simulateMouseUp(int button, WebCore::IntPoint position, int clickCount, WKEventModifiers modifiers, double time)
{
mouseEvent(WebMouseEvent(WebMouseEvent::MouseUp, static_cast<WebMouseEvent::Button>(button), position, position, 0, 0, 0, clickCount, static_cast<WebMouseEvent::Modifiers>(modifiers), time));
}
void WebPage::simulateMouseMotion(WebCore::IntPoint position, double time)
{
mouseEvent(WebMouseEvent(WebMouseEvent::MouseMove, WebMouseEvent::NoButton, position, position, 0, 0, 0, 0, WebMouseEvent::Modifiers(), time));
}
void WebPage::setCompositionForTesting(const String& compositionString, uint64_t from, uint64_t length)
{
Frame* frame = m_page->focusController()->focusedOrMainFrame();
if (!frame || !frame->editor().canEdit())
return;
Vector<CompositionUnderline> underlines;
underlines.append(CompositionUnderline(0, compositionString.length(), Color(Color::black), false));
frame->editor().setComposition(compositionString, underlines, from, from + length);
}
bool WebPage::hasCompositionForTesting()
{
Frame* frame = m_page->focusController()->focusedOrMainFrame();
return frame && frame->editor().hasComposition();
}
void WebPage::confirmCompositionForTesting(const String& compositionString)
{
Frame* frame = m_page->focusController()->focusedOrMainFrame();
if (!frame || !frame->editor().canEdit())
return;
if (compositionString.isNull())
frame->editor().confirmComposition();
frame->editor().confirmComposition(compositionString);
}
void WebPage::numWheelEventHandlersChanged(unsigned numWheelEventHandlers)
{
if (m_numWheelEventHandlers == numWheelEventHandlers)
return;
m_numWheelEventHandlers = numWheelEventHandlers;
recomputeShortCircuitHorizontalWheelEventsState();
}
static bool hasEnabledHorizontalScrollbar(ScrollableArea* scrollableArea)
{
if (Scrollbar* scrollbar = scrollableArea->horizontalScrollbar())
return scrollbar->enabled();
return false;
}
static bool pageContainsAnyHorizontalScrollbars(Frame* mainFrame)
{
if (FrameView* frameView = mainFrame->view()) {
if (hasEnabledHorizontalScrollbar(frameView))
return true;
}
for (Frame* frame = mainFrame; frame; frame = frame->tree()->traverseNext()) {
FrameView* frameView = frame->view();
if (!frameView)
continue;
const HashSet<ScrollableArea*>* scrollableAreas = frameView->scrollableAreas();
if (!scrollableAreas)
continue;
for (HashSet<ScrollableArea*>::const_iterator it = scrollableAreas->begin(), end = scrollableAreas->end(); it != end; ++it) {
ScrollableArea* scrollableArea = *it;
if (!scrollableArea->scrollbarsCanBeActive())
continue;
if (hasEnabledHorizontalScrollbar(scrollableArea))
return true;
}
}
return false;
}
void WebPage::recomputeShortCircuitHorizontalWheelEventsState()
{
bool canShortCircuitHorizontalWheelEvents = !m_numWheelEventHandlers;
if (canShortCircuitHorizontalWheelEvents) {
// Check if we have any horizontal scroll bars on the page.
if (pageContainsAnyHorizontalScrollbars(mainFrame()))
canShortCircuitHorizontalWheelEvents = false;
}
if (m_canShortCircuitHorizontalWheelEvents == canShortCircuitHorizontalWheelEvents)
return;
m_canShortCircuitHorizontalWheelEvents = canShortCircuitHorizontalWheelEvents;
send(Messages::WebPageProxy::SetCanShortCircuitHorizontalWheelEvents(m_canShortCircuitHorizontalWheelEvents));
}
Frame* WebPage::mainFrame() const
{
return m_page ? m_page->mainFrame() : 0;
}
FrameView* WebPage::mainFrameView() const
{
if (Frame* frame = mainFrame())
return frame->view();
return 0;
}
#if ENABLE(PAGE_VISIBILITY_API) || ENABLE(HIDDEN_PAGE_DOM_TIMER_THROTTLING)
void WebPage::setVisibilityState(uint32_t visibilityState, bool isInitialState)
{
if (!m_page)
return;
WebCore::PageVisibilityState state = static_cast<WebCore::PageVisibilityState>(visibilityState);
#if ENABLE(PAGE_VISIBILITY_API)
if (m_visibilityState == state)
return;
FrameView* view = m_page->mainFrame() ? m_page->mainFrame()->view() : 0;
if (state == WebCore::PageVisibilityStateVisible) {
m_page->didMoveOnscreen();
if (view)
view->show();
}
m_page->setVisibilityState(state, isInitialState);
m_visibilityState = state;
if (state == WebCore::PageVisibilityStateHidden) {
m_page->willMoveOffscreen();
if (view)
view->hide();
}
#endif
#if ENABLE(HIDDEN_PAGE_DOM_TIMER_THROTTLING) && !ENABLE(PAGE_VISIBILITY_API)
m_page->setVisibilityState(state, isInitialState);
#endif
}
#endif
void WebPage::setThrottled(bool isThrottled)
{
if (m_page)
m_page->setThrottled(isThrottled);
}
void WebPage::setScrollingPerformanceLoggingEnabled(bool enabled)
{
m_scrollingPerformanceLoggingEnabled = enabled;
FrameView* frameView = m_mainFrame->coreFrame()->view();
if (!frameView)
return;
frameView->setScrollingPerformanceLoggingEnabled(enabled);
}
bool WebPage::canPluginHandleResponse(const ResourceResponse& response)
{
#if ENABLE(NETSCAPE_PLUGIN_API)
uint32_t pluginLoadPolicy;
bool allowOnlyApplicationPlugins = !m_mainFrame->coreFrame()->loader()->subframeLoader()->allowPlugins(NotAboutToInstantiatePlugin);
uint64_t pluginProcessToken;
String newMIMEType;
String unavailabilityDescription;
if (!sendSync(Messages::WebPageProxy::FindPlugin(response.mimeType(), PluginProcessTypeNormal, response.url().string(), response.url().string(), response.url().string(), allowOnlyApplicationPlugins), Messages::WebPageProxy::FindPlugin::Reply(pluginProcessToken, newMIMEType, pluginLoadPolicy, unavailabilityDescription)))
return false;
return pluginLoadPolicy != PluginModuleBlocked && pluginProcessToken;
#else
return false;
#endif
}
bool WebPage::shouldUseCustomRepresentationForResponse(const ResourceResponse& response)
{
if (!m_mimeTypesWithCustomRepresentations.contains(response.mimeType()))
return false;
// If a plug-in exists that claims to support this response, it should take precedence over the custom representation.
return !canPluginHandleResponse(response);
}
#if PLATFORM(QT) || PLATFORM(GTK)
static Frame* targetFrameForEditing(WebPage* page)
{
Frame* targetFrame = page->corePage()->focusController()->focusedOrMainFrame();
if (!targetFrame)
return 0;
Editor& editor = targetFrame->editor();
if (!editor.canEdit())
return 0;
if (editor.hasComposition()) {
// We should verify the parent node of this IME composition node are
// editable because JavaScript may delete a parent node of the composition
// node. In this case, WebKit crashes while deleting texts from the parent
// node, which doesn't exist any longer.
if (PassRefPtr<Range> range = editor.compositionRange()) {
Node* node = range->startContainer();
if (!node || !node->isContentEditable())
return 0;
}
}
return targetFrame;
}
void WebPage::confirmComposition(const String& compositionString, int64_t selectionStart, int64_t selectionLength)
{
Frame* targetFrame = targetFrameForEditing(this);
if (!targetFrame) {
send(Messages::WebPageProxy::EditorStateChanged(editorState()));
return;
}
targetFrame->editor().confirmComposition(compositionString);
if (selectionStart == -1) {
send(Messages::WebPageProxy::EditorStateChanged(editorState()));
return;
}
Element* scope = targetFrame->selection()->rootEditableElement();
RefPtr<Range> selectionRange = TextIterator::rangeFromLocationAndLength(scope, selectionStart, selectionLength);
ASSERT_WITH_MESSAGE(selectionRange, "Invalid selection: [%lld:%lld] in text of length %d", static_cast<long long>(selectionStart), static_cast<long long>(selectionLength), scope->innerText().length());
if (selectionRange) {
VisibleSelection selection(selectionRange.get(), SEL_DEFAULT_AFFINITY);
targetFrame->selection()->setSelection(selection);
}
send(Messages::WebPageProxy::EditorStateChanged(editorState()));
}
void WebPage::setComposition(const String& text, Vector<CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementStart, uint64_t replacementLength)
{
Frame* targetFrame = targetFrameForEditing(this);
if (!targetFrame || !targetFrame->selection()->isContentEditable()) {
send(Messages::WebPageProxy::EditorStateChanged(editorState()));
return;
}
if (replacementLength > 0) {
// The layout needs to be uptodate before setting a selection
targetFrame->document()->updateLayout();
Element* scope = targetFrame->selection()->rootEditableElement();
RefPtr<Range> replacementRange = TextIterator::rangeFromLocationAndLength(scope, replacementStart, replacementLength);
targetFrame->editor().setIgnoreCompositionSelectionChange(true);
targetFrame->selection()->setSelection(VisibleSelection(replacementRange.get(), SEL_DEFAULT_AFFINITY));
targetFrame->editor().setIgnoreCompositionSelectionChange(false);
}
targetFrame->editor().setComposition(text, underlines, selectionStart, selectionEnd);
send(Messages::WebPageProxy::EditorStateChanged(editorState()));
}
void WebPage::cancelComposition()
{
if (Frame* targetFrame = targetFrameForEditing(this))
targetFrame->editor().cancelComposition();
send(Messages::WebPageProxy::EditorStateChanged(editorState()));
}
#endif
void WebPage::didChangeSelection()
{
send(Messages::WebPageProxy::EditorStateChanged(editorState()));
}
void WebPage::setMainFrameInViewSourceMode(bool inViewSourceMode)
{
m_mainFrame->coreFrame()->setInViewSourceMode(inViewSourceMode);
}
void WebPage::setMinimumLayoutSize(const IntSize& minimumLayoutSize)
{
if (m_minimumLayoutSize == minimumLayoutSize)
return;
m_minimumLayoutSize = minimumLayoutSize;
if (minimumLayoutSize.width() <= 0) {
corePage()->mainFrame()->view()->enableAutoSizeMode(false, IntSize(), IntSize());
return;
}
int minimumLayoutWidth = minimumLayoutSize.width();
int minimumLayoutHeight = std::max(minimumLayoutSize.height(), 1);
int maximumSize = std::numeric_limits<int>::max();
corePage()->mainFrame()->view()->enableAutoSizeMode(true, IntSize(minimumLayoutWidth, minimumLayoutHeight), IntSize(maximumSize, maximumSize));
}
void WebPage::setAutoSizingShouldExpandToViewHeight(bool shouldExpand)
{
if (m_autoSizingShouldExpandToViewHeight == shouldExpand)
return;
m_autoSizingShouldExpandToViewHeight = shouldExpand;
corePage()->mainFrame()->view()->setAutoSizeFixedMinimumHeight(shouldExpand ? m_viewSize.height() : 0);
}
bool WebPage::isSmartInsertDeleteEnabled()
{
return m_page->settings()->smartInsertDeleteEnabled();
}
void WebPage::setSmartInsertDeleteEnabled(bool enabled)
{
if (m_page->settings()->smartInsertDeleteEnabled() != enabled) {
m_page->settings()->setSmartInsertDeleteEnabled(enabled);
setSelectTrailingWhitespaceEnabled(!enabled);
}
}
bool WebPage::isSelectTrailingWhitespaceEnabled()
{
return m_page->settings()->selectTrailingWhitespaceEnabled();
}
void WebPage::setSelectTrailingWhitespaceEnabled(bool enabled)
{
if (m_page->settings()->selectTrailingWhitespaceEnabled() != enabled) {
m_page->settings()->setSelectTrailingWhitespaceEnabled(enabled);
setSmartInsertDeleteEnabled(!enabled);
}
}
bool WebPage::canShowMIMEType(const String& MIMEType) const
{
if (MIMETypeRegistry::canShowMIMEType(MIMEType))
return true;
if (PluginData* pluginData = m_page->pluginData()) {
if (pluginData->supportsMimeType(MIMEType, PluginData::AllPlugins) && corePage()->mainFrame()->loader()->subframeLoader()->allowPlugins(NotAboutToInstantiatePlugin))
return true;
// We can use application plugins even if plugins aren't enabled.
if (pluginData->supportsMimeType(MIMEType, PluginData::OnlyApplicationPlugins))
return true;
}
return false;
}
void WebPage::addTextCheckingRequest(uint64_t requestID, PassRefPtr<TextCheckingRequest> request)
{
m_pendingTextCheckingRequestMap.add(requestID, request);
}
void WebPage::didFinishCheckingText(uint64_t requestID, const Vector<TextCheckingResult>& result)
{
TextCheckingRequest* request = m_pendingTextCheckingRequestMap.get(requestID);
if (!request)
return;
request->didSucceed(result);
m_pendingTextCheckingRequestMap.remove(requestID);
}
void WebPage::didCancelCheckingText(uint64_t requestID)
{
TextCheckingRequest* request = m_pendingTextCheckingRequestMap.get(requestID);
if (!request)
return;
request->didCancel();
m_pendingTextCheckingRequestMap.remove(requestID);
}
void WebPage::didCommitLoad(WebFrame* frame)
{
if (!frame->isMainFrame())
return;
// If previous URL is invalid, then it's not a real page that's being navigated away from.
// Most likely, this is actually the first load to be committed in this page.
if (frame->coreFrame()->loader()->previousURL().isValid())
reportUsedFeatures();
// Only restore the scale factor for standard frame loads (of the main frame).
if (frame->coreFrame()->loader()->loadType() == FrameLoadTypeStandard) {
Page* page = frame->coreFrame()->page();
if (page && page->pageScaleFactor() != 1)
scalePage(1, IntPoint());
}
#if ENABLE(PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC)
resetPrimarySnapshottedPlugIn();
#endif
WebProcess::shared().updateActivePages();
}
void WebPage::didFinishLoad(WebFrame* frame)
{
#if ENABLE(PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC)
if (!frame->isMainFrame())
return;
m_readyToFindPrimarySnapshottedPlugin = true;
m_determinePrimarySnapshottedPlugInTimer.startOneShot(0);
#else
UNUSED_PARAM(frame);
#endif
}
#if ENABLE(PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC)
static int primarySnapshottedPlugInSearchLimit = 3000;
static int primarySnapshottedPlugInSearchGap = 200;
static float primarySnapshottedPlugInSearchBucketSize = 1.1;
static int primarySnapshottedPlugInMinimumWidth = 400;
static int primarySnapshottedPlugInMinimumHeight = 300;
#if ENABLE(PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC)
void WebPage::determinePrimarySnapshottedPlugInTimerFired()
{
if (!m_page)
return;
Settings* settings = m_page->settings();
if (!settings->snapshotAllPlugIns() && settings->primaryPlugInSnapshotDetectionEnabled())
determinePrimarySnapshottedPlugIn();
}
#endif
void WebPage::determinePrimarySnapshottedPlugIn()
{
if (!m_page->settings()->plugInSnapshottingEnabled())
return;
if (!m_readyToFindPrimarySnapshottedPlugin)
return;
if (m_pluginViews.isEmpty())
return;
if (m_didFindPrimarySnapshottedPlugin)
return;
RenderView* renderView = corePage()->mainFrame()->view()->renderView();
IntRect searchRect = IntRect(IntPoint(), corePage()->mainFrame()->view()->contentsSize());
searchRect.intersect(IntRect(IntPoint(), IntSize(primarySnapshottedPlugInSearchLimit, primarySnapshottedPlugInSearchLimit)));
HitTestRequest request(HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::AllowChildFrameContent | HitTestRequest::IgnoreClipping | HitTestRequest::DisallowShadowContent);
HashSet<RenderObject*> seenRenderers;
HTMLPlugInImageElement* candidatePlugIn = 0;
unsigned candidatePlugInArea = 0;
for (int x = searchRect.x(); x <= searchRect.width(); x += primarySnapshottedPlugInSearchGap) {
for (int y = searchRect.y(); y <= searchRect.height(); y += primarySnapshottedPlugInSearchGap) {
HitTestResult hitTestResult = HitTestResult(LayoutPoint(x, y));
renderView->hitTest(request, hitTestResult);
Element* element = hitTestResult.innerElement();
if (!element)
continue;
RenderObject* renderer = element->renderer();
if (!renderer || !renderer->isBox())
continue;
RenderBox* renderBox = toRenderBox(renderer);
if (!seenRenderers.add(renderer).isNewEntry)
continue;
if (!element->isPluginElement())
continue;
HTMLPlugInElement* plugInElement = toHTMLPlugInElement(element);
if (!plugInElement->isPlugInImageElement())
continue;
HTMLPlugInImageElement* plugInImageElement = toHTMLPlugInImageElement(plugInElement);
if (plugInElement->displayState() == HTMLPlugInElement::Playing)
continue;
if (renderBox->contentWidth() < primarySnapshottedPlugInMinimumWidth || renderBox->contentHeight() < primarySnapshottedPlugInMinimumHeight)
continue;
LayoutUnit contentArea = renderBox->contentWidth() * renderBox->contentHeight();
if (contentArea > candidatePlugInArea * primarySnapshottedPlugInSearchBucketSize) {
candidatePlugIn = plugInImageElement;
candidatePlugInArea = contentArea;
}
}
}
if (!candidatePlugIn)
return;
m_didFindPrimarySnapshottedPlugin = true;
m_primaryPlugInPageOrigin = m_page->mainFrame()->document()->baseURL().host();
m_primaryPlugInOrigin = candidatePlugIn->loadedUrl().host();
m_primaryPlugInMimeType = candidatePlugIn->loadedMimeType();
candidatePlugIn->setIsPrimarySnapshottedPlugIn(true);
}
void WebPage::resetPrimarySnapshottedPlugIn()
{
m_readyToFindPrimarySnapshottedPlugin = false;
m_didFindPrimarySnapshottedPlugin = false;
}
bool WebPage::matchesPrimaryPlugIn(const String& pageOrigin, const String& pluginOrigin, const String& mimeType) const
{
if (!m_didFindPrimarySnapshottedPlugin)
return false;
return (pageOrigin == m_primaryPlugInPageOrigin && pluginOrigin == m_primaryPlugInOrigin && mimeType == m_primaryPlugInMimeType);
}
#endif // ENABLE(PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC)
PassRefPtr<Range> WebPage::currentSelectionAsRange()
{
Frame* frame = frameWithSelection(m_page.get());
if (!frame)
return 0;
return frame->selection()->toNormalizedRange();
}
void WebPage::reportUsedFeatures()
{
// FIXME: Feature names should not be hardcoded.
const BitVector* features = m_page->featureObserver()->accumulatedFeatureBits();
Vector<String> namedFeatures;
if (features && features->quickGet(FeatureObserver::SharedWorkerStart))
namedFeatures.append("SharedWorker");
m_loaderClient.featuresUsedInPage(this, namedFeatures);
}
unsigned WebPage::extendIncrementalRenderingSuppression()
{
unsigned token = m_maximumRenderingSuppressionToken + 1;
while (!HashSet<unsigned>::isValidValue(token) || m_activeRenderingSuppressionTokens.contains(token))
token++;
m_activeRenderingSuppressionTokens.add(token);
m_page->mainFrame()->view()->setVisualUpdatesAllowedByClient(false);
m_maximumRenderingSuppressionToken = token;
return token;
}
void WebPage::stopExtendingIncrementalRenderingSuppression(unsigned token)
{
if (!m_activeRenderingSuppressionTokens.contains(token))
return;
m_activeRenderingSuppressionTokens.remove(token);
m_page->mainFrame()->view()->setVisualUpdatesAllowedByClient(!shouldExtendIncrementalRenderingSuppression());
}
void WebPage::setScrollPinningBehavior(uint32_t pinning)
{
m_scrollPinningBehavior = static_cast<ScrollPinningBehavior>(pinning);
m_page->mainFrame()->view()->setScrollPinningBehavior(m_scrollPinningBehavior);
}
} // namespace WebKit
| [
"hyl946@163.com"
] | hyl946@163.com |
7fb9226adaa24c295cdf2b17d8608770dbe1a3da | 9b6519dfc4337c93b4b94b49e5ca33312abbdb36 | /Projekt/Projekt1PO.cpp | 0970b2984f89c30ecba2341ec94350d24674c0f1 | [] | no_license | Bart2115/World_cpp | 032d4f006315fe71548c77c459bf475fa1a705b2 | 6a9589a98fcd98d265006718efed265b55716bb4 | refs/heads/main | 2023-03-21T06:44:51.478396 | 2021-02-26T10:50:41 | 2021-02-26T10:50:41 | 342,541,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,257 | cpp | #pragma once
#include <iostream>
#include <conio.h>
#include "Organizm.h"
#include "Swiat.h"
using namespace std;
int main() {
int wys = 0;
int sz = 0;
bool wczytac = false;
Swiat* x = NULL;
std::cout << "Czy wczytac gre? (Y/N)\n";
char wybor = _getch();
if (wybor == 'Y' || wybor == 'y') {
wczytac = true;
}
if (wczytac) {
x = new Swiat(wys, sz, true);
system("cls");
if (x->getSzerokosc() == 0 || x->getWysokosc() == 0) {
std::cout << "Blad wczytania!\n";
wczytac = false;
}
}
if(!wczytac){
while (wys < 10 || wys > 100) {
std::cout << "Podaj wysokosc mapy! (min 10, max 100)\n";
cin >> wys;
}
while (sz < 10 || sz > 100) {
std::cout << "Podaj szerokosc mapy! (min 10, max 100)\n";
cin >> sz;
}
system("cls");
x = new Swiat(wys, sz, false);
}
while (1) {
x->RysujLegende();
x->RysujSwiat();
x->WykonajTure();
char znak;
std::cout << "\nWcisnij enter przy przejsc do kolejnej tury!\n";
std::cout << "Wcisnij Q by wylaczyc gre lub S by zapisac obecny stan\n\n";
znak = _getch();
if (znak == 'q' || znak == 'Q') {
return 0;
}
else if (znak == 's' || znak == 'S') {
x->ZapiszSwiat();
}
system("cls");
}
return 0;
} | [
"noreply@github.com"
] | Bart2115.noreply@github.com |
be1a8a1501c0d0c26e6fd84cbe916210e29a1fae | b956eb9be02f74d81176bc58d585f273accf73fb | /aladdin/core/Mat4.cpp | 8ac5a3924e1a9cd9948323996e1fccddf034ff2f | [
"MIT"
] | permissive | Khuongnb/game-aladdin | b9b1c439d14658ca9d67d5c6fe261ec27084b2e9 | 74b13ffcd623de0d6f799b0669c7e8917eef3b14 | refs/heads/master | 2020-05-05T10:20:05.616126 | 2019-04-07T09:05:11 | 2019-04-07T09:05:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,902 | cpp | #include "Mat4.h"
NAMESPACE_ALA
{
ALA_CLASS_SOURCE_0(ala::Mat4)
Mat4::Mat4()
: _11( 0 ), _12( 0 ), _13( 0 ), _14( 0 ),
_21( 0 ), _22( 0 ), _23( 0 ), _24( 0 ),
_31( 0 ), _32( 0 ), _33( 0 ), _34( 0 ),
_41( 0 ), _42( 0 ), _43( 0 ), _44( 0 ) { }
Mat4::~Mat4() { }
void Mat4::operator+=( const Mat4& mat ) {
_11 += mat._11;
_12 += mat._12;
_13 += mat._13;
_14 += mat._14;
_21 += mat._21;
_22 += mat._22;
_23 += mat._23;
_24 += mat._24;
_31 += mat._31;
_32 += mat._32;
_33 += mat._33;
_34 += mat._34;
_41 += mat._41;
_42 += mat._42;
_43 += mat._43;
_44 += mat._44;
}
void Mat4::operator-=( const Mat4& mat ) {
_11 -= mat._11;
_12 -= mat._12;
_13 -= mat._13;
_14 -= mat._14;
_21 -= mat._21;
_22 -= mat._22;
_23 -= mat._23;
_24 -= mat._24;
_31 -= mat._31;
_32 -= mat._32;
_33 -= mat._33;
_34 -= mat._34;
_41 -= mat._41;
_42 -= mat._42;
_43 -= mat._43;
_44 -= mat._44;
}
void Mat4::operator*=( const float v ) {
_11 *= v;
_12 *= v;
_13 *= v;
_14 *= v;
_21 *= v;
_22 *= v;
_23 *= v;
_24 *= v;
_31 *= v;
_32 *= v;
_33 *= v;
_34 *= v;
_41 *= v;
_42 *= v;
_43 *= v;
_44 *= v;
}
void Mat4::operator/=( const float v ) {
_11 /= v;
_12 /= v;
_13 /= v;
_14 /= v;
_21 /= v;
_22 /= v;
_23 /= v;
_24 /= v;
_31 /= v;
_32 /= v;
_33 /= v;
_34 /= v;
_41 /= v;
_42 /= v;
_43 /= v;
_44 /= v;
}
Mat4 Mat4::operator-() const {
Mat4 result;
result._11 = -_11;
result._12 = -_12;
result._13 = -_13;
result._14 = -_14;
result._21 = -_21;
result._22 = -_22;
result._23 = -_23;
result._24 = -_24;
result._31 = -_31;
result._32 = -_32;
result._33 = -_33;
result._34 = -_34;
result._41 = -_41;
result._42 = -_42;
result._43 = -_43;
result._44 = -_44;
return result;
}
Mat4 Mat4::operator+( const Mat4& mat ) const {
Mat4 result;
result._11 = _11 + mat._11;
result._12 = _12 + mat._12;
result._13 = _13 + mat._13;
result._14 = _14 + mat._14;
result._21 = _21 + mat._21;
result._22 = _22 + mat._22;
result._23 = _23 + mat._23;
result._24 = _24 + mat._24;
result._31 = _31 + mat._31;
result._32 = _32 + mat._32;
result._33 = _33 + mat._33;
result._34 = _34 + mat._34;
result._41 = _41 + mat._41;
result._42 = _42 + mat._42;
result._43 = _43 + mat._43;
result._44 = _44 + mat._44;
return result;
}
Mat4 Mat4::operator-( const Mat4& mat ) const {
Mat4 result;
result._11 = _11 - mat._11;
result._12 = _12 - mat._12;
result._13 = _13 - mat._13;
result._14 = _14 - mat._14;
result._21 = _21 - mat._21;
result._22 = _22 - mat._22;
result._23 = _23 - mat._23;
result._24 = _24 - mat._24;
result._31 = _31 - mat._31;
result._32 = _32 - mat._32;
result._33 = _33 - mat._33;
result._34 = _34 - mat._34;
result._41 = _41 - mat._41;
result._42 = _42 - mat._42;
result._43 = _43 - mat._43;
result._44 = _44 - mat._44;
return result;
}
Mat4 Mat4::operator*( const Mat4& mat ) const {
Mat4 result;
result._11 = this->_11 * mat._11 + this->_12 * mat._21 + this->_13 * mat._31 + this->_14 * mat._41;
result._12 = this->_11 * mat._12 + this->_12 * mat._22 + this->_13 * mat._32 + this->_14 * mat._42;
result._13 = this->_11 * mat._13 + this->_12 * mat._23 + this->_13 * mat._33 + this->_14 * mat._43;
result._14 = this->_11 * mat._14 + this->_12 * mat._24 + this->_13 * mat._34 + this->_14 * mat._44;
result._21 = this->_21 * mat._11 + this->_22 * mat._21 + this->_23 * mat._31 + this->_24 * mat._41;
result._22 = this->_21 * mat._12 + this->_22 * mat._22 + this->_23 * mat._32 + this->_24 * mat._42;
result._23 = this->_21 * mat._13 + this->_22 * mat._23 + this->_23 * mat._33 + this->_24 * mat._43;
result._24 = this->_21 * mat._14 + this->_22 * mat._24 + this->_23 * mat._34 + this->_24 * mat._44;
result._31 = this->_31 * mat._11 + this->_32 * mat._21 + this->_33 * mat._31 + this->_34 * mat._41;
result._32 = this->_31 * mat._12 + this->_32 * mat._22 + this->_33 * mat._32 + this->_34 * mat._42;
result._33 = this->_31 * mat._13 + this->_32 * mat._23 + this->_33 * mat._33 + this->_34 * mat._43;
result._34 = this->_31 * mat._14 + this->_32 * mat._24 + this->_33 * mat._34 + this->_34 * mat._44;
result._41 = this->_41 * mat._11 + this->_42 * mat._21 + this->_43 * mat._31 + this->_44 * mat._41;
result._42 = this->_41 * mat._12 + this->_42 * mat._22 + this->_43 * mat._32 + this->_44 * mat._42;
result._43 = this->_41 * mat._13 + this->_42 * mat._23 + this->_43 * mat._33 + this->_44 * mat._43;
result._44 = this->_41 * mat._14 + this->_42 * mat._24 + this->_43 * mat._34 + this->_44 * mat._44;
return result;
}
Mat4 Mat4::operator*( const float v ) const {
Mat4 result;
result._11 = _11 * v;
result._12 = _12 * v;
result._13 = _13 * v;
result._14 = _14 * v;
result._21 = _21 * v;
result._22 = _22 * v;
result._23 = _23 * v;
result._24 = _24 * v;
result._31 = _31 * v;
result._32 = _32 * v;
result._33 = _33 * v;
result._34 = _34 * v;
result._41 = _41 * v;
result._42 = _42 * v;
result._43 = _43 * v;
result._44 = _44 * v;
return result;
}
Mat4 Mat4::operator/( const float v ) const {
Mat4 result;
result._11 = _11 / v;
result._12 = _12 / v;
result._13 = _13 / v;
result._14 = _14 / v;
result._21 = _21 / v;
result._22 = _22 / v;
result._23 = _23 / v;
result._24 = _24 / v;
result._31 = _31 / v;
result._32 = _32 / v;
result._33 = _33 / v;
result._34 = _34 / v;
result._41 = _41 / v;
result._42 = _42 / v;
result._43 = _43 / v;
result._44 = _44 / v;
return result;
}
Mat4 Mat4::getEmptyMat() {
Mat4 result;
result._11 = 0.0f;
result._12 = 0.0f;
result._13 = 0.0f;
result._14 = 0.0f;
result._21 = 0.0f;
result._22 = 0.0f;
result._23 = 0.0f;
result._24 = 0.0f;
result._31 = 0.0f;
result._32 = 0.0f;
result._33 = 0.0f;
result._34 = 0.0f;
result._41 = 0.0f;
result._42 = 0.0f;
result._43 = 0.0f;
result._44 = 0.0f;
return result;
}
Mat4 Mat4::getIdentityMat() {
Mat4 result;
result._11 = 1.0f;
result._12 = 0.0f;
result._13 = 0.0f;
result._14 = 0.0f;
result._21 = 0.0f;
result._22 = 1.0f;
result._23 = 0.0f;
result._24 = 0.0f;
result._31 = 0.0f;
result._32 = 0.0f;
result._33 = 1.0f;
result._34 = 0.0f;
result._41 = 0.0f;
result._42 = 0.0f;
result._43 = 0.0f;
result._44 = 1.0f;
return result;
}
float Mat4::getDet() const {
return _11 * _22 * _33 * _44 +
_11 * _23 * _34 * _42 +
_11 * _24 * _32 * _43 +
_12 * _21 * _34 * _43 +
_12 * _23 * _31 * _44 +
_12 * _24 * _33 * _41 +
_13 * _21 * _32 * _44 +
_13 * _22 * _34 * _41 +
_13 * _24 * _31 * _42 +
_14 * _21 * _33 * _42 +
_14 * _22 * _31 * _43 +
_14 * _23 * _32 * _41 - (
_11 * _22 * _34 * _44 +
_11 * _23 * _32 * _44 +
_11 * _24 * _33 * _42 +
_12 * _21 * _33 * _44 +
_12 * _23 * _34 * _41 +
_12 * _24 * _32 * _41 +
_13 * _21 * _34 * _42 +
_13 * _22 * _31 * _44 +
_13 * _24 * _32 * _41 +
_14 * _21 * _32 * _43 +
_14 * _22 * _33 * _41 +
_14 * _23 * _31 * _42);
}
float Mat4::getTrace() const {
return this->_11 + this->_22 + this->_33 + this->_44;
}
Mat4 Mat4::getTranspose() const {
Mat4 result;
result._11 = this->_11;
result._12 = this->_21;
result._13 = this->_31;
result._14 = this->_41;
result._21 = this->_12;
result._22 = this->_22;
result._23 = this->_32;
result._24 = this->_42;
result._31 = this->_13;
result._32 = this->_23;
result._33 = this->_33;
result._34 = this->_43;
result._41 = this->_14;
result._42 = this->_24;
result._43 = this->_34;
result._44 = this->_44;
return result;
}
Mat4 Mat4::getInverse() const {
Mat4 I = getIdentityMat();
Mat4 mat2 = (*this) * (*this);
Mat4 mat3 = (*this) * (mat2);
float trace1 = this->getTrace();
float trace2 = mat2.getTrace();
float trace3 = mat3.getTrace();
float tmp1 = (trace1 * trace1 * trace1 - 3.0f * trace1 * trace2 + 2.0f * trace3) / 6.0f;
float tmp2 = -(trace1 * trace1 - trace2) / 2.0f;
Mat4 result = (I * tmp1 + (*this) * tmp2 + mat2 * trace1 - mat3) / getDet();
return result;
}
float Mat4::get11() const {
return _11;
}
float Mat4::get12() const {
return _12;
}
float Mat4::get13() const {
return _13;
}
float Mat4::get14() const {
return _14;
}
float Mat4::get21() const {
return _21;
}
float Mat4::get22() const {
return _22;
}
float Mat4::get23() const {
return _23;
}
float Mat4::get24() const {
return _24;
}
float Mat4::get31() const {
return _31;
}
float Mat4::get32() const {
return _32;
}
float Mat4::get33() const {
return _33;
}
float Mat4::get34() const {
return _34;
}
float Mat4::get41() const {
return _41;
}
float Mat4::get42() const {
return _42;
}
float Mat4::get43() const {
return _43;
}
float Mat4::get44() const {
return _44;
}
void Mat4::set11( const float x ) {
_11 = x;
}
void Mat4::set12( const float x ) {
_12 = x;
}
void Mat4::set13( const float x ) {
_13 = x;
}
void Mat4::set14( const float x ) {
_14 = x;
}
void Mat4::set21( const float x ) {
_21 = x;
}
void Mat4::set22( const float x ) {
_22 = x;
}
void Mat4::set23( const float x ) {
_23 = x;
}
void Mat4::set24( const float x ) {
_24 = x;
}
void Mat4::set31( const float x ) {
_31 = x;
}
void Mat4::set32( const float x ) {
_32 = x;
}
void Mat4::set33( const float x ) {
_33 = x;
}
void Mat4::set34( const float x ) {
_34 = x;
}
void Mat4::set41( const float x ) {
_41 = x;
}
void Mat4::set42( const float x ) {
_42 = x;
}
void Mat4::set43( const float x ) {
_43 = x;
}
void Mat4::set44( const float x ) {
_44 = x;
}
Mat4 Mat4::getRotationXMatrix( const float angle ) {
Mat4 result = getIdentityMat();
float cosAng = cosf( angle );
float sinAng = sinf( angle );
result._22 = cosAng;
result._33 = cosAng;
result._23 = sinAng;
result._32 = -sinAng;
return result;
}
Mat4 Mat4::getRotationYMatrix( const float angle ) {
Mat4 result = getIdentityMat();
float cosAng = cosf( angle );
float sinAng = sinf( angle );
result._11 = cosAng;
result._33 = cosAng;
result._13 = -sinAng;
result._31 = sinAng;
return result;
}
Mat4 Mat4::getRotationZMatrix( const float angle ) {
auto radianAngle = D3DXToRadian(angle);
Mat4 result = getIdentityMat();
float cosAng = cosf(radianAngle);
float sinAng = sinf(radianAngle);
result._11 = cosAng;
result._22 = cosAng;
result._12 = sinAng;
result._21 = -sinAng;
return result;
}
Mat4 Mat4::getTranslationMatrix( const Vec2& translation ) {
Mat4 result = getIdentityMat();
result._41 = translation.getX();
result._42 = translation.getY();
return result;
}
Mat4 Mat4::getTranslationMatrix( const float x, const float y, const float z ) {
Mat4 result = getIdentityMat();
result._41 = x;
result._42 = y;
result._43 = z;
return result;
}
Mat4 Mat4::getScalingMatrix( const Vec2& scale ) {
Mat4 result = getIdentityMat();
result._11 = scale.getX();
result._22 = scale.getY();
return result;
}
Mat4 Mat4::getScalingMatrix( const float x, const float y, const float z ) {
Mat4 result = getIdentityMat();
result._11 = x;
result._22 = y;
result._33 = z;
return result;
}
Mat4 Mat4::getOrthoLHMatrix ( float width, float height, float zn, float zf )
{
Mat4 result = getIdentityMat ( );
float d = zf - zn;
result._11 = 2.0f / float(width);
result._22 = 2.0f / float(height);
result._33 = 1.0f / d;
result._43 = -zn / d;
return result;
}
Mat4 Mat4::getOrthoRHMatrix ( float width, float height, float zn, float zf )
{
Mat4 result = getIdentityMat();
float d = zn - zf;
result._11 = 2.0f / float(width);
result._22 = 2.0f / float(height);
result._33 = 1.0f / d;
result._43 = zn / d;
return result;
}
}
| [
"khuongnb1997@gmail.com"
] | khuongnb1997@gmail.com |
336df1cba55a182e61c69a4a1e12f0d6c8cbe88a | 3346a1bfcc638f3d446c24950b66ba81e9610b02 | /wirelessSimulationNS3/Other256Node20.cc | 587f754877ab833cbd68d85b2509a867df2c7232 | [] | no_license | kumarabhish3k/Rainbow-DQN-for-Contention-Window-design | 7ab3715a279b76099cb53114041c2f5795ed56c6 | 0066f5ed5f952a62616c9ada1f438654e326dba3 | refs/heads/main | 2023-02-22T18:10:01.702601 | 2020-11-28T06:01:01 | 2020-11-28T06:01:01 | 304,750,745 | 7 | 2 | null | 2023-02-05T06:49:56 | 2020-10-16T22:25:43 | C++ | UTF-8 | C++ | false | false | 20,266 | cc | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2009 MIRKO BANCHI
* Copyright (c) 2015 University of Washington
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Authors: Mirko Banchi <mk.banchi@gmail.com>
* Sebastien Deronne <sebastien.deronne@gmail.com>
* Tom Henderson <tomhend@u.washington.edu>
*
* Adapted from wifi-ht-network.cc example
*/
#include <iostream>
#include <fstream>
#include <iomanip>
#include "ns3/command-line.h"
#include "ns3/config.h"
#include "ns3/uinteger.h"
#include "ns3/boolean.h"
#include "ns3/double.h"
#include "ns3/string.h"
#include "ns3/log.h"
#include "ns3/yans-wifi-helper.h"
#include "ns3/spectrum-wifi-helper.h"
#include "ns3/ssid.h"
#include "ns3/mobility-helper.h"
#include "ns3/internet-stack-helper.h"
#include "ns3/ipv4-address-helper.h"
#include "ns3/udp-client-server-helper.h"
#include "ns3/yans-wifi-channel.h"
#include "ns3/multi-model-spectrum-channel.h"
#include "ns3/propagation-loss-model.h"
#include "ns3/wifi-mac.h"
#include "ns3/flow-monitor-helper.h"
#include "ns3/ipv4-flow-classifier.h"
#include "ns3/flow-monitor-module.h"
// #include "ns3/dca-txop.h"
#include "ns3/pointer.h"
#include "ns3/on-off-helper.h"
#include "ns3/wifi-net-device.h"
#include "ns3/qos-txop.h"
#include "ns3/edca-parameter-set.h"
#include "ns3/txop.h"
#include "ns3/applications-module.h"
#include "ns3/rng-seed-manager.h"
#define PI 3.14159265
// This is a simple example of an IEEE 802.11n Wi-Fi network.
//
// The main use case is to enable and test SpectrumWifiPhy vs YansWifiPhy
// under saturation conditions (for max throughput).
//
// Network topology:
//
// Wi-Fi 192.168.1.0
//
// STA AP
// * <-- distance --> *
// | |
// n1 n2
//
// Users may vary the following command-line arguments in addition to the
// attributes, global values, and default values typically available:
//
// --simulationTime: Simulation time in seconds [10]
// --distance: meters separation between nodes [50]
// --index: restrict index to single value between 0 and 31 [256]
// --wifiType: select ns3::SpectrumWifiPhy or ns3::YansWifiPhy [ns3::SpectrumWifiPhy]
// --errorModelType: select ns3::NistErrorRateModel or ns3::YansErrorRateModel [ns3::NistErrorRateModel]
// --enablePcap: enable pcap output [false]
//
// By default, the program will step through 64 index values, corresponding
// to the following MCS, channel width, and guard interval combinations:
// index 0-7: MCS 0-7, long guard interval, 20 MHz channel
// index 8-15: MCS 0-7, short guard interval, 20 MHz channel
// index 16-23: MCS 0-7, long guard interval, 40 MHz channel
// index 24-31: MCS 0-7, short guard interval, 40 MHz channel
// index 32-39: MCS 8-15, long guard interval, 20 MHz channel
// index 40-47: MCS 8-15, short guard interval, 20 MHz channel
// index 48-55: MCS 8-15, long guard interval, 40 MHz channel
// index 56-63: MCS 8-15, short guard interval, 40 MHz channel
// and send packets at a high rate using each MCS, using the SpectrumWifiPhy
// and the NistErrorRateModel, at a distance of 1 meter. The program outputs
// results such as:
//
// wifiType: ns3::SpectrumWifiPhy distance: 1m
// index MCS width Rate (Mb/s) Tput (Mb/s) Received
// 0 0 20 6.5 5.96219 5063
// 1 1 20 13 11.9491 10147
// 2 2 20 19.5 17.9184 15216
// 3 3 20 26 23.9253 20317
// ...
//
// selection of index values 32-63 will result in MCS selection 8-15
// involving two spatial streams
using namespace ns3;
NS_LOG_COMPONENT_DEFINE ("WifiSpectrumSaturationExample");
double * simulate (uint16_t n, uint32_t minCw[],double SimTime,uint32_t seed)
{
// double distance = 1;
double simulationTime = SimTime ; //seconds
// uint16_t index = 0;
uint16_t numStaNodes = n;
// uint32_t channelWidth = 0;
std::string wifiType = "ns3::YansWifiPhy";
std::string errorModelType = "ns3::NistErrorRateModel";
// bool enablePcap = true;
// CommandLine cmd (__FILE__);
// cmd.AddValue ("simulationTime", "Simulation time in seconds", simulationTime);
// cmd.AddValue ("distance", "meters separation between nodes", distance);
// cmd.AddValue ("index", "restrict index to single value between 0 and 63", index);
// cmd.AddValue ("wifiType", "select ns3::SpectrumWifiPhy or ns3::YansWifiPhy", wifiType);
// cmd.AddValue ("errorModelType", "select ns3::NistErrorRateModel or ns3::YansErrorRateModel", errorModelType);
// cmd.AddValue ("enablePcap", "enable pcap output", enablePcap);
// cmd.Parse (argc,argv);
// std::cout << "wifiType: " << wifiType << " distance: " << distance << "m" << std::endl;
// uint32_t payloadSize = 1472;
// payloadSize = 1472; // 1500 bytes IPv4
// uint32_t cwmin = 512;
// Config::SetDefault("ns3::DcaTxop::MinCw", UintegerValue (cwmin));
NodeContainer wifiStaNode;
wifiStaNode.Create (numStaNodes);
NodeContainer wifiApNode;
wifiApNode.Create (1);
YansWifiPhyHelper phy = YansWifiPhyHelper::Default ();
SpectrumWifiPhyHelper spectrumPhy = SpectrumWifiPhyHelper::Default ();
if (wifiType == "ns3::YansWifiPhy")
{
YansWifiChannelHelper channel;
channel.AddPropagationLoss ("ns3::FriisPropagationLossModel");
channel.SetPropagationDelay ("ns3::ConstantSpeedPropagationDelayModel");
phy.SetChannel (channel.Create ());
phy.Set ("TxPowerStart", DoubleValue (1));
phy.Set ("TxPowerEnd", DoubleValue (1));
}
else if (wifiType == "ns3::SpectrumWifiPhy")
{
Ptr<MultiModelSpectrumChannel> spectrumChannel
= CreateObject<MultiModelSpectrumChannel> ();
Ptr<FriisPropagationLossModel> lossModel
= CreateObject<FriisPropagationLossModel> ();
spectrumChannel->AddPropagationLossModel (lossModel);
Ptr<ConstantSpeedPropagationDelayModel> delayModel
= CreateObject<ConstantSpeedPropagationDelayModel> ();
spectrumChannel->SetPropagationDelayModel (delayModel);
spectrumPhy.SetChannel (spectrumChannel);
spectrumPhy.SetErrorRateModel (errorModelType);
spectrumPhy.Set ("Frequency", UintegerValue (5180)); // channel 36 at 20 MHz
spectrumPhy.Set ("TxPowerStart", DoubleValue (1));
spectrumPhy.Set ("TxPowerEnd", DoubleValue (1));
}
else
{
NS_FATAL_ERROR ("Unsupported WiFi type " << wifiType);
}
WifiHelper wifi;
wifi.SetStandard (WIFI_PHY_STANDARD_80211b);
WifiMacHelper mac;
Ssid ssid = Ssid ("ns380211b");
/////////////////////////////////////////////////////////////////////////////////////////
// wifi.SetRemoteStationManager ("ns3::ConstantRateWifiManager","DataMode", DataRate,
// "ControlMode", DataRate);
/////////////////////////////////////////////////////////////////////////////////////////
StringValue phymode = StringValue ("DsssRate1Mbps");
wifi.SetRemoteStationManager ("ns3::ConstantRateWifiManager","DataMode", phymode,"ControlMode",phymode);
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Multi rate wifi
// std::string wifiManager ("Arf");
// wifi.SetRemoteStationManager ("ns3::" + wifiManager + "WifiManager");
NetDeviceContainer staDevices;
NetDeviceContainer apDevice;
RngSeedManager::SetSeed(seed);
if (wifiType == "ns3::YansWifiPhy")
{
mac.SetType ("ns3::StaWifiMac",
"Ssid", SsidValue (ssid));
staDevices = wifi.Install (phy, mac, wifiStaNode);
// mac.SetType ("ns3::StaWifiMac",
// "Ssid", SsidValue (ssid));
// staDeviceB = wifi.Install (phy, mac, wifiStaNode.Get(1));
mac.SetType ("ns3::ApWifiMac",
"Ssid", SsidValue (ssid));
apDevice = wifi.Install (phy, mac, wifiApNode);
}
else if (wifiType == "ns3::SpectrumWifiPhy")
{
mac.SetType ("ns3::StaWifiMac",
"Ssid", SsidValue (ssid));
staDevices = wifi.Install (spectrumPhy, mac, wifiStaNode);
// mac.SetType ("ns3::StaWifiMac",
// "Ssid", SsidValue (ssid));
// staDeviceB = wifi.Install (spectrumPhy, mac, wifiStaNode.Get(1));
mac.SetType ("ns3::ApWifiMac",
"Ssid", SsidValue (ssid));
apDevice = wifi.Install (spectrumPhy, mac, wifiApNode);
}
// Setting cwMin Parameter
// uint32_t minCw [n] = { 32, 64, 64, 64, 64 };
for (uint32_t i = 0; i < numStaNodes; i++)
{
// // Ptr<Node> node = wifiStaNode.Get(0); // Get station from node container
Ptr<NetDevice> dev = wifiStaNode.Get(i)->GetDevice(0);
Ptr<WifiNetDevice> wifi_dev = DynamicCast<WifiNetDevice>(dev);
Ptr<WifiMac> mac1 = wifi_dev->GetMac();
PointerValue ptr;
mac1->GetAttribute("Txop", ptr);
Ptr<Txop> dca = ptr.Get<Txop>();
// std::cout<<dca->GetMinCw()<<std::endl;
dca->SetMinCw(minCw[i]);
// std::cout<<dca->GetMinCw()<<std::endl;
}
// mobility.
MobilityHelper mobility;
Ptr<ListPositionAllocator> positionAlloc = CreateObject<ListPositionAllocator> ();
// AP at origin
positionAlloc->Add (Vector (0.0, 0.0, 0.0));
//locate N stations as a circle with a center at AP
//for N stations, set rho as radius and theta
//then calculate position of each station
float rho = 1;
for (uint32_t i = 0; i < numStaNodes; i++)
{
double theta = i * 2 * PI / numStaNodes;
positionAlloc->Add (Vector (rho * cos(theta), rho * sin(theta), 0.0));
}
mobility.SetPositionAllocator (positionAlloc);
mobility.SetMobilityModel ("ns3::ConstantPositionMobilityModel");
mobility.Install (wifiApNode);
mobility.Install (wifiStaNode);
/* Internet stack*/
InternetStackHelper stack;
stack.Install (wifiStaNode);
stack.Install (wifiApNode);
Ipv4AddressHelper address;
address.SetBase ("192.168.1.0", "255.255.255.0");
Ipv4InterfaceContainer staNodeInterfaces;
Ipv4InterfaceContainer apNodeInterface;
staNodeInterfaces = address.Assign (staDevices);
apNodeInterface = address.Assign (apDevice);
/////////////////////////////////////////////////////////////////////
ApplicationContainer cbrApps;
uint16_t cbrPort = 12345;
OnOffHelper onOffHelper ("ns3::UdpSocketFactory", InetSocketAddress (apNodeInterface.GetAddress(0), cbrPort));
onOffHelper.SetAttribute ("PacketSize", UintegerValue (1400));
onOffHelper.SetAttribute ("OnTime", StringValue ("ns3::ConstantRandomVariable[Constant=1]"));
onOffHelper.SetAttribute ("OffTime", StringValue ("ns3::ConstantRandomVariable[Constant=0]"));
for (uint32_t i = 0; i < numStaNodes; i++)
{
// flow 1: node 0 -> node 1
onOffHelper.SetAttribute ("DataRate", StringValue ("1000000bps"));
onOffHelper.SetAttribute ("StartTime", TimeValue (Seconds (1.000000+(i*0.00001))));
cbrApps.Add (onOffHelper.Install (wifiStaNode.Get (i)));
}
// flow 2: node 2 -> node 1
/** \internal
* The slightly different start times and data rates are a workaround
* for \bugid{388} and \bugid{912}
*/
/** \internal
* We also use separate UDP applications that will send a single
* packet before the CBR flows start.
* This is a workaround for the lack of perfect ARP, see \bugid{187}
*/
uint16_t echoPort = 9;
UdpEchoClientHelper echoClientHelper (apNodeInterface.GetAddress(0), echoPort);
echoClientHelper.SetAttribute ("MaxPackets", UintegerValue (1));
echoClientHelper.SetAttribute ("Interval", TimeValue (Seconds (0.1)));
echoClientHelper.SetAttribute ("PacketSize", UintegerValue (10));
ApplicationContainer pingApps;
for (uint32_t i = 0; i < numStaNodes; i++)
{
// again using different start times to workaround Bug 388 and Bug 912
echoClientHelper.SetAttribute ("StartTime", TimeValue (Seconds (0.001+(i*0.005))));
pingApps.Add (echoClientHelper.Install (wifiStaNode.Get (i)));
// echoClientHelper.SetAttribute ("StartTime", TimeValue (Seconds (0.006)));
// pingApps.Add (echoClientHelper.Install (wifiStaNode.Get (1)));
}
FlowMonitorHelper flowmon;
Ptr<FlowMonitor> monitor = flowmon.InstallAll ();
// 9. Run simulation for 10 seconds
Simulator::Stop (Seconds (simulationTime + 1));
Simulator::Run ();
// 10. Print per flow statistics
monitor->CheckForLostPackets ();
Ptr<Ipv4FlowClassifier> classifier = DynamicCast<Ipv4FlowClassifier> (flowmon.GetClassifier ());
FlowMonitor::FlowStatsContainer stats = monitor->GetFlowStats ();
static double obs[3];
double otherThpt = 0;
for (std::map<FlowId, FlowMonitor::FlowStats>::const_iterator i = stats.begin (); i != stats.end (); ++i)
{
// first 2 FlowIds are for ECHO apps, we don't want to display them
//
// Duration for throughput measurement is 9.0 seconds, since
// StartTime of the OnOffApplication is at about "second 1"
// and
// Simulator::Stops at "second 10".
uint16_t one = 1;
if (i->first == (numStaNodes+one))
{
// Ipv4FlowClassifier::FiveTuple t = classifier->FindFlow (i->first);
// std::cout << "Flow " << i->first - numStaNodes << " (" << t.sourceAddress << " -> " << t.destinationAddress << ")\n";
// std::cout << " Tx Packets: " << i->second.txPackets << "\n";
// std::cout << " Tx Bytes: " << i->second.txBytes << "\n";
// std::cout << " TxOffered: " << i->second.txBytes * 8.0 / simulationTime / 1000 / 1000 << " Mbps\n";
// std::cout << " Rx Packets: " << i->second.rxPackets << "\n";
// std::cout << " Rx Bytes: " << i->second.rxBytes << "\n";
// std::cout << " Throughput: " << i->second.rxBytes * 8.0 / simulationTime / 1000 / 1000 << " Mbps\n";
// std::cout << " Throughput(fraction): " << i->second.rxBytes * 8.0 / simulationTime / 1000 / 1000 /1<<"\n";
obs[0] = i->second.txPackets;
obs[1] = i->second.rxPackets;
}
if (i->first > (numStaNodes+one))
{
// Ipv4FlowClassifier::FiveTuple t = classifier->FindFlow (i->first);
// std::cout << "Flow " << i->first - numStaNodes << " (" << t.sourceAddress << " -> " << t.destinationAddress << ")\n";
// std::cout << " Tx Packets: " << i->second.txPackets << "\n";
// std::cout << " Tx Bytes: " << i->second.txBytes << "\n";
// std::cout << " TxOffered: " << i->second.txBytes * 8.0 / simulationTime / 1000 / 1000 << " Mbps\n";
// std::cout << " Rx Packets: " << i->second.rxPackets << "\n";
// std::cout << " Rx Bytes: " << i->second.rxBytes << "\n";
// std::cout << " Throughput: " << i->second.rxBytes * 8.0 / simulationTime / 1000 / 1000 << " Mbps\n";
// std::cout << " Throughput(fraction): " << i->second.rxBytes * 8.0 / simulationTime / 1000 / 1000 /1<<"\n";
otherThpt = otherThpt+i->second.rxPackets;
}
obs[2] = otherThpt;
}
// 11. Cleanup
Simulator::Destroy ();
/////////////////////////////////////////////////////////////////////
// /* Setting applications */
// uint16_t port = 9;
// UdpServerHelper server (port);
// ApplicationContainer serverApp = server.Install (wifiStaNode.Get (0));
// serverApp.Start (Seconds (0.0));
// serverApp.Stop (Seconds (simulationTime + 1));
// UdpClientHelper client (staNodeInterface.GetAddress (0), port);
// client.SetAttribute ("MaxPackets", UintegerValue (4294967295u));
// client.SetAttribute ("Interval", TimeValue (Time ("0.0001"))); //packets/s
// client.SetAttribute ("PacketSize", UintegerValue (payloadSize));
// ApplicationContainer clientApp = client.Install (wifiApNode.Get (0));
// clientApp.Start (Seconds (1.0));
// clientApp.Stop (Seconds (simulationTime + 1));
///////////////////////////////////////////////////////////////////////////
// if (enablePcap)
// { std::stringstream ss;
// ss << "wifi-spectrum-saturation-example-" << i;
// phy.EnablePcap (ss.str (), staDeviceA);
// }
// Simulator::Stop (Seconds (simulationTime + 1));
// Simulator::Run ();
// double throughput;
// uint64_t totalPacketsThrough;
// totalPacketsThrough = DynamicCast<UdpServer> (serverApp.Get (0))->GetReceived ();
// throughput = totalPacketsThrough * payloadSize * 8 / (simulationTime * 1000000.0); //Mbit/s
// std::cout << std::setw (5) << i <<
// std::setw (6) << (i % 8) + 8 * (i / 32) <<
// std::setw (8) << channelWidth <<
// std::setw (10) << datarate <<
// std::setw (12) << throughput <<
// std::setw (8) << totalPacketsThrough <<
// std::endl;
// Simulator::Destroy ();
return obs;
}
void writeArraytoTxt(const std::string& fileName,double arr[],uint16_t arrayLen)
{
std::ofstream out_stream;
std::cout.precision(4);
out_stream.open(fileName);
for (uint32_t i = 0; i < arrayLen; i++)
{
//
// std::cout<<op[i]<<std::endl;
out_stream << arr[i] << std::endl;
//
}
out_stream.close();
}
int main()
{
uint16_t n = 20;
uint32_t otherCW = 256;
uint32_t numExample = 500;
double SimTime = 30.0;
// Node 1 CW Range define
// uint32_t cwLow = 32;
// uint32_t cwHigh = 512;
// uint32_t cwDiff = 8;
// uint32_t actionDim = ((cwHigh-cwLow)/cwDiff)+1;
//
// uint32_t cw1List[actionDim];
// for (uint32_t l = 0;l<actionDim;l++)
// {
// cw1List[l] = cwLow+(l*cwDiff);
// }
uint32_t cw1List[9] = {32,48,64,96,128,192,256,384,512};
uint32_t actionDim = 9;
// CW initialization
uint32_t minCw [n];
for (uint16_t k = 0;k<n;k++)
{
minCw[k] = otherCW;
}
double *op;
double node1Tx[numExample];
double node1Rx[numExample];
double otherRx[numExample];
for (uint32_t j = 0;j < actionDim; j++)
{
minCw[0] = cw1List[j];
for (uint32_t i = 0; i < numExample; i++)
{
op = simulate(n,minCw,SimTime,i+cw1List[j]);//add some random no
node1Tx[i] = op[0];
node1Rx[i] = op[1];
otherRx[i] = op[2];
}
std::string fileNameBase = std::to_string(minCw[0])+'+'+std::to_string(minCw[1]); // 32+32
std::string fileExt = ".txt";
fileNameBase = fileNameBase+fileExt; // 32+32.txt
std::string prefix1 = "./Dataset/20Node/node1TxPackets";
std::string prefix2 = "./Dataset/20Node/node1RxPackets";
std::string prefix3 = "./Dataset/20Node/otherRxPackets";
// std::string fileNameBase2 = "flow2";
std::string fileName1 = prefix1+'+'+fileNameBase;
std::string fileName2 = prefix2+'+'+fileNameBase;
std::string fileName3 = prefix3+'+'+fileNameBase;
std::cout<<fileName1<<std::endl;
std::cout<<fileName2<<std::endl;
std::cout<<fileName3<<std::endl;
writeArraytoTxt(fileName1,node1Tx,numExample);
writeArraytoTxt(fileName2,node1Rx,numExample);
writeArraytoTxt(fileName3,otherRx,numExample);
}
return 0;
}
| [
"noreply@github.com"
] | kumarabhish3k.noreply@github.com |
c609d724bfe28bdf7a86953d5737627da113e2c4 | c7850d478e1a62fc8b016225d7a748cf1b0cb81f | /tpf/modelos-plain/godley-tables-matlab/src/chgWorkersMinus.h | ccca21e7ec3bdf2ba163a76d8fd8ff5f813f1c57 | [] | no_license | dioh/sed_2017_tps | 8bac2bd824335581a33ad9b010747ea4af273130 | c17d1d2d4b1d80bafe33053f7f2b58661b9bcc65 | refs/heads/master | 2021-09-14T07:35:57.009752 | 2018-05-09T19:16:33 | 2018-05-09T19:16:33 | 103,854,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | h | #ifndef _chgWorkersMinus_H_
#define _chgWorkersMinus_H_
#include <random>
#include "atomic.h"
#include "VTime.h"
#define CHGWORKERSMINUS "chgWorkersMinus"
class chgWorkersMinus : public Atomic {
public:
chgWorkersMinus(const string &name = CHGWORKERSMINUS );
virtual string className() const { return CHGWORKERSMINUS ;}
protected:
Model &initFunction();
Model &externalFunction( const ExternalMessage & );
Model &internalFunction( const InternalMessage & );
Model &outputFunction( const CollectMessage & );
private:
const Port &Wages;
const Port &ConsW;
Port &out;
double val_Wages;
double val_ConsW;
bool isSet_val_Wages;
bool isSet_val_ConsW;
};
#endif | [
"pedro3110.jim@gmail.com"
] | pedro3110.jim@gmail.com |
840e2430a03e63114387b150f6ee954c0b10a284 | 58ac7ce414dcbe875e26bb6fae692e3c74f39c4e | /net/cookies/cookie_store_unittest.h | 2f6ee6260334fd542e976e59a51d3e32ed6d1b08 | [] | no_license | markthomas93/tempwork | f4ba7b4620c1cb806aef40a66692115140b42c90 | 93c852f3d14c95b2d73077b00e7284ea6f416d84 | refs/heads/master | 2021-12-10T10:35:39.230466 | 2016-08-11T12:00:33 | 2016-08-11T12:00:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 61,342 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_COOKIES_COOKIE_STORE_UNITTEST_H_
#define NET_COOKIES_COOKIE_STORE_UNITTEST_H_
#include <set>
#include <string>
#include <vector>
#include "base/bind.h"
#include "base/location.h"
#include "base/message_loop/message_loop.h"
#include "base/single_thread_task_runner.h"
#include "base/strings/string_tokenizer.h"
#include "base/threading/thread.h"
#include "base/threading/thread_task_runner_handle.h"
#include "net/cookies/cookie_monster.h"
#include "net/cookies/cookie_store.h"
#include "net/cookies/cookie_store_test_callbacks.h"
#include "net/cookies/cookie_store_test_helpers.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#if defined(OS_IOS)
#include "base/ios/ios_util.h"
#endif
// This file declares unittest templates that can be used to test common
// behavior of any CookieStore implementation.
// See cookie_monster_unittest.cc for an example of an implementation.
namespace net {
using base::Thread;
const int kTimeout = 1000;
const char kValidCookieLine[] = "A=B; path=/";
// The CookieStoreTestTraits must have the following members:
// struct CookieStoreTestTraits {
// // Factory function. Will be called at most once per test.
// static std::unique_ptr<CookieStore> Create();
//
// // The cookie store supports cookies with the exclude_httponly() option.
// static const bool supports_http_only;
//
// // The cookie store is able to make the difference between the ".com"
// // and the "com" domains.
// static const bool supports_non_dotted_domains;
//
// // The cookie store does not fold domains with trailing dots (so "com." and
// "com" are different domains).
// static const bool preserves_trailing_dots;
//
// // The cookie store rejects cookies for invalid schemes such as ftp.
// static const bool filters_schemes;
//
// // The cookie store has a bug happening when a path is a substring of
// // another.
// static const bool has_path_prefix_bug;
//
// // Time to wait between two cookie insertions to ensure that cookies have
// // different creation times.
// static const int creation_time_granularity_in_ms;
//
// // The cookie store enforces secure flag requires a secure scheme.
// static const bool enforce_strict_secure;
// };
template <class CookieStoreTestTraits>
class CookieStoreTest : public testing::Test {
protected:
CookieStoreTest()
: http_www_google_("http://www.google.izzle"),
https_www_google_("https://www.google.izzle"),
ftp_google_("ftp://ftp.google.izzle/"),
ws_www_google_("ws://www.google.izzle"),
wss_www_google_("wss://www.google.izzle"),
www_google_foo_("http://www.google.izzle/foo"),
www_google_bar_("http://www.google.izzle/bar"),
http_foo_com_("http://foo.com"),
http_bar_com_("http://bar.com") {
// This test may be used outside of the net test suite, and thus may not
// have a message loop.
if (!base::MessageLoop::current())
message_loop_.reset(new base::MessageLoop);
weak_factory_.reset(new base::WeakPtrFactory<base::MessageLoop>(
base::MessageLoop::current()));
}
// Helper methods for the asynchronous Cookie Store API that call the
// asynchronous method and then pump the loop until the callback is invoked,
// finally returning the value.
std::string GetCookies(CookieStore* cs, const GURL& url) {
DCHECK(cs);
CookieOptions options;
if (!CookieStoreTestTraits::supports_http_only)
options.set_include_httponly();
return GetCookiesWithOptions(cs, url, options);
}
std::string GetCookiesWithOptions(CookieStore* cs,
const GURL& url,
const CookieOptions& options) {
DCHECK(cs);
GetCookieListCallback callback;
cs->GetCookieListWithOptionsAsync(
url, options,
base::Bind(&GetCookieListCallback::Run, base::Unretained(&callback)));
callback.WaitUntilDone();
return CookieStore::BuildCookieLine(callback.cookies());
}
CookieList GetCookieListWithOptions(CookieStore* cs,
const GURL& url,
const CookieOptions& options) {
DCHECK(cs);
GetCookieListCallback callback;
cs->GetCookieListWithOptionsAsync(
url, options,
base::Bind(&GetCookieListCallback::Run, base::Unretained(&callback)));
callback.WaitUntilDone();
return callback.cookies();
}
CookieList GetAllCookiesForURL(CookieStore* cs, const GURL& url) {
DCHECK(cs);
GetCookieListCallback callback;
cs->GetAllCookiesForURLAsync(url, base::Bind(&GetCookieListCallback::Run,
base::Unretained(&callback)));
callback.WaitUntilDone();
return callback.cookies();
}
CookieList GetAllCookies(CookieStore* cs) {
DCHECK(cs);
GetCookieListCallback callback;
cs->GetAllCookiesAsync(
base::Bind(&GetCookieListCallback::Run, base::Unretained(&callback)));
callback.WaitUntilDone();
return callback.cookies();
}
bool SetCookieWithOptions(CookieStore* cs,
const GURL& url,
const std::string& cookie_line,
const CookieOptions& options) {
DCHECK(cs);
ResultSavingCookieCallback<bool> callback;
cs->SetCookieWithOptionsAsync(
url, cookie_line, options,
base::Bind(
&ResultSavingCookieCallback<bool>::Run,
base::Unretained(&callback)));
callback.WaitUntilDone();
return callback.result();
}
bool SetCookieWithDetails(CookieStore* cs,
const GURL& url,
const std::string& name,
const std::string& value,
const std::string& domain,
const std::string& path,
const base::Time creation_time,
const base::Time expiration_time,
const base::Time last_access_time,
bool secure,
bool http_only,
CookieSameSite same_site,
CookiePriority priority) {
DCHECK(cs);
ResultSavingCookieCallback<bool> callback;
cs->SetCookieWithDetailsAsync(
url, name, value, domain, path, creation_time, expiration_time,
last_access_time, secure, http_only, same_site,
false /* enforces strict secure cookies */, priority,
base::Bind(&ResultSavingCookieCallback<bool>::Run,
base::Unretained(&callback)));
callback.WaitUntilDone();
return callback.result();
}
bool SetCookieWithServerTime(CookieStore* cs,
const GURL& url,
const std::string& cookie_line,
const base::Time& server_time) {
CookieOptions options;
if (!CookieStoreTestTraits::supports_http_only)
options.set_include_httponly();
options.set_server_time(server_time);
return SetCookieWithOptions(cs, url, cookie_line, options);
}
bool SetCookie(CookieStore* cs,
const GURL& url,
const std::string& cookie_line) {
CookieOptions options;
if (!CookieStoreTestTraits::supports_http_only)
options.set_include_httponly();
if (CookieStoreTestTraits::enforce_strict_secure)
options.set_enforce_strict_secure();
return SetCookieWithOptions(cs, url, cookie_line, options);
}
void DeleteCookie(CookieStore* cs,
const GURL& url,
const std::string& cookie_name) {
DCHECK(cs);
NoResultCookieCallback callback;
cs->DeleteCookieAsync(
url, cookie_name,
base::Bind(&NoResultCookieCallback::Run, base::Unretained(&callback)));
callback.WaitUntilDone();
}
int DeleteCanonicalCookie(CookieStore* cs, const CanonicalCookie& cookie) {
DCHECK(cs);
ResultSavingCookieCallback<int> callback;
cs->DeleteCanonicalCookieAsync(
cookie, base::Bind(&ResultSavingCookieCallback<int>::Run,
base::Unretained(&callback)));
callback.WaitUntilDone();
return callback.result();
}
int DeleteCreatedBetween(CookieStore* cs,
const base::Time& delete_begin,
const base::Time& delete_end) {
DCHECK(cs);
ResultSavingCookieCallback<int> callback;
cs->DeleteAllCreatedBetweenAsync(
delete_begin, delete_end,
base::Bind(
&ResultSavingCookieCallback<int>::Run,
base::Unretained(&callback)));
callback.WaitUntilDone();
return callback.result();
}
int DeleteAllCreatedBetweenWithPredicate(
CookieStore* cs,
const base::Time delete_begin,
const base::Time delete_end,
const CookieStore::CookiePredicate& predicate) {
DCHECK(cs);
ResultSavingCookieCallback<int> callback;
cs->DeleteAllCreatedBetweenWithPredicateAsync(
delete_begin, delete_end, predicate,
base::Bind(&ResultSavingCookieCallback<int>::Run,
base::Unretained(&callback)));
callback.WaitUntilDone();
return callback.result();
}
int DeleteSessionCookies(CookieStore* cs) {
DCHECK(cs);
ResultSavingCookieCallback<int> callback;
cs->DeleteSessionCookiesAsync(
base::Bind(
&ResultSavingCookieCallback<int>::Run,
base::Unretained(&callback)));
callback.WaitUntilDone();
return callback.result();
}
int DeleteAll(CookieStore* cs) {
DCHECK(cs);
ResultSavingCookieCallback<int> callback;
cs->DeleteAllAsync(base::Bind(&ResultSavingCookieCallback<int>::Run,
base::Unretained(&callback)));
callback.WaitUntilDone();
return callback.result();
}
// Returns the CookieStore for the test - each test only uses one CookieStore.
CookieStore* GetCookieStore() {
if (!cookie_store_)
cookie_store_ = CookieStoreTestTraits::Create();
return cookie_store_.get();
}
// Compares two cookie lines.
void MatchCookieLines(const std::string& line1, const std::string& line2) {
EXPECT_EQ(TokenizeCookieLine(line1), TokenizeCookieLine(line2));
}
// Check the cookie line by polling until equality or a timeout is reached.
void MatchCookieLineWithTimeout(CookieStore* cs,
const GURL& url,
const std::string& line) {
std::string cookies = GetCookies(cs, url);
bool matched = (TokenizeCookieLine(line) == TokenizeCookieLine(cookies));
base::Time polling_end_date = base::Time::Now() +
base::TimeDelta::FromMilliseconds(
CookieStoreTestTraits::creation_time_granularity_in_ms);
while (!matched && base::Time::Now() <= polling_end_date) {
base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10));
cookies = GetCookies(cs, url);
matched = (TokenizeCookieLine(line) == TokenizeCookieLine(cookies));
}
EXPECT_TRUE(matched) << "\"" << cookies
<< "\" does not match \"" << line << "\"";
}
const CookieURLHelper http_www_google_;
const CookieURLHelper https_www_google_;
const CookieURLHelper ftp_google_;
const CookieURLHelper ws_www_google_;
const CookieURLHelper wss_www_google_;
const CookieURLHelper www_google_foo_;
const CookieURLHelper www_google_bar_;
const CookieURLHelper http_foo_com_;
const CookieURLHelper http_bar_com_;
std::unique_ptr<base::WeakPtrFactory<base::MessageLoop>> weak_factory_;
std::unique_ptr<base::MessageLoop> message_loop_;
private:
// Returns a set of strings of type "name=value". Fails in case of duplicate.
std::set<std::string> TokenizeCookieLine(const std::string& line) {
std::set<std::string> tokens;
base::StringTokenizer tokenizer(line, " ;");
while (tokenizer.GetNext())
EXPECT_TRUE(tokens.insert(tokenizer.token()).second);
return tokens;
}
std::unique_ptr<CookieStore> cookie_store_;
};
TYPED_TEST_CASE_P(CookieStoreTest);
TYPED_TEST_P(CookieStoreTest, SetCookieWithDetailsAsync) {
CookieStore* cs = this->GetCookieStore();
base::Time two_hours_ago = base::Time::Now() - base::TimeDelta::FromHours(2);
base::Time one_hour_ago = base::Time::Now() - base::TimeDelta::FromHours(1);
base::Time one_hour_from_now =
base::Time::Now() + base::TimeDelta::FromHours(1);
EXPECT_TRUE(this->SetCookieWithDetails(
cs, this->www_google_foo_.url(), "A", "B", std::string(), "/foo",
one_hour_ago, one_hour_from_now, base::Time(), false, false,
CookieSameSite::DEFAULT_MODE, COOKIE_PRIORITY_DEFAULT));
// Note that for the creation time to be set exactly, without modification,
// it must be different from the one set by the line above.
EXPECT_TRUE(this->SetCookieWithDetails(
cs, this->www_google_bar_.url(), "C", "D", this->www_google_bar_.domain(),
"/bar", two_hours_ago, base::Time(), one_hour_ago, false, true,
CookieSameSite::DEFAULT_MODE, COOKIE_PRIORITY_DEFAULT));
EXPECT_TRUE(this->SetCookieWithDetails(
cs, this->http_www_google_.url(), "E", "F", std::string(), std::string(),
base::Time(), base::Time(), base::Time(), true, false,
CookieSameSite::DEFAULT_MODE, COOKIE_PRIORITY_DEFAULT));
// Test that malformed attributes fail to set the cookie.
EXPECT_FALSE(this->SetCookieWithDetails(
cs, this->www_google_foo_.url(), " A", "B", std::string(), "/foo",
base::Time(), base::Time(), base::Time(), false, false,
CookieSameSite::DEFAULT_MODE, COOKIE_PRIORITY_DEFAULT));
EXPECT_FALSE(this->SetCookieWithDetails(
cs, this->www_google_foo_.url(), "A;", "B", std::string(), "/foo",
base::Time(), base::Time(), base::Time(), false, false,
CookieSameSite::DEFAULT_MODE, COOKIE_PRIORITY_DEFAULT));
EXPECT_FALSE(this->SetCookieWithDetails(
cs, this->www_google_foo_.url(), "A=", "B", std::string(), "/foo",
base::Time(), base::Time(), base::Time(), false, false,
CookieSameSite::DEFAULT_MODE, COOKIE_PRIORITY_DEFAULT));
EXPECT_FALSE(this->SetCookieWithDetails(
cs, this->www_google_foo_.url(), "A", "B", "google.ozzzzzzle", "foo",
base::Time(), base::Time(), base::Time(), false, false,
CookieSameSite::DEFAULT_MODE, COOKIE_PRIORITY_DEFAULT));
EXPECT_FALSE(this->SetCookieWithDetails(
cs, this->www_google_foo_.url(), "A=", "B", std::string(), "foo",
base::Time(), base::Time(), base::Time(), false, false,
CookieSameSite::DEFAULT_MODE, COOKIE_PRIORITY_DEFAULT));
// Get all the cookies for a given URL, regardless of properties. This 'get()'
// operation shouldn't update the access time, as the test checks that the
// access time is set properly upon creation. Updating the access time would
// make that difficult.
CookieOptions options;
options.set_include_httponly();
options.set_same_site_cookie_mode(
CookieOptions::SameSiteCookieMode::INCLUDE_STRICT_AND_LAX);
options.set_do_not_update_access_time();
CookieList cookies =
this->GetCookieListWithOptions(cs, this->www_google_foo_.url(), options);
CookieList::iterator it = cookies.begin();
ASSERT_TRUE(it != cookies.end());
EXPECT_EQ("A", it->Name());
EXPECT_EQ("B", it->Value());
EXPECT_EQ(this->www_google_foo_.host(), it->Domain());
EXPECT_EQ("/foo", it->Path());
EXPECT_EQ(one_hour_ago, it->CreationDate());
EXPECT_TRUE(it->IsPersistent());
// Expect expiration date is in the right range. Some cookie implementations
// may not record it with millisecond accuracy.
EXPECT_LE((one_hour_from_now - it->ExpiryDate()).magnitude().InSeconds(), 5);
// Some CookieStores don't store last access date.
if (!it->LastAccessDate().is_null())
EXPECT_EQ(one_hour_ago, it->LastAccessDate());
EXPECT_FALSE(it->IsSecure());
EXPECT_FALSE(it->IsHttpOnly());
ASSERT_TRUE(++it == cookies.end());
// Verify that the cookie was set as 'httponly' by passing in a CookieOptions
// that excludes them and getting an empty result.
if (TypeParam::supports_http_only) {
cookies = this->GetCookieListWithOptions(cs, this->www_google_bar_.url(),
CookieOptions());
it = cookies.begin();
ASSERT_TRUE(it == cookies.end());
}
// Get the cookie using the wide open |options|:
cookies =
this->GetCookieListWithOptions(cs, this->www_google_bar_.url(), options);
it = cookies.begin();
ASSERT_TRUE(it != cookies.end());
EXPECT_EQ("C", it->Name());
EXPECT_EQ("D", it->Value());
EXPECT_EQ(this->www_google_bar_.Format(".%D"), it->Domain());
EXPECT_EQ("/bar", it->Path());
EXPECT_EQ(two_hours_ago, it->CreationDate());
EXPECT_FALSE(it->IsPersistent());
// Some CookieStores don't store last access date.
if (!it->LastAccessDate().is_null())
EXPECT_EQ(one_hour_ago, it->LastAccessDate());
EXPECT_FALSE(it->IsSecure());
EXPECT_TRUE(it->IsHttpOnly());
EXPECT_TRUE(++it == cookies.end());
cookies = this->GetCookieListWithOptions(cs, this->https_www_google_.url(),
options);
it = cookies.begin();
ASSERT_TRUE(it != cookies.end());
EXPECT_EQ("E", it->Name());
EXPECT_EQ("F", it->Value());
EXPECT_EQ("/", it->Path());
EXPECT_EQ(this->https_www_google_.host(), it->Domain());
// Cookie should have its creation time set, and be in a reasonable range.
EXPECT_LE((base::Time::Now() - it->CreationDate()).magnitude().InMinutes(),
2);
EXPECT_FALSE(it->IsPersistent());
// Some CookieStores don't store last access date.
if (!it->LastAccessDate().is_null())
EXPECT_EQ(it->CreationDate(), it->LastAccessDate());
EXPECT_TRUE(it->IsSecure());
EXPECT_FALSE(it->IsHttpOnly());
EXPECT_TRUE(++it == cookies.end());
}
TYPED_TEST_P(CookieStoreTest, DomainTest) {
CookieStore* cs = this->GetCookieStore();
EXPECT_TRUE(this->SetCookie(cs, this->http_www_google_.url(), "A=B"));
this->MatchCookieLines("A=B",
this->GetCookies(cs, this->http_www_google_.url()));
EXPECT_TRUE(
this->SetCookie(cs, this->http_www_google_.url(),
this->http_www_google_.Format("C=D; domain=.%D")));
this->MatchCookieLines("A=B; C=D",
this->GetCookies(cs, this->http_www_google_.url()));
// Verify that A=B was set as a host cookie rather than a domain
// cookie -- should not be accessible from a sub sub-domain.
this->MatchCookieLines(
"C=D", this->GetCookies(
cs, GURL(this->http_www_google_.Format("http://foo.www.%D"))));
// Test and make sure we find domain cookies on the same domain.
EXPECT_TRUE(
this->SetCookie(cs, this->http_www_google_.url(),
this->http_www_google_.Format("E=F; domain=.www.%D")));
this->MatchCookieLines("A=B; C=D; E=F",
this->GetCookies(cs, this->http_www_google_.url()));
// Test setting a domain= that doesn't start w/ a dot, should
// treat it as a domain cookie, as if there was a pre-pended dot.
EXPECT_TRUE(
this->SetCookie(cs, this->http_www_google_.url(),
this->http_www_google_.Format("G=H; domain=www.%D")));
this->MatchCookieLines("A=B; C=D; E=F; G=H",
this->GetCookies(cs, this->http_www_google_.url()));
// Test domain enforcement, should fail on a sub-domain or something too deep.
EXPECT_FALSE(
this->SetCookie(cs, this->http_www_google_.url(),
this->http_www_google_.Format("I=J; domain=.%R")));
this->MatchCookieLines(
std::string(),
this->GetCookies(cs, GURL(this->http_www_google_.Format("http://a.%R"))));
EXPECT_FALSE(this->SetCookie(
cs, this->http_www_google_.url(),
this->http_www_google_.Format("K=L; domain=.bla.www.%D")));
this->MatchCookieLines(
"C=D; E=F; G=H",
this->GetCookies(
cs, GURL(this->http_www_google_.Format("http://bla.www.%D"))));
this->MatchCookieLines("A=B; C=D; E=F; G=H",
this->GetCookies(cs, this->http_www_google_.url()));
}
// FireFox recognizes domains containing trailing periods as valid.
// IE and Safari do not. Assert the expected policy here.
TYPED_TEST_P(CookieStoreTest, DomainWithTrailingDotTest) {
CookieStore* cs = this->GetCookieStore();
EXPECT_FALSE(this->SetCookie(cs, this->http_www_google_.url(),
"a=1; domain=.www.google.com."));
EXPECT_FALSE(this->SetCookie(cs, this->http_www_google_.url(),
"b=2; domain=.www.google.com.."));
this->MatchCookieLines(std::string(),
this->GetCookies(cs, this->http_www_google_.url()));
}
// Test that cookies can bet set on higher level domains.
TYPED_TEST_P(CookieStoreTest, ValidSubdomainTest) {
CookieStore* cs = this->GetCookieStore();
GURL url_abcd("http://a.b.c.d.com");
GURL url_bcd("http://b.c.d.com");
GURL url_cd("http://c.d.com");
GURL url_d("http://d.com");
EXPECT_TRUE(this->SetCookie(cs, url_abcd, "a=1; domain=.a.b.c.d.com"));
EXPECT_TRUE(this->SetCookie(cs, url_abcd, "b=2; domain=.b.c.d.com"));
EXPECT_TRUE(this->SetCookie(cs, url_abcd, "c=3; domain=.c.d.com"));
EXPECT_TRUE(this->SetCookie(cs, url_abcd, "d=4; domain=.d.com"));
this->MatchCookieLines("a=1; b=2; c=3; d=4", this->GetCookies(cs, url_abcd));
this->MatchCookieLines("b=2; c=3; d=4", this->GetCookies(cs, url_bcd));
this->MatchCookieLines("c=3; d=4", this->GetCookies(cs, url_cd));
this->MatchCookieLines("d=4", this->GetCookies(cs, url_d));
// Check that the same cookie can exist on different sub-domains.
EXPECT_TRUE(this->SetCookie(cs, url_bcd, "X=bcd; domain=.b.c.d.com"));
EXPECT_TRUE(this->SetCookie(cs, url_bcd, "X=cd; domain=.c.d.com"));
this->MatchCookieLines("b=2; c=3; d=4; X=bcd; X=cd",
this->GetCookies(cs, url_bcd));
this->MatchCookieLines("c=3; d=4; X=cd", this->GetCookies(cs, url_cd));
}
// Test that setting a cookie which specifies an invalid domain has
// no side-effect. An invalid domain in this context is one which does
// not match the originating domain.
TYPED_TEST_P(CookieStoreTest, InvalidDomainTest) {
CookieStore* cs = this->GetCookieStore();
GURL url_foobar("http://foo.bar.com");
// More specific sub-domain than allowed.
EXPECT_FALSE(this->SetCookie(cs, url_foobar, "a=1; domain=.yo.foo.bar.com"));
EXPECT_FALSE(this->SetCookie(cs, url_foobar, "b=2; domain=.foo.com"));
EXPECT_FALSE(this->SetCookie(cs, url_foobar, "c=3; domain=.bar.foo.com"));
// Different TLD, but the rest is a substring.
EXPECT_FALSE(this->SetCookie(cs, url_foobar, "d=4; domain=.foo.bar.com.net"));
// A substring that isn't really a parent domain.
EXPECT_FALSE(this->SetCookie(cs, url_foobar, "e=5; domain=ar.com"));
// Completely invalid domains:
EXPECT_FALSE(this->SetCookie(cs, url_foobar, "f=6; domain=."));
EXPECT_FALSE(this->SetCookie(cs, url_foobar, "g=7; domain=/"));
EXPECT_FALSE(
this->SetCookie(cs, url_foobar, "h=8; domain=http://foo.bar.com"));
EXPECT_FALSE(this->SetCookie(cs, url_foobar, "i=9; domain=..foo.bar.com"));
EXPECT_FALSE(this->SetCookie(cs, url_foobar, "j=10; domain=..bar.com"));
// Make sure there isn't something quirky in the domain canonicalization
// that supports full URL semantics.
EXPECT_FALSE(
this->SetCookie(cs, url_foobar, "k=11; domain=.foo.bar.com?blah"));
EXPECT_FALSE(
this->SetCookie(cs, url_foobar, "l=12; domain=.foo.bar.com/blah"));
EXPECT_FALSE(this->SetCookie(cs, url_foobar, "m=13; domain=.foo.bar.com:80"));
EXPECT_FALSE(this->SetCookie(cs, url_foobar, "n=14; domain=.foo.bar.com:"));
EXPECT_FALSE(
this->SetCookie(cs, url_foobar, "o=15; domain=.foo.bar.com#sup"));
this->MatchCookieLines(std::string(), this->GetCookies(cs, url_foobar));
}
// Make sure the cookie code hasn't gotten its subdomain string handling
// reversed, missed a suffix check, etc. It's important here that the two
// hosts below have the same domain + registry.
TYPED_TEST_P(CookieStoreTest, InvalidDomainSameDomainAndRegistry) {
CookieStore* cs = this->GetCookieStore();
GURL url_foocom("http://foo.com.com");
EXPECT_FALSE(this->SetCookie(cs, url_foocom, "a=1; domain=.foo.com.com.com"));
this->MatchCookieLines(std::string(), this->GetCookies(cs, url_foocom));
}
// Setting the domain without a dot on a parent domain should add a domain
// cookie.
TYPED_TEST_P(CookieStoreTest, DomainWithoutLeadingDotParentDomain) {
CookieStore* cs = this->GetCookieStore();
GURL url_hosted("http://manage.hosted.filefront.com");
GURL url_filefront("http://www.filefront.com");
EXPECT_TRUE(this->SetCookie(cs, url_hosted, "sawAd=1; domain=filefront.com"));
this->MatchCookieLines("sawAd=1", this->GetCookies(cs, url_hosted));
this->MatchCookieLines("sawAd=1", this->GetCookies(cs, url_filefront));
}
// Even when the specified domain matches the domain of the URL exactly, treat
// it as setting a domain cookie.
TYPED_TEST_P(CookieStoreTest, DomainWithoutLeadingDotSameDomain) {
CookieStore* cs = this->GetCookieStore();
GURL url("http://www.google.com");
EXPECT_TRUE(this->SetCookie(cs, url, "a=1; domain=www.google.com"));
this->MatchCookieLines("a=1", this->GetCookies(cs, url));
this->MatchCookieLines(
"a=1", this->GetCookies(cs, GURL("http://sub.www.google.com")));
this->MatchCookieLines(
std::string(), this->GetCookies(cs, GURL("http://something-else.com")));
}
// Test that the domain specified in cookie string is treated case-insensitive
TYPED_TEST_P(CookieStoreTest, CaseInsensitiveDomainTest) {
CookieStore* cs = this->GetCookieStore();
GURL url("http://www.google.com");
EXPECT_TRUE(this->SetCookie(cs, url, "a=1; domain=.GOOGLE.COM"));
EXPECT_TRUE(this->SetCookie(cs, url, "b=2; domain=.wWw.gOOgLE.coM"));
this->MatchCookieLines("a=1; b=2", this->GetCookies(cs, url));
}
TYPED_TEST_P(CookieStoreTest, TestIpAddress) {
GURL url_ip("http://1.2.3.4/weee");
CookieStore* cs = this->GetCookieStore();
EXPECT_TRUE(this->SetCookie(cs, url_ip, kValidCookieLine));
this->MatchCookieLines("A=B", this->GetCookies(cs, url_ip));
}
// IP addresses should not be able to set domain cookies.
TYPED_TEST_P(CookieStoreTest, TestIpAddressNoDomainCookies) {
GURL url_ip("http://1.2.3.4/weee");
CookieStore* cs = this->GetCookieStore();
EXPECT_FALSE(this->SetCookie(cs, url_ip, "b=2; domain=.1.2.3.4"));
EXPECT_FALSE(this->SetCookie(cs, url_ip, "c=3; domain=.3.4"));
this->MatchCookieLines(std::string(), this->GetCookies(cs, url_ip));
// It should be allowed to set a cookie if domain= matches the IP address
// exactly. This matches IE/Firefox, even though it seems a bit wrong.
EXPECT_FALSE(this->SetCookie(cs, url_ip, "b=2; domain=1.2.3.3"));
this->MatchCookieLines(std::string(), this->GetCookies(cs, url_ip));
EXPECT_TRUE(this->SetCookie(cs, url_ip, "b=2; domain=1.2.3.4"));
this->MatchCookieLines("b=2", this->GetCookies(cs, url_ip));
}
// Test a TLD setting cookies on itself.
TYPED_TEST_P(CookieStoreTest, TestTLD) {
if (!TypeParam::supports_non_dotted_domains)
return;
CookieStore* cs = this->GetCookieStore();
GURL url("http://com/");
// Allow setting on "com", (but only as a host cookie).
EXPECT_TRUE(this->SetCookie(cs, url, "a=1"));
// Domain cookies can't be set.
EXPECT_FALSE(this->SetCookie(cs, url, "b=2; domain=.com"));
// Exact matches between the domain attribute and the host are treated as
// host cookies, not domain cookies.
EXPECT_TRUE(this->SetCookie(cs, url, "c=3; domain=com"));
this->MatchCookieLines("a=1; c=3", this->GetCookies(cs, url));
// Make sure they don't show up for a normal .com, they should be host,
// domain, cookies.
this->MatchCookieLines(
std::string(),
this->GetCookies(cs, GURL("http://hopefully-no-cookies.com/")));
this->MatchCookieLines(std::string(),
this->GetCookies(cs, GURL("http://.com/")));
}
// http://com. should be treated the same as http://com.
TYPED_TEST_P(CookieStoreTest, TestTLDWithTerminalDot) {
CookieStore* cs = this->GetCookieStore();
GURL url("http://com./index.html");
EXPECT_TRUE(this->SetCookie(cs, url, "a=1"));
EXPECT_FALSE(this->SetCookie(cs, url, "b=2; domain=.com."));
this->MatchCookieLines("a=1", this->GetCookies(cs, url));
this->MatchCookieLines(
std::string(),
this->GetCookies(cs, GURL("http://hopefully-no-cookies.com./")));
}
TYPED_TEST_P(CookieStoreTest, TestSubdomainSettingCookiesOnUnknownTLD) {
CookieStore* cs = this->GetCookieStore();
GURL url("http://a.b");
EXPECT_FALSE(this->SetCookie(cs, url, "a=1; domain=.b"));
EXPECT_FALSE(this->SetCookie(cs, url, "b=2; domain=b"));
this->MatchCookieLines(std::string(), this->GetCookies(cs, url));
}
TYPED_TEST_P(CookieStoreTest, TestSubdomainSettingCookiesOnKnownTLD) {
CookieStore* cs = this->GetCookieStore();
GURL url("http://google.com");
EXPECT_FALSE(this->SetCookie(cs, url, "a=1; domain=.com"));
EXPECT_FALSE(this->SetCookie(cs, url, "b=2; domain=com"));
this->MatchCookieLines(std::string(), this->GetCookies(cs, url));
}
TYPED_TEST_P(CookieStoreTest, TestSubdomainSettingCookiesOnKnownDottedTLD) {
CookieStore* cs = this->GetCookieStore();
GURL url("http://google.co.uk");
EXPECT_FALSE(this->SetCookie(cs, url, "a=1; domain=.co.uk"));
EXPECT_FALSE(this->SetCookie(cs, url, "b=2; domain=.uk"));
this->MatchCookieLines(std::string(), this->GetCookies(cs, url));
this->MatchCookieLines(
std::string(), this->GetCookies(cs, GURL("http://something-else.co.uk")));
this->MatchCookieLines(
std::string(), this->GetCookies(cs, GURL("http://something-else.uk")));
}
// Intranet URLs should only be able to set host cookies.
TYPED_TEST_P(CookieStoreTest, TestSettingCookiesOnUnknownTLD) {
CookieStore* cs = this->GetCookieStore();
GURL url("http://b");
EXPECT_TRUE(this->SetCookie(cs, url, "a=1"));
EXPECT_FALSE(this->SetCookie(cs, url, "b=2; domain=.b"));
this->MatchCookieLines("a=1", this->GetCookies(cs, url));
}
// Exact matches between the domain attribute and an intranet host are
// treated as host cookies, not domain cookies.
TYPED_TEST_P(CookieStoreTest, TestSettingCookiesWithHostDomainOnUnknownTLD) {
if (!TypeParam::supports_non_dotted_domains)
return;
CookieStore* cs = this->GetCookieStore();
GURL url("http://b");
EXPECT_TRUE(this->SetCookie(cs, url, "a=1; domain=b"));
this->MatchCookieLines("a=1", this->GetCookies(cs, url));
// Make sure it doesn't show up for an intranet subdomain, it should be
// a host, not domain, cookie.
this->MatchCookieLines(
std::string(),
this->GetCookies(cs, GURL("http://hopefully-no-cookies.b/")));
this->MatchCookieLines(std::string(),
this->GetCookies(cs, GURL("http://.b/")));
}
// Test reading/writing cookies when the domain ends with a period,
// as in "www.google.com."
TYPED_TEST_P(CookieStoreTest, TestHostEndsWithDot) {
CookieStore* cs = this->GetCookieStore();
GURL url("http://www.google.com");
GURL url_with_dot("http://www.google.com.");
EXPECT_TRUE(this->SetCookie(cs, url, "a=1"));
this->MatchCookieLines("a=1", this->GetCookies(cs, url));
// Do not share cookie space with the dot version of domain.
// Note: this is not what FireFox does, but it _is_ what IE+Safari do.
if (TypeParam::preserves_trailing_dots) {
EXPECT_FALSE(this->SetCookie(cs, url, "b=2; domain=.www.google.com."));
this->MatchCookieLines("a=1", this->GetCookies(cs, url));
EXPECT_TRUE(this->SetCookie(cs, url_with_dot, "b=2; domain=.google.com."));
this->MatchCookieLines("b=2", this->GetCookies(cs, url_with_dot));
} else {
EXPECT_TRUE(this->SetCookie(cs, url, "b=2; domain=.www.google.com."));
this->MatchCookieLines("a=1 b=2", this->GetCookies(cs, url));
// Setting this cookie should fail, since the trailing dot on the domain
// isn't preserved, and then the domain mismatches the URL.
EXPECT_FALSE(this->SetCookie(cs, url_with_dot, "b=2; domain=.google.com."));
}
// Make sure there weren't any side effects.
this->MatchCookieLines(
std::string(),
this->GetCookies(cs, GURL("http://hopefully-no-cookies.com/")));
this->MatchCookieLines(std::string(),
this->GetCookies(cs, GURL("http://.com/")));
}
TYPED_TEST_P(CookieStoreTest, InvalidScheme) {
if (!TypeParam::filters_schemes)
return;
CookieStore* cs = this->GetCookieStore();
EXPECT_FALSE(this->SetCookie(cs, this->ftp_google_.url(), kValidCookieLine));
}
TYPED_TEST_P(CookieStoreTest, InvalidScheme_Read) {
if (!TypeParam::filters_schemes)
return;
const std::string kValidDomainCookieLine =
this->http_www_google_.Format("A=B; path=/; domain=%D");
CookieStore* cs = this->GetCookieStore();
EXPECT_TRUE(this->SetCookie(cs, this->http_www_google_.url(),
kValidDomainCookieLine));
this->MatchCookieLines(std::string(),
this->GetCookies(cs, this->ftp_google_.url()));
EXPECT_EQ(0U, this->GetCookieListWithOptions(cs, this->ftp_google_.url(),
CookieOptions())
.size());
}
TYPED_TEST_P(CookieStoreTest, PathTest) {
CookieStore* cs = this->GetCookieStore();
std::string url("http://www.google.izzle");
EXPECT_TRUE(this->SetCookie(cs, GURL(url), "A=B; path=/wee"));
this->MatchCookieLines("A=B", this->GetCookies(cs, GURL(url + "/wee")));
this->MatchCookieLines("A=B", this->GetCookies(cs, GURL(url + "/wee/")));
this->MatchCookieLines("A=B", this->GetCookies(cs, GURL(url + "/wee/war")));
this->MatchCookieLines(
"A=B", this->GetCookies(cs, GURL(url + "/wee/war/more/more")));
if (!TypeParam::has_path_prefix_bug)
this->MatchCookieLines(std::string(),
this->GetCookies(cs, GURL(url + "/weehee")));
this->MatchCookieLines(std::string(), this->GetCookies(cs, GURL(url + "/")));
// If we add a 0 length path, it should default to /
EXPECT_TRUE(this->SetCookie(cs, GURL(url), "A=C; path="));
this->MatchCookieLines("A=B; A=C", this->GetCookies(cs, GURL(url + "/wee")));
this->MatchCookieLines("A=C", this->GetCookies(cs, GURL(url + "/")));
}
TYPED_TEST_P(CookieStoreTest, EmptyExpires) {
CookieStore* cs = this->GetCookieStore();
CookieOptions options;
if (!TypeParam::supports_http_only)
options.set_include_httponly();
GURL url("http://www7.ipdl.inpit.go.jp/Tokujitu/tjkta.ipdl?N0000=108");
std::string set_cookie_line =
"ACSTM=20130308043820420042; path=/; domain=ipdl.inpit.go.jp; Expires=";
std::string cookie_line = "ACSTM=20130308043820420042";
this->SetCookieWithOptions(cs, url, set_cookie_line, options);
this->MatchCookieLines(cookie_line,
this->GetCookiesWithOptions(cs, url, options));
options.set_server_time(base::Time::Now() - base::TimeDelta::FromHours(1));
this->SetCookieWithOptions(cs, url, set_cookie_line, options);
this->MatchCookieLines(cookie_line,
this->GetCookiesWithOptions(cs, url, options));
options.set_server_time(base::Time::Now() + base::TimeDelta::FromHours(1));
this->SetCookieWithOptions(cs, url, set_cookie_line, options);
this->MatchCookieLines(cookie_line,
this->GetCookiesWithOptions(cs, url, options));
}
TYPED_TEST_P(CookieStoreTest, HttpOnlyTest) {
if (!TypeParam::supports_http_only)
return;
CookieStore* cs = this->GetCookieStore();
CookieOptions options;
options.set_include_httponly();
// Create a httponly cookie.
EXPECT_TRUE(this->SetCookieWithOptions(cs, this->http_www_google_.url(),
"A=B; httponly", options));
// Check httponly read protection.
this->MatchCookieLines(std::string(),
this->GetCookies(cs, this->http_www_google_.url()));
this->MatchCookieLines("A=B", this->GetCookiesWithOptions(
cs, this->http_www_google_.url(), options));
// Check httponly overwrite protection.
EXPECT_FALSE(this->SetCookie(cs, this->http_www_google_.url(), "A=C"));
this->MatchCookieLines(std::string(),
this->GetCookies(cs, this->http_www_google_.url()));
this->MatchCookieLines("A=B", this->GetCookiesWithOptions(
cs, this->http_www_google_.url(), options));
EXPECT_TRUE(this->SetCookieWithOptions(cs, this->http_www_google_.url(),
"A=C", options));
this->MatchCookieLines("A=C",
this->GetCookies(cs, this->http_www_google_.url()));
// Check httponly create protection.
EXPECT_FALSE(
this->SetCookie(cs, this->http_www_google_.url(), "B=A; httponly"));
this->MatchCookieLines("A=C", this->GetCookiesWithOptions(
cs, this->http_www_google_.url(), options));
EXPECT_TRUE(this->SetCookieWithOptions(cs, this->http_www_google_.url(),
"B=A; httponly", options));
this->MatchCookieLines(
"A=C; B=A",
this->GetCookiesWithOptions(cs, this->http_www_google_.url(), options));
this->MatchCookieLines("A=C",
this->GetCookies(cs, this->http_www_google_.url()));
}
TYPED_TEST_P(CookieStoreTest, TestCookieDeletion) {
CookieStore* cs = this->GetCookieStore();
// Create a session cookie.
EXPECT_TRUE(
this->SetCookie(cs, this->http_www_google_.url(), kValidCookieLine));
this->MatchCookieLines("A=B",
this->GetCookies(cs, this->http_www_google_.url()));
// Delete it via Max-Age.
EXPECT_TRUE(this->SetCookie(cs, this->http_www_google_.url(),
std::string(kValidCookieLine) + "; max-age=0"));
this->MatchCookieLineWithTimeout(cs, this->http_www_google_.url(),
std::string());
// Create a session cookie.
EXPECT_TRUE(
this->SetCookie(cs, this->http_www_google_.url(), kValidCookieLine));
this->MatchCookieLines("A=B",
this->GetCookies(cs, this->http_www_google_.url()));
// Delete it via Expires.
EXPECT_TRUE(this->SetCookie(cs, this->http_www_google_.url(),
std::string(kValidCookieLine) +
"; expires=Mon, 18-Apr-1977 22:50:13 GMT"));
this->MatchCookieLines(std::string(),
this->GetCookies(cs, this->http_www_google_.url()));
// Create a persistent cookie.
EXPECT_TRUE(this->SetCookie(
cs, this->http_www_google_.url(),
std::string(kValidCookieLine) + "; expires=Mon, 18-Apr-22 22:50:13 GMT"));
this->MatchCookieLines("A=B",
this->GetCookies(cs, this->http_www_google_.url()));
// Delete it via Max-Age.
EXPECT_TRUE(this->SetCookie(cs, this->http_www_google_.url(),
std::string(kValidCookieLine) + "; max-age=0"));
this->MatchCookieLineWithTimeout(cs, this->http_www_google_.url(),
std::string());
// Create a persistent cookie.
EXPECT_TRUE(this->SetCookie(
cs, this->http_www_google_.url(),
std::string(kValidCookieLine) + "; expires=Mon, 18-Apr-22 22:50:13 GMT"));
this->MatchCookieLines("A=B",
this->GetCookies(cs, this->http_www_google_.url()));
// Delete it via Expires.
EXPECT_TRUE(this->SetCookie(cs, this->http_www_google_.url(),
std::string(kValidCookieLine) +
"; expires=Mon, 18-Apr-1977 22:50:13 GMT"));
this->MatchCookieLines(std::string(),
this->GetCookies(cs, this->http_www_google_.url()));
// Create a persistent cookie.
EXPECT_TRUE(this->SetCookie(
cs, this->http_www_google_.url(),
std::string(kValidCookieLine) + "; expires=Mon, 18-Apr-22 22:50:13 GMT"));
this->MatchCookieLines("A=B",
this->GetCookies(cs, this->http_www_google_.url()));
// Check that it is not deleted with significant enough clock skew.
base::Time server_time;
EXPECT_TRUE(base::Time::FromString("Sun, 17-Apr-1977 22:50:13 GMT",
&server_time));
EXPECT_TRUE(this->SetCookieWithServerTime(
cs, this->http_www_google_.url(),
std::string(kValidCookieLine) + "; expires=Mon, 18-Apr-1977 22:50:13 GMT",
server_time));
this->MatchCookieLines("A=B",
this->GetCookies(cs, this->http_www_google_.url()));
// Create a persistent cookie.
EXPECT_TRUE(this->SetCookie(
cs, this->http_www_google_.url(),
std::string(kValidCookieLine) + "; expires=Mon, 18-Apr-22 22:50:13 GMT"));
this->MatchCookieLines("A=B",
this->GetCookies(cs, this->http_www_google_.url()));
// Delete it via Expires, with a unix epoch of 0.
EXPECT_TRUE(this->SetCookie(cs, this->http_www_google_.url(),
std::string(kValidCookieLine) +
"; expires=Thu, 1-Jan-1970 00:00:00 GMT"));
this->MatchCookieLines(std::string(),
this->GetCookies(cs, this->http_www_google_.url()));
}
TYPED_TEST_P(CookieStoreTest, TestDeleteAll) {
CookieStore* cs = this->GetCookieStore();
// Set a session cookie.
EXPECT_TRUE(
this->SetCookie(cs, this->http_www_google_.url(), kValidCookieLine));
EXPECT_EQ("A=B", this->GetCookies(cs, this->http_www_google_.url()));
// Set a persistent cookie.
EXPECT_TRUE(this->SetCookie(cs, this->http_www_google_.url(),
"C=D; expires=Mon, 18-Apr-22 22:50:13 GMT"));
EXPECT_EQ(2u, this->GetAllCookies(cs).size());
// Delete both, and make sure it works
EXPECT_EQ(2, this->DeleteAll(cs));
EXPECT_EQ(0u, this->GetAllCookies(cs).size());
}
TYPED_TEST_P(CookieStoreTest, TestDeleteAllCreatedBetween) {
CookieStore* cs = this->GetCookieStore();
const base::Time last_month = base::Time::Now() -
base::TimeDelta::FromDays(30);
const base::Time last_minute = base::Time::Now() -
base::TimeDelta::FromMinutes(1);
const base::Time next_minute = base::Time::Now() +
base::TimeDelta::FromMinutes(1);
const base::Time next_month = base::Time::Now() +
base::TimeDelta::FromDays(30);
// Add a cookie.
EXPECT_TRUE(this->SetCookie(cs, this->http_www_google_.url(), "A=B"));
// Check that the cookie is in the store.
this->MatchCookieLines("A=B",
this->GetCookies(cs, this->http_www_google_.url()));
// Remove cookies in empty intervals.
EXPECT_EQ(0, this->DeleteCreatedBetween(cs, last_month, last_minute));
EXPECT_EQ(0, this->DeleteCreatedBetween(cs, next_minute, next_month));
// Check that the cookie is still there.
this->MatchCookieLines("A=B",
this->GetCookies(cs, this->http_www_google_.url()));
// Remove the cookie with an interval defined by two dates.
EXPECT_EQ(1, this->DeleteCreatedBetween(cs, last_minute, next_minute));
// Check that the cookie disappeared.
this->MatchCookieLines(std::string(),
this->GetCookies(cs, this->http_www_google_.url()));
// Add another cookie.
EXPECT_TRUE(this->SetCookie(cs, this->http_www_google_.url(), "C=D"));
// Check that the cookie is in the store.
this->MatchCookieLines("C=D",
this->GetCookies(cs, this->http_www_google_.url()));
// Remove the cookie with a null ending time.
EXPECT_EQ(1, this->DeleteCreatedBetween(cs, last_minute, base::Time()));
// Check that the cookie disappeared.
this->MatchCookieLines(std::string(),
this->GetCookies(cs, this->http_www_google_.url()));
}
namespace {
static bool CookieHasValue(const std::string& value,
const CanonicalCookie& cookie) {
return cookie.Value() == value;
}
}
TYPED_TEST_P(CookieStoreTest, TestDeleteAllCreatedBetweenWithPredicate) {
CookieStore* cs = this->GetCookieStore();
base::Time now = base::Time::Now();
base::Time last_month = base::Time::Now() - base::TimeDelta::FromDays(30);
base::Time last_minute = base::Time::Now() - base::TimeDelta::FromMinutes(1);
std::string desired_value("B");
// These 3 cookies match the time range and host.
EXPECT_TRUE(this->SetCookie(cs, this->http_www_google_.url(), "A=B"));
EXPECT_TRUE(this->SetCookie(cs, this->http_www_google_.url(), "C=D"));
EXPECT_TRUE(this->SetCookie(cs, this->http_www_google_.url(), "Y=Z"));
EXPECT_TRUE(this->SetCookie(cs, this->https_www_google_.url(), "E=B"));
// Delete cookies.
EXPECT_EQ(2, // Deletes A=B, E=B
this->DeleteAllCreatedBetweenWithPredicate(
cs, now, base::Time::Max(),
base::Bind(&CookieHasValue, desired_value)));
// Check that we deleted the right ones.
this->MatchCookieLines("C=D;Y=Z",
this->GetCookies(cs, this->https_www_google_.url()));
// Now check that using a null predicate will do nothing.
EXPECT_EQ(0, this->DeleteAllCreatedBetweenWithPredicate(
cs, now, base::Time::Max(), CookieStore::CookiePredicate()));
// Finally, check that we don't delete cookies when our time range is off.
desired_value = "D";
EXPECT_EQ(0, this->DeleteAllCreatedBetweenWithPredicate(
cs, last_month, last_minute,
base::Bind(&CookieHasValue, desired_value)));
this->MatchCookieLines("C=D;Y=Z",
this->GetCookies(cs, this->https_www_google_.url()));
// Same thing, but with a good time range.
EXPECT_EQ(1, this->DeleteAllCreatedBetweenWithPredicate(
cs, now, base::Time::Max(),
base::Bind(&CookieHasValue, desired_value)));
this->MatchCookieLines("Y=Z",
this->GetCookies(cs, this->https_www_google_.url()));
}
TYPED_TEST_P(CookieStoreTest, TestSecure) {
CookieStore* cs = this->GetCookieStore();
EXPECT_TRUE(this->SetCookie(cs, this->http_www_google_.url(), "A=B"));
this->MatchCookieLines("A=B",
this->GetCookies(cs, this->http_www_google_.url()));
this->MatchCookieLines("A=B",
this->GetCookies(cs, this->https_www_google_.url()));
EXPECT_TRUE(
this->SetCookie(cs, this->https_www_google_.url(), "A=B; secure"));
// The secure should overwrite the non-secure.
this->MatchCookieLines(std::string(),
this->GetCookies(cs, this->http_www_google_.url()));
this->MatchCookieLines("A=B",
this->GetCookies(cs, this->https_www_google_.url()));
EXPECT_TRUE(
this->SetCookie(cs, this->https_www_google_.url(), "D=E; secure"));
this->MatchCookieLines(std::string(),
this->GetCookies(cs, this->http_www_google_.url()));
this->MatchCookieLines("A=B; D=E",
this->GetCookies(cs, this->https_www_google_.url()));
EXPECT_TRUE(this->SetCookie(cs, this->https_www_google_.url(), "A=B"));
// The non-secure should overwrite the secure.
this->MatchCookieLines("A=B",
this->GetCookies(cs, this->http_www_google_.url()));
this->MatchCookieLines("D=E; A=B",
this->GetCookies(cs, this->https_www_google_.url()));
}
// Formerly NetUtilTest.CookieTest back when we used wininet's cookie handling.
TYPED_TEST_P(CookieStoreTest, NetUtilCookieTest) {
const GURL test_url("http://mojo.jojo.google.izzle/");
CookieStore* cs = this->GetCookieStore();
EXPECT_TRUE(this->SetCookie(cs, test_url, "foo=bar"));
std::string value = this->GetCookies(cs, test_url);
this->MatchCookieLines("foo=bar", value);
// test that we can retrieve all cookies:
EXPECT_TRUE(this->SetCookie(cs, test_url, "x=1"));
EXPECT_TRUE(this->SetCookie(cs, test_url, "y=2"));
std::string result = this->GetCookies(cs, test_url);
EXPECT_FALSE(result.empty());
EXPECT_NE(result.find("x=1"), std::string::npos) << result;
EXPECT_NE(result.find("y=2"), std::string::npos) << result;
}
TYPED_TEST_P(CookieStoreTest, OverwritePersistentCookie) {
GURL url_google("http://www.google.com/");
GURL url_chromium("http://chromium.org");
CookieStore* cs = this->GetCookieStore();
// Insert a cookie "a" for path "/path1"
EXPECT_TRUE(this->SetCookie(cs, url_google,
"a=val1; path=/path1; "
"expires=Mon, 18-Apr-22 22:50:13 GMT"));
// Insert a cookie "b" for path "/path1"
EXPECT_TRUE(this->SetCookie(cs, url_google,
"b=val1; path=/path1; "
"expires=Mon, 18-Apr-22 22:50:14 GMT"));
// Insert a cookie "b" for path "/path1", that is httponly. This should
// overwrite the non-http-only version.
CookieOptions allow_httponly;
allow_httponly.set_include_httponly();
EXPECT_TRUE(this->SetCookieWithOptions(cs, url_google,
"b=val2; path=/path1; httponly; "
"expires=Mon, 18-Apr-22 22:50:14 GMT",
allow_httponly));
// Insert a cookie "a" for path "/path1". This should overwrite.
EXPECT_TRUE(this->SetCookie(cs, url_google,
"a=val33; path=/path1; "
"expires=Mon, 18-Apr-22 22:50:14 GMT"));
// Insert a cookie "a" for path "/path2". This should NOT overwrite
// cookie "a", since the path is different.
EXPECT_TRUE(this->SetCookie(cs, url_google,
"a=val9; path=/path2; "
"expires=Mon, 18-Apr-22 22:50:14 GMT"));
// Insert a cookie "a" for path "/path1", but this time for "chromium.org".
// Although the name and path match, the hostnames do not, so shouldn't
// overwrite.
EXPECT_TRUE(this->SetCookie(cs, url_chromium,
"a=val99; path=/path1; "
"expires=Mon, 18-Apr-22 22:50:14 GMT"));
if (TypeParam::supports_http_only) {
this->MatchCookieLines(
"a=val33", this->GetCookies(cs, GURL("http://www.google.com/path1")));
} else {
this->MatchCookieLines(
"a=val33; b=val2",
this->GetCookies(cs, GURL("http://www.google.com/path1")));
}
this->MatchCookieLines(
"a=val9", this->GetCookies(cs, GURL("http://www.google.com/path2")));
this->MatchCookieLines(
"a=val99", this->GetCookies(cs, GURL("http://chromium.org/path1")));
}
TYPED_TEST_P(CookieStoreTest, CookieOrdering) {
// Put a random set of cookies into a store and make sure they're returned in
// the right order.
// Cookies should be sorted by path length and creation time, as per RFC6265.
CookieStore* cs = this->GetCookieStore();
EXPECT_TRUE(
this->SetCookie(cs, GURL("http://d.c.b.a.google.com/aa/x.html"), "c=1"));
EXPECT_TRUE(this->SetCookie(cs, GURL("http://b.a.google.com/aa/bb/cc/x.html"),
"d=1; domain=b.a.google.com"));
base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(
TypeParam::creation_time_granularity_in_ms));
EXPECT_TRUE(this->SetCookie(cs, GURL("http://b.a.google.com/aa/bb/cc/x.html"),
"a=4; domain=b.a.google.com"));
base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(
TypeParam::creation_time_granularity_in_ms));
EXPECT_TRUE(this->SetCookie(cs,
GURL("http://c.b.a.google.com/aa/bb/cc/x.html"),
"e=1; domain=c.b.a.google.com"));
EXPECT_TRUE(this->SetCookie(
cs, GURL("http://d.c.b.a.google.com/aa/bb/x.html"), "b=1"));
EXPECT_TRUE(this->SetCookie(cs, GURL("http://news.bbc.co.uk/midpath/x.html"),
"g=10"));
EXPECT_EQ(
"d=1; a=4; e=1; b=1; c=1",
this->GetCookies(cs, GURL("http://d.c.b.a.google.com/aa/bb/cc/dd")));
CookieOptions options;
CookieList cookies = this->GetCookieListWithOptions(
cs, GURL("http://d.c.b.a.google.com/aa/bb/cc/dd"), options);
CookieList::const_iterator it = cookies.begin();
ASSERT_TRUE(it != cookies.end());
EXPECT_EQ("d", it->Name());
ASSERT_TRUE(++it != cookies.end());
EXPECT_EQ("a", it->Name());
ASSERT_TRUE(++it != cookies.end());
EXPECT_EQ("e", it->Name());
ASSERT_TRUE(++it != cookies.end());
EXPECT_EQ("b", it->Name());
ASSERT_TRUE(++it != cookies.end());
EXPECT_EQ("c", it->Name());
EXPECT_TRUE(++it == cookies.end());
}
// Check that GetAllCookiesAsync returns cookies from multiple domains, in the
// correct order.
TYPED_TEST_P(CookieStoreTest, GetAllCookiesAsync) {
CookieStore* cs = this->GetCookieStore();
EXPECT_TRUE(
this->SetCookie(cs, this->http_www_google_.url(), "A=B; path=/a"));
EXPECT_TRUE(this->SetCookie(cs, this->http_foo_com_.url(), "C=D;/"));
EXPECT_TRUE(this->SetCookie(cs, this->http_bar_com_.url(), "E=F; path=/bar"));
// Check cookies for url.
CookieList cookies = this->GetAllCookies(cs);
CookieList::const_iterator it = cookies.begin();
ASSERT_TRUE(it != cookies.end());
EXPECT_EQ(this->http_bar_com_.host(), it->Domain());
EXPECT_EQ("/bar", it->Path());
EXPECT_EQ("E", it->Name());
EXPECT_EQ("F", it->Value());
ASSERT_TRUE(++it != cookies.end());
EXPECT_EQ(this->http_www_google_.host(), it->Domain());
EXPECT_EQ("/a", it->Path());
EXPECT_EQ("A", it->Name());
EXPECT_EQ("B", it->Value());
ASSERT_TRUE(++it != cookies.end());
EXPECT_EQ(this->http_foo_com_.host(), it->Domain());
EXPECT_EQ("/", it->Path());
EXPECT_EQ("C", it->Name());
EXPECT_EQ("D", it->Value());
ASSERT_TRUE(++it == cookies.end());
}
TYPED_TEST_P(CookieStoreTest, DeleteCookieAsync) {
CookieStore* cs = this->GetCookieStore();
EXPECT_TRUE(
this->SetCookie(cs, this->http_www_google_.url(), "A=A1; path=/"));
EXPECT_TRUE(
this->SetCookie(cs, this->http_www_google_.url(), "A=A2; path=/foo"));
EXPECT_TRUE(
this->SetCookie(cs, this->http_www_google_.url(), "A=A3; path=/bar"));
EXPECT_TRUE(
this->SetCookie(cs, this->http_www_google_.url(), "B=B1; path=/"));
EXPECT_TRUE(
this->SetCookie(cs, this->http_www_google_.url(), "B=B2; path=/foo"));
EXPECT_TRUE(
this->SetCookie(cs, this->http_www_google_.url(), "B=B3; path=/bar"));
this->DeleteCookie(cs, this->http_www_google_.AppendPath("foo/bar"), "A");
CookieList cookies = this->GetAllCookies(cs);
size_t expected_size = 4;
EXPECT_EQ(expected_size, cookies.size());
for (const auto& cookie : cookies) {
EXPECT_NE("A1", cookie.Value());
EXPECT_NE("A2", cookie.Value());
}
}
TYPED_TEST_P(CookieStoreTest, DeleteCanonicalCookieAsync) {
CookieStore* cs = this->GetCookieStore();
// Set two cookies with the same name, and make sure both are set.
EXPECT_TRUE(
this->SetCookie(cs, this->http_www_google_.url(), "A=B;Path=/foo"));
EXPECT_TRUE(
this->SetCookie(cs, this->http_www_google_.url(), "A=C;Path=/bar"));
EXPECT_EQ(2u, this->GetAllCookies(cs).size());
EXPECT_EQ("A=B", this->GetCookies(cs, this->www_google_foo_.url()));
EXPECT_EQ("A=C", this->GetCookies(cs, this->www_google_bar_.url()));
// Delete the "/foo" cookie, and make sure only it was deleted.
CookieList cookies = this->GetCookieListWithOptions(
cs, this->www_google_foo_.url(), CookieOptions());
ASSERT_EQ(1u, cookies.size());
EXPECT_EQ(1, this->DeleteCanonicalCookie(cs, cookies[0]));
EXPECT_EQ(1u, this->GetAllCookies(cs).size());
EXPECT_EQ("", this->GetCookies(cs, this->www_google_foo_.url()));
EXPECT_EQ("A=C", this->GetCookies(cs, this->www_google_bar_.url()));
// Deleting the "/foo" cookie again should fail.
EXPECT_EQ(0, this->DeleteCanonicalCookie(cs, cookies[0]));
// Try to delete the "/bar" cookie after overwriting it with a new cookie.
cookies = this->GetCookieListWithOptions(cs, this->www_google_bar_.url(),
CookieOptions());
ASSERT_EQ(1u, cookies.size());
EXPECT_TRUE(
this->SetCookie(cs, this->http_www_google_.url(), "A=D;Path=/bar"));
EXPECT_EQ(0, this->DeleteCanonicalCookie(cs, cookies[0]));
EXPECT_EQ(1u, this->GetAllCookies(cs).size());
EXPECT_EQ("A=D", this->GetCookies(cs, this->www_google_bar_.url()));
// Delete the new "/bar" cookie.
cookies = this->GetCookieListWithOptions(cs, this->www_google_bar_.url(),
CookieOptions());
ASSERT_EQ(1u, cookies.size());
EXPECT_EQ(1, this->DeleteCanonicalCookie(cs, cookies[0]));
EXPECT_EQ(0u, this->GetAllCookies(cs).size());
EXPECT_EQ("", this->GetCookies(cs, this->www_google_bar_.url()));
}
TYPED_TEST_P(CookieStoreTest, DeleteSessionCookie) {
CookieStore* cs = this->GetCookieStore();
// Create a session cookie and a persistent cookie.
EXPECT_TRUE(this->SetCookie(cs, this->http_www_google_.url(),
std::string(kValidCookieLine)));
EXPECT_TRUE(this->SetCookie(
cs, this->http_www_google_.url(),
this->http_www_google_.Format("C=D; path=/; domain=%D;"
"expires=Mon, 18-Apr-22 22:50:13 GMT")));
this->MatchCookieLines("A=B; C=D",
this->GetCookies(cs, this->http_www_google_.url()));
// Delete the session cookie.
this->DeleteSessionCookies(cs);
// Check that the session cookie has been deleted but not the persistent one.
EXPECT_EQ("C=D", this->GetCookies(cs, this->http_www_google_.url()));
}
REGISTER_TYPED_TEST_CASE_P(CookieStoreTest,
SetCookieWithDetailsAsync,
DomainTest,
DomainWithTrailingDotTest,
ValidSubdomainTest,
InvalidDomainTest,
InvalidDomainSameDomainAndRegistry,
DomainWithoutLeadingDotParentDomain,
DomainWithoutLeadingDotSameDomain,
CaseInsensitiveDomainTest,
TestIpAddress,
TestIpAddressNoDomainCookies,
TestTLD,
TestTLDWithTerminalDot,
TestSubdomainSettingCookiesOnUnknownTLD,
TestSubdomainSettingCookiesOnKnownTLD,
TestSubdomainSettingCookiesOnKnownDottedTLD,
TestSettingCookiesOnUnknownTLD,
TestSettingCookiesWithHostDomainOnUnknownTLD,
TestHostEndsWithDot,
InvalidScheme,
InvalidScheme_Read,
PathTest,
EmptyExpires,
HttpOnlyTest,
TestCookieDeletion,
TestDeleteAll,
TestDeleteAllCreatedBetween,
TestDeleteAllCreatedBetweenWithPredicate,
TestSecure,
NetUtilCookieTest,
OverwritePersistentCookie,
CookieOrdering,
GetAllCookiesAsync,
DeleteCookieAsync,
DeleteCanonicalCookieAsync,
DeleteSessionCookie);
} // namespace net
#endif // NET_COOKIES_COOKIE_STORE_UNITTEST_H_
| [
"gaoxiaojun@gmail.com"
] | gaoxiaojun@gmail.com |
10a813545ed75615329321adc9e3fbb4b4e76451 | bd169aa531bdb173d60b733a87e8a5150dbe0c2a | /libraries/plugins/statsd/include/morphene/plugins/statsd/statsd_plugin.hpp | 3f0b10e446de29d9afde3ab660179b09335bfcf5 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | morphene/morphene | 733b0ed1d48b9c41850c68e13ced3a1838486264 | 5620f9a8473690ff63e67b7b242a202d05f7ee86 | refs/heads/master | 2020-05-05T01:25:09.669273 | 2019-06-07T16:55:50 | 2019-06-07T16:55:50 | 179,602,584 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,832 | hpp | #pragma once
#include <appbase/application.hpp>
#include <boost/config.hpp>
#define MORPHENE_STATSD_PLUGIN_NAME "statsd"
namespace morphene { namespace plugins { namespace statsd {
using namespace appbase;
namespace detail
{
class statsd_plugin_impl;
}
class statsd_plugin : public appbase::plugin< statsd_plugin >
{
public:
APPBASE_PLUGIN_REQUIRES()
statsd_plugin();
virtual ~statsd_plugin();
virtual void set_program_options( options_description&, options_description& ) override;
static const std::string& name() { static std::string name = MORPHENE_STATSD_PLUGIN_NAME; return name; }
virtual void plugin_initialize( const variables_map& options ) override;
virtual void plugin_startup() override;
virtual void plugin_shutdown() override;
// Starts statsd logging early, potentially before plugin_startup
void start_logging();
void increment( const std::string& ns, const std::string& stat, const std::string& key, const float frequency = 1.0f ) const noexcept;
void decrement( const std::string& ns, const std::string& stat, const std::string& key, const float frequency = 1.0f ) const noexcept;
void count( const std::string& ns, const std::string& stat, const std::string& key, const int64_t delta, const float frequency = 1.0f ) const noexcept;
void gauge( const std::string& ns, const std::string& stat, const std::string& key, const uint64_t value, const float frequency = 1.0f ) const noexcept;
void timing( const std::string& ns, const std::string& stat, const std::string& key, const uint32_t ms, const float frequency = 1.0f ) const noexcept;
private:
std::unique_ptr< detail::statsd_plugin_impl > my;
};
} } } // morphene::plugins::statsd
| [
"netuoso@pobox.com"
] | netuoso@pobox.com |
76af85b473eb82e80a54f0ac26a38139cb56f511 | b41da568f095792e4549a4413c2cb7b93422d2fe | /Snack Bar/Snack Bar/OrderList.h | 641c10b50f73c4b2da90c78525276c1b2cf26f1f | [] | no_license | mmehdiali5/SnackBar | ee56a0c3fc8dca0c4849273f121eb429b8be7f11 | 9d3e672fbb4529a326f5c6693ed09325c1a0a87b | refs/heads/master | 2023-08-17T02:50:38.941155 | 2019-11-27T03:43:07 | 2019-11-27T03:43:07 | 410,116,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | h | #ifndef ORDER_LIST_H
#define ORDER_LIST_H
class Order;
class OrderList
{
static int orderIDGen;
Order**orders;
int noOfOrders;
int capacity;
public:
OrderList(int size = 5);
OrderList(const OrderList & ref);
OrderList&operator=(const OrderList&ref);
void reSize(int newSize);
bool isFull()const;
bool isEmpty()const;
bool addOrder(const Order &);
bool removeOrder(int);
double getTotalEarning()const;
int getNumberOfOrders()const;
void displayOrder(int orderId);
void getTotalBillOfOrder(int orderId);
void displayAllOrders()const;
~OrderList();
};
#endif
| [
"mmehdiali5@gmail.com"
] | mmehdiali5@gmail.com |
cd4207ff7a92e31805181d1495b9623d2e9a2353 | ce6229f5915f9e6de1238861b4a940d61e56960b | /Sonder/Temp/il2cppOutput/il2cppOutput/mscorlib_System_Array_InternalEnumerator_1_gen606882226.h | 72fbb9058afb026ae34c37d5509fa782f997e29f | [
"Apache-2.0"
] | permissive | HackingForGood/GoogleyEyes | d9e36e3dffb4edbd0736ab49a764736a91ecebcf | a92b962ab220686794350560a47e88191e165c05 | refs/heads/master | 2021-04-15T10:03:59.093464 | 2017-06-25T17:32:52 | 2017-06-25T17:32:52 | 94,575,021 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,443 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_ValueType3507792607.h"
// System.Array
struct Il2CppArray;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Array/InternalEnumerator`1<System.Reflection.MemberInfo>
struct InternalEnumerator_1_t606882226
{
public:
// System.Array System.Array/InternalEnumerator`1::array
Il2CppArray * ___array_0;
// System.Int32 System.Array/InternalEnumerator`1::idx
int32_t ___idx_1;
public:
inline static int32_t get_offset_of_array_0() { return static_cast<int32_t>(offsetof(InternalEnumerator_1_t606882226, ___array_0)); }
inline Il2CppArray * get_array_0() const { return ___array_0; }
inline Il2CppArray ** get_address_of_array_0() { return &___array_0; }
inline void set_array_0(Il2CppArray * value)
{
___array_0 = value;
Il2CppCodeGenWriteBarrier(&___array_0, value);
}
inline static int32_t get_offset_of_idx_1() { return static_cast<int32_t>(offsetof(InternalEnumerator_1_t606882226, ___idx_1)); }
inline int32_t get_idx_1() const { return ___idx_1; }
inline int32_t* get_address_of_idx_1() { return &___idx_1; }
inline void set_idx_1(int32_t value)
{
___idx_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
| [
"anishdhesikan@gmail.com"
] | anishdhesikan@gmail.com |
f8397352a659cabcd12a312b19a63583c5a33df3 | d3a61d1c8d6a874c11f7d7fce15a399277371a06 | /Numeric Pattern 4.cpp | dd0e98852009eb981846c278db6f854637abdcdc | [] | no_license | RohanVashisht003/All-prgs-cpp | fa5ba9d00bc52eb901bcc8682c9f522657c8ba83 | 0867dfdbe1bb02febc1c754dbdf78e5416e9447b | refs/heads/master | 2022-11-17T19:21:51.344407 | 2020-07-18T16:36:35 | 2020-07-18T16:36:35 | 277,250,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 843 | cpp | #include<iostream>
using namespace std;
int main()
{
int limit;
cin>>limit;
for(int row=1; row<=limit; row++)
{
int number=row;
//spaces
for(int space=1; space<=limit-row; space++)
{
cout<<" ";
}
// for 1 only
if(row==1)
{
cout<<"1";
}
// for all other numbers
else
{
// for cols
for(int cols=0; cols<(2*row)-1; cols++)
{
int mid=((2*row)-1)/2;
if(cols<mid)
{
cout<<number;
number=number+1;
}
else
{
cout<<number;
number=number-1;
}
}
}
cout<<endl;
}
}
| [
"noreply@github.com"
] | RohanVashisht003.noreply@github.com |
e08d0a4d37d275f3f618637d08127b7cae104271 | 8b3b40421d4009a8ee2d3adaee2f009c099719cb | /project3/Spring.h | 42c916976caadc80f67f405430954f7093fe878b | [] | no_license | esattern/CS-559-Project3 | 1beb9c61480da47c01e4b1db31312aac830a3c6e | fe527c09aa5ae3008d1fdf06afa36c608d11f993 | refs/heads/master | 2020-04-09T06:27:18.208211 | 2013-05-10T22:24:56 | 2013-05-10T22:24:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | h | #pragma once
/*
Chelsey Denton
Code based upon code provided by Perry Kivolowitz, some code and is directly copied
*/
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "object.h"
#include "shader.h"
class Spring : public Object
{
public:
Spring();
bool Initialize(float innerRadius, float outerRadius, int nsides, int rings, int loops, float heightPerLoop);
virtual void Draw(const glm::mat4 & projection, glm::mat4 modelview, const glm::ivec2 & size);
void TakeDown();
private:
glm::vec3 normalCalc(int i, float delta, glm::mat4 m);
};
| [
"denton@poseidon-18.ad.cs.wisc.edu"
] | denton@poseidon-18.ad.cs.wisc.edu |
82fecbab6aea042e867d7e9c9c5830c7d256ef8e | 6b40e9cba1dd06cd31a289adff90e9ea622387ac | /Develop/CSCommon/source/CSTalentInfoExtParser.cpp | a6967b89f6850a580966ebfd56a4e3fef1987c16 | [] | no_license | AmesianX/SHZPublicDev | c70a84f9170438256bc9b2a4d397d22c9c0e1fb9 | 0f53e3b94a34cef1bc32a06c80730b0d8afaef7d | refs/heads/master | 2022-02-09T07:34:44.339038 | 2014-06-09T09:20:04 | 2014-06-09T09:20:04 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 12,763 | cpp | #include "stdafx.h"
#include "CSTalentInfoExtParser.h"
#include "CSTalentInfoDef.h"
#include "CSTalentInfoMgr.h"
#include "CSTalentInfoParser.h"
#include "MDebug.h"
void CSTalentInfoExtParser::Parse( CSTalentInfoMgr* pTalentInfoMgr, MXml* pXml, MXmlElement* pElement, CSTalentInfo* pTalentInfo/*=NULL*/ )
{
if (pTalentInfo == NULL)
{
CSTalentInfoParserHelper helper;
CSTalentInfoParserHelper::TalentInfoID idInfo = helper.ParseTalentID(pXml, pElement);
pTalentInfo = pTalentInfoMgr->Find(idInfo.nID);
if (idInfo.nMode > 0)
{
pTalentInfo = pTalentInfoMgr->Find(idInfo.nID, idInfo.nMode, true);
}
if (pTalentInfo == NULL)
{
mlog ("Error : Loading talent_ext.xml - not exist talentinfo id (%d)\n", idInfo.nID);
return;
}
}
_Parse(pElement, pXml, pTalentInfo);
}
void CSTalentInfoExtParser::_Parse( MXmlElement* pElement, MXml* pXml, CSTalentInfo* pTalentInfo )
{
float time = 0.f;
//if (_Attribute(&time, pElement, TALENT_XML_ATTR_ACT_ANIMATION_TIME))
//{
// pTalentInfo->m_fMotionTime = time;
//}
if (_Attribute(&time, pElement, TALENT_XML_ATTR_EXTRA_TIME))
{
pTalentInfo->m_fExtraMotionTime = time;
}
if (_Attribute(&time, pElement, TALENT_XML_ATTR_EXTRA_TIME2))
{
pTalentInfo->m_fExtraMotionTime2 = time;
}
if (_Attribute(&time, pElement, TALENT_XML_ATTR_EXTRA_TIME3))
{
pTalentInfo->m_fExtraMotionTime3 = time;
}
_Attribute(&(pTalentInfo->m_Events.m_nRefID), pElement, TALENT_XML_ATTR_REFERENCE_ID);
if (pTalentInfo->m_Events.m_nRefID >0 )
{
tstring strValue;
if (_Attribute(strValue, pElement, TALENT_XML_ATTR_REFERENCE_MODE))
{
CSTalentInfoParserHelper helper;
pTalentInfo->m_Events.m_nRefMode = helper.MakeModeFromXmlValue(strValue);
}
}
//------------------------------------------------------------------------
MXmlElement* pAttElement = pElement->FirstChildElement();
for(pAttElement; pAttElement != NULL; pAttElement = pAttElement->NextSiblingElement())
{
// 애니메이션 시간
if(!_stricmp(pAttElement->Value(), TALENT_XML_TAG_ACTANITIME))
{
_ParseTalentActAnimationTime(pAttElement, pXml, pTalentInfo);
}
// 이벤트
else if(!_stricmp(pAttElement->Value(), TALENT_XML_TAG_EVENTS))
{
_ParseTalentEvents(pAttElement, pXml, pTalentInfo);
}
}
//------------------------------------------------------------------------
}
void CSTalentInfoExtParser::_ParseTalentEvents( MXmlElement* pElement, MXml* pXml, CSTalentInfo* pTalentInfo )
{
MXmlElement* pAttElement = pElement->FirstChildElement();
for(pAttElement; pAttElement != NULL; pAttElement = pAttElement->NextSiblingElement())
{
if(!_stricmp(pAttElement->Value(), TALENT_XML_ATTR_TAG_NOMAL))
{
_ParseTalentEvent(pAttElement, pXml, pTalentInfo->m_Events.m_vecEvents);
}
else if(!_stricmp(pAttElement->Value(), TALENT_XML_ATTR_TAG_ACT))
{
_ParseTalentEvent(pAttElement, pXml, pTalentInfo->m_Events.m_vecActEvents);
}
}
}
void CSTalentInfoExtParser::_ParseTalentEvent( MXmlElement* pElement, MXml* pXml, vector<CSTalentEventInfo>& vecEvents )
{
MXmlElement* pAttElement = pElement->FirstChildElement();
for(pAttElement; pAttElement != NULL; pAttElement = pAttElement->NextSiblingElement())
{
string strValue;
CSTalentEventInfo csNewEventInfo;
if(!_stricmp(pAttElement->Value(), TALENT_XML_ATTR_TAG_EVENT))
{
_Attribute(strValue, pAttElement, TALENT_XML_VALUE_TYPE, pXml);
if(strValue == TALENT_XML_VALUE_TALENTEVENTTYPE_NONE)
csNewEventInfo.m_nEvent = TE_NONE;
else if(strValue == TALENT_XML_VALUE_TALENTEVENTTYPE_FIRE_EFFECT)
csNewEventInfo.m_nEvent = TE_FIRE_EFFECT;
else if(strValue == TALENT_XML_VALUE_TALENTEVENTTYPE_PROJECTILE)
csNewEventInfo.m_nEvent = TE_LAUNCH_PROJECTILE;
else if(strValue == TALENT_XML_VALUE_TALENTEVENTTYPE_EFFECT)
csNewEventInfo.m_nEvent = TE_EFFECT;
else if(strValue == TALENT_XML_VALUE_TALENTEVENTTYPE_SOUND)
csNewEventInfo.m_nEvent = TE_SOUND;
else if(strValue == TALENT_XML_VALUE_TALENTEVENTTYPE_CAMERA)
csNewEventInfo.m_nEvent = TE_CAMERA;
else if(strValue == TALENT_XML_VALUE_TALENTEVENTTYPE_DAMAGE)
csNewEventInfo.m_nEvent = TE_DAMAGE;
else if(strValue == TALENT_XML_VALUE_TALENTEVENTTYPE_CUSTOM)
csNewEventInfo.m_nEvent = TE_CUSTOM;
else if(strValue == TALENT_XML_VALUE_TALENTEVENTTYPE_DELAYED_ACT)
csNewEventInfo.m_nEvent = TE_DELAYED_ACT;
else if(strValue == TALENT_XML_VALUE_TALENTEVENTTYPE_EXTRAACTIVE_1)
csNewEventInfo.m_nEvent = TE_EXTRAACTIVE_1;
else if(strValue == TALENT_XML_VALUE_TALENTEVENTTYPE_EXTRAACTIVE_2)
csNewEventInfo.m_nEvent = TE_EXTRAACTIVE_2;
else if(strValue == TALENT_XML_VALUE_TALENTEVENTTYPE_CAMERA_LOCK)
csNewEventInfo.m_nEvent = TE_CAMEAR_LOCK;
else if(strValue == TALENT_XML_VALUE_TALENTEVENTTYPE_GROUND_FIRE_EFFECT)
csNewEventInfo.m_nEvent = TE_GROUND_FIRE_EFFECT;
else
{
_ASSERT(0);
}
_Attribute(&csNewEventInfo.m_fTime1, pAttElement, TALENT_XML_VALUE_TALENTEVENT_TIME);
_Attribute(&csNewEventInfo.m_fTime2, pAttElement, TALENT_XML_VALUE_TALENTEVENT_TIME2);
_Attribute(csNewEventInfo.m_strCustomEvent, pAttElement, TALENT_XML_VALUE_TALENTEVENT_STR_CUSTOM_EVENT, pXml);
_Attribute(csNewEventInfo.m_strParam1, pAttElement, TALENT_XML_VALUE_TALENTEVENT_STR_PARAM1, pXml);
_Attribute(csNewEventInfo.m_strParam2, pAttElement, TALENT_XML_VALUE_TALENTEVENT_STR_PARAM2, pXml);
_Attribute(&csNewEventInfo.m_nParam1, pAttElement, TALENT_XML_VALUE_TALENTEVENT_INT_PARAM1);
_Attribute(&csNewEventInfo.m_nParam2, pAttElement, TALENT_XML_VALUE_TALENTEVENT_INT_PARAM2);
_Attribute(&csNewEventInfo.m_bFollow, pAttElement, TALENT_XML_ATTR_TALENT_FOLLOW);
_Attribute(&csNewEventInfo.m_vLocal.x, pAttElement, TALENT_XML_VALUE_TALENTEVENT_LOCAL_X);
_Attribute(&csNewEventInfo.m_vLocal.y, pAttElement, TALENT_XML_VALUE_TALENTEVENT_LOCAL_Y);
_Attribute(&csNewEventInfo.m_bServerDir, pAttElement, TALENT_XML_VALUE_TALENTEVENT_SERVER_DIR);
if(csNewEventInfo.m_nEvent == TE_LAUNCH_PROJECTILE)
{
_ParseProjectile(pAttElement, pXml, &csNewEventInfo);
}
else
{
_Attribute(&csNewEventInfo.m_ProjectileInfo.m_nSegmentIndexForHitCapsuleType, pAttElement, TLAENT_XML_ATTR_PROJECTILE_SEGMENT_INDEX);
_Attribute(&csNewEventInfo.m_ProjectileInfo.m_nCapsuleIndexForHitCapsuleType, pAttElement, TLAENT_XML_ATTR_PROJECTILE_CAPSULE_INDEX);
}
vecEvents.push_back(csNewEventInfo);
}
}
}
void CSTalentInfoExtParser::_ParseProjectile( MXmlElement* pElement, MXml* pXml, CSTalentEventInfo* pTalentEventInfo )
{
string strProjectileType;
_Attribute(strProjectileType, pElement, TALENT_XML_ATTR_PROJECTILE_TYPE);
if(strProjectileType.empty() == false)
{
if (strProjectileType == TALENT_XML_VALUE_PROJECTILETYPE_MISSILE) pTalentEventInfo->m_ProjectileInfo.m_nType = TPT_MISSILE;
else if (strProjectileType == TALENT_XML_VALUE_PROJECTILETYPE_GUIDED) pTalentEventInfo->m_ProjectileInfo.m_nType = TPT_MISSILE_GUIDED;
else if (strProjectileType == TALENT_XML_VALUE_PROJECTILETYPE_HITCAPSULE_GUIDED) pTalentEventInfo->m_ProjectileInfo.m_nType = TPT_HITCAPSULE_GUIDED;
string strProjectileVisualType;
_Attribute(strProjectileVisualType, pElement, TALENT_XML_ATTR_PROJECTILE_VISUAL_TYPE);
if (strProjectileVisualType == TALENT_XML_VALUE_PROJECTILE_VISUAL_TYPE_CURVE) pTalentEventInfo->m_ProjectileInfo.m_nVisualType = TPVT_CURVE;
else if (strProjectileVisualType == TALENT_XML_VALUE_PROJECTILE_VISUAL_TYPE_STRAIGHT) pTalentEventInfo->m_ProjectileInfo.m_nVisualType = TPVT_STRAIGHT;
else if (strProjectileVisualType == TALENT_XML_VALUE_PROJECTILE_VISUAL_TYPE_PARABOLA) pTalentEventInfo->m_ProjectileInfo.m_nVisualType = TPVT_PARABOLA;
_Attribute(&pTalentEventInfo->m_ProjectileInfo.m_fRange, pElement, TALENT_XML_ATTR_PROJECTILE_RANGE);
pTalentEventInfo->m_ProjectileInfo.m_fRange *= 100.0f; // 발사체 거리는 미터 단위이다.
_Attribute(&pTalentEventInfo->m_ProjectileInfo.m_fHitRadius, pElement, TALENT_XML_ATTR_PROJECTILE_HIT_RADIUS);
_Attribute(&pTalentEventInfo->m_ProjectileInfo.m_fSpeed, pElement, TALENT_XML_ATTR_PROJECTILE_SPEED);
_Attribute(&pTalentEventInfo->m_ProjectileInfo.m_vLocalStartPos.x, pElement, TALENT_XML_ATTR_PROJECTILE_START_X);
_Attribute(&pTalentEventInfo->m_ProjectileInfo.m_vLocalStartPos.y, pElement, TALENT_XML_ATTR_PROJECTILE_START_Y);
_Attribute(&pTalentEventInfo->m_ProjectileInfo.m_vLocalStartPos.z, pElement, TALENT_XML_ATTR_PROJECTILE_START_Z);
_Attribute(pTalentEventInfo->m_ProjectileInfo.m_strBoneName, pElement, TALENT_XML_ATTR_TALENT_BONENAME);
_Attribute(&pTalentEventInfo->m_ProjectileInfo.m_nSegmentIndexForHitCapsuleType, pElement, TLAENT_XML_ATTR_PROJECTILE_SEGMENT_INDEX);
_Attribute(&pTalentEventInfo->m_ProjectileInfo.m_nCapsuleIndexForHitCapsuleType, pElement, TLAENT_XML_ATTR_PROJECTILE_CAPSULE_INDEX);
_Attribute(pTalentEventInfo->m_ProjectileInfo.m_strEffectName, pElement, TALENT_XML_ATTR_PROJECTILE_EFFECT_NAME);
_Attribute(pTalentEventInfo->m_ProjectileInfo.m_strAttackEffectName, pElement, TALENT_XML_ATTR_PROJECTILE_ATTACK_EFFECT_NAME);
_Attribute(pTalentEventInfo->m_ProjectileInfo.m_strHitGroundEffectName, pElement, TALENT_XML_ATTR_PROJECTILE_HITGROUND_EFFECT_NAME);
_Attribute(pTalentEventInfo->m_ProjectileInfo.m_strDefenceEffectName, pElement, TALENT_XML_ATTR_PROJECTILE_DEFENCE_EFFECT_NAME);
_Attribute(pTalentEventInfo->m_ProjectileInfo.m_strFireEffectName, pElement, TALENT_XML_ATTR_PROJECTILE_FIRE_EFFECT_NAME);
}
}
void CSTalentInfoExtParser::_ParseExt_Server( MXmlElement* pElement, MXml* pXml, CSTalentInfo* pTalentInfo )
{
float fValue = 0.0f;
if (_Attribute(&fValue, pElement, TALENT_XML_ATTR_EXTRA_TIME))
{
pTalentInfo->m_fExtraPhaseTime = fValue;
}
if (_Attribute(&fValue, pElement, TALENT_XML_ATTR_EXTRA_TIME2))
{
pTalentInfo->m_fExtraPhaseTime2 = fValue;
}
if (_Attribute(&fValue, pElement, TALENT_XML_ATTR_EXTRA_TIME3))
{
pTalentInfo->m_fExtraPhaseTime3 = fValue;
}
}
void CSTalentInfoExtParser::CopyTalentEventInfoByReference(CSTalentInfoMgr* pTalentInfoMgr)
{
for(map<int , CSTalentInfo* >::iterator itTalentInfo = pTalentInfoMgr->begin(); itTalentInfo != pTalentInfoMgr->end(); itTalentInfo++)
{
CSTalentInfo* pTalentInfo = itTalentInfo->second;
CopyTalentEventData(pTalentInfoMgr, pTalentInfo);
// 모드 카피
for(int i = 0; i < MAX_TALENT_MODE; ++i)
{
CSTalentInfo* pModeTalentInfo = pTalentInfo->GetMode(i);
if(pModeTalentInfo != NULL)
CopyTalentEventData(pTalentInfoMgr, pModeTalentInfo);
}
}
}
void CSTalentInfoExtParser::_ParseTalentActAnimationTime( MXmlElement* pElement, MXml* pXml, CSTalentInfo* pTalentInfo )
{
CSTalentActAnimationTimeInfo stActAnimationTime;
int nWeaponType = 0;
_Attribute(&nWeaponType, pElement, TALENT_XML_ATTR_TAG_WEAPONTYPE);
_Attribute(&stActAnimationTime.fAniTime, pElement, TALENT_XML_ATTR_ACT_ANIMATION_TIME);
stActAnimationTime.nWeaponType = (WEAPON_TYPE)nWeaponType;
pTalentInfo->m_ActAnimationTime.vecInfo.push_back(stActAnimationTime);
}
void CSTalentInfoExtParser::CopyTalentEventData( CSTalentInfoMgr* pTalentInfoMgr, CSTalentInfo* pTalentInfo )
{
if(pTalentInfo->m_Events.m_nRefID > 0)
{
CSTalentInfo* pRefTalentInfo = pTalentInfoMgr->Find(pTalentInfo->m_Events.m_nRefID, pTalentInfo->m_Events.m_nRefMode, true);
if(pRefTalentInfo)
{
//// 애니메이션 시간
//for(vector<CSTalentActAnimationTimeInfo>::iterator itRefTalentActAniTime = pRefTalentInfo->m_ActAnimationTime.vecInfo.begin(); itRefTalentActAniTime != pRefTalentInfo->m_ActAnimationTime.vecInfo.end(); itRefTalentActAniTime++)
//{
// pTalentInfo->m_ActAnimationTime.vecInfo.push_back(*itRefTalentActAniTime);
//}
// normal
pTalentInfo->m_Events.m_vecEvents.clear();
for(vector<CSTalentEventInfo>::iterator itRefTalentNormalEventInfo = pRefTalentInfo->m_Events.m_vecEvents.begin(); itRefTalentNormalEventInfo != pRefTalentInfo->m_Events.m_vecEvents.end(); itRefTalentNormalEventInfo++)
{
pTalentInfo->m_Events.m_vecEvents.push_back(*itRefTalentNormalEventInfo);
}
// act
pTalentInfo->m_Events.m_vecActEvents.clear();
for(vector<CSTalentEventInfo>::iterator itRefTalentActEventInfo = pRefTalentInfo->m_Events.m_vecActEvents.begin(); itRefTalentActEventInfo != pRefTalentInfo->m_Events.m_vecActEvents.end(); itRefTalentActEventInfo++)
{
pTalentInfo->m_Events.m_vecActEvents.push_back(*itRefTalentActEventInfo);
}
}
}
}
| [
"shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4"
] | shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4 |
9541dd748a508b7e0cebda42ef52107698606cb1 | 0fe588ac5ec5cfc8e42e1e22ec7c00b484c12b75 | /leetcode/merge-k-sorted-lists.cpp | c914d59126d72a4e4309c84682835adc0eb958df | [] | no_license | yangzw/everyday | 4a9c2bb0447c25e92b17f80a31e935faf5a6f396 | 5a3538704fe126751b8ae10b9e0c81af4d4d81d2 | refs/heads/master | 2021-01-25T12:13:18.617787 | 2014-08-17T09:30:11 | 2014-08-17T09:30:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,863 | cpp | /*Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.
*
* accepted 2014-03-30
*/
#include<iostream>
#include<vector>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
void shiftdown(ListNode** nodearray, int len, int pos)
{
int i = pos;
int tmp = 0;
while(i*2 <= len)
{
// cout << i << "here?" << len << endl;
tmp = i*2;
if(2*i + 1 <= len && nodearray[i*2 + 1]->val < nodearray[tmp]->val)
tmp = tmp + 1;
if(nodearray[tmp]->val < nodearray[i]->val)
{
ListNode *nodetmp = nodearray[tmp];
nodearray[tmp] = nodearray[i];
nodearray[i] = nodetmp;
}
i = tmp;
}
}
ListNode *mergeKLists(vector<ListNode *> &lists){
int arraylen = lists.size();
ListNode *array[arraylen+1];
ListNode *re;
int i,j;
for(i = 0,j = 0; i < lists.size(); i++)
{
if(lists[i] == NULL)
continue;
array[++j] = lists[i];
}
arraylen = j;
if(arraylen == 0)
return NULL;
int tmp;
for(i = arraylen/2; i >= 1; i--)
{
shiftdown(array,arraylen,i);
}
re = new ListNode(array[1]->val);
ListNode* p = re;
while(arraylen > 0)
{
while(array[1]->next)
{
array[1] = array[1]->next;
shiftdown(array,arraylen,1);
// cout << "-(" << array[1]->val;
p->next = new ListNode(array[1]->val);
p = p->next;
}
if(arraylen == 1)
break;
array[1] = array[arraylen];
arraylen = arraylen - 1;
shiftdown(array,arraylen,1);
// cout << "+(" << array[1]->val;
p->next = new ListNode(array[1]->val);
p = p->next;
}
return re;
}
int main()
{
vector<ListNode *> a;
ListNode* b1 = new ListNode(-8);
ListNode* a1 = b1;
b1->next = new ListNode(-7);
b1 = b1->next;
b1->next = new ListNode(-6);
b1 = b1->next;
b1->next = new ListNode(-3);
b1 = b1->next;
b1->next = new ListNode(-2);
b1 = b1->next;
b1->next = new ListNode(-2);
b1 = b1->next;
b1->next = new ListNode(-0);
b1 = b1->next;
b1->next = new ListNode(3);
ListNode* b2 = new ListNode(-10);
ListNode* a2 = b2;
b2->next = new ListNode(-6);
b2 = b2->next;
b2->next = new ListNode(-4);
b2 = b2->next;
b2->next = new ListNode(-4);
b2 = b2->next;
b2->next = new ListNode(-4);
b2 = b2->next;
b2->next = new ListNode(-2);
b2 = b2->next;
b2->next = new ListNode(-1);
b2 = b2->next;
b2->next = new ListNode(4);
ListNode* b3 = new ListNode(-10);
ListNode* a3 = b3;
b3->next = new ListNode(-9);
b3 = b3->next;
b3->next = new ListNode(-8);
b3 = b3->next;
b3->next = new ListNode(-8);
b3 = b3->next;
b3->next = new ListNode(-6);
ListNode* b4 = new ListNode(-10);
ListNode* a4 = b4;
b4->next = new ListNode(0);
b4 = b4->next;
b4->next = new ListNode(4);
a.push_back(a1);
a.push_back(a2);
a.push_back(a3);
a.push_back(a4);
ListNode *back = mergeKLists(a);
while(back)
{
cout << back->val << endl;
back = back->next;
}
return 0;
}
| [
"yang@yang-Compaq-Presario-CQ40-Notebook-PC.(none)"
] | yang@yang-Compaq-Presario-CQ40-Notebook-PC.(none) |
ecb403a0fc09418d636e75f9f2a7eaa1678c298c | 0ae39e4f9744046848868cd58598f3f489fb22b4 | /Libraries/JUCE/modules/rosic/transforms/rosic_SpectralManipulator.cpp | ffc4c95b9cabc5abcfc19d650d3ac72440227bdb | [] | no_license | gogirogi/RS-MET | b908509ddd7390d05476ffce9c9cbb30e95439e8 | d767896f542d8e00e803ad09d20c05b2f25c2c71 | refs/heads/master | 2021-08-19T21:56:36.416451 | 2017-11-27T14:11:52 | 2017-11-27T14:11:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,867 | cpp | //#include "rosic_SpectralManipulator.h"
//using namespace rosic;
//-------------------------------------------------------------------------------------------------
// construction/destruction:
SpectralManipulator::SpectralManipulator()
{
sampleRate = 44100.0;
}
SpectralManipulator::~SpectralManipulator()
{
}
//-------------------------------------------------------------------------------------------------
// magnitude spectrum manipulations (static):
void SpectralManipulator::applyContrast(double *magnitudes, int length, double power)
{
int k;
double maxMagnitude = 0.0;
for(k=0; k<length; k++)
{
if( magnitudes[k] > maxMagnitude )
maxMagnitude = magnitudes[k];
}
double normalizer = maxMagnitude / pow(maxMagnitude, power);
for(k=0; k<length; k++)
magnitudes[k] = normalizer * pow(magnitudes[k], power);
}
void SpectralManipulator::applySlope(double *magnitudes, int length, double slope /*,int cutoffBin*/)
{
// this normalizer is good for waveforms with 1/n falloff of the harmonics:
double normalizer = 1.0;
if( slope > 0.0 )
normalizer = 1.0 / dB2amp( 0.5*slope*log2((double)length) ) ;
for(int k=0; k<length; k++)
magnitudes[k] *= normalizer * dB2amp(slope*log2(k));
}
void SpectralManipulator::applyBrickwallLowpass(double *magnitudes, int length,
int highestBinToKeep)
{
for(int k=highestBinToKeep+1; k<length; k++)
magnitudes[k] = 0.0;
}
void SpectralManipulator::applyBrickwallHighpass(double *magnitudes, int length,
int lowestBinToKeep)
{
if(lowestBinToKeep > length)
lowestBinToKeep = length;
for(int k=0; k<lowestBinToKeep; k++)
magnitudes[k] = 0.0;
}
void SpectralManipulator::applyEvenOddBalance(double *magnitudes, int length, double balance)
{
double evenAmp, oddAmp;
if( balance > 0.5 )
{
oddAmp = 1.0;
evenAmp = 2.0 - 2.0*balance;
}
else
{
evenAmp = 1.0;
oddAmp = 2.0 * balance;
}
int k;
for(k=1; k<length; k+=2)
magnitudes[k] *= oddAmp;
for(k=2; k<length; k+=2)
magnitudes[k] *= evenAmp;
// starting at k=2 for the even harmonics leaves DC alone - this is particularly desirable for
// very short blocklengths where the (moving) DC represents low frequency content
}
void SpectralManipulator::applyMagnitudeRandomization(double* /*magnitudes*/, int /*length*/,
double /*amount*/, int seed)
{
randomUniform(0.0, 1.0, seed);
// \todo: write a class for this PNRG and create an instance on the stack here to make it
// thread-safe (i.e. avoid that other threads spoil the state of PNRG during we are using it. */
//....
}
//-------------------------------------------------------------------------------------------------
// phase spectrum manipulations (static):
void SpectralManipulator::applyEvenOddPhaseShift(double *phases, int length, double shiftInDegrees)
{
double phi = degreeToRadiant(0.5*shiftInDegrees);
int k;
for(k=1; k<length; k+=2)
phases[k] += phi;
for(k=2; k<length; k+=2)
phases[k] -= phi;
}
void SpectralManipulator::applyStereoPhaseShift(double *phasesL, double *phasesR, int length,
double shiftInDegrees)
{
double phi = degreeToRadiant(0.5*shiftInDegrees);
int k;
for(k=1; k<length; k+=2)
{
phasesL[k] -= phi;
phasesR[k] += phi;
}
}
void SpectralManipulator::applyEvenOddStereoPhaseShift(double *phasesL, double *phasesR,
int length, double shiftInDegrees)
{
double phi = degreeToRadiant(0.5*shiftInDegrees);
int k;
for(k=1; k<length; k+=2)
{
phasesL[k] += phi;
phasesR[k] -= phi;
}
for(k=2; k<length; k+=2)
{
phasesL[k] -= phi;
phasesR[k] += phi;
}
}
| [
"robin@rs-met.com"
] | robin@rs-met.com |
6fa34b80167eb34f98e1e013fa80e50a5e61adce | 31a035666e2ee9f0b05e213123ed29f3ce20fafa | /StartNode.cpp | c17025cd56bd59e222c1cf405d45f6a05f1a6c0b | [] | no_license | vismeneer/OOPAcircuit | 3b5da038ccbad52f3d18ae83f5e32d141922f661 | b4d4d8bc3555667f43250fc4c986ae707084b69f | refs/heads/master | 2016-09-06T21:26:37.591954 | 2013-11-13T23:45:42 | 2013-11-13T23:45:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 381 | cpp | #include "stdafx.h"
#include "StartNode.h"
StartNode StartNode::m_cStartNode("INPUT");
StartNode::StartNode(const char* szType) : Node(szType)
{
}
StartNode::StartNode(void)
{
}
StartNode::~StartNode(void)
{
}
Node* StartNode::Clone() const
{
return new StartNode;
}
int StartNode::SendSignal()
{
return Node::SendSignal();
}
int StartNode::ProcessSignals()
{
return 0;
} | [
"rvdz_roel@hotmail.com"
] | rvdz_roel@hotmail.com |
21baafbd38f551498f0b23f0522fef097f5a8aa3 | 8d7d52b4d15b9c14ab75f3e09add170578feddf8 | /source/base/extension_details/AdapterItemModel.h | dd6329857727bd4379406a7c885a861bb6b56ed1 | [
"MIT"
] | permissive | hermixy/quartz | 76b040160c32974874f9b41bfd2a6ead82c2c6db | 846afdb8e00acf553bcf64ca4ac1499fb0b496cd | refs/heads/master | 2020-03-21T20:54:49.671011 | 2018-06-23T11:19:14 | 2018-06-23T11:19:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,170 | h | #pragma once
#include <memory>
#include <QAbstractItemModel>
#include <core/utils/Macros.h>
#include "../QuartzBase.h"
namespace Quartz { namespace Ext {
QZ_INTERFACE IExtensionAdapter;
class QUARTZ_BASE_API AdapterItemModel : public QAbstractItemModel
{
Q_OBJECT
public:
explicit AdapterItemModel( QObject *parent );
~AdapterItemModel();
QModelIndex index( int row,
int column,
const QModelIndex &parent ) const override;
QModelIndex parent( const QModelIndex &child ) const override;
int rowCount( const QModelIndex &parent ) const override;
int columnCount( const QModelIndex &parent ) const override;
QVariant data( const QModelIndex &index, int role ) const override;
bool hasChildren( const QModelIndex &parent ) const override;
QVariant headerData( int section,
Qt::Orientation orientation,
int role ) const override;
void setAdapterList(
const QVector< std::shared_ptr< IExtensionAdapter >> *plugins );
void clear();
private:
struct Data;
std::unique_ptr< Data > m_data;
};
} }
| [
"varunamachi@gmail.com"
] | varunamachi@gmail.com |
185a8e683a0215247e20a1458523a71473bca84f | 383b1d9b8717b259e2f5ce7ba949d7c8b71e07f8 | /src/apps/test/main.cc | b00ab976f28a3905ad8ffecc7c45780ec581798e | [
"MIT"
] | permissive | pombredanne/libschwa | b7e220aa21d5d512e30e3b39dfd1af53cadecd63 | a87d7ea017421340e3dc3ee9830411ee229b64ea | refs/heads/master | 2021-01-15T11:46:09.362167 | 2014-04-07T03:49:52 | 2014-04-07T03:49:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,766 | cc | /* -*- Mode: C++; indent-tabs-mode: nil -*- */
#include <schwa/config.h>
#include <schwa/dr.h>
namespace cf = schwa::config;
namespace dr = schwa::dr;
namespace io = schwa::io;
namespace mp = schwa::msgpack;
#if 0
class Token : public dr::Ann {
public:
dr::Slice<uint64_t> slice;
dr::Slice<Token *> slice2;
std::string raw;
std::string norm;
dr::Pointer<Token> parent;
class Schema;
};
class X : public dr::Ann {
};
class Doc : public dr::Doc {
public:
std::string filename;
dr::Store<Token> tokens;
dr::Store<Token> tokens2;
dr::Store<X> xs;
class Schema;
};
class Token::Schema : public dr::Ann::Schema<Token> {
public:
DR_FIELD(&Token::slice) slice;
DR_POINTER(&Token::slice2, &Doc::tokens) slice2;
DR_FIELD(&Token::raw) raw;
DR_FIELD(&Token::norm) norm;
DR_POINTER(&Token::parent, &Doc::tokens) parent;
Schema(void) :
dr::Ann::Schema<Token>("Token", "Some help text about Token", "Token"),
slice(*this, "slice", "some help text about slice", dr::FieldMode::READ_ONLY, "slice"),
slice2(*this, "slice2", "some help text about slice2", dr::FieldMode::READ_ONLY, "slice2"),
raw(*this, "raw", "some help text about raw", dr::FieldMode::READ_WRITE, "raw"),
norm(*this, "norm", "some help text about norm", dr::FieldMode::READ_WRITE, "norm"),
parent(*this, "parent", "some help text about parent", dr::FieldMode::READ_WRITE, "parent")
{ }
virtual ~Schema(void) { }
};
class Doc::Schema : public dr::Doc::Schema<Doc> {
public:
DR_FIELD(&Doc::filename) filename;
DR_STORE(&Doc::tokens) tokens;
DR_STORE(&Doc::tokens2) tokens2;
Schema(void) :
dr::Doc::Schema<Doc>("Doc", "Some help text about this Doc class"),
filename(*this, "filename", "some help text about filename", dr::FieldMode::READ_ONLY, "filename"),
tokens(*this, "tokens", "some help text about Token store", dr::FieldMode::READ_WRITE, "tokens"),
tokens2(*this, "tokens2", "some help text about Token2 store", dr::FieldMode::READ_WRITE, "tokens2")
{ }
virtual ~Schema(void) { }
};
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
static void
do_write(std::ostream &out) {
Doc::Schema schema;
schema.filename.serial = "foo";
schema.types<Token>().serial = "PTBToken";
schema.types<Token>().raw.serial = "real_raw";
Doc d;
d.tokens.create(2);
Token &t1 = d.tokens[0];
Token &t2 = d.tokens[1];
t1.raw = "hello";
t2.raw = "world";
t2.parent = &t1;
dr::Writer writer(out, schema);
writer << d;
}
static void
do_read(std::istream &in, std::ostream &out) {
Doc::Schema schema;
schema.filename.serial = "foo";
schema.types<Token>().serial = "PTBToken";
schema.types<Token>().raw.serial = "real_raw";
dr::Reader reader(in, schema);
dr::Writer writer(out, schema);
while (true) {
Doc d;
if (!(reader >> d))
break;
std::cerr << "read ..." << std::endl;
writer << d;
}
}
int
main(int argc, char *argv[]) {
cf::Main cfg("test", "this is the toplevel help");
cf::OpChoices<std::string> op_mode(cfg, "mode", "The mode of operation", {"read", "write"}, "write");
cf::OpIStream op_in(cfg, "input", "The input file");
cf::OpOStream op_out(cfg, "output", "The output file");
cfg.main(argc, argv);
try {
if (op_mode() == "write")
do_write(op_out.file());
else
do_read(op_in.file(), op_out.file());
}
catch (schwa::Exception &e) {
std::cerr << schwa::print_exception(e) << std::endl;
return 1;
}
return 0;
}
#endif
int
main(int argc, char **argv) {
cf::Main cfg("test", "this is the toplevel help");
cf::OpChoices<std::string> mode(cfg, "mode", "The mode of operation", {"read", "write"}, "write");
cf::OpIStream input(cfg, "input", "The input file");
cf::OpOStream output(cfg, "output", "The output file");
cf::Group group1(cfg, "group1", "help text for some group");
cf::Op<uint32_t> g1a(group1, "g1a", "meow", 8);
cf::Op<uint32_t> g1b(group1, "g1b", "meow", 8);
cf::Group group1_1(group1, "group11", "help text for some group");
cf::Op<uint32_t> g1_1a(group1_1, "g1a", "meow", 8);
cf::Op<uint32_t> g1_1b(group1_1, "g1b", "meow", 8);
cf::Group group2(cfg, "group2", "help text for some group");
cf::Op<uint32_t> g2a(group2, "g2a", "meow", 0);
cf::Op<uint32_t> g2b(group2, "g2b", "meow", 0);
cfg.main<io::PrettyLogger>(argc, argv);
LOG(DEBUG) << "This is a debug statement." << std::endl;
LOG(INFO) << "This is a info statement." << std::endl;
LOG(WARNING) << "This is a warning statement." << std::endl;
LOG(ERROR) << "This is a error statement." << std::endl;
LOG(CRITICAL) << "This is a critical statement." << std::endl;
return 0;
}
| [
"tim.dawborn@gmail.com"
] | tim.dawborn@gmail.com |
6e860674140b2d0a7764734e237548f5037ed070 | 3a7fddd38ce5135367381819b01974528b47c912 | /gnc/matlab/code_generation/sharedutils/imopmohdaaaimgln_xrot.cpp | 7ed86585ad9794a94ae8946a43304ad96f277df4 | [
"Apache-2.0",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"LGPL-3.0-only",
"MIT",
"GPL-3.0-only",
"LicenseRef-scancode-proprietary-license",
"BSD-3-Clause",
"CC-BY-NC-4.0",
"GPL-2.0-only",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancod... | permissive | Hackjaku/astrobee | 8409b671d88535d8d729a3f301019726d01e78d1 | 0ee5a7e90939ab7d81835f56a81fa0d329da0004 | refs/heads/master | 2020-03-30T02:49:58.241804 | 2018-09-27T18:17:47 | 2018-09-27T18:17:47 | 150,653,073 | 3 | 0 | Apache-2.0 | 2018-09-27T22:03:21 | 2018-09-27T22:03:21 | null | UTF-8 | C++ | false | false | 801 | cpp | //
// File: imopmohdaaaimgln_xrot.cpp
//
// Code generated for Simulink model 'fam_force_allocation_module'.
//
// Model version : 1.1142
// Simulink Coder version : 8.11 (R2016b) 25-Aug-2016
// C/C++ source code generated on : Mon Dec 4 08:34:01 2017
//
#include "rtwtypes.h"
#include "imopmohdaaaimgln_xrot.h"
// Function for MATLAB Function: '<S12>/MATLAB Function'
void imopmohdaaaimgln_xrot(real32_T x[36], int32_T ix0, int32_T iy0, real32_T c,
real32_T s)
{
int32_T ix;
int32_T iy;
real32_T temp;
int32_T k;
ix = (int32_T)(ix0 - 1);
iy = (int32_T)(iy0 - 1);
for (k = 0; k < 6; k++) {
temp = c * x[ix] + s * x[iy];
x[iy] = c * x[iy] - s * x[ix];
x[ix] = temp;
iy++;
ix++;
}
}
//
// File trailer for generated code.
//
// [EOF]
//
| [
"theodore.f.morse@nasa.gov"
] | theodore.f.morse@nasa.gov |
a0c05f3ae67d942ee522b54bf1f4371e4e57d7d2 | cfb08ea75d4f4a51c7a6a0bb6098e2e8c7ee28ff | /Coders/BlockInterleave.cc | 182cdcbee143a17d80a897840f90f8fc241a656b | [] | no_license | ganlubbq/C- | 9f557faa9d2e29762148d5277c50b636fdc96f59 | 86ef8abd142775a237f90ec13b38854b6a2c3a3a | refs/heads/master | 2021-05-31T21:13:46.029059 | 2016-07-26T05:36:31 | 2016-07-26T05:36:31 | 108,728,692 | 1 | 0 | null | 2017-10-29T11:34:42 | 2017-10-29T11:34:42 | null | UTF-8 | C++ | false | false | 4,750 | cc | /********************************************************************************
* This class implements a block interleaver. The interleaver writes in by *
* columns and reads by out by rows. *
* File: BlockInterleave.h *
* *
* Revision history: *
* 1. 04/24/01 - Started *
* *
********************************************************************************/
#include "BlockInterleave.h"
#include <stdio.h>
#define MAX(a,b) ( ((a)<(b)) ? (b) : (a) )
#define MIN(a,b) ( ((a)>(b)) ? (b) : (a) )
#define ROUND(a) ( ((a)>0.) ? (int)((a)+0.5) : (int)((a)-0.5) )
#ifndef YES
#define YES 1
#define NO 0
#endif
// ############################# Class Constructor ###############################
// Class Constructor -- Constructor for the BlockInterleave class.
// Input: rows: number of rows in interleaver
// columns: number of columns interleaver
//
// Output: None
//
// Notes:
// ############################# Class Constructor ###############################
BlockInterleave::BlockInterleave(int rows, int columns)
:BlockLeaveDeleave(rows, columns)
{
return;
}
// ############################# Class Destructor ###############################
// Class Destructor -- Destructor for the BlockInterleave class.
//
// Input: None
//
// Output: None
//
// Notes:
// ############################# Class Destructor ###############################
BlockInterleave::~BlockInterleave()
{
return;
}
// ############################# Public Function ###############################
// writeData -- Puts a new floating point data into the interleaver.
//
// Input: data: New data point to write into interleaver.
//
// Output: None
//
// Notes: Interleaver writes in by columns.
// ############################# Public Function ###############################
void BlockInterleave:: writeData(float data)
{
if(_blockWritePtr == 0)
{
_writePtr = _rowPtr*_blockColumns + _columnPtr;
_block0[_writePtr] = data;
_rowPtr++;
if(_rowPtr >= _blockRows)
{
_rowPtr = 0;
_columnPtr++;
if(_columnPtr >= _blockColumns)
{
_columnPtr = 0;
_blockWritePtr++;
}
}
}
else
{
_writePtr = _rowPtr*_blockColumns + _columnPtr;
_block1[_writePtr] = data;
_rowPtr++;
if(_rowPtr >= _blockRows)
{
_rowPtr = 0;
_columnPtr++;
if(_columnPtr >= _blockColumns)
{
_columnPtr = 0;
_blockWritePtr = 0;
}
}
}
return;
}
// ############################# Public Function ###############################
// readData -- Gets a new floating point data from the interleaver.
//
// Input: None
//
// Output: New floating point data
//
// Notes:
// 1) Deleaver reads out by columns
// 2) call readyToRead() before calling this function.
// ############################# Public Function ###############################
float BlockInterleave:: readData()
{
float output_data;
if(_blockReadPtr == 0)
{
output_data = _block0[_readPtr];
_readPtr++;
if(_readPtr == _blockSize)
{
_readPtr = 0;
_blockReadPtr++;
}
}
else
{
output_data = _block1[_readPtr];
_readPtr++;
if(_readPtr == _blockSize)
{
_readPtr = 0;
_blockReadPtr--;
}
}
return output_data;
}
// ############################# Public Function ###############################
// readyToRead -- Determines whether the interleaver is ready to output data.
//
// Input: None
//
// Output: YES if data ready to be read
//
// NOTES:
// 1. readyToRead is TRUE when the writePtr is such that when we start reading
// out we won't run out of new data.
// ############################# Public Function ###############################
LOGICAL BlockInterleave:: readyToRead()
{
int number_written;
if(_readyToRead)
return YES;
number_written = _columnPtr*_blockRows + _rowPtr;
if(number_written > (_blockSize - _blockRows - _blockColumns + 1) )
_readyToRead = YES;
return _readyToRead;
}
| [
"mark.frank@ieee.org"
] | mark.frank@ieee.org |
108bcc3991089c3349a72f2abff97579aa3549fa | 4bef249e9f73ffcef3b4a197e3ed455bef49ff84 | /f/mybstree.cpp | 2cc62fd2ae95fc47385194cd61a84505f2cfba5d | [] | no_license | DaltonCole/DataStructures | 47aa85f07921c4c7bc3685d23c4de550602473b5 | 6475cd758d1531017434d9db680adf5dc9d038a9 | refs/heads/master | 2021-06-08T07:08:25.631792 | 2016-09-20T21:29:42 | 2016-09-20T21:29:42 | 68,754,903 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,145 | cpp | //Dalton Cole
//Class and section: cs153, A
//Date: 5/6/2014
//Description: myMyBSTree.cpp for myMyBSTree.h
#include <iostream>
#include <string>
using namespace std;
template < typename T >
const MyBSTree<T>& MyBSTree<T>::operator = (const MyBSTree<T>& rhs)
{
if(this != &rhs)
{
if(this -> m_root != NULL)
{
clear();
delete m_root;
}
TreeNode<T>* t;
TreeNode<T>* p = rhs.m_root;
t = clone(p);
this -> m_size = rhs.m_size;
this -> m_root = t;
}
return *this;
}
template < typename T>
TreeNode<T>* MyBSTree<T>::clone(TreeNode<T>* t)
{
if(t == NULL)
return NULL;
else
{
return new TreeNode<T>(t -> m_data, clone(t -> m_left), clone(t -> m_right));
}
}
template < typename T >
MyBSTree<T>::MyBSTree(const MyBSTree<T>& rhs)
{
//MyBSTree<T>* p = new MyBSTree;
//*p = rhs;
//this -> m_size = rhs.m_size;
//this -> m_root = p -> m_root;
//delete p;
//*this = rhs;
TreeNode<T>* t;
TreeNode<T>* p = rhs.m_root;
t = clone(p);
this -> m_size = rhs.m_size;
this -> m_root = t;
}
template < typename T >
int MyBSTree<T>::size() const
{
return m_size;
}
template < typename T >
bool MyBSTree<T>::isEmpty() const
{
return ((m_root == NULL)?true:false);
}
template < typename T >
int MyBSTree<T>::height() const
{
if(isEmpty() == true)
return 0;
TreeNode<T>* tmp = m_root;
int max_height;
max_height = r_height(tmp, 0, 0);
return max_height;
}
template < typename T >
int MyBSTree<T>::r_height(TreeNode<T>* tmp, int max_height, int height) const
{
height++;
if(tmp -> m_left != NULL) //if it can terverse left
{
if(height > max_height)
max_height = height;
max_height = r_height(tmp -> m_left, max_height, height);
}
if(tmp -> m_right != NULL) //if it cannot terverse right
{
if(height > max_height)
max_height = height;
max_height = r_height(tmp -> m_right, max_height, height);
}
if((tmp -> m_left == NULL && tmp -> m_right == NULL)) //if it is a leaf
{
if(height > max_height)
max_height = height;
}
return max_height;
}
template < typename T >
const T& MyBSTree<T>::findMax() const
{
string err = "PANIC : Tree is Empty!!";
TreeNode<T>* p = m_root;
try
{
if(p == NULL) throw err;
}
catch(string s)
{
throw s;
}
while(p -> m_right != NULL)
p = p -> m_right;
return p -> m_data;
}
template < typename T >
const T& MyBSTree<T>::findMin() const
{
string err = "PANIC : Tree is Empty!!";
TreeNode<T>* p = m_root; //Might have to make this a new TreeNode to return it
try
{
if(p == NULL) throw err;
}
catch(string s)
{
throw s;
}
while(p -> m_left != NULL)
p = p -> m_left;
return p -> m_data;
}
template < typename T >
int MyBSTree<T>::contains(const T& x) const
{
int level = 0;
TreeNode<T>* p = m_root;
while((p -> m_data != x) && ((p -> m_right != NULL) || (p -> m_left != NULL)))
{
if(p->m_data == x)
return level;
else if (x < p->m_data)
{
level++;
p = p -> m_left;
}
else if (x > p->m_data)
{
level++;
p = p -> m_right;
}
else
{
break;
}
}
return (-(level++));
}
template < typename T >
void MyBSTree<T>::clear()
{
TreeNode<T>* t = m_root;
if(t == NULL)
return;
r_clear(t);
m_size = 0;
m_root = NULL;
return;
}
template < typename T >
void MyBSTree<T>::r_clear(TreeNode<T>* t)
{
if(t -> m_left != NULL)
r_clear(t -> m_left);
if(t -> m_right != NULL)
r_clear(t -> m_right);
delete t;
return;
}
template < typename T >
void MyBSTree<T>::insert(const T& x)
{
if(m_root == NULL)
{
TreeNode<T>* t = new TreeNode<T>;
t -> m_data = x;
m_root = t;
m_size++;
return;
}
TreeNode<T>* tmp = m_root;
r_insert(tmp, x);
return;
}
template < typename T >
void MyBSTree<T>::r_insert(TreeNode<T>* tmp, const T& x)
{
if(tmp -> m_left == NULL && x < tmp -> m_data)
{
m_size++;
TreeNode<T>* t = new TreeNode<T>;
t -> m_data = x;
tmp -> m_left = t;
return;
}
else if(tmp -> m_right == NULL && x > tmp -> m_data)
{
m_size++;
TreeNode<T>* t = new TreeNode<T>;
t -> m_data = x;
tmp -> m_right = t;
return;
}
else if(x < tmp -> m_data)
{
r_insert(tmp -> m_left, x);
return;
}
else if(x > tmp -> m_data)
{
r_insert(tmp -> m_right, x);
return;
}
else if(x == (tmp -> m_data))
{
return;
}
}
template < typename T >
void MyBSTree<T>::remove(const T& x)
{
TreeNode<T>* t = m_root;
r_remove(t, x);
return;
}
template < typename T >
int MyBSTree<T>::r_remove(TreeNode<T>* t, const T& x)
{
int same = 0;
if(t == NULL)
return 0;
else if(x < t -> m_data)
{
same = r_remove(t -> m_left, x);
same++;
}
else if (x > t -> m_data)
{
same = r_remove(t -> m_right, x);
same -= 2;
}
else // x== t -> m_data
{
if((t -> m_left != NULL) && (t -> m_right != NULL)) //Can break if the min has a right child
{
/*TreeNode<T>* q = t;
while(q -> m_left -> m_left != NULL)
q = q -> m_left;
t -> m_data = q -> m_left -> m_data;
TreeNode<T>* r = q -> m_left;
if(r -> m_right != NULL)
{
q -> m_left = r -> m_right;
}
else
q -> m_left = NULL;
delete r;*//*
TreeNode<T>* p = t -> m_left;
while(p -> m_right != NULL)
p = p -> m_right;
t -> m_data = p -> m_data;
r_remove(t -> m_left, t -> m_data);*/
TreeNode<T>* q = t;
if(q -> m_left -> m_right != NULL)
{
q = q -> m_left;
while(q -> m_right -> m_right != NULL)
q = q -> m_right;
}
t -> m_data = q -> m_right -> m_data;
TreeNode<T>* r = q -> m_right;
if(r -> m_left != NULL)
{
q -> m_right = r -> m_left;
}
else
q -> m_right = NULL;
delete r;
}
else if((t -> m_left == NULL) && (t -> m_right == NULL))
{
delete t;
return 1;
}
else
{
TreeNode<T>* p = t -> m_left; //if left is the only child
if(t -> m_right != NULL) //if right is the only child
p = t -> m_right;
t -> m_data = p -> m_data;
t -> m_left = p -> m_left;
t -> m_right = p -> m_right;
delete p;
}
}
if(same == 2)
{
t -> m_left = NULL;
}
if(same == -1)
{
t -> m_right = NULL;
}
return 0;
}
template < typename T >
void MyBSTree<T>::printPreOrder() const
{
TreeNode<T>* t = m_root;
r_printPreOrder(t);
return;
}
template < typename T >
void MyBSTree<T>::r_printPreOrder(TreeNode<T>* t) const
{
cout << t -> m_data << endl;
if(t -> m_left != NULL)
{
r_printPreOrder(t -> m_left);
}
if(t -> m_right != NULL)
{
r_printPreOrder(t -> m_right);
}
return;
}
template < typename T >
void MyBSTree<T>::printPostOrder() const
{
TreeNode<T>* t = m_root;
r_printPostOrder(t);
return;
}
template < typename T >
void MyBSTree<T>::r_printPostOrder(TreeNode<T>* t) const
{
if(t -> m_left != NULL)
{
r_printPostOrder(t -> m_left);
}
if(t -> m_right != NULL)
{
r_printPostOrder(t -> m_right);
}
cout << t -> m_data << endl;
return;
}
template < typename T >
void MyBSTree<T>::print() const
{
TreeNode<T>* t = m_root;
prettyPrint(t, 0);
return;
}
template < typename T >
void MyBSTree<T>::prettyPrint (const TreeNode<T>* t, int pad) const
{
string s(pad, ' ');
if (t == NULL)
cout << endl;
else{
prettyPrint(t->m_right, pad+4);
cout << s << t->m_data << endl;
prettyPrint(t->m_left, pad+4);
}
return;
} | [
"dalton_cl@yahoo.com"
] | dalton_cl@yahoo.com |
12baf2acf17c2e73f760371f9011cf6284ef7f37 | 173c8ef20a4dd440e7d22e22dce1bb978f8a2057 | /NEAT Rubix/Node.cpp | cfefc60380fd7111591848983012fde3e68fb9da | [] | no_license | aborger/RubixBot | 4e6907f3137c710c007dcc7e7451f88018d89501 | 2aea5ba9d873dc00d5337c76eb55c804e246b167 | refs/heads/main | 2023-02-21T16:19:18.825493 | 2021-01-21T17:01:48 | 2021-01-21T17:01:48 | 330,481,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 646 | cpp | #include "Node.h"
Node::Node()
{
}
// Getters
int Node::getInConnectors(int element) {
return inConnectors.getAt(element);
}
int Node::getInConnectorSize() {
return inConnectors.getListSize();
}
int Node::getOutConnectors(int element) {
return outConnectors.getAt(element);
}
int Node::getOutConnectorSize() {
return inConnectors.getListSize();
}
double Node::getBias() {
return bias;
}
// Setters
void Node::newIn(int in) {
inConnectors.newNodeTail(in);
}
void Node::newOut(int out) {
outConnectors.newNodeTail(out);
}
void Node::setBias(double newBias) {
bias = newBias;
}
Node::~Node()
{
}
| [
"noreply@github.com"
] | aborger.noreply@github.com |
eeb9dec10299d6f7bb019fa1d8c05946eedee9cf | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/content/public/browser/render_widget_host.h | 92f45aaf4af0855c80f9cac85d3f2d7f9a4cf976 | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 3,597 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
#define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
#include "base/callback.h"
#include "content/common/content_export.h"
#include "content/public/browser/native_web_keyboard_event.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_sender.h"
#include "third_party/WebKit/public/web/WebInputEvent.h"
#include "third_party/WebKit/public/web/WebTextDirection.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/gfx/size.h"
#include "ui/surface/transport_dib.h"
#if defined(OS_MACOSX)
#include "skia/ext/platform_device.h"
#endif
class SkBitmap;
namespace gfx {
class Rect;
}
namespace blink {
class WebMouseEvent;
struct WebScreenInfo;
}
namespace content {
class RenderProcessHost;
class RenderWidgetHostImpl;
class RenderWidgetHostIterator;
class RenderWidgetHostView;
class CONTENT_EXPORT RenderWidgetHost : public IPC::Sender {
public:
static RenderWidgetHost* FromID(int32 process_id, int32 routing_id);
static scoped_ptr<RenderWidgetHostIterator> GetRenderWidgetHosts();
virtual ~RenderWidgetHost() {}
virtual void UpdateTextDirection(blink::WebTextDirection direction) = 0;
virtual void NotifyTextDirection() = 0;
virtual void Focus() = 0;
virtual void Blur() = 0;
virtual void SetActive(bool active) = 0;
virtual void CopyFromBackingStore(
const gfx::Rect& src_rect,
const gfx::Size& accelerated_dst_size,
const base::Callback<void(bool, const SkBitmap&)>& callback,
const SkColorType color_type) = 0;
virtual bool CanCopyFromBackingStore() = 0;
#if defined(OS_ANDROID)
virtual void LockBackingStore() = 0;
virtual void UnlockBackingStore() = 0;
#endif
virtual void ForwardMouseEvent(
const blink::WebMouseEvent& mouse_event) = 0;
virtual void ForwardWheelEvent(
const blink::WebMouseWheelEvent& wheel_event) = 0;
virtual void ForwardKeyboardEvent(
const NativeWebKeyboardEvent& key_event) = 0;
virtual RenderProcessHost* GetProcess() const = 0;
virtual int GetRoutingID() const = 0;
virtual RenderWidgetHostView* GetView() const = 0;
virtual bool IsLoading() const = 0;
virtual bool IsRenderView() const = 0;
virtual void ResizeRectChanged(const gfx::Rect& new_rect) = 0;
virtual void RestartHangMonitorTimeout() = 0;
virtual void SetIgnoreInputEvents(bool ignore_input_events) = 0;
virtual void WasResized() = 0;
typedef base::Callback<bool(const NativeWebKeyboardEvent&)>
KeyPressEventCallback;
virtual void AddKeyPressEventCallback(
const KeyPressEventCallback& callback) = 0;
virtual void RemoveKeyPressEventCallback(
const KeyPressEventCallback& callback) = 0;
typedef base::Callback<bool(const blink::WebMouseEvent&)> MouseEventCallback;
virtual void AddMouseEventCallback(const MouseEventCallback& callback) = 0;
virtual void RemoveMouseEventCallback(const MouseEventCallback& callback) = 0;
virtual void GetWebScreenInfo(blink::WebScreenInfo* result) = 0;
virtual SkColorType PreferredReadbackFormat() = 0;
protected:
friend class RenderWidgetHostImpl;
virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() = 0;
};
}
#endif
| [
"allegrant@mail.ru"
] | allegrant@mail.ru |
f94f9fbe72ddfb3b166fad89f6b2d4dcd9182915 | 0de8cd204991f70f2210f7a19e215d3e4edc9bf9 | /tests/src/Interop/StringMarshalling/VBByRefStr/VBByRefStrNative.cpp | a23fb91a3d0fb98465cdb56d4ab7b341a3006777 | [
"MIT"
] | permissive | robot9706/coreclr | 0eb37c1eb38973ca28289c6463c79197a84e84ff | e89348f65f30d843b9df34b8675bbadb2f4027bf | refs/heads/master | 2020-04-16T13:59:23.597109 | 2019-01-29T21:51:46 | 2019-01-29T21:51:46 | 165,650,462 | 1 | 0 | NOASSERTION | 2019-05-23T17:51:27 | 2019-01-14T11:33:47 | C# | UTF-8 | C++ | false | false | 765 | cpp | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#include <xplatform.h>
#include "platformdefines.h"
extern "C" DLL_EXPORT BOOL Marshal_Ansi(LPCSTR expected, LPSTR actual, LPCSTR newValue)
{
bool result = strcmp(expected, actual) == 0;
strcpy_s(actual, strlen(actual), newValue);
return result;
}
extern "C" DLL_EXPORT BOOL Marshal_Unicode(LPCWSTR expected, LPWSTR actual, LPCWSTR newValue)
{
bool result = wcscmp(expected, actual) == 0;
wcscpy_s(actual, wcslen(actual), newValue);
return result;
}
extern "C" DLL_EXPORT BOOL Marshal_Invalid(LPCSTR value)
{
return FALSE;
}
| [
"noreply@github.com"
] | robot9706.noreply@github.com |
89354e3de09ae061882d17ab418383a68ead1e37 | f3d50355d3a93233b69d4e8b2991cbbda3e4af7d | /one/addressbook.pb.cc | b0ace315f959c54e3c9a385e9db0d85108a195b2 | [] | no_license | wangf2x/protobuf | 226328427ca89b874917b6d1a04f0ff50fdb730f | 486bbb245fc93a54e971fe40e7f3d187f81efc59 | refs/heads/master | 2022-09-20T15:40:31.223866 | 2020-05-27T14:37:45 | 2020-05-27T14:40:50 | 265,608,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 48,112 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: addressbook.proto
#include "addressbook.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/wire_format.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
extern PROTOBUF_INTERNAL_EXPORT_addressbook_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Person_addressbook_2eproto;
extern PROTOBUF_INTERNAL_EXPORT_addressbook_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Person_PhoneNumber_addressbook_2eproto;
namespace tutorial {
class Person_PhoneNumberDefaultTypeInternal {
public:
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Person_PhoneNumber> _instance;
} _Person_PhoneNumber_default_instance_;
class PersonDefaultTypeInternal {
public:
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Person> _instance;
} _Person_default_instance_;
class AddressBookDefaultTypeInternal {
public:
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<AddressBook> _instance;
} _AddressBook_default_instance_;
} // namespace tutorial
static void InitDefaultsscc_info_AddressBook_addressbook_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
{
void* ptr = &::tutorial::_AddressBook_default_instance_;
new (ptr) ::tutorial::AddressBook();
::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
}
::tutorial::AddressBook::InitAsDefaultInstance();
}
::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_AddressBook_addressbook_2eproto =
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_AddressBook_addressbook_2eproto}, {
&scc_info_Person_addressbook_2eproto.base,}};
static void InitDefaultsscc_info_Person_addressbook_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
{
void* ptr = &::tutorial::_Person_default_instance_;
new (ptr) ::tutorial::Person();
::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
}
::tutorial::Person::InitAsDefaultInstance();
}
::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Person_addressbook_2eproto =
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_Person_addressbook_2eproto}, {
&scc_info_Person_PhoneNumber_addressbook_2eproto.base,}};
static void InitDefaultsscc_info_Person_PhoneNumber_addressbook_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
{
void* ptr = &::tutorial::_Person_PhoneNumber_default_instance_;
new (ptr) ::tutorial::Person_PhoneNumber();
::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
}
::tutorial::Person_PhoneNumber::InitAsDefaultInstance();
}
::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Person_PhoneNumber_addressbook_2eproto =
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_Person_PhoneNumber_addressbook_2eproto}, {}};
static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_addressbook_2eproto[3];
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_addressbook_2eproto[1];
static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_addressbook_2eproto = nullptr;
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_addressbook_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
PROTOBUF_FIELD_OFFSET(::tutorial::Person_PhoneNumber, _has_bits_),
PROTOBUF_FIELD_OFFSET(::tutorial::Person_PhoneNumber, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
PROTOBUF_FIELD_OFFSET(::tutorial::Person_PhoneNumber, number_),
PROTOBUF_FIELD_OFFSET(::tutorial::Person_PhoneNumber, type_),
0,
1,
PROTOBUF_FIELD_OFFSET(::tutorial::Person, _has_bits_),
PROTOBUF_FIELD_OFFSET(::tutorial::Person, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
PROTOBUF_FIELD_OFFSET(::tutorial::Person, name_),
PROTOBUF_FIELD_OFFSET(::tutorial::Person, id_),
PROTOBUF_FIELD_OFFSET(::tutorial::Person, email_),
PROTOBUF_FIELD_OFFSET(::tutorial::Person, phone_),
0,
2,
1,
~0u,
PROTOBUF_FIELD_OFFSET(::tutorial::AddressBook, _has_bits_),
PROTOBUF_FIELD_OFFSET(::tutorial::AddressBook, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
PROTOBUF_FIELD_OFFSET(::tutorial::AddressBook, person_),
~0u,
};
static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
{ 0, 7, sizeof(::tutorial::Person_PhoneNumber)},
{ 9, 18, sizeof(::tutorial::Person)},
{ 22, 28, sizeof(::tutorial::AddressBook)},
};
static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::tutorial::_Person_PhoneNumber_default_instance_),
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::tutorial::_Person_default_instance_),
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::tutorial::_AddressBook_default_instance_),
};
const char descriptor_table_protodef_addressbook_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
"\n\021addressbook.proto\022\010tutorial\"\332\001\n\006Person"
"\022\014\n\004name\030\001 \002(\t\022\n\n\002id\030\002 \002(\005\022\r\n\005email\030\003 \001("
"\t\022+\n\005phone\030\004 \003(\0132\034.tutorial.Person.Phone"
"Number\032M\n\013PhoneNumber\022\016\n\006number\030\001 \002(\t\022.\n"
"\004type\030\002 \001(\0162\032.tutorial.Person.PhoneType:"
"\004HOME\"+\n\tPhoneType\022\n\n\006MOBILE\020\000\022\010\n\004HOME\020\001"
"\022\010\n\004WORK\020\002\"/\n\013AddressBook\022 \n\006person\030\001 \003("
"\0132\020.tutorial.Person"
;
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_addressbook_2eproto_deps[1] = {
};
static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_addressbook_2eproto_sccs[3] = {
&scc_info_AddressBook_addressbook_2eproto.base,
&scc_info_Person_addressbook_2eproto.base,
&scc_info_Person_PhoneNumber_addressbook_2eproto.base,
};
static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_addressbook_2eproto_once;
static bool descriptor_table_addressbook_2eproto_initialized = false;
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_addressbook_2eproto = {
&descriptor_table_addressbook_2eproto_initialized, descriptor_table_protodef_addressbook_2eproto, "addressbook.proto", 299,
&descriptor_table_addressbook_2eproto_once, descriptor_table_addressbook_2eproto_sccs, descriptor_table_addressbook_2eproto_deps, 3, 0,
schemas, file_default_instances, TableStruct_addressbook_2eproto::offsets,
file_level_metadata_addressbook_2eproto, 3, file_level_enum_descriptors_addressbook_2eproto, file_level_service_descriptors_addressbook_2eproto,
};
// Force running AddDescriptors() at dynamic initialization time.
static bool dynamic_init_dummy_addressbook_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_addressbook_2eproto), true);
namespace tutorial {
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Person_PhoneType_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_addressbook_2eproto);
return file_level_enum_descriptors_addressbook_2eproto[0];
}
bool Person_PhoneType_IsValid(int value) {
switch (value) {
case 0:
case 1:
case 2:
return true;
default:
return false;
}
}
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
constexpr Person_PhoneType Person::MOBILE;
constexpr Person_PhoneType Person::HOME;
constexpr Person_PhoneType Person::WORK;
constexpr Person_PhoneType Person::PhoneType_MIN;
constexpr Person_PhoneType Person::PhoneType_MAX;
constexpr int Person::PhoneType_ARRAYSIZE;
#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
// ===================================================================
void Person_PhoneNumber::InitAsDefaultInstance() {
}
class Person_PhoneNumber::_Internal {
public:
using HasBits = decltype(std::declval<Person_PhoneNumber>()._has_bits_);
static void set_has_number(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
static void set_has_type(HasBits* has_bits) {
(*has_bits)[0] |= 2u;
}
};
Person_PhoneNumber::Person_PhoneNumber()
: ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
SharedCtor();
// @@protoc_insertion_point(constructor:tutorial.Person.PhoneNumber)
}
Person_PhoneNumber::Person_PhoneNumber(const Person_PhoneNumber& from)
: ::PROTOBUF_NAMESPACE_ID::Message(),
_internal_metadata_(nullptr),
_has_bits_(from._has_bits_) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
number_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (from.has_number()) {
number_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.number_);
}
type_ = from.type_;
// @@protoc_insertion_point(copy_constructor:tutorial.Person.PhoneNumber)
}
void Person_PhoneNumber::SharedCtor() {
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Person_PhoneNumber_addressbook_2eproto.base);
number_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
type_ = 1;
}
Person_PhoneNumber::~Person_PhoneNumber() {
// @@protoc_insertion_point(destructor:tutorial.Person.PhoneNumber)
SharedDtor();
}
void Person_PhoneNumber::SharedDtor() {
number_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
void Person_PhoneNumber::SetCachedSize(int size) const {
_cached_size_.Set(size);
}
const Person_PhoneNumber& Person_PhoneNumber::default_instance() {
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Person_PhoneNumber_addressbook_2eproto.base);
return *internal_default_instance();
}
void Person_PhoneNumber::Clear() {
// @@protoc_insertion_point(message_clear_start:tutorial.Person.PhoneNumber)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
cached_has_bits = _has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
number_.ClearNonDefaultToEmptyNoArena();
}
type_ = 1;
}
_has_bits_.Clear();
_internal_metadata_.Clear();
}
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
const char* Person_PhoneNumber::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
::PROTOBUF_NAMESPACE_ID::uint32 tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
CHK_(ptr);
switch (tag >> 3) {
// required string number = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8Verify(mutable_number(), ptr, ctx, "tutorial.Person.PhoneNumber.number");
CHK_(ptr);
} else goto handle_unusual;
continue;
// optional .tutorial.Person.PhoneType type = 2 [default = HOME];
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::tutorial::Person_PhoneType_IsValid(val))) {
set_type(static_cast<::tutorial::Person_PhoneType>(val));
} else {
::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields());
}
} else goto handle_unusual;
continue;
default: {
handle_unusual:
if ((tag & 7) == 4 || tag == 0) {
ctx->SetLastTag(tag);
goto success;
}
ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
CHK_(ptr != nullptr);
continue;
}
} // switch
} // while
success:
_has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
goto success;
#undef CHK_
}
#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
bool Person_PhoneNumber::MergePartialFromCodedStream(
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
::PROTOBUF_NAMESPACE_ID::uint32 tag;
// @@protoc_insertion_point(parse_start:tutorial.Person.PhoneNumber)
for (;;) {
::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// required string number = 1;
case 1: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
input, this->mutable_number()));
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
this->number().data(), static_cast<int>(this->number().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::PARSE,
"tutorial.Person.PhoneNumber.number");
} else {
goto handle_unusual;
}
break;
}
// optional .tutorial.Person.PhoneType type = 2 [default = HOME];
case 2: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (16 & 0xFF)) {
int value = 0;
DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive<
int, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM>(
input, &value)));
if (::tutorial::Person_PhoneType_IsValid(value)) {
set_type(static_cast< ::tutorial::Person_PhoneType >(value));
} else {
mutable_unknown_fields()->AddVarint(
2, static_cast<::PROTOBUF_NAMESPACE_ID::uint64>(value));
}
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:tutorial.Person.PhoneNumber)
return true;
failure:
// @@protoc_insertion_point(parse_failure:tutorial.Person.PhoneNumber)
return false;
#undef DO_
}
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
void Person_PhoneNumber::SerializeWithCachedSizes(
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:tutorial.Person.PhoneNumber)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
cached_has_bits = _has_bits_[0];
// required string number = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
this->number().data(), static_cast<int>(this->number().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
"tutorial.Person.PhoneNumber.number");
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
1, this->number(), output);
}
// optional .tutorial.Person.PhoneType type = 2 [default = HOME];
if (cached_has_bits & 0x00000002u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnum(
2, this->type(), output);
}
if (_internal_metadata_.have_unknown_fields()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields(
_internal_metadata_.unknown_fields(), output);
}
// @@protoc_insertion_point(serialize_end:tutorial.Person.PhoneNumber)
}
::PROTOBUF_NAMESPACE_ID::uint8* Person_PhoneNumber::InternalSerializeWithCachedSizesToArray(
::PROTOBUF_NAMESPACE_ID::uint8* target) const {
// @@protoc_insertion_point(serialize_to_array_start:tutorial.Person.PhoneNumber)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
cached_has_bits = _has_bits_[0];
// required string number = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
this->number().data(), static_cast<int>(this->number().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
"tutorial.Person.PhoneNumber.number");
target =
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
1, this->number(), target);
}
// optional .tutorial.Person.PhoneType type = 2 [default = HOME];
if (cached_has_bits & 0x00000002u) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
2, this->type(), target);
}
if (_internal_metadata_.have_unknown_fields()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields(), target);
}
// @@protoc_insertion_point(serialize_to_array_end:tutorial.Person.PhoneNumber)
return target;
}
size_t Person_PhoneNumber::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:tutorial.Person.PhoneNumber)
size_t total_size = 0;
if (_internal_metadata_.have_unknown_fields()) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize(
_internal_metadata_.unknown_fields());
}
// required string number = 1;
if (has_number()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->number());
}
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// optional .tutorial.Person.PhoneType type = 2 [default = HOME];
cached_has_bits = _has_bits_[0];
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->type());
}
int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
SetCachedSize(cached_size);
return total_size;
}
void Person_PhoneNumber::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:tutorial.Person.PhoneNumber)
GOOGLE_DCHECK_NE(&from, this);
const Person_PhoneNumber* source =
::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Person_PhoneNumber>(
&from);
if (source == nullptr) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:tutorial.Person.PhoneNumber)
::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:tutorial.Person.PhoneNumber)
MergeFrom(*source);
}
}
void Person_PhoneNumber::MergeFrom(const Person_PhoneNumber& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:tutorial.Person.PhoneNumber)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
cached_has_bits = from._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
_has_bits_[0] |= 0x00000001u;
number_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.number_);
}
if (cached_has_bits & 0x00000002u) {
type_ = from.type_;
}
_has_bits_[0] |= cached_has_bits;
}
}
void Person_PhoneNumber::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:tutorial.Person.PhoneNumber)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void Person_PhoneNumber::CopyFrom(const Person_PhoneNumber& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:tutorial.Person.PhoneNumber)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool Person_PhoneNumber::IsInitialized() const {
if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
return true;
}
void Person_PhoneNumber::InternalSwap(Person_PhoneNumber* other) {
using std::swap;
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_has_bits_[0], other->_has_bits_[0]);
number_.Swap(&other->number_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
GetArenaNoVirtual());
swap(type_, other->type_);
}
::PROTOBUF_NAMESPACE_ID::Metadata Person_PhoneNumber::GetMetadata() const {
return GetMetadataStatic();
}
// ===================================================================
void Person::InitAsDefaultInstance() {
}
class Person::_Internal {
public:
using HasBits = decltype(std::declval<Person>()._has_bits_);
static void set_has_name(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
static void set_has_id(HasBits* has_bits) {
(*has_bits)[0] |= 4u;
}
static void set_has_email(HasBits* has_bits) {
(*has_bits)[0] |= 2u;
}
};
Person::Person()
: ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
SharedCtor();
// @@protoc_insertion_point(constructor:tutorial.Person)
}
Person::Person(const Person& from)
: ::PROTOBUF_NAMESPACE_ID::Message(),
_internal_metadata_(nullptr),
_has_bits_(from._has_bits_),
phone_(from.phone_) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (from.has_name()) {
name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.name_);
}
email_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (from.has_email()) {
email_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.email_);
}
id_ = from.id_;
// @@protoc_insertion_point(copy_constructor:tutorial.Person)
}
void Person::SharedCtor() {
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Person_addressbook_2eproto.base);
name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
email_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
id_ = 0;
}
Person::~Person() {
// @@protoc_insertion_point(destructor:tutorial.Person)
SharedDtor();
}
void Person::SharedDtor() {
name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
email_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
void Person::SetCachedSize(int size) const {
_cached_size_.Set(size);
}
const Person& Person::default_instance() {
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Person_addressbook_2eproto.base);
return *internal_default_instance();
}
void Person::Clear() {
// @@protoc_insertion_point(message_clear_start:tutorial.Person)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
phone_.Clear();
cached_has_bits = _has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
name_.ClearNonDefaultToEmptyNoArena();
}
if (cached_has_bits & 0x00000002u) {
email_.ClearNonDefaultToEmptyNoArena();
}
}
id_ = 0;
_has_bits_.Clear();
_internal_metadata_.Clear();
}
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
const char* Person::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
::PROTOBUF_NAMESPACE_ID::uint32 tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
CHK_(ptr);
switch (tag >> 3) {
// required string name = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8Verify(mutable_name(), ptr, ctx, "tutorial.Person.name");
CHK_(ptr);
} else goto handle_unusual;
continue;
// required int32 id = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
_Internal::set_has_id(&has_bits);
id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
CHK_(ptr);
} else goto handle_unusual;
continue;
// optional string email = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8Verify(mutable_email(), ptr, ctx, "tutorial.Person.email");
CHK_(ptr);
} else goto handle_unusual;
continue;
// repeated .tutorial.Person.PhoneNumber phone = 4;
case 4:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(add_phone(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 34);
} else goto handle_unusual;
continue;
default: {
handle_unusual:
if ((tag & 7) == 4 || tag == 0) {
ctx->SetLastTag(tag);
goto success;
}
ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
CHK_(ptr != nullptr);
continue;
}
} // switch
} // while
success:
_has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
goto success;
#undef CHK_
}
#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
bool Person::MergePartialFromCodedStream(
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
::PROTOBUF_NAMESPACE_ID::uint32 tag;
// @@protoc_insertion_point(parse_start:tutorial.Person)
for (;;) {
::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// required string name = 1;
case 1: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
input, this->mutable_name()));
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
this->name().data(), static_cast<int>(this->name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::PARSE,
"tutorial.Person.name");
} else {
goto handle_unusual;
}
break;
}
// required int32 id = 2;
case 2: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (16 & 0xFF)) {
_Internal::set_has_id(&_has_bits_);
DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive<
::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32>(
input, &id_)));
} else {
goto handle_unusual;
}
break;
}
// optional string email = 3;
case 3: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (26 & 0xFF)) {
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
input, this->mutable_email()));
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
this->email().data(), static_cast<int>(this->email().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::PARSE,
"tutorial.Person.email");
} else {
goto handle_unusual;
}
break;
}
// repeated .tutorial.Person.PhoneNumber phone = 4;
case 4: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (34 & 0xFF)) {
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
input, add_phone()));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:tutorial.Person)
return true;
failure:
// @@protoc_insertion_point(parse_failure:tutorial.Person)
return false;
#undef DO_
}
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
void Person::SerializeWithCachedSizes(
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:tutorial.Person)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
cached_has_bits = _has_bits_[0];
// required string name = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
this->name().data(), static_cast<int>(this->name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
"tutorial.Person.name");
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
1, this->name(), output);
}
// required int32 id = 2;
if (cached_has_bits & 0x00000004u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32(2, this->id(), output);
}
// optional string email = 3;
if (cached_has_bits & 0x00000002u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
this->email().data(), static_cast<int>(this->email().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
"tutorial.Person.email");
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
3, this->email(), output);
}
// repeated .tutorial.Person.PhoneNumber phone = 4;
for (unsigned int i = 0,
n = static_cast<unsigned int>(this->phone_size()); i < n; i++) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray(
4,
this->phone(static_cast<int>(i)),
output);
}
if (_internal_metadata_.have_unknown_fields()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields(
_internal_metadata_.unknown_fields(), output);
}
// @@protoc_insertion_point(serialize_end:tutorial.Person)
}
::PROTOBUF_NAMESPACE_ID::uint8* Person::InternalSerializeWithCachedSizesToArray(
::PROTOBUF_NAMESPACE_ID::uint8* target) const {
// @@protoc_insertion_point(serialize_to_array_start:tutorial.Person)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
cached_has_bits = _has_bits_[0];
// required string name = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
this->name().data(), static_cast<int>(this->name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
"tutorial.Person.name");
target =
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
1, this->name(), target);
}
// required int32 id = 2;
if (cached_has_bits & 0x00000004u) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->id(), target);
}
// optional string email = 3;
if (cached_has_bits & 0x00000002u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
this->email().data(), static_cast<int>(this->email().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
"tutorial.Person.email");
target =
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
3, this->email(), target);
}
// repeated .tutorial.Person.PhoneNumber phone = 4;
for (unsigned int i = 0,
n = static_cast<unsigned int>(this->phone_size()); i < n; i++) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessageToArray(
4, this->phone(static_cast<int>(i)), target);
}
if (_internal_metadata_.have_unknown_fields()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields(), target);
}
// @@protoc_insertion_point(serialize_to_array_end:tutorial.Person)
return target;
}
size_t Person::RequiredFieldsByteSizeFallback() const {
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:tutorial.Person)
size_t total_size = 0;
if (has_name()) {
// required string name = 1;
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->name());
}
if (has_id()) {
// required int32 id = 2;
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
this->id());
}
return total_size;
}
size_t Person::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:tutorial.Person)
size_t total_size = 0;
if (_internal_metadata_.have_unknown_fields()) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize(
_internal_metadata_.unknown_fields());
}
if (((_has_bits_[0] & 0x00000005) ^ 0x00000005) == 0) { // All required fields are present.
// required string name = 1;
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->name());
// required int32 id = 2;
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
this->id());
} else {
total_size += RequiredFieldsByteSizeFallback();
}
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated .tutorial.Person.PhoneNumber phone = 4;
{
unsigned int count = static_cast<unsigned int>(this->phone_size());
total_size += 1UL * count;
for (unsigned int i = 0; i < count; i++) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
this->phone(static_cast<int>(i)));
}
}
// optional string email = 3;
cached_has_bits = _has_bits_[0];
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->email());
}
int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
SetCachedSize(cached_size);
return total_size;
}
void Person::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:tutorial.Person)
GOOGLE_DCHECK_NE(&from, this);
const Person* source =
::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Person>(
&from);
if (source == nullptr) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:tutorial.Person)
::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:tutorial.Person)
MergeFrom(*source);
}
}
void Person::MergeFrom(const Person& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:tutorial.Person)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
phone_.MergeFrom(from.phone_);
cached_has_bits = from._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
_has_bits_[0] |= 0x00000001u;
name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.name_);
}
if (cached_has_bits & 0x00000002u) {
_has_bits_[0] |= 0x00000002u;
email_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.email_);
}
if (cached_has_bits & 0x00000004u) {
id_ = from.id_;
}
_has_bits_[0] |= cached_has_bits;
}
}
void Person::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:tutorial.Person)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void Person::CopyFrom(const Person& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:tutorial.Person)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool Person::IsInitialized() const {
if ((_has_bits_[0] & 0x00000005) != 0x00000005) return false;
if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(this->phone())) return false;
return true;
}
void Person::InternalSwap(Person* other) {
using std::swap;
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_has_bits_[0], other->_has_bits_[0]);
CastToBase(&phone_)->InternalSwap(CastToBase(&other->phone_));
name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
GetArenaNoVirtual());
email_.Swap(&other->email_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
GetArenaNoVirtual());
swap(id_, other->id_);
}
::PROTOBUF_NAMESPACE_ID::Metadata Person::GetMetadata() const {
return GetMetadataStatic();
}
// ===================================================================
void AddressBook::InitAsDefaultInstance() {
}
class AddressBook::_Internal {
public:
using HasBits = decltype(std::declval<AddressBook>()._has_bits_);
};
AddressBook::AddressBook()
: ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
SharedCtor();
// @@protoc_insertion_point(constructor:tutorial.AddressBook)
}
AddressBook::AddressBook(const AddressBook& from)
: ::PROTOBUF_NAMESPACE_ID::Message(),
_internal_metadata_(nullptr),
_has_bits_(from._has_bits_),
person_(from.person_) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
// @@protoc_insertion_point(copy_constructor:tutorial.AddressBook)
}
void AddressBook::SharedCtor() {
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_AddressBook_addressbook_2eproto.base);
}
AddressBook::~AddressBook() {
// @@protoc_insertion_point(destructor:tutorial.AddressBook)
SharedDtor();
}
void AddressBook::SharedDtor() {
}
void AddressBook::SetCachedSize(int size) const {
_cached_size_.Set(size);
}
const AddressBook& AddressBook::default_instance() {
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AddressBook_addressbook_2eproto.base);
return *internal_default_instance();
}
void AddressBook::Clear() {
// @@protoc_insertion_point(message_clear_start:tutorial.AddressBook)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
person_.Clear();
_has_bits_.Clear();
_internal_metadata_.Clear();
}
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
const char* AddressBook::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::PROTOBUF_NAMESPACE_ID::uint32 tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
CHK_(ptr);
switch (tag >> 3) {
// repeated .tutorial.Person person = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(add_person(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 10);
} else goto handle_unusual;
continue;
default: {
handle_unusual:
if ((tag & 7) == 4 || tag == 0) {
ctx->SetLastTag(tag);
goto success;
}
ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
CHK_(ptr != nullptr);
continue;
}
} // switch
} // while
success:
return ptr;
failure:
ptr = nullptr;
goto success;
#undef CHK_
}
#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
bool AddressBook::MergePartialFromCodedStream(
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
::PROTOBUF_NAMESPACE_ID::uint32 tag;
// @@protoc_insertion_point(parse_start:tutorial.AddressBook)
for (;;) {
::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// repeated .tutorial.Person person = 1;
case 1: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
input, add_person()));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:tutorial.AddressBook)
return true;
failure:
// @@protoc_insertion_point(parse_failure:tutorial.AddressBook)
return false;
#undef DO_
}
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
void AddressBook::SerializeWithCachedSizes(
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:tutorial.AddressBook)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// repeated .tutorial.Person person = 1;
for (unsigned int i = 0,
n = static_cast<unsigned int>(this->person_size()); i < n; i++) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray(
1,
this->person(static_cast<int>(i)),
output);
}
if (_internal_metadata_.have_unknown_fields()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields(
_internal_metadata_.unknown_fields(), output);
}
// @@protoc_insertion_point(serialize_end:tutorial.AddressBook)
}
::PROTOBUF_NAMESPACE_ID::uint8* AddressBook::InternalSerializeWithCachedSizesToArray(
::PROTOBUF_NAMESPACE_ID::uint8* target) const {
// @@protoc_insertion_point(serialize_to_array_start:tutorial.AddressBook)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// repeated .tutorial.Person person = 1;
for (unsigned int i = 0,
n = static_cast<unsigned int>(this->person_size()); i < n; i++) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessageToArray(
1, this->person(static_cast<int>(i)), target);
}
if (_internal_metadata_.have_unknown_fields()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields(), target);
}
// @@protoc_insertion_point(serialize_to_array_end:tutorial.AddressBook)
return target;
}
size_t AddressBook::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:tutorial.AddressBook)
size_t total_size = 0;
if (_internal_metadata_.have_unknown_fields()) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize(
_internal_metadata_.unknown_fields());
}
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated .tutorial.Person person = 1;
{
unsigned int count = static_cast<unsigned int>(this->person_size());
total_size += 1UL * count;
for (unsigned int i = 0; i < count; i++) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
this->person(static_cast<int>(i)));
}
}
int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
SetCachedSize(cached_size);
return total_size;
}
void AddressBook::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:tutorial.AddressBook)
GOOGLE_DCHECK_NE(&from, this);
const AddressBook* source =
::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<AddressBook>(
&from);
if (source == nullptr) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:tutorial.AddressBook)
::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:tutorial.AddressBook)
MergeFrom(*source);
}
}
void AddressBook::MergeFrom(const AddressBook& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:tutorial.AddressBook)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
person_.MergeFrom(from.person_);
}
void AddressBook::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:tutorial.AddressBook)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void AddressBook::CopyFrom(const AddressBook& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:tutorial.AddressBook)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool AddressBook::IsInitialized() const {
if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(this->person())) return false;
return true;
}
void AddressBook::InternalSwap(AddressBook* other) {
using std::swap;
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_has_bits_[0], other->_has_bits_[0]);
CastToBase(&person_)->InternalSwap(CastToBase(&other->person_));
}
::PROTOBUF_NAMESPACE_ID::Metadata AddressBook::GetMetadata() const {
return GetMetadataStatic();
}
// @@protoc_insertion_point(namespace_scope)
} // namespace tutorial
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::tutorial::Person_PhoneNumber* Arena::CreateMaybeMessage< ::tutorial::Person_PhoneNumber >(Arena* arena) {
return Arena::CreateInternal< ::tutorial::Person_PhoneNumber >(arena);
}
template<> PROTOBUF_NOINLINE ::tutorial::Person* Arena::CreateMaybeMessage< ::tutorial::Person >(Arena* arena) {
return Arena::CreateInternal< ::tutorial::Person >(arena);
}
template<> PROTOBUF_NOINLINE ::tutorial::AddressBook* Arena::CreateMaybeMessage< ::tutorial::AddressBook >(Arena* arena) {
return Arena::CreateInternal< ::tutorial::AddressBook >(arena);
}
PROTOBUF_NAMESPACE_CLOSE
// @@protoc_insertion_point(global_scope)
#include <google/protobuf/port_undef.inc>
| [
"wang1989fei@qq.com"
] | wang1989fei@qq.com |
57e874e77bdc16745ba958288a0391ccaf714695 | 7b05938cd66f20221d113fdde54bd62d11618d82 | /src/include/third_party/linenoise.hh | 00a7091bdbbaacc32bfb06e8233a8dd30c9ed9d7 | [
"MIT"
] | permissive | lonewolf896/Mt | 15e51c1454d7cd6e729aca5dac48033034ff142f | f7c93e4f5b87a041c91ca9e4d22e0c30a59841f6 | refs/heads/master | 2021-01-15T11:34:18.193350 | 2015-04-16T18:26:45 | 2015-04-16T18:26:45 | 33,327,633 | 0 | 0 | null | 2015-04-02T19:26:40 | 2015-04-02T19:26:40 | null | UTF-8 | C++ | false | false | 2,654 | hh | /* linenoise.h -- guerrilla line editing library against the idea that a
* line editing lib needs to be 20,000 lines of C code.
*
* See linenoise.c for more information.
*
* ------------------------------------------------------------------------
*
* Copyright (c) 2010-2014, Salvatore Sanfilippo <antirez at gmail dot com>
* Copyright (c) 2010-2013, Pieter Noordhuis <pcnoordhuis at gmail dot com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#if defined(__linux__) | defined(__APPLE__)
#ifndef __LINENOISE_H
#define __LINENOISE_H
#include <cstddef> // Fix for size_t
#ifdef __cplusplus
extern "C" {
#endif
typedef struct linenoiseCompletions {
size_t len;
char **cvec;
} linenoiseCompletions;
typedef void(linenoiseCompletionCallback)(const char *, linenoiseCompletions *);
void linenoiseSetCompletionCallback(linenoiseCompletionCallback *);
void linenoiseAddCompletion(linenoiseCompletions *, const char *);
char *linenoise(const char *prompt);
int linenoiseHistoryAdd(const char *line);
int linenoiseHistorySetMaxLen(int len);
int linenoiseHistorySave(const char *filename);
int linenoiseHistoryLoad(const char *filename);
void linenoiseClearScreen(void);
void linenoiseSetMultiLine(int ml);
void linenoisePrintKeyCodes(void);
#ifdef __cplusplus
}
#endif
#endif /* __LINENOISE_H */
#elif defined(_WIN32)
#define _DUMMY_REPL
#endif
| [
"windowsxnot@gmail.com"
] | windowsxnot@gmail.com |
9734c616047a73a60de41fe20dc498d78e4d4bf8 | 3a79db21b576f713b508cd3cde8d26c93a6f26c9 | /544B.cpp | c0211ab225ea47d77ab94dd4e31e82382fae7b4e | [] | no_license | otaGran/codeForces | 1c39809baa1aef81bc7265cb7ec6ae2f406b41ee | e5ca5a100fc22127ab4c40254c0b71414e82cde2 | refs/heads/master | 2021-06-06T04:59:06.335636 | 2016-08-23T02:52:26 | 2016-08-23T02:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | cpp | #include <bits/stdc++.h>
using namespace std;
int por(int n)
{
if (n == 1) return 1;
else return (n + por(n - 1)) - (!(n % 2));
}
int main()
{
int areia = 1;
int k, n;
cin >> n >> k;
if (k > por(n))
{
cout << "NO\n";
return 0;
}
cout << "YES\n";
for (int i = 1 ; i <= n ; i++)
{
areia = i % 2;
for (int j = 0 ; j < n ; j++)
{
if (k && areia) cout << 'L', --k;
else cout << 'S';
areia ^= 1;
}
cout << '\n';
}
}
| [
"noreply@github.com"
] | otaGran.noreply@github.com |
438e20d98c5843b80b5b5ca4722bfd484fc7f0d6 | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-chime/include/aws/chime/model/GetRetentionSettingsResult.h | 6dcf0f547b223c026ed64beca94b9555c8eb5e3c | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | novaquark/aws-sdk-cpp | b390f2e29f86f629f9efcf41c4990169b91f4f47 | a0969508545bec9ae2864c9e1e2bb9aff109f90c | refs/heads/master | 2022-08-28T18:28:12.742810 | 2020-05-27T15:46:18 | 2020-05-27T15:46:18 | 267,351,721 | 1 | 0 | Apache-2.0 | 2020-05-27T15:08:16 | 2020-05-27T15:08:15 | null | UTF-8 | C++ | false | false | 3,725 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
#pragma once
#include <aws/chime/Chime_EXPORTS.h>
#include <aws/chime/model/RetentionSettings.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API GetRetentionSettingsResult
{
public:
GetRetentionSettingsResult();
GetRetentionSettingsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetRetentionSettingsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The retention settings.</p>
*/
inline const RetentionSettings& GetRetentionSettings() const{ return m_retentionSettings; }
/**
* <p>The retention settings.</p>
*/
inline void SetRetentionSettings(const RetentionSettings& value) { m_retentionSettings = value; }
/**
* <p>The retention settings.</p>
*/
inline void SetRetentionSettings(RetentionSettings&& value) { m_retentionSettings = std::move(value); }
/**
* <p>The retention settings.</p>
*/
inline GetRetentionSettingsResult& WithRetentionSettings(const RetentionSettings& value) { SetRetentionSettings(value); return *this;}
/**
* <p>The retention settings.</p>
*/
inline GetRetentionSettingsResult& WithRetentionSettings(RetentionSettings&& value) { SetRetentionSettings(std::move(value)); return *this;}
/**
* <p>The timestamp representing the time at which the specified items are
* permanently deleted, in ISO 8601 format.</p>
*/
inline const Aws::Utils::DateTime& GetInitiateDeletionTimestamp() const{ return m_initiateDeletionTimestamp; }
/**
* <p>The timestamp representing the time at which the specified items are
* permanently deleted, in ISO 8601 format.</p>
*/
inline void SetInitiateDeletionTimestamp(const Aws::Utils::DateTime& value) { m_initiateDeletionTimestamp = value; }
/**
* <p>The timestamp representing the time at which the specified items are
* permanently deleted, in ISO 8601 format.</p>
*/
inline void SetInitiateDeletionTimestamp(Aws::Utils::DateTime&& value) { m_initiateDeletionTimestamp = std::move(value); }
/**
* <p>The timestamp representing the time at which the specified items are
* permanently deleted, in ISO 8601 format.</p>
*/
inline GetRetentionSettingsResult& WithInitiateDeletionTimestamp(const Aws::Utils::DateTime& value) { SetInitiateDeletionTimestamp(value); return *this;}
/**
* <p>The timestamp representing the time at which the specified items are
* permanently deleted, in ISO 8601 format.</p>
*/
inline GetRetentionSettingsResult& WithInitiateDeletionTimestamp(Aws::Utils::DateTime&& value) { SetInitiateDeletionTimestamp(std::move(value)); return *this;}
private:
RetentionSettings m_retentionSettings;
Aws::Utils::DateTime m_initiateDeletionTimestamp;
};
} // namespace Model
} // namespace Chime
} // namespace Aws
| [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
d0acc1924ff3cad252f74494d9bd581c2e2440f6 | b859da5a02d3edd8c9774aa0aec373b77b03bbda | /BAEK/BAEK_17142/BAEK_17142.cpp | 437df044dd08689d075bd6d330d515418b0b5cf6 | [] | no_license | hangpy/boost_algorithm | c207e72e0641c314989c63eae25331e66f306b48 | 6c5e621fab63cf8d8e3899896d89f3d911a83731 | refs/heads/master | 2020-06-10T18:49:57.898620 | 2019-10-18T10:37:19 | 2019-10-18T10:37:19 | 193,711,149 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,924 | cpp | // BAEK_17142. 연구소3
#include <iostream>
#include <vector>
#include <queue>
#include <algorithm>
#include <cstring>
#define endl "\n"
using namespace std;
struct pos { int y, x; };
struct post { int y, x, t; };
int gMap[50][50], gTmp[50][50], N, M;
int dy[4] = { 1, -1, 0, 0 };
int dx[4] = { 0, 0, 1, -1 };
int getTime(vector<pos> &activeViruses, int emptySpace)
{
memcpy(gTmp, gMap, sizeof gMap);
queue<post> q;
for (int i = 0; i < activeViruses.size(); i++)
{
q.push({ activeViruses[i].y, activeViruses[i].x, 0 });
gTmp[activeViruses[i].y][activeViruses[i].x] = 1;
}
int time = 0;
while (!q.empty())
{
// viruse pos
post p = q.front(); q.pop();
int py = p.y, px = p.x, pt = p.t;
for (int d = 0; d < 4; d++)
{
int ny = py + dy[d], nx = px + dx[d];
// 0: empty, 1: wall, 2:virus
if (ny < 0 || ny > N - 1 || nx < 0 || nx > N - 1 || gTmp[ny][nx] == 1) continue;
if (gTmp[ny][nx] == 0)
{
emptySpace--;
time = time < pt + 1 ? pt + 1 : time;
}
gTmp[ny][nx] = 1;
q.push({ ny, nx, pt + 1 });
}
}
if (emptySpace == 0) return time;
else return -1;
}
int main()
{
ios::sync_with_stdio(0), cin.tie(0);
cin >> N >> M;
vector<pos> viruses;
int emptySpace = 0;
for (int y = 0; y < N; y++)
{
for (int x = 0; x < N; x++)
{
// 0: empty, 1: wall, 2:virus
cin >> gMap[y][x];
if (gMap[y][x] == 2) viruses.push_back({ y, x });
if (gMap[y][x] == 0) emptySpace++;
}
}
int ans = 987654321;
bool canFull = false;
vector<int> v(viruses.size(), 1);
for (int i = 0; i < M; i++) v[i] = 0;
do
{
vector<pos> activeViruses;
for (int i = 0; i < v.size(); i++)
if (v[i] == 0) activeViruses.push_back(viruses[i]);
int tmp = getTime(activeViruses, emptySpace);
if (tmp != -1) ans = ans > tmp ? tmp : ans, canFull = true;
} while (next_permutation(v.begin(), v.end()));
cout << (canFull == true ? ans : -1) << endl;
return 0;
}
| [
"leehangbok2009@gmail.com"
] | leehangbok2009@gmail.com |
a76f96f9f30395d9873839bab18ef506054950b2 | 78a26c1dda6ee42a145b5f84e0c353230b54acdb | /FPS/Floor.h | 17a4a787ee9fce94241db43de158a9b564c12a38 | [] | no_license | JayHutter/AT_DxFPS | 812ac5f8f8f290d3a883b00ae595943aa9079c15 | ed8458c0ec5a5e30d1f5f72fc32a988f27c8c248 | refs/heads/main | 2023-04-22T09:15:23.734861 | 2021-04-29T05:02:36 | 2021-04-29T05:02:36 | 361,096,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | h | #pragma once
#include "Drawable.h"
#include "Object.h"
class Floor : public DrawableBase<Floor>
{
public:
Floor(Renderer& renderer, int x, int y, int flr);
void Update(float dt) noexcept override;
private:
};
| [
"jayhutter64@gmail.com"
] | jayhutter64@gmail.com |
1c88528b4617a7c1b0422b585f3953be112a4dff | 101cc4189a699ce22b990ab7a1f2252b8233a190 | /z5/main.cpp | 6427b130cff5f7999e653d4a1daff48785c6a017 | [] | no_license | dmitryzy/cpp1 | e418726123f55fb1662b3c6c7bfdeb6e242f9e75 | 51cd36222536315db24b2bbc9de460636871b961 | refs/heads/master | 2016-09-09T17:20:45.521102 | 2014-04-29T20:17:49 | 2014-04-29T20:17:49 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 760 | cpp | #include <iostream>
using namespace std;
//C2
int main()
{
setlocale(LC_ALL,"Russian");
int n,nmax=12;
//массив данных
string mn[12]={"январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"};
//Запрос ввода
cout << "номер месяца: ";cin >>n;
//использован оператор:
//<условие> ? <код выполняемые если условие верно> : <код выполняемый в остальных случаях>
((n<=nmax)and(n>0))? cout << n << "--" << mn[n-1] << endl : cout <<"неправильный номер "<< endl;
return 0;
}
| [
"dmitry-zy@yandex.ru"
] | dmitry-zy@yandex.ru |
9d7baad1feab9bdf601cb0868d0ceda6e347f96c | 3c5b90ba374eeda95e05b35f755e91f2d9293daf | /src/atmoanalyzer/include/atmo/control_server.hpp | 3a6514911082354b39b76b55f034130e8e7a9270 | [
"MIT"
] | permissive | benedikt-peter/atmolight | c556e36668c528a9a88e078b6ee2113d4d0cf681 | 7c1b2243abe9461da5412928049503f8142a421e | refs/heads/master | 2022-12-16T12:23:00.079051 | 2020-09-29T10:02:45 | 2020-09-29T10:02:45 | 299,574,756 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,268 | hpp | //
// Created by Benedikt on 24.08.2020.
//
#pragma once
#include <boost/asio.hpp>
#include <functional>
#include <thread>
#include <gsl/span>
#include "types.hpp"
#include "devices.hpp"
#include "mode.hpp"
namespace atmo {
class RequestHandler;
/**
* The ControlServer allows to individually control output channels. If an analyzer has been configured, the
* analyzer can also be started and stopped.
*
* Currently the ControlServer uses JSON for request and response messages over websockets.
*/
class ControlServer {
public:
/**
* Constructs a new instance.
*
* @param devices the output device manager
* @param mode_callbacks a struct containing
* @param host
* @param port
*/
ControlServer(Devices& devices,
ModeCallbacks mode_callbacks,
const std::string& host,
uint16_t port);
~ControlServer();
private:
std::unique_ptr<RequestHandler> m_request_handler;
boost::asio::io_context m_io_context;
boost::asio::ip::tcp::acceptor m_acceptor;
std::thread m_worker;
void runWorker();
void startAccept();
};
}
| [
"mail@benedikt-peter.de"
] | mail@benedikt-peter.de |
81f7cfe4dccdfce7b16e5fde87c3a7491db3bc58 | 6f1858424c1f9855debdd3f2f5c6c1f9a1470d86 | /plugin/accountssortfilterproxymodel.cpp | b8e2382520afdcaa57ac74b040a6c50b4dafb54f | [
"Apache-2.0"
] | permissive | dudochkin-victor/gogoo-app-im | 8698a3feb5e730e9341ed914e6322835245894c5 | fd3dc7eaa8243973b490778b2b6d7fec4a2c30f4 | refs/heads/master | 2021-01-23T13:48:37.572518 | 2013-05-16T12:58:05 | 2013-05-16T12:58:05 | 10,071,822 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,524 | cpp | /*
* Copyright 2011 Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Apache License, version 2.0. The full text of the Apache License is at
* http://www.apache.org/licenses/LICENSE-2.0
*/
#include "accountssortfilterproxymodel.h"
#include <TelepathyQt4Yell/Models/AccountsModel>
AccountsSortFilterProxyModel::AccountsSortFilterProxyModel(IMAccountsModel *model, QObject *parent)
: QSortFilterProxyModel(parent)
{
setSourceModel(model);
setSortRole(Tpy::AccountsModel::DisplayNameRole);
setDynamicSortFilter(true);
sort(0, Qt::AscendingOrder);
invalidate();
connect(model, SIGNAL(accountCountChanged()), SIGNAL(lengthChanged()));
}
AccountsSortFilterProxyModel::~AccountsSortFilterProxyModel()
{
}
bool AccountsSortFilterProxyModel::lessThan(const QModelIndex &left, const QModelIndex &right) const
{
QString leftAlias = sourceModel()->data(left, Tpy::AccountsModel::DisplayNameRole).toString();
QString rightAlias = sourceModel()->data(right, Tpy::AccountsModel::DisplayNameRole).toString();
return (leftAlias.toUpper() < rightAlias.toUpper());
}
int AccountsSortFilterProxyModel::length() const
{
IMAccountsModel *model = qobject_cast<IMAccountsModel *>(sourceModel());
if (model) {
return model->accountCount();
}
return 0;
}
QVariant AccountsSortFilterProxyModel::dataByRow(const int row, const int role)
{
QModelIndex modelIndex = index(row, 0, QModelIndex());
return data(modelIndex, role);
}
| [
"dudochkin.victor@gmail.com"
] | dudochkin.victor@gmail.com |
a0cdd5398ee129e97619380093a7d42e5ba84d9f | e9a44ec3c878c5aa7f0cfc1da000e987332d37ed | /Maze_Xcode/Classes/Native/Il2CppGenericMethodDefinitions.cpp | bec84fd1e867c1e534b50710a8fb3d13725eaa6c | [] | no_license | jamesrequa/VR-Maze | dc1c77c33f63f44fd11ef9bfac32ae58771a9769 | 563d2b6978ed6c5dc08f4bdf7fc5193f679b9bbd | refs/heads/master | 2021-01-09T06:23:19.474977 | 2017-02-06T21:00:32 | 2017-02-06T21:00:32 | 80,970,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 122,292 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
extern const Il2CppMethodSpec g_Il2CppMethodSpecTable[6246] =
{
{ 86, 0, -1 },
{ 94, 0, -1 },
{ 303, 0, -1 },
{ 485, 0, -1 },
{ 797, -1, 0 },
{ 799, -1, 0 },
{ 800, -1, 0 },
{ 801, -1, 0 },
{ 802, -1, 0 },
{ 803, -1, 0 },
{ 805, -1, 0 },
{ 806, -1, 0 },
{ 807, -1, 0 },
{ 808, -1, 0 },
{ 809, -1, 0 },
{ 870, -1, 0 },
{ 892, -1, 0 },
{ 893, -1, 56 },
{ 894, -1, 0 },
{ 895, -1, 56 },
{ 896, -1, 0 },
{ 897, -1, 56 },
{ 898, -1, 0 },
{ 899, -1, 56 },
{ 900, -1, 0 },
{ 901, -1, 0 },
{ 902, -1, 56 },
{ 903, -1, 0 },
{ 904, -1, 0 },
{ 905, -1, 56 },
{ 906, -1, 0 },
{ 909, -1, 0 },
{ 910, -1, 0 },
{ 911, -1, 0 },
{ 912, -1, 0 },
{ 913, -1, 56 },
{ 914, -1, 0 },
{ 915, -1, 0 },
{ 916, -1, 0 },
{ 917, -1, 0 },
{ 918, -1, 0 },
{ 919, -1, 0 },
{ 920, -1, 0 },
{ 921, -1, 0 },
{ 922, -1, 0 },
{ 923, -1, 0 },
{ 924, -1, 0 },
{ 925, -1, 0 },
{ 926, -1, 0 },
{ 927, -1, 0 },
{ 928, -1, 0 },
{ 929, -1, 0 },
{ 930, -1, 0 },
{ 931, -1, 0 },
{ 932, -1, 0 },
{ 933, -1, 0 },
{ 934, -1, 0 },
{ 938, 0, -1 },
{ 941, 0, -1 },
{ 936, 0, -1 },
{ 937, 0, -1 },
{ 939, 0, -1 },
{ 940, 0, -1 },
{ 949, 0, -1 },
{ 950, 0, -1 },
{ 951, 0, -1 },
{ 952, 0, -1 },
{ 947, 0, -1 },
{ 948, 0, -1 },
{ 953, 0, -1 },
{ 954, 0, -1 },
{ 955, 0, -1 },
{ 956, 0, -1 },
{ 957, 0, -1 },
{ 958, 0, -1 },
{ 959, 0, -1 },
{ 960, 0, -1 },
{ 961, 0, -1 },
{ 962, 0, -1 },
{ 964, 0, -1 },
{ 965, 0, -1 },
{ 963, 0, -1 },
{ 966, 0, -1 },
{ 967, 0, -1 },
{ 968, 0, -1 },
{ 991, 0, -1 },
{ 992, 0, -1 },
{ 988, 0, -1 },
{ 989, 0, -1 },
{ 990, 0, -1 },
{ 993, 0, -1 },
{ 994, 0, -1 },
{ 995, 0, -1 },
{ 996, 0, -1 },
{ 997, 0, -1 },
{ 998, 0, -1 },
{ 999, 0, -1 },
{ 1709, 0, -1 },
{ 1705, 0, -1 },
{ 1706, 0, -1 },
{ 1707, 0, -1 },
{ 1708, 0, -1 },
{ 1710, 0, -1 },
{ 1711, 0, -1 },
{ 1712, 0, -1 },
{ 1713, 0, -1 },
{ 1718, 56, -1 },
{ 1719, 56, -1 },
{ 1722, 56, -1 },
{ 1723, 56, -1 },
{ 1724, 56, -1 },
{ 1733, 56, -1 },
{ 1734, 56, -1 },
{ 1735, 56, -1 },
{ 1753, 56, -1 },
{ 1714, 56, -1 },
{ 1715, 56, -1 },
{ 1716, 56, -1 },
{ 1717, 56, -1 },
{ 1720, 56, -1 },
{ 1721, 56, -1 },
{ 1725, 56, -1 },
{ 1726, 56, -1 },
{ 1727, 56, -1 },
{ 1728, 56, -1 },
{ 1729, 56, -1 },
{ 1730, 56, -1 },
{ 1731, 56, -1 },
{ 1732, 56, -1 },
{ 1736, 56, -1 },
{ 1737, 56, -1 },
{ 1738, 56, -1 },
{ 1739, 56, 56 },
{ 1740, 56, -1 },
{ 1741, 56, -1 },
{ 1742, 56, -1 },
{ 1743, 56, 0 },
{ 1744, 56, -1 },
{ 1745, 56, -1 },
{ 1746, 56, -1 },
{ 1747, 56, -1 },
{ 1748, 56, -1 },
{ 1749, 56, -1 },
{ 1750, 56, -1 },
{ 1751, 56, -1 },
{ 1752, 56, -1 },
{ 1754, 56, -1 },
{ 1755, 56, -1 },
{ 1756, 56, -1 },
{ 1757, 56, -1 },
{ 1758, 56, -1 },
{ 1761, 56, -1 },
{ 1762, 56, -1 },
{ 1763, 56, -1 },
{ 1764, 56, -1 },
{ 1759, 56, -1 },
{ 1760, 56, -1 },
{ 1765, 56, -1 },
{ 1767, 56, -1 },
{ 1769, 56, -1 },
{ 1770, 56, -1 },
{ 1771, 56, -1 },
{ 1773, 56, -1 },
{ 1774, 56, -1 },
{ 1775, 56, -1 },
{ 1766, 56, -1 },
{ 1768, 56, -1 },
{ 1772, 56, -1 },
{ 1776, 56, -1 },
{ 1777, 56, -1 },
{ 1778, 56, -1 },
{ 1779, 56, -1 },
{ 1788, 56, -1 },
{ 1789, 56, -1 },
{ 1790, 56, -1 },
{ 1793, 56, -1 },
{ 1780, 56, -1 },
{ 1781, 56, -1 },
{ 1782, 56, -1 },
{ 1783, 56, -1 },
{ 1784, 56, -1 },
{ 1785, 56, -1 },
{ 1786, 56, -1 },
{ 1787, 56, -1 },
{ 1791, 56, -1 },
{ 1792, 56, -1 },
{ 1795, 56, -1 },
{ 1799, 56, -1 },
{ 1794, 56, -1 },
{ 1796, 56, -1 },
{ 1797, 56, -1 },
{ 1798, 56, -1 },
{ 1800, 83, -1 },
{ 1801, 83, -1 },
{ 1802, 83, -1 },
{ 1803, 83, -1 },
{ 1810, 0, -1 },
{ 1804, 0, -1 },
{ 1805, 0, -1 },
{ 1806, 0, -1 },
{ 1807, 0, -1 },
{ 1808, 0, -1 },
{ 1809, 0, -1 },
{ 1811, 0, -1 },
{ 1812, 0, -1 },
{ 1813, 0, -1 },
{ 1814, 0, -1 },
{ 1815, 0, -1 },
{ 1816, 0, -1 },
{ 1817, 0, -1 },
{ 1818, 0, -1 },
{ 1819, 0, -1 },
{ 1823, 56, -1 },
{ 1824, 56, -1 },
{ 1825, 56, -1 },
{ 1826, 56, -1 },
{ 1822, 56, -1 },
{ 1827, 56, -1 },
{ 1840, 0, -1 },
{ 1841, 0, -1 },
{ 1842, 0, -1 },
{ 1843, 0, -1 },
{ 1844, 0, -1 },
{ 1845, 0, -1 },
{ 1846, 0, -1 },
{ 1873, 0, -1 },
{ 1874, 0, -1 },
{ 1875, 0, -1 },
{ 1876, 0, -1 },
{ 1877, 0, -1 },
{ 1828, 0, -1 },
{ 1829, 0, -1 },
{ 1830, 0, -1 },
{ 1831, 0, -1 },
{ 1832, 0, -1 },
{ 1833, 0, -1 },
{ 1834, 0, -1 },
{ 1835, 0, -1 },
{ 1836, 0, -1 },
{ 1837, 0, -1 },
{ 1838, 0, -1 },
{ 1839, 0, -1 },
{ 1847, 0, -1 },
{ 1848, 0, -1 },
{ 1849, 0, -1 },
{ 1850, 0, -1 },
{ 1851, 0, -1 },
{ 1852, 0, -1 },
{ 1853, 0, -1 },
{ 1854, 0, -1 },
{ 1855, 0, -1 },
{ 1856, 0, -1 },
{ 1857, 0, -1 },
{ 1858, 0, -1 },
{ 1859, 0, -1 },
{ 1860, 0, -1 },
{ 1861, 0, -1 },
{ 1862, 0, -1 },
{ 1863, 0, -1 },
{ 1864, 0, -1 },
{ 1865, 0, -1 },
{ 1866, 0, -1 },
{ 1867, 0, -1 },
{ 1868, 0, -1 },
{ 1869, 0, -1 },
{ 1870, 0, -1 },
{ 1871, 0, -1 },
{ 1872, 0, -1 },
{ 1880, 0, -1 },
{ 1884, 0, -1 },
{ 1878, 0, -1 },
{ 1879, 0, -1 },
{ 1881, 0, -1 },
{ 1882, 0, -1 },
{ 1883, 0, -1 },
{ 1886, 0, -1 },
{ 1894, 0, -1 },
{ 1895, 0, -1 },
{ 1896, 0, -1 },
{ 1897, 0, -1 },
{ 1898, 0, -1 },
{ 1899, 0, -1 },
{ 1912, 0, -1 },
{ 1913, 0, -1 },
{ 1914, 0, -1 },
{ 1885, 0, -1 },
{ 1887, 0, -1 },
{ 1888, 0, -1 },
{ 1889, 0, -1 },
{ 1890, 0, -1 },
{ 1891, 0, -1 },
{ 1892, 0, -1 },
{ 1893, 0, -1 },
{ 1900, 0, -1 },
{ 1901, 0, -1 },
{ 1902, 0, -1 },
{ 1903, 0, -1 },
{ 1904, 0, -1 },
{ 1905, 0, -1 },
{ 1906, 0, -1 },
{ 1907, 0, -1 },
{ 1908, 0, -1 },
{ 1909, 0, -1 },
{ 1910, 0, -1 },
{ 1911, 0, -1 },
{ 1915, 0, -1 },
{ 1916, 0, -1 },
{ 1917, 0, -1 },
{ 1918, 0, -1 },
{ 1919, 0, -1 },
{ 1920, 0, -1 },
{ 1927, 0, -1 },
{ 1928, 0, -1 },
{ 1929, 0, -1 },
{ 1939, 0, -1 },
{ 1940, 0, -1 },
{ 1941, 0, -1 },
{ 1942, 0, -1 },
{ 1943, 0, -1 },
{ 1944, 0, -1 },
{ 1949, 0, -1 },
{ 1950, 0, -1 },
{ 1921, 0, -1 },
{ 1922, 0, -1 },
{ 1923, 0, -1 },
{ 1924, 0, -1 },
{ 1925, 0, -1 },
{ 1926, 0, -1 },
{ 1930, 0, -1 },
{ 1931, 0, -1 },
{ 1932, 0, -1 },
{ 1933, 0, -1 },
{ 1934, 0, -1 },
{ 1935, 0, -1 },
{ 1936, 0, -1 },
{ 1937, 0, -1 },
{ 1938, 0, -1 },
{ 1945, 0, -1 },
{ 1946, 0, -1 },
{ 1947, 0, -1 },
{ 1948, 0, -1 },
{ 3342, -1, 0 },
{ 3534, -1, 56 },
{ 3535, -1, 0 },
{ 3548, 56, -1 },
{ 3549, 56, -1 },
{ 3550, 56, -1 },
{ 3551, 56, -1 },
{ 3552, 0, -1 },
{ 3553, 0, -1 },
{ 3554, 0, -1 },
{ 3555, 0, -1 },
{ 5203, -1, 0 },
{ 5301, -1, 0 },
{ 5354, 0, -1 },
{ 5355, 0, -1 },
{ 5356, 0, -1 },
{ 5357, 0, -1 },
{ 5358, 0, -1 },
{ 5359, 0, -1 },
{ 6236, 0, -1 },
{ 6237, 0, -1 },
{ 6238, 0, -1 },
{ 6239, 0, -1 },
{ 6248, 0, -1 },
{ 6249, 0, -1 },
{ 6250, 0, -1 },
{ 6251, 0, -1 },
{ 6252, 56, -1 },
{ 6253, 56, -1 },
{ 6254, 56, -1 },
{ 6255, 56, -1 },
{ 6260, 0, -1 },
{ 6261, 0, -1 },
{ 6262, 0, -1 },
{ 6263, 0, -1 },
{ 6279, 0, -1 },
{ 6280, 0, -1 },
{ 6287, 0, -1 },
{ 6278, 0, -1 },
{ 6281, 0, -1 },
{ 6282, 0, -1 },
{ 6283, 0, -1 },
{ 6284, 0, -1 },
{ 6285, 0, -1 },
{ 6286, 0, -1 },
{ 6288, 0, -1 },
{ 6291, 0, -1 },
{ 6294, 0, -1 },
{ 6289, 0, -1 },
{ 6290, 0, -1 },
{ 6292, 0, -1 },
{ 6293, 0, -1 },
{ 8499, 0, -1 },
{ 8503, 0, -1 },
{ 8496, 0, -1 },
{ 8497, 0, -1 },
{ 8498, 0, -1 },
{ 8500, 0, -1 },
{ 8501, 0, -1 },
{ 8502, 0, -1 },
{ 8504, 0, -1 },
{ 8505, 0, -1 },
{ 8506, 0, -1 },
{ 8507, 0, -1 },
{ 8508, 0, -1 },
{ 8509, 0, -1 },
{ 8510, 0, -1 },
{ 8511, 0, -1 },
{ 8512, 0, -1 },
{ 8513, 0, -1 },
{ 8514, 0, -1 },
{ 8515, 0, -1 },
{ 8516, 0, -1 },
{ 8517, 0, -1 },
{ 8518, 0, -1 },
{ 8520, 0, -1 },
{ 8523, 0, -1 },
{ 8519, 0, -1 },
{ 8521, 0, -1 },
{ 8522, 0, -1 },
{ 8524, 0, -1 },
{ 8525, 0, -1 },
{ 8526, 0, -1 },
{ 8527, 0, -1 },
{ 8528, 0, -1 },
{ 8529, 0, -1 },
{ 8533, -1, 0 },
{ 8534, -1, 0 },
{ 8535, -1, 56 },
{ 8536, -1, 56 },
{ 8537, -1, 0 },
{ 8538, -1, 0 },
{ 8539, -1, 0 },
{ 8541, 56, -1 },
{ 8542, 56, -1 },
{ 8540, 56, -1 },
{ 8543, 56, -1 },
{ 8544, 56, -1 },
{ 8545, 56, -1 },
{ 8546, 56, -1 },
{ 8547, 56, -1 },
{ 8549, 0, -1 },
{ 8550, 0, -1 },
{ 8548, 0, -1 },
{ 8551, 0, -1 },
{ 8552, 0, -1 },
{ 8553, 0, -1 },
{ 8554, 0, -1 },
{ 8555, 0, -1 },
{ 8577, 56, -1 },
{ 8578, 56, -1 },
{ 8579, 56, -1 },
{ 8580, 56, -1 },
{ 8581, 56, -1 },
{ 8582, 56, -1 },
{ 8583, 56, -1 },
{ 8584, 56, -1 },
{ 8628, -1, 0 },
{ 8688, -1, 0 },
{ 8692, -1, 0 },
{ 8693, -1, 0 },
{ 8696, -1, 0 },
{ 8697, -1, 0 },
{ 8698, -1, 0 },
{ 8699, -1, 0 },
{ 8701, -1, 0 },
{ 8704, -1, 0 },
{ 8705, -1, 0 },
{ 8706, -1, 0 },
{ 8710, -1, 0 },
{ 8713, -1, 0 },
{ 8853, -1, 0 },
{ 8855, -1, 0 },
{ 8856, -1, 0 },
{ 8859, -1, 0 },
{ 8860, -1, 0 },
{ 8862, -1, 0 },
{ 8863, -1, 0 },
{ 8865, -1, 0 },
{ 8866, -1, 0 },
{ 8880, -1, 0 },
{ 9150, -1, 0 },
{ 9151, -1, 0 },
{ 9153, -1, 0 },
{ 9155, -1, 0 },
{ 9156, -1, 0 },
{ 9157, -1, 0 },
{ 9171, -1, 0 },
{ 9337, -1, 0 },
{ 9341, -1, 0 },
{ 9525, -1, 0 },
{ 9526, -1, 0 },
{ 9527, -1, 0 },
{ 9528, -1, 0 },
{ 9529, -1, 0 },
{ 9530, -1, 0 },
{ 9531, -1, 0 },
{ 10346, -1, 0 },
{ 10560, -1, 0 },
{ 10569, 0, -1 },
{ 10570, 0, -1 },
{ 10571, 0, -1 },
{ 10572, 0, -1 },
{ 10573, 0, -1 },
{ 10574, 0, -1 },
{ 10575, 56, -1 },
{ 10576, 56, -1 },
{ 10577, 56, -1 },
{ 10578, 83, -1 },
{ 10579, 83, -1 },
{ 10580, 83, -1 },
{ 10581, 228, -1 },
{ 10582, 228, -1 },
{ 10583, 228, -1 },
{ 10584, 0, -1 },
{ 10585, 0, -1 },
{ 10626, 0, -1 },
{ 10627, 0, -1 },
{ 10628, 0, -1 },
{ 10629, 0, -1 },
{ 10630, 0, -1 },
{ 10631, 0, -1 },
{ 10632, 0, -1 },
{ 10633, 0, -1 },
{ 10634, 0, -1 },
{ 10635, 0, -1 },
{ 10636, 0, -1 },
{ 10637, 56, -1 },
{ 10638, 56, -1 },
{ 10639, 56, -1 },
{ 10640, 56, -1 },
{ 10641, 56, -1 },
{ 10642, 56, -1 },
{ 10643, 56, -1 },
{ 10644, 83, -1 },
{ 10645, 83, -1 },
{ 10646, 83, -1 },
{ 10647, 83, -1 },
{ 10648, 83, -1 },
{ 10649, 83, -1 },
{ 10650, 83, -1 },
{ 10651, 228, -1 },
{ 10652, 228, -1 },
{ 10653, 228, -1 },
{ 10654, 228, -1 },
{ 10655, 228, -1 },
{ 10656, 228, -1 },
{ 10657, 228, -1 },
{ 10760, -1, 0 },
{ 10787, 56, -1 },
{ 10788, 56, -1 },
{ 10789, 56, -1 },
{ 10790, 56, -1 },
{ 10791, 56, -1 },
{ 10792, 56, -1 },
{ 10793, 56, -1 },
{ 10799, -1, 0 },
{ 10822, -1, 0 },
{ 10833, 56, -1 },
{ 10834, 56, -1 },
{ 10835, 56, -1 },
{ 10836, 56, -1 },
{ 10837, 56, -1 },
{ 10838, 56, -1 },
{ 10839, 56, -1 },
{ 10840, 56, -1 },
{ 10841, 56, -1 },
{ 10842, 56, -1 },
{ 10843, 56, -1 },
{ 10844, 56, -1 },
{ 10845, 56, -1 },
{ 10846, 56, -1 },
{ 10847, 56, -1 },
{ 10848, 0, -1 },
{ 10849, 0, -1 },
{ 10850, 0, -1 },
{ 10851, 0, -1 },
{ 10852, 0, -1 },
{ 10853, 0, -1 },
{ 10854, 0, -1 },
{ 10855, 0, -1 },
{ 10856, 0, -1 },
{ 10857, 0, -1 },
{ 10858, 0, -1 },
{ 10859, 0, -1 },
{ 10860, 0, -1 },
{ 10861, 0, -1 },
{ 10862, 0, -1 },
{ 10863, 0, -1 },
{ 10864, 0, -1 },
{ 10865, 0, -1 },
{ 10866, 0, -1 },
{ 10867, -1, 0 },
{ 10868, 0, -1 },
{ 10869, 0, -1 },
{ 10870, 56, -1 },
{ 10871, 56, -1 },
{ 10872, 56, -1 },
{ 10873, 56, -1 },
{ 10874, 56, -1 },
{ 10875, 56, -1 },
{ 10876, 56, -1 },
{ 10877, 56, -1 },
{ 10878, 56, -1 },
{ 10879, 56, -1 },
{ 10880, 56, -1 },
{ 10881, 56, -1 },
{ 10882, 56, -1 },
{ 10883, 56, -1 },
{ 10884, 56, -1 },
{ 10885, 56, -1 },
{ 10886, 56, -1 },
{ 10887, 56, -1 },
{ 10888, 56, -1 },
{ 10889, 56, -1 },
{ 10890, 56, -1 },
{ 10891, 56, -1 },
{ 10893, 56, -1 },
{ 10894, 56, -1 },
{ 10895, 56, -1 },
{ 10896, 56, -1 },
{ 10897, 56, -1 },
{ 10898, 56, -1 },
{ 10892, 56, -1 },
{ 10899, 56, -1 },
{ 10900, 56, -1 },
{ 10901, 56, -1 },
{ 10902, 56, -1 },
{ 10903, 56, -1 },
{ 10904, 56, -1 },
{ 10905, 56, -1 },
{ 10906, 56, -1 },
{ 10907, 56, -1 },
{ 10921, -1, 0 },
{ 10922, 56, -1 },
{ 10923, 56, -1 },
{ 10924, 56, -1 },
{ 10925, 56, 0 },
{ 10926, 56, -1 },
{ 10927, 56, -1 },
{ 10950, -1, 0 },
{ 11022, -1, 0 },
{ 11058, -1, 0 },
{ 11059, -1, 0 },
{ 11060, -1, 0 },
{ 11061, -1, 0 },
{ 11062, -1, 0 },
{ 11063, -1, 0 },
{ 11066, 0, -1 },
{ 11067, 0, -1 },
{ 11068, 0, -1 },
{ 11069, 0, -1 },
{ 11437, -1, 0 },
{ 12096, -1, 0 },
{ 12419, -1, 0 },
{ 12489, 0, -1 },
{ 12490, 0, -1 },
{ 12494, 0, -1 },
{ 12495, 0, -1 },
{ 12480, 0, -1 },
{ 12481, 0, -1 },
{ 12482, 0, -1 },
{ 12483, 0, -1 },
{ 12484, 0, -1 },
{ 12485, 0, -1 },
{ 12486, 0, -1 },
{ 12487, 0, -1 },
{ 12488, 0, -1 },
{ 12491, 0, -1 },
{ 12492, 0, -1 },
{ 12493, 0, -1 },
{ 12496, 0, -1 },
{ 12497, 0, -1 },
{ 12498, 0, -1 },
{ 12499, 0, -1 },
{ 12500, 0, -1 },
{ 12501, 0, -1 },
{ 12503, 0, -1 },
{ 12504, 0, -1 },
{ 12505, 0, -1 },
{ 12506, 0, -1 },
{ 12502, 0, -1 },
{ 12507, 0, -1 },
{ 12508, 0, -1 },
{ 936, 373, -1 },
{ 899, -1, 374 },
{ 899, -1, 375 },
{ 899, -1, 377 },
{ 899, -1, 379 },
{ 899, -1, 380 },
{ 899, -1, 381 },
{ 899, -1, 383 },
{ 870, -1, 385 },
{ 902, -1, 386 },
{ 901, -1, 387 },
{ 904, -1, 388 },
{ 903, -1, 389 },
{ 905, -1, 390 },
{ 902, -1, 390 },
{ 6249, 392, -1 },
{ 906, -1, 392 },
{ 904, -1, 392 },
{ 910, -1, 393 },
{ 6261, 394, -1 },
{ 6237, 395, -1 },
{ 6253, 396, -1 },
{ 916, -1, 397 },
{ 916, -1, 398 },
{ 6261, 399, -1 },
{ 919, -1, 400 },
{ 919, -1, 401 },
{ 6261, 402, -1 },
{ 923, -1, 403 },
{ 923, -1, 404 },
{ 923, -1, 405 },
{ 1709, 406, -1 },
{ 926, -1, 407 },
{ 926, -1, 408 },
{ 1810, 409, -1 },
{ 1809, 409, -1 },
{ 928, -1, 410 },
{ 929, -1, 411 },
{ 1810, 412, -1 },
{ 1809, 412, -1 },
{ 6261, 413, -1 },
{ 909, -1, 413 },
{ 6261, 414, -1 },
{ 947, 415, -1 },
{ 1921, 415, -1 },
{ 6261, 416, -1 },
{ 6261, 417, -1 },
{ 941, 418, -1 },
{ 806, -1, 418 },
{ 957, 419, -1 },
{ 962, 419, -1 },
{ 924, -1, 419 },
{ 963, 419, -1 },
{ 1171, 423, -1 },
{ 1705, 425, -1 },
{ 1710, 424, -1 },
{ 1708, 424, -1 },
{ 1705, 426, -1 },
{ 86, 426, -1 },
{ 1801, 430, -1 },
{ 1739, 428, 432 },
{ 1757, 434, -1 },
{ 1772, 434, -1 },
{ 1773, 434, -1 },
{ 1823, 434, -1 },
{ 1825, 434, -1 },
{ 1761, 434, -1 },
{ 1776, 434, -1 },
{ 1778, 435, -1 },
{ 1776, 435, -1 },
{ 1823, 435, -1 },
{ 1825, 435, -1 },
{ 1774, 435, -1 },
{ 1775, 435, -1 },
{ 1777, 435, -1 },
{ 1822, 435, -1 },
{ 1757, 439, -1 },
{ 1775, 439, -1 },
{ 1776, 439, -1 },
{ 1779, 439, -1 },
{ 1772, 439, -1 },
{ 1825, 439, -1 },
{ 1748, 437, -1 },
{ 1792, 437, -1 },
{ 1791, 437, -1 },
{ 1738, 437, -1 },
{ 1741, 437, -1 },
{ 1800, 441, -1 },
{ 1743, 437, 438 },
{ 1739, 437, 442 },
{ 1794, 437, -1 },
{ 1733, 437, -1 },
{ 1736, 428, -1 },
{ 1747, 428, -1 },
{ 1754, 428, -1 },
{ 1734, 428, -1 },
{ 1755, 428, -1 },
{ 1735, 428, -1 },
{ 1745, 428, -1 },
{ 1751, 428, -1 },
{ 1823, 428, -1 },
{ 1825, 428, -1 },
{ 1756, 428, -1 },
{ 1742, 428, -1 },
{ 1738, 428, -1 },
{ 1758, 428, -1 },
{ 1800, 433, -1 },
{ 1739, 428, 443 },
{ 1740, 428, -1 },
{ 1800, 444, -1 },
{ 1743, 428, 429 },
{ 1766, 428, -1 },
{ 1759, 428, -1 },
{ 1744, 428, -1 },
{ 1810, 427, -1 },
{ 1737, 428, -1 },
{ 1733, 428, -1 },
{ 1822, 428, -1 },
{ 1739, 428, 445 },
{ 1810, 446, -1 },
{ 1780, 428, -1 },
{ 1752, 428, -1 },
{ 1809, 446, -1 },
{ 1804, 448, -1 },
{ 1811, 447, -1 },
{ 1808, 447, -1 },
{ 1809, 447, -1 },
{ 1804, 449, -1 },
{ 94, 449, -1 },
{ 1824, 452, -1 },
{ 1826, 452, -1 },
{ 1823, 452, -1 },
{ 1825, 452, -1 },
{ 1882, 454, -1 },
{ 1864, 453, -1 },
{ 1850, 453, -1 },
{ 1849, 453, -1 },
{ 1859, 453, -1 },
{ 1847, 453, -1 },
{ 1854, 453, -1 },
{ 1860, 453, -1 },
{ 1862, 453, -1 },
{ 1863, 453, -1 },
{ 1865, 453, -1 },
{ 1876, 453, -1 },
{ 1877, 453, -1 },
{ 1848, 453, -1 },
{ 1873, 453, -1 },
{ 1874, 453, -1 },
{ 1921, 453, -1 },
{ 926, -1, 453 },
{ 1857, 453, -1 },
{ 1858, 453, -1 },
{ 6261, 453, -1 },
{ 1878, 453, -1 },
{ 1861, 453, -1 },
{ 1867, 453, -1 },
{ 1709, 453, -1 },
{ 898, -1, 453 },
{ 901, -1, 453 },
{ 909, -1, 453 },
{ 1828, 455, -1 },
{ 1917, 455, -1 },
{ 1908, 455, -1 },
{ 1916, 455, -1 },
{ 1918, 455, -1 },
{ 1906, 455, -1 },
{ 1911, 455, -1 },
{ 1919, 455, -1 },
{ 1920, 455, -1 },
{ 1915, 455, -1 },
{ 1902, 455, -1 },
{ 1950, 456, -1 },
{ 1916, 456, -1 },
{ 3549, 457, -1 },
{ 3553, 458, -1 },
{ 5358, 459, -1 },
{ 5354, 459, -1 },
{ 5355, 459, -1 },
{ 5356, 459, -1 },
{ 6294, 461, -1 },
{ 6288, 460, -1 },
{ 909, -1, 460 },
{ 6289, 460, -1 },
{ 8525, 463, -1 },
{ 8510, 463, -1 },
{ 8527, 464, -1 },
{ 8528, 464, -1 },
{ 8504, 462, -1 },
{ 8519, 462, -1 },
{ 8507, 462, -1 },
{ 8512, 462, -1 },
{ 1810, 462, -1 },
{ 8505, 462, -1 },
{ 8508, 462, -1 },
{ 8510, 462, -1 },
{ 8529, 462, -1 },
{ 8511, 462, -1 },
{ 8506, 462, -1 },
{ 8509, 462, -1 },
{ 8536, -1, 468 },
{ 8540, 471, -1 },
{ 1829, 473, -1 },
{ 1871, 473, -1 },
{ 8539, -1, 474 },
{ 8548, 476, -1 },
{ 8544, 480, -1 },
{ 8540, 480, -1 },
{ 8582, 480, -1 },
{ 8552, 481, -1 },
{ 8548, 481, -1 },
{ 8582, 482, -1 },
{ 8693, -1, 483 },
{ 8862, -1, 484 },
{ 8863, -1, 485 },
{ 8696, -1, 486 },
{ 8697, -1, 487 },
{ 8866, -1, 488 },
{ 8865, -1, 489 },
{ 8704, -1, 490 },
{ 8859, -1, 492 },
{ 8856, -1, 493 },
{ 9150, -1, 497 },
{ 1875, 498, -1 },
{ 9153, -1, 499 },
{ 9153, -1, 500 },
{ 9156, -1, 501 },
{ 9529, -1, 502 },
{ 9337, -1, 503 },
{ 9542, -1, 504 },
{ 9542, -1, 505 },
{ 9875, -1, 506 },
{ 10571, 507, -1 },
{ 5203, -1, 508 },
{ 10560, -1, 507 },
{ 10627, 507, -1 },
{ 10560, -1, 510 },
{ 10560, -1, 511 },
{ 10638, 509, -1 },
{ 10560, -1, 513 },
{ 10560, -1, 514 },
{ 10560, -1, 515 },
{ 10645, 512, -1 },
{ 10560, -1, 517 },
{ 10560, -1, 518 },
{ 10560, -1, 519 },
{ 10560, -1, 520 },
{ 10652, 516, -1 },
{ 10569, 521, -1 },
{ 10573, 521, -1 },
{ 10635, 522, -1 },
{ 10569, 522, -1 },
{ 10570, 522, -1 },
{ 10575, 523, -1 },
{ 10578, 524, -1 },
{ 10581, 525, -1 },
{ 10939, 526, -1 },
{ 10873, 528, -1 },
{ 10870, 528, -1 },
{ 10871, 528, -1 },
{ 10787, 528, -1 },
{ 10877, 528, -1 },
{ 10872, 531, -1 },
{ 10837, 531, -1 },
{ 10886, 531, -1 },
{ 10876, 531, -1 },
{ 10877, 531, -1 },
{ 10835, 532, -1 },
{ 10839, 532, -1 },
{ 10837, 532, -1 },
{ 10841, 532, -1 },
{ 10834, 532, -1 },
{ 1876, 534, -1 },
{ 10865, 534, -1 },
{ 1877, 534, -1 },
{ 1875, 534, -1 },
{ 1860, 534, -1 },
{ 1863, 534, -1 },
{ 1867, 534, -1 },
{ 1847, 534, -1 },
{ 1853, 534, -1 },
{ 1854, 534, -1 },
{ 1855, 534, -1 },
{ 1865, 534, -1 },
{ 10862, 534, -1 },
{ 1851, 534, -1 },
{ 10921, -1, 534 },
{ 1828, 534, -1 },
{ 10868, 535, -1 },
{ 1921, 536, -1 },
{ 10872, 539, -1 },
{ 10837, 539, -1 },
{ 10886, 539, -1 },
{ 10879, 540, -1 },
{ 10882, 540, -1 },
{ 10892, 540, -1 },
{ 10888, 540, -1 },
{ 10884, 540, -1 },
{ 10870, 540, -1 },
{ 10880, 540, -1 },
{ 10877, 540, -1 },
{ 10875, 540, -1 },
{ 10841, 540, -1 },
{ 10836, 542, -1 },
{ 10840, 542, -1 },
{ 10926, 542, -1 },
{ 10927, 542, -1 },
{ 1828, 546, -1 },
{ 1847, 546, -1 },
{ 1871, 546, -1 },
{ 1716, 545, -1 },
{ 1735, 545, -1 },
{ 1752, 545, -1 },
{ 11061, -1, 550 },
{ 11067, 550, -1 },
{ 11058, -1, 551 },
{ 11060, -1, 552 },
{ 11061, -1, 553 },
{ 11062, -1, 554 },
{ 11324, 555, -1 },
{ 11323, 555, -1 },
{ 11320, 555, -1 },
{ 8853, -1, 556 },
{ 8880, -1, 556 },
{ 1810, 557, -1 },
{ 1809, 557, -1 },
{ 1828, 558, -1 },
{ 1714, 559, -1 },
{ 1847, 558, -1 },
{ 1875, 558, -1 },
{ 1745, 559, -1 },
{ 1747, 559, -1 },
{ 1752, 559, -1 },
{ 12493, 558, -1 },
{ 12484, 558, -1 },
{ 1853, 558, -1 },
{ 1746, 559, -1 },
{ 1855, 558, -1 },
{ 1876, 558, -1 },
{ 1751, 559, -1 },
{ 1867, 558, -1 },
{ 1877, 558, -1 },
{ 1735, 559, -1 },
{ 6261, 558, -1 },
{ 12483, 558, -1 },
{ 1870, 558, -1 },
{ 12507, 561, -1 },
{ 12508, 561, -1 },
{ 12501, 560, -1 },
{ 10626, 561, -1 },
{ 12502, 561, -1 },
{ 1853, 560, -1 },
{ 6278, 562, -1 },
{ 12503, 562, -1 },
{ 12506, 562, -1 },
{ 6287, 562, -1 },
{ 5301, -1, 562 },
{ 12504, 562, -1 },
{ 6285, 562, -1 },
{ 10627, 562, -1 },
{ 6284, 562, -1 },
{ 6286, 562, -1 },
{ 1707, 425, -1 },
{ 1707, 426, -1 },
{ 1807, 448, -1 },
{ 1806, 448, -1 },
{ 1807, 449, -1 },
{ 1806, 449, -1 },
{ 10574, 521, -1 },
{ 10889, 528, -1 },
{ 10890, 528, -1 },
{ 10891, 528, -1 },
{ 10880, 528, -1 },
{ 10881, 528, -1 },
{ 10882, 528, -1 },
{ 10883, 528, -1 },
{ 10884, 528, -1 },
{ 10885, 528, -1 },
{ 10886, 528, -1 },
{ 10887, 528, -1 },
{ 10888, 528, -1 },
{ 10835, 542, -1 },
{ 10839, 542, -1 },
{ 10842, 542, -1 },
{ 10843, 542, -1 },
{ 10841, 542, -1 },
{ 10633, 258, -1 },
{ 10634, 258, -1 },
{ 10633, 192, -1 },
{ 10634, 192, -1 },
{ 10633, 36, -1 },
{ 10634, 36, -1 },
{ 10633, 1, -1 },
{ 10634, 1, -1 },
{ 10633, 15, -1 },
{ 10634, 15, -1 },
{ 10633, 40, -1 },
{ 10634, 40, -1 },
{ 10633, 191, -1 },
{ 10634, 191, -1 },
{ 10889, 357, -1 },
{ 10890, 357, -1 },
{ 10891, 357, -1 },
{ 10793, 357, -1 },
{ 10881, 357, -1 },
{ 10882, 357, -1 },
{ 10883, 357, -1 },
{ 10884, 357, -1 },
{ 10885, 357, -1 },
{ 10886, 357, -1 },
{ 10887, 357, -1 },
{ 10888, 357, -1 },
{ 10791, 357, -1 },
{ 10924, 357, -1 },
{ 10842, 357, -1 },
{ 10843, 357, -1 },
{ 10841, 357, -1 },
{ 10889, 356, -1 },
{ 10890, 356, -1 },
{ 10891, 356, -1 },
{ 10793, 356, -1 },
{ 10881, 356, -1 },
{ 10882, 356, -1 },
{ 10883, 356, -1 },
{ 10884, 356, -1 },
{ 10885, 356, -1 },
{ 10886, 356, -1 },
{ 10887, 356, -1 },
{ 10888, 356, -1 },
{ 10791, 356, -1 },
{ 10924, 356, -1 },
{ 10842, 356, -1 },
{ 10843, 356, -1 },
{ 10841, 356, -1 },
{ 10889, 358, -1 },
{ 10890, 358, -1 },
{ 10891, 358, -1 },
{ 10793, 358, -1 },
{ 10881, 358, -1 },
{ 10882, 358, -1 },
{ 10883, 358, -1 },
{ 10884, 358, -1 },
{ 10885, 358, -1 },
{ 10886, 358, -1 },
{ 10887, 358, -1 },
{ 10888, 358, -1 },
{ 10791, 358, -1 },
{ 10924, 358, -1 },
{ 10842, 358, -1 },
{ 10843, 358, -1 },
{ 10841, 358, -1 },
{ 10889, 359, -1 },
{ 10890, 359, -1 },
{ 10891, 359, -1 },
{ 10793, 359, -1 },
{ 10881, 359, -1 },
{ 10882, 359, -1 },
{ 10883, 359, -1 },
{ 10884, 359, -1 },
{ 10885, 359, -1 },
{ 10886, 359, -1 },
{ 10887, 359, -1 },
{ 10888, 359, -1 },
{ 10791, 359, -1 },
{ 10924, 359, -1 },
{ 10842, 359, -1 },
{ 10843, 359, -1 },
{ 10841, 359, -1 },
{ 10889, 360, -1 },
{ 10890, 360, -1 },
{ 10891, 360, -1 },
{ 10793, 360, -1 },
{ 10881, 360, -1 },
{ 10882, 360, -1 },
{ 10883, 360, -1 },
{ 10884, 360, -1 },
{ 10885, 360, -1 },
{ 10886, 360, -1 },
{ 10887, 360, -1 },
{ 10888, 360, -1 },
{ 10791, 360, -1 },
{ 10924, 360, -1 },
{ 10842, 360, -1 },
{ 10843, 360, -1 },
{ 10841, 360, -1 },
{ 10889, 361, -1 },
{ 10890, 361, -1 },
{ 10891, 361, -1 },
{ 10793, 361, -1 },
{ 10881, 361, -1 },
{ 10882, 361, -1 },
{ 10883, 361, -1 },
{ 10884, 361, -1 },
{ 10885, 361, -1 },
{ 10886, 361, -1 },
{ 10887, 361, -1 },
{ 10888, 361, -1 },
{ 10791, 361, -1 },
{ 10924, 361, -1 },
{ 10842, 361, -1 },
{ 10843, 361, -1 },
{ 10841, 361, -1 },
{ 10889, 362, -1 },
{ 10890, 362, -1 },
{ 10891, 362, -1 },
{ 10793, 362, -1 },
{ 10881, 362, -1 },
{ 10882, 362, -1 },
{ 10883, 362, -1 },
{ 10884, 362, -1 },
{ 10885, 362, -1 },
{ 10886, 362, -1 },
{ 10887, 362, -1 },
{ 10888, 362, -1 },
{ 10791, 362, -1 },
{ 10924, 362, -1 },
{ 10842, 362, -1 },
{ 10843, 362, -1 },
{ 10841, 362, -1 },
{ 10889, 352, -1 },
{ 10890, 352, -1 },
{ 10891, 352, -1 },
{ 10793, 352, -1 },
{ 10881, 352, -1 },
{ 10882, 352, -1 },
{ 10883, 352, -1 },
{ 10884, 352, -1 },
{ 10885, 352, -1 },
{ 10886, 352, -1 },
{ 10887, 352, -1 },
{ 10888, 352, -1 },
{ 10791, 352, -1 },
{ 10924, 352, -1 },
{ 10842, 352, -1 },
{ 10843, 352, -1 },
{ 10841, 352, -1 },
{ 1716, 68, -1 },
{ 1745, 68, -1 },
{ 1752, 68, -1 },
{ 1712, 125, -1 },
{ 1814, 125, -1 },
{ 1712, 137, -1 },
{ 1814, 137, -1 },
{ 1167, 130, -1 },
{ 1168, 130, -1 },
{ 1169, 130, -1 },
{ 1712, 138, -1 },
{ 1814, 138, -1 },
{ 932, -1, 118 },
{ 924, -1, 20 },
{ 3342, -1, 116 },
{ 932, -1, 116 },
{ 3342, -1, 117 },
{ 932, -1, 117 },
{ 1830, 136, -1 },
{ 1828, 15, -1 },
{ 1875, 15, -1 },
{ 1847, 15, -1 },
{ 1871, 15, -1 },
{ 1712, 130, -1 },
{ 1814, 130, -1 },
{ 1715, 142, -1 },
{ 1745, 142, -1 },
{ 922, -1, 1 },
{ 6278, 20, -1 },
{ 6286, 20, -1 },
{ 6285, 20, -1 },
{ 6287, 20, -1 },
{ 1828, 20, -1 },
{ 1847, 20, -1 },
{ 1871, 20, -1 },
{ 10346, -1, 571 },
{ 1828, 230, -1 },
{ 1847, 230, -1 },
{ 1876, 230, -1 },
{ 1875, 230, -1 },
{ 1854, 230, -1 },
{ 6260, 230, -1 },
{ 1866, 230, -1 },
{ 1853, 230, -1 },
{ 1851, 230, -1 },
{ 10584, 36, -1 },
{ 10584, 1, -1 },
{ 10584, 15, -1 },
{ 10584, 40, -1 },
{ 1828, 229, -1 },
{ 1859, 229, -1 },
{ 1884, 229, -1 },
{ 1883, 229, -1 },
{ 1881, 229, -1 },
{ 1828, 194, -1 },
{ 1847, 194, -1 },
{ 1871, 194, -1 },
{ 6237, 207, -1 },
{ 1828, 209, -1 },
{ 1875, 209, -1 },
{ 1859, 209, -1 },
{ 1884, 209, -1 },
{ 1883, 209, -1 },
{ 1881, 209, -1 },
{ 1876, 209, -1 },
{ 1752, 210, -1 },
{ 1735, 210, -1 },
{ 1714, 210, -1 },
{ 1715, 219, -1 },
{ 1735, 219, -1 },
{ 1752, 219, -1 },
{ 1753, 219, -1 },
{ 1792, 219, -1 },
{ 9153, -1, 1 },
{ 9151, -1, 189 },
{ 9155, -1, 189 },
{ 9151, -1, 190 },
{ 9151, -1, 191 },
{ 9155, -1, 191 },
{ 9155, -1, 192 },
{ 9150, -1, 193 },
{ 9157, -1, 189 },
{ 9157, -1, 190 },
{ 9156, -1, 193 },
{ 9171, -1, 191 },
{ 1828, 200, -1 },
{ 10638, 195, -1 },
{ 10627, 196, -1 },
{ 10638, 197, -1 },
{ 8688, -1, 572 },
{ 6237, 178, -1 },
{ 8578, 171, -1 },
{ 6237, 40, -1 },
{ 6237, 179, -1 },
{ 6237, 183, -1 },
{ 8577, 171, -1 },
{ 1847, 177, -1 },
{ 1859, 177, -1 },
{ 1884, 177, -1 },
{ 1883, 177, -1 },
{ 1881, 177, -1 },
{ 6237, 187, -1 },
{ 1828, 177, -1 },
{ 1830, 204, -1 },
{ 1830, 205, -1 },
{ 1830, 206, -1 },
{ 1828, 163, -1 },
{ 1847, 163, -1 },
{ 1859, 163, -1 },
{ 1884, 163, -1 },
{ 1883, 163, -1 },
{ 1881, 163, -1 },
{ 1714, 231, -1 },
{ 1714, 237, -1 },
{ 1828, 249, -1 },
{ 8713, -1, 276 },
{ 8880, -1, 276 },
{ 8688, -1, 573 },
{ 1876, 249, -1 },
{ 1875, 249, -1 },
{ 1876, 275, -1 },
{ 11058, -1, 260 },
{ 1875, 275, -1 },
{ 1853, 275, -1 },
{ 1865, 275, -1 },
{ 11058, -1, 259 },
{ 1847, 275, -1 },
{ 1828, 248, -1 },
{ 8710, -1, 248 },
{ 1875, 248, -1 },
{ 1876, 248, -1 },
{ 1867, 248, -1 },
{ 11058, -1, 250 },
{ 11058, -1, 255 },
{ 1853, 249, -1 },
{ 1876, 256, -1 },
{ 1875, 256, -1 },
{ 1870, 249, -1 },
{ 6248, 249, -1 },
{ 1828, 257, -1 },
{ 1875, 257, -1 },
{ 1876, 257, -1 },
{ 10636, 258, -1 },
{ 10630, 258, -1 },
{ 11022, -1, 282 },
{ 11022, -1, 574 },
{ 11066, 259, -1 },
{ 11066, 260, -1 },
{ 11066, 261, -1 },
{ 11066, 262, -1 },
{ 11066, 263, -1 },
{ 11066, 264, -1 },
{ 11066, 265, -1 },
{ 11066, 266, -1 },
{ 11066, 267, -1 },
{ 11066, 268, -1 },
{ 11066, 269, -1 },
{ 11066, 270, -1 },
{ 11066, 255, -1 },
{ 11066, 250, -1 },
{ 11066, 271, -1 },
{ 11066, 272, -1 },
{ 11066, 273, -1 },
{ 10626, 252, -1 },
{ 12502, 252, -1 },
{ 1830, 274, -1 },
{ 1853, 251, -1 },
{ 8853, -1, 575 },
{ 1847, 249, -1 },
{ 8688, -1, 167 },
{ 6248, 199, -1 },
{ 900, -1, 199 },
{ 1828, 275, -1 },
{ 1714, 279, -1 },
{ 1752, 279, -1 },
{ 1745, 279, -1 },
{ 1751, 279, -1 },
{ 11058, -1, 265 },
{ 11058, -1, 262 },
{ 11058, -1, 266 },
{ 1753, 279, -1 },
{ 1792, 279, -1 },
{ 1799, 279, -1 },
{ 1798, 279, -1 },
{ 1797, 279, -1 },
{ 1746, 279, -1 },
{ 1757, 279, -1 },
{ 1773, 279, -1 },
{ 1825, 279, -1 },
{ 1823, 279, -1 },
{ 1772, 279, -1 },
{ 1779, 279, -1 },
{ 11063, -1, 255 },
{ 1828, 283, -1 },
{ 1876, 283, -1 },
{ 1875, 283, -1 },
{ 1847, 283, -1 },
{ 1854, 256, -1 },
{ 1847, 256, -1 },
{ 1865, 256, -1 },
{ 1828, 256, -1 },
{ 11059, -1, 261 },
{ 11063, -1, 263 },
{ 11063, -1, 266 },
{ 11058, -1, 264 },
{ 11058, -1, 263 },
{ 11059, -1, 268 },
{ 11058, -1, 267 },
{ 11059, -1, 260 },
{ 11058, -1, 272 },
{ 11058, -1, 273 },
{ 11058, -1, 271 },
{ 11063, -1, 269 },
{ 11059, -1, 269 },
{ 11058, -1, 270 },
{ 1827, 279, -1 },
{ 12095, -1, 333 },
{ 12095, -1, 36 },
{ 8688, -1, 335 },
{ 8688, -1, 299 },
{ 8688, -1, 292 },
{ 12480, 284, -1 },
{ 12489, 284, -1 },
{ 12494, 284, -1 },
{ 12493, 284, -1 },
{ 12497, 284, -1 },
{ 12486, 284, -1 },
{ 12487, 284, -1 },
{ 12482, 284, -1 },
{ 12483, 284, -1 },
{ 6248, 284, -1 },
{ 12480, 329, -1 },
{ 12494, 329, -1 },
{ 12489, 329, -1 },
{ 12482, 329, -1 },
{ 12483, 329, -1 },
{ 1875, 316, -1 },
{ 1876, 316, -1 },
{ 12095, -1, 334 },
{ 10636, 192, -1 },
{ 10631, 192, -1 },
{ 10630, 192, -1 },
{ 10636, 36, -1 },
{ 10631, 36, -1 },
{ 10630, 36, -1 },
{ 8880, -1, 335 },
{ 8853, -1, 335 },
{ 8880, -1, 576 },
{ 8880, -1, 577 },
{ 8880, -1, 295 },
{ 8880, -1, 578 },
{ 8880, -1, 579 },
{ 8880, -1, 580 },
{ 8880, -1, 327 },
{ 8880, -1, 581 },
{ 8853, -1, 580 },
{ 8880, -1, 582 },
{ 8880, -1, 314 },
{ 8880, -1, 583 },
{ 1847, 288, -1 },
{ 1828, 289, -1 },
{ 1875, 288, -1 },
{ 10636, 1, -1 },
{ 11319, 290, -1 },
{ 11321, 290, -1 },
{ 1876, 288, -1 },
{ 1851, 288, -1 },
{ 1876, 15, -1 },
{ 1876, 291, -1 },
{ 1875, 291, -1 },
{ 1853, 288, -1 },
{ 8692, -1, 327 },
{ 8880, -1, 289 },
{ 11437, -1, 292 },
{ 11437, -1, 584 },
{ 11437, -1, 324 },
{ 12498, 292, -1 },
{ 8865, -1, 292 },
{ 1875, 292, -1 },
{ 1876, 292, -1 },
{ 12499, 292, -1 },
{ 8855, -1, 289 },
{ 1853, 289, -1 },
{ 10626, 40, -1 },
{ 10631, 40, -1 },
{ 1875, 289, -1 },
{ 1876, 289, -1 },
{ 8880, -1, 292 },
{ 8853, -1, 292 },
{ 8880, -1, 584 },
{ 9525, -1, 275 },
{ 9525, -1, 289 },
{ 1847, 289, -1 },
{ 8853, -1, 324 },
{ 10626, 36, -1 },
{ 11322, 290, -1 },
{ 10630, 1, -1 },
{ 8701, -1, 583 },
{ 1828, 288, -1 },
{ 1752, 294, -1 },
{ 1733, 294, -1 },
{ 6236, 207, -1 },
{ 8496, 295, -1 },
{ 1745, 294, -1 },
{ 8514, 295, -1 },
{ 8512, 295, -1 },
{ 8518, 295, -1 },
{ 8523, 295, -1 },
{ 8522, 295, -1 },
{ 8524, 295, -1 },
{ 8515, 295, -1 },
{ 8503, 295, -1 },
{ 1751, 294, -1 },
{ 1714, 294, -1 },
{ 11319, 298, -1 },
{ 11321, 298, -1 },
{ 8688, -1, 585 },
{ 12498, 169, -1 },
{ 1876, 169, -1 },
{ 1875, 169, -1 },
{ 12499, 169, -1 },
{ 8710, -1, 169 },
{ 11323, 298, -1 },
{ 10626, 192, -1 },
{ 11322, 298, -1 },
{ 1828, 299, -1 },
{ 1853, 299, -1 },
{ 1876, 299, -1 },
{ 1875, 299, -1 },
{ 1847, 299, -1 },
{ 6248, 299, -1 },
{ 1870, 299, -1 },
{ 1714, 300, -1 },
{ 1752, 300, -1 },
{ 12482, 299, -1 },
{ 12480, 299, -1 },
{ 12481, 299, -1 },
{ 1745, 300, -1 },
{ 12483, 299, -1 },
{ 12419, -1, 586 },
{ 12419, -1, 587 },
{ 12419, -1, 191 },
{ 12419, -1, 588 },
{ 12419, -1, 1 },
{ 1875, 335, -1 },
{ 1876, 335, -1 },
{ 12419, -1, 36 },
{ 12419, -1, 40 },
{ 12096, -1, 291 },
{ 12095, -1, 307 },
{ 12095, -1, 40 },
{ 12095, -1, 308 },
{ 12095, -1, 1 },
{ 12096, -1, 295 },
{ 12096, -1, 299 },
{ 12096, -1, 589 },
{ 12096, -1, 590 },
{ 12096, -1, 591 },
{ 12095, -1, 309 },
{ 12095, -1, 310 },
{ 12095, -1, 311 },
{ 12095, -1, 312 },
{ 12095, -1, 313 },
{ 12095, -1, 2 },
{ 10636, 15, -1 },
{ 8880, -1, 585 },
{ 8880, -1, 592 },
{ 10630, 15, -1 },
{ 1828, 335, -1 },
{ 12419, -1, 593 },
{ 12419, -1, 594 },
{ 1853, 335, -1 },
{ 1847, 335, -1 },
{ 10626, 336, -1 },
{ 12502, 336, -1 },
{ 6260, 169, -1 },
{ 1866, 169, -1 },
{ 12507, 336, -1 },
{ 12508, 336, -1 },
{ 10626, 169, -1 },
{ 10627, 169, -1 },
{ 8581, 337, -1 },
{ 8582, 337, -1 },
{ 8688, -1, 314 },
{ 10636, 40, -1 },
{ 10630, 40, -1 },
{ 8699, -1, 169 },
{ 8705, -1, 292 },
{ 12498, 314, -1 },
{ 8710, -1, 314 },
{ 1876, 314, -1 },
{ 1875, 314, -1 },
{ 12499, 314, -1 },
{ 12498, 316, -1 },
{ 8705, -1, 316 },
{ 12499, 316, -1 },
{ 1853, 316, -1 },
{ 1847, 316, -1 },
{ 12498, 204, -1 },
{ 1875, 204, -1 },
{ 1873, 204, -1 },
{ 1874, 204, -1 },
{ 12499, 204, -1 },
{ 8688, -1, 274 },
{ 8496, 319, -1 },
{ 1828, 316, -1 },
{ 8513, 319, -1 },
{ 8518, 319, -1 },
{ 8523, 319, -1 },
{ 8522, 319, -1 },
{ 8524, 319, -1 },
{ 8514, 319, -1 },
{ 8512, 319, -1 },
{ 8515, 319, -1 },
{ 12096, -1, 335 },
{ 12095, -1, 320 },
{ 10632, 36, -1 },
{ 10636, 191, -1 },
{ 10630, 191, -1 },
{ 1828, 324, -1 },
{ 12095, -1, 318 },
{ 12095, -1, 322 },
{ 12095, -1, 287 },
{ 12095, -1, 323 },
{ 12096, -1, 595 },
{ 8688, -1, 596 },
{ 8710, -1, 324 },
{ 1876, 324, -1 },
{ 1875, 324, -1 },
{ 1847, 321, -1 },
{ 1865, 321, -1 },
{ 1876, 321, -1 },
{ 1875, 321, -1 },
{ 1828, 321, -1 },
{ 1876, 204, -1 },
{ 1847, 204, -1 },
{ 1877, 204, -1 },
{ 12095, -1, 325 },
{ 8688, -1, 576 },
{ 1876, 326, -1 },
{ 1875, 326, -1 },
{ 1847, 326, -1 },
{ 1867, 326, -1 },
{ 1853, 326, -1 },
{ 1828, 326, -1 },
{ 9341, -1, 207 },
{ 1828, 327, -1 },
{ 1854, 327, -1 },
{ 1876, 327, -1 },
{ 1875, 327, -1 },
{ 1865, 327, -1 },
{ 1847, 327, -1 },
{ 6260, 327, -1 },
{ 1856, 327, -1 },
{ 8581, 328, -1 },
{ 8538, -1, 327 },
{ 12498, 189, -1 },
{ 12498, 193, -1 },
{ 12498, 191, -1 },
{ 12498, 190, -1 },
{ 12498, 1, -1 },
{ 1851, 189, -1 },
{ 1851, 193, -1 },
{ 1851, 191, -1 },
{ 1851, 190, -1 },
{ 1851, 1, -1 },
{ 1853, 189, -1 },
{ 1853, 193, -1 },
{ 1853, 191, -1 },
{ 1853, 190, -1 },
{ 1853, 1, -1 },
{ 1875, 189, -1 },
{ 1875, 1, -1 },
{ 1876, 189, -1 },
{ 1876, 193, -1 },
{ 1876, 191, -1 },
{ 1876, 190, -1 },
{ 1877, 189, -1 },
{ 1877, 193, -1 },
{ 1877, 191, -1 },
{ 1877, 190, -1 },
{ 12499, 189, -1 },
{ 12499, 193, -1 },
{ 12499, 191, -1 },
{ 12499, 190, -1 },
{ 12499, 1, -1 },
{ 1847, 189, -1 },
{ 1847, 193, -1 },
{ 1847, 191, -1 },
{ 1847, 190, -1 },
{ 1847, 1, -1 },
{ 9526, -1, 275 },
{ 8880, -1, 353 },
{ 8880, -1, 597 },
{ 8880, -1, 598 },
{ 1828, 354, -1 },
{ 1847, 354, -1 },
{ 1876, 354, -1 },
{ 1875, 354, -1 },
{ 1854, 349, -1 },
{ 1847, 349, -1 },
{ 1865, 349, -1 },
{ 1875, 349, -1 },
{ 1876, 349, -1 },
{ 1828, 349, -1 },
{ 8880, -1, 351 },
{ 8701, -1, 599 },
{ 8701, -1, 348 },
{ 8688, -1, 600 },
{ 8880, -1, 600 },
{ 8688, -1, 601 },
{ 8880, -1, 601 },
{ 8688, -1, 295 },
{ 8859, -1, 278 },
{ 8581, 363, -1 },
{ 8535, -1, 363 },
{ 8581, 365, -1 },
{ 8538, -1, 364 },
{ 8534, -1, 364 },
{ 8853, -1, 602 },
{ 8853, -1, 603 },
{ 8880, -1, 604 },
{ 8688, -1, 604 },
{ 9531, -1, 605 },
{ 8688, -1, 599 },
{ 9531, -1, 606 },
{ 9531, -1, 607 },
{ 8688, -1, 345 },
{ 8688, -1, 606 },
{ 8688, -1, 607 },
{ 8880, -1, 599 },
{ 8853, -1, 608 },
{ 10923, 352, -1 },
{ 10926, 352, -1 },
{ 10792, 352, -1 },
{ 10788, 352, -1 },
{ 10789, 352, -1 },
{ 921, -1, 15 },
{ 10949, -1, 366 },
{ 10923, 359, -1 },
{ 10926, 359, -1 },
{ 10792, 359, -1 },
{ 10788, 359, -1 },
{ 10789, 359, -1 },
{ 10852, 36, -1 },
{ 10923, 360, -1 },
{ 10867, -1, 36 },
{ 10850, 36, -1 },
{ 10848, 36, -1 },
{ 10862, 36, -1 },
{ 10926, 360, -1 },
{ 10925, 360, 36 },
{ 10792, 360, -1 },
{ 10853, 36, -1 },
{ 10788, 360, -1 },
{ 10789, 360, -1 },
{ 10864, 36, -1 },
{ 10849, 36, -1 },
{ 10857, 36, -1 },
{ 10858, 36, -1 },
{ 10923, 358, -1 },
{ 10926, 358, -1 },
{ 10792, 358, -1 },
{ 10788, 358, -1 },
{ 10789, 358, -1 },
{ 10923, 362, -1 },
{ 10926, 362, -1 },
{ 10792, 362, -1 },
{ 10788, 362, -1 },
{ 10789, 362, -1 },
{ 10852, 355, -1 },
{ 10923, 356, -1 },
{ 10850, 355, -1 },
{ 10848, 355, -1 },
{ 10799, -1, 355 },
{ 10862, 355, -1 },
{ 10926, 356, -1 },
{ 10925, 356, 355 },
{ 10792, 356, -1 },
{ 10853, 355, -1 },
{ 10788, 356, -1 },
{ 10789, 356, -1 },
{ 10864, 355, -1 },
{ 10950, -1, 355 },
{ 10849, 355, -1 },
{ 10857, 355, -1 },
{ 10858, 355, -1 },
{ 10923, 357, -1 },
{ 10926, 357, -1 },
{ 10792, 357, -1 },
{ 10788, 357, -1 },
{ 10789, 357, -1 },
{ 10923, 361, -1 },
{ 10926, 361, -1 },
{ 10792, 361, -1 },
{ 10788, 361, -1 },
{ 10789, 361, -1 },
{ 8696, -1, 345 },
{ 8581, 346, -1 },
{ 8538, -1, 345 },
{ 8537, -1, 345 },
{ 8581, 347, -1 },
{ 8535, -1, 347 },
{ 8534, -1, 348 },
{ 8533, -1, 345 },
{ 8880, -1, 348 },
{ 8880, -1, 167 },
{ 8880, -1, 345 },
{ 8688, -1, 603 },
{ 9525, -1, 609 },
{ 8853, -1, 351 },
{ 8855, -1, 610 },
{ 870, -1, 354 },
{ 870, -1, 366 },
{ 870, -1, 1 },
{ 870, -1, 117 },
{ 870, -1, 116 },
{ 870, -1, 36 },
{ 870, -1, 193 },
{ 870, -1, 249 },
{ 870, -1, 194 },
{ 870, -1, 205 },
{ 870, -1, 206 },
{ 870, -1, 204 },
{ 870, -1, 191 },
{ 870, -1, 189 },
{ 870, -1, 190 },
{ 10755, -1, 366 },
{ 801, -1, 240 },
{ 801, -1, 354 },
{ 801, -1, 350 },
{ 801, -1, 66 },
{ 801, -1, 164 },
{ 801, -1, 366 },
{ 801, -1, 141 },
{ 801, -1, 40 },
{ 801, -1, 11 },
{ 801, -1, 2 },
{ 801, -1, 74 },
{ 801, -1, 165 },
{ 801, -1, 239 },
{ 801, -1, 368 },
{ 801, -1, 156 },
{ 801, -1, 212 },
{ 801, -1, 144 },
{ 801, -1, 70 },
{ 801, -1, 82 },
{ 801, -1, 71 },
{ 801, -1, 88 },
{ 801, -1, 89 },
{ 801, -1, 125 },
{ 801, -1, 39 },
{ 801, -1, 29 },
{ 801, -1, 13 },
{ 801, -1, 1 },
{ 801, -1, 8 },
{ 801, -1, 65 },
{ 801, -1, 117 },
{ 801, -1, 116 },
{ 801, -1, 103 },
{ 801, -1, 104 },
{ 801, -1, 102 },
{ 801, -1, 45 },
{ 801, -1, 120 },
{ 801, -1, 119 },
{ 801, -1, 133 },
{ 801, -1, 12 },
{ 801, -1, 152 },
{ 801, -1, 36 },
{ 801, -1, 160 },
{ 801, -1, 130 },
{ 801, -1, 14 },
{ 801, -1, 9 },
{ 801, -1, 10 },
{ 801, -1, 161 },
{ 801, -1, 192 },
{ 801, -1, 193 },
{ 801, -1, 198 },
{ 801, -1, 202 },
{ 801, -1, 249 },
{ 801, -1, 194 },
{ 801, -1, 188 },
{ 801, -1, 199 },
{ 801, -1, 201 },
{ 801, -1, 227 },
{ 801, -1, 181 },
{ 801, -1, 185 },
{ 801, -1, 309 },
{ 801, -1, 205 },
{ 801, -1, 206 },
{ 801, -1, 204 },
{ 801, -1, 191 },
{ 801, -1, 189 },
{ 801, -1, 190 },
{ 800, -1, 240 },
{ 800, -1, 354 },
{ 800, -1, 350 },
{ 800, -1, 66 },
{ 800, -1, 164 },
{ 800, -1, 366 },
{ 800, -1, 141 },
{ 800, -1, 40 },
{ 800, -1, 11 },
{ 800, -1, 2 },
{ 800, -1, 74 },
{ 800, -1, 165 },
{ 800, -1, 239 },
{ 800, -1, 368 },
{ 800, -1, 156 },
{ 800, -1, 212 },
{ 800, -1, 144 },
{ 800, -1, 70 },
{ 800, -1, 82 },
{ 800, -1, 71 },
{ 800, -1, 88 },
{ 800, -1, 89 },
{ 800, -1, 125 },
{ 800, -1, 39 },
{ 800, -1, 29 },
{ 800, -1, 13 },
{ 800, -1, 1 },
{ 800, -1, 8 },
{ 800, -1, 65 },
{ 800, -1, 117 },
{ 800, -1, 116 },
{ 800, -1, 103 },
{ 800, -1, 104 },
{ 800, -1, 102 },
{ 800, -1, 45 },
{ 800, -1, 120 },
{ 800, -1, 119 },
{ 800, -1, 133 },
{ 800, -1, 12 },
{ 800, -1, 152 },
{ 800, -1, 36 },
{ 800, -1, 160 },
{ 800, -1, 130 },
{ 800, -1, 14 },
{ 800, -1, 9 },
{ 800, -1, 10 },
{ 800, -1, 161 },
{ 800, -1, 192 },
{ 800, -1, 193 },
{ 800, -1, 198 },
{ 800, -1, 202 },
{ 800, -1, 249 },
{ 800, -1, 194 },
{ 800, -1, 188 },
{ 800, -1, 199 },
{ 800, -1, 201 },
{ 800, -1, 227 },
{ 800, -1, 181 },
{ 800, -1, 185 },
{ 800, -1, 309 },
{ 800, -1, 205 },
{ 800, -1, 206 },
{ 800, -1, 204 },
{ 800, -1, 191 },
{ 800, -1, 189 },
{ 800, -1, 190 },
{ 12507, 252, -1 },
{ 1875, 251, -1 },
{ 12508, 252, -1 },
{ 1876, 251, -1 },
{ 797, -1, 240 },
{ 797, -1, 354 },
{ 797, -1, 350 },
{ 797, -1, 66 },
{ 797, -1, 164 },
{ 797, -1, 366 },
{ 797, -1, 141 },
{ 797, -1, 40 },
{ 797, -1, 11 },
{ 797, -1, 2 },
{ 797, -1, 74 },
{ 797, -1, 165 },
{ 797, -1, 239 },
{ 797, -1, 368 },
{ 797, -1, 156 },
{ 797, -1, 212 },
{ 797, -1, 144 },
{ 797, -1, 70 },
{ 797, -1, 82 },
{ 797, -1, 71 },
{ 797, -1, 88 },
{ 797, -1, 89 },
{ 797, -1, 125 },
{ 797, -1, 39 },
{ 797, -1, 29 },
{ 797, -1, 13 },
{ 797, -1, 1 },
{ 797, -1, 8 },
{ 797, -1, 65 },
{ 797, -1, 117 },
{ 797, -1, 116 },
{ 797, -1, 103 },
{ 797, -1, 104 },
{ 797, -1, 102 },
{ 797, -1, 45 },
{ 797, -1, 120 },
{ 797, -1, 119 },
{ 797, -1, 133 },
{ 797, -1, 12 },
{ 797, -1, 152 },
{ 797, -1, 36 },
{ 797, -1, 160 },
{ 797, -1, 130 },
{ 797, -1, 14 },
{ 797, -1, 9 },
{ 797, -1, 10 },
{ 797, -1, 161 },
{ 797, -1, 192 },
{ 797, -1, 193 },
{ 797, -1, 198 },
{ 797, -1, 202 },
{ 797, -1, 249 },
{ 797, -1, 194 },
{ 797, -1, 188 },
{ 797, -1, 199 },
{ 797, -1, 201 },
{ 797, -1, 227 },
{ 797, -1, 181 },
{ 797, -1, 185 },
{ 797, -1, 309 },
{ 797, -1, 205 },
{ 797, -1, 206 },
{ 797, -1, 204 },
{ 797, -1, 191 },
{ 797, -1, 189 },
{ 797, -1, 190 },
{ 923, -1, 1 },
{ 903, -1, 354 },
{ 903, -1, 366 },
{ 903, -1, 1 },
{ 903, -1, 117 },
{ 903, -1, 116 },
{ 903, -1, 36 },
{ 903, -1, 193 },
{ 903, -1, 249 },
{ 903, -1, 194 },
{ 903, -1, 205 },
{ 903, -1, 206 },
{ 903, -1, 204 },
{ 903, -1, 191 },
{ 903, -1, 189 },
{ 903, -1, 190 },
{ 926, -1, 354 },
{ 926, -1, 366 },
{ 926, -1, 1 },
{ 924, -1, 117 },
{ 926, -1, 117 },
{ 924, -1, 116 },
{ 926, -1, 116 },
{ 926, -1, 36 },
{ 926, -1, 193 },
{ 926, -1, 249 },
{ 926, -1, 194 },
{ 926, -1, 205 },
{ 926, -1, 206 },
{ 926, -1, 204 },
{ 926, -1, 191 },
{ 926, -1, 189 },
{ 926, -1, 190 },
{ 805, -1, 240 },
{ 805, -1, 354 },
{ 805, -1, 350 },
{ 805, -1, 66 },
{ 805, -1, 164 },
{ 805, -1, 366 },
{ 805, -1, 141 },
{ 805, -1, 40 },
{ 805, -1, 11 },
{ 805, -1, 2 },
{ 805, -1, 74 },
{ 805, -1, 165 },
{ 805, -1, 239 },
{ 805, -1, 368 },
{ 805, -1, 156 },
{ 805, -1, 212 },
{ 805, -1, 144 },
{ 805, -1, 70 },
{ 805, -1, 82 },
{ 805, -1, 71 },
{ 805, -1, 88 },
{ 805, -1, 89 },
{ 805, -1, 125 },
{ 805, -1, 39 },
{ 805, -1, 29 },
{ 805, -1, 13 },
{ 805, -1, 1 },
{ 805, -1, 8 },
{ 805, -1, 65 },
{ 805, -1, 117 },
{ 805, -1, 116 },
{ 805, -1, 103 },
{ 805, -1, 104 },
{ 805, -1, 102 },
{ 805, -1, 45 },
{ 805, -1, 120 },
{ 805, -1, 119 },
{ 805, -1, 133 },
{ 805, -1, 12 },
{ 805, -1, 152 },
{ 805, -1, 36 },
{ 805, -1, 160 },
{ 805, -1, 130 },
{ 805, -1, 14 },
{ 805, -1, 9 },
{ 805, -1, 10 },
{ 805, -1, 161 },
{ 805, -1, 192 },
{ 805, -1, 193 },
{ 805, -1, 198 },
{ 805, -1, 202 },
{ 805, -1, 249 },
{ 805, -1, 194 },
{ 805, -1, 188 },
{ 805, -1, 199 },
{ 805, -1, 201 },
{ 805, -1, 227 },
{ 805, -1, 181 },
{ 805, -1, 185 },
{ 805, -1, 309 },
{ 805, -1, 205 },
{ 805, -1, 206 },
{ 805, -1, 204 },
{ 805, -1, 191 },
{ 805, -1, 189 },
{ 805, -1, 190 },
{ 9153, -1, 193 },
{ 9153, -1, 191 },
{ 9153, -1, 189 },
{ 9153, -1, 190 },
{ 10925, 56, 36 },
{ 10921, -1, 36 },
{ 799, -1, 240 },
{ 799, -1, 354 },
{ 799, -1, 350 },
{ 799, -1, 66 },
{ 799, -1, 164 },
{ 799, -1, 366 },
{ 799, -1, 141 },
{ 799, -1, 40 },
{ 799, -1, 11 },
{ 799, -1, 2 },
{ 799, -1, 74 },
{ 799, -1, 165 },
{ 799, -1, 239 },
{ 799, -1, 368 },
{ 799, -1, 156 },
{ 799, -1, 212 },
{ 799, -1, 144 },
{ 799, -1, 70 },
{ 799, -1, 82 },
{ 799, -1, 71 },
{ 799, -1, 88 },
{ 799, -1, 89 },
{ 799, -1, 125 },
{ 799, -1, 39 },
{ 799, -1, 29 },
{ 799, -1, 13 },
{ 799, -1, 1 },
{ 799, -1, 8 },
{ 799, -1, 65 },
{ 799, -1, 117 },
{ 799, -1, 116 },
{ 799, -1, 103 },
{ 799, -1, 104 },
{ 799, -1, 102 },
{ 799, -1, 45 },
{ 799, -1, 120 },
{ 799, -1, 119 },
{ 799, -1, 133 },
{ 799, -1, 12 },
{ 799, -1, 152 },
{ 799, -1, 36 },
{ 799, -1, 160 },
{ 799, -1, 130 },
{ 799, -1, 14 },
{ 799, -1, 9 },
{ 799, -1, 10 },
{ 799, -1, 161 },
{ 799, -1, 192 },
{ 799, -1, 193 },
{ 799, -1, 198 },
{ 799, -1, 202 },
{ 799, -1, 249 },
{ 799, -1, 194 },
{ 799, -1, 188 },
{ 799, -1, 199 },
{ 799, -1, 201 },
{ 799, -1, 227 },
{ 799, -1, 181 },
{ 799, -1, 185 },
{ 799, -1, 309 },
{ 799, -1, 205 },
{ 799, -1, 206 },
{ 799, -1, 204 },
{ 799, -1, 191 },
{ 799, -1, 189 },
{ 799, -1, 190 },
{ 802, -1, 240 },
{ 802, -1, 354 },
{ 802, -1, 350 },
{ 802, -1, 66 },
{ 802, -1, 164 },
{ 802, -1, 366 },
{ 802, -1, 141 },
{ 802, -1, 40 },
{ 802, -1, 11 },
{ 802, -1, 2 },
{ 802, -1, 74 },
{ 802, -1, 165 },
{ 802, -1, 239 },
{ 802, -1, 368 },
{ 802, -1, 156 },
{ 802, -1, 212 },
{ 802, -1, 144 },
{ 802, -1, 70 },
{ 802, -1, 82 },
{ 802, -1, 71 },
{ 802, -1, 88 },
{ 802, -1, 89 },
{ 802, -1, 125 },
{ 802, -1, 39 },
{ 802, -1, 29 },
{ 802, -1, 13 },
{ 802, -1, 1 },
{ 802, -1, 8 },
{ 802, -1, 65 },
{ 802, -1, 117 },
{ 802, -1, 116 },
{ 802, -1, 103 },
{ 802, -1, 104 },
{ 802, -1, 102 },
{ 802, -1, 45 },
{ 802, -1, 120 },
{ 802, -1, 119 },
{ 802, -1, 133 },
{ 802, -1, 12 },
{ 802, -1, 152 },
{ 802, -1, 36 },
{ 802, -1, 160 },
{ 802, -1, 130 },
{ 802, -1, 14 },
{ 802, -1, 9 },
{ 802, -1, 10 },
{ 802, -1, 161 },
{ 802, -1, 192 },
{ 802, -1, 193 },
{ 802, -1, 198 },
{ 802, -1, 202 },
{ 802, -1, 249 },
{ 802, -1, 194 },
{ 802, -1, 188 },
{ 802, -1, 199 },
{ 802, -1, 201 },
{ 802, -1, 227 },
{ 802, -1, 181 },
{ 802, -1, 185 },
{ 802, -1, 309 },
{ 802, -1, 205 },
{ 802, -1, 206 },
{ 802, -1, 204 },
{ 802, -1, 191 },
{ 802, -1, 189 },
{ 802, -1, 190 },
{ 803, -1, 240 },
{ 803, -1, 354 },
{ 803, -1, 350 },
{ 803, -1, 66 },
{ 803, -1, 164 },
{ 803, -1, 366 },
{ 803, -1, 141 },
{ 803, -1, 40 },
{ 803, -1, 11 },
{ 803, -1, 2 },
{ 803, -1, 74 },
{ 803, -1, 165 },
{ 803, -1, 239 },
{ 803, -1, 368 },
{ 803, -1, 156 },
{ 803, -1, 212 },
{ 803, -1, 144 },
{ 803, -1, 70 },
{ 803, -1, 82 },
{ 803, -1, 71 },
{ 803, -1, 88 },
{ 803, -1, 89 },
{ 803, -1, 125 },
{ 803, -1, 39 },
{ 803, -1, 29 },
{ 803, -1, 13 },
{ 803, -1, 1 },
{ 803, -1, 8 },
{ 803, -1, 65 },
{ 803, -1, 117 },
{ 803, -1, 116 },
{ 803, -1, 103 },
{ 803, -1, 104 },
{ 803, -1, 102 },
{ 803, -1, 45 },
{ 803, -1, 120 },
{ 803, -1, 119 },
{ 803, -1, 133 },
{ 803, -1, 12 },
{ 803, -1, 152 },
{ 803, -1, 36 },
{ 803, -1, 160 },
{ 803, -1, 130 },
{ 803, -1, 14 },
{ 803, -1, 9 },
{ 803, -1, 10 },
{ 803, -1, 161 },
{ 803, -1, 192 },
{ 803, -1, 193 },
{ 803, -1, 198 },
{ 803, -1, 202 },
{ 803, -1, 249 },
{ 803, -1, 194 },
{ 803, -1, 188 },
{ 803, -1, 199 },
{ 803, -1, 201 },
{ 803, -1, 227 },
{ 803, -1, 181 },
{ 803, -1, 185 },
{ 803, -1, 309 },
{ 803, -1, 205 },
{ 803, -1, 206 },
{ 803, -1, 204 },
{ 803, -1, 191 },
{ 803, -1, 189 },
{ 803, -1, 190 },
{ 807, -1, 240 },
{ 807, -1, 354 },
{ 807, -1, 350 },
{ 807, -1, 66 },
{ 807, -1, 164 },
{ 807, -1, 366 },
{ 807, -1, 141 },
{ 807, -1, 40 },
{ 807, -1, 11 },
{ 807, -1, 2 },
{ 807, -1, 74 },
{ 807, -1, 165 },
{ 807, -1, 239 },
{ 807, -1, 368 },
{ 807, -1, 156 },
{ 807, -1, 212 },
{ 807, -1, 144 },
{ 807, -1, 70 },
{ 807, -1, 82 },
{ 807, -1, 71 },
{ 807, -1, 88 },
{ 807, -1, 89 },
{ 807, -1, 125 },
{ 807, -1, 39 },
{ 807, -1, 29 },
{ 807, -1, 13 },
{ 807, -1, 1 },
{ 807, -1, 8 },
{ 807, -1, 65 },
{ 807, -1, 117 },
{ 807, -1, 116 },
{ 807, -1, 103 },
{ 807, -1, 104 },
{ 807, -1, 102 },
{ 807, -1, 45 },
{ 807, -1, 120 },
{ 807, -1, 119 },
{ 807, -1, 133 },
{ 807, -1, 12 },
{ 807, -1, 152 },
{ 807, -1, 36 },
{ 807, -1, 160 },
{ 807, -1, 130 },
{ 807, -1, 14 },
{ 807, -1, 9 },
{ 807, -1, 10 },
{ 807, -1, 161 },
{ 807, -1, 192 },
{ 807, -1, 193 },
{ 807, -1, 198 },
{ 807, -1, 202 },
{ 807, -1, 249 },
{ 807, -1, 194 },
{ 807, -1, 188 },
{ 807, -1, 199 },
{ 807, -1, 201 },
{ 807, -1, 227 },
{ 807, -1, 181 },
{ 807, -1, 185 },
{ 807, -1, 309 },
{ 807, -1, 205 },
{ 807, -1, 206 },
{ 807, -1, 204 },
{ 807, -1, 191 },
{ 807, -1, 189 },
{ 807, -1, 190 },
{ 902, -1, 611 },
{ 904, -1, 354 },
{ 902, -1, 612 },
{ 904, -1, 366 },
{ 902, -1, 155 },
{ 904, -1, 1 },
{ 902, -1, 613 },
{ 904, -1, 117 },
{ 902, -1, 614 },
{ 904, -1, 116 },
{ 902, -1, 615 },
{ 904, -1, 36 },
{ 902, -1, 616 },
{ 904, -1, 193 },
{ 902, -1, 617 },
{ 904, -1, 249 },
{ 902, -1, 618 },
{ 904, -1, 194 },
{ 904, -1, 199 },
{ 902, -1, 619 },
{ 904, -1, 205 },
{ 902, -1, 620 },
{ 904, -1, 206 },
{ 902, -1, 621 },
{ 904, -1, 204 },
{ 902, -1, 622 },
{ 904, -1, 191 },
{ 902, -1, 623 },
{ 904, -1, 189 },
{ 902, -1, 624 },
{ 904, -1, 190 },
{ 909, -1, 354 },
{ 910, -1, 354 },
{ 909, -1, 366 },
{ 910, -1, 366 },
{ 909, -1, 1 },
{ 910, -1, 1 },
{ 909, -1, 117 },
{ 910, -1, 117 },
{ 909, -1, 116 },
{ 910, -1, 116 },
{ 909, -1, 36 },
{ 910, -1, 36 },
{ 909, -1, 193 },
{ 910, -1, 193 },
{ 909, -1, 249 },
{ 910, -1, 249 },
{ 909, -1, 194 },
{ 910, -1, 194 },
{ 909, -1, 205 },
{ 910, -1, 205 },
{ 909, -1, 206 },
{ 910, -1, 206 },
{ 909, -1, 204 },
{ 910, -1, 204 },
{ 909, -1, 191 },
{ 910, -1, 191 },
{ 909, -1, 189 },
{ 910, -1, 189 },
{ 909, -1, 190 },
{ 910, -1, 190 },
{ 899, -1, 611 },
{ 901, -1, 354 },
{ 898, -1, 354 },
{ 899, -1, 612 },
{ 901, -1, 366 },
{ 898, -1, 366 },
{ 899, -1, 155 },
{ 901, -1, 1 },
{ 898, -1, 1 },
{ 899, -1, 613 },
{ 901, -1, 117 },
{ 898, -1, 117 },
{ 899, -1, 614 },
{ 901, -1, 116 },
{ 898, -1, 116 },
{ 899, -1, 615 },
{ 901, -1, 36 },
{ 898, -1, 36 },
{ 899, -1, 616 },
{ 901, -1, 193 },
{ 898, -1, 193 },
{ 899, -1, 617 },
{ 901, -1, 249 },
{ 898, -1, 249 },
{ 899, -1, 618 },
{ 901, -1, 194 },
{ 898, -1, 194 },
{ 901, -1, 199 },
{ 899, -1, 619 },
{ 901, -1, 205 },
{ 898, -1, 205 },
{ 899, -1, 620 },
{ 901, -1, 206 },
{ 898, -1, 206 },
{ 899, -1, 621 },
{ 901, -1, 204 },
{ 898, -1, 204 },
{ 899, -1, 622 },
{ 901, -1, 191 },
{ 898, -1, 191 },
{ 899, -1, 623 },
{ 901, -1, 189 },
{ 898, -1, 189 },
{ 899, -1, 624 },
{ 901, -1, 190 },
{ 898, -1, 190 },
{ 905, -1, 611 },
{ 906, -1, 354 },
{ 905, -1, 612 },
{ 906, -1, 366 },
{ 905, -1, 155 },
{ 906, -1, 1 },
{ 905, -1, 613 },
{ 906, -1, 117 },
{ 905, -1, 614 },
{ 906, -1, 116 },
{ 905, -1, 615 },
{ 906, -1, 36 },
{ 905, -1, 616 },
{ 906, -1, 193 },
{ 905, -1, 617 },
{ 906, -1, 249 },
{ 905, -1, 618 },
{ 906, -1, 194 },
{ 906, -1, 199 },
{ 905, -1, 619 },
{ 906, -1, 205 },
{ 905, -1, 620 },
{ 906, -1, 206 },
{ 905, -1, 621 },
{ 906, -1, 204 },
{ 905, -1, 622 },
{ 906, -1, 191 },
{ 905, -1, 623 },
{ 906, -1, 189 },
{ 905, -1, 624 },
{ 906, -1, 190 },
{ 1739, 238, 443 },
{ 1739, 238, 625 },
{ 1739, 238, 626 },
{ 1739, 238, 56 },
{ 1743, 238, 239 },
{ 1743, 238, 0 },
{ 1739, 367, 612 },
{ 1739, 367, 627 },
{ 1739, 367, 443 },
{ 1739, 367, 628 },
{ 1739, 367, 629 },
{ 1743, 367, 366 },
{ 1743, 367, 368 },
{ 1739, 155, 443 },
{ 1739, 155, 630 },
{ 1739, 155, 631 },
{ 1739, 155, 155 },
{ 1739, 155, 211 },
{ 1743, 155, 156 },
{ 1743, 155, 1 },
{ 1739, 211, 443 },
{ 1739, 211, 632 },
{ 1739, 211, 633 },
{ 1739, 211, 56 },
{ 1743, 211, 212 },
{ 1743, 211, 0 },
{ 1739, 143, 634 },
{ 1739, 143, 172 },
{ 1739, 143, 443 },
{ 1739, 143, 635 },
{ 1739, 143, 636 },
{ 1743, 143, 40 },
{ 1743, 143, 144 },
{ 1739, 69, 443 },
{ 1739, 69, 637 },
{ 1739, 69, 638 },
{ 1739, 69, 155 },
{ 1739, 69, 211 },
{ 1743, 69, 70 },
{ 1743, 69, 1 },
{ 1739, 56, 443 },
{ 1739, 56, 639 },
{ 1739, 56, 640 },
{ 1743, 56, 82 },
{ 10560, -1, 40 },
{ 10560, -1, 1 },
{ 10560, -1, 36 },
{ 10560, -1, 192 },
{ 10560, -1, 191 },
{ 8860, -1, 169 },
{ 9156, -1, 191 },
{ 806, -1, 240 },
{ 806, -1, 354 },
{ 806, -1, 350 },
{ 806, -1, 66 },
{ 806, -1, 164 },
{ 806, -1, 366 },
{ 806, -1, 141 },
{ 806, -1, 40 },
{ 806, -1, 11 },
{ 806, -1, 2 },
{ 806, -1, 74 },
{ 806, -1, 165 },
{ 806, -1, 239 },
{ 806, -1, 368 },
{ 806, -1, 156 },
{ 806, -1, 212 },
{ 806, -1, 144 },
{ 806, -1, 70 },
{ 806, -1, 82 },
{ 806, -1, 71 },
{ 806, -1, 88 },
{ 806, -1, 89 },
{ 806, -1, 125 },
{ 806, -1, 39 },
{ 806, -1, 29 },
{ 806, -1, 13 },
{ 806, -1, 1 },
{ 806, -1, 8 },
{ 806, -1, 65 },
{ 806, -1, 117 },
{ 806, -1, 116 },
{ 806, -1, 103 },
{ 806, -1, 104 },
{ 806, -1, 102 },
{ 806, -1, 45 },
{ 806, -1, 120 },
{ 806, -1, 119 },
{ 806, -1, 133 },
{ 806, -1, 12 },
{ 806, -1, 152 },
{ 806, -1, 36 },
{ 806, -1, 160 },
{ 806, -1, 130 },
{ 806, -1, 14 },
{ 806, -1, 9 },
{ 806, -1, 10 },
{ 806, -1, 161 },
{ 806, -1, 192 },
{ 806, -1, 193 },
{ 806, -1, 198 },
{ 806, -1, 202 },
{ 806, -1, 249 },
{ 806, -1, 194 },
{ 806, -1, 188 },
{ 806, -1, 199 },
{ 806, -1, 201 },
{ 806, -1, 227 },
{ 806, -1, 181 },
{ 806, -1, 185 },
{ 806, -1, 309 },
{ 806, -1, 205 },
{ 806, -1, 206 },
{ 806, -1, 204 },
{ 806, -1, 191 },
{ 806, -1, 189 },
{ 806, -1, 190 },
{ 9150, -1, 191 },
{ 9150, -1, 189 },
{ 9150, -1, 190 },
{ 1876, 274, -1 },
{ 1875, 274, -1 },
{ 10868, 36, -1 },
{ 10869, 36, -1 },
{ 10851, 36, -1 },
{ 10854, 36, -1 },
{ 10855, 36, -1 },
{ 10856, 36, -1 },
{ 10859, 36, -1 },
{ 10860, 36, -1 },
{ 10861, 36, -1 },
{ 10863, 36, -1 },
{ 10865, 36, -1 },
{ 10866, 36, -1 },
{ 10938, 366, -1 },
{ 10939, 366, -1 },
{ 6236, 40, -1 },
{ 6238, 40, -1 },
{ 6239, 40, -1 },
{ 8577, 172, -1 },
{ 8578, 172, -1 },
{ 8579, 172, -1 },
{ 8580, 172, -1 },
{ 963, 117, -1 },
{ 964, 117, -1 },
{ 965, 117, -1 },
{ 966, 117, -1 },
{ 967, 117, -1 },
{ 968, 117, -1 },
{ 963, 116, -1 },
{ 964, 116, -1 },
{ 965, 116, -1 },
{ 966, 116, -1 },
{ 967, 116, -1 },
{ 968, 116, -1 },
{ 947, 117, -1 },
{ 948, 117, -1 },
{ 949, 117, -1 },
{ 950, 117, -1 },
{ 951, 117, -1 },
{ 952, 117, -1 },
{ 953, 117, -1 },
{ 954, 117, -1 },
{ 955, 117, -1 },
{ 956, 117, -1 },
{ 957, 117, -1 },
{ 958, 117, -1 },
{ 959, 117, -1 },
{ 960, 117, -1 },
{ 961, 117, -1 },
{ 962, 117, -1 },
{ 947, 116, -1 },
{ 948, 116, -1 },
{ 949, 116, -1 },
{ 950, 116, -1 },
{ 951, 116, -1 },
{ 952, 116, -1 },
{ 953, 116, -1 },
{ 954, 116, -1 },
{ 955, 116, -1 },
{ 956, 116, -1 },
{ 957, 116, -1 },
{ 958, 116, -1 },
{ 959, 116, -1 },
{ 960, 116, -1 },
{ 961, 116, -1 },
{ 962, 116, -1 },
{ 936, 240, -1 },
{ 937, 240, -1 },
{ 938, 240, -1 },
{ 939, 240, -1 },
{ 940, 240, -1 },
{ 941, 240, -1 },
{ 936, 354, -1 },
{ 937, 354, -1 },
{ 938, 354, -1 },
{ 939, 354, -1 },
{ 940, 354, -1 },
{ 941, 354, -1 },
{ 936, 350, -1 },
{ 937, 350, -1 },
{ 938, 350, -1 },
{ 939, 350, -1 },
{ 940, 350, -1 },
{ 941, 350, -1 },
{ 936, 66, -1 },
{ 937, 66, -1 },
{ 938, 66, -1 },
{ 939, 66, -1 },
{ 940, 66, -1 },
{ 941, 66, -1 },
{ 936, 164, -1 },
{ 937, 164, -1 },
{ 938, 164, -1 },
{ 939, 164, -1 },
{ 940, 164, -1 },
{ 941, 164, -1 },
{ 936, 366, -1 },
{ 937, 366, -1 },
{ 938, 366, -1 },
{ 939, 366, -1 },
{ 940, 366, -1 },
{ 941, 366, -1 },
{ 936, 141, -1 },
{ 937, 141, -1 },
{ 938, 141, -1 },
{ 939, 141, -1 },
{ 940, 141, -1 },
{ 941, 141, -1 },
{ 936, 40, -1 },
{ 937, 40, -1 },
{ 938, 40, -1 },
{ 939, 40, -1 },
{ 940, 40, -1 },
{ 941, 40, -1 },
{ 936, 11, -1 },
{ 937, 11, -1 },
{ 938, 11, -1 },
{ 939, 11, -1 },
{ 940, 11, -1 },
{ 941, 11, -1 },
{ 936, 2, -1 },
{ 937, 2, -1 },
{ 938, 2, -1 },
{ 939, 2, -1 },
{ 940, 2, -1 },
{ 941, 2, -1 },
{ 936, 74, -1 },
{ 937, 74, -1 },
{ 938, 74, -1 },
{ 939, 74, -1 },
{ 940, 74, -1 },
{ 941, 74, -1 },
{ 936, 165, -1 },
{ 937, 165, -1 },
{ 938, 165, -1 },
{ 939, 165, -1 },
{ 940, 165, -1 },
{ 941, 165, -1 },
{ 936, 239, -1 },
{ 937, 239, -1 },
{ 938, 239, -1 },
{ 939, 239, -1 },
{ 940, 239, -1 },
{ 941, 239, -1 },
{ 936, 368, -1 },
{ 937, 368, -1 },
{ 938, 368, -1 },
{ 939, 368, -1 },
{ 940, 368, -1 },
{ 941, 368, -1 },
{ 936, 156, -1 },
{ 937, 156, -1 },
{ 938, 156, -1 },
{ 939, 156, -1 },
{ 940, 156, -1 },
{ 941, 156, -1 },
{ 936, 212, -1 },
{ 937, 212, -1 },
{ 938, 212, -1 },
{ 939, 212, -1 },
{ 940, 212, -1 },
{ 941, 212, -1 },
{ 936, 144, -1 },
{ 937, 144, -1 },
{ 938, 144, -1 },
{ 939, 144, -1 },
{ 940, 144, -1 },
{ 941, 144, -1 },
{ 936, 70, -1 },
{ 937, 70, -1 },
{ 938, 70, -1 },
{ 939, 70, -1 },
{ 940, 70, -1 },
{ 941, 70, -1 },
{ 936, 82, -1 },
{ 937, 82, -1 },
{ 938, 82, -1 },
{ 939, 82, -1 },
{ 940, 82, -1 },
{ 941, 82, -1 },
{ 936, 71, -1 },
{ 937, 71, -1 },
{ 938, 71, -1 },
{ 939, 71, -1 },
{ 940, 71, -1 },
{ 941, 71, -1 },
{ 936, 88, -1 },
{ 937, 88, -1 },
{ 938, 88, -1 },
{ 939, 88, -1 },
{ 940, 88, -1 },
{ 941, 88, -1 },
{ 936, 89, -1 },
{ 937, 89, -1 },
{ 938, 89, -1 },
{ 939, 89, -1 },
{ 940, 89, -1 },
{ 941, 89, -1 },
{ 936, 125, -1 },
{ 937, 125, -1 },
{ 938, 125, -1 },
{ 939, 125, -1 },
{ 940, 125, -1 },
{ 941, 125, -1 },
{ 936, 39, -1 },
{ 937, 39, -1 },
{ 938, 39, -1 },
{ 939, 39, -1 },
{ 940, 39, -1 },
{ 941, 39, -1 },
{ 936, 29, -1 },
{ 937, 29, -1 },
{ 938, 29, -1 },
{ 939, 29, -1 },
{ 940, 29, -1 },
{ 941, 29, -1 },
{ 936, 13, -1 },
{ 937, 13, -1 },
{ 938, 13, -1 },
{ 939, 13, -1 },
{ 940, 13, -1 },
{ 941, 13, -1 },
{ 936, 1, -1 },
{ 937, 1, -1 },
{ 938, 1, -1 },
{ 939, 1, -1 },
{ 940, 1, -1 },
{ 941, 1, -1 },
{ 936, 8, -1 },
{ 937, 8, -1 },
{ 938, 8, -1 },
{ 939, 8, -1 },
{ 940, 8, -1 },
{ 941, 8, -1 },
{ 936, 65, -1 },
{ 937, 65, -1 },
{ 938, 65, -1 },
{ 939, 65, -1 },
{ 940, 65, -1 },
{ 941, 65, -1 },
{ 936, 117, -1 },
{ 937, 117, -1 },
{ 938, 117, -1 },
{ 939, 117, -1 },
{ 940, 117, -1 },
{ 941, 117, -1 },
{ 936, 116, -1 },
{ 937, 116, -1 },
{ 938, 116, -1 },
{ 939, 116, -1 },
{ 940, 116, -1 },
{ 941, 116, -1 },
{ 936, 103, -1 },
{ 937, 103, -1 },
{ 938, 103, -1 },
{ 939, 103, -1 },
{ 940, 103, -1 },
{ 941, 103, -1 },
{ 936, 104, -1 },
{ 937, 104, -1 },
{ 938, 104, -1 },
{ 939, 104, -1 },
{ 940, 104, -1 },
{ 941, 104, -1 },
{ 936, 102, -1 },
{ 937, 102, -1 },
{ 938, 102, -1 },
{ 939, 102, -1 },
{ 940, 102, -1 },
{ 941, 102, -1 },
{ 936, 45, -1 },
{ 937, 45, -1 },
{ 938, 45, -1 },
{ 939, 45, -1 },
{ 940, 45, -1 },
{ 941, 45, -1 },
{ 936, 120, -1 },
{ 937, 120, -1 },
{ 938, 120, -1 },
{ 939, 120, -1 },
{ 940, 120, -1 },
{ 941, 120, -1 },
{ 936, 119, -1 },
{ 937, 119, -1 },
{ 938, 119, -1 },
{ 939, 119, -1 },
{ 940, 119, -1 },
{ 941, 119, -1 },
{ 936, 133, -1 },
{ 937, 133, -1 },
{ 938, 133, -1 },
{ 939, 133, -1 },
{ 940, 133, -1 },
{ 941, 133, -1 },
{ 936, 12, -1 },
{ 937, 12, -1 },
{ 938, 12, -1 },
{ 939, 12, -1 },
{ 940, 12, -1 },
{ 941, 12, -1 },
{ 936, 152, -1 },
{ 937, 152, -1 },
{ 938, 152, -1 },
{ 939, 152, -1 },
{ 940, 152, -1 },
{ 941, 152, -1 },
{ 936, 36, -1 },
{ 937, 36, -1 },
{ 938, 36, -1 },
{ 939, 36, -1 },
{ 940, 36, -1 },
{ 941, 36, -1 },
{ 936, 160, -1 },
{ 937, 160, -1 },
{ 938, 160, -1 },
{ 939, 160, -1 },
{ 940, 160, -1 },
{ 941, 160, -1 },
{ 936, 130, -1 },
{ 937, 130, -1 },
{ 938, 130, -1 },
{ 939, 130, -1 },
{ 940, 130, -1 },
{ 941, 130, -1 },
{ 936, 14, -1 },
{ 937, 14, -1 },
{ 938, 14, -1 },
{ 939, 14, -1 },
{ 940, 14, -1 },
{ 941, 14, -1 },
{ 936, 9, -1 },
{ 937, 9, -1 },
{ 938, 9, -1 },
{ 939, 9, -1 },
{ 940, 9, -1 },
{ 941, 9, -1 },
{ 936, 10, -1 },
{ 937, 10, -1 },
{ 938, 10, -1 },
{ 939, 10, -1 },
{ 940, 10, -1 },
{ 941, 10, -1 },
{ 936, 161, -1 },
{ 937, 161, -1 },
{ 938, 161, -1 },
{ 939, 161, -1 },
{ 940, 161, -1 },
{ 941, 161, -1 },
{ 936, 192, -1 },
{ 937, 192, -1 },
{ 938, 192, -1 },
{ 939, 192, -1 },
{ 940, 192, -1 },
{ 941, 192, -1 },
{ 936, 193, -1 },
{ 937, 193, -1 },
{ 938, 193, -1 },
{ 939, 193, -1 },
{ 940, 193, -1 },
{ 941, 193, -1 },
{ 936, 198, -1 },
{ 937, 198, -1 },
{ 938, 198, -1 },
{ 939, 198, -1 },
{ 940, 198, -1 },
{ 941, 198, -1 },
{ 936, 202, -1 },
{ 937, 202, -1 },
{ 938, 202, -1 },
{ 939, 202, -1 },
{ 940, 202, -1 },
{ 941, 202, -1 },
{ 936, 249, -1 },
{ 937, 249, -1 },
{ 938, 249, -1 },
{ 939, 249, -1 },
{ 940, 249, -1 },
{ 941, 249, -1 },
{ 936, 194, -1 },
{ 937, 194, -1 },
{ 938, 194, -1 },
{ 939, 194, -1 },
{ 940, 194, -1 },
{ 941, 194, -1 },
{ 936, 188, -1 },
{ 937, 188, -1 },
{ 938, 188, -1 },
{ 939, 188, -1 },
{ 940, 188, -1 },
{ 941, 188, -1 },
{ 936, 199, -1 },
{ 937, 199, -1 },
{ 938, 199, -1 },
{ 939, 199, -1 },
{ 940, 199, -1 },
{ 941, 199, -1 },
{ 936, 201, -1 },
{ 937, 201, -1 },
{ 938, 201, -1 },
{ 939, 201, -1 },
{ 940, 201, -1 },
{ 941, 201, -1 },
{ 936, 227, -1 },
{ 937, 227, -1 },
{ 938, 227, -1 },
{ 939, 227, -1 },
{ 940, 227, -1 },
{ 941, 227, -1 },
{ 936, 181, -1 },
{ 937, 181, -1 },
{ 938, 181, -1 },
{ 939, 181, -1 },
{ 940, 181, -1 },
{ 941, 181, -1 },
{ 936, 185, -1 },
{ 937, 185, -1 },
{ 938, 185, -1 },
{ 939, 185, -1 },
{ 940, 185, -1 },
{ 941, 185, -1 },
{ 936, 309, -1 },
{ 937, 309, -1 },
{ 938, 309, -1 },
{ 939, 309, -1 },
{ 940, 309, -1 },
{ 941, 309, -1 },
{ 936, 205, -1 },
{ 937, 205, -1 },
{ 938, 205, -1 },
{ 939, 205, -1 },
{ 940, 205, -1 },
{ 941, 205, -1 },
{ 936, 206, -1 },
{ 937, 206, -1 },
{ 938, 206, -1 },
{ 939, 206, -1 },
{ 940, 206, -1 },
{ 941, 206, -1 },
{ 936, 204, -1 },
{ 937, 204, -1 },
{ 938, 204, -1 },
{ 939, 204, -1 },
{ 940, 204, -1 },
{ 941, 204, -1 },
{ 936, 191, -1 },
{ 937, 191, -1 },
{ 938, 191, -1 },
{ 939, 191, -1 },
{ 940, 191, -1 },
{ 941, 191, -1 },
{ 936, 189, -1 },
{ 937, 189, -1 },
{ 938, 189, -1 },
{ 939, 189, -1 },
{ 940, 189, -1 },
{ 941, 189, -1 },
{ 936, 190, -1 },
{ 937, 190, -1 },
{ 938, 190, -1 },
{ 939, 190, -1 },
{ 940, 190, -1 },
{ 941, 190, -1 },
{ 5354, 11, -1 },
{ 5355, 11, -1 },
{ 5356, 11, -1 },
{ 5357, 11, -1 },
{ 5358, 11, -1 },
{ 5359, 11, -1 },
{ 1710, 354, -1 },
{ 1711, 354, -1 },
{ 1710, 366, -1 },
{ 1711, 366, -1 },
{ 1710, 125, -1 },
{ 1711, 125, -1 },
{ 1710, 137, -1 },
{ 1711, 137, -1 },
{ 1710, 138, -1 },
{ 1711, 138, -1 },
{ 1710, 1, -1 },
{ 1711, 1, -1 },
{ 1710, 117, -1 },
{ 1711, 117, -1 },
{ 1710, 116, -1 },
{ 1711, 116, -1 },
{ 1710, 36, -1 },
{ 1711, 36, -1 },
{ 1710, 130, -1 },
{ 1711, 130, -1 },
{ 1710, 193, -1 },
{ 1711, 193, -1 },
{ 1710, 249, -1 },
{ 1711, 249, -1 },
{ 1710, 194, -1 },
{ 1711, 194, -1 },
{ 1710, 205, -1 },
{ 1711, 205, -1 },
{ 1710, 206, -1 },
{ 1711, 206, -1 },
{ 1710, 204, -1 },
{ 1711, 204, -1 },
{ 1710, 191, -1 },
{ 1711, 191, -1 },
{ 1710, 189, -1 },
{ 1711, 189, -1 },
{ 1710, 190, -1 },
{ 1711, 190, -1 },
{ 1705, 354, -1 },
{ 1706, 354, -1 },
{ 1707, 354, -1 },
{ 1709, 354, -1 },
{ 1705, 366, -1 },
{ 1706, 366, -1 },
{ 1707, 366, -1 },
{ 1709, 366, -1 },
{ 1705, 125, -1 },
{ 1706, 125, -1 },
{ 1707, 125, -1 },
{ 1709, 125, -1 },
{ 1705, 137, -1 },
{ 1706, 137, -1 },
{ 1707, 137, -1 },
{ 1709, 137, -1 },
{ 1705, 138, -1 },
{ 1706, 138, -1 },
{ 1707, 138, -1 },
{ 1709, 138, -1 },
{ 1705, 1, -1 },
{ 1706, 1, -1 },
{ 1707, 1, -1 },
{ 1709, 1, -1 },
{ 1705, 117, -1 },
{ 1706, 117, -1 },
{ 1707, 117, -1 },
{ 1709, 117, -1 },
{ 1705, 116, -1 },
{ 1706, 116, -1 },
{ 1707, 116, -1 },
{ 1709, 116, -1 },
{ 1705, 36, -1 },
{ 1706, 36, -1 },
{ 1707, 36, -1 },
{ 1709, 36, -1 },
{ 1705, 130, -1 },
{ 1706, 130, -1 },
{ 1707, 130, -1 },
{ 1709, 130, -1 },
{ 1705, 193, -1 },
{ 1706, 193, -1 },
{ 1707, 193, -1 },
{ 1709, 193, -1 },
{ 1705, 249, -1 },
{ 1706, 249, -1 },
{ 1707, 249, -1 },
{ 1709, 249, -1 },
{ 1705, 194, -1 },
{ 1706, 194, -1 },
{ 1707, 194, -1 },
{ 1709, 194, -1 },
{ 1705, 205, -1 },
{ 1706, 205, -1 },
{ 1707, 205, -1 },
{ 1709, 205, -1 },
{ 1705, 206, -1 },
{ 1706, 206, -1 },
{ 1707, 206, -1 },
{ 1709, 206, -1 },
{ 1705, 204, -1 },
{ 1706, 204, -1 },
{ 1707, 204, -1 },
{ 1709, 204, -1 },
{ 1705, 191, -1 },
{ 1706, 191, -1 },
{ 1707, 191, -1 },
{ 1709, 191, -1 },
{ 1705, 189, -1 },
{ 1706, 189, -1 },
{ 1707, 189, -1 },
{ 1709, 189, -1 },
{ 1705, 190, -1 },
{ 1706, 190, -1 },
{ 1707, 190, -1 },
{ 1709, 190, -1 },
{ 1766, 238, -1 },
{ 1767, 238, -1 },
{ 1768, 238, -1 },
{ 1769, 238, -1 },
{ 1770, 238, -1 },
{ 1771, 238, -1 },
{ 1772, 238, -1 },
{ 1773, 238, -1 },
{ 1774, 238, -1 },
{ 1775, 238, -1 },
{ 1776, 238, -1 },
{ 1777, 238, -1 },
{ 1778, 238, -1 },
{ 1779, 238, -1 },
{ 1766, 367, -1 },
{ 1767, 367, -1 },
{ 1768, 367, -1 },
{ 1769, 367, -1 },
{ 1770, 367, -1 },
{ 1771, 367, -1 },
{ 1772, 367, -1 },
{ 1773, 367, -1 },
{ 1774, 367, -1 },
{ 1775, 367, -1 },
{ 1776, 367, -1 },
{ 1777, 367, -1 },
{ 1778, 367, -1 },
{ 1779, 367, -1 },
{ 1766, 155, -1 },
{ 1767, 155, -1 },
{ 1768, 155, -1 },
{ 1769, 155, -1 },
{ 1770, 155, -1 },
{ 1771, 155, -1 },
{ 1772, 155, -1 },
{ 1773, 155, -1 },
{ 1774, 155, -1 },
{ 1775, 155, -1 },
{ 1776, 155, -1 },
{ 1777, 155, -1 },
{ 1778, 155, -1 },
{ 1779, 155, -1 },
{ 1766, 211, -1 },
{ 1767, 211, -1 },
{ 1768, 211, -1 },
{ 1769, 211, -1 },
{ 1770, 211, -1 },
{ 1771, 211, -1 },
{ 1772, 211, -1 },
{ 1773, 211, -1 },
{ 1774, 211, -1 },
{ 1775, 211, -1 },
{ 1776, 211, -1 },
{ 1777, 211, -1 },
{ 1778, 211, -1 },
{ 1779, 211, -1 },
{ 1766, 143, -1 },
{ 1767, 143, -1 },
{ 1768, 143, -1 },
{ 1769, 143, -1 },
{ 1770, 143, -1 },
{ 1771, 143, -1 },
{ 1772, 143, -1 },
{ 1773, 143, -1 },
{ 1774, 143, -1 },
{ 1775, 143, -1 },
{ 1776, 143, -1 },
{ 1777, 143, -1 },
{ 1778, 143, -1 },
{ 1779, 143, -1 },
{ 1766, 69, -1 },
{ 1767, 69, -1 },
{ 1768, 69, -1 },
{ 1769, 69, -1 },
{ 1770, 69, -1 },
{ 1771, 69, -1 },
{ 1772, 69, -1 },
{ 1773, 69, -1 },
{ 1774, 69, -1 },
{ 1775, 69, -1 },
{ 1776, 69, -1 },
{ 1777, 69, -1 },
{ 1778, 69, -1 },
{ 1779, 69, -1 },
{ 1759, 238, -1 },
{ 1760, 238, -1 },
{ 1761, 238, -1 },
{ 1762, 238, -1 },
{ 1763, 238, -1 },
{ 1764, 238, -1 },
{ 1765, 238, -1 },
{ 1759, 367, -1 },
{ 1760, 367, -1 },
{ 1761, 367, -1 },
{ 1762, 367, -1 },
{ 1763, 367, -1 },
{ 1764, 367, -1 },
{ 1765, 367, -1 },
{ 1759, 155, -1 },
{ 1760, 155, -1 },
{ 1761, 155, -1 },
{ 1762, 155, -1 },
{ 1763, 155, -1 },
{ 1764, 155, -1 },
{ 1765, 155, -1 },
{ 1759, 211, -1 },
{ 1760, 211, -1 },
{ 1761, 211, -1 },
{ 1762, 211, -1 },
{ 1763, 211, -1 },
{ 1764, 211, -1 },
{ 1765, 211, -1 },
{ 1759, 143, -1 },
{ 1760, 143, -1 },
{ 1761, 143, -1 },
{ 1762, 143, -1 },
{ 1763, 143, -1 },
{ 1764, 143, -1 },
{ 1765, 143, -1 },
{ 1759, 69, -1 },
{ 1760, 69, -1 },
{ 1761, 69, -1 },
{ 1762, 69, -1 },
{ 1763, 69, -1 },
{ 1764, 69, -1 },
{ 1765, 69, -1 },
{ 1800, 243, -1 },
{ 1801, 243, -1 },
{ 1802, 243, -1 },
{ 1803, 243, -1 },
{ 1800, 244, -1 },
{ 1801, 244, -1 },
{ 1802, 244, -1 },
{ 1803, 244, -1 },
{ 1800, 242, -1 },
{ 1801, 242, -1 },
{ 1802, 242, -1 },
{ 1803, 242, -1 },
{ 1800, 369, -1 },
{ 1801, 369, -1 },
{ 1802, 369, -1 },
{ 1803, 369, -1 },
{ 1800, 370, -1 },
{ 1801, 370, -1 },
{ 1802, 370, -1 },
{ 1803, 370, -1 },
{ 1800, 371, -1 },
{ 1801, 371, -1 },
{ 1802, 371, -1 },
{ 1803, 371, -1 },
{ 1800, 158, -1 },
{ 1801, 158, -1 },
{ 1802, 158, -1 },
{ 1803, 158, -1 },
{ 1800, 159, -1 },
{ 1801, 159, -1 },
{ 1802, 159, -1 },
{ 1803, 159, -1 },
{ 1800, 157, -1 },
{ 1801, 157, -1 },
{ 1802, 157, -1 },
{ 1803, 157, -1 },
{ 1800, 214, -1 },
{ 1801, 214, -1 },
{ 1802, 214, -1 },
{ 1803, 214, -1 },
{ 1800, 215, -1 },
{ 1801, 215, -1 },
{ 1802, 215, -1 },
{ 1803, 215, -1 },
{ 1800, 213, -1 },
{ 1801, 213, -1 },
{ 1802, 213, -1 },
{ 1803, 213, -1 },
{ 1800, 145, -1 },
{ 1801, 145, -1 },
{ 1802, 145, -1 },
{ 1803, 145, -1 },
{ 1800, 146, -1 },
{ 1801, 146, -1 },
{ 1802, 146, -1 },
{ 1803, 146, -1 },
{ 1800, 147, -1 },
{ 1801, 147, -1 },
{ 1802, 147, -1 },
{ 1803, 147, -1 },
{ 1800, 73, -1 },
{ 1801, 73, -1 },
{ 1802, 73, -1 },
{ 1803, 73, -1 },
{ 1800, 75, -1 },
{ 1801, 75, -1 },
{ 1802, 75, -1 },
{ 1803, 75, -1 },
{ 1800, 72, -1 },
{ 1801, 72, -1 },
{ 1802, 72, -1 },
{ 1803, 72, -1 },
{ 1800, 84, -1 },
{ 1801, 84, -1 },
{ 1802, 84, -1 },
{ 1803, 84, -1 },
{ 1800, 85, -1 },
{ 1801, 85, -1 },
{ 1802, 85, -1 },
{ 1803, 85, -1 },
{ 1794, 238, -1 },
{ 1795, 238, -1 },
{ 1796, 238, -1 },
{ 1797, 238, -1 },
{ 1798, 238, -1 },
{ 1799, 238, -1 },
{ 1794, 367, -1 },
{ 1795, 367, -1 },
{ 1796, 367, -1 },
{ 1797, 367, -1 },
{ 1798, 367, -1 },
{ 1799, 367, -1 },
{ 1794, 155, -1 },
{ 1795, 155, -1 },
{ 1796, 155, -1 },
{ 1797, 155, -1 },
{ 1798, 155, -1 },
{ 1799, 155, -1 },
{ 1794, 211, -1 },
{ 1795, 211, -1 },
{ 1796, 211, -1 },
{ 1797, 211, -1 },
{ 1798, 211, -1 },
{ 1799, 211, -1 },
{ 1794, 143, -1 },
{ 1795, 143, -1 },
{ 1796, 143, -1 },
{ 1797, 143, -1 },
{ 1798, 143, -1 },
{ 1799, 143, -1 },
{ 1794, 69, -1 },
{ 1795, 69, -1 },
{ 1796, 69, -1 },
{ 1797, 69, -1 },
{ 1798, 69, -1 },
{ 1799, 69, -1 },
{ 1780, 238, -1 },
{ 1781, 238, -1 },
{ 1782, 238, -1 },
{ 1783, 238, -1 },
{ 1784, 238, -1 },
{ 1785, 238, -1 },
{ 1786, 238, -1 },
{ 1787, 238, -1 },
{ 1788, 238, -1 },
{ 1789, 238, -1 },
{ 1790, 238, -1 },
{ 1791, 238, -1 },
{ 1792, 238, -1 },
{ 1793, 238, -1 },
{ 1780, 367, -1 },
{ 1781, 367, -1 },
{ 1782, 367, -1 },
{ 1783, 367, -1 },
{ 1784, 367, -1 },
{ 1785, 367, -1 },
{ 1786, 367, -1 },
{ 1787, 367, -1 },
{ 1788, 367, -1 },
{ 1789, 367, -1 },
{ 1790, 367, -1 },
{ 1791, 367, -1 },
{ 1792, 367, -1 },
{ 1793, 367, -1 },
{ 1780, 155, -1 },
{ 1781, 155, -1 },
{ 1782, 155, -1 },
{ 1783, 155, -1 },
{ 1784, 155, -1 },
{ 1785, 155, -1 },
{ 1786, 155, -1 },
{ 1787, 155, -1 },
{ 1788, 155, -1 },
{ 1789, 155, -1 },
{ 1790, 155, -1 },
{ 1791, 155, -1 },
{ 1792, 155, -1 },
{ 1793, 155, -1 },
{ 1780, 211, -1 },
{ 1781, 211, -1 },
{ 1782, 211, -1 },
{ 1783, 211, -1 },
{ 1784, 211, -1 },
{ 1785, 211, -1 },
{ 1786, 211, -1 },
{ 1787, 211, -1 },
{ 1788, 211, -1 },
{ 1789, 211, -1 },
{ 1790, 211, -1 },
{ 1791, 211, -1 },
{ 1792, 211, -1 },
{ 1793, 211, -1 },
{ 1780, 143, -1 },
{ 1781, 143, -1 },
{ 1782, 143, -1 },
{ 1783, 143, -1 },
{ 1784, 143, -1 },
{ 1785, 143, -1 },
{ 1786, 143, -1 },
{ 1787, 143, -1 },
{ 1788, 143, -1 },
{ 1789, 143, -1 },
{ 1790, 143, -1 },
{ 1791, 143, -1 },
{ 1792, 143, -1 },
{ 1793, 143, -1 },
{ 1780, 69, -1 },
{ 1781, 69, -1 },
{ 1782, 69, -1 },
{ 1783, 69, -1 },
{ 1784, 69, -1 },
{ 1785, 69, -1 },
{ 1786, 69, -1 },
{ 1787, 69, -1 },
{ 1788, 69, -1 },
{ 1789, 69, -1 },
{ 1790, 69, -1 },
{ 1791, 69, -1 },
{ 1792, 69, -1 },
{ 1793, 69, -1 },
{ 1714, 238, -1 },
{ 1715, 238, -1 },
{ 1716, 238, -1 },
{ 1717, 238, -1 },
{ 1718, 238, -1 },
{ 1719, 238, -1 },
{ 1720, 238, -1 },
{ 1721, 238, -1 },
{ 1722, 238, -1 },
{ 1723, 238, -1 },
{ 1724, 238, -1 },
{ 1725, 238, -1 },
{ 1726, 238, -1 },
{ 1727, 238, -1 },
{ 1728, 238, -1 },
{ 1729, 238, -1 },
{ 1730, 238, -1 },
{ 1731, 238, -1 },
{ 1732, 238, -1 },
{ 1733, 238, -1 },
{ 1734, 238, -1 },
{ 1735, 238, -1 },
{ 1736, 238, -1 },
{ 1737, 238, -1 },
{ 1738, 238, -1 },
{ 1740, 238, -1 },
{ 1741, 238, -1 },
{ 1742, 238, -1 },
{ 1744, 238, -1 },
{ 1745, 238, -1 },
{ 1746, 238, -1 },
{ 1747, 238, -1 },
{ 1748, 238, -1 },
{ 1749, 238, -1 },
{ 1750, 238, -1 },
{ 1751, 238, -1 },
{ 1752, 238, -1 },
{ 1753, 238, -1 },
{ 1754, 238, -1 },
{ 1755, 238, -1 },
{ 1756, 238, -1 },
{ 1757, 238, -1 },
{ 1758, 238, -1 },
{ 1714, 367, -1 },
{ 1715, 367, -1 },
{ 1716, 367, -1 },
{ 1717, 367, -1 },
{ 1718, 367, -1 },
{ 1719, 367, -1 },
{ 1720, 367, -1 },
{ 1721, 367, -1 },
{ 1722, 367, -1 },
{ 1723, 367, -1 },
{ 1724, 367, -1 },
{ 1725, 367, -1 },
{ 1726, 367, -1 },
{ 1727, 367, -1 },
{ 1728, 367, -1 },
{ 1729, 367, -1 },
{ 1730, 367, -1 },
{ 1731, 367, -1 },
{ 1732, 367, -1 },
{ 1733, 367, -1 },
{ 1734, 367, -1 },
{ 1735, 367, -1 },
{ 1736, 367, -1 },
{ 1737, 367, -1 },
{ 1738, 367, -1 },
{ 1740, 367, -1 },
{ 1741, 367, -1 },
{ 1742, 367, -1 },
{ 1744, 367, -1 },
{ 1745, 367, -1 },
{ 1746, 367, -1 },
{ 1747, 367, -1 },
{ 1748, 367, -1 },
{ 1749, 367, -1 },
{ 1750, 367, -1 },
{ 1751, 367, -1 },
{ 1752, 367, -1 },
{ 1753, 367, -1 },
{ 1754, 367, -1 },
{ 1755, 367, -1 },
{ 1756, 367, -1 },
{ 1757, 367, -1 },
{ 1758, 367, -1 },
{ 1714, 155, -1 },
{ 1715, 155, -1 },
{ 1716, 155, -1 },
{ 1717, 155, -1 },
{ 1718, 155, -1 },
{ 1719, 155, -1 },
{ 1720, 155, -1 },
{ 1721, 155, -1 },
{ 1722, 155, -1 },
{ 1723, 155, -1 },
{ 1724, 155, -1 },
{ 1725, 155, -1 },
{ 1726, 155, -1 },
{ 1727, 155, -1 },
{ 1728, 155, -1 },
{ 1729, 155, -1 },
{ 1730, 155, -1 },
{ 1731, 155, -1 },
{ 1732, 155, -1 },
{ 1733, 155, -1 },
{ 1734, 155, -1 },
{ 1735, 155, -1 },
{ 1736, 155, -1 },
{ 1737, 155, -1 },
{ 1738, 155, -1 },
{ 1740, 155, -1 },
{ 1741, 155, -1 },
{ 1742, 155, -1 },
{ 1744, 155, -1 },
{ 1745, 155, -1 },
{ 1746, 155, -1 },
{ 1747, 155, -1 },
{ 1748, 155, -1 },
{ 1749, 155, -1 },
{ 1750, 155, -1 },
{ 1751, 155, -1 },
{ 1752, 155, -1 },
{ 1753, 155, -1 },
{ 1754, 155, -1 },
{ 1755, 155, -1 },
{ 1756, 155, -1 },
{ 1757, 155, -1 },
{ 1758, 155, -1 },
{ 1714, 211, -1 },
{ 1715, 211, -1 },
{ 1716, 211, -1 },
{ 1717, 211, -1 },
{ 1718, 211, -1 },
{ 1719, 211, -1 },
{ 1720, 211, -1 },
{ 1721, 211, -1 },
{ 1722, 211, -1 },
{ 1723, 211, -1 },
{ 1724, 211, -1 },
{ 1725, 211, -1 },
{ 1726, 211, -1 },
{ 1727, 211, -1 },
{ 1728, 211, -1 },
{ 1729, 211, -1 },
{ 1730, 211, -1 },
{ 1731, 211, -1 },
{ 1732, 211, -1 },
{ 1733, 211, -1 },
{ 1734, 211, -1 },
{ 1735, 211, -1 },
{ 1736, 211, -1 },
{ 1737, 211, -1 },
{ 1738, 211, -1 },
{ 1740, 211, -1 },
{ 1741, 211, -1 },
{ 1742, 211, -1 },
{ 1744, 211, -1 },
{ 1745, 211, -1 },
{ 1746, 211, -1 },
{ 1747, 211, -1 },
{ 1748, 211, -1 },
{ 1749, 211, -1 },
{ 1750, 211, -1 },
{ 1751, 211, -1 },
{ 1752, 211, -1 },
{ 1753, 211, -1 },
{ 1754, 211, -1 },
{ 1755, 211, -1 },
{ 1756, 211, -1 },
{ 1757, 211, -1 },
{ 1758, 211, -1 },
{ 1714, 143, -1 },
{ 1715, 143, -1 },
{ 1716, 143, -1 },
{ 1717, 143, -1 },
{ 1718, 143, -1 },
{ 1719, 143, -1 },
{ 1720, 143, -1 },
{ 1721, 143, -1 },
{ 1722, 143, -1 },
{ 1723, 143, -1 },
{ 1724, 143, -1 },
{ 1725, 143, -1 },
{ 1726, 143, -1 },
{ 1727, 143, -1 },
{ 1728, 143, -1 },
{ 1729, 143, -1 },
{ 1730, 143, -1 },
{ 1731, 143, -1 },
{ 1732, 143, -1 },
{ 1733, 143, -1 },
{ 1734, 143, -1 },
{ 1735, 143, -1 },
{ 1736, 143, -1 },
{ 1737, 143, -1 },
{ 1738, 143, -1 },
{ 1740, 143, -1 },
{ 1741, 143, -1 },
{ 1742, 143, -1 },
{ 1744, 143, -1 },
{ 1745, 143, -1 },
{ 1746, 143, -1 },
{ 1747, 143, -1 },
{ 1748, 143, -1 },
{ 1749, 143, -1 },
{ 1750, 143, -1 },
{ 1751, 143, -1 },
{ 1752, 143, -1 },
{ 1753, 143, -1 },
{ 1754, 143, -1 },
{ 1755, 143, -1 },
{ 1756, 143, -1 },
{ 1757, 143, -1 },
{ 1758, 143, -1 },
{ 1714, 69, -1 },
{ 1715, 69, -1 },
{ 1716, 69, -1 },
{ 1717, 69, -1 },
{ 1718, 69, -1 },
{ 1719, 69, -1 },
{ 1720, 69, -1 },
{ 1721, 69, -1 },
{ 1722, 69, -1 },
{ 1723, 69, -1 },
{ 1724, 69, -1 },
{ 1725, 69, -1 },
{ 1726, 69, -1 },
{ 1727, 69, -1 },
{ 1728, 69, -1 },
{ 1729, 69, -1 },
{ 1730, 69, -1 },
{ 1731, 69, -1 },
{ 1732, 69, -1 },
{ 1733, 69, -1 },
{ 1734, 69, -1 },
{ 1735, 69, -1 },
{ 1736, 69, -1 },
{ 1737, 69, -1 },
{ 1738, 69, -1 },
{ 1740, 69, -1 },
{ 1741, 69, -1 },
{ 1742, 69, -1 },
{ 1744, 69, -1 },
{ 1745, 69, -1 },
{ 1746, 69, -1 },
{ 1747, 69, -1 },
{ 1748, 69, -1 },
{ 1749, 69, -1 },
{ 1750, 69, -1 },
{ 1751, 69, -1 },
{ 1752, 69, -1 },
{ 1753, 69, -1 },
{ 1754, 69, -1 },
{ 1755, 69, -1 },
{ 1756, 69, -1 },
{ 1757, 69, -1 },
{ 1758, 69, -1 },
{ 1811, 240, -1 },
{ 1812, 240, -1 },
{ 1813, 240, -1 },
{ 1811, 354, -1 },
{ 1812, 354, -1 },
{ 1813, 354, -1 },
{ 1811, 366, -1 },
{ 1812, 366, -1 },
{ 1813, 366, -1 },
{ 1811, 40, -1 },
{ 1812, 40, -1 },
{ 1813, 40, -1 },
{ 1811, 2, -1 },
{ 1812, 2, -1 },
{ 1813, 2, -1 },
{ 1811, 125, -1 },
{ 1812, 125, -1 },
{ 1813, 125, -1 },
{ 1811, 137, -1 },
{ 1812, 137, -1 },
{ 1813, 137, -1 },
{ 1811, 138, -1 },
{ 1812, 138, -1 },
{ 1813, 138, -1 },
{ 1811, 1, -1 },
{ 1812, 1, -1 },
{ 1813, 1, -1 },
{ 1811, 117, -1 },
{ 1812, 117, -1 },
{ 1813, 117, -1 },
{ 1811, 116, -1 },
{ 1812, 116, -1 },
{ 1813, 116, -1 },
{ 1811, 36, -1 },
{ 1812, 36, -1 },
{ 1813, 36, -1 },
{ 1811, 130, -1 },
{ 1812, 130, -1 },
{ 1813, 130, -1 },
{ 1811, 193, -1 },
{ 1812, 193, -1 },
{ 1813, 193, -1 },
{ 1811, 249, -1 },
{ 1812, 249, -1 },
{ 1813, 249, -1 },
{ 1811, 194, -1 },
{ 1812, 194, -1 },
{ 1813, 194, -1 },
{ 1811, 312, -1 },
{ 1812, 312, -1 },
{ 1813, 312, -1 },
{ 1811, 333, -1 },
{ 1812, 333, -1 },
{ 1813, 333, -1 },
{ 1811, 287, -1 },
{ 1812, 287, -1 },
{ 1813, 287, -1 },
{ 1811, 334, -1 },
{ 1812, 334, -1 },
{ 1813, 334, -1 },
{ 1811, 308, -1 },
{ 1812, 308, -1 },
{ 1813, 308, -1 },
{ 1811, 307, -1 },
{ 1812, 307, -1 },
{ 1813, 307, -1 },
{ 1811, 313, -1 },
{ 1812, 313, -1 },
{ 1813, 313, -1 },
{ 1811, 309, -1 },
{ 1812, 309, -1 },
{ 1813, 309, -1 },
{ 1811, 311, -1 },
{ 1812, 311, -1 },
{ 1813, 311, -1 },
{ 1811, 310, -1 },
{ 1812, 310, -1 },
{ 1813, 310, -1 },
{ 1811, 318, -1 },
{ 1812, 318, -1 },
{ 1813, 318, -1 },
{ 1811, 320, -1 },
{ 1812, 320, -1 },
{ 1813, 320, -1 },
{ 1811, 322, -1 },
{ 1812, 322, -1 },
{ 1813, 322, -1 },
{ 1811, 325, -1 },
{ 1812, 325, -1 },
{ 1813, 325, -1 },
{ 1811, 323, -1 },
{ 1812, 323, -1 },
{ 1813, 323, -1 },
{ 1811, 205, -1 },
{ 1812, 205, -1 },
{ 1813, 205, -1 },
{ 1811, 206, -1 },
{ 1812, 206, -1 },
{ 1813, 206, -1 },
{ 1811, 204, -1 },
{ 1812, 204, -1 },
{ 1813, 204, -1 },
{ 1811, 191, -1 },
{ 1812, 191, -1 },
{ 1813, 191, -1 },
{ 1811, 189, -1 },
{ 1812, 189, -1 },
{ 1813, 189, -1 },
{ 1811, 190, -1 },
{ 1812, 190, -1 },
{ 1813, 190, -1 },
{ 1804, 240, -1 },
{ 1805, 240, -1 },
{ 1806, 240, -1 },
{ 1807, 240, -1 },
{ 1810, 240, -1 },
{ 1804, 354, -1 },
{ 1805, 354, -1 },
{ 1806, 354, -1 },
{ 1807, 354, -1 },
{ 1810, 354, -1 },
{ 1804, 366, -1 },
{ 1805, 366, -1 },
{ 1806, 366, -1 },
{ 1807, 366, -1 },
{ 1810, 366, -1 },
{ 1804, 40, -1 },
{ 1805, 40, -1 },
{ 1806, 40, -1 },
{ 1807, 40, -1 },
{ 1810, 40, -1 },
{ 1804, 2, -1 },
{ 1805, 2, -1 },
{ 1806, 2, -1 },
{ 1807, 2, -1 },
{ 1810, 2, -1 },
{ 1804, 125, -1 },
{ 1805, 125, -1 },
{ 1806, 125, -1 },
{ 1807, 125, -1 },
{ 1810, 125, -1 },
{ 1804, 137, -1 },
{ 1805, 137, -1 },
{ 1806, 137, -1 },
{ 1807, 137, -1 },
{ 1810, 137, -1 },
{ 1804, 138, -1 },
{ 1805, 138, -1 },
{ 1806, 138, -1 },
{ 1807, 138, -1 },
{ 1810, 138, -1 },
{ 1804, 1, -1 },
{ 1805, 1, -1 },
{ 1806, 1, -1 },
{ 1807, 1, -1 },
{ 1810, 1, -1 },
{ 1804, 117, -1 },
{ 1805, 117, -1 },
{ 1806, 117, -1 },
{ 1807, 117, -1 },
{ 1810, 117, -1 },
{ 1804, 116, -1 },
{ 1805, 116, -1 },
{ 1806, 116, -1 },
{ 1807, 116, -1 },
{ 1810, 116, -1 },
{ 1804, 36, -1 },
{ 1805, 36, -1 },
{ 1806, 36, -1 },
{ 1807, 36, -1 },
{ 1810, 36, -1 },
{ 1804, 130, -1 },
{ 1805, 130, -1 },
{ 1806, 130, -1 },
{ 1807, 130, -1 },
{ 1810, 130, -1 },
{ 1804, 193, -1 },
{ 1805, 193, -1 },
{ 1806, 193, -1 },
{ 1807, 193, -1 },
{ 1810, 193, -1 },
{ 1804, 249, -1 },
{ 1805, 249, -1 },
{ 1806, 249, -1 },
{ 1807, 249, -1 },
{ 1810, 249, -1 },
{ 1804, 194, -1 },
{ 1805, 194, -1 },
{ 1806, 194, -1 },
{ 1807, 194, -1 },
{ 1810, 194, -1 },
{ 1804, 312, -1 },
{ 1805, 312, -1 },
{ 1806, 312, -1 },
{ 1807, 312, -1 },
{ 1810, 312, -1 },
{ 1804, 333, -1 },
{ 1805, 333, -1 },
{ 1806, 333, -1 },
{ 1807, 333, -1 },
{ 1810, 333, -1 },
{ 1804, 287, -1 },
{ 1805, 287, -1 },
{ 1806, 287, -1 },
{ 1807, 287, -1 },
{ 1810, 287, -1 },
{ 1804, 334, -1 },
{ 1805, 334, -1 },
{ 1806, 334, -1 },
{ 1807, 334, -1 },
{ 1810, 334, -1 },
{ 1804, 308, -1 },
{ 1805, 308, -1 },
{ 1806, 308, -1 },
{ 1807, 308, -1 },
{ 1810, 308, -1 },
{ 1804, 307, -1 },
{ 1805, 307, -1 },
{ 1806, 307, -1 },
{ 1807, 307, -1 },
{ 1810, 307, -1 },
{ 1804, 313, -1 },
{ 1805, 313, -1 },
{ 1806, 313, -1 },
{ 1807, 313, -1 },
{ 1810, 313, -1 },
{ 1804, 309, -1 },
{ 1805, 309, -1 },
{ 1806, 309, -1 },
{ 1807, 309, -1 },
{ 1810, 309, -1 },
{ 1804, 311, -1 },
{ 1805, 311, -1 },
{ 1806, 311, -1 },
{ 1807, 311, -1 },
{ 1810, 311, -1 },
{ 1804, 310, -1 },
{ 1805, 310, -1 },
{ 1806, 310, -1 },
{ 1807, 310, -1 },
{ 1810, 310, -1 },
{ 1804, 318, -1 },
{ 1805, 318, -1 },
{ 1806, 318, -1 },
{ 1807, 318, -1 },
{ 1810, 318, -1 },
{ 1804, 320, -1 },
{ 1805, 320, -1 },
{ 1806, 320, -1 },
{ 1807, 320, -1 },
{ 1810, 320, -1 },
{ 1804, 322, -1 },
{ 1805, 322, -1 },
{ 1806, 322, -1 },
{ 1807, 322, -1 },
{ 1810, 322, -1 },
{ 1804, 325, -1 },
{ 1805, 325, -1 },
{ 1806, 325, -1 },
{ 1807, 325, -1 },
{ 1810, 325, -1 },
{ 1804, 323, -1 },
{ 1805, 323, -1 },
{ 1806, 323, -1 },
{ 1807, 323, -1 },
{ 1810, 323, -1 },
{ 1804, 205, -1 },
{ 1805, 205, -1 },
{ 1806, 205, -1 },
{ 1807, 205, -1 },
{ 1810, 205, -1 },
{ 1804, 206, -1 },
{ 1805, 206, -1 },
{ 1806, 206, -1 },
{ 1807, 206, -1 },
{ 1810, 206, -1 },
{ 1804, 204, -1 },
{ 1805, 204, -1 },
{ 1806, 204, -1 },
{ 1807, 204, -1 },
{ 1810, 204, -1 },
{ 1804, 191, -1 },
{ 1805, 191, -1 },
{ 1806, 191, -1 },
{ 1807, 191, -1 },
{ 1810, 191, -1 },
{ 1804, 189, -1 },
{ 1805, 189, -1 },
{ 1806, 189, -1 },
{ 1807, 189, -1 },
{ 1810, 189, -1 },
{ 1804, 190, -1 },
{ 1805, 190, -1 },
{ 1806, 190, -1 },
{ 1807, 190, -1 },
{ 1810, 190, -1 },
{ 1713, 125, -1 },
{ 1713, 137, -1 },
{ 1713, 138, -1 },
{ 1712, 1, -1 },
{ 1713, 1, -1 },
{ 1712, 36, -1 },
{ 1713, 36, -1 },
{ 1713, 130, -1 },
{ 1814, 240, -1 },
{ 1815, 240, -1 },
{ 1816, 240, -1 },
{ 1814, 40, -1 },
{ 1815, 40, -1 },
{ 1816, 40, -1 },
{ 1814, 2, -1 },
{ 1815, 2, -1 },
{ 1816, 2, -1 },
{ 1815, 125, -1 },
{ 1816, 125, -1 },
{ 1815, 137, -1 },
{ 1816, 137, -1 },
{ 1815, 138, -1 },
{ 1816, 138, -1 },
{ 1814, 1, -1 },
{ 1815, 1, -1 },
{ 1816, 1, -1 },
{ 1814, 36, -1 },
{ 1815, 36, -1 },
{ 1816, 36, -1 },
{ 1815, 130, -1 },
{ 1816, 130, -1 },
{ 1814, 287, -1 },
{ 1815, 287, -1 },
{ 1816, 287, -1 },
{ 1814, 318, -1 },
{ 1815, 318, -1 },
{ 1816, 318, -1 },
{ 1814, 323, -1 },
{ 1815, 323, -1 },
{ 1816, 323, -1 },
{ 1822, 238, -1 },
{ 1823, 238, -1 },
{ 1824, 238, -1 },
{ 1825, 238, -1 },
{ 1826, 238, -1 },
{ 1827, 238, -1 },
{ 1822, 367, -1 },
{ 1823, 367, -1 },
{ 1824, 367, -1 },
{ 1825, 367, -1 },
{ 1826, 367, -1 },
{ 1827, 367, -1 },
{ 1822, 155, -1 },
{ 1823, 155, -1 },
{ 1824, 155, -1 },
{ 1825, 155, -1 },
{ 1826, 155, -1 },
{ 1827, 155, -1 },
{ 1822, 211, -1 },
{ 1823, 211, -1 },
{ 1824, 211, -1 },
{ 1825, 211, -1 },
{ 1826, 211, -1 },
{ 1827, 211, -1 },
{ 1822, 143, -1 },
{ 1823, 143, -1 },
{ 1824, 143, -1 },
{ 1825, 143, -1 },
{ 1826, 143, -1 },
{ 1827, 143, -1 },
{ 1822, 69, -1 },
{ 1823, 69, -1 },
{ 1824, 69, -1 },
{ 1825, 69, -1 },
{ 1826, 69, -1 },
{ 1827, 69, -1 },
{ 1878, 354, -1 },
{ 1879, 354, -1 },
{ 1880, 354, -1 },
{ 1881, 354, -1 },
{ 1882, 354, -1 },
{ 1883, 354, -1 },
{ 1884, 354, -1 },
{ 1878, 366, -1 },
{ 1879, 366, -1 },
{ 1880, 366, -1 },
{ 1881, 366, -1 },
{ 1882, 366, -1 },
{ 1883, 366, -1 },
{ 1884, 366, -1 },
{ 1878, 1, -1 },
{ 1879, 1, -1 },
{ 1880, 1, -1 },
{ 1881, 1, -1 },
{ 1882, 1, -1 },
{ 1883, 1, -1 },
{ 1884, 1, -1 },
{ 1878, 117, -1 },
{ 1879, 117, -1 },
{ 1880, 117, -1 },
{ 1881, 117, -1 },
{ 1882, 117, -1 },
{ 1883, 117, -1 },
{ 1884, 117, -1 },
{ 1878, 116, -1 },
{ 1879, 116, -1 },
{ 1880, 116, -1 },
{ 1881, 116, -1 },
{ 1882, 116, -1 },
{ 1883, 116, -1 },
{ 1884, 116, -1 },
{ 1878, 36, -1 },
{ 1879, 36, -1 },
{ 1880, 36, -1 },
{ 1881, 36, -1 },
{ 1882, 36, -1 },
{ 1883, 36, -1 },
{ 1884, 36, -1 },
{ 1878, 193, -1 },
{ 1879, 193, -1 },
{ 1880, 193, -1 },
{ 1881, 193, -1 },
{ 1882, 193, -1 },
{ 1883, 193, -1 },
{ 1884, 193, -1 },
{ 1878, 249, -1 },
{ 1879, 249, -1 },
{ 1880, 249, -1 },
{ 1881, 249, -1 },
{ 1882, 249, -1 },
{ 1883, 249, -1 },
{ 1884, 249, -1 },
{ 1878, 194, -1 },
{ 1879, 194, -1 },
{ 1880, 194, -1 },
{ 1881, 194, -1 },
{ 1882, 194, -1 },
{ 1883, 194, -1 },
{ 1884, 194, -1 },
{ 1878, 205, -1 },
{ 1879, 205, -1 },
{ 1880, 205, -1 },
{ 1881, 205, -1 },
{ 1882, 205, -1 },
{ 1883, 205, -1 },
{ 1884, 205, -1 },
{ 1878, 206, -1 },
{ 1879, 206, -1 },
{ 1880, 206, -1 },
{ 1881, 206, -1 },
{ 1882, 206, -1 },
{ 1883, 206, -1 },
{ 1884, 206, -1 },
{ 1878, 204, -1 },
{ 1879, 204, -1 },
{ 1880, 204, -1 },
{ 1881, 204, -1 },
{ 1882, 204, -1 },
{ 1883, 204, -1 },
{ 1884, 204, -1 },
{ 1878, 191, -1 },
{ 1879, 191, -1 },
{ 1880, 191, -1 },
{ 1881, 191, -1 },
{ 1882, 191, -1 },
{ 1883, 191, -1 },
{ 1884, 191, -1 },
{ 1878, 189, -1 },
{ 1879, 189, -1 },
{ 1880, 189, -1 },
{ 1881, 189, -1 },
{ 1882, 189, -1 },
{ 1883, 189, -1 },
{ 1884, 189, -1 },
{ 1878, 190, -1 },
{ 1879, 190, -1 },
{ 1880, 190, -1 },
{ 1881, 190, -1 },
{ 1882, 190, -1 },
{ 1883, 190, -1 },
{ 1884, 190, -1 },
{ 1829, 354, -1 },
{ 1830, 354, -1 },
{ 1831, 354, -1 },
{ 1832, 354, -1 },
{ 1833, 354, -1 },
{ 1834, 354, -1 },
{ 1835, 354, -1 },
{ 1836, 354, -1 },
{ 1837, 354, -1 },
{ 1838, 354, -1 },
{ 1839, 354, -1 },
{ 1840, 354, -1 },
{ 1841, 354, -1 },
{ 1842, 354, -1 },
{ 1843, 354, -1 },
{ 1844, 354, -1 },
{ 1845, 354, -1 },
{ 1846, 354, -1 },
{ 1848, 354, -1 },
{ 1849, 354, -1 },
{ 1850, 354, -1 },
{ 1851, 354, -1 },
{ 1852, 354, -1 },
{ 1853, 354, -1 },
{ 1854, 354, -1 },
{ 1855, 354, -1 },
{ 1856, 354, -1 },
{ 1857, 354, -1 },
{ 1858, 354, -1 },
{ 1859, 354, -1 },
{ 1860, 354, -1 },
{ 1861, 354, -1 },
{ 1862, 354, -1 },
{ 1863, 354, -1 },
{ 1864, 354, -1 },
{ 1865, 354, -1 },
{ 1866, 354, -1 },
{ 1867, 354, -1 },
{ 1868, 354, -1 },
{ 1869, 354, -1 },
{ 1870, 354, -1 },
{ 1871, 354, -1 },
{ 1872, 354, -1 },
{ 1873, 354, -1 },
{ 1874, 354, -1 },
{ 1877, 354, -1 },
{ 1828, 366, -1 },
{ 1829, 366, -1 },
{ 1830, 366, -1 },
{ 1831, 366, -1 },
{ 1832, 366, -1 },
{ 1833, 366, -1 },
{ 1834, 366, -1 },
{ 1835, 366, -1 },
{ 1836, 366, -1 },
{ 1837, 366, -1 },
{ 1838, 366, -1 },
{ 1839, 366, -1 },
{ 1840, 366, -1 },
{ 1841, 366, -1 },
{ 1842, 366, -1 },
{ 1843, 366, -1 },
{ 1844, 366, -1 },
{ 1845, 366, -1 },
{ 1846, 366, -1 },
{ 1847, 366, -1 },
{ 1848, 366, -1 },
{ 1849, 366, -1 },
{ 1850, 366, -1 },
{ 1851, 366, -1 },
{ 1852, 366, -1 },
{ 1853, 366, -1 },
{ 1854, 366, -1 },
{ 1855, 366, -1 },
{ 1856, 366, -1 },
{ 1857, 366, -1 },
{ 1858, 366, -1 },
{ 1859, 366, -1 },
{ 1860, 366, -1 },
{ 1861, 366, -1 },
{ 1862, 366, -1 },
{ 1863, 366, -1 },
{ 1864, 366, -1 },
{ 1865, 366, -1 },
{ 1866, 366, -1 },
{ 1867, 366, -1 },
{ 1868, 366, -1 },
{ 1869, 366, -1 },
{ 1870, 366, -1 },
{ 1871, 366, -1 },
{ 1872, 366, -1 },
{ 1873, 366, -1 },
{ 1874, 366, -1 },
{ 1875, 366, -1 },
{ 1876, 366, -1 },
{ 1877, 366, -1 },
{ 1828, 1, -1 },
{ 1829, 1, -1 },
{ 1830, 1, -1 },
{ 1831, 1, -1 },
{ 1832, 1, -1 },
{ 1833, 1, -1 },
{ 1834, 1, -1 },
{ 1835, 1, -1 },
{ 1836, 1, -1 },
{ 1837, 1, -1 },
{ 1838, 1, -1 },
{ 1839, 1, -1 },
{ 1840, 1, -1 },
{ 1841, 1, -1 },
{ 1842, 1, -1 },
{ 1843, 1, -1 },
{ 1844, 1, -1 },
{ 1845, 1, -1 },
{ 1846, 1, -1 },
{ 1848, 1, -1 },
{ 1849, 1, -1 },
{ 1850, 1, -1 },
{ 1852, 1, -1 },
{ 1854, 1, -1 },
{ 1855, 1, -1 },
{ 1856, 1, -1 },
{ 1857, 1, -1 },
{ 1858, 1, -1 },
{ 1859, 1, -1 },
{ 1860, 1, -1 },
{ 1861, 1, -1 },
{ 1862, 1, -1 },
{ 1863, 1, -1 },
{ 1864, 1, -1 },
{ 1865, 1, -1 },
{ 1866, 1, -1 },
{ 1867, 1, -1 },
{ 1868, 1, -1 },
{ 1869, 1, -1 },
{ 1870, 1, -1 },
{ 1871, 1, -1 },
{ 1872, 1, -1 },
{ 1873, 1, -1 },
{ 1874, 1, -1 },
{ 1876, 1, -1 },
{ 1877, 1, -1 },
{ 1828, 117, -1 },
{ 1829, 117, -1 },
{ 1830, 117, -1 },
{ 1831, 117, -1 },
{ 1832, 117, -1 },
{ 1833, 117, -1 },
{ 1834, 117, -1 },
{ 1835, 117, -1 },
{ 1836, 117, -1 },
{ 1837, 117, -1 },
{ 1838, 117, -1 },
{ 1839, 117, -1 },
{ 1840, 117, -1 },
{ 1841, 117, -1 },
{ 1842, 117, -1 },
{ 1843, 117, -1 },
{ 1844, 117, -1 },
{ 1845, 117, -1 },
{ 1846, 117, -1 },
{ 1847, 117, -1 },
{ 1848, 117, -1 },
{ 1849, 117, -1 },
{ 1850, 117, -1 },
{ 1851, 117, -1 },
{ 1852, 117, -1 },
{ 1853, 117, -1 },
{ 1854, 117, -1 },
{ 1855, 117, -1 },
{ 1856, 117, -1 },
{ 1857, 117, -1 },
{ 1858, 117, -1 },
{ 1859, 117, -1 },
{ 1860, 117, -1 },
{ 1861, 117, -1 },
{ 1862, 117, -1 },
{ 1863, 117, -1 },
{ 1864, 117, -1 },
{ 1865, 117, -1 },
{ 1866, 117, -1 },
{ 1867, 117, -1 },
{ 1868, 117, -1 },
{ 1869, 117, -1 },
{ 1870, 117, -1 },
{ 1871, 117, -1 },
{ 1872, 117, -1 },
{ 1873, 117, -1 },
{ 1874, 117, -1 },
{ 1875, 117, -1 },
{ 1876, 117, -1 },
{ 1877, 117, -1 },
{ 1828, 116, -1 },
{ 1829, 116, -1 },
{ 1830, 116, -1 },
{ 1831, 116, -1 },
{ 1832, 116, -1 },
{ 1833, 116, -1 },
{ 1834, 116, -1 },
{ 1835, 116, -1 },
{ 1836, 116, -1 },
{ 1837, 116, -1 },
{ 1838, 116, -1 },
{ 1839, 116, -1 },
{ 1840, 116, -1 },
{ 1841, 116, -1 },
{ 1842, 116, -1 },
{ 1843, 116, -1 },
{ 1844, 116, -1 },
{ 1845, 116, -1 },
{ 1846, 116, -1 },
{ 1847, 116, -1 },
{ 1848, 116, -1 },
{ 1849, 116, -1 },
{ 1850, 116, -1 },
{ 1851, 116, -1 },
{ 1852, 116, -1 },
{ 1853, 116, -1 },
{ 1854, 116, -1 },
{ 1855, 116, -1 },
{ 1856, 116, -1 },
{ 1857, 116, -1 },
{ 1858, 116, -1 },
{ 1859, 116, -1 },
{ 1860, 116, -1 },
{ 1861, 116, -1 },
{ 1862, 116, -1 },
{ 1863, 116, -1 },
{ 1864, 116, -1 },
{ 1865, 116, -1 },
{ 1866, 116, -1 },
{ 1867, 116, -1 },
{ 1868, 116, -1 },
{ 1869, 116, -1 },
{ 1870, 116, -1 },
{ 1871, 116, -1 },
{ 1872, 116, -1 },
{ 1873, 116, -1 },
{ 1874, 116, -1 },
{ 1875, 116, -1 },
{ 1876, 116, -1 },
{ 1877, 116, -1 },
{ 1828, 36, -1 },
{ 1829, 36, -1 },
{ 1830, 36, -1 },
{ 1831, 36, -1 },
{ 1832, 36, -1 },
{ 1833, 36, -1 },
{ 1834, 36, -1 },
{ 1835, 36, -1 },
{ 1836, 36, -1 },
{ 1837, 36, -1 },
{ 1838, 36, -1 },
{ 1839, 36, -1 },
{ 1840, 36, -1 },
{ 1841, 36, -1 },
{ 1842, 36, -1 },
{ 1843, 36, -1 },
{ 1844, 36, -1 },
{ 1845, 36, -1 },
{ 1846, 36, -1 },
{ 1847, 36, -1 },
{ 1848, 36, -1 },
{ 1849, 36, -1 },
{ 1850, 36, -1 },
{ 1851, 36, -1 },
{ 1852, 36, -1 },
{ 1853, 36, -1 },
{ 1854, 36, -1 },
{ 1855, 36, -1 },
{ 1856, 36, -1 },
{ 1857, 36, -1 },
{ 1858, 36, -1 },
{ 1859, 36, -1 },
{ 1860, 36, -1 },
{ 1861, 36, -1 },
{ 1862, 36, -1 },
{ 1863, 36, -1 },
{ 1864, 36, -1 },
{ 1865, 36, -1 },
{ 1866, 36, -1 },
{ 1867, 36, -1 },
{ 1868, 36, -1 },
{ 1869, 36, -1 },
{ 1870, 36, -1 },
{ 1871, 36, -1 },
{ 1872, 36, -1 },
{ 1873, 36, -1 },
{ 1874, 36, -1 },
{ 1875, 36, -1 },
{ 1876, 36, -1 },
{ 1877, 36, -1 },
{ 1828, 193, -1 },
{ 1829, 193, -1 },
{ 1830, 193, -1 },
{ 1831, 193, -1 },
{ 1832, 193, -1 },
{ 1833, 193, -1 },
{ 1834, 193, -1 },
{ 1835, 193, -1 },
{ 1836, 193, -1 },
{ 1837, 193, -1 },
{ 1838, 193, -1 },
{ 1839, 193, -1 },
{ 1840, 193, -1 },
{ 1841, 193, -1 },
{ 1842, 193, -1 },
{ 1843, 193, -1 },
{ 1844, 193, -1 },
{ 1845, 193, -1 },
{ 1846, 193, -1 },
{ 1848, 193, -1 },
{ 1849, 193, -1 },
{ 1850, 193, -1 },
{ 1852, 193, -1 },
{ 1854, 193, -1 },
{ 1855, 193, -1 },
{ 1856, 193, -1 },
{ 1857, 193, -1 },
{ 1858, 193, -1 },
{ 1859, 193, -1 },
{ 1860, 193, -1 },
{ 1861, 193, -1 },
{ 1862, 193, -1 },
{ 1863, 193, -1 },
{ 1864, 193, -1 },
{ 1865, 193, -1 },
{ 1866, 193, -1 },
{ 1867, 193, -1 },
{ 1868, 193, -1 },
{ 1869, 193, -1 },
{ 1870, 193, -1 },
{ 1871, 193, -1 },
{ 1872, 193, -1 },
{ 1873, 193, -1 },
{ 1874, 193, -1 },
{ 1875, 193, -1 },
{ 1829, 249, -1 },
{ 1830, 249, -1 },
{ 1831, 249, -1 },
{ 1832, 249, -1 },
{ 1833, 249, -1 },
{ 1834, 249, -1 },
{ 1835, 249, -1 },
{ 1836, 249, -1 },
{ 1837, 249, -1 },
{ 1838, 249, -1 },
{ 1839, 249, -1 },
{ 1840, 249, -1 },
{ 1841, 249, -1 },
{ 1842, 249, -1 },
{ 1843, 249, -1 },
{ 1844, 249, -1 },
{ 1845, 249, -1 },
{ 1846, 249, -1 },
{ 1848, 249, -1 },
{ 1849, 249, -1 },
{ 1850, 249, -1 },
{ 1851, 249, -1 },
{ 1852, 249, -1 },
{ 1854, 249, -1 },
{ 1855, 249, -1 },
{ 1856, 249, -1 },
{ 1857, 249, -1 },
{ 1858, 249, -1 },
{ 1859, 249, -1 },
{ 1860, 249, -1 },
{ 1861, 249, -1 },
{ 1862, 249, -1 },
{ 1863, 249, -1 },
{ 1864, 249, -1 },
{ 1865, 249, -1 },
{ 1866, 249, -1 },
{ 1867, 249, -1 },
{ 1868, 249, -1 },
{ 1869, 249, -1 },
{ 1871, 249, -1 },
{ 1872, 249, -1 },
{ 1873, 249, -1 },
{ 1874, 249, -1 },
{ 1877, 249, -1 },
{ 1829, 194, -1 },
{ 1830, 194, -1 },
{ 1831, 194, -1 },
{ 1832, 194, -1 },
{ 1833, 194, -1 },
{ 1834, 194, -1 },
{ 1835, 194, -1 },
{ 1836, 194, -1 },
{ 1837, 194, -1 },
{ 1838, 194, -1 },
{ 1839, 194, -1 },
{ 1840, 194, -1 },
{ 1841, 194, -1 },
{ 1842, 194, -1 },
{ 1843, 194, -1 },
{ 1844, 194, -1 },
{ 1845, 194, -1 },
{ 1846, 194, -1 },
{ 1848, 194, -1 },
{ 1849, 194, -1 },
{ 1850, 194, -1 },
{ 1851, 194, -1 },
{ 1852, 194, -1 },
{ 1853, 194, -1 },
{ 1854, 194, -1 },
{ 1855, 194, -1 },
{ 1856, 194, -1 },
{ 1857, 194, -1 },
{ 1858, 194, -1 },
{ 1859, 194, -1 },
{ 1860, 194, -1 },
{ 1861, 194, -1 },
{ 1862, 194, -1 },
{ 1863, 194, -1 },
{ 1864, 194, -1 },
{ 1865, 194, -1 },
{ 1866, 194, -1 },
{ 1867, 194, -1 },
{ 1868, 194, -1 },
{ 1869, 194, -1 },
{ 1870, 194, -1 },
{ 1872, 194, -1 },
{ 1873, 194, -1 },
{ 1874, 194, -1 },
{ 1875, 194, -1 },
{ 1876, 194, -1 },
{ 1877, 194, -1 },
{ 1828, 205, -1 },
{ 1829, 205, -1 },
{ 1831, 205, -1 },
{ 1832, 205, -1 },
{ 1833, 205, -1 },
{ 1834, 205, -1 },
{ 1835, 205, -1 },
{ 1836, 205, -1 },
{ 1837, 205, -1 },
{ 1838, 205, -1 },
{ 1839, 205, -1 },
{ 1840, 205, -1 },
{ 1841, 205, -1 },
{ 1842, 205, -1 },
{ 1843, 205, -1 },
{ 1844, 205, -1 },
{ 1845, 205, -1 },
{ 1846, 205, -1 },
{ 1847, 205, -1 },
{ 1848, 205, -1 },
{ 1849, 205, -1 },
{ 1850, 205, -1 },
{ 1851, 205, -1 },
{ 1852, 205, -1 },
{ 1853, 205, -1 },
{ 1854, 205, -1 },
{ 1855, 205, -1 },
{ 1856, 205, -1 },
{ 1857, 205, -1 },
{ 1858, 205, -1 },
{ 1859, 205, -1 },
{ 1860, 205, -1 },
{ 1861, 205, -1 },
{ 1862, 205, -1 },
{ 1863, 205, -1 },
{ 1864, 205, -1 },
{ 1865, 205, -1 },
{ 1866, 205, -1 },
{ 1867, 205, -1 },
{ 1868, 205, -1 },
{ 1869, 205, -1 },
{ 1870, 205, -1 },
{ 1871, 205, -1 },
{ 1872, 205, -1 },
{ 1873, 205, -1 },
{ 1874, 205, -1 },
{ 1875, 205, -1 },
{ 1876, 205, -1 },
{ 1877, 205, -1 },
{ 1828, 206, -1 },
{ 1829, 206, -1 },
{ 1831, 206, -1 },
{ 1832, 206, -1 },
{ 1833, 206, -1 },
{ 1834, 206, -1 },
{ 1835, 206, -1 },
{ 1836, 206, -1 },
{ 1837, 206, -1 },
{ 1838, 206, -1 },
{ 1839, 206, -1 },
{ 1840, 206, -1 },
{ 1841, 206, -1 },
{ 1842, 206, -1 },
{ 1843, 206, -1 },
{ 1844, 206, -1 },
{ 1845, 206, -1 },
{ 1846, 206, -1 },
{ 1847, 206, -1 },
{ 1848, 206, -1 },
{ 1849, 206, -1 },
{ 1850, 206, -1 },
{ 1851, 206, -1 },
{ 1852, 206, -1 },
{ 1853, 206, -1 },
{ 1854, 206, -1 },
{ 1855, 206, -1 },
{ 1856, 206, -1 },
{ 1857, 206, -1 },
{ 1858, 206, -1 },
{ 1859, 206, -1 },
{ 1860, 206, -1 },
{ 1861, 206, -1 },
{ 1862, 206, -1 },
{ 1863, 206, -1 },
{ 1864, 206, -1 },
{ 1865, 206, -1 },
{ 1866, 206, -1 },
{ 1867, 206, -1 },
{ 1868, 206, -1 },
{ 1869, 206, -1 },
{ 1870, 206, -1 },
{ 1871, 206, -1 },
{ 1872, 206, -1 },
{ 1873, 206, -1 },
{ 1874, 206, -1 },
{ 1875, 206, -1 },
{ 1876, 206, -1 },
{ 1877, 206, -1 },
{ 1828, 204, -1 },
{ 1829, 204, -1 },
{ 1831, 204, -1 },
{ 1832, 204, -1 },
{ 1833, 204, -1 },
{ 1834, 204, -1 },
{ 1835, 204, -1 },
{ 1836, 204, -1 },
{ 1837, 204, -1 },
{ 1838, 204, -1 },
{ 1839, 204, -1 },
{ 1840, 204, -1 },
{ 1841, 204, -1 },
{ 1842, 204, -1 },
{ 1843, 204, -1 },
{ 1844, 204, -1 },
{ 1845, 204, -1 },
{ 1846, 204, -1 },
{ 1848, 204, -1 },
{ 1849, 204, -1 },
{ 1850, 204, -1 },
{ 1851, 204, -1 },
{ 1852, 204, -1 },
{ 1853, 204, -1 },
{ 1854, 204, -1 },
{ 1855, 204, -1 },
{ 1856, 204, -1 },
{ 1857, 204, -1 },
{ 1858, 204, -1 },
{ 1859, 204, -1 },
{ 1860, 204, -1 },
{ 1861, 204, -1 },
{ 1862, 204, -1 },
{ 1863, 204, -1 },
{ 1864, 204, -1 },
{ 1865, 204, -1 },
{ 1866, 204, -1 },
{ 1867, 204, -1 },
{ 1868, 204, -1 },
{ 1869, 204, -1 },
{ 1870, 204, -1 },
{ 1871, 204, -1 },
{ 1872, 204, -1 },
{ 1828, 191, -1 },
{ 1829, 191, -1 },
{ 1830, 191, -1 },
{ 1831, 191, -1 },
{ 1832, 191, -1 },
{ 1833, 191, -1 },
{ 1834, 191, -1 },
{ 1835, 191, -1 },
{ 1836, 191, -1 },
{ 1837, 191, -1 },
{ 1838, 191, -1 },
{ 1839, 191, -1 },
{ 1840, 191, -1 },
{ 1841, 191, -1 },
{ 1842, 191, -1 },
{ 1843, 191, -1 },
{ 1844, 191, -1 },
{ 1845, 191, -1 },
{ 1846, 191, -1 },
{ 1848, 191, -1 },
{ 1849, 191, -1 },
{ 1850, 191, -1 },
{ 1852, 191, -1 },
{ 1854, 191, -1 },
{ 1855, 191, -1 },
{ 1856, 191, -1 },
{ 1857, 191, -1 },
{ 1858, 191, -1 },
{ 1859, 191, -1 },
{ 1860, 191, -1 },
{ 1861, 191, -1 },
{ 1862, 191, -1 },
{ 1863, 191, -1 },
{ 1864, 191, -1 },
{ 1865, 191, -1 },
{ 1866, 191, -1 },
{ 1867, 191, -1 },
{ 1868, 191, -1 },
{ 1869, 191, -1 },
{ 1870, 191, -1 },
{ 1871, 191, -1 },
{ 1872, 191, -1 },
{ 1873, 191, -1 },
{ 1874, 191, -1 },
{ 1875, 191, -1 },
{ 1828, 189, -1 },
{ 1829, 189, -1 },
{ 1830, 189, -1 },
{ 1831, 189, -1 },
{ 1832, 189, -1 },
{ 1833, 189, -1 },
{ 1834, 189, -1 },
{ 1835, 189, -1 },
{ 1836, 189, -1 },
{ 1837, 189, -1 },
{ 1838, 189, -1 },
{ 1839, 189, -1 },
{ 1840, 189, -1 },
{ 1841, 189, -1 },
{ 1842, 189, -1 },
{ 1843, 189, -1 },
{ 1844, 189, -1 },
{ 1845, 189, -1 },
{ 1846, 189, -1 },
{ 1848, 189, -1 },
{ 1849, 189, -1 },
{ 1850, 189, -1 },
{ 1852, 189, -1 },
{ 1854, 189, -1 },
{ 1855, 189, -1 },
{ 1856, 189, -1 },
{ 1857, 189, -1 },
{ 1858, 189, -1 },
{ 1859, 189, -1 },
{ 1860, 189, -1 },
{ 1861, 189, -1 },
{ 1862, 189, -1 },
{ 1863, 189, -1 },
{ 1864, 189, -1 },
{ 1865, 189, -1 },
{ 1866, 189, -1 },
{ 1867, 189, -1 },
{ 1868, 189, -1 },
{ 1869, 189, -1 },
{ 1870, 189, -1 },
{ 1871, 189, -1 },
{ 1872, 189, -1 },
{ 1873, 189, -1 },
{ 1874, 189, -1 },
{ 1828, 190, -1 },
{ 1829, 190, -1 },
{ 1830, 190, -1 },
{ 1831, 190, -1 },
{ 1832, 190, -1 },
{ 1833, 190, -1 },
{ 1834, 190, -1 },
{ 1835, 190, -1 },
{ 1836, 190, -1 },
{ 1837, 190, -1 },
{ 1838, 190, -1 },
{ 1839, 190, -1 },
{ 1840, 190, -1 },
{ 1841, 190, -1 },
{ 1842, 190, -1 },
{ 1843, 190, -1 },
{ 1844, 190, -1 },
{ 1845, 190, -1 },
{ 1846, 190, -1 },
{ 1848, 190, -1 },
{ 1849, 190, -1 },
{ 1850, 190, -1 },
{ 1852, 190, -1 },
{ 1854, 190, -1 },
{ 1855, 190, -1 },
{ 1856, 190, -1 },
{ 1857, 190, -1 },
{ 1858, 190, -1 },
{ 1859, 190, -1 },
{ 1860, 190, -1 },
{ 1861, 190, -1 },
{ 1862, 190, -1 },
{ 1863, 190, -1 },
{ 1864, 190, -1 },
{ 1865, 190, -1 },
{ 1866, 190, -1 },
{ 1867, 190, -1 },
{ 1868, 190, -1 },
{ 1869, 190, -1 },
{ 1870, 190, -1 },
{ 1871, 190, -1 },
{ 1872, 190, -1 },
{ 1873, 190, -1 },
{ 1874, 190, -1 },
{ 1875, 190, -1 },
{ 1885, 354, -1 },
{ 1886, 354, -1 },
{ 1887, 354, -1 },
{ 1888, 354, -1 },
{ 1889, 354, -1 },
{ 1890, 354, -1 },
{ 1891, 354, -1 },
{ 1892, 354, -1 },
{ 1893, 354, -1 },
{ 1894, 354, -1 },
{ 1895, 354, -1 },
{ 1896, 354, -1 },
{ 1897, 354, -1 },
{ 1898, 354, -1 },
{ 1899, 354, -1 },
{ 1900, 354, -1 },
{ 1901, 354, -1 },
{ 1902, 354, -1 },
{ 1903, 354, -1 },
{ 1904, 354, -1 },
{ 1905, 354, -1 },
{ 1906, 354, -1 },
{ 1907, 354, -1 },
{ 1908, 354, -1 },
{ 1909, 354, -1 },
{ 1910, 354, -1 },
{ 1911, 354, -1 },
{ 1912, 354, -1 },
{ 1913, 354, -1 },
{ 1914, 354, -1 },
{ 1915, 354, -1 },
{ 1916, 354, -1 },
{ 1917, 354, -1 },
{ 1918, 354, -1 },
{ 1919, 354, -1 },
{ 1920, 354, -1 },
{ 1885, 366, -1 },
{ 1886, 366, -1 },
{ 1887, 366, -1 },
{ 1888, 366, -1 },
{ 1889, 366, -1 },
{ 1890, 366, -1 },
{ 1891, 366, -1 },
{ 1892, 366, -1 },
{ 1893, 366, -1 },
{ 1894, 366, -1 },
{ 1895, 366, -1 },
{ 1896, 366, -1 },
{ 1897, 366, -1 },
{ 1898, 366, -1 },
{ 1899, 366, -1 },
{ 1900, 366, -1 },
{ 1901, 366, -1 },
{ 1902, 366, -1 },
{ 1903, 366, -1 },
{ 1904, 366, -1 },
{ 1905, 366, -1 },
{ 1906, 366, -1 },
{ 1907, 366, -1 },
{ 1908, 366, -1 },
{ 1909, 366, -1 },
{ 1910, 366, -1 },
{ 1911, 366, -1 },
{ 1912, 366, -1 },
{ 1913, 366, -1 },
{ 1914, 366, -1 },
{ 1915, 366, -1 },
{ 1916, 366, -1 },
{ 1917, 366, -1 },
{ 1918, 366, -1 },
{ 1919, 366, -1 },
{ 1920, 366, -1 },
{ 1885, 1, -1 },
{ 1886, 1, -1 },
{ 1887, 1, -1 },
{ 1888, 1, -1 },
{ 1889, 1, -1 },
{ 1890, 1, -1 },
{ 1891, 1, -1 },
{ 1892, 1, -1 },
{ 1893, 1, -1 },
{ 1894, 1, -1 },
{ 1895, 1, -1 },
{ 1896, 1, -1 },
{ 1897, 1, -1 },
{ 1898, 1, -1 },
{ 1899, 1, -1 },
{ 1900, 1, -1 },
{ 1901, 1, -1 },
{ 1902, 1, -1 },
{ 1903, 1, -1 },
{ 1904, 1, -1 },
{ 1905, 1, -1 },
{ 1906, 1, -1 },
{ 1907, 1, -1 },
{ 1908, 1, -1 },
{ 1909, 1, -1 },
{ 1910, 1, -1 },
{ 1911, 1, -1 },
{ 1912, 1, -1 },
{ 1913, 1, -1 },
{ 1914, 1, -1 },
{ 1915, 1, -1 },
{ 1916, 1, -1 },
{ 1917, 1, -1 },
{ 1918, 1, -1 },
{ 1919, 1, -1 },
{ 1920, 1, -1 },
{ 1885, 117, -1 },
{ 1886, 117, -1 },
{ 1887, 117, -1 },
{ 1888, 117, -1 },
{ 1889, 117, -1 },
{ 1890, 117, -1 },
{ 1891, 117, -1 },
{ 1892, 117, -1 },
{ 1893, 117, -1 },
{ 1894, 117, -1 },
{ 1895, 117, -1 },
{ 1896, 117, -1 },
{ 1897, 117, -1 },
{ 1898, 117, -1 },
{ 1899, 117, -1 },
{ 1900, 117, -1 },
{ 1901, 117, -1 },
{ 1902, 117, -1 },
{ 1903, 117, -1 },
{ 1904, 117, -1 },
{ 1905, 117, -1 },
{ 1906, 117, -1 },
{ 1907, 117, -1 },
{ 1908, 117, -1 },
{ 1909, 117, -1 },
{ 1910, 117, -1 },
{ 1911, 117, -1 },
{ 1912, 117, -1 },
{ 1913, 117, -1 },
{ 1914, 117, -1 },
{ 1915, 117, -1 },
{ 1916, 117, -1 },
{ 1917, 117, -1 },
{ 1918, 117, -1 },
{ 1919, 117, -1 },
{ 1920, 117, -1 },
{ 1885, 116, -1 },
{ 1886, 116, -1 },
{ 1887, 116, -1 },
{ 1888, 116, -1 },
{ 1889, 116, -1 },
{ 1890, 116, -1 },
{ 1891, 116, -1 },
{ 1892, 116, -1 },
{ 1893, 116, -1 },
{ 1894, 116, -1 },
{ 1895, 116, -1 },
{ 1896, 116, -1 },
{ 1897, 116, -1 },
{ 1898, 116, -1 },
{ 1899, 116, -1 },
{ 1900, 116, -1 },
{ 1901, 116, -1 },
{ 1902, 116, -1 },
{ 1903, 116, -1 },
{ 1904, 116, -1 },
{ 1905, 116, -1 },
{ 1906, 116, -1 },
{ 1907, 116, -1 },
{ 1908, 116, -1 },
{ 1909, 116, -1 },
{ 1910, 116, -1 },
{ 1911, 116, -1 },
{ 1912, 116, -1 },
{ 1913, 116, -1 },
{ 1914, 116, -1 },
{ 1915, 116, -1 },
{ 1916, 116, -1 },
{ 1917, 116, -1 },
{ 1918, 116, -1 },
{ 1919, 116, -1 },
{ 1920, 116, -1 },
{ 1885, 36, -1 },
{ 1886, 36, -1 },
{ 1887, 36, -1 },
{ 1888, 36, -1 },
{ 1889, 36, -1 },
{ 1890, 36, -1 },
{ 1891, 36, -1 },
{ 1892, 36, -1 },
{ 1893, 36, -1 },
{ 1894, 36, -1 },
{ 1895, 36, -1 },
{ 1896, 36, -1 },
{ 1897, 36, -1 },
{ 1898, 36, -1 },
{ 1899, 36, -1 },
{ 1900, 36, -1 },
{ 1901, 36, -1 },
{ 1902, 36, -1 },
{ 1903, 36, -1 },
{ 1904, 36, -1 },
{ 1905, 36, -1 },
{ 1906, 36, -1 },
{ 1907, 36, -1 },
{ 1908, 36, -1 },
{ 1909, 36, -1 },
{ 1910, 36, -1 },
{ 1911, 36, -1 },
{ 1912, 36, -1 },
{ 1913, 36, -1 },
{ 1914, 36, -1 },
{ 1915, 36, -1 },
{ 1916, 36, -1 },
{ 1917, 36, -1 },
{ 1918, 36, -1 },
{ 1919, 36, -1 },
{ 1920, 36, -1 },
{ 1885, 193, -1 },
{ 1886, 193, -1 },
{ 1887, 193, -1 },
{ 1888, 193, -1 },
{ 1889, 193, -1 },
{ 1890, 193, -1 },
{ 1891, 193, -1 },
{ 1892, 193, -1 },
{ 1893, 193, -1 },
{ 1894, 193, -1 },
{ 1895, 193, -1 },
{ 1896, 193, -1 },
{ 1897, 193, -1 },
{ 1898, 193, -1 },
{ 1899, 193, -1 },
{ 1900, 193, -1 },
{ 1901, 193, -1 },
{ 1902, 193, -1 },
{ 1903, 193, -1 },
{ 1904, 193, -1 },
{ 1905, 193, -1 },
{ 1906, 193, -1 },
{ 1907, 193, -1 },
{ 1908, 193, -1 },
{ 1909, 193, -1 },
{ 1910, 193, -1 },
{ 1911, 193, -1 },
{ 1912, 193, -1 },
{ 1913, 193, -1 },
{ 1914, 193, -1 },
{ 1915, 193, -1 },
{ 1916, 193, -1 },
{ 1917, 193, -1 },
{ 1918, 193, -1 },
{ 1919, 193, -1 },
{ 1920, 193, -1 },
{ 1885, 249, -1 },
{ 1886, 249, -1 },
{ 1887, 249, -1 },
{ 1888, 249, -1 },
{ 1889, 249, -1 },
{ 1890, 249, -1 },
{ 1891, 249, -1 },
{ 1892, 249, -1 },
{ 1893, 249, -1 },
{ 1894, 249, -1 },
{ 1895, 249, -1 },
{ 1896, 249, -1 },
{ 1897, 249, -1 },
{ 1898, 249, -1 },
{ 1899, 249, -1 },
{ 1900, 249, -1 },
{ 1901, 249, -1 },
{ 1902, 249, -1 },
{ 1903, 249, -1 },
{ 1904, 249, -1 },
{ 1905, 249, -1 },
{ 1906, 249, -1 },
{ 1907, 249, -1 },
{ 1908, 249, -1 },
{ 1909, 249, -1 },
{ 1910, 249, -1 },
{ 1911, 249, -1 },
{ 1912, 249, -1 },
{ 1913, 249, -1 },
{ 1914, 249, -1 },
{ 1915, 249, -1 },
{ 1916, 249, -1 },
{ 1917, 249, -1 },
{ 1918, 249, -1 },
{ 1919, 249, -1 },
{ 1920, 249, -1 },
{ 1885, 194, -1 },
{ 1886, 194, -1 },
{ 1887, 194, -1 },
{ 1888, 194, -1 },
{ 1889, 194, -1 },
{ 1890, 194, -1 },
{ 1891, 194, -1 },
{ 1892, 194, -1 },
{ 1893, 194, -1 },
{ 1894, 194, -1 },
{ 1895, 194, -1 },
{ 1896, 194, -1 },
{ 1897, 194, -1 },
{ 1898, 194, -1 },
{ 1899, 194, -1 },
{ 1900, 194, -1 },
{ 1901, 194, -1 },
{ 1902, 194, -1 },
{ 1903, 194, -1 },
{ 1904, 194, -1 },
{ 1905, 194, -1 },
{ 1906, 194, -1 },
{ 1907, 194, -1 },
{ 1908, 194, -1 },
{ 1909, 194, -1 },
{ 1910, 194, -1 },
{ 1911, 194, -1 },
{ 1912, 194, -1 },
{ 1913, 194, -1 },
{ 1914, 194, -1 },
{ 1915, 194, -1 },
{ 1916, 194, -1 },
{ 1917, 194, -1 },
{ 1918, 194, -1 },
{ 1919, 194, -1 },
{ 1920, 194, -1 },
{ 1885, 205, -1 },
{ 1886, 205, -1 },
{ 1887, 205, -1 },
{ 1888, 205, -1 },
{ 1889, 205, -1 },
{ 1890, 205, -1 },
{ 1891, 205, -1 },
{ 1892, 205, -1 },
{ 1893, 205, -1 },
{ 1894, 205, -1 },
{ 1895, 205, -1 },
{ 1896, 205, -1 },
{ 1897, 205, -1 },
{ 1898, 205, -1 },
{ 1899, 205, -1 },
{ 1900, 205, -1 },
{ 1901, 205, -1 },
{ 1902, 205, -1 },
{ 1903, 205, -1 },
{ 1904, 205, -1 },
{ 1905, 205, -1 },
{ 1906, 205, -1 },
{ 1907, 205, -1 },
{ 1908, 205, -1 },
{ 1909, 205, -1 },
{ 1910, 205, -1 },
{ 1911, 205, -1 },
{ 1912, 205, -1 },
{ 1913, 205, -1 },
{ 1914, 205, -1 },
{ 1915, 205, -1 },
{ 1916, 205, -1 },
{ 1917, 205, -1 },
{ 1918, 205, -1 },
{ 1919, 205, -1 },
{ 1920, 205, -1 },
{ 1885, 206, -1 },
{ 1886, 206, -1 },
{ 1887, 206, -1 },
{ 1888, 206, -1 },
{ 1889, 206, -1 },
{ 1890, 206, -1 },
{ 1891, 206, -1 },
{ 1892, 206, -1 },
{ 1893, 206, -1 },
{ 1894, 206, -1 },
{ 1895, 206, -1 },
{ 1896, 206, -1 },
{ 1897, 206, -1 },
{ 1898, 206, -1 },
{ 1899, 206, -1 },
{ 1900, 206, -1 },
{ 1901, 206, -1 },
{ 1902, 206, -1 },
{ 1903, 206, -1 },
{ 1904, 206, -1 },
{ 1905, 206, -1 },
{ 1906, 206, -1 },
{ 1907, 206, -1 },
{ 1908, 206, -1 },
{ 1909, 206, -1 },
{ 1910, 206, -1 },
{ 1911, 206, -1 },
{ 1912, 206, -1 },
{ 1913, 206, -1 },
{ 1914, 206, -1 },
{ 1915, 206, -1 },
{ 1916, 206, -1 },
{ 1917, 206, -1 },
{ 1918, 206, -1 },
{ 1919, 206, -1 },
{ 1920, 206, -1 },
{ 1885, 204, -1 },
{ 1886, 204, -1 },
{ 1887, 204, -1 },
{ 1888, 204, -1 },
{ 1889, 204, -1 },
{ 1890, 204, -1 },
{ 1891, 204, -1 },
{ 1892, 204, -1 },
{ 1893, 204, -1 },
{ 1894, 204, -1 },
{ 1895, 204, -1 },
{ 1896, 204, -1 },
{ 1897, 204, -1 },
{ 1898, 204, -1 },
{ 1899, 204, -1 },
{ 1900, 204, -1 },
{ 1901, 204, -1 },
{ 1902, 204, -1 },
{ 1903, 204, -1 },
{ 1904, 204, -1 },
{ 1905, 204, -1 },
{ 1906, 204, -1 },
{ 1907, 204, -1 },
{ 1908, 204, -1 },
{ 1909, 204, -1 },
{ 1910, 204, -1 },
{ 1911, 204, -1 },
{ 1912, 204, -1 },
{ 1913, 204, -1 },
{ 1914, 204, -1 },
{ 1915, 204, -1 },
{ 1916, 204, -1 },
{ 1917, 204, -1 },
{ 1918, 204, -1 },
{ 1919, 204, -1 },
{ 1920, 204, -1 },
{ 1885, 191, -1 },
{ 1886, 191, -1 },
{ 1887, 191, -1 },
{ 1888, 191, -1 },
{ 1889, 191, -1 },
{ 1890, 191, -1 },
{ 1891, 191, -1 },
{ 1892, 191, -1 },
{ 1893, 191, -1 },
{ 1894, 191, -1 },
{ 1895, 191, -1 },
{ 1896, 191, -1 },
{ 1897, 191, -1 },
{ 1898, 191, -1 },
{ 1899, 191, -1 },
{ 1900, 191, -1 },
{ 1901, 191, -1 },
{ 1902, 191, -1 },
{ 1903, 191, -1 },
{ 1904, 191, -1 },
{ 1905, 191, -1 },
{ 1906, 191, -1 },
{ 1907, 191, -1 },
{ 1908, 191, -1 },
{ 1909, 191, -1 },
{ 1910, 191, -1 },
{ 1911, 191, -1 },
{ 1912, 191, -1 },
{ 1913, 191, -1 },
{ 1914, 191, -1 },
{ 1915, 191, -1 },
{ 1916, 191, -1 },
{ 1917, 191, -1 },
{ 1918, 191, -1 },
{ 1919, 191, -1 },
{ 1920, 191, -1 },
{ 1885, 189, -1 },
{ 1886, 189, -1 },
{ 1887, 189, -1 },
{ 1888, 189, -1 },
{ 1889, 189, -1 },
{ 1890, 189, -1 },
{ 1891, 189, -1 },
{ 1892, 189, -1 },
{ 1893, 189, -1 },
{ 1894, 189, -1 },
{ 1895, 189, -1 },
{ 1896, 189, -1 },
{ 1897, 189, -1 },
{ 1898, 189, -1 },
{ 1899, 189, -1 },
{ 1900, 189, -1 },
{ 1901, 189, -1 },
{ 1902, 189, -1 },
{ 1903, 189, -1 },
{ 1904, 189, -1 },
{ 1905, 189, -1 },
{ 1906, 189, -1 },
{ 1907, 189, -1 },
{ 1908, 189, -1 },
{ 1909, 189, -1 },
{ 1910, 189, -1 },
{ 1911, 189, -1 },
{ 1912, 189, -1 },
{ 1913, 189, -1 },
{ 1914, 189, -1 },
{ 1915, 189, -1 },
{ 1916, 189, -1 },
{ 1917, 189, -1 },
{ 1918, 189, -1 },
{ 1919, 189, -1 },
{ 1920, 189, -1 },
{ 1885, 190, -1 },
{ 1886, 190, -1 },
{ 1887, 190, -1 },
{ 1888, 190, -1 },
{ 1889, 190, -1 },
{ 1890, 190, -1 },
{ 1891, 190, -1 },
{ 1892, 190, -1 },
{ 1893, 190, -1 },
{ 1894, 190, -1 },
{ 1895, 190, -1 },
{ 1896, 190, -1 },
{ 1897, 190, -1 },
{ 1898, 190, -1 },
{ 1899, 190, -1 },
{ 1900, 190, -1 },
{ 1901, 190, -1 },
{ 1902, 190, -1 },
{ 1903, 190, -1 },
{ 1904, 190, -1 },
{ 1905, 190, -1 },
{ 1906, 190, -1 },
{ 1907, 190, -1 },
{ 1908, 190, -1 },
{ 1909, 190, -1 },
{ 1910, 190, -1 },
{ 1911, 190, -1 },
{ 1912, 190, -1 },
{ 1913, 190, -1 },
{ 1914, 190, -1 },
{ 1915, 190, -1 },
{ 1916, 190, -1 },
{ 1917, 190, -1 },
{ 1918, 190, -1 },
{ 1919, 190, -1 },
{ 1920, 190, -1 },
{ 1921, 354, -1 },
{ 1922, 354, -1 },
{ 1923, 354, -1 },
{ 1924, 354, -1 },
{ 1925, 354, -1 },
{ 1926, 354, -1 },
{ 1927, 354, -1 },
{ 1928, 354, -1 },
{ 1929, 354, -1 },
{ 1930, 354, -1 },
{ 1931, 354, -1 },
{ 1932, 354, -1 },
{ 1933, 354, -1 },
{ 1934, 354, -1 },
{ 1935, 354, -1 },
{ 1936, 354, -1 },
{ 1937, 354, -1 },
{ 1938, 354, -1 },
{ 1939, 354, -1 },
{ 1940, 354, -1 },
{ 1941, 354, -1 },
{ 1942, 354, -1 },
{ 1943, 354, -1 },
{ 1944, 354, -1 },
{ 1945, 354, -1 },
{ 1946, 354, -1 },
{ 1947, 354, -1 },
{ 1948, 354, -1 },
{ 1949, 354, -1 },
{ 1950, 354, -1 },
{ 1921, 366, -1 },
{ 1922, 366, -1 },
{ 1923, 366, -1 },
{ 1924, 366, -1 },
{ 1925, 366, -1 },
{ 1926, 366, -1 },
{ 1927, 366, -1 },
{ 1928, 366, -1 },
{ 1929, 366, -1 },
{ 1930, 366, -1 },
{ 1931, 366, -1 },
{ 1932, 366, -1 },
{ 1933, 366, -1 },
{ 1934, 366, -1 },
{ 1935, 366, -1 },
{ 1936, 366, -1 },
{ 1937, 366, -1 },
{ 1938, 366, -1 },
{ 1939, 366, -1 },
{ 1940, 366, -1 },
{ 1941, 366, -1 },
{ 1942, 366, -1 },
{ 1943, 366, -1 },
{ 1944, 366, -1 },
{ 1945, 366, -1 },
{ 1946, 366, -1 },
{ 1947, 366, -1 },
{ 1948, 366, -1 },
{ 1949, 366, -1 },
{ 1950, 366, -1 },
{ 1921, 1, -1 },
{ 1922, 1, -1 },
{ 1923, 1, -1 },
{ 1924, 1, -1 },
{ 1925, 1, -1 },
{ 1926, 1, -1 },
{ 1927, 1, -1 },
{ 1928, 1, -1 },
{ 1929, 1, -1 },
{ 1930, 1, -1 },
{ 1931, 1, -1 },
{ 1932, 1, -1 },
{ 1933, 1, -1 },
{ 1934, 1, -1 },
{ 1935, 1, -1 },
{ 1936, 1, -1 },
{ 1937, 1, -1 },
{ 1938, 1, -1 },
{ 1939, 1, -1 },
{ 1940, 1, -1 },
{ 1941, 1, -1 },
{ 1942, 1, -1 },
{ 1943, 1, -1 },
{ 1944, 1, -1 },
{ 1945, 1, -1 },
{ 1946, 1, -1 },
{ 1947, 1, -1 },
{ 1948, 1, -1 },
{ 1949, 1, -1 },
{ 1950, 1, -1 },
{ 1921, 117, -1 },
{ 1922, 117, -1 },
{ 1923, 117, -1 },
{ 1924, 117, -1 },
{ 1925, 117, -1 },
{ 1926, 117, -1 },
{ 1927, 117, -1 },
{ 1928, 117, -1 },
{ 1929, 117, -1 },
{ 1930, 117, -1 },
{ 1931, 117, -1 },
{ 1932, 117, -1 },
{ 1933, 117, -1 },
{ 1934, 117, -1 },
{ 1935, 117, -1 },
{ 1936, 117, -1 },
{ 1937, 117, -1 },
{ 1938, 117, -1 },
{ 1939, 117, -1 },
{ 1940, 117, -1 },
{ 1941, 117, -1 },
{ 1942, 117, -1 },
{ 1943, 117, -1 },
{ 1944, 117, -1 },
{ 1945, 117, -1 },
{ 1946, 117, -1 },
{ 1947, 117, -1 },
{ 1948, 117, -1 },
{ 1949, 117, -1 },
{ 1950, 117, -1 },
{ 1921, 116, -1 },
{ 1922, 116, -1 },
{ 1923, 116, -1 },
{ 1924, 116, -1 },
{ 1925, 116, -1 },
{ 1926, 116, -1 },
{ 1927, 116, -1 },
{ 1928, 116, -1 },
{ 1929, 116, -1 },
{ 1930, 116, -1 },
{ 1931, 116, -1 },
{ 1932, 116, -1 },
{ 1933, 116, -1 },
{ 1934, 116, -1 },
{ 1935, 116, -1 },
{ 1936, 116, -1 },
{ 1937, 116, -1 },
{ 1938, 116, -1 },
{ 1939, 116, -1 },
{ 1940, 116, -1 },
{ 1941, 116, -1 },
{ 1942, 116, -1 },
{ 1943, 116, -1 },
{ 1944, 116, -1 },
{ 1945, 116, -1 },
{ 1946, 116, -1 },
{ 1947, 116, -1 },
{ 1948, 116, -1 },
{ 1949, 116, -1 },
{ 1950, 116, -1 },
{ 1921, 36, -1 },
{ 1922, 36, -1 },
{ 1923, 36, -1 },
{ 1924, 36, -1 },
{ 1925, 36, -1 },
{ 1926, 36, -1 },
{ 1927, 36, -1 },
{ 1928, 36, -1 },
{ 1929, 36, -1 },
{ 1930, 36, -1 },
{ 1931, 36, -1 },
{ 1932, 36, -1 },
{ 1933, 36, -1 },
{ 1934, 36, -1 },
{ 1935, 36, -1 },
{ 1936, 36, -1 },
{ 1937, 36, -1 },
{ 1938, 36, -1 },
{ 1939, 36, -1 },
{ 1940, 36, -1 },
{ 1941, 36, -1 },
{ 1942, 36, -1 },
{ 1943, 36, -1 },
{ 1944, 36, -1 },
{ 1945, 36, -1 },
{ 1946, 36, -1 },
{ 1947, 36, -1 },
{ 1948, 36, -1 },
{ 1949, 36, -1 },
{ 1950, 36, -1 },
{ 1921, 193, -1 },
{ 1922, 193, -1 },
{ 1923, 193, -1 },
{ 1924, 193, -1 },
{ 1925, 193, -1 },
{ 1926, 193, -1 },
{ 1927, 193, -1 },
{ 1928, 193, -1 },
{ 1929, 193, -1 },
{ 1930, 193, -1 },
{ 1931, 193, -1 },
{ 1932, 193, -1 },
{ 1933, 193, -1 },
{ 1934, 193, -1 },
{ 1935, 193, -1 },
{ 1936, 193, -1 },
{ 1937, 193, -1 },
{ 1938, 193, -1 },
{ 1939, 193, -1 },
{ 1940, 193, -1 },
{ 1941, 193, -1 },
{ 1942, 193, -1 },
{ 1943, 193, -1 },
{ 1944, 193, -1 },
{ 1945, 193, -1 },
{ 1946, 193, -1 },
{ 1947, 193, -1 },
{ 1948, 193, -1 },
{ 1949, 193, -1 },
{ 1950, 193, -1 },
{ 1921, 249, -1 },
{ 1922, 249, -1 },
{ 1923, 249, -1 },
{ 1924, 249, -1 },
{ 1925, 249, -1 },
{ 1926, 249, -1 },
{ 1927, 249, -1 },
{ 1928, 249, -1 },
{ 1929, 249, -1 },
{ 1930, 249, -1 },
{ 1931, 249, -1 },
{ 1932, 249, -1 },
{ 1933, 249, -1 },
{ 1934, 249, -1 },
{ 1935, 249, -1 },
{ 1936, 249, -1 },
{ 1937, 249, -1 },
{ 1938, 249, -1 },
{ 1939, 249, -1 },
{ 1940, 249, -1 },
{ 1941, 249, -1 },
{ 1942, 249, -1 },
{ 1943, 249, -1 },
{ 1944, 249, -1 },
{ 1945, 249, -1 },
{ 1946, 249, -1 },
{ 1947, 249, -1 },
{ 1948, 249, -1 },
{ 1949, 249, -1 },
{ 1950, 249, -1 },
{ 1921, 194, -1 },
{ 1922, 194, -1 },
{ 1923, 194, -1 },
{ 1924, 194, -1 },
{ 1925, 194, -1 },
{ 1926, 194, -1 },
{ 1927, 194, -1 },
{ 1928, 194, -1 },
{ 1929, 194, -1 },
{ 1930, 194, -1 },
{ 1931, 194, -1 },
{ 1932, 194, -1 },
{ 1933, 194, -1 },
{ 1934, 194, -1 },
{ 1935, 194, -1 },
{ 1936, 194, -1 },
{ 1937, 194, -1 },
{ 1938, 194, -1 },
{ 1939, 194, -1 },
{ 1940, 194, -1 },
{ 1941, 194, -1 },
{ 1942, 194, -1 },
{ 1943, 194, -1 },
{ 1944, 194, -1 },
{ 1945, 194, -1 },
{ 1946, 194, -1 },
{ 1947, 194, -1 },
{ 1948, 194, -1 },
{ 1949, 194, -1 },
{ 1950, 194, -1 },
{ 1921, 205, -1 },
{ 1922, 205, -1 },
{ 1923, 205, -1 },
{ 1924, 205, -1 },
{ 1925, 205, -1 },
{ 1926, 205, -1 },
{ 1927, 205, -1 },
{ 1928, 205, -1 },
{ 1929, 205, -1 },
{ 1930, 205, -1 },
{ 1931, 205, -1 },
{ 1932, 205, -1 },
{ 1933, 205, -1 },
{ 1934, 205, -1 },
{ 1935, 205, -1 },
{ 1936, 205, -1 },
{ 1937, 205, -1 },
{ 1938, 205, -1 },
{ 1939, 205, -1 },
{ 1940, 205, -1 },
{ 1941, 205, -1 },
{ 1942, 205, -1 },
{ 1943, 205, -1 },
{ 1944, 205, -1 },
{ 1945, 205, -1 },
{ 1946, 205, -1 },
{ 1947, 205, -1 },
{ 1948, 205, -1 },
{ 1949, 205, -1 },
{ 1950, 205, -1 },
{ 1921, 206, -1 },
{ 1922, 206, -1 },
{ 1923, 206, -1 },
{ 1924, 206, -1 },
{ 1925, 206, -1 },
{ 1926, 206, -1 },
{ 1927, 206, -1 },
{ 1928, 206, -1 },
{ 1929, 206, -1 },
{ 1930, 206, -1 },
{ 1931, 206, -1 },
{ 1932, 206, -1 },
{ 1933, 206, -1 },
{ 1934, 206, -1 },
{ 1935, 206, -1 },
{ 1936, 206, -1 },
{ 1937, 206, -1 },
{ 1938, 206, -1 },
{ 1939, 206, -1 },
{ 1940, 206, -1 },
{ 1941, 206, -1 },
{ 1942, 206, -1 },
{ 1943, 206, -1 },
{ 1944, 206, -1 },
{ 1945, 206, -1 },
{ 1946, 206, -1 },
{ 1947, 206, -1 },
{ 1948, 206, -1 },
{ 1949, 206, -1 },
{ 1950, 206, -1 },
{ 1921, 204, -1 },
{ 1922, 204, -1 },
{ 1923, 204, -1 },
{ 1924, 204, -1 },
{ 1925, 204, -1 },
{ 1926, 204, -1 },
{ 1927, 204, -1 },
{ 1928, 204, -1 },
{ 1929, 204, -1 },
{ 1930, 204, -1 },
{ 1931, 204, -1 },
{ 1932, 204, -1 },
{ 1933, 204, -1 },
{ 1934, 204, -1 },
{ 1935, 204, -1 },
{ 1936, 204, -1 },
{ 1937, 204, -1 },
{ 1938, 204, -1 },
{ 1939, 204, -1 },
{ 1940, 204, -1 },
{ 1941, 204, -1 },
{ 1942, 204, -1 },
{ 1943, 204, -1 },
{ 1944, 204, -1 },
{ 1945, 204, -1 },
{ 1946, 204, -1 },
{ 1947, 204, -1 },
{ 1948, 204, -1 },
{ 1949, 204, -1 },
{ 1950, 204, -1 },
{ 1921, 191, -1 },
{ 1922, 191, -1 },
{ 1923, 191, -1 },
{ 1924, 191, -1 },
{ 1925, 191, -1 },
{ 1926, 191, -1 },
{ 1927, 191, -1 },
{ 1928, 191, -1 },
{ 1929, 191, -1 },
{ 1930, 191, -1 },
{ 1931, 191, -1 },
{ 1932, 191, -1 },
{ 1933, 191, -1 },
{ 1934, 191, -1 },
{ 1935, 191, -1 },
{ 1936, 191, -1 },
{ 1937, 191, -1 },
{ 1938, 191, -1 },
{ 1939, 191, -1 },
{ 1940, 191, -1 },
{ 1941, 191, -1 },
{ 1942, 191, -1 },
{ 1943, 191, -1 },
{ 1944, 191, -1 },
{ 1945, 191, -1 },
{ 1946, 191, -1 },
{ 1947, 191, -1 },
{ 1948, 191, -1 },
{ 1949, 191, -1 },
{ 1950, 191, -1 },
{ 1921, 189, -1 },
{ 1922, 189, -1 },
{ 1923, 189, -1 },
{ 1924, 189, -1 },
{ 1925, 189, -1 },
{ 1926, 189, -1 },
{ 1927, 189, -1 },
{ 1928, 189, -1 },
{ 1929, 189, -1 },
{ 1930, 189, -1 },
{ 1931, 189, -1 },
{ 1932, 189, -1 },
{ 1933, 189, -1 },
{ 1934, 189, -1 },
{ 1935, 189, -1 },
{ 1936, 189, -1 },
{ 1937, 189, -1 },
{ 1938, 189, -1 },
{ 1939, 189, -1 },
{ 1940, 189, -1 },
{ 1941, 189, -1 },
{ 1942, 189, -1 },
{ 1943, 189, -1 },
{ 1944, 189, -1 },
{ 1945, 189, -1 },
{ 1946, 189, -1 },
{ 1947, 189, -1 },
{ 1948, 189, -1 },
{ 1949, 189, -1 },
{ 1950, 189, -1 },
{ 1921, 190, -1 },
{ 1922, 190, -1 },
{ 1923, 190, -1 },
{ 1924, 190, -1 },
{ 1925, 190, -1 },
{ 1926, 190, -1 },
{ 1927, 190, -1 },
{ 1928, 190, -1 },
{ 1929, 190, -1 },
{ 1930, 190, -1 },
{ 1931, 190, -1 },
{ 1932, 190, -1 },
{ 1933, 190, -1 },
{ 1934, 190, -1 },
{ 1935, 190, -1 },
{ 1936, 190, -1 },
{ 1937, 190, -1 },
{ 1938, 190, -1 },
{ 1939, 190, -1 },
{ 1940, 190, -1 },
{ 1941, 190, -1 },
{ 1942, 190, -1 },
{ 1943, 190, -1 },
{ 1944, 190, -1 },
{ 1945, 190, -1 },
{ 1946, 190, -1 },
{ 1947, 190, -1 },
{ 1948, 190, -1 },
{ 1949, 190, -1 },
{ 1950, 190, -1 },
{ 6248, 354, -1 },
{ 6249, 354, -1 },
{ 6250, 354, -1 },
{ 6251, 354, -1 },
{ 6248, 366, -1 },
{ 6249, 366, -1 },
{ 6250, 366, -1 },
{ 6251, 366, -1 },
{ 6248, 1, -1 },
{ 6249, 1, -1 },
{ 6250, 1, -1 },
{ 6251, 1, -1 },
{ 6248, 117, -1 },
{ 6249, 117, -1 },
{ 6250, 117, -1 },
{ 6251, 117, -1 },
{ 6248, 116, -1 },
{ 6249, 116, -1 },
{ 6250, 116, -1 },
{ 6251, 116, -1 },
{ 6248, 36, -1 },
{ 6249, 36, -1 },
{ 6250, 36, -1 },
{ 6251, 36, -1 },
{ 6248, 193, -1 },
{ 6249, 193, -1 },
{ 6250, 193, -1 },
{ 6251, 193, -1 },
{ 6249, 249, -1 },
{ 6250, 249, -1 },
{ 6251, 249, -1 },
{ 6248, 194, -1 },
{ 6249, 194, -1 },
{ 6250, 194, -1 },
{ 6251, 194, -1 },
{ 6249, 199, -1 },
{ 6250, 199, -1 },
{ 6251, 199, -1 },
{ 6248, 205, -1 },
{ 6249, 205, -1 },
{ 6250, 205, -1 },
{ 6251, 205, -1 },
{ 6248, 206, -1 },
{ 6249, 206, -1 },
{ 6250, 206, -1 },
{ 6251, 206, -1 },
{ 6248, 204, -1 },
{ 6249, 204, -1 },
{ 6250, 204, -1 },
{ 6251, 204, -1 },
{ 6248, 191, -1 },
{ 6249, 191, -1 },
{ 6250, 191, -1 },
{ 6251, 191, -1 },
{ 6248, 189, -1 },
{ 6249, 189, -1 },
{ 6250, 189, -1 },
{ 6251, 189, -1 },
{ 6248, 190, -1 },
{ 6249, 190, -1 },
{ 6250, 190, -1 },
{ 6251, 190, -1 },
{ 8581, 143, -1 },
{ 8582, 143, -1 },
{ 8583, 143, -1 },
{ 8584, 143, -1 },
{ 8581, 338, -1 },
{ 8582, 338, -1 },
{ 8583, 338, -1 },
{ 8584, 338, -1 },
{ 1170, 130, -1 },
{ 1171, 130, -1 },
{ 1172, 130, -1 },
{ 1173, 130, -1 },
{ 6260, 354, -1 },
{ 6261, 354, -1 },
{ 6262, 354, -1 },
{ 6263, 354, -1 },
{ 6260, 366, -1 },
{ 6261, 366, -1 },
{ 6262, 366, -1 },
{ 6263, 366, -1 },
{ 6260, 1, -1 },
{ 6261, 1, -1 },
{ 6262, 1, -1 },
{ 6263, 1, -1 },
{ 6260, 117, -1 },
{ 6261, 117, -1 },
{ 6262, 117, -1 },
{ 6263, 117, -1 },
{ 6260, 116, -1 },
{ 6261, 116, -1 },
{ 6262, 116, -1 },
{ 6263, 116, -1 },
{ 6260, 36, -1 },
{ 6261, 36, -1 },
{ 6262, 36, -1 },
{ 6263, 36, -1 },
{ 6260, 193, -1 },
{ 6261, 193, -1 },
{ 6262, 193, -1 },
{ 6263, 193, -1 },
{ 6260, 249, -1 },
{ 6261, 249, -1 },
{ 6262, 249, -1 },
{ 6263, 249, -1 },
{ 6260, 194, -1 },
{ 6261, 194, -1 },
{ 6262, 194, -1 },
{ 6263, 194, -1 },
{ 6260, 205, -1 },
{ 6261, 205, -1 },
{ 6262, 205, -1 },
{ 6263, 205, -1 },
{ 6260, 206, -1 },
{ 6261, 206, -1 },
{ 6262, 206, -1 },
{ 6263, 206, -1 },
{ 6260, 204, -1 },
{ 6261, 204, -1 },
{ 6262, 204, -1 },
{ 6263, 204, -1 },
{ 6260, 191, -1 },
{ 6261, 191, -1 },
{ 6262, 191, -1 },
{ 6263, 191, -1 },
{ 6260, 189, -1 },
{ 6261, 189, -1 },
{ 6262, 189, -1 },
{ 6263, 189, -1 },
{ 6260, 190, -1 },
{ 6261, 190, -1 },
{ 6262, 190, -1 },
{ 6263, 190, -1 },
{ 10585, 40, -1 },
{ 10585, 1, -1 },
{ 10585, 36, -1 },
{ 10569, 40, -1 },
{ 10570, 40, -1 },
{ 10571, 40, -1 },
{ 10572, 40, -1 },
{ 10573, 40, -1 },
{ 10574, 40, -1 },
{ 10569, 1, -1 },
{ 10570, 1, -1 },
{ 10571, 1, -1 },
{ 10572, 1, -1 },
{ 10573, 1, -1 },
{ 10574, 1, -1 },
{ 10569, 36, -1 },
{ 10570, 36, -1 },
{ 10571, 36, -1 },
{ 10572, 36, -1 },
{ 10573, 36, -1 },
{ 10574, 36, -1 },
{ 10569, 192, -1 },
{ 10570, 192, -1 },
{ 10571, 192, -1 },
{ 10572, 192, -1 },
{ 10573, 192, -1 },
{ 10574, 192, -1 },
{ 10569, 191, -1 },
{ 10570, 191, -1 },
{ 10571, 191, -1 },
{ 10572, 191, -1 },
{ 10573, 191, -1 },
{ 10574, 191, -1 },
{ 10627, 40, -1 },
{ 10628, 40, -1 },
{ 10629, 40, -1 },
{ 10626, 1, -1 },
{ 10627, 1, -1 },
{ 10628, 1, -1 },
{ 10629, 1, -1 },
{ 10627, 36, -1 },
{ 10628, 36, -1 },
{ 10629, 36, -1 },
{ 10627, 192, -1 },
{ 10628, 192, -1 },
{ 10629, 192, -1 },
{ 10626, 196, -1 },
{ 10628, 196, -1 },
{ 10629, 196, -1 },
{ 10626, 191, -1 },
{ 10627, 191, -1 },
{ 10628, 191, -1 },
{ 10629, 191, -1 },
{ 10637, 195, -1 },
{ 10639, 195, -1 },
{ 10640, 195, -1 },
{ 10637, 197, -1 },
{ 10639, 197, -1 },
{ 10640, 197, -1 },
{ 10632, 40, -1 },
{ 10635, 40, -1 },
{ 10631, 1, -1 },
{ 10632, 1, -1 },
{ 10635, 1, -1 },
{ 10635, 36, -1 },
{ 10632, 192, -1 },
{ 10635, 192, -1 },
{ 10631, 191, -1 },
{ 10632, 191, -1 },
{ 10635, 191, -1 },
{ 11324, 298, -1 },
{ 11325, 298, -1 },
{ 11326, 298, -1 },
{ 11327, 298, -1 },
{ 11328, 298, -1 },
{ 11329, 298, -1 },
{ 11324, 290, -1 },
{ 11325, 290, -1 },
{ 11326, 290, -1 },
{ 11327, 290, -1 },
{ 11328, 290, -1 },
{ 11329, 290, -1 },
{ 11320, 298, -1 },
{ 11320, 290, -1 },
{ 11323, 290, -1 },
{ 12500, 1, -1 },
{ 12501, 1, -1 },
{ 12500, 193, -1 },
{ 12501, 193, -1 },
{ 12500, 204, -1 },
{ 12501, 204, -1 },
{ 12500, 191, -1 },
{ 12501, 191, -1 },
{ 12500, 189, -1 },
{ 12501, 189, -1 },
{ 12500, 190, -1 },
{ 12501, 190, -1 },
};
| [
"james@carteblanche.com"
] | james@carteblanche.com |
d1bf09ddc408a56214f395ff81ddf2952b46c3e8 | 6103faeccc17fc88cfb0d830adf4a9ee42a0c8c9 | /cartographer/common/nanoflann.h | 139b2d89b25f90c6c0025c83f0bc648ca098fab9 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | lfmaster/cartographer | c91b8805572527966f6d27262220bcb3249ff4e1 | a9d4be9f46d5fad898dc0ceeea08bd985a57f0e6 | refs/heads/master | 2023-01-18T17:04:33.055528 | 2020-11-24T00:39:36 | 2020-11-24T00:39:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 73,026 | h | /***********************************************************************
* Software License Agreement (BSD License)
*
* Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
* Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
* Copyright 2011-2016 Jose Luis Blanco (joseluisblancoc@gmail.com).
* All rights reserved.
*
* THE BSD LICENSE
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*************************************************************************/
/** \mainpage nanoflann C++ API documentation
* nanoflann is a C++ header-only library for building KD-Trees, mostly
* optimized for 2D or 3D point clouds.
*
* nanoflann does not require compiling or installing, just an
* #include <nanoflann.hpp> in your code.
*
* See:
* - <a href="modules.html" >C++ API organized by modules</a>
* - <a href="https://github.com/jlblancoc/nanoflann" >Online README</a>
* - <a href="http://jlblancoc.github.io/nanoflann/" >Doxygen
* documentation</a>
*/
#ifndef NANOFLANN_HPP_
#define NANOFLANN_HPP_
#include <algorithm>
#include <array>
#include <cassert>
#include <cmath> // for abs()
#include <cstdio> // for fwrite()
#include <cstdlib> // for abs()
#include <functional>
#include <limits> // std::reference_wrapper
#include <stdexcept>
#include <vector>
/** Library version: 0xMmP (M=Major,m=minor,P=patch) */
#define NANOFLANN_VERSION 0x130
// Avoid conflicting declaration of min/max macros in windows headers
#if !defined(NOMINMAX) && \
(defined(_WIN32) || defined(_WIN32_) || defined(WIN32) || defined(_WIN64))
#define NOMINMAX
#ifdef max
#undef max
#undef min
#endif
#endif
namespace nanoflann {
/** @addtogroup nanoflann_grp nanoflann C++ library for ANN
* @{ */
/** the PI constant (required to avoid MSVC missing symbols) */
template <typename T>
T pi_const() {
return static_cast<T>(3.14159265358979323846);
}
/**
* Traits if object is resizable and assignable (typically has a resize | assign
* method)
*/
template <typename T, typename = int>
struct has_resize : std::false_type {};
template <typename T>
struct has_resize<T, decltype((void)std::declval<T>().resize(1), 0)>
: std::true_type {};
template <typename T, typename = int>
struct has_assign : std::false_type {};
template <typename T>
struct has_assign<T, decltype((void)std::declval<T>().assign(1, 0), 0)>
: std::true_type {};
/**
* Free function to resize a resizable object
*/
template <typename Container>
inline typename std::enable_if<has_resize<Container>::value, void>::type resize(
Container& c, const size_t nElements) {
c.resize(nElements);
}
/**
* Free function that has no effects on non resizable containers (e.g.
* std::array) It raises an exception if the expected size does not match
*/
template <typename Container>
inline typename std::enable_if<!has_resize<Container>::value, void>::type
resize(Container& c, const size_t nElements) {
if (nElements != c.size())
throw std::logic_error("Try to change the size of a std::array.");
}
/**
* Free function to assign to a container
*/
template <typename Container, typename T>
inline typename std::enable_if<has_assign<Container>::value, void>::type assign(
Container& c, const size_t nElements, const T& value) {
c.assign(nElements, value);
}
/**
* Free function to assign to a std::array
*/
template <typename Container, typename T>
inline typename std::enable_if<!has_assign<Container>::value, void>::type
assign(Container& c, const size_t nElements, const T& value) {
for (size_t i = 0; i < nElements; i++) c[i] = value;
}
/** @addtogroup result_sets_grp Result set classes
* @{ */
template <typename _DistanceType, typename _IndexType = size_t,
typename _CountType = size_t>
class KNNResultSet {
public:
typedef _DistanceType DistanceType;
typedef _IndexType IndexType;
typedef _CountType CountType;
private:
IndexType* indices;
DistanceType* dists;
CountType capacity;
CountType count;
public:
inline KNNResultSet(CountType capacity_)
: indices(0), dists(0), capacity(capacity_), count(0) {}
inline void init(IndexType* indices_, DistanceType* dists_) {
indices = indices_;
dists = dists_;
count = 0;
if (capacity)
dists[capacity - 1] = (std::numeric_limits<DistanceType>::max)();
}
inline CountType size() const { return count; }
inline bool full() const { return count == capacity; }
/**
* Called during search to add an element matching the criteria.
* @return true if the search should be continued, false if the results are
* sufficient
*/
inline bool addPoint(DistanceType dist, IndexType index) {
CountType i;
for (i = count; i > 0; --i) {
#ifdef NANOFLANN_FIRST_MATCH // If defined and two points have the same
// distance, the one with the lowest-index will be
// returned first.
if ((dists[i - 1] > dist) ||
((dist == dists[i - 1]) && (indices[i - 1] > index))) {
#else
if (dists[i - 1] > dist) {
#endif
if (i < capacity) {
dists[i] = dists[i - 1];
indices[i] = indices[i - 1];
}
} else
break;
}
if (i < capacity) {
dists[i] = dist;
indices[i] = index;
}
if (count < capacity) count++;
// tell caller that the search shall continue
return true;
}
inline DistanceType worstDist() const { return dists[capacity - 1]; }
};
/** operator "<" for std::sort() */
struct IndexDist_Sorter {
/** PairType will be typically: std::pair<IndexType,DistanceType> */
template <typename PairType>
inline bool operator()(const PairType& p1, const PairType& p2) const {
return p1.second < p2.second;
}
};
/**
* A result-set class used when performing a radius based search.
*/
template <typename _DistanceType, typename _IndexType = size_t>
class RadiusResultSet {
public:
typedef _DistanceType DistanceType;
typedef _IndexType IndexType;
public:
const DistanceType radius;
std::vector<std::pair<IndexType, DistanceType>>& m_indices_dists;
inline RadiusResultSet(
DistanceType radius_,
std::vector<std::pair<IndexType, DistanceType>>& indices_dists)
: radius(radius_), m_indices_dists(indices_dists) {
init();
}
inline void init() { clear(); }
inline void clear() { m_indices_dists.clear(); }
inline size_t size() const { return m_indices_dists.size(); }
inline bool full() const { return true; }
/**
* Called during search to add an element matching the criteria.
* @return true if the search should be continued, false if the results are
* sufficient
*/
inline bool addPoint(DistanceType dist, IndexType index) {
if (dist < radius) m_indices_dists.push_back(std::make_pair(index, dist));
return true;
}
inline DistanceType worstDist() const { return radius; }
/**
* Find the worst result (furtherest neighbor) without copying or sorting
* Pre-conditions: size() > 0
*/
std::pair<IndexType, DistanceType> worst_item() const {
if (m_indices_dists.empty())
throw std::runtime_error(
"Cannot invoke RadiusResultSet::worst_item() on "
"an empty list of results.");
typedef
typename std::vector<std::pair<IndexType, DistanceType>>::const_iterator
DistIt;
DistIt it = std::max_element(m_indices_dists.begin(), m_indices_dists.end(),
IndexDist_Sorter());
return *it;
}
};
/** @} */
/** @addtogroup loadsave_grp Load/save auxiliary functions
* @{ */
template <typename T>
void save_value(FILE* stream, const T& value, size_t count = 1) {
fwrite(&value, sizeof(value), count, stream);
}
template <typename T>
void save_value(FILE* stream, const std::vector<T>& value) {
size_t size = value.size();
fwrite(&size, sizeof(size_t), 1, stream);
fwrite(&value[0], sizeof(T), size, stream);
}
template <typename T>
void load_value(FILE* stream, T& value, size_t count = 1) {
size_t read_cnt = fread(&value, sizeof(value), count, stream);
if (read_cnt != count) {
throw std::runtime_error("Cannot read from file");
}
}
template <typename T>
void load_value(FILE* stream, std::vector<T>& value) {
size_t size;
size_t read_cnt = fread(&size, sizeof(size_t), 1, stream);
if (read_cnt != 1) {
throw std::runtime_error("Cannot read from file");
}
value.resize(size);
read_cnt = fread(&value[0], sizeof(T), size, stream);
if (read_cnt != size) {
throw std::runtime_error("Cannot read from file");
}
}
/** @} */
/** @addtogroup metric_grp Metric (distance) classes
* @{ */
struct Metric {};
/** Manhattan distance functor (generic version, optimized for
* high-dimensionality data sets). Corresponding distance traits:
* nanoflann::metric_L1 \tparam T Type of the elements (e.g. double, float,
* uint8_t) \tparam _DistanceType Type of distance variables (must be signed)
* (e.g. float, double, int64_t)
*/
template <class T, class DataSource, typename _DistanceType = T>
struct L1_Adaptor {
typedef T ElementType;
typedef _DistanceType DistanceType;
const DataSource& data_source;
L1_Adaptor(const DataSource& _data_source) : data_source(_data_source) {}
inline DistanceType evalMetric(const T* a, const size_t b_idx, size_t size,
DistanceType worst_dist = -1) const {
DistanceType result = DistanceType();
const T* last = a + size;
const T* lastgroup = last - 3;
size_t d = 0;
/* Process 4 items with each loop for efficiency. */
while (a < lastgroup) {
const DistanceType diff0 =
std::abs(a[0] - data_source.kdtree_get_pt(b_idx, d++));
const DistanceType diff1 =
std::abs(a[1] - data_source.kdtree_get_pt(b_idx, d++));
const DistanceType diff2 =
std::abs(a[2] - data_source.kdtree_get_pt(b_idx, d++));
const DistanceType diff3 =
std::abs(a[3] - data_source.kdtree_get_pt(b_idx, d++));
result += diff0 + diff1 + diff2 + diff3;
a += 4;
if ((worst_dist > 0) && (result > worst_dist)) {
return result;
}
}
/* Process last 0-3 components. Not needed for standard vector lengths. */
while (a < last) {
result += std::abs(*a++ - data_source.kdtree_get_pt(b_idx, d++));
}
return result;
}
template <typename U, typename V>
inline DistanceType accum_dist(const U a, const V b, const size_t) const {
return std::abs(a - b);
}
};
/** Squared Euclidean distance functor (generic version, optimized for
* high-dimensionality data sets). Corresponding distance traits:
* nanoflann::metric_L2 \tparam T Type of the elements (e.g. double, float,
* uint8_t) \tparam _DistanceType Type of distance variables (must be signed)
* (e.g. float, double, int64_t)
*/
template <class T, class DataSource, typename _DistanceType = T>
struct L2_Adaptor {
typedef T ElementType;
typedef _DistanceType DistanceType;
const DataSource& data_source;
L2_Adaptor(const DataSource& _data_source) : data_source(_data_source) {}
inline DistanceType evalMetric(const T* a, const size_t b_idx, size_t size,
DistanceType worst_dist = -1) const {
DistanceType result = DistanceType();
const T* last = a + size;
const T* lastgroup = last - 3;
size_t d = 0;
/* Process 4 items with each loop for efficiency. */
while (a < lastgroup) {
const DistanceType diff0 = a[0] - data_source.kdtree_get_pt(b_idx, d++);
const DistanceType diff1 = a[1] - data_source.kdtree_get_pt(b_idx, d++);
const DistanceType diff2 = a[2] - data_source.kdtree_get_pt(b_idx, d++);
const DistanceType diff3 = a[3] - data_source.kdtree_get_pt(b_idx, d++);
result += diff0 * diff0 + diff1 * diff1 + diff2 * diff2 + diff3 * diff3;
a += 4;
if ((worst_dist > 0) && (result > worst_dist)) {
return result;
}
}
/* Process last 0-3 components. Not needed for standard vector lengths. */
while (a < last) {
const DistanceType diff0 = *a++ - data_source.kdtree_get_pt(b_idx, d++);
result += diff0 * diff0;
}
return result;
}
template <typename U, typename V>
inline DistanceType accum_dist(const U a, const V b, const size_t) const {
return (a - b) * (a - b);
}
};
/** Squared Euclidean (L2) distance functor (suitable for low-dimensionality
* datasets, like 2D or 3D point clouds) Corresponding distance traits:
* nanoflann::metric_L2_Simple \tparam T Type of the elements (e.g. double,
* float, uint8_t) \tparam _DistanceType Type of distance variables (must be
* signed) (e.g. float, double, int64_t)
*/
template <class T, class DataSource, typename _DistanceType = T>
struct L2_Simple_Adaptor {
typedef T ElementType;
typedef _DistanceType DistanceType;
const DataSource& data_source;
L2_Simple_Adaptor(const DataSource& _data_source)
: data_source(_data_source) {}
inline DistanceType evalMetric(const T* a, const size_t b_idx,
size_t size) const {
DistanceType result = DistanceType();
for (size_t i = 0; i < size; ++i) {
const DistanceType diff = a[i] - data_source.kdtree_get_pt(b_idx, i);
result += diff * diff;
}
return result;
}
template <typename U, typename V>
inline DistanceType accum_dist(const U a, const V b, const size_t) const {
return (a - b) * (a - b);
}
};
/** SO2 distance functor
* Corresponding distance traits: nanoflann::metric_SO2
* \tparam T Type of the elements (e.g. double, float)
* \tparam _DistanceType Type of distance variables (must be signed) (e.g.
* float, double) orientation is constrained to be in [-pi, pi]
*/
template <class T, class DataSource, typename _DistanceType = T>
struct SO2_Adaptor {
typedef T ElementType;
typedef _DistanceType DistanceType;
const DataSource& data_source;
SO2_Adaptor(const DataSource& _data_source) : data_source(_data_source) {}
inline DistanceType evalMetric(const T* a, const size_t b_idx,
size_t size) const {
return accum_dist(a[size - 1], data_source.kdtree_get_pt(b_idx, size - 1),
size - 1);
}
/** Note: this assumes that input angles are already in the range [-pi,pi] */
template <typename U, typename V>
inline DistanceType accum_dist(const U a, const V b, const size_t) const {
DistanceType result = DistanceType(), PI = pi_const<DistanceType>();
result = b - a;
if (result > PI)
result -= 2 * PI;
else if (result < -PI)
result += 2 * PI;
return result;
}
};
/** SO3 distance functor (Uses L2_Simple)
* Corresponding distance traits: nanoflann::metric_SO3
* \tparam T Type of the elements (e.g. double, float)
* \tparam _DistanceType Type of distance variables (must be signed) (e.g.
* float, double)
*/
template <class T, class DataSource, typename _DistanceType = T>
struct SO3_Adaptor {
typedef T ElementType;
typedef _DistanceType DistanceType;
L2_Simple_Adaptor<T, DataSource> distance_L2_Simple;
SO3_Adaptor(const DataSource& _data_source)
: distance_L2_Simple(_data_source) {}
inline DistanceType evalMetric(const T* a, const size_t b_idx,
size_t size) const {
return distance_L2_Simple.evalMetric(a, b_idx, size);
}
template <typename U, typename V>
inline DistanceType accum_dist(const U a, const V b, const size_t idx) const {
return distance_L2_Simple.accum_dist(a, b, idx);
}
};
/** Metaprogramming helper traits class for the L1 (Manhattan) metric */
struct metric_L1 : public Metric {
template <class T, class DataSource>
struct traits {
typedef L1_Adaptor<T, DataSource> distance_t;
};
};
/** Metaprogramming helper traits class for the L2 (Euclidean) metric */
struct metric_L2 : public Metric {
template <class T, class DataSource>
struct traits {
typedef L2_Adaptor<T, DataSource> distance_t;
};
};
/** Metaprogramming helper traits class for the L2_simple (Euclidean) metric */
struct metric_L2_Simple : public Metric {
template <class T, class DataSource>
struct traits {
typedef L2_Simple_Adaptor<T, DataSource> distance_t;
};
};
/** Metaprogramming helper traits class for the SO3_InnerProdQuat metric */
struct metric_SO2 : public Metric {
template <class T, class DataSource>
struct traits {
typedef SO2_Adaptor<T, DataSource> distance_t;
};
};
/** Metaprogramming helper traits class for the SO3_InnerProdQuat metric */
struct metric_SO3 : public Metric {
template <class T, class DataSource>
struct traits {
typedef SO3_Adaptor<T, DataSource> distance_t;
};
};
/** @} */
/** @addtogroup param_grp Parameter structs
* @{ */
/** Parameters (see README.md) */
struct KDTreeSingleIndexAdaptorParams {
KDTreeSingleIndexAdaptorParams(size_t _leaf_max_size = 10)
: leaf_max_size(_leaf_max_size) {}
size_t leaf_max_size;
};
/** Search options for KDTreeSingleIndexAdaptor::findNeighbors() */
struct SearchParams {
/** Note: The first argument (checks_IGNORED_) is ignored, but kept for
* compatibility with the FLANN interface */
SearchParams(int checks_IGNORED_ = 32, float eps_ = 0, bool sorted_ = true)
: checks(checks_IGNORED_), eps(eps_), sorted(sorted_) {}
int checks; //!< Ignored parameter (Kept for compatibility with the FLANN
//!< interface).
float eps; //!< search for eps-approximate neighbours (default: 0)
bool sorted; //!< only for radius search, require neighbours sorted by
//!< distance (default: true)
};
/** @} */
/** @addtogroup memalloc_grp Memory allocation
* @{ */
/**
* Allocates (using C's malloc) a generic type T.
*
* Params:
* count = number of instances to allocate.
* Returns: pointer (of type T*) to memory buffer
*/
template <typename T>
inline T* allocate(size_t count = 1) {
T* mem = static_cast<T*>(::malloc(sizeof(T) * count));
return mem;
}
/**
* Pooled storage allocator
*
* The following routines allow for the efficient allocation of storage in
* small chunks from a specified pool. Rather than allowing each structure
* to be freed individually, an entire pool of storage is freed at once.
* This method has two advantages over just using malloc() and free(). First,
* it is far more efficient for allocating small objects, as there is
* no overhead for remembering all the information needed to free each
* object or consolidating fragmented memory. Second, the decision about
* how long to keep an object is made at the time of allocation, and there
* is no need to track down all the objects to free them.
*
*/
const size_t WORDSIZE = 16;
const size_t BLOCKSIZE = 8192;
class PooledAllocator {
/* We maintain memory alignment to word boundaries by requiring that all
allocations be in multiples of the machine wordsize. */
/* Size of machine word in bytes. Must be power of 2. */
/* Minimum number of bytes requested at a time from the system. Must be
* multiple of WORDSIZE. */
size_t remaining; /* Number of bytes left in current block of storage. */
void* base; /* Pointer to base of current block of storage. */
void* loc; /* Current location in block to next allocate memory. */
void internal_init() {
remaining = 0;
base = NULL;
usedMemory = 0;
wastedMemory = 0;
}
public:
size_t usedMemory;
size_t wastedMemory;
/**
Default constructor. Initializes a new pool.
*/
PooledAllocator() { internal_init(); }
/**
* Destructor. Frees all the memory allocated in this pool.
*/
~PooledAllocator() { free_all(); }
/** Frees all allocated memory chunks */
void free_all() {
while (base != NULL) {
void* prev =
*(static_cast<void**>(base)); /* Get pointer to prev block. */
::free(base);
base = prev;
}
internal_init();
}
/**
* Returns a pointer to a piece of new memory of the given size in bytes
* allocated from the pool.
*/
void* malloc(const size_t req_size) {
/* Round size up to a multiple of wordsize. The following expression
only works for WORDSIZE that is a power of 2, by masking last bits of
incremented size to zero.
*/
const size_t size = (req_size + (WORDSIZE - 1)) & ~(WORDSIZE - 1);
/* Check whether a new block must be allocated. Note that the first word
of a block is reserved for a pointer to the previous block.
*/
if (size > remaining) {
wastedMemory += remaining;
/* Allocate new storage. */
const size_t blocksize =
(size + sizeof(void*) + (WORDSIZE - 1) > BLOCKSIZE)
? size + sizeof(void*) + (WORDSIZE - 1)
: BLOCKSIZE;
// use the standard C malloc to allocate memory
void* m = ::malloc(blocksize);
if (!m) {
fprintf(stderr, "Failed to allocate memory.\n");
return NULL;
}
/* Fill first word of new block with pointer to previous block. */
static_cast<void**>(m)[0] = base;
base = m;
size_t shift = 0;
// int size_t = (WORDSIZE - ( (((size_t)m) + sizeof(void*)) &
// (WORDSIZE-1))) & (WORDSIZE-1);
remaining = blocksize - sizeof(void*) - shift;
loc = (static_cast<char*>(m) + sizeof(void*) + shift);
}
void* rloc = loc;
loc = static_cast<char*>(loc) + size;
remaining -= size;
usedMemory += size;
return rloc;
}
/**
* Allocates (using this pool) a generic type T.
*
* Params:
* count = number of instances to allocate.
* Returns: pointer (of type T*) to memory buffer
*/
template <typename T>
T* allocate(const size_t count = 1) {
T* mem = static_cast<T*>(this->malloc(sizeof(T) * count));
return mem;
}
};
/** @} */
/** @addtogroup nanoflann_metaprog_grp Auxiliary metaprogramming stuff
* @{ */
/** Used to declare fixed-size arrays when DIM>0, dynamically-allocated vectors
* when DIM=-1. Fixed size version for a generic DIM:
*/
template <int DIM, typename T>
struct array_or_vector_selector {
typedef std::array<T, DIM> container_t;
};
/** Dynamic size version */
template <typename T>
struct array_or_vector_selector<-1, T> {
typedef std::vector<T> container_t;
};
/** @} */
/** kd-tree base-class
*
* Contains the member functions common to the classes KDTreeSingleIndexAdaptor
* and KDTreeSingleIndexDynamicAdaptor_.
*
* \tparam Derived The name of the class which inherits this class.
* \tparam DatasetAdaptor The user-provided adaptor (see comments above).
* \tparam Distance The distance metric to use, these are all classes derived
* from nanoflann::Metric \tparam DIM Dimensionality of data points (e.g. 3 for
* 3D points) \tparam IndexType Will be typically size_t or int
*/
template <class Derived, typename Distance, class DatasetAdaptor, int DIM = -1,
typename IndexType = size_t>
class KDTreeBaseClass {
public:
/** Frees the previously-built index. Automatically called within
* buildIndex(). */
void freeIndex(Derived& obj) {
obj.pool.free_all();
obj.root_node = NULL;
obj.m_size_at_index_build = 0;
}
typedef typename Distance::ElementType ElementType;
typedef typename Distance::DistanceType DistanceType;
/*--------------------- Internal Data Structures --------------------------*/
struct Node {
/** Union used because a node can be either a LEAF node or a non-leaf node,
* so both data fields are never used simultaneously */
union {
struct leaf {
IndexType left, right; //!< Indices of points in leaf node
} lr;
struct nonleaf {
int divfeat; //!< Dimension used for subdivision.
DistanceType divlow, divhigh; //!< The values used for subdivision.
} sub;
} node_type;
Node *child1, *child2; //!< Child nodes (both=NULL mean its a leaf node)
};
typedef Node* NodePtr;
struct Interval {
ElementType low, high;
};
/**
* Array of indices to vectors in the dataset.
*/
std::vector<IndexType> vind;
NodePtr root_node;
size_t m_leaf_max_size;
size_t m_size; //!< Number of current points in the dataset
size_t m_size_at_index_build; //!< Number of points in the dataset when the
//!< index was built
int dim; //!< Dimensionality of each data point
/** Define "BoundingBox" as a fixed-size or variable-size container depending
* on "DIM" */
typedef
typename array_or_vector_selector<DIM, Interval>::container_t BoundingBox;
/** Define "distance_vector_t" as a fixed-size or variable-size container
* depending on "DIM" */
typedef typename array_or_vector_selector<DIM, DistanceType>::container_t
distance_vector_t;
/** The KD-tree used to find neighbours */
BoundingBox root_bbox;
/**
* Pooled memory allocator.
*
* Using a pooled memory allocator is more efficient
* than allocating memory directly when there is a large
* number small of memory allocations.
*/
PooledAllocator pool;
/** Returns number of points in dataset */
size_t size(const Derived& obj) const { return obj.m_size; }
/** Returns the length of each point in the dataset */
size_t veclen(const Derived& obj) {
return static_cast<size_t>(DIM > 0 ? DIM : obj.dim);
}
/// Helper accessor to the dataset points:
inline ElementType dataset_get(const Derived& obj, size_t idx,
int component) const {
return obj.dataset.kdtree_get_pt(idx, component);
}
/**
* Computes the inde memory usage
* Returns: memory used by the index
*/
size_t usedMemory(Derived& obj) {
return obj.pool.usedMemory + obj.pool.wastedMemory +
obj.dataset.kdtree_get_point_count() *
sizeof(IndexType); // pool memory and vind array memory
}
void computeMinMax(const Derived& obj, IndexType* ind, IndexType count,
int element, ElementType& min_elem,
ElementType& max_elem) {
min_elem = dataset_get(obj, ind[0], element);
max_elem = dataset_get(obj, ind[0], element);
for (IndexType i = 1; i < count; ++i) {
ElementType val = dataset_get(obj, ind[i], element);
if (val < min_elem) min_elem = val;
if (val > max_elem) max_elem = val;
}
}
/**
* Create a tree node that subdivides the list of vecs from vind[first]
* to vind[last]. The routine is called recursively on each sublist.
*
* @param left index of the first vector
* @param right index of the last vector
*/
NodePtr divideTree(Derived& obj, const IndexType left, const IndexType right,
BoundingBox& bbox) {
NodePtr node = obj.pool.template allocate<Node>(); // allocate memory
/* If too few exemplars remain, then make this a leaf node. */
if ((right - left) <= static_cast<IndexType>(obj.m_leaf_max_size)) {
node->child1 = node->child2 = NULL; /* Mark as leaf node. */
node->node_type.lr.left = left;
node->node_type.lr.right = right;
// compute bounding-box of leaf points
for (int i = 0; i < (DIM > 0 ? DIM : obj.dim); ++i) {
bbox[i].low = dataset_get(obj, obj.vind[left], i);
bbox[i].high = dataset_get(obj, obj.vind[left], i);
}
for (IndexType k = left + 1; k < right; ++k) {
for (int i = 0; i < (DIM > 0 ? DIM : obj.dim); ++i) {
if (bbox[i].low > dataset_get(obj, obj.vind[k], i))
bbox[i].low = dataset_get(obj, obj.vind[k], i);
if (bbox[i].high < dataset_get(obj, obj.vind[k], i))
bbox[i].high = dataset_get(obj, obj.vind[k], i);
}
}
} else {
IndexType idx;
int cutfeat;
DistanceType cutval;
middleSplit_(obj, &obj.vind[0] + left, right - left, idx, cutfeat, cutval,
bbox);
node->node_type.sub.divfeat = cutfeat;
BoundingBox left_bbox(bbox);
left_bbox[cutfeat].high = cutval;
node->child1 = divideTree(obj, left, left + idx, left_bbox);
BoundingBox right_bbox(bbox);
right_bbox[cutfeat].low = cutval;
node->child2 = divideTree(obj, left + idx, right, right_bbox);
node->node_type.sub.divlow = left_bbox[cutfeat].high;
node->node_type.sub.divhigh = right_bbox[cutfeat].low;
for (int i = 0; i < (DIM > 0 ? DIM : obj.dim); ++i) {
bbox[i].low = std::min(left_bbox[i].low, right_bbox[i].low);
bbox[i].high = std::max(left_bbox[i].high, right_bbox[i].high);
}
}
return node;
}
void middleSplit_(Derived& obj, IndexType* ind, IndexType count,
IndexType& index, int& cutfeat, DistanceType& cutval,
const BoundingBox& bbox) {
const DistanceType EPS = static_cast<DistanceType>(0.00001);
ElementType max_span = bbox[0].high - bbox[0].low;
for (int i = 1; i < (DIM > 0 ? DIM : obj.dim); ++i) {
ElementType span = bbox[i].high - bbox[i].low;
if (span > max_span) {
max_span = span;
}
}
ElementType max_spread = -1;
cutfeat = 0;
for (int i = 0; i < (DIM > 0 ? DIM : obj.dim); ++i) {
ElementType span = bbox[i].high - bbox[i].low;
if (span > (1 - EPS) * max_span) {
ElementType min_elem, max_elem;
computeMinMax(obj, ind, count, i, min_elem, max_elem);
ElementType spread = max_elem - min_elem;
;
if (spread > max_spread) {
cutfeat = i;
max_spread = spread;
}
}
}
// split in the middle
DistanceType split_val = (bbox[cutfeat].low + bbox[cutfeat].high) / 2;
ElementType min_elem, max_elem;
computeMinMax(obj, ind, count, cutfeat, min_elem, max_elem);
if (split_val < min_elem)
cutval = min_elem;
else if (split_val > max_elem)
cutval = max_elem;
else
cutval = split_val;
IndexType lim1, lim2;
planeSplit(obj, ind, count, cutfeat, cutval, lim1, lim2);
if (lim1 > count / 2)
index = lim1;
else if (lim2 < count / 2)
index = lim2;
else
index = count / 2;
}
/**
* Subdivide the list of points by a plane perpendicular on axe corresponding
* to the 'cutfeat' dimension at 'cutval' position.
*
* On return:
* dataset[ind[0..lim1-1]][cutfeat]<cutval
* dataset[ind[lim1..lim2-1]][cutfeat]==cutval
* dataset[ind[lim2..count]][cutfeat]>cutval
*/
void planeSplit(Derived& obj, IndexType* ind, const IndexType count,
int cutfeat, DistanceType& cutval, IndexType& lim1,
IndexType& lim2) {
/* Move vector indices for left subtree to front of list. */
IndexType left = 0;
IndexType right = count - 1;
for (;;) {
while (left <= right && dataset_get(obj, ind[left], cutfeat) < cutval)
++left;
while (right && left <= right &&
dataset_get(obj, ind[right], cutfeat) >= cutval)
--right;
if (left > right || !right)
break; // "!right" was added to support unsigned Index types
std::swap(ind[left], ind[right]);
++left;
--right;
}
/* If either list is empty, it means that all remaining features
* are identical. Split in the middle to maintain a balanced tree.
*/
lim1 = left;
right = count - 1;
for (;;) {
while (left <= right && dataset_get(obj, ind[left], cutfeat) <= cutval)
++left;
while (right && left <= right &&
dataset_get(obj, ind[right], cutfeat) > cutval)
--right;
if (left > right || !right)
break; // "!right" was added to support unsigned Index types
std::swap(ind[left], ind[right]);
++left;
--right;
}
lim2 = left;
}
DistanceType computeInitialDistances(const Derived& obj,
const ElementType* vec,
distance_vector_t& dists) const {
assert(vec);
DistanceType distsq = DistanceType();
for (int i = 0; i < (DIM > 0 ? DIM : obj.dim); ++i) {
if (vec[i] < obj.root_bbox[i].low) {
dists[i] = obj.distance.accum_dist(vec[i], obj.root_bbox[i].low, i);
distsq += dists[i];
}
if (vec[i] > obj.root_bbox[i].high) {
dists[i] = obj.distance.accum_dist(vec[i], obj.root_bbox[i].high, i);
distsq += dists[i];
}
}
return distsq;
}
void save_tree(Derived& obj, FILE* stream, NodePtr tree) {
save_value(stream, *tree);
if (tree->child1 != NULL) {
save_tree(obj, stream, tree->child1);
}
if (tree->child2 != NULL) {
save_tree(obj, stream, tree->child2);
}
}
void load_tree(Derived& obj, FILE* stream, NodePtr& tree) {
tree = obj.pool.template allocate<Node>();
load_value(stream, *tree);
if (tree->child1 != NULL) {
load_tree(obj, stream, tree->child1);
}
if (tree->child2 != NULL) {
load_tree(obj, stream, tree->child2);
}
}
/** Stores the index in a binary file.
* IMPORTANT NOTE: The set of data points is NOT stored in the file, so when
* loading the index object it must be constructed associated to the same
* source of data points used while building it. See the example:
* examples/saveload_example.cpp \sa loadIndex */
void saveIndex_(Derived& obj, FILE* stream) {
save_value(stream, obj.m_size);
save_value(stream, obj.dim);
save_value(stream, obj.root_bbox);
save_value(stream, obj.m_leaf_max_size);
save_value(stream, obj.vind);
save_tree(obj, stream, obj.root_node);
}
/** Loads a previous index from a binary file.
* IMPORTANT NOTE: The set of data points is NOT stored in the file, so the
* index object must be constructed associated to the same source of data
* points used while building the index. See the example:
* examples/saveload_example.cpp \sa loadIndex */
void loadIndex_(Derived& obj, FILE* stream) {
load_value(stream, obj.m_size);
load_value(stream, obj.dim);
load_value(stream, obj.root_bbox);
load_value(stream, obj.m_leaf_max_size);
load_value(stream, obj.vind);
load_tree(obj, stream, obj.root_node);
}
};
/** @addtogroup kdtrees_grp KD-tree classes and adaptors
* @{ */
/** kd-tree static index
*
* Contains the k-d trees and other information for indexing a set of points
* for nearest-neighbor matching.
*
* The class "DatasetAdaptor" must provide the following interface (can be
* non-virtual, inlined methods):
*
* \code
* // Must return the number of data poins
* inline size_t kdtree_get_point_count() const { ... }
*
*
* // Must return the dim'th component of the idx'th point in the class:
* inline T kdtree_get_pt(const size_t idx, const size_t dim) const { ... }
*
* // Optional bounding-box computation: return false to default to a standard
* bbox computation loop.
* // Return true if the BBOX was already computed by the class and returned
* in "bb" so it can be avoided to redo it again.
* // Look at bb.size() to find out the expected dimensionality (e.g. 2 or 3
* for point clouds) template <class BBOX> bool kdtree_get_bbox(BBOX &bb) const
* {
* bb[0].low = ...; bb[0].high = ...; // 0th dimension limits
* bb[1].low = ...; bb[1].high = ...; // 1st dimension limits
* ...
* return true;
* }
*
* \endcode
*
* \tparam DatasetAdaptor The user-provided adaptor (see comments above).
* \tparam Distance The distance metric to use: nanoflann::metric_L1,
* nanoflann::metric_L2, nanoflann::metric_L2_Simple, etc. \tparam DIM
* Dimensionality of data points (e.g. 3 for 3D points) \tparam IndexType Will
* be typically size_t or int
*/
template <typename Distance, class DatasetAdaptor, int DIM = -1,
typename IndexType = size_t>
class KDTreeSingleIndexAdaptor
: public KDTreeBaseClass<
KDTreeSingleIndexAdaptor<Distance, DatasetAdaptor, DIM, IndexType>,
Distance, DatasetAdaptor, DIM, IndexType> {
public:
/** Deleted copy constructor*/
KDTreeSingleIndexAdaptor(const KDTreeSingleIndexAdaptor<
Distance, DatasetAdaptor, DIM, IndexType>&) = delete;
/**
* The dataset used by this index
*/
const DatasetAdaptor& dataset; //!< The source of our data
const KDTreeSingleIndexAdaptorParams index_params;
Distance distance;
typedef typename nanoflann::KDTreeBaseClass<
nanoflann::KDTreeSingleIndexAdaptor<Distance, DatasetAdaptor, DIM,
IndexType>,
Distance, DatasetAdaptor, DIM, IndexType>
BaseClassRef;
typedef typename BaseClassRef::ElementType ElementType;
typedef typename BaseClassRef::DistanceType DistanceType;
typedef typename BaseClassRef::Node Node;
typedef Node* NodePtr;
typedef typename BaseClassRef::Interval Interval;
/** Define "BoundingBox" as a fixed-size or variable-size container depending
* on "DIM" */
typedef typename BaseClassRef::BoundingBox BoundingBox;
/** Define "distance_vector_t" as a fixed-size or variable-size container
* depending on "DIM" */
typedef typename BaseClassRef::distance_vector_t distance_vector_t;
/**
* KDTree constructor
*
* Refer to docs in README.md or online in
* https://github.com/jlblancoc/nanoflann
*
* The KD-Tree point dimension (the length of each point in the datase, e.g. 3
* for 3D points) is determined by means of:
* - The \a DIM template parameter if >0 (highest priority)
* - Otherwise, the \a dimensionality parameter of this constructor.
*
* @param inputData Dataset with the input features
* @param params Basically, the maximum leaf node size
*/
KDTreeSingleIndexAdaptor(const int dimensionality,
const DatasetAdaptor& inputData,
const KDTreeSingleIndexAdaptorParams& params =
KDTreeSingleIndexAdaptorParams())
: dataset(inputData), index_params(params), distance(inputData) {
BaseClassRef::root_node = NULL;
BaseClassRef::m_size = dataset.kdtree_get_point_count();
BaseClassRef::m_size_at_index_build = BaseClassRef::m_size;
BaseClassRef::dim = dimensionality;
if (DIM > 0) BaseClassRef::dim = DIM;
BaseClassRef::m_leaf_max_size = params.leaf_max_size;
// Create a permutable array of indices to the input vectors.
init_vind();
}
/**
* Builds the index
*/
void buildIndex() {
BaseClassRef::m_size = dataset.kdtree_get_point_count();
BaseClassRef::m_size_at_index_build = BaseClassRef::m_size;
init_vind();
this->freeIndex(*this);
BaseClassRef::m_size_at_index_build = BaseClassRef::m_size;
if (BaseClassRef::m_size == 0) return;
computeBoundingBox(BaseClassRef::root_bbox);
BaseClassRef::root_node =
this->divideTree(*this, 0, BaseClassRef::m_size,
BaseClassRef::root_bbox); // construct the tree
}
/** \name Query methods
* @{ */
/**
* Find set of nearest neighbors to vec[0:dim-1]. Their indices are stored
* inside the result object.
*
* Params:
* result = the result object in which the indices of the
* nearest-neighbors are stored vec = the vector for which to search the
* nearest neighbors
*
* \tparam RESULTSET Should be any ResultSet<DistanceType>
* \return True if the requested neighbors could be found.
* \sa knnSearch, radiusSearch
*/
template <typename RESULTSET>
bool findNeighbors(RESULTSET& result, const ElementType* vec,
const SearchParams& searchParams) const {
assert(vec);
if (this->size(*this) == 0) return false;
if (!BaseClassRef::root_node)
throw std::runtime_error(
"[nanoflann] findNeighbors() called before building the index.");
float epsError = 1 + searchParams.eps;
distance_vector_t
dists; // fixed or variable-sized container (depending on DIM)
auto zero = static_cast<decltype(result.worstDist())>(0);
assign(dists, (DIM > 0 ? DIM : BaseClassRef::dim),
zero); // Fill it with zeros.
DistanceType distsq = this->computeInitialDistances(*this, vec, dists);
searchLevel(result, vec, BaseClassRef::root_node, distsq, dists,
epsError); // "count_leaf" parameter removed since was neither
// used nor returned to the user.
return result.full();
}
/**
* Find the "num_closest" nearest neighbors to the \a query_point[0:dim-1].
* Their indices are stored inside the result object. \sa radiusSearch,
* findNeighbors \note nChecks_IGNORED is ignored but kept for compatibility
* with the original FLANN interface. \return Number `N` of valid points in
* the result set. Only the first `N` entries in `out_indices` and
* `out_distances_sq` will be valid. Return may be less than `num_closest`
* only if the number of elements in the tree is less than `num_closest`.
*/
size_t knnSearch(const ElementType* query_point, const size_t num_closest,
IndexType* out_indices, DistanceType* out_distances_sq,
const int /* nChecks_IGNORED */ = 10) const {
nanoflann::KNNResultSet<DistanceType, IndexType> resultSet(num_closest);
resultSet.init(out_indices, out_distances_sq);
this->findNeighbors(resultSet, query_point, nanoflann::SearchParams());
return resultSet.size();
}
/**
* Find all the neighbors to \a query_point[0:dim-1] within a maximum radius.
* The output is given as a vector of pairs, of which the first element is a
* point index and the second the corresponding distance. Previous contents of
* \a IndicesDists are cleared.
*
* If searchParams.sorted==true, the output list is sorted by ascending
* distances.
*
* For a better performance, it is advisable to do a .reserve() on the vector
* if you have any wild guess about the number of expected matches.
*
* \sa knnSearch, findNeighbors, radiusSearchCustomCallback
* \return The number of points within the given radius (i.e. indices.size()
* or dists.size() )
*/
size_t radiusSearch(
const ElementType* query_point, const DistanceType& radius,
std::vector<std::pair<IndexType, DistanceType>>& IndicesDists,
const SearchParams& searchParams) const {
RadiusResultSet<DistanceType, IndexType> resultSet(radius, IndicesDists);
const size_t nFound =
radiusSearchCustomCallback(query_point, resultSet, searchParams);
if (searchParams.sorted)
std::sort(IndicesDists.begin(), IndicesDists.end(), IndexDist_Sorter());
return nFound;
}
/**
* Just like radiusSearch() but with a custom callback class for each point
* found in the radius of the query. See the source of RadiusResultSet<> as a
* start point for your own classes. \sa radiusSearch
*/
template <class SEARCH_CALLBACK>
size_t radiusSearchCustomCallback(
const ElementType* query_point, SEARCH_CALLBACK& resultSet,
const SearchParams& searchParams = SearchParams()) const {
this->findNeighbors(resultSet, query_point, searchParams);
return resultSet.size();
}
/** @} */
public:
/** Make sure the auxiliary list \a vind has the same size than the current
* dataset, and re-generate if size has changed. */
void init_vind() {
// Create a permutable array of indices to the input vectors.
BaseClassRef::m_size = dataset.kdtree_get_point_count();
if (BaseClassRef::vind.size() != BaseClassRef::m_size)
BaseClassRef::vind.resize(BaseClassRef::m_size);
for (size_t i = 0; i < BaseClassRef::m_size; i++) BaseClassRef::vind[i] = i;
}
void computeBoundingBox(BoundingBox& bbox) {
resize(bbox, (DIM > 0 ? DIM : BaseClassRef::dim));
if (dataset.kdtree_get_bbox(bbox)) {
// Done! It was implemented in derived class
} else {
const size_t N = dataset.kdtree_get_point_count();
if (!N)
throw std::runtime_error(
"[nanoflann] computeBoundingBox() called but "
"no data points found.");
for (int i = 0; i < (DIM > 0 ? DIM : BaseClassRef::dim); ++i) {
bbox[i].low = bbox[i].high = this->dataset_get(*this, 0, i);
}
for (size_t k = 1; k < N; ++k) {
for (int i = 0; i < (DIM > 0 ? DIM : BaseClassRef::dim); ++i) {
if (this->dataset_get(*this, k, i) < bbox[i].low)
bbox[i].low = this->dataset_get(*this, k, i);
if (this->dataset_get(*this, k, i) > bbox[i].high)
bbox[i].high = this->dataset_get(*this, k, i);
}
}
}
}
/**
* Performs an exact search in the tree starting from a node.
* \tparam RESULTSET Should be any ResultSet<DistanceType>
* \return true if the search should be continued, false if the results are
* sufficient
*/
template <class RESULTSET>
bool searchLevel(RESULTSET& result_set, const ElementType* vec,
const NodePtr node, DistanceType mindistsq,
distance_vector_t& dists, const float epsError) const {
/* If this is a leaf node, then do check and return. */
if ((node->child1 == NULL) && (node->child2 == NULL)) {
// count_leaf += (node->lr.right-node->lr.left); // Removed since was
// neither used nor returned to the user.
DistanceType worst_dist = result_set.worstDist();
for (IndexType i = node->node_type.lr.left; i < node->node_type.lr.right;
++i) {
const IndexType index = BaseClassRef::vind[i]; // reorder... : i;
DistanceType dist = distance.evalMetric(
vec, index, (DIM > 0 ? DIM : BaseClassRef::dim));
if (dist < worst_dist) {
if (!result_set.addPoint(dist, BaseClassRef::vind[i])) {
// the resultset doesn't want to receive any more points, we're done
// searching!
return false;
}
}
}
return true;
}
/* Which child branch should be taken first? */
int idx = node->node_type.sub.divfeat;
ElementType val = vec[idx];
DistanceType diff1 = val - node->node_type.sub.divlow;
DistanceType diff2 = val - node->node_type.sub.divhigh;
NodePtr bestChild;
NodePtr otherChild;
DistanceType cut_dist;
if ((diff1 + diff2) < 0) {
bestChild = node->child1;
otherChild = node->child2;
cut_dist = distance.accum_dist(val, node->node_type.sub.divhigh, idx);
} else {
bestChild = node->child2;
otherChild = node->child1;
cut_dist = distance.accum_dist(val, node->node_type.sub.divlow, idx);
}
/* Call recursively to search next level down. */
if (!searchLevel(result_set, vec, bestChild, mindistsq, dists, epsError)) {
// the resultset doesn't want to receive any more points, we're done
// searching!
return false;
}
DistanceType dst = dists[idx];
mindistsq = mindistsq + cut_dist - dst;
dists[idx] = cut_dist;
if (mindistsq * epsError <= result_set.worstDist()) {
if (!searchLevel(result_set, vec, otherChild, mindistsq, dists,
epsError)) {
// the resultset doesn't want to receive any more points, we're done
// searching!
return false;
}
}
dists[idx] = dst;
return true;
}
public:
/** Stores the index in a binary file.
* IMPORTANT NOTE: The set of data points is NOT stored in the file, so when
* loading the index object it must be constructed associated to the same
* source of data points used while building it. See the example:
* examples/saveload_example.cpp \sa loadIndex */
void saveIndex(FILE* stream) { this->saveIndex_(*this, stream); }
/** Loads a previous index from a binary file.
* IMPORTANT NOTE: The set of data points is NOT stored in the file, so the
* index object must be constructed associated to the same source of data
* points used while building the index. See the example:
* examples/saveload_example.cpp \sa loadIndex */
void loadIndex(FILE* stream) { this->loadIndex_(*this, stream); }
}; // class KDTree
/** kd-tree dynamic index
*
* Contains the k-d trees and other information for indexing a set of points
* for nearest-neighbor matching.
*
* The class "DatasetAdaptor" must provide the following interface (can be
* non-virtual, inlined methods):
*
* \code
* // Must return the number of data poins
* inline size_t kdtree_get_point_count() const { ... }
*
* // Must return the dim'th component of the idx'th point in the class:
* inline T kdtree_get_pt(const size_t idx, const size_t dim) const { ... }
*
* // Optional bounding-box computation: return false to default to a standard
* bbox computation loop.
* // Return true if the BBOX was already computed by the class and returned
* in "bb" so it can be avoided to redo it again.
* // Look at bb.size() to find out the expected dimensionality (e.g. 2 or 3
* for point clouds) template <class BBOX> bool kdtree_get_bbox(BBOX &bb) const
* {
* bb[0].low = ...; bb[0].high = ...; // 0th dimension limits
* bb[1].low = ...; bb[1].high = ...; // 1st dimension limits
* ...
* return true;
* }
*
* \endcode
*
* \tparam DatasetAdaptor The user-provided adaptor (see comments above).
* \tparam Distance The distance metric to use: nanoflann::metric_L1,
* nanoflann::metric_L2, nanoflann::metric_L2_Simple, etc. \tparam DIM
* Dimensionality of data points (e.g. 3 for 3D points) \tparam IndexType Will
* be typically size_t or int
*/
template <typename Distance, class DatasetAdaptor, int DIM = -1,
typename IndexType = size_t>
class KDTreeSingleIndexDynamicAdaptor_
: public KDTreeBaseClass<KDTreeSingleIndexDynamicAdaptor_<
Distance, DatasetAdaptor, DIM, IndexType>,
Distance, DatasetAdaptor, DIM, IndexType> {
public:
/**
* The dataset used by this index
*/
const DatasetAdaptor& dataset; //!< The source of our data
KDTreeSingleIndexAdaptorParams index_params;
std::vector<int>& treeIndex;
Distance distance;
typedef typename nanoflann::KDTreeBaseClass<
nanoflann::KDTreeSingleIndexDynamicAdaptor_<Distance, DatasetAdaptor, DIM,
IndexType>,
Distance, DatasetAdaptor, DIM, IndexType>
BaseClassRef;
typedef typename BaseClassRef::ElementType ElementType;
typedef typename BaseClassRef::DistanceType DistanceType;
typedef typename BaseClassRef::Node Node;
typedef Node* NodePtr;
typedef typename BaseClassRef::Interval Interval;
/** Define "BoundingBox" as a fixed-size or variable-size container depending
* on "DIM" */
typedef typename BaseClassRef::BoundingBox BoundingBox;
/** Define "distance_vector_t" as a fixed-size or variable-size container
* depending on "DIM" */
typedef typename BaseClassRef::distance_vector_t distance_vector_t;
/**
* KDTree constructor
*
* Refer to docs in README.md or online in
* https://github.com/jlblancoc/nanoflann
*
* The KD-Tree point dimension (the length of each point in the datase, e.g. 3
* for 3D points) is determined by means of:
* - The \a DIM template parameter if >0 (highest priority)
* - Otherwise, the \a dimensionality parameter of this constructor.
*
* @param inputData Dataset with the input features
* @param params Basically, the maximum leaf node size
*/
KDTreeSingleIndexDynamicAdaptor_(
const int dimensionality, const DatasetAdaptor& inputData,
std::vector<int>& treeIndex_,
const KDTreeSingleIndexAdaptorParams& params =
KDTreeSingleIndexAdaptorParams())
: dataset(inputData),
index_params(params),
treeIndex(treeIndex_),
distance(inputData) {
BaseClassRef::root_node = NULL;
BaseClassRef::m_size = 0;
BaseClassRef::m_size_at_index_build = 0;
BaseClassRef::dim = dimensionality;
if (DIM > 0) BaseClassRef::dim = DIM;
BaseClassRef::m_leaf_max_size = params.leaf_max_size;
}
/** Assignment operator definiton */
KDTreeSingleIndexDynamicAdaptor_ operator=(
const KDTreeSingleIndexDynamicAdaptor_& rhs) {
KDTreeSingleIndexDynamicAdaptor_ tmp(rhs);
std::swap(BaseClassRef::vind, tmp.BaseClassRef::vind);
std::swap(BaseClassRef::m_leaf_max_size, tmp.BaseClassRef::m_leaf_max_size);
std::swap(index_params, tmp.index_params);
std::swap(treeIndex, tmp.treeIndex);
std::swap(BaseClassRef::m_size, tmp.BaseClassRef::m_size);
std::swap(BaseClassRef::m_size_at_index_build,
tmp.BaseClassRef::m_size_at_index_build);
std::swap(BaseClassRef::root_node, tmp.BaseClassRef::root_node);
std::swap(BaseClassRef::root_bbox, tmp.BaseClassRef::root_bbox);
std::swap(BaseClassRef::pool, tmp.BaseClassRef::pool);
return *this;
}
/**
* Builds the index
*/
void buildIndex() {
BaseClassRef::m_size = BaseClassRef::vind.size();
this->freeIndex(*this);
BaseClassRef::m_size_at_index_build = BaseClassRef::m_size;
if (BaseClassRef::m_size == 0) return;
computeBoundingBox(BaseClassRef::root_bbox);
BaseClassRef::root_node =
this->divideTree(*this, 0, BaseClassRef::m_size,
BaseClassRef::root_bbox); // construct the tree
}
/** \name Query methods
* @{ */
/**
* Find set of nearest neighbors to vec[0:dim-1]. Their indices are stored
* inside the result object.
*
* Params:
* result = the result object in which the indices of the
* nearest-neighbors are stored vec = the vector for which to search the
* nearest neighbors
*
* \tparam RESULTSET Should be any ResultSet<DistanceType>
* \return True if the requested neighbors could be found.
* \sa knnSearch, radiusSearch
*/
template <typename RESULTSET>
bool findNeighbors(RESULTSET& result, const ElementType* vec,
const SearchParams& searchParams) const {
assert(vec);
if (this->size(*this) == 0) return false;
if (!BaseClassRef::root_node) return false;
float epsError = 1 + searchParams.eps;
// fixed or variable-sized container (depending on DIM)
distance_vector_t dists;
// Fill it with zeros.
assign(dists, (DIM > 0 ? DIM : BaseClassRef::dim),
static_cast<typename distance_vector_t::value_type>(0));
DistanceType distsq = this->computeInitialDistances(*this, vec, dists);
searchLevel(result, vec, BaseClassRef::root_node, distsq, dists,
epsError); // "count_leaf" parameter removed since was neither
// used nor returned to the user.
return result.full();
}
/**
* Find the "num_closest" nearest neighbors to the \a query_point[0:dim-1].
* Their indices are stored inside the result object. \sa radiusSearch,
* findNeighbors \note nChecks_IGNORED is ignored but kept for compatibility
* with the original FLANN interface. \return Number `N` of valid points in
* the result set. Only the first `N` entries in `out_indices` and
* `out_distances_sq` will be valid. Return may be less than `num_closest`
* only if the number of elements in the tree is less than `num_closest`.
*/
size_t knnSearch(const ElementType* query_point, const size_t num_closest,
IndexType* out_indices, DistanceType* out_distances_sq,
const int /* nChecks_IGNORED */ = 10) const {
nanoflann::KNNResultSet<DistanceType, IndexType> resultSet(num_closest);
resultSet.init(out_indices, out_distances_sq);
this->findNeighbors(resultSet, query_point, nanoflann::SearchParams());
return resultSet.size();
}
/**
* Find all the neighbors to \a query_point[0:dim-1] within a maximum radius.
* The output is given as a vector of pairs, of which the first element is a
* point index and the second the corresponding distance. Previous contents of
* \a IndicesDists are cleared.
*
* If searchParams.sorted==true, the output list is sorted by ascending
* distances.
*
* For a better performance, it is advisable to do a .reserve() on the vector
* if you have any wild guess about the number of expected matches.
*
* \sa knnSearch, findNeighbors, radiusSearchCustomCallback
* \return The number of points within the given radius (i.e. indices.size()
* or dists.size() )
*/
size_t radiusSearch(
const ElementType* query_point, const DistanceType& radius,
std::vector<std::pair<IndexType, DistanceType>>& IndicesDists,
const SearchParams& searchParams) const {
RadiusResultSet<DistanceType, IndexType> resultSet(radius, IndicesDists);
const size_t nFound =
radiusSearchCustomCallback(query_point, resultSet, searchParams);
if (searchParams.sorted)
std::sort(IndicesDists.begin(), IndicesDists.end(), IndexDist_Sorter());
return nFound;
}
/**
* Just like radiusSearch() but with a custom callback class for each point
* found in the radius of the query. See the source of RadiusResultSet<> as a
* start point for your own classes. \sa radiusSearch
*/
template <class SEARCH_CALLBACK>
size_t radiusSearchCustomCallback(
const ElementType* query_point, SEARCH_CALLBACK& resultSet,
const SearchParams& searchParams = SearchParams()) const {
this->findNeighbors(resultSet, query_point, searchParams);
return resultSet.size();
}
/** @} */
public:
void computeBoundingBox(BoundingBox& bbox) {
resize(bbox, (DIM > 0 ? DIM : BaseClassRef::dim));
if (dataset.kdtree_get_bbox(bbox)) {
// Done! It was implemented in derived class
} else {
const size_t N = BaseClassRef::m_size;
if (!N)
throw std::runtime_error(
"[nanoflann] computeBoundingBox() called but "
"no data points found.");
for (int i = 0; i < (DIM > 0 ? DIM : BaseClassRef::dim); ++i) {
bbox[i].low = bbox[i].high =
this->dataset_get(*this, BaseClassRef::vind[0], i);
}
for (size_t k = 1; k < N; ++k) {
for (int i = 0; i < (DIM > 0 ? DIM : BaseClassRef::dim); ++i) {
if (this->dataset_get(*this, BaseClassRef::vind[k], i) < bbox[i].low)
bbox[i].low = this->dataset_get(*this, BaseClassRef::vind[k], i);
if (this->dataset_get(*this, BaseClassRef::vind[k], i) > bbox[i].high)
bbox[i].high = this->dataset_get(*this, BaseClassRef::vind[k], i);
}
}
}
}
/**
* Performs an exact search in the tree starting from a node.
* \tparam RESULTSET Should be any ResultSet<DistanceType>
*/
template <class RESULTSET>
void searchLevel(RESULTSET& result_set, const ElementType* vec,
const NodePtr node, DistanceType mindistsq,
distance_vector_t& dists, const float epsError) const {
/* If this is a leaf node, then do check and return. */
if ((node->child1 == NULL) && (node->child2 == NULL)) {
// count_leaf += (node->lr.right-node->lr.left); // Removed since was
// neither used nor returned to the user.
DistanceType worst_dist = result_set.worstDist();
for (IndexType i = node->node_type.lr.left; i < node->node_type.lr.right;
++i) {
const IndexType index = BaseClassRef::vind[i]; // reorder... : i;
if (treeIndex[index] == -1) continue;
DistanceType dist = distance.evalMetric(
vec, index, (DIM > 0 ? DIM : BaseClassRef::dim));
if (dist < worst_dist) {
if (!result_set.addPoint(
static_cast<typename RESULTSET::DistanceType>(dist),
static_cast<typename RESULTSET::IndexType>(
BaseClassRef::vind[i]))) {
// the resultset doesn't want to receive any more points, we're done
// searching!
return; // false;
}
}
}
return;
}
/* Which child branch should be taken first? */
int idx = node->node_type.sub.divfeat;
ElementType val = vec[idx];
DistanceType diff1 = val - node->node_type.sub.divlow;
DistanceType diff2 = val - node->node_type.sub.divhigh;
NodePtr bestChild;
NodePtr otherChild;
DistanceType cut_dist;
if ((diff1 + diff2) < 0) {
bestChild = node->child1;
otherChild = node->child2;
cut_dist = distance.accum_dist(val, node->node_type.sub.divhigh, idx);
} else {
bestChild = node->child2;
otherChild = node->child1;
cut_dist = distance.accum_dist(val, node->node_type.sub.divlow, idx);
}
/* Call recursively to search next level down. */
searchLevel(result_set, vec, bestChild, mindistsq, dists, epsError);
DistanceType dst = dists[idx];
mindistsq = mindistsq + cut_dist - dst;
dists[idx] = cut_dist;
if (mindistsq * epsError <= result_set.worstDist()) {
searchLevel(result_set, vec, otherChild, mindistsq, dists, epsError);
}
dists[idx] = dst;
}
public:
/** Stores the index in a binary file.
* IMPORTANT NOTE: The set of data points is NOT stored in the file, so when
* loading the index object it must be constructed associated to the same
* source of data points used while building it. See the example:
* examples/saveload_example.cpp \sa loadIndex */
void saveIndex(FILE* stream) { this->saveIndex_(*this, stream); }
/** Loads a previous index from a binary file.
* IMPORTANT NOTE: The set of data points is NOT stored in the file, so the
* index object must be constructed associated to the same source of data
* points used while building the index. See the example:
* examples/saveload_example.cpp \sa loadIndex */
void loadIndex(FILE* stream) { this->loadIndex_(*this, stream); }
};
/** kd-tree dynaimic index
*
* class to create multiple static index and merge their results to behave as
* single dynamic index as proposed in Logarithmic Approach.
*
* Example of usage:
* examples/dynamic_pointcloud_example.cpp
*
* \tparam DatasetAdaptor The user-provided adaptor (see comments above).
* \tparam Distance The distance metric to use: nanoflann::metric_L1,
* nanoflann::metric_L2, nanoflann::metric_L2_Simple, etc. \tparam DIM
* Dimensionality of data points (e.g. 3 for 3D points) \tparam IndexType Will
* be typically size_t or int
*/
template <typename Distance, class DatasetAdaptor, int DIM = -1,
typename IndexType = size_t>
class KDTreeSingleIndexDynamicAdaptor {
public:
typedef typename Distance::ElementType ElementType;
typedef typename Distance::DistanceType DistanceType;
protected:
size_t m_leaf_max_size;
size_t treeCount;
size_t pointCount;
/**
* The dataset used by this index
*/
const DatasetAdaptor& dataset; //!< The source of our data
std::vector<int> treeIndex; //!< treeIndex[idx] is the index of tree in which
//!< point at idx is stored. treeIndex[idx]=-1
//!< means that point has been removed.
KDTreeSingleIndexAdaptorParams index_params;
int dim; //!< Dimensionality of each data point
typedef KDTreeSingleIndexDynamicAdaptor_<Distance, DatasetAdaptor, DIM>
index_container_t;
std::vector<index_container_t> index;
public:
/** Get a const ref to the internal list of indices; the number of indices is
* adapted dynamically as the dataset grows in size. */
const std::vector<index_container_t>& getAllIndices() const { return index; }
private:
/** finds position of least significant unset bit */
int First0Bit(IndexType num) {
int pos = 0;
while (num & 1) {
num = num >> 1;
pos++;
}
return pos;
}
/** Creates multiple empty trees to handle dynamic support */
void init() {
typedef KDTreeSingleIndexDynamicAdaptor_<Distance, DatasetAdaptor, DIM>
my_kd_tree_t;
std::vector<my_kd_tree_t> index_(
treeCount, my_kd_tree_t(dim /*dim*/, dataset, treeIndex, index_params));
index = index_;
}
public:
Distance distance;
/**
* KDTree constructor
*
* Refer to docs in README.md or online in
* https://github.com/jlblancoc/nanoflann
*
* The KD-Tree point dimension (the length of each point in the datase, e.g. 3
* for 3D points) is determined by means of:
* - The \a DIM template parameter if >0 (highest priority)
* - Otherwise, the \a dimensionality parameter of this constructor.
*
* @param inputData Dataset with the input features
* @param params Basically, the maximum leaf node size
*/
KDTreeSingleIndexDynamicAdaptor(const int dimensionality,
const DatasetAdaptor& inputData,
const KDTreeSingleIndexAdaptorParams& params =
KDTreeSingleIndexAdaptorParams(),
const size_t maximumPointCount = 1000000000U)
: dataset(inputData), index_params(params), distance(inputData) {
treeCount = static_cast<size_t>(std::log2(maximumPointCount));
pointCount = 0U;
dim = dimensionality;
treeIndex.clear();
if (DIM > 0) dim = DIM;
m_leaf_max_size = params.leaf_max_size;
init();
const size_t num_initial_points = dataset.kdtree_get_point_count();
if (num_initial_points > 0) {
addPoints(0, num_initial_points - 1);
}
}
/** Deleted copy constructor*/
KDTreeSingleIndexDynamicAdaptor(
const KDTreeSingleIndexDynamicAdaptor<Distance, DatasetAdaptor, DIM,
IndexType>&) = delete;
/** Add points to the set, Inserts all points from [start, end] */
void addPoints(IndexType start, IndexType end) {
size_t count = end - start + 1;
treeIndex.resize(treeIndex.size() + count);
for (IndexType idx = start; idx <= end; idx++) {
int pos = First0Bit(pointCount);
index[pos].vind.clear();
treeIndex[pointCount] = pos;
for (int i = 0; i < pos; i++) {
for (int j = 0; j < static_cast<int>(index[i].vind.size()); j++) {
index[pos].vind.push_back(index[i].vind[j]);
if (treeIndex[index[i].vind[j]] != -1)
treeIndex[index[i].vind[j]] = pos;
}
index[i].vind.clear();
index[i].freeIndex(index[i]);
}
index[pos].vind.push_back(idx);
index[pos].buildIndex();
pointCount++;
}
}
/** Remove a point from the set (Lazy Deletion) */
void removePoint(size_t idx) {
if (idx >= pointCount) return;
treeIndex[idx] = -1;
}
/**
* Find set of nearest neighbors to vec[0:dim-1]. Their indices are stored
* inside the result object.
*
* Params:
* result = the result object in which the indices of the
* nearest-neighbors are stored vec = the vector for which to search the
* nearest neighbors
*
* \tparam RESULTSET Should be any ResultSet<DistanceType>
* \return True if the requested neighbors could be found.
* \sa knnSearch, radiusSearch
*/
template <typename RESULTSET>
bool findNeighbors(RESULTSET& result, const ElementType* vec,
const SearchParams& searchParams) const {
for (size_t i = 0; i < treeCount; i++) {
index[i].findNeighbors(result, &vec[0], searchParams);
}
return result.full();
}
};
/** An L2-metric KD-tree adaptor for working with data directly stored in an
* Eigen Matrix, without duplicating the data storage. Each row in the matrix
* represents a point in the state space.
*
* Example of usage:
* \code
* Eigen::Matrix<num_t,Dynamic,Dynamic> mat;
* // Fill out "mat"...
*
* typedef KDTreeEigenMatrixAdaptor< Eigen::Matrix<num_t,Dynamic,Dynamic> >
* my_kd_tree_t; const int max_leaf = 10; my_kd_tree_t mat_index(mat, max_leaf
* ); mat_index.index->buildIndex(); mat_index.index->... \endcode
*
* \tparam DIM If set to >0, it specifies a compile-time fixed dimensionality
* for the points in the data set, allowing more compiler optimizations. \tparam
* Distance The distance metric to use: nanoflann::metric_L1,
* nanoflann::metric_L2, nanoflann::metric_L2_Simple, etc.
*/
template <class MatrixType, int DIM = -1, class Distance = nanoflann::metric_L2>
struct KDTreeEigenMatrixAdaptor {
typedef KDTreeEigenMatrixAdaptor<MatrixType, DIM, Distance> self_t;
typedef typename MatrixType::Scalar num_t;
typedef typename MatrixType::Index IndexType;
typedef
typename Distance::template traits<num_t, self_t>::distance_t metric_t;
typedef KDTreeSingleIndexAdaptor<metric_t, self_t,
MatrixType::ColsAtCompileTime, IndexType>
index_t;
index_t* index; //! The kd-tree index for the user to call its methods as
//! usual with any other FLANN index.
/// Constructor: takes a const ref to the matrix object with the data points
KDTreeEigenMatrixAdaptor(const size_t dimensionality,
const std::reference_wrapper<const MatrixType>& mat,
const int leaf_max_size = 10)
: m_data_matrix(mat) {
const auto dims = mat.get().cols();
if (size_t(dims) != dimensionality)
throw std::runtime_error(
"Error: 'dimensionality' must match column count in data matrix");
if (DIM > 0 && int(dims) != DIM)
throw std::runtime_error(
"Data set dimensionality does not match the 'DIM' template argument");
index =
new index_t(static_cast<int>(dims), *this /* adaptor */,
nanoflann::KDTreeSingleIndexAdaptorParams(leaf_max_size));
index->buildIndex();
}
public:
/** Deleted copy constructor */
KDTreeEigenMatrixAdaptor(const self_t&) = delete;
~KDTreeEigenMatrixAdaptor() { delete index; }
const std::reference_wrapper<const MatrixType> m_data_matrix;
/** Query for the \a num_closest closest points to a given point (entered as
* query_point[0:dim-1]). Note that this is a short-cut method for
* index->findNeighbors(). The user can also call index->... methods as
* desired. \note nChecks_IGNORED is ignored but kept for compatibility with
* the original FLANN interface.
*/
inline void query(const num_t* query_point, const size_t num_closest,
IndexType* out_indices, num_t* out_distances_sq,
const int /* nChecks_IGNORED */ = 10) const {
nanoflann::KNNResultSet<num_t, IndexType> resultSet(num_closest);
resultSet.init(out_indices, out_distances_sq);
index->findNeighbors(resultSet, query_point, nanoflann::SearchParams());
}
/** @name Interface expected by KDTreeSingleIndexAdaptor
* @{ */
const self_t& derived() const { return *this; }
self_t& derived() { return *this; }
// Must return the number of data points
inline size_t kdtree_get_point_count() const {
return m_data_matrix.get().rows();
}
// Returns the dim'th component of the idx'th point in the class:
inline num_t kdtree_get_pt(const IndexType idx, size_t dim) const {
return m_data_matrix.get().coeff(idx, IndexType(dim));
}
// Optional bounding-box computation: return false to default to a standard
// bbox computation loop.
// Return true if the BBOX was already computed by the class and returned in
// "bb" so it can be avoided to redo it again. Look at bb.size() to find out
// the expected dimensionality (e.g. 2 or 3 for point clouds)
template <class BBOX>
bool kdtree_get_bbox(BBOX& /*bb*/) const {
return false;
}
/** @} */
}; // end of KDTreeEigenMatrixAdaptor
/** @} */
/** @} */ // end of grouping
} // namespace nanoflann
#endif /* NANOFLANN_HPP_ */
| [
"martin.a.szarski@boeing.com"
] | martin.a.szarski@boeing.com |
35b4a14994fdcab577dd013f0781a1ab1488b0c0 | 86ddcdc948c9d10df00918c7717808c628e18006 | /src/miner.cpp | e1cc1d039ccf15dff9d9dee5ebccbf316ec8807f | [
"MIT"
] | permissive | ciphermint/CipherCoin | b1e2fff7d589677f1c047b2408a7bc5bb7c24009 | 137b3b73747ac28f41de2155c231a6891bc9ca86 | refs/heads/master | 2020-04-24T21:24:02.135172 | 2019-04-22T10:23:18 | 2019-04-22T10:23:18 | 172,276,311 | 3 | 3 | MIT | 2019-04-25T05:05:19 | 2019-02-23T23:42:41 | C++ | UTF-8 | C++ | false | false | 31,641 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2018 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "miner.h"
#include "amount.h"
#include "hash.h"
#include "main.h"
#include "masternode-sync.h"
#include "net.h"
#include "pow.h"
#include "primitives/block.h"
#include "primitives/transaction.h"
#include "timedata.h"
#include "util.h"
#include "utilmoneystr.h"
#ifdef ENABLE_WALLET
#include "wallet.h"
#endif
#include "validationinterface.h"
#include "masternode-payments.h"
#include "accumulators.h"
#include "blocksignature.h"
#include "spork.h"
#include "invalid.h"
#include "zciphchain.h"
#include <boost/thread.hpp>
#include <boost/tuple/tuple.hpp>
using namespace std;
//////////////////////////////////////////////////////////////////////////////
//
// CipherCoinMiner
//
//
// Unconfirmed transactions in the memory pool often depend on other
// transactions in the memory pool. When we select transactions from the
// pool, we select by highest priority or fee rate, so we might consider
// transactions that depend on transactions that aren't yet in the block.
// The COrphan class keeps track of these 'temporary orphans' while
// CreateBlock is figuring out which transactions to include.
//
class COrphan
{
public:
const CTransaction* ptx;
set<uint256> setDependsOn;
CFeeRate feeRate;
double dPriority;
COrphan(const CTransaction* ptxIn) : ptx(ptxIn), feeRate(0), dPriority(0)
{
}
};
uint64_t nLastBlockTx = 0;
uint64_t nLastBlockSize = 0;
int64_t nLastCoinStakeSearchInterval = 0;
// We want to sort transactions by priority and fee rate, so:
typedef boost::tuple<double, CFeeRate, const CTransaction*> TxPriority;
class TxPriorityCompare
{
bool byFee;
public:
TxPriorityCompare(bool _byFee) : byFee(_byFee) {}
bool operator()(const TxPriority& a, const TxPriority& b)
{
if (byFee) {
if (a.get<1>() == b.get<1>())
return a.get<0>() < b.get<0>();
return a.get<1>() < b.get<1>();
} else {
if (a.get<0>() == b.get<0>())
return a.get<1>() < b.get<1>();
return a.get<0>() < b.get<0>();
}
}
};
void UpdateTime(CBlockHeader* pblock, const CBlockIndex* pindexPrev)
{
pblock->nTime = std::max(pindexPrev->GetMedianTimePast() + 1, GetAdjustedTime());
// Updating time can change work required on testnet:
if (Params().AllowMinDifficultyBlocks())
pblock->nBits = GetNextWorkRequired(pindexPrev, pblock);
}
std::pair<int, std::pair<uint256, uint256> > pCheckpointCache;
CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn, CWallet* pwallet, bool fProofOfStake)
{
CReserveKey reservekey(pwallet);
// Create new block
unique_ptr<CBlockTemplate> pblocktemplate(new CBlockTemplate());
if (!pblocktemplate.get())
return NULL;
CBlock* pblock = &pblocktemplate->block; // pointer for convenience
// -regtest only: allow overriding block.nVersion with
// -blockversion=N to test forking scenarios
if (Params().MineBlocksOnDemand())
pblock->nVersion = GetArg("-blockversion", pblock->nVersion);
// Make sure to create the correct block version after zerocoin is enabled
bool fZerocoinActive = GetAdjustedTime() >= Params().Zerocoin_StartTime();
if (fZerocoinActive)
pblock->nVersion = 4;
else
pblock->nVersion = 3;
// Create coinbase tx
CMutableTransaction txNew;
txNew.vin.resize(1);
txNew.vin[0].prevout.SetNull();
txNew.vout.resize(1);
txNew.vout[0].scriptPubKey = scriptPubKeyIn;
pblock->vtx.push_back(txNew);
pblocktemplate->vTxFees.push_back(-1); // updated at end
pblocktemplate->vTxSigOps.push_back(-1); // updated at end
// ppcoin: if coinstake available add coinstake tx
static int64_t nLastCoinStakeSearchTime = GetAdjustedTime(); // only initialized at startup
if (fProofOfStake) {
boost::this_thread::interruption_point();
pblock->nTime = GetAdjustedTime();
CBlockIndex* pindexPrev = chainActive.Tip();
pblock->nBits = GetNextWorkRequired(pindexPrev, pblock);
CMutableTransaction txCoinStake;
int64_t nSearchTime = pblock->nTime; // search to current time
bool fStakeFound = false;
if (nSearchTime >= nLastCoinStakeSearchTime) {
unsigned int nTxNewTime = 0;
if (pwallet->CreateCoinStake(*pwallet, pblock->nBits, nSearchTime - nLastCoinStakeSearchTime, txCoinStake, nTxNewTime)) {
pblock->nTime = nTxNewTime;
pblock->vtx[0].vout[0].SetEmpty();
pblock->vtx.push_back(CTransaction(txCoinStake));
fStakeFound = true;
}
nLastCoinStakeSearchInterval = nSearchTime - nLastCoinStakeSearchTime;
nLastCoinStakeSearchTime = nSearchTime;
}
if (!fStakeFound)
return NULL;
}
// Largest block you're willing to create:
unsigned int nBlockMaxSize = GetArg("-blockmaxsize", DEFAULT_BLOCK_MAX_SIZE);
// Limit to betweeen 1K and MAX_BLOCK_SIZE-1K for sanity:
unsigned int nBlockMaxSizeNetwork = MAX_BLOCK_SIZE_CURRENT;
nBlockMaxSize = std::max((unsigned int)1000, std::min((nBlockMaxSizeNetwork - 1000), nBlockMaxSize));
// How much of the block should be dedicated to high-priority transactions,
// included regardless of the fees they pay
unsigned int nBlockPrioritySize = GetArg("-blockprioritysize", DEFAULT_BLOCK_PRIORITY_SIZE);
nBlockPrioritySize = std::min(nBlockMaxSize, nBlockPrioritySize);
// Minimum block size you want to create; block will be filled with free transactions
// until there are no more or the block reaches this size:
unsigned int nBlockMinSize = GetArg("-blockminsize", DEFAULT_BLOCK_MIN_SIZE);
nBlockMinSize = std::min(nBlockMaxSize, nBlockMinSize);
// Collect memory pool transactions into the block
CAmount nFees = 0;
{
LOCK2(cs_main, mempool.cs);
CBlockIndex* pindexPrev = chainActive.Tip();
const int nHeight = pindexPrev->nHeight + 1;
CCoinsViewCache view(pcoinsTip);
// Priority order to process transactions
list<COrphan> vOrphan; // list memory doesn't move
map<uint256, vector<COrphan*> > mapDependers;
bool fPrintPriority = GetBoolArg("-printpriority", false);
// This vector will be sorted into a priority queue:
vector<TxPriority> vecPriority;
vecPriority.reserve(mempool.mapTx.size());
for (map<uint256, CTxMemPoolEntry>::iterator mi = mempool.mapTx.begin();
mi != mempool.mapTx.end(); ++mi) {
const CTransaction& tx = mi->second.GetTx();
if (tx.IsCoinBase() || tx.IsCoinStake() || !IsFinalTx(tx, nHeight)){
continue;
}
if(GetAdjustedTime() > GetSporkValue(SPORK_16_ZEROCOIN_MAINTENANCE_MODE) && tx.ContainsZerocoins()){
continue;
}
COrphan* porphan = NULL;
double dPriority = 0;
CAmount nTotalIn = 0;
bool fMissingInputs = false;
uint256 txid = tx.GetHash();
for (const CTxIn& txin : tx.vin) {
//zerocoinspend has special vin
if (tx.IsZerocoinSpend()) {
nTotalIn = tx.GetZerocoinSpent();
//Give a high priority to zerocoinspends to get into the next block
//Priority = (age^6+100000)*amount - gives higher priority to zciphs that have been in mempool long
//and higher priority to zciphs that are large in value
int64_t nTimeSeen = GetAdjustedTime();
double nConfs = 100000;
auto it = mapZerocoinspends.find(txid);
if (it != mapZerocoinspends.end()) {
nTimeSeen = it->second;
} else {
//for some reason not in map, add it
mapZerocoinspends[txid] = nTimeSeen;
}
double nTimePriority = std::pow(GetAdjustedTime() - nTimeSeen, 6);
// zCIPH spends can have very large priority, use non-overflowing safe functions
dPriority = double_safe_addition(dPriority, (nTimePriority * nConfs));
dPriority = double_safe_multiplication(dPriority, nTotalIn);
continue;
}
// Read prev transaction
if (!view.HaveCoins(txin.prevout.hash)) {
// This should never happen; all transactions in the memory
// pool should connect to either transactions in the chain
// or other transactions in the memory pool.
if (!mempool.mapTx.count(txin.prevout.hash)) {
LogPrintf("ERROR: mempool transaction missing input\n");
if (fDebug) assert("mempool transaction missing input" == 0);
fMissingInputs = true;
if (porphan)
vOrphan.pop_back();
break;
}
// Has to wait for dependencies
if (!porphan) {
// Use list for automatic deletion
vOrphan.push_back(COrphan(&tx));
porphan = &vOrphan.back();
}
mapDependers[txin.prevout.hash].push_back(porphan);
porphan->setDependsOn.insert(txin.prevout.hash);
nTotalIn += mempool.mapTx[txin.prevout.hash].GetTx().vout[txin.prevout.n].nValue;
continue;
}
//Check for invalid/fraudulent inputs. They shouldn't make it through mempool, but check anyways.
if (invalid_out::ContainsOutPoint(txin.prevout)) {
LogPrintf("%s : found invalid input %s in tx %s", __func__, txin.prevout.ToString(), tx.GetHash().ToString());
fMissingInputs = true;
break;
}
const CCoins* coins = view.AccessCoins(txin.prevout.hash);
assert(coins);
CAmount nValueIn = coins->vout[txin.prevout.n].nValue;
nTotalIn += nValueIn;
int nConf = nHeight - coins->nHeight;
// zCIPH spends can have very large priority, use non-overflowing safe functions
dPriority = double_safe_addition(dPriority, ((double)nValueIn * nConf));
}
if (fMissingInputs) continue;
// Priority is sum(valuein * age) / modified_txsize
unsigned int nTxSize = ::GetSerializeSize(tx, SER_NETWORK, PROTOCOL_VERSION);
dPriority = tx.ComputePriority(dPriority, nTxSize);
uint256 hash = tx.GetHash();
mempool.ApplyDeltas(hash, dPriority, nTotalIn);
CFeeRate feeRate(nTotalIn - tx.GetValueOut(), nTxSize);
if (porphan) {
porphan->dPriority = dPriority;
porphan->feeRate = feeRate;
} else
vecPriority.push_back(TxPriority(dPriority, feeRate, &mi->second.GetTx()));
}
// Collect transactions into block
uint64_t nBlockSize = 1000;
uint64_t nBlockTx = 0;
int nBlockSigOps = 100;
bool fSortedByFee = (nBlockPrioritySize <= 0);
TxPriorityCompare comparer(fSortedByFee);
std::make_heap(vecPriority.begin(), vecPriority.end(), comparer);
vector<CBigNum> vBlockSerials;
vector<CBigNum> vTxSerials;
while (!vecPriority.empty()) {
// Take highest priority transaction off the priority queue:
double dPriority = vecPriority.front().get<0>();
CFeeRate feeRate = vecPriority.front().get<1>();
const CTransaction& tx = *(vecPriority.front().get<2>());
std::pop_heap(vecPriority.begin(), vecPriority.end(), comparer);
vecPriority.pop_back();
// Size limits
unsigned int nTxSize = ::GetSerializeSize(tx, SER_NETWORK, PROTOCOL_VERSION);
if (nBlockSize + nTxSize >= nBlockMaxSize)
continue;
// Legacy limits on sigOps:
unsigned int nMaxBlockSigOps = MAX_BLOCK_SIGOPS_CURRENT;
unsigned int nTxSigOps = GetLegacySigOpCount(tx);
if (nBlockSigOps + nTxSigOps >= nMaxBlockSigOps)
continue;
// Skip free transactions if we're past the minimum block size:
const uint256& hash = tx.GetHash();
double dPriorityDelta = 0;
CAmount nFeeDelta = 0;
mempool.ApplyDeltas(hash, dPriorityDelta, nFeeDelta);
if (!tx.IsZerocoinSpend() && fSortedByFee && (dPriorityDelta <= 0) && (nFeeDelta <= 0) && (feeRate < ::minRelayTxFee) && (nBlockSize + nTxSize >= nBlockMinSize))
continue;
// Prioritise by fee once past the priority size or we run out of high-priority
// transactions:
if (!fSortedByFee &&
((nBlockSize + nTxSize >= nBlockPrioritySize) || !AllowFree(dPriority))) {
fSortedByFee = true;
comparer = TxPriorityCompare(fSortedByFee);
std::make_heap(vecPriority.begin(), vecPriority.end(), comparer);
}
if (!view.HaveInputs(tx))
continue;
// double check that there are no double spent zCIPH spends in this block or tx
if (tx.IsZerocoinSpend()) {
int nHeightTx = 0;
if (IsTransactionInChain(tx.GetHash(), nHeightTx))
continue;
bool fDoubleSerial = false;
for (const CTxIn txIn : tx.vin) {
if (txIn.scriptSig.IsZerocoinSpend()) {
libzerocoin::CoinSpend spend = TxInToZerocoinSpend(txIn);
bool fUseV1Params = libzerocoin::ExtractVersionFromSerial(spend.getCoinSerialNumber()) < libzerocoin::PrivateCoin::PUBKEY_VERSION;
if (!spend.HasValidSerial(Params().Zerocoin_Params(fUseV1Params)))
fDoubleSerial = true;
if (count(vBlockSerials.begin(), vBlockSerials.end(), spend.getCoinSerialNumber()))
fDoubleSerial = true;
if (count(vTxSerials.begin(), vTxSerials.end(), spend.getCoinSerialNumber()))
fDoubleSerial = true;
if (fDoubleSerial)
break;
vTxSerials.emplace_back(spend.getCoinSerialNumber());
}
}
//This zCIPH serial has already been included in the block, do not add this tx.
if (fDoubleSerial)
continue;
}
CAmount nTxFees = view.GetValueIn(tx) - tx.GetValueOut();
nTxSigOps += GetP2SHSigOpCount(tx, view);
if (nBlockSigOps + nTxSigOps >= nMaxBlockSigOps)
continue;
// Note that flags: we don't want to set mempool/IsStandard()
// policy here, but we still have to ensure that the block we
// create only contains transactions that are valid in new blocks.
CValidationState state;
if (!CheckInputs(tx, state, view, true, MANDATORY_SCRIPT_VERIFY_FLAGS, true))
continue;
CTxUndo txundo;
UpdateCoins(tx, state, view, txundo, nHeight);
// Added
pblock->vtx.push_back(tx);
pblocktemplate->vTxFees.push_back(nTxFees);
pblocktemplate->vTxSigOps.push_back(nTxSigOps);
nBlockSize += nTxSize;
++nBlockTx;
nBlockSigOps += nTxSigOps;
nFees += nTxFees;
for (const CBigNum bnSerial : vTxSerials)
vBlockSerials.emplace_back(bnSerial);
if (fPrintPriority) {
LogPrintf("priority %.1f fee %s txid %s\n",
dPriority, feeRate.ToString(), tx.GetHash().ToString());
}
// Add transactions that depend on this one to the priority queue
if (mapDependers.count(hash)) {
BOOST_FOREACH (COrphan* porphan, mapDependers[hash]) {
if (!porphan->setDependsOn.empty()) {
porphan->setDependsOn.erase(hash);
if (porphan->setDependsOn.empty()) {
vecPriority.push_back(TxPriority(porphan->dPriority, porphan->feeRate, porphan->ptx));
std::push_heap(vecPriority.begin(), vecPriority.end(), comparer);
}
}
}
}
}
if (!fProofOfStake) {
//Masternode and general budget payments
FillBlockPayee(txNew, nFees, fProofOfStake, false);
//Make payee
if (txNew.vout.size() > 1) {
pblock->payee = txNew.vout[1].scriptPubKey;
}
}
nLastBlockTx = nBlockTx;
nLastBlockSize = nBlockSize;
LogPrintf("CreateNewBlock(): total size %u\n", nBlockSize);
// Compute final coinbase transaction.
if (!fProofOfStake) {
pblock->vtx[0] = txNew;
pblock->vtx[0].vout[0].nValue = GetBlockValue(pindexPrev->nHeight);
pblocktemplate->vTxFees[0] = -nFees;
}
pblock->vtx[0].vin[0].scriptSig = CScript() << nHeight << OP_0;
// Fill in header
pblock->hashPrevBlock = pindexPrev->GetBlockHash();
if (!fProofOfStake)
UpdateTime(pblock, pindexPrev);
pblock->nBits = GetNextWorkRequired(pindexPrev, pblock);
pblock->nNonce = 0;
//Calculate the accumulator checkpoint only if the previous cached checkpoint need to be updated
if(nHeight>20){
uint256 nCheckpoint;
uint256 hashBlockLastAccumulated = chainActive[nHeight - (nHeight % 10) - 10]->GetBlockHash();
if (nHeight >= pCheckpointCache.first || pCheckpointCache.second.first != hashBlockLastAccumulated) {
//For the period before v2 activation, zCIPH will be disabled and previous block's checkpoint is all that will be needed
pCheckpointCache.second.second = pindexPrev->nAccumulatorCheckpoint;
if (pindexPrev->nHeight + 1 >= Params().Zerocoin_Block_V2_Start()) {
AccumulatorMap mapAccumulators(Params().Zerocoin_Params(false));
if (fZerocoinActive && !CalculateAccumulatorCheckpoint(nHeight, nCheckpoint, mapAccumulators)) {
LogPrintf("%s: failed to get accumulator checkpoint\n", __func__);
} else {
// the next time the accumulator checkpoint should be recalculated ( the next height that is multiple of 10)
pCheckpointCache.first = nHeight + (10 - (nHeight % 10));
// the block hash of the last block used in the accumulator checkpoint calc. This will handle reorg situations.
pCheckpointCache.second.first = hashBlockLastAccumulated;
pCheckpointCache.second.second = nCheckpoint;
}
}
}
pblock->nAccumulatorCheckpoint = pCheckpointCache.second.second;
}
pblocktemplate->vTxSigOps[0] = GetLegacySigOpCount(pblock->vtx[0]);
CValidationState state;
if (!TestBlockValidity(state, *pblock, pindexPrev, false, false)) {
LogPrintf("CreateNewBlock() : TestBlockValidity failed\n");
mempool.clear();
return NULL;
}
// if (pblock->IsZerocoinStake()) {
// CWalletTx wtx(pwalletMain, pblock->vtx[1]);
// pwalletMain->AddToWallet(wtx);
// }
}
return pblocktemplate.release();
}
void IncrementExtraNonce(CBlock* pblock, CBlockIndex* pindexPrev, unsigned int& nExtraNonce)
{
// Update nExtraNonce
static uint256 hashPrevBlock;
if (hashPrevBlock != pblock->hashPrevBlock) {
nExtraNonce = 0;
hashPrevBlock = pblock->hashPrevBlock;
}
++nExtraNonce;
unsigned int nHeight = pindexPrev->nHeight + 1; // Height first in coinbase required for block.version=2
CMutableTransaction txCoinbase(pblock->vtx[0]);
txCoinbase.vin[0].scriptSig = (CScript() << nHeight << CScriptNum(nExtraNonce)) + COINBASE_FLAGS;
assert(txCoinbase.vin[0].scriptSig.size() <= 100);
pblock->vtx[0] = txCoinbase;
pblock->hashMerkleRoot = pblock->BuildMerkleTree();
}
#ifdef ENABLE_WALLET
//////////////////////////////////////////////////////////////////////////////
//
// Internal miner
//
double dHashesPerSec = 0.0;
int64_t nHPSTimerStart = 0;
CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey, CWallet* pwallet, bool fProofOfStake)
{
CPubKey pubkey;
if (!reservekey.GetReservedKey(pubkey))
return NULL;
CScript scriptPubKey = CScript() << ToByteVector(pubkey) << OP_CHECKSIG;
return CreateNewBlock(scriptPubKey, pwallet, fProofOfStake);
}
bool ProcessBlockFound(CBlock* pblock, CWallet& wallet, CReserveKey& reservekey)
{
LogPrintf("%s\n", pblock->ToString());
LogPrintf("generated %s\n", FormatMoney(pblock->vtx[0].vout[0].nValue));
// Found a solution
{
LOCK(cs_main);
if (pblock->hashPrevBlock != chainActive.Tip()->GetBlockHash())
return error("CipherCoinMiner : generated block is stale");
}
// Remove key from key pool
reservekey.KeepKey();
// Track how many getdata requests this block gets
{
LOCK(wallet.cs_wallet);
wallet.mapRequestCount[pblock->GetHash()] = 0;
}
// Inform about the new block
GetMainSignals().BlockFound(pblock->GetHash());
// Process this block the same as if we had received it from another node
CValidationState state;
if (!ProcessNewBlock(state, NULL, pblock)) {
if (pblock->IsZerocoinStake())
pwalletMain->zciphTracker->RemovePending(pblock->vtx[1].GetHash());
return error("CipherCoinMiner : ProcessNewBlock, block not accepted");
}
for (CNode* node : vNodes) {
node->PushInventory(CInv(MSG_BLOCK, pblock->GetHash()));
}
return true;
}
bool fGenerateBitcoins = false;
bool fMintableCoins = false;
int nMintableLastCheck = 0;
// ***TODO*** that part changed in bitcoin, we are using a mix with old one here for now
void BitcoinMiner(CWallet* pwallet, bool fProofOfStake)
{
LogPrintf("CipherCoinMiner started\n");
SetThreadPriority(THREAD_PRIORITY_LOWEST);
RenameThread("ciphercoin-miner");
// Each thread has its own key and counter
CReserveKey reservekey(pwallet);
unsigned int nExtraNonce = 0;
while (fGenerateBitcoins || fProofOfStake) {
if (fProofOfStake) {
//control the amount of times the client will check for mintable coins
if ((GetTime() - nMintableLastCheck > 5 * 60)) // 5 minute check time
{
nMintableLastCheck = GetTime();
fMintableCoins = pwallet->MintableCoins();
}
if (chainActive.Tip()->nHeight < Params().LAST_POW_BLOCK()) {
MilliSleep(5000);
continue;
}
while (vNodes.empty() || pwallet->IsLocked() || !fMintableCoins || (pwallet->GetBalance() > 0 && nReserveBalance >= pwallet->GetBalance()) || !masternodeSync.IsSynced()) {
nLastCoinStakeSearchInterval = 0;
// Do a separate 1 minute check here to ensure fMintableCoins is updated
if (!fMintableCoins) {
if (GetTime() - nMintableLastCheck > 1 * 60) // 1 minute check time
{
nMintableLastCheck = GetTime();
fMintableCoins = pwallet->MintableCoins();
}
}
MilliSleep(5000);
if (!fGenerateBitcoins && !fProofOfStake)
continue;
}
if (mapHashedBlocks.count(chainActive.Tip()->nHeight)) //search our map of hashed blocks, see if bestblock has been hashed yet
{
if (GetTime() - mapHashedBlocks[chainActive.Tip()->nHeight] < max(pwallet->nHashInterval, (unsigned int)1)) // wait half of the nHashDrift with max wait of 3 minutes
{
MilliSleep(5000);
continue;
}
}
}
//
// Create new block
//
unsigned int nTransactionsUpdatedLast = mempool.GetTransactionsUpdated();
CBlockIndex* pindexPrev = chainActive.Tip();
if (!pindexPrev)
continue;
unique_ptr<CBlockTemplate> pblocktemplate(CreateNewBlockWithKey(reservekey, pwallet, fProofOfStake));
if (!pblocktemplate.get())
continue;
CBlock* pblock = &pblocktemplate->block;
IncrementExtraNonce(pblock, pindexPrev, nExtraNonce);
//Stake miner main
if (fProofOfStake) {
LogPrintf("CPUMiner : proof-of-stake block found %s \n", pblock->GetHash().ToString().c_str());
if (pblock->IsZerocoinStake()) {
//Find the key associated with the zerocoin that is being staked
libzerocoin::CoinSpend spend = TxInToZerocoinSpend(pblock->vtx[1].vin[0]);
CBigNum bnSerial = spend.getCoinSerialNumber();
CKey key;
if (!pwallet->GetZerocoinKey(bnSerial, key)) {
LogPrintf("%s: failed to find zCIPH with serial %s, unable to sign block\n", __func__, bnSerial.GetHex());
continue;
}
//Sign block with the zCIPH key
if (!SignBlockWithKey(*pblock, key)) {
LogPrintf("BitcoinMiner(): Signing new block with zCIPH key failed \n");
continue;
}
} else if (!SignBlock(*pblock, *pwallet)) {
LogPrintf("BitcoinMiner(): Signing new block with UTXO key failed \n");
continue;
}
LogPrintf("CPUMiner : proof-of-stake block was signed %s \n", pblock->GetHash().ToString().c_str());
SetThreadPriority(THREAD_PRIORITY_NORMAL);
ProcessBlockFound(pblock, *pwallet, reservekey);
SetThreadPriority(THREAD_PRIORITY_LOWEST);
continue;
}
LogPrintf("Running CipherCoinMiner with %u transactions in block (%u bytes)\n", pblock->vtx.size(),
::GetSerializeSize(*pblock, SER_NETWORK, PROTOCOL_VERSION));
//
// Search
//
int64_t nStart = GetTime();
uint256 hashTarget = uint256().SetCompact(pblock->nBits);
while (true) {
unsigned int nHashesDone = 0;
uint256 hash;
while (true) {
hash = pblock->GetHash();
if (hash <= hashTarget) {
// Found a solution
SetThreadPriority(THREAD_PRIORITY_NORMAL);
LogPrintf("BitcoinMiner:\n");
LogPrintf("proof-of-work found \n hash: %s \ntarget: %s\n", hash.GetHex(), hashTarget.GetHex());
ProcessBlockFound(pblock, *pwallet, reservekey);
SetThreadPriority(THREAD_PRIORITY_LOWEST);
// In regression test mode, stop mining after a block is found. This
// allows developers to controllably generate a block on demand.
if (Params().MineBlocksOnDemand())
throw boost::thread_interrupted();
break;
}
pblock->nNonce += 1;
nHashesDone += 1;
if ((pblock->nNonce & 0xFF) == 0)
break;
}
// Meter hashes/sec
static int64_t nHashCounter;
if (nHPSTimerStart == 0) {
nHPSTimerStart = GetTimeMillis();
nHashCounter = 0;
} else
nHashCounter += nHashesDone;
if (GetTimeMillis() - nHPSTimerStart > 4000) {
static CCriticalSection cs;
{
LOCK(cs);
if (GetTimeMillis() - nHPSTimerStart > 4000) {
dHashesPerSec = 1000.0 * nHashCounter / (GetTimeMillis() - nHPSTimerStart);
nHPSTimerStart = GetTimeMillis();
nHashCounter = 0;
static int64_t nLogTime;
if (GetTime() - nLogTime > 30 * 60) {
nLogTime = GetTime();
LogPrintf("hashmeter %6.0f khash/s\n", dHashesPerSec / 1000.0);
}
}
}
}
// Check for stop or if block needs to be rebuilt
boost::this_thread::interruption_point();
// Regtest mode doesn't require peers
if (vNodes.empty() && Params().MiningRequiresPeers())
break;
if (pblock->nNonce >= 0xffff0000)
break;
if (mempool.GetTransactionsUpdated() != nTransactionsUpdatedLast && GetTime() - nStart > 60)
break;
if (pindexPrev != chainActive.Tip())
break;
// Update nTime every few seconds
UpdateTime(pblock, pindexPrev);
if (Params().AllowMinDifficultyBlocks()) {
// Changing pblock->nTime can change work required on testnet:
hashTarget.SetCompact(pblock->nBits);
}
}
}
}
void static ThreadBitcoinMiner(void* parg)
{
boost::this_thread::interruption_point();
CWallet* pwallet = (CWallet*)parg;
try {
BitcoinMiner(pwallet, false);
boost::this_thread::interruption_point();
} catch (std::exception& e) {
LogPrintf("ThreadBitcoinMiner() exception");
} catch (...) {
LogPrintf("ThreadBitcoinMiner() exception");
}
LogPrintf("ThreadBitcoinMiner exiting\n");
}
void GenerateBitcoins(bool fGenerate, CWallet* pwallet, int nThreads)
{
static boost::thread_group* minerThreads = NULL;
fGenerateBitcoins = fGenerate;
if (nThreads < 0) {
// In regtest threads defaults to 1
if (Params().DefaultMinerThreads())
nThreads = Params().DefaultMinerThreads();
else
nThreads = boost::thread::hardware_concurrency();
}
if (minerThreads != NULL) {
minerThreads->interrupt_all();
delete minerThreads;
minerThreads = NULL;
}
if (nThreads == 0 || !fGenerate)
return;
minerThreads = new boost::thread_group();
for (int i = 0; i < nThreads; i++)
minerThreads->create_thread(boost::bind(&ThreadBitcoinMiner, pwallet));
}
#endif // ENABLE_WALLET | [
"theciphermint@gmail.com"
] | theciphermint@gmail.com |
0f89788285911692c8ff51085108d089f1f69ce0 | 0ddca58020af291cfb3d6630b1a771a8dbbdb8b9 | /Section 2.3/The Longest Prefix/prefix.cpp | 40ea1a909de9583c9f99ff9e2211547269dfba77 | [
"MIT"
] | permissive | jameskumar/USACO-solutions | acb4e046ee9dd9f76c7c862c4f63d3e4ff2b6121 | 511993b9bb1dcb9303d06b37be9832948862aa55 | refs/heads/master | 2021-01-15T22:41:16.557272 | 2014-09-21T01:10:12 | 2014-09-21T01:10:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | cpp | /*
ID: vistasw2
PROG: prefix
LANG: C++11
*/
#include <string>
#include <iostream>
#include <fstream>
#include <vector>
using namespace std;
ifstream fin;
ofstream fout;
int max(int a, int b)
{
if (a > b) {
return a;
} else {
return b;
}
}
int main()
{
fin.open("prefix.in");
fout.open("prefix.out");
vector<string> d;
while (true) {
string word; fin >> word;
if (word == ".") {
break;
}
d.push_back(word);
}
string seq;
while (fin.good()) {
string l;
fin >> l;
seq += l;
}
int n = seq.size();
// f[i]: 到第i个字符为止是否可匹配
bool f[200005] = {false};
int result = 0;
for (int i = 0; i <= n; ++i) {
for (string& word : d) {
int start = i - (int)word.size();
if (start < 0) continue;
if (seq.substr(start, word.size()) != word) continue;
if (start > 0 && !f[start]) continue;
f[i] = true;
result = i;
break;
}
}
fout << result << endl;
return 0;
} | [
"me@breeswish.org"
] | me@breeswish.org |
af1245ff5465353568ab1ccf4f50ef0b2c9ceed7 | 84e724b3e28a829c28030091812aeb16e2a540c5 | /Utils.cpp | 3b0ab2254739cc0c81e9f39864650b51756fd24f | [] | no_license | zffx/TryAcceleratedCpp | 9b9b2a55417f5b63ddceb067524ad21dec4b0119 | 94c68329fb582fb4a361b88d1c3ea97a518ebd64 | refs/heads/master | 2020-05-22T14:30:45.732636 | 2015-06-13T15:20:05 | 2015-06-13T15:20:05 | 19,538,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,539 | cpp | #include "Declaration.h"
#include "Studentinfo.h"
#include <time.h>
#include <iostream>
#include <vector>
#include <stdexcept> //std::domain_error
#include <numeric> //std::accumulate
#include <algorithm> /*std::sort, std::remove_copy, std::remove_copy_if,
std::remove_if, std::parttition*/
/*
Algorithms act on container elements,they do not act on containers.
The sort, remove_if, and partition functions all move elements to new positions
in the underlying container, but they do not change the properties of the
container itself. For example, remove_if does not change the size of the
container on which it operates; it merely copies elements around within the
container.When we need to shorten the vector to discard the "invalid" elements,
we must do so ourselves with erase. Note that erase must be a member of vector
because it acts directly on the container, not just on its elements.
*/
using std::string;
using std::cin;
using std::cout;
using std::endl;
using std::streamsize;
using std::vector;
namespace Utils
{
typedef vector<double>::size_type vecDoublesz;
double median(std::vector<double> homeworkGrades)
{
vecDoublesz size = homeworkGrades.size();
if ( size == 0)
{
cout << endl << "You must enter your grades. Try again." << endl;
throw std::domain_error("Homework Grades cannot be empty!");
}
std::sort(homeworkGrades.begin(),homeworkGrades.end());
double medGrade = size % 2 == 0 ?
(homeworkGrades.at(size/2) + homeworkGrades[size/2-1]) / 2 :
homeworkGrades.at(size/2);
//.at() has boundary check but [] doesn't
return medGrade;
}
double average(std::vector<double> homeworkGrades)
{
vecDoublesz size = homeworkGrades.size();
if (size == 0) return 0.0;
return std::accumulate(homeworkGrades.begin(),
homeworkGrades.end(),
0.0) / homeworkGrades.size();
}
double grade(double midterm, double final, double homework)
{
return midterm * 0.2 + final * 0.4 + homework * 0.4;
}
double grade(double midterm,
double final,
const std::vector<double>& homeworkGrades)
{
if (homeworkGrades.size() == 0)
{
throw std::domain_error("Student hasn't done any homework!");
}
return grade(midterm, final, median(homeworkGrades));
}
double gradeMedian(const StudentInfo &studentInfo)
{
return studentInfo.grade();
}
double gradeAverage(const StudentInfo &studentInfo)
{
return grade(studentInfo.midterm(),
studentInfo.final(),
average(studentInfo.homeworkGradesConst()));
}
double gradeOptMedian(const StudentInfo &studentInfo)
{
vector<double> turnedInHomework;
/*
std::remove_copy
exclude all the elements with value 0.0 and copy all the
other elements to turnedInHomework
*/
std::remove_copy(studentInfo.homeworkGradesConst().begin(),
studentInfo.homeworkGradesConst().end(),
std::back_inserter(turnedInHomework),
0.0);
if(turnedInHomework.empty())
{
return grade(studentInfo.midterm(),
studentInfo.final(),
0);
}
else
{
return grade(studentInfo.midterm(),
studentInfo.final(),
median(turnedInHomework));
}
}
bool gradeFail(const StudentInfo& studentInfo)
{
return studentInfo.grade() < 60 ? true : false;
}
bool gradePass(const StudentInfo &studentInfo)
{
return !gradeFail(studentInfo);
}
vector<StudentInfo> extractFails(vector<StudentInfo>& students)
{
vector<StudentInfo> fails;
vector<StudentInfo>::size_type i = 0;
while(i < students.size()) //students.size() can change in the loop!
{
if(gradeFail(students.at(i)))
{
fails.push_back(students.at(i));
students.erase(students.begin()+i); //you can only erase an element
//by an iterator! students.begin()+i
}
else
++i;
}
return fails;
}
vector<StudentInfo> extractFailsByIter(vector<StudentInfo>& students)
{
vector<StudentInfo> fails;
vector<StudentInfo>::iterator iter = students.begin();
while(iter != students.end())//you have to keep students.end() here for each
//round of the loop, instead of take the value first(e.g. assign it to
//end_iter) and use it here, since erase() invalidates the end_iter.
{
if(gradeFail(*iter))
{
fails.push_back(*iter);
iter = students.erase(iter); /* You have to assign the return value
back to iter again! Since vector.erase(iter) invalidates the iter
and all iterators that refer to elements after the one that was just
erased. erase() returns an iterator that is poistioned on the element
that follows the one that we just erased.*/
}
else
++iter;
}
return fails;
}
vector<StudentInfo> extractFailsByRmCp(vector<StudentInfo> &students)
{
vector<StudentInfo> failed;
/*
remove_copy_if()
exclude all elements fufil gradePass and copy all the other elements
(students with failed grade) to failed vector
*/
std::remove_copy_if(students.begin(),
students.end(),
std::back_inserter(failed),
gradePass);
/*remove_if() does not really delete/erease the elements fufilling the
condition, it reorders the vector, put all elements which doesn't fufil the
condition in the front, and it returns the iterator pointing to the end of
the "good" elements*/
/*then use vector.erase() to delete the failed elements in the end of the
vector*/
students.erase(std::remove_if(students.begin(),students.end(),gradeFail),
students.end());
return failed;
}
vector<StudentInfo> extractFailsByPartition(vector<StudentInfo> &students)
{
//std::stable_partition()
vector<StudentInfo>::iterator iter =
std::stable_partition(students.begin(),
students.end(),
gradePass);
vector<StudentInfo> failed(iter, students.end());
students.erase(iter,students.end());
return failed;
/*
Both remove_if and partition put the "good" elements first. partition puts
the "bad" elements after that, whereas remove_if does not specify what comes
after it -- it might be the bad elements, but it might also be copies of
any (either good or bad) elements.
For example, if you partition 1 2 3 4 5 on even, you might get 2 4 5 3 1
(note that each element occurs exactly once), whereas if you remove_if the
odd elements, you might get 2 4 3 4 5 (note the duplicates).*/
}
int randN(int n) //implement a real random number generator
{
//Keep in mind, alway do sanity check before processing the argument
if(n < 0 || n > RAND_MAX)
{
throw std::domain_error("Argument to randN is our of range!");
}
std::cout << "input: " << n << std::endl;
int bucketSize = RAND_MAX/n;
int ret;
do
{
srand((unsigned)time(nullptr)+rand());
int randNumber = rand();
std::cout << "randNumber: " << randNumber << std::endl;
ret = randNumber/bucketSize;
} while (ret >= n);
std::cout << "ret: " << ret << std::endl;
return ret;
}
}//end of namespace Utils
| [
"li.unicorn@gmail.com"
] | li.unicorn@gmail.com |
dc5b3d16f072ad7ef60b5c06b32df695d4ef9424 | b128133447c96bb23fddea80e3d371a9030b7352 | /source/SettingsFile.cpp | 63e84b5d9d5cad29d62b4cc87bdd4dc7bb745e85 | [] | no_license | HaikuArchives/ResourceEdit | 43f1b63c41d8a7e4b1bd650d13b317ad93a3f4c3 | c1c0d1ff64fc8c86b06252c23deed84f07711056 | refs/heads/master | 2021-10-24T07:50:21.662653 | 2021-10-23T06:28:10 | 2021-10-23T06:28:10 | 15,650,983 | 5 | 6 | null | 2020-01-28T15:13:52 | 2014-01-05T12:51:55 | C++ | UTF-8 | C++ | false | false | 864 | cpp | /*
* Copyright 2012-2013 Tri-Edge AI <triedgeai@gmail.com>
* All rights reserved. Distributed under the terms of the MIT license.
*/
#include "SettingsFile.h"
SettingsFile::SettingsFile(const char* name)
{
find_directory(B_USER_SETTINGS_DIRECTORY, &fPath);
fPath.Append(name, true);
}
SettingsFile::~SettingsFile()
{
}
void
SettingsFile::Defaults()
{
UndoLimit = 100;
}
void
SettingsFile::Load()
{
fFile = new BFile(fPath.Path(), B_READ_ONLY);
if (fFile->InitCheck() == B_OK) {
fFile->Read(&UndoLimit, sizeof(UndoLimit));
// TODO: Add more settings here (2/3).
} else
Defaults();
delete fFile;
}
void
SettingsFile::Save()
{
fFile = new BFile(fPath.Path(), B_WRITE_ONLY | B_CREATE_FILE);
if (fFile->InitCheck() == B_OK) {
fFile->Write(&UndoLimit, sizeof(UndoLimit));
// TODO: Add more settings here (3/3).
}
delete fFile;
}
| [
"artur.jamro@gmail.com"
] | artur.jamro@gmail.com |
dfb3c8653d68904c9056a4d6f187211badbe3ecd | 3cb63a97707a9a346d5f7fcf42fae68ac3288bee | /Headers/semestre.h | ffccf67968a6904a7e7dd1e5b93bcb0463b58e9f | [] | no_license | NicolaWilser/MaquettesUHA | 5455afb2f61494f4e824dd3cebfaf61ef35a5df0 | aaf50f0e47568d660f1c54e3154e6fc9f093c80b | refs/heads/master | 2021-04-12T05:19:58.469292 | 2018-03-19T16:22:51 | 2018-03-19T16:22:51 | 125,885,996 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 865 | h | #ifndef SEMESTRE_H
#define SEMESTRE_H
#include "matiere.h"
#include "vector"
class semestre
{
public:
// constructeur, destructeur
semestre();
semestre(int );
~semestre();
// méthode retour
int numero() const;
std::vector<matiere*> listeMatieres() const;
int nombreTotalHeure() const ;
int nombreHeureCours() const ;
int nombreHeureTd() const ;
int nombreHeureTp() const ;
int totalCoefficient() const;
int totalHeureCours() const;
int totalHeureTd() const;
int totalHeureTp() const;
int totalEcts() const;
// méthode modificateur
void ajouterMatiere(matiere* nouvelleMatiere);
void supprimerMatiere(int i);
void menuSupprimerMatiere();
void afficher(std::ostream &ost) const;
private:
int d_numero ;
std::vector<matiere*> d_listeMatieres ;
};
#endif // SEMESTRE_H
| [
"37549361+NicolaWilser@users.noreply.github.com"
] | 37549361+NicolaWilser@users.noreply.github.com |
fdb20c5a3c0c2d44ae243fdc94c195dfac04aa18 | aa5eb7efee4b3a93edb72ec4ff132983c3a68094 | /cpp/reverse-string/reverse_string.h | 22eb9ef691662b03e108fea2b575c0f14c228d15 | [] | no_license | puneetugru/exercism-cpp | 329749ee70dc4621f4600c272bfd421068bab9e5 | b68f7e9d19a5848ad1244649b3e326eb8379fd83 | refs/heads/master | 2020-05-04T12:35:58.860798 | 2019-04-11T17:28:59 | 2019-04-11T17:28:59 | 179,126,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 166 | h | #if !defined(REVERSE_STRING_H)
#define REVERSE_STRING_H
#include <string>
namespace reverse_string
{
std::string reverse_string(const std::string &text);
}
#endif | [
"puneetugru@gmail.com"
] | puneetugru@gmail.com |
aa24fb5e993a3c68ae93d2fa0f8b7b903c4fba21 | f7b3f20cc96d8cd9981d05c28ad8cf2fe795f6dd | /all/AutoMoDe-toffi/src/smartobject_modules/AutoMoDeBehaviourSmartObject.cpp | 31a350c973ec364f4feb23cd57bbe0e06e77783c | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | piotrek211/toffi_final | 9281d7fa0e26e9dc26ff2230102a2e02bcdca1a2 | e1a0824074169aa9e4bbb8ca56f6cdb8aea607ce | refs/heads/master | 2023-06-20T11:14:36.069310 | 2021-07-11T15:16:55 | 2021-07-11T15:16:55 | 383,861,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,424 | cpp | /*
* @file <src/modules/AutoMoDeBehaviour.cpp>
*
* @author Antoine Ligot - <aligot@ulb.ac.be>
*
* @package ARGoS3-AutoMoDe
*
* @license MIT License
*/
#include "AutoMoDeBehaviourSmartObject.h"
namespace argos {
AutoMoDeBehaviourSmartObject::AutoMoDeBehaviourSmartObject() {
c_CurrentColor = CColor::BLACK;
color_index = 0;
color_cycle.push_back(CColor::RED);
color_cycle.push_back(CColor::GREEN);
color_cycle.push_back(CColor::BLUE);
//color_cycle = {CColor::RED, CColor::GREEN, CColor::BLUE};
}
/****************************************/
/****************************************/
AutoMoDeBehaviourSmartObject::~AutoMoDeBehaviourSmartObject() {}
/****************************************/
/****************************************/
void AutoMoDeBehaviourSmartObject::SetRobotDAO(void* pc_robot_dao) {
m_pcRobotDAO = (SmartObjectDAO*) pc_robot_dao;
}
/****************************************/
/****************************************/
// Return the color parameter
CColor AutoMoDeBehaviourSmartObject::GetColorParameter(const UInt32& un_value, const bool& b_emiter) {
CColor cColorParameter;
//********************************************************
switch(un_value){
case 0:
cColorParameter = CColor::BLACK;
break;
case 1:
cColorParameter = CColor::RED;
color_index = 0;
break;
case 2:
cColorParameter = CColor::GREEN;
color_index = 1;
break;
case 3:
cColorParameter = CColor::BLUE;
color_index = 2;
break;
case 4:
cColorParameter = RandomColor();
break;
case 5:
cColorParameter = NextColor();
break;
case 6:
cColorParameter = CurrentColor();
break;
default:
cColorParameter = CColor::BLACK;
}
return cColorParameter;
}
/****************************************/
/****************************************/
CColor AutoMoDeBehaviourSmartObject::RandomColor() {
try{
CRandom::CRNG* m_pcRng = CRandom::CreateRNG("argos");
UInt16 size = color_cycle.size();
color_index = m_pcRng->Uniform(CRange<UInt32>(0, size));
return color_cycle[color_index];
} catch(const std::exception &e){
e.what();
}
return CColor::BLACK;
}
/****************************************/
/****************************************/
CColor AutoMoDeBehaviourSmartObject::NextColor() {
CColor current_color = CurrentColor();
color_index = 0;
for (color_index = 0; color_index < color_cycle.size(); color_index++) {
if (current_color == color_cycle[color_index]){
break;
}
}
color_index++;
if (color_index >= color_cycle.size()){
color_index = 0;
}
return color_cycle[color_index];
}
/****************************************/
/****************************************/
CColor AutoMoDeBehaviourSmartObject::CurrentColor() {
return m_pcRobotDAO->GetLEDsColor();
}
}
| [
"piotr.rochala@ulb.be"
] | piotr.rochala@ulb.be |
e1d53872808ff0e25fc17742d34fffc7767b1151 | d18c252ba177efe3603cbf53bb50607ce97ecd79 | /IOTFirmware/ESP8266_Project/workspace/ESP_MQTT_Adafruit/mqtt_2subs_esp8266.ino | 930e752f87d8ab1749de7f01f0ae7b328277e9e6 | [] | no_license | ndbn200491/GreenTura_Project | 561a3e39538b69e6f5339c23d1cdb26018450f5f | 5b7866c894f4aac9017cd1082b77d05315389f55 | refs/heads/master | 2021-01-16T23:03:30.398987 | 2016-10-26T04:41:55 | 2016-10-26T04:41:55 | 71,857,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,382 | ino | /***************************************************
Adafruit MQTT Library ESP8266 Example
Must use ESP8266 Arduino from:
https://github.com/esp8266/Arduino
Works great with Adafruit's Huzzah ESP board & Feather
----> https://www.adafruit.com/product/2471
----> https://www.adafruit.com/products/2821
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing
products from Adafruit!
Written by Tony DiCola for Adafruit Industries.
MIT license, all text above must be included in any redistribution
****************************************************/
#include <ESP8266WiFi.h>
#include "Adafruit_MQTT.h"
#include "Adafruit_MQTT_Client.h"
// the on off button feed turns this LED on/off
#define LED 2
// the slider feed sets the PWM output of this pin
#define PWMOUT 12
/************************* WiFi Access Point *********************************/
#define WLAN_SSID "AP_cisco"
#define WLAN_PASS "Chantroiviet@2014"
/************************* Adafruit.io Setup *********************************/
#define AIO_SERVER "io.adafruit.com"
#define AIO_SERVERPORT 1883 // use 8883 for SSL
#define AIO_USERNAME "ndbn200491"
#define AIO_KEY "f135a0c762d94b4ca9d104f6e1331d22"
/************ Global State (you don't need to change this!) ******************/
// Create an ESP8266 WiFiClient class to connect to the MQTT server.
WiFiClient client;
// or... use WiFiFlientSecure for SSL
//WiFiClientSecure client;
// Store the MQTT server, username, and password in flash memory.
// This is required for using the Adafruit MQTT library.
const char MQTT_SERVER[] PROGMEM = AIO_SERVER;
const char MQTT_USERNAME[] PROGMEM = AIO_USERNAME;
const char MQTT_PASSWORD[] PROGMEM = AIO_KEY;
// Setup the MQTT client class by passing in the WiFi client and MQTT server and login details.
Adafruit_MQTT_Client mqtt(&client, MQTT_SERVER, AIO_SERVERPORT, MQTT_USERNAME, MQTT_PASSWORD);
/****************************** Feeds ***************************************/
// Notice MQTT paths for AIO follow the form: <username>/feeds/<feedname>
// Setup a feed called 'onoff' for subscribing to changes.
const char ONOFF_FEED[] PROGMEM = AIO_USERNAME "/feeds/onoff";
Adafruit_MQTT_Subscribe onoffbutton = Adafruit_MQTT_Subscribe(&mqtt, ONOFF_FEED);
const char SLIDER_FEED[] PROGMEM = AIO_USERNAME "/feeds/slider";
Adafruit_MQTT_Subscribe slider = Adafruit_MQTT_Subscribe(&mqtt, SLIDER_FEED);
const char TEMP_FEED[] PROGMEM = AIO_USERNAME "/feeds/temp";
Adafruit_MQTT_Publish photocell = Adafruit_MQTT_Publish(&mqtt, TEMP_FEED);
#define PHOTOCELL A0 // analog 0
float current = 0;
float last = 0;
float count;
/*************************** Sketch Code ************************************/
// Bug workaround for Arduino 1.6.6, it seems to need a function declaration
// for some reason (only affects ESP8266, likely an arduino-builder bug).
void MQTT_connect();
void setup() {
pinMode(LED, OUTPUT);
pinMode(PWMOUT, OUTPUT);
Serial.begin(115200);
delay(10);
Serial.println(F("Adafruit MQTT demo"));
// Connect to WiFi access point.
Serial.println(); Serial.println();
Serial.print("Connecting to ");
Serial.println(WLAN_SSID);
WiFi.begin(WLAN_SSID, WLAN_PASS);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println();
Serial.println("WiFi connected");
Serial.println("IP address: "); Serial.println(WiFi.localIP());
// Setup MQTT subscription for onoff & slider feed.
mqtt.subscribe(&onoffbutton);
mqtt.subscribe(&slider);
}
uint32_t x=0;
void loop() {
// Ensure the connection to the MQTT server is alive (this will make the first
// connection and automatically reconnect when disconnected). See the MQTT_connect
// function definition further below.
MQTT_connect();
count +=0.01;
// this is our 'wait for incoming subscription packets' busy subloop
// try to spend your time here
current = sin(count);//analogRead(PHOTOCELL);;
Serial.println("the temp update:....................");
Serial.println("\n");
Serial.print(current);
Serial.println("\n");
Serial.print(count);
Serial.println("\n");
// return if the value hasn't changed
if(current == last)
return;
// Now we can publish stuff!
Serial.print(F("\nSending photocell value: "));
Serial.print(current);
Serial.print("... ");
if (! photocell.publish((float)current))
Serial.println(F("Failed."));
else
Serial.println(F("Success!"));
// save the photocell state
last = current;
Adafruit_MQTT_Subscribe *subscription;
while ((subscription = mqtt.readSubscription(5000))) {
// Check if its the onoff button feed
if (subscription == &onoffbutton) {
Serial.print(F("On-Off button: "));
Serial.println((char *)onoffbutton.lastread);
if (strcmp((char *)onoffbutton.lastread, "ON") == 0) {
digitalWrite(LED, LOW);
}
if (strcmp((char *)onoffbutton.lastread, "OFF") == 0) {
digitalWrite(LED, HIGH);
}
}
// check if its the slider feed
if (subscription == &slider) {
Serial.print(F("Slider: "));
Serial.println((char *)slider.lastread);
uint16_t sliderval = atoi((char *)slider.lastread); // convert to a number
analogWrite(PWMOUT, sliderval);
}
}
// ping the server to keep the mqtt connection alive
if(! mqtt.ping()) {
mqtt.disconnect();
}
}
// Function to connect and reconnect as necessary to the MQTT server.
// Should be called in the loop function and it will take care if connecting.
void MQTT_connect() {
int8_t ret;
// Stop if already connected.
if (mqtt.connected()) {
return;
}
Serial.print("Connecting to MQTT... ");
uint8_t retries = 3;
while ((ret = mqtt.connect()) != 0) { // connect will return 0 for connected
Serial.println(mqtt.connectErrorString(ret));
Serial.println("Retrying MQTT connection in 5 seconds...");
mqtt.disconnect();
delay(5000); // wait 5 seconds
retries--;
if (retries == 0) {
// basically die and wait for WDT to reset me
while (1);
}
}
Serial.println("MQTT Connected!");
}
| [
"ndbn200491@gmail.com"
] | ndbn200491@gmail.com |
07273b0cfb43a8b6f01abceacc967ec3ec00fa9d | 90417c2798b05d1afc3288b969cc25ce57a058b4 | /src/atom.cpp | 7400991bacd32243f5b6bdd5a90821c5959ee56e | [] | no_license | ghzuo/BrownDynamics | 2a83fae4200692128efd51cac73440f8d37720b6 | 70761e9fc3be988dae0aa0a0208fe90fa669f794 | refs/heads/master | 2021-05-16T03:09:19.503718 | 2019-12-10T05:48:28 | 2019-12-10T05:48:28 | 30,386,796 | 1 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,262 | cpp | #include "atom.h"
// the Param class
Param::Param():gamma(0.5),beta(1.0),dt(0.005){};
// the Atom class
Param Atom::param;
Atom::Atom(){};
Atom::Atom(const MyVector& s, const MyVector& v, double m=1, const string& str="BEAD")
:name(str),mass(m),site(s),velocity(v){
_initParam();
};
Atom::Atom(const MyVector& s, double m=1, const string& str="BEAD")
:name(str),mass(m),site(s){
_initParam();
};
Atom::Atom(const vector<string>& words):name(words[1]),mass(stod(words[2])){
for(int i=0; i<site.nDim(); ++i)
site[i] = stod(words[i+3]);
_initParam();
};
void Atom::_initParam(){
pfStruct = param.dt/(mass + 0.5 * mass * param.gamma * param.dt);
pfRand = sqrt(2 * mass * param.gamma * param.beta / param.dt) * pfStruct;
pfDrag = 1 - param.gamma * mass * pfStruct;
}
void Atom::move(){
// renew the velocity ...
MyVector oneGauss;
oneGauss.initGauss();
velocity *= pfDrag;
velocity += (oneGauss * pfRand);
velocity += (force * pfStruct);
// renew the site ...
site += velocity * param.dt;
}
void Atom::initForce(){force.reinitial();};
ostream& operator<<(ostream& os, const Atom& a){
os << a.site << " "
<< a.velocity << " "
<< a.force;
return os;
};
| [
"ghzuo@fudan.edu.cn"
] | ghzuo@fudan.edu.cn |
e7aca4352e7c762bb9b66098a9bea7d3150c9bec | 77c1813b5642ba6c91eab2c9a089f7a52fd37302 | /src/matrix-utils/singular/Svd.h | c382f71543dc3e5321ea5d14c541881ccd09abba | [
"MIT"
] | permissive | RevolutionBTC/test-rbtc | 16a9a5e717312b78cad092804aadfda8c0ae9b34 | a75b9180c1eae92872c4afb9bf53e588da984583 | refs/heads/main | 2023-09-05T02:00:23.770087 | 2021-11-21T00:08:06 | 2021-11-21T00:08:06 | 430,235,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,044 | h | #ifndef _SINGULAR_SVD_H
#define _SINGULAR_SVD_H
#include "matrix-utils/singular/DiagonalMatrix.h"
#include "matrix-utils/singular/Matrix.h"
#include "matrix-utils/singular/Reflector.h"
#include "matrix-utils/singular/Rotator.h"
#include "matrix-utils/singular/singular.h"
#include <algorithm>
#include <cassert>
#include <tuple>
namespace singular {
/**
* Namespace for singular value decomposition.
*
* @tparam M
* Number of rows in an input matrix.
* @tparam N
* Number of columns in an input matrix.
*/
template < int M, int N >
struct Svd {
/**
* Tuple of left singular vectors, singular values and right singular
* vectors.
*
* Use `getU`, `getS` and `getV` instead of `std::get` to access items.
*/
typedef std::tuple< Matrix< M, M >,
DiagonalMatrix< M, N >,
Matrix< N, N > > USV;
/** Returns the left-singular-vectors from a given `USV` tuple. */
static inline const Matrix< M, M >& getU(const USV& usv) {
return std::get< 0 >(usv);
}
/** Returns the singular values from a given `USV` tuple. */
static inline const DiagonalMatrix< M, N >& getS(const USV& usv) {
return std::get< 1 >(usv);
}
/** Checks if the matrix is full-rank */
static inline bool isFullRank(const DiagonalMatrix< M, N >& singularValues, const int size) {
const double round_off = 1.000009e-12;
for (int i = 0; i < size; ++i) {
if (abs( singularValues(i, i) ) < round_off)
return false;
}
return true;
}
/** Returns the right-singular-vectors from a given `USV` tuple. */
static inline const Matrix< N, N >& getV(const USV& usv) {
return std::get< 2 >(usv);
}
/**
* Decomposes a given matrix into left singular vectors,
* singular values and right singular vectors.
*
* \f[
* \mathbf{A} = \mathbf{U} \mathbf{\Sigma} \mathbf{V}^T
* \f]
* \f[
* \begin{array}{ccl}
* \mathbf{A} & : & \text{matrix to be decomposed; i.e., m} \\
* \mathbf{U} & : & \text{left-singular-vectors given as an orthonormal matrix} \\
* \mathbf{S} & : & \text{singular values given as a diagonal matrix} \\
* \mathbf{V} & : & \text{right-singular-vectors as an orthonormal matrix}
* \end{array}
* \f]
*
* @param m
* `M` x `N` matrix to be decomposed.
* @return
* Decomposition of `m`.
* @see getU
* @see getS
* @see getV
*/
static USV decomposeUSV(const Matrix< M, N >& m) {
// makes sure that M >= N
// otherwise decomposes the transposed matrix
if (M < N) {
// A^T = V * S^T * U^T
typename Svd< N, M >::USV usvT =
Svd< N, M >::decomposeUSV(m.transpose());
return std::make_tuple(
std::move(std::get< 2 >(usvT)),
std::get< 1 >(usvT).transpose(),
std::move(std::get< 0 >(usvT)));
}
const int MAX_ITERATIONS = N * 10;
// allocates matrices
Matrix< M, M > u = Matrix< M, M >::identity();
// Matrix< M, N > s = m.clone();
Matrix< N, N > v = Matrix< N, N >::identity();
// bidiagonalizes a given matrix
BidiagonalMatrix m2 = bidiagonalize(u, m.clone(), v);
// repeats Francis iteration
int iteration = 0;
int n = N;
while (n >= 2) {
// processes the n-1 x n-1 submatrix
// if the current n x n submatrix has converged
double bn = m2(n - 1, n - 1);
if (bn == 0.0 || std::abs(m2(n - 2, n - 1) / bn) < 1.0e-15) {
--n;
} else {
// aborts if too many iterations
++iteration;
if (iteration > MAX_ITERATIONS) {
break;
}
doFrancis(u, m2, v, n);
}
}
// copies the diagonal elements
// and makes all singular values positive
double ss[N];
for (int i = 0; i < N; ++i) {
if (m2(i, i) < 0) {
ss[i] = -m2(i, i);
// inverts the sign of the right singular vector
Vector< double > vi = v.column(i);
std::transform(
vi.begin(), vi.end(), vi.begin(),
[](double x) {
return -x;
});
} else {
ss[i] = m2(i, i);
}
}
// sorts singular values in descending order if necessary
int shuffle[M]; // M >= N
bool sortNeeded = false;
for (int i = 0; i < M; ++i) {
shuffle[i] = i;
sortNeeded = sortNeeded || (i < N - 1 && ss[i] < ss[i + 1]);
}
if (sortNeeded) {
// shuffles the N (<= M) singular values
std::sort(shuffle, shuffle + N, [&ss](int i, int j) {
return ss[i] > ss[j]; // descending order
});
double ss2[M];
std::transform(shuffle, shuffle + N, ss2, [&ss](int i) {
return ss[i];
});
return std::make_tuple(u.shuffleColumns(shuffle),
DiagonalMatrix< M, N >(ss2),
v.shuffleColumns(shuffle));
} else {
return std::make_tuple(std::move(u),
DiagonalMatrix< M, N >(ss),
std::move(v));
}
}
private:
/**
* M x N bidiagonal matrix.
*
* If `M >= N`, a bidiagonal matrix looks like,
* \f[
* \mathbf{A} = \begin{bmatrix}
* \beta_1 & \gamma_1 & & & \\
* & \beta_2 & \gamma_2 & & \\
* & & \ddots & \ddots & \\
* & & & \beta_{N-1} & \gamma_{N-1} \\
* & & & & \beta_N
* \end{bmatrix}
* \f]
*
* The behavior is undefined if `M < N`.
*/
class BidiagonalMatrix {
private:
/**
* Memory block for the diagonal elements.
* The number of elements is `2 * N - 1`
*
* The ith diagonal element is given by `pBlock[i * 2]`.
* The ith upper-diagonal element is given by `pBlock[i * 2 + 1]`.
*/
double* pBlock;
public:
/**
* Initializes from bidiagonal elements of a given matrix.
*
* **Only bidiagonal elements are taken from `m` whether it is
* bidiagonal or not.**
*
* The behavior is undefined if `M < N`.
*
* @param m
* Matrix from which bidiagonal elements are to be taken.
*/
BidiagonalMatrix(const Matrix< M, N >& m) {
assert(M >= N);
this->pBlock = new double[2 * N - 1];
for (int i = 0; i < N; ++i) {
this->pBlock[i * 2] = m(i, i);
if (i < N - 1) {
this->pBlock[i * 2 + 1] = m(i, i + 1);
}
}
}
/**
* Steals the memory block from a given bidiagonal matrix.
*
* @param[in,out] copyee
* Bidiagonal matrix from which the memory block is to be
* stolen.
* No longer valid after this call.
*/
#if SINGULAR_RVALUE_REFERENCE_SUPPORTED
inline BidiagonalMatrix(BidiagonalMatrix&& copyee)
: pBlock(copyee.pBlock)
{
copyee.pBlock = nullptr;
}
#else
inline BidiagonalMatrix(const BidiagonalMatrix& copyee)
: pBlock(copyee.pBlock)
{
const_cast< BidiagonalMatrix& >(copyee).pBlock = nullptr;
}
#endif
/** Releases the memory block for bidiagonal elements. */
inline ~BidiagonalMatrix() {
this->releaseBlock();
}
/**
* Returns the element at given row and column.
*
* Values are 0 unless `i == j` or `i == j + 1`.
*
* The behavior is undefined,
* - if `i < 0` or `i >= M`,
* - or if `j < 0` or `j >= N`
*
* @param i
* Index of the row to be obtained.
* @param j
* Index of the column to be obtained.
* @return
* Element at the given row and column.
*/
double operator ()(int i, int j) const {
assert(i >= 0 && i < M);
assert(j >= 0 && j < N);
if (i == j) {
return this->pBlock[2 * i];
} else if (i + 1 == j) {
return this->pBlock[2 * i + 1];
} else {
return 0.0;
}
}
/**
* Applies a given rotator from right-hand-side of this bidiagonal
* matrix at the first time.
*
* Works like the following,
* \f[
* \begin{bmatrix}
* * & * & & & \\
* & * & * & & \\
* & & * & * & \\
* & & & * & \ddots \\
* & & & & \ddots
* \end{bmatrix}
* \begin{bmatrix}
* \mathbf{Q} & \\
* & \mathbf{I}
* \end{bmatrix}
* \to
* \begin{bmatrix}
* * & * & & & \\
* + & * & * & & \\
* & & * & * & \\
* & & & * & \ddots \\
* & & & & \ddots
* \end{bmatrix}
* \f]
* where
* \f[
* \begin{array}{ccl}
* \mathbf{Q} & : & 2 \times 2 \text{ rotator} \\
* \mathbf{I} & : & (N-2) \times (N-2) \text{ identity matrix} \\
* + & : & \text{bulge}
* \end{array}
* \f]
*
* The behavior is undefined if `N < 2`.
*
* @param r
* Rotator to be applied from right-hand-side of this bidiagonal
* matrix.
* @return
* Bulge made at (1, 0).
*/
double applyFirstRotatorFromRight(const Rotator& r) {
double b1 = this->pBlock[0];
double g1 = this->pBlock[1];
double b2 = this->pBlock[2];
double r11 = r(0, 0);
double r12 = r(0, 1);
double r21 = r(1, 0);
double r22 = r(1, 1);
this->pBlock[0] = b1 * r11 + g1 * r21;
this->pBlock[1] = b1 * r12 + g1 * r22;
this->pBlock[2] = b2 * r22;
return b2 * r21;
}
/**
* Applies a given rotator from right-hand-side of this bidiagonal
* matrix.
*
* Works like the following,
* \f[
* \begin{bmatrix}
* \ddots & \ddots & & & & \\
* & * & * & + & & \\
* & & * & * & & \\
* & & & * & * & \\
* & & & & * & \ddots \\
* & & & & & \ddots
* \end{bmatrix}
* \begin{bmatrix}
* \mathbf{I}_1 & & \\
* & \mathbf{Q} & \\
* & & \mathbf{I}_2
* \end{bmatrix}
* \to
* \begin{bmatrix}
* \ddots & \ddots & & & & \\
* & * & * & & & \\
* & & * & * & & \\
* & & + & * & * & \\
* & & & & * & \ddots \\
* & & & & & \ddots
* \end{bmatrix}
* \f]
* where
* \f[
* \begin{array}{ccl}
* \mathbf{Q} & : & 2 \times 2 \text{ rotator} \\
* \mathbf{I}_1 & : & n \times n \text{ identity matrix} \\
* \mathbf{I}_2 & : & (N-n-2) \times (N-n-2) \text{ identity matrix} \\
* + & : & \text{bulge}
* \end{array}
* \f]
*
* The behavior is undefined if `n <= 0` or `n + 1 >= N`.
*
* @param r
* Rotator to be applied from right-hand-side of this bidiagonal
* matrix.
* @param n
* Index of the column where a new bulge is to be made.
* @param bulge
* Bulge at (n - 1, n + 1).
* @return
* Bulge made at (n + 1, n).
*/
double applyRotatorFromRight(
const Rotator& r, int n, double bulge)
{
double* p = this->pBlock + n * 2;
double g0 = p[-1];
double b1 = p[0];
double g1 = p[1];
double b2 = p[2];
double r11 = r(0, 0);
double r12 = r(0, 1);
double r21 = r(1, 0);
double r22 = r(1, 1);
p[-1] = g0 * r11 + bulge * r21;
p[0] = b1 * r11 + g1 * r21;
p[1] = b1 * r12 + g1 * r22;
p[2] = b2 * r22;
return b2 * r21;
}
/**
* Applies a given rotator from left-hand-side of this bidiagonal
* matrix.
*
* Works like the following,
* \f[
* \begin{bmatrix}
* \mathbf{I}_1 & & \\
* & \mathbf{Q}^T & \\
* & & \mathbf{I}_2
* \end{bmatrix}
* \begin{bmatrix}
* \ddots & \ddots & & & & \\
* & * & * & & & \\
* & & * & * & & \\
* & & + & * & * & \\
* & & & & * & \ddots \\
* & & & & & \ddots
* \end{bmatrix}
* \to
* \begin{bmatrix}
* \ddots & \ddots & & & & \\
* & * & * & & & \\
* & & * & * & + & \\
* & & & * & * & \\
* & & & & * & \ddots \\
* & & & & & \ddots
* \end{bmatrix}
* \f]
* where
* \f[
* \begin{array}{ccl}
* \mathbf{Q} & : & 2 \times 2 \text{ rotator} \\
* \mathbf{I}_1 & : & n \times n \text{ identity matrix} \\
* \mathbf{I}_2 & : & (N-n-2) \times (N-n-2) \text{ identity matrix} \\
* + & : & \text{bulge}
* \end{array}
* \f]
*
* The behavior is undefined if `n + 1 >= N`.
*
* @param r
* Rotator to be applied from left-hand-side of this bidiagonal
* matrix.
* @param n
* Index of the row where a new bulge is to be made.
* @param bulge
* Bulge at (n + 1, n).
* @return
* Bulge made at (n, n + 2).
* 0.0 if `n + 2 >= N`.
*/
double applyRotatorFromLeft(const Rotator& r, int n, double bulge) {
double* p = this->pBlock + n * 2;
double b1 = p[0];
double g1 = p[1];
double b2 = p[2];
double r11 = r(0, 0);
double r12 = r(0, 1);
double r21 = r(1, 0);
double r22 = r(1, 1);
p[0] = r11 * b1 + r21 * bulge;
p[1] = r11 * g1 + r21 * b2;
p[2] = r12 * g1 + r22 * b2;
double newBulge;
if (n < N - 2) {
double g2 = p[3];
newBulge = r21 * g2;
p[3] = r22 * g2;
} else {
newBulge = 0.0;
}
return newBulge;
}
private:
#if SINGULAR_FUNCTION_DELETION_SUPPORTED
/** Simple copy is forbidden. */
BidiagonalMatrix(const BidiagonalMatrix& copyee) = delete;
/** Simple assignment is forbidden. */
void operator =(const BidiagonalMatrix& copyee) = delete;
#elif SINGULAR_RVALUE_REFERENCE_SUPPORTED
/** Simple copy is forbidden. */
BidiagonalMatrix(const BidiagonalMatrix& copyee) {}
/** Simple assignment is forbidden. */
void operator =(const BidiagonalMatrix& copyee) {}
#endif
/** Releases the memory block for bidiagonal elements. */
inline void releaseBlock() {
delete[] this->pBlock;
this->pBlock = nullptr;
}
};
private:
/**
* Bindiagonalizes a given matrix.
*
* `M` must be greater than or equal to `N`.
* The behavior is undefined if `M < N`.
*
* @param[in,out] u
* Left-singular-vectors to be upated.
* @param[in,out] m
* Matrix to be bidiagonalized.
* @param[in,out] v
* Right-singular-vectors to be updated.
* @return
* Bidiagonal matrix built from `m`.
*/
static BidiagonalMatrix bidiagonalize(Matrix< M, M >& u,
Matrix< M, N > m,
Matrix< N, N >& v)
{
assert(M >= N);
for (int i = 0; i < N; ++i) {
// applies a householder transform to the column vector i
Reflector< M > rU(m.column(i).slice(i));
m = rU.applyFromLeftTo(m);
u = rU.applyFromRightTo(u); // U1^T*U0^T = U0*U1
if (i < N - 1) {
// applies a householder transform to the row vector i + 1
Reflector< N > rV(m.row(i).slice(i + 1));
m = rV.applyFromRightTo(m);
v = rV.applyFromRightTo(v);
}
}
return BidiagonalMatrix(m);
}
/**
* Performs a single Francis iteration.
*
* Submatrices other than the top-left `n` x `n` submatrix of `m` are
* regarded as already converged.
*
* The behavior is undefined,
* - if `M < N`,
* - or if `n < 2`
*
* @param[in,out] u
* Left-singular-vectors to be updated.
* @param[in,out] m
* Bidiagonalized input matrix where diagonal elements are to be
* singular values after convergence.
* @param[in,out] v
* Right-singular-vectors to be updated.
* @param n
* Size of the submatrix over which the Francis iteration is to be
* performed.
* Must be gerater than or equal to 2.
*/
static void doFrancis(Matrix< M, M >& u,
BidiagonalMatrix& m,
Matrix< N, N >& v,
int n)
{
assert(M >= N);
assert(n >= 2);
// calculates the shift
double rho = calculateShift(m, n);
// applies the first right rotator
double b1 = m(0, 0);
double g1 = m(0, 1);
double mx =
std::max(std::abs(rho), std::max(std::abs(b1), std::abs(g1)));
rho /= mx;
b1 /= mx;
g1 /= mx;
Rotator r0(b1 * b1 - rho * rho, b1 * g1);
double bulge = m.applyFirstRotatorFromRight(r0);
v = r0.applyFromRightTo(v, 0);
// applies the first left rotator
Rotator r1(m(0, 0), bulge);
bulge = m.applyRotatorFromLeft(r1, 0, bulge);
u = r1.applyFromRightTo(u, 0); // U1^T*U0^T = U0*U1
for (int i = 1; i + 1 < n; ++i) {
// calculates (i+1)-th right rotator
Rotator rV(m(i - 1, i), bulge);
bulge = m.applyRotatorFromRight(rV, i, bulge);
v = rV.applyFromRightTo(v, i);
// calculates (i+1)-th left rotator
Rotator rU(m(i, i), bulge);
bulge = m.applyRotatorFromLeft(rU, i, bulge);
u = rU.applyFromRightTo(u, i); // U1^T*U0^T = U0*U1
}
}
/**
* Calculates the shift for a given bidiagonal matrix.
*
* Submatrices other than top-left `n` x `n` submatrix of `m` are
* regarded as already converged.
*
* The behavior is undefined,
* - if `M < N`,
* - or if `n < 2`
*
* @param m
* Bidiagonal matrix from which a shift is to be calculated.
* @param n
* Size of the submatrix to be considered.
* @return
* Shift for the top-left `n` x `n` submatrix of `m`.
*/
static double calculateShift(const BidiagonalMatrix& m, int n) {
assert(M >= N);
assert(n >= 2);
double b1 = m(n - 2, n - 2);
double b2 = m(n - 1, n - 1);
double g1 = m(n - 2, n - 1);
// solves lambda^4 - d*lambda^2 + e = 0
// where
// d = b1^2 + b2^2 + g1^2
// e = b1^2 * b2^2
// chooses lambda (rho) closest to b2
double rho;
double d = b1 * b1 + b2 * b2 + g1 * g1;
double e = b1 * b1 * b2 * b2;
// lambda^2 = (d +- sqrt(d^2 - 4e)) / 2
// so, f = d^2 - 4e must be positive
double f = d * d - 4 * e;
if (f >= 0) {
f = sqrt(f);
// lambda = +-sqrt(d +- f) (d >= 0, f >= 0)
// if d > f, both d+f and d-f have real square roots
// otherwise considers only d+f
if (d > f) {
// lets l1 > l2
double l1 = sqrt((d + f) * 0.5);
double l2 = sqrt((d - f) * 0.5);
// if b2 >= 0, chooses a positive shift
// otherwise chooses a negative shift
if (b2 >= 0) {
if (std::abs(b2 - l1) < std::abs(b2 - l2)) {
rho = l1;
} else {
rho = l2;
}
} else {
if (std::abs(b2 + l1) < std::abs(b2 + l2)) {
rho = -l1;
} else {
rho = -l2;
}
}
} else {
double l1 = sqrt((d + f) * 0.5);
if (std::abs(b2 - l1) <= std::abs(b2 + l1)) {
rho = l1;
} else {
rho = -l1;
}
}
} else {
// no solution. chooses b2 as the shift
rho = b2;
}
return rho;
}
};
}
#endif
| [
"94761670+RevolutionBTC@users.noreply.github.com"
] | 94761670+RevolutionBTC@users.noreply.github.com |
47250ab5ad8201a39c8548ea0638a82aa33b10ee | d6953475c332b3040b42031ab8f9b063f0f1694a | /Cpp/股票交易问题/714. 买卖股票的最佳时机含手续费.cpp | d0622cccae8f81457aae0f716ce509aab7d620e6 | [] | no_license | huanggangfeng/Leetcode | 3f572834bbf39f58ff9239712ec4e0d32e0be427 | a22a945a5f7be09cf36a4a8eeae385c92089ac60 | refs/heads/master | 2023-05-14T18:43:10.758422 | 2021-06-07T14:13:31 | 2021-06-07T14:13:31 | 293,406,819 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 760 | cpp | class Solution {
public:
int maxProfit(vector<int>& prices, int fee) {
int len = prices.size();
if (len <= 1)
return 0;
int ret = 0;
// 第i天有2种状态, 空仓或者满仓
int dp[len][2];
dp[0][0] = 0; // 第一天空仓
dp[0][1] = -prices[0] - fee; // 第一天满仓
for (int i = 1; i < len; i++) {
// 第i天空仓有2可能: 1:
// 1. 前一天已经空仓, dp[i-1][0]
// 2. 前一天还持有股票, 今天卖出的, dp[i-1][1] + prices[i] - fee;
dp[i][0] = max(dp[i-1][0], dp[i-1][1] + prices[i]);
dp[i][1] = max(dp[i-1][1], dp[i-1][0] - prices[i] - fee);
}
return dp[len-1][0];
}
}; | [
"82589887@qq.com"
] | 82589887@qq.com |
fe70e5cb231e01286f20f9784a15f3c4b4d8a464 | 3a80e4f95be64290d29cd242c8b53828b855541e | /Decision/RoboRTS_decision/src/roborts_decision/blue_master (copy).cpp | 5b71210a201dfead68b48272d776535caf3718f8 | [
"MIT"
] | permissive | AlexanderLeading/robo_ws | 1d32da2568b7248aba121c150c02622c31312dea | 145c8a4ae0f08d9186a0d610d206325385118b08 | refs/heads/master | 2023-07-06T00:09:30.755433 | 2021-08-10T11:01:03 | 2021-08-10T11:01:03 | 394,597,600 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,291 | cpp | #include <ros/ros.h>
#include "executor/chassis_executor.h"
#include "example_behavior/back_boot_area_behavior.h"
#include "example_behavior/escape_behavior.h"
#include "example_behavior/chase_behavior.h"
#include "example_behavior/search_behavior.h"
#include "example_behavior/patrol_behavior.h"
#include "example_behavior/goal_behavior.h"
#include "example_behavior/reload_behavior.h"
#include "example_behavior/shield_behavior.h"
#include "example_behavior/test_behavior.h"
#include "example_behavior/ambush_behavior.h"
#include "example_behavior/attack_behavior.h"
#include "example_behavior/nn_behavior.h"
enum BehaviorStateEnum{
INIT = -1,
BACKBOOT = 0,
CHASE=1,
SEARCH=2,
ESCAPE=3,
PATROL=4,
RELOAD=5,
SHIELD=6,
AMBUSH=7,
ATTACK=8,
NN = 9
};
int main(int argc, char **argv) {
ros::init(argc, argv, "blue_master");
std::string full_path = ros::package::getPath("roborts_decision") + "/config/blue_master.prototxt";
auto chassis_executor = new roborts_decision::ChassisExecutor;
auto blackboard = new roborts_decision::Blackboard(full_path);
// Behavior State Enum
BehaviorStateEnum last_state, cur_state;
last_state = BehaviorStateEnum::INIT;
cur_state = BehaviorStateEnum::INIT;
roborts_decision::BackBootAreaBehavior back_boot_area_behavior(chassis_executor, blackboard, full_path);
roborts_decision::ChaseBehavior chase_behavior(chassis_executor, blackboard, full_path);
roborts_decision::SearchBehavior search_behavior(chassis_executor, blackboard, full_path);
roborts_decision::EscapeBehavior escape_behavior(chassis_executor, blackboard, full_path);
roborts_decision::PatrolBehavior patrol_behavior(chassis_executor, blackboard, full_path);
roborts_decision::GoalBehavior goal_behavior(chassis_executor, blackboard);
roborts_decision::ReloadBehavior reload_behavior(chassis_executor, blackboard, full_path);
roborts_decision::ShieldBehavior shield_behavior(chassis_executor, blackboard, full_path);
roborts_decision::TestBehavior test_behavior(chassis_executor, blackboard, full_path);
roborts_decision::AmbushBehavior ambush_behavior(chassis_executor, blackboard, full_path);
roborts_decision::AttackBehavior attack_behavior(chassis_executor, blackboard, full_path);
roborts_decision::NNBehavior nn_behavior(chassis_executor, blackboard, full_path);
ros::Rate rate(10);
// for filter noise command
unsigned int count=0;
const unsigned int count_bound = 3;
while(ros::ok()){
ros::spinOnce();
// static bool click = true;
// if (blackboard->info.remaining_time % 60 >2 ) click = true;
// if (blackboard->info.remaining_time % 60 <= 2 && click) {blackboard->info.times_to_supply = 2; blackboard->info.times_to_buff=1; click=false;}
if (blackboard->info.remaining_time % 60 <= 1) {blackboard->info.times_to_supply = 2; blackboard->info.times_to_buff=1;}
printf("-----------------------------------------\n");
printf("Remaining Time:%d and is begin:%d\n", blackboard->info.remaining_time, blackboard->info.is_begin);
printf("Times to supply:%d, to buff:%d\n", blackboard->info.times_to_supply, blackboard->info.times_to_buff);
printf("\n");
printf("Ally hp:%d, bullet:%d, pose:(%f, %f)\n", blackboard->info.ally_remain_hp, blackboard->info.ally_remain_bullet, blackboard->info.ally.pose.position.x, blackboard->info.ally.pose.position.y);
printf("has_ally_enemy:%d, has_ally_first_enemy:%d, has_ally_second_endmy:%d\n", blackboard->info.has_ally_enemy, blackboard->info.has_ally_first_enemy, blackboard->info.has_ally_second_enemy);
printf("ally first enemy pose:(%f, %f), ally second enemy pose:(%f, %f)\n", blackboard->info.ally_first_enemy.pose.position.x, blackboard->info.ally_first_enemy.pose.position.y, blackboard->info.ally_second_enemy.pose.position.x, blackboard->info.ally_second_enemy.pose.position.y);
printf("\n");
printf("My: has_buff:%d\n", blackboard->info.has_buff);
printf("hp:%d, bullet:%d, pose:(%f, %f)\n", blackboard->info.remain_hp, blackboard->info.remain_bullet, blackboard->GetRobotMapPose().pose.position.x, blackboard->GetRobotMapPose().pose.position.y);
printf("has_my_enemy:%d, has_first_enemy:%d, has_second_enemy:%d\n", blackboard->info.has_my_enemy, blackboard->info.has_first_enemy, blackboard->info.has_second_enemy);
printf("my first enemy pose:(%f, %f), my second enemy pose:(%f, %f)\n", blackboard->info.first_enemy.pose.position.x, blackboard->info.first_enemy.pose.position.y, blackboard->info.second_enemy.pose.position.x, blackboard->info.second_enemy.pose.position.y);
printf("my goal:(%f, %f), ally goal:(%f, %f)\n", blackboard->info.my_goal.pose.position.x, blackboard->info.my_goal.pose.position.y, blackboard->info.ally_goal.pose.position.x, blackboard->info.ally_goal.pose.position.y);
printf("Is Stuck:%d\n", blackboard->IsInStuckArea());
blackboard->IsInStuckArea();
// shoot and dodge command when game is on!
if (last_state != BehaviorStateEnum::ESCAPE){
if (blackboard->CanDodge()) {
blackboard->StartDodge();
// printf("In Dodge!\n");
}
// else
// printf("Not In Dodge!\n");
}
if (blackboard->CanShoot()) blackboard->Shoot(blackboard->info.shoot_hz);
// my pose
geometry_msgs::PoseStamped mypose = blackboard->GetRobotMapPose();
// Defense with buff----------------------------------------------------------------------------------------------------------------
if (blackboard->info.strategy == "go_buff"){
// state decision behavior
if (blackboard->info.remain_hp >= 400){
// according bullet to the buff
if (blackboard->info.remain_bullet > 0){
if ( (!blackboard->info.has_buff && blackboard->info.times_to_buff >0
&& blackboard->GetDistance(blackboard->info.ally, blackboard->info.my_shield)>= blackboard->threshold.near_dist)
|| blackboard->info.is_shielding)
{
cur_state = BehaviorStateEnum::SHIELD;
}
else if (!blackboard->info.has_my_enemy && !blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::SEARCH;
}
else{
if (blackboard->info.has_my_enemy || blackboard->info.valid_camera_armor ){
cur_state = BehaviorStateEnum::AMBUSH;
}
else if(blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::ATTACK;
}
}
}
// not enough bullet
else{
if (last_state == BehaviorStateEnum::SHIELD && !blackboard->info.has_buff && blackboard->info.times_to_buff>0
&& blackboard->GetDistance(mypose, blackboard->info.my_shield)<=blackboard->threshold.near_dist
|| blackboard->info.is_shielding){
cur_state = BehaviorStateEnum::SHIELD;
}
else if ( ((blackboard->info.times_to_supply >0
&& (blackboard->GetDistance(blackboard->info.ally, blackboard->info.my_reload)>= blackboard->threshold.near_dist)) || blackboard->info.is_supplying
)
&& !(blackboard->info.is_hitted && blackboard->info.remain_hp<=600)
){
cur_state = BehaviorStateEnum::RELOAD;
}
else{
cur_state = BehaviorStateEnum::ESCAPE;
}
}
}
// not enought hp
else{
if (blackboard->info.remain_bullet > 0){
if (!blackboard->info.has_my_enemy && !blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::SEARCH;
}
else{
if (blackboard->info.has_my_enemy || blackboard->info.valid_camera_armor ){
cur_state = BehaviorStateEnum::AMBUSH;
}
else if(blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::ATTACK;
}
}
}
else if (blackboard->info.ally_remain_hp < blackboard->info.remain_hp && blackboard->info.times_to_supply >0 || blackboard->info.is_supplying){
cur_state = BehaviorStateEnum::RELOAD;
}
else{
cur_state = BehaviorStateEnum::ESCAPE;
}
}
}
// not first buff strategy--------------------------------------------------------------------------------------------------------
else if (blackboard->info.strategy == "no_go_buff"){
// state decision behavior
if (blackboard->info.remain_hp >= 400){
// according bullet to the buff
if (blackboard->info.remain_bullet > 0){
if (!blackboard->info.has_my_enemy && !blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::SEARCH;
}
else{
if (blackboard->info.has_my_enemy || blackboard->info.valid_camera_armor ){
cur_state = BehaviorStateEnum::AMBUSH;
}
else if(blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::ATTACK;
}
}
}
// not enough bullet
else{
if ( ((blackboard->info.times_to_supply >0
&& (blackboard->GetDistance(blackboard->info.ally, blackboard->info.my_reload)>= blackboard->threshold.near_dist)) || blackboard->info.is_supplying
)
&& !(blackboard->info.is_hitted && blackboard->info.remain_hp<=600))
{
cur_state = BehaviorStateEnum::RELOAD;
}
else if ( (!blackboard->info.has_buff && blackboard->info.times_to_buff >0
&& blackboard->GetDistance(blackboard->info.ally, blackboard->info.my_shield)>= blackboard->threshold.near_dist)
|| blackboard->info.is_shielding){
cur_state = BehaviorStateEnum::SHIELD;
}
else{
cur_state = BehaviorStateEnum::ESCAPE;
}
}
}
// not enought hp
else{
if (blackboard->info.remain_bullet > 0){
if (!blackboard->info.has_my_enemy && !blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::SEARCH;
}
else{
if (blackboard->info.has_my_enemy || blackboard->info.valid_camera_armor ){
cur_state = BehaviorStateEnum::AMBUSH;
}
else if(blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::ATTACK;
}
}
}
else if (blackboard->info.ally_remain_hp <= blackboard->info.remain_hp && blackboard->info.times_to_supply >0 || blackboard->info.is_supplying){
cur_state = BehaviorStateEnum::RELOAD;
}
else{
cur_state = BehaviorStateEnum::ESCAPE;
}
}
}
// Defense together----------------------------------------------------------------------------------------------------------------
else if (blackboard->info.strategy == "together"){
// state decision behavior
if (blackboard->info.remain_hp >= 400){
// according bullet to the buff
if (blackboard->info.remain_bullet > 0){
if ( (!blackboard->info.has_buff && blackboard->info.times_to_buff >0
&& blackboard->GetDistance(blackboard->info.ally, blackboard->info.my_shield)>= blackboard->threshold.near_dist)
|| blackboard->info.is_shielding)
{
cur_state = BehaviorStateEnum::SHIELD;
}
else if (!blackboard->info.has_my_enemy && !blackboard->info.has_ally_enemy && (blackboard->info.ally_remain_bullet>0 || blackboard->info.times_to_supply <=0)){
cur_state = BehaviorStateEnum::SEARCH;
}
// got enemy
else{
// fight together with ally has bullet.
if ((blackboard->info.has_my_enemy || blackboard->info.valid_camera_armor) && (blackboard->info.ally_remain_bullet>0 || blackboard->info.times_to_supply<=0)){
cur_state = BehaviorStateEnum::AMBUSH;
}
else if(blackboard->info.has_ally_enemy && (blackboard->info.ally_remain_bullet>0 || blackboard->info.times_to_supply<=0)){
cur_state = BehaviorStateEnum::ATTACK;
}
// fight with ally has not bullet, and I have bullet. and have times to bullet
else{
if ( ((blackboard->info.times_to_supply >0
&& (blackboard->GetDistance(blackboard->info.ally, blackboard->info.my_reload)>= blackboard->threshold.near_dist)) || blackboard->info.is_supplying
)
&& !(blackboard->info.is_hitted && blackboard->info.remain_hp<=600)){
cur_state = BehaviorStateEnum::RELOAD;
}
// finally Get out!
else{
cur_state = BehaviorStateEnum::ESCAPE;
}
}
}
}
// not enough bullet
else{
if (last_state == BehaviorStateEnum::SHIELD && !blackboard->info.has_buff && blackboard->info.times_to_buff>0
&& blackboard->GetDistance(mypose, blackboard->info.my_shield)<=blackboard->threshold.near_dist
|| blackboard->info.is_shielding){
cur_state = BehaviorStateEnum::SHIELD;
}
else if ((blackboard->info.times_to_supply >0
&& (blackboard->GetDistance(blackboard->info.ally, blackboard->info.my_reload)>= blackboard->threshold.near_dist))
|| blackboard->info.is_supplying){
cur_state = BehaviorStateEnum::RELOAD;
}
else{
cur_state = BehaviorStateEnum::ESCAPE;
}
}
}
// not enought hp
else{
if (blackboard->info.remain_bullet > 0){
if (!blackboard->info.has_my_enemy && !blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::SEARCH;
}
else{
if (blackboard->info.has_my_enemy || blackboard->info.valid_camera_armor ){
cur_state = BehaviorStateEnum::AMBUSH;
}
else if(blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::ATTACK;
}
}
}
else if (blackboard->info.ally_remain_hp <= blackboard->info.remain_hp && blackboard->info.times_to_supply >0 || blackboard->info.is_supplying){
cur_state = BehaviorStateEnum::RELOAD;
}
else{
cur_state = BehaviorStateEnum::ESCAPE;
}
}
}
// attack originally for chasing
else if (blackboard->info.strategy == "attack"){
// state decision behavior
if (blackboard->info.remain_hp >= 400){
if (blackboard->info.remain_bullet > 0){
// if (!blackboard->info.has_buff){
// cur_state = BehaviorStateEnum::SHIELD;
// }
// else
if (!blackboard->info.has_my_enemy && !blackboard->info.has_ally_enemy && !blackboard->info.is_chase){
cur_state = BehaviorStateEnum::SEARCH;
}
else{
if (blackboard->info.has_my_enemy || blackboard->info.valid_camera_armor || blackboard->info.is_chase ){
cur_state = BehaviorStateEnum::CHASE;
}
else if(blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::ATTACK;
}
// cur_state = BehaviorStateEnum::CHASE;
// cur_state = BehaviorStateEnum::AMBUSH;
// cur_state = BehaviorStateEnum::ATTACK;
}
}
else if (blackboard->info.times_to_supply >0){
cur_state = BehaviorStateEnum::RELOAD;
}
else{
cur_state = BehaviorStateEnum::ESCAPE;
}
}
else{
if (blackboard->info.remain_bullet > 0){
if (!blackboard->info.has_my_enemy && !blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::PATROL;
}
else{
cur_state = BehaviorStateEnum::CHASE;
}
}
else{
cur_state = BehaviorStateEnum::BACKBOOT;
}
}
}
// Defense
else if (blackboard->info.strategy == "defense"){
// state decision behavior
if (blackboard->info.remain_hp >= 400){
if (blackboard->info.remain_bullet > 0){
// if (!blackboard->info.has_buff){
// cur_state = BehaviorStateEnum::SHIELD;
// }
// else
if (!blackboard->info.has_my_enemy && !blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::SEARCH;
}
else{
if (blackboard->info.has_my_enemy || blackboard->info.valid_camera_armor ){
cur_state = BehaviorStateEnum::AMBUSH;
}
else if(blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::ATTACK;
}
// cur_state = BehaviorStateEnum::CHASE;
// cur_state = BehaviorStateEnum::AMBUSH;
// cur_state = BehaviorStateEnum::ATTACK;
}
}
else if (blackboard->info.times_to_supply >0){
cur_state = BehaviorStateEnum::RELOAD;
}
else{
cur_state = BehaviorStateEnum::ESCAPE;
}
}
else{
if (blackboard->info.remain_bullet > 0){
if (!blackboard->info.has_my_enemy && !blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::PATROL;
}
else{
cur_state = BehaviorStateEnum::AMBUSH;
}
}
else if (blackboard->info.ally_remain_hp <400 && blackboard->info.times_to_supply >0){
cur_state = BehaviorStateEnum::RELOAD;
}
else{
cur_state = BehaviorStateEnum::SHIELD;
}
}
}
// Nerual Network Behavior
else if (blackboard->info.strategy == "nn"){
// state decision behavior
if (blackboard->info.remain_hp >= 400){
if (blackboard->info.remain_bullet > 0){
// if (!blackboard->info.has_buff){
// cur_state = BehaviorStateEnum::SHIELD;
// }
// else
if (!blackboard->info.has_my_enemy && !blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::NN;
}
else{
if (blackboard->info.has_my_enemy || blackboard->info.valid_camera_armor ){
cur_state = BehaviorStateEnum::AMBUSH;
}
else if(blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::ATTACK;
}
// cur_state = BehaviorStateEnum::CHASE;
// cur_state = BehaviorStateEnum::AMBUSH;
// cur_state = BehaviorStateEnum::ATTACK;
}
}
else if (blackboard->info.times_to_supply >0){
cur_state = BehaviorStateEnum::RELOAD;
}
else{
cur_state = BehaviorStateEnum::ESCAPE;
}
}
else{
if (blackboard->info.remain_bullet > 0){
if (!blackboard->info.has_my_enemy && !blackboard->info.has_ally_enemy){
cur_state = BehaviorStateEnum::PATROL;
}
else{
cur_state = BehaviorStateEnum::CHASE;
}
}
else{
cur_state = BehaviorStateEnum::BACKBOOT;
}
}
}
// filter
if (!(last_state == BehaviorStateEnum::RELOAD || last_state == BehaviorStateEnum::SHIELD)){
count = last_state != cur_state ? count + 1: 0;
cur_state = count>=count_bound? cur_state: last_state;
}
// cancel last state
if ( (last_state != BehaviorStateEnum::INIT && last_state != cur_state) || blackboard->info.remain_hp<=0 ){
switch (last_state){
case BehaviorStateEnum::BACKBOOT:
back_boot_area_behavior.Cancel();
break;
case BehaviorStateEnum::CHASE:
chase_behavior.Cancel();
break;
case BehaviorStateEnum::ESCAPE:
escape_behavior.Cancel();
break;
case BehaviorStateEnum::PATROL:
patrol_behavior.Cancel();
break;
case BehaviorStateEnum::RELOAD:
reload_behavior.Cancel();
break;
case BehaviorStateEnum::SHIELD:
shield_behavior.Cancel();
break;
case BehaviorStateEnum::SEARCH:
search_behavior.Cancel();
break;
case BehaviorStateEnum::AMBUSH:
ambush_behavior.Cancel();
break;
case BehaviorStateEnum::ATTACK:
attack_behavior.Cancel();
break;
case BehaviorStateEnum::NN:
nn_behavior.Cancel();
break;
}
}
// remain hp is 0, them dead!
if (blackboard->info.remain_hp <=0){
ros::shutdown();
break;
}
switch (cur_state){
case BehaviorStateEnum::BACKBOOT:
back_boot_area_behavior.Run();
std::cout<<"BackBoot" << std::endl;
break;
case BehaviorStateEnum::CHASE:
chase_behavior.Run();
std::cout<<"CHASE" << std::endl;
break;
case BehaviorStateEnum::ESCAPE:
escape_behavior.Run();
std::cout<<"ESCAPE" << std::endl;
break;
case BehaviorStateEnum::PATROL:
patrol_behavior.Run();
std::cout<<"PATROL" << std::endl;
break;
case BehaviorStateEnum::RELOAD:
reload_behavior.Run();
std::cout<<"RELOAD" << std::endl;
break;
case BehaviorStateEnum::SHIELD:
shield_behavior.Run();
std::cout<<"SHIELD" << std::endl;
break;
case BehaviorStateEnum::SEARCH:
search_behavior.Run();
std::cout<<"SEARCH" << std::endl;
break;
case BehaviorStateEnum::AMBUSH:
ambush_behavior.Run();
std::cout<<"AMBUSH" << std::endl;
break;
case BehaviorStateEnum::ATTACK:
attack_behavior.Run();
std::cout<<"ATTACK" << std::endl;
break;
case BehaviorStateEnum::NN:
nn_behavior.Run();
std::cout<<"NN" << std::endl;
break;
}
last_state = cur_state;
rate.sleep();
}
return 0;
}
| [
"519264229@qq.com"
] | 519264229@qq.com |
88f9098b2a6506cd74d7baa695578c1a5cd7b987 | 8bb6d8ce77b9064da19fe3915a706904223f3f0a | /LeetCode/0945 - Minimum Increment to Make Array Unique.cpp | 83f4f90049447c11567361503402df9d90c8afcc | [] | no_license | wj32/Judge | 8c92eb2c108839395bc902454030745b97ed7f29 | d0bd7805c0d441c892c28a718470a378a38e7124 | refs/heads/master | 2023-08-16T19:16:59.475037 | 2023-08-02T03:46:12 | 2023-08-02T03:46:12 | 8,853,058 | 6 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 336 | cpp | class Solution {
public:
int minIncrementForUnique(vector<int>& nums) {
sort(nums.begin(), nums.end());
int sum = 0;
for (size_t i = 1; i < nums.size(); ++i) {
const auto d = max(0, nums[i - 1] - nums[i] + 1);
nums[i] += d;
sum += d;
}
return sum;
}
}; | [
"wj32.64@gmail.com"
] | wj32.64@gmail.com |
4db8d004fc9bb17df7b615bb1cd261329badc0c3 | 34fa51e0e0687d7de439b9a5af39fb7bfce5cf38 | /PROJETO/funcoes.cpp | c7c056849ef1744f88b23ebcbb7f73a6edc64eaa | [] | no_license | Daniel-Santos9/PDI--Deteccao-de-olhos | 809be99153ea4368f492d11404892bbef77986f6 | ad4638636043180fd80a06e8d284829131e64893 | refs/heads/master | 2020-10-02T06:38:40.870709 | 2019-12-13T00:47:14 | 2019-12-13T00:47:14 | 227,723,503 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,936 | cpp | #include <QCoreApplication>
#include <opencv2/opencv.hpp>
#include <opencv2/highgui.hpp>
#include <iostream>
using namespace cv;
using namespace std;
/*bool verifica_cabelo(int pico1, Mat img){ // returna TRUE se as cores das regiões forem semelhantes
int flag=0, media1=0, media2=0;
float perc=0;
Vec3b cor1, cor2;
for (int j=((img.cols/2)-15);j<((img.cols/2)+15);j++){
cor1 = img.at<Vec3b>(pico1-20,j);
media1 += (cor1[2]+cor1[1]+cor1[0])/3;
cor2 = img.at<Vec3b>(pico1+20,j);
media2 += (cor2[2]+cor2[1]+cor2[0])/3;
}
media1 /= 31;
media2 /= 31;
if (media1<media2){
perc = media1/(float)media2;
}
else{
perc = media2/(float)media1;
}
cout<<perc<<endl;
if (perc<0.83 && perc>0.3){
flag = 1;
}
else {
flag =0;
}
return flag;
}
*/
Mat Sobel_y(Mat img){
int gx[3][3]={{1,0,-1},{3,0,-3},{1,0,-1}},
gx2[3][3]={{-1,0,1},{-3,0,3},{-1,0,1}};
int media,a=1,ga,gb,cor;
Mat nova=img.clone();
Vec3b px;
for(int i=a;i<nova.rows-a;i++){
for(int j=a;j<nova.cols-a;j++){
cor = 0;
ga = 0;
gb = 0;
for(int x= -a;x<a+1;x++){
for(int y=-a;y<a+1;y++){
px = img.at<Vec3b>(Point(j+y,i+x));
//media= img.at<uchar>(i,j);
media = 0.299*px[2] + 0.587*px[1] + 0.114*px[0];
ga += media*gx[x+a][y+a];
gb += media*gx2[x+a][y+a];
}
}
if(ga>255)
ga=255;
if(ga<0)
ga=0;
if(gb>255)
gb=255;
if(gb<0)
gb=0;
nova.at<Vec3b>(Point(j,i))[2] = ga+gb;
nova.at<Vec3b>(Point(j,i))[1] = ga+gb;
nova.at<Vec3b>(Point(j,i))[0] = ga+gb;
}
}
return nova;
}
Mat Sobel_x(Mat img){
int gy[3][3]={{-1,-3,-1},{0,0,0},{1,3,1}},
gy2[3][3]={{-1,-3,-1},{0,0,0},{1,3,1}};
int media,a=1,ga,gb,cor;
Mat nova=img.clone();
Vec3b px;
for(int i=a;i<nova.cols-a;i++){
for(int j=a;j<nova.rows-a;j++){
cor = 0;
ga = 0;
gb = 0;
for(int x= -a;x<a+1;x++){
for(int y=-a;y<a+1;y++){
px = img.at<Vec3b>(Point(i+y,j+x));
//media= img.at<uchar>(i,j);
media = 0.299*px[2] + 0.587*px[1] + 0.114*px[0];
ga += media*gy2[x+a][y+a];
gb += media*gy[x+a][y+a];
}
}
if(ga>255)
ga=255;
if(ga<0)
ga=0;
if(gb>255)
gb=255;
if(gb<0)
gb=0;
nova.at<Vec3b>(Point(i,j))[2] = gb+ga;
nova.at<Vec3b>(Point(i,j))[1] = gb+ga;
nova.at<Vec3b>(Point(i,j))[0] = gb+ga;
}
}
return nova;
}
Mat Sobel_xy(Mat img){
Mat x, y, nova = img.clone();
Vec3b px1, px2;
x = Sobel_x(img);
y = Sobel_y(img);
for(int i=0;i<nova.cols;i++){
for(int j=0;j<nova.rows;j++){
px1 = x.at<Vec3b>(Point(i,j));
px2 = y.at<Vec3b>(Point(i,j));
nova.at<Vec3b>(Point(i,j)) = px1+px2;
}
}
return nova;
}
int maiorY(int *vet_y,int tamanho){ //maior i
int maior=-1;
int indice=0;
for (int i=1;i<tamanho;i++){
if (vet_y[i]>maior){
maior=vet_y[i];
indice=i;
}
}
return indice;
}
int maiorX(int *vet_x,int tamanho){ //maior j
int maior=-1;
int indice=0;
for (int i=1;i<tamanho;i++){
if (vet_x[i]>maior){
maior=vet_x[i];
indice=i;
}
}
return indice;
}
void vetor_x(Mat img, int *v){
Vec3b px;
int cont=0, media;
for(int j=0;j<img.cols;j++){
for(int i=0;i<img.rows;i++){
px = img.at<Vec3b>(i,j);
media=(px[0]+px[1]+px[2])/3;
if(media > 128) {
cont++;
}
}
v[j]=cont;
cout<<v[j]<<",";
cont=0;
}
}
void vetor_y(Mat img, int *v){
Vec3b px;
int cont=0, media;
for(int i=0;i<img.rows;i++){
for(int j=0;j<img.cols;j++){
px = img.at<Vec3b>(Point(j,i));
media=(px[0]+px[1]+px[2])/3;
if(media > 250) {
cont++;
}
}
v[i]=cont;
cont=0;
}
}
/*void dois_picos_h(Mat img,int *v, int tamanho, int *pico1, int *pico2){
int maior = -999;
// encontrando o primeiro pico
int i,j,r=1,aux;
for(i=tamanho-1; i >= 1; i--)
{
for(j=0; j < i ; j++)
{
if(v[j]>v[j+1])
{
aux = v[j];
v[j] = v[j+1];
v[j+1] = aux;
}
}
}
do {
*pico1 = v[tamanho-r];
r++;
}while (! verifica_cabelo(v[tamanho-r],img) ) ;
// encontrando o segundo pico
maior = -999;
for(int k=20;k<tamanho-20;k++){
if( ( pow((k-(*pico1)),2) * v[k] ) > maior ){
maior = pow((k-(*pico1)),2) * v[k];
*pico2 = k;
}
}
}
*/
void dois_picos_v(int *v, int tamanho, int *pico1, int *pico2){
int maior = -999;
// encontrando o primeiro pico
for(int j=2;j<tamanho-2;j++){
if(v[j]>maior){
maior = v[j];
*pico1 = j;
}
}
// encontrando o segundo pico
maior = -999;
for(int k=20;k<tamanho-20;k++){
if( ( pow((k-(*pico1)),2) * v[k] ) > maior ){
maior = pow((k-(*pico1)),2) * v[k];
*pico2 = k;
}
}
}
void dois_picos_POS(int *v, int tamanho, int *pico1, int *pico2){
int maior = -999;
int PIres;
// encontrando o primeiro pico
for(int j=2;j<tamanho-2;j++){
if(v[j]>maior){
maior = v[j];
*pico1 = j;
PIres = maior;
}
}
//PIres = *pico1;
cout<<"Pico "<<PIres<<endl;
maior = -999;
for(int j=2;j<tamanho-2;j++){
if(v[j]==PIres){
for(int i=v[j]+25;i<tamanho-25;i++){
if(v[i]>maior){
maior = v[i];
*pico1 = i;
}
}
break;
}
}
cout<<"Pico "<<*pico1;
// encontrando o segundo pico
maior = -999;
for(int k=20;k<tamanho-20;k++){
if( ( pow((k-(*pico1)),2) * v[k] ) > maior ){
maior = pow((k-(*pico1)),2) * v[k];
*pico2 = k;
}
}
}
int modulo(int x){
if (x<0)
x*=-1;
return x;
}
/* - testar função para formar retangulo no rosto -
IDEIA 1
Se o ponto encontrado tiver v[j]+10 for encontrado mais pixels brancos
entende-se que ele esta na sobrancelha,passa linha alguns pixels abaixo.
se não for, é pq ele ja esta no olho entao passa linha algus pixels acima,
ou cria um intervalo 5 pixel acima e 5 pixel a baixo.
IDEIA 2
Fazer a media de pixel acima (PXcim) e pixel abaixo (PXbax)do ponto encontrado
se PXcim > PXbax passa a linha alguns pixels a cima.
*/
int varre_acima(Mat img, int i, int larg){
Mat img2 = img.clone();
int cont1=0, cont2=0, media=0;
Vec3b cor;
for(int x=(i-larg/2);x<i;x++){
for(int y=0;y<img.cols;y++){
cor=img2.at<Vec3b>(x,y);
media=(cor[0]+cor[1]+cor[2])/3;
if(media>=128){
cont1++;
}
}
}
for(int x=i;x<(i+larg/2);x++){
for(int y=0;y<img.cols;y++){
cor=img2.at<Vec3b>(x,y);
media=(cor[0]+cor[1]+cor[2])/3;
if(media>=128){
cont2++;
}
}
}
if (cont1>cont2){
return 1;
}
else {
return 0;
}
}
| [
"daniel.ifce2@gmail.com"
] | daniel.ifce2@gmail.com |
ac7f33f519ea882d9a89928f3fb9779c6ccc2c4d | 76fab692584ca8fbe0a2b4cb25fa186412844ef1 | /tools/test_net_3dnormal_locimtxts.cpp | 88fc775992e782502617fc4e77df77b63a57a9ef | [
"BSD-2-Clause"
] | permissive | xiaolonw/caffe-3dnormal_joint_past | 2191df64c9090ea9e466755b0a74620505b88748 | 4af389ec527fff308750408ee67bd70a36bad206 | refs/heads/master | 2020-05-15T03:56:06.291278 | 2015-08-31T23:29:57 | 2015-08-31T23:29:57 | 34,825,297 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,521 | cpp |
#include <cv.h>
#include <highgui.h>
#include <cxcore.h>
#include <cstring>
#include <cstdlib>
#include <vector>
#include <cmath>
#include <utility>
#include <algorithm>
#include <ctime>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <leveldb/db.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "caffe/caffe.hpp"
#include "caffe/util/io.hpp"
#include <string>
#include <fstream>
using namespace std;
using namespace cv;
using namespace caffe;
using std::vector;
#define HEIGHT 195
#define WIDTH 260
#define STRIDE 13
#define FILENUM 6
int CreateDir(const char *sPathName, int beg) {
char DirName[256];
strcpy(DirName, sPathName);
int i, len = strlen(DirName);
if (DirName[len - 1] != '/')
strcat(DirName, "/");
len = strlen(DirName);
for (i = beg; i < len; i++) {
if (DirName[i] == '/') {
DirName[i] = 0;
if (access(DirName, 0) != 0) {
CHECK(mkdir(DirName, 0755) == 0)<< "Failed to create folder "<< sPathName;
}
DirName[i] = '/';
}
}
return 0;
}
string parsename(char* filename)
{
int len = strlen(filename);
int id = 0;
for (int i = len - 1; i >= 0; i --)
{
if (filename[i] == '/')
{
id = i + 1;
break;
}
}
string res = "";
for (int i = id; i < len - 3; i ++)
res = res + filename[i];
res = res + "txt";
return res;
}
char buf[101000];
int main(int argc, char** argv)
{
cudaSetDevice(0);
Caffe::set_phase(Caffe::TEST);
//Caffe::set_mode(Caffe::CPU);
if (argc == 8 && strcmp(argv[7], "CPU") == 0) {
LOG(ERROR) << "Using CPU";
Caffe::set_mode(Caffe::CPU);
} else {
LOG(ERROR) << "Using GPU";
Caffe::set_mode(Caffe::GPU);
}
Caffe::set_mode(Caffe::CPU);//
// Caffe::SetDevice(0);
NetParameter test_net_param;
ReadProtoFromTextFile(argv[1], &test_net_param);
Net<float> caffe_test_net(test_net_param);
NetParameter trained_net_param;
ReadProtoFromBinaryFile(argv[2], &trained_net_param);
caffe_test_net.CopyTrainedLayersFrom(trained_net_param);
//vector<shared_ptr<Layer<float> > > layers = caffe_test_net.layers();
//const DataLayer<float> *datalayer = dynamic_cast<const DataLayer<float>* >(layers[0].get());
//CHECK(datalayer);
string labelFile(argv[3]);
int data_counts = 0;
FILE * file = fopen(labelFile.c_str(), "r");
while(fgets(buf,100000,file) > 0)
{
data_counts++;
}
fclose(file);
vector<Blob<float>*> dummy_blob_input_vec;
string rootfolder(argv[4]);
rootfolder.append("/");
CreateDir(rootfolder.c_str(), rootfolder.size() - 1);
string folder;
string fName;
float output;
int counts = 0;
file = fopen(labelFile.c_str(), "r");
Blob<float>* c1 = (*(caffe_test_net.bottom_vecs().rbegin()))[0];
int c2 = c1->num();
int batchCount = data_counts;
//string resulttxt = rootfolder + "3dNormalResult.txt";
//FILE * resultfile = fopen(resulttxt.c_str(), "w");
float * output_mat = new float[HEIGHT * WIDTH * 3];
for (int batch_id = 0; batch_id < batchCount; ++batch_id)
{
LOG(INFO)<< "processing batch :" << batch_id+1 << "/" << batchCount <<"...";
const vector<Blob<float>*>& result = caffe_test_net.Forward(dummy_blob_input_vec);
Blob<float>* bboxs = (*(caffe_test_net.bottom_vecs().rbegin()))[0];
int bsize = bboxs->num();
const Blob<float>* labels = (*(caffe_test_net.bottom_vecs().rbegin()))[1];
char fname[1010];
char fname2[1010];
fscanf(file, "%s", fname);
for(int i = 0; i < FILENUM; i ++ ) fscanf(file, "%s", fname2);
string filename = parsename(fname);
filename = rootfolder + "/" + filename;
printf("%s\n", filename.c_str());
FILE * resultfile = fopen(filename.c_str(), "w");
//fprintf(resultfile, "%s ", fname);
int channels = bboxs->channels();
int height = bboxs->height();
int width = bboxs->width();
int hnum = HEIGHT / STRIDE;
int wnum = WIDTH / STRIDE;
int stride = STRIDE;
for(int i = 0; i < bsize; i++)
for(int c = 0; c < channels; c ++)
{
int hi = i / wnum;
int wi = i % wnum;
int off_h = hi * stride;
int off_w = wi * stride;
for(int h = 0; h < height; h ++)
for(int w = 0; w < width; w ++)
{
//output_mat[c * HEIGHT * WIDTH + (off_w + w) * HEIGHT + off_h + h ] = (float)(bboxs->data_at(i, c, h, w));
output_mat[c * HEIGHT * WIDTH + (off_h + h) * WIDTH + off_w + w ] = (float)(bboxs->data_at(i, c, h, w));
}
}
for(int i = 0; i < HEIGHT * WIDTH * 3; i ++)
fprintf(resultfile, "%f ", output_mat[i] );
//fprintf(resultfile, "\n");
fclose(resultfile);
}
delete output_mat;
//fclose(resultfile);
fclose(file);
return 0;
}
| [
"dragon123@dragon123-M51AC.(none)"
] | dragon123@dragon123-M51AC.(none) |
45a1c089f5d944584b3854f715dfa855d4d64c46 | 29aae96691a258ab0f5155820671343c4bf2872d | /STM32CubeF4/Projects/STM32F429I-Discovery/Demonstrations/TouchGFX/touchgfx_demo2014_240x320/TouchGFX/gui/include/gui/animated_graphics_screen/BumpMap.hpp | 98244e30bed73860658ee461178348b00bb08294 | [] | no_license | b264/crystal_stm32 | 60a225bda5b2c9baedee7290adb3f0fc4c53c3ca | 3720064a141a04d4c7a528dbf5603141e0198f47 | refs/heads/master | 2021-04-27T18:31:51.235187 | 2017-11-03T00:12:39 | 2017-11-03T00:12:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454,949 | hpp | /******************************************************************************
*
* @brief This file is part of the TouchGFX 4.8.0 evaluation distribution.
*
* @author Draupner Graphics A/S <http://www.touchgfx.com>
*
******************************************************************************
*
* @section Copyright
*
* This file is free software and is provided for example purposes. You may
* use, copy, and modify within the terms and conditions of the license
* agreement.
*
* This is licensed software for evaluation use, any use must strictly comply
* with the evaluation license agreement provided with delivery of the
* TouchGFX software.
*
* The evaluation license agreement can be seen on www.touchgfx.com
*
* @section Disclaimer
*
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Draupner Graphics A/S has
* no obligation to support this software. Draupner Graphics A/S is providing
* the software "AS IS", with no express or implied warranties of any kind,
* including, but not limited to, any implied warranties of merchantability
* or fitness for any particular purpose or warranties against infringement
* of any proprietary rights of a third party.
*
* Draupner Graphics A/S can not be held liable for any consequential,
* incidental, or special damages, or any other relief, or for any claim by
* any third party, arising from your use of this software.
*
*****************************************************************************/
#ifndef BUMP_MAP_HPP
#define BUMP_MAP_HPP
extern const unsigned int _bump_map_touchgfx_logo[] =
{
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x70f, 0xf803fd03, 0x40503fa, 0x1fc0cfd, 0x100ffd09, 0xf709fc00, 0xfefffffe, 0x603fefd, 0x3fc08f8, 0xc01f4fc, 0xf0ed1104, 0xfbff01fe, 0x308f9f6, 0xbf01410, 0x4210413, 0xf70ff105, 0xf007ecf4, 0xf5e2fedf, 0x6d517f4, 0xfbf302f5, 0xaf701f7, 0xf8f1fcfc, 0xf7fe0606, 0x812f401, 0xf7f807fe, 0x5fcfbfb, 0xa01000e, 0xfb0f0805, 0xfb06fd04, 0x1fd0309, 0xf8fffbfc, 0x1ff0001, 0xbfe0505, 0xf90102fb, 0x12090406, 0x206fd07, 0xf004fc05, 0xfcf8, 0x1f904fe, 0xfefb080a, 0xfe020004, 0xf6ff0003, 0x10003fb, 0x5fb0703, 0xfa02fff8, 0xd08fa00, 0x100f800, 0xfd0000, 0x80bfd02, 0xff00fffb, 0xfefffb, 0x2040408, 0x109ff01, 0xff020104, 0xfdfefb00, 0xff03, 0x1050104, 0xfe04fe01, 0xfcfefaf2, 0xfdf100f7, 0x1fe0f04, 0xc10fb07, 0xf604eef0, 0xafa0b18, 0x41cf909, 0x318fc20, 0xf3000bf2, 0x6f1f4ef, 0xfff302f1, 0xf4e6fee3, 0xef003f5, 0x4f703f0, 0x1f704fd, 0xfdfef400, 0xfbfd04fc, 0xff020403, 0xfafdff00, 0xfcf90400, 0x3fe0100, 0xfcfc0b02, 0x8ff0104, 0xfc0cf909, 0xf2f7f507, 0xff140508, 0x130a050d, 0xf404effa, 0x504fbfa, 0xf7fcf7, 0xfef50ff8, 0x11fd03fc, 0xb07fefe, 0x40dfe1b, 0xf2040200, 0xfe04f6f3, 0x1fd0509, 0x708f40f, 0xff07fd04, 0x140df80c, 0xb1af914, 0xf90afa00, 0x50f0125, 0x613f9fb, 0xfcfdece1, 0x13021109, 0x909faf3, 0x50f031f, 0x206fff8, 0x1407ebef, 0x911e1ee, 0x13fb193a, 0xf7280c34, 0x3cf410, 0xfc1ff50d, 0x305fcfc, 0xfc0b, 0xfc05fdfa, 0xf3ff0b00, 0x6050802, 0xeff4f8ec, 0x9fafafe, 0x401, 0x50efe0f, 0xf500fdfa, 0xfef70af5, 0xbf008fb, 0x70bf605, 0xf9000203, 0xfffc0503, 0x30301fc, 0x8f80004, 0xfc10fcfb, 0x404fcff, 0xfcf800ff, 0x3f71afd, 0x700fbf7, 0xfefee8f5, 0xfe03e6fd, 0xeef60901, 0x70209f4, 0x130cf600, 0xfaf002f1, 0xb04f800, 0xfd060202, 0x4fefd07, 0xfd0df7fd, 0x3fbfefe, 0xf030003, 0xf7ff0900, 0xff04fd04, 0xfcfffcf8, 0xfcfc0506, 0xb10fc0c, 0xfcfd05fd, 0xff030405, 0xf0201ff, 0xfdffff, 0xf605fc05, 0xfafffd00, 0xfffffa, 0x60200fa, 0x1fd0300, 0xfb050409, 0x8f9fe, 0x700fdf6, 0xfbf7fff7, 0x11fbfcfd, 0xfcfc00, 0x404fd01, 0x6ff0002, 0xfe010305, 0xfd020609, 0xf900fffb, 0x8020205, 0xfa00fefd, 0x303f800, 0x102, 0xfeff01ff, 0x1fcff, 0xf7fafdfd, 0x1010304, 0x30605fc, 0x4f401fa, 0xf7fb000d, 0xfbfe1104, 0x404fc07, 0xf7fbf5f4, 0x4050701, 0xf2edf7f0, 0x7f801f7, 0x70a020e, 0x3030101, 0x603fefe, 0x30001fd, 0x303f302, 0xfa01fffc, 0x40101fe, 0x307030b, 0xf908ff03, 0xfefe00fd, 0xfeff0d01, 0x801fcfc, 0xfdfd0307, 0xb20f11c, 0xed0a0f14, 0xf8f91004, 0xe9f9f3fd, 0xb03131b, 0xf510f509, 0x40f0404, 0xf020504, 0xf90904, 0xfefefdfd, 0xbf801, 0x104fb09, 0xfd050606, 0xfffa05, 0xf6fc0a09, 0x7fcf9fd, 0xbfdfc00, 0xf900f3f9, 0xfcf008f7, 0x3f401fc, 0xe5e50700, 0x8f514f8, 0x1b0a1525, 0x1210321, 0xf5140f24, 0x8180835, 0xf925ee32, 0xf211f3eb, 0xfbeffde0, 0x9e9fef3, 0x1f8f7fa, 0xfdf4ece4, 0xfde10bf0, 0xc00fcff, 0xf8040801, 0xe0db00d3, 0x14f81313, 0xf9030811, 0xfff7, 0x9fb00fd, 0xf4fc0403, 0xff04fef8, 0xbf804f4, 0x1ee03fb, 0x1030203, 0x105f9f9, 0x3f905fd, 0xfef301f4, 0x5fdfafb, 0xf2e90efb, 0x5040b0f, 0x915ebe6, 0x5e4fde6, 0xffe70403, 0xf8fd051c, 0xfb29ef0f, 0xfd05f4f0, 0x11ee0e06, 0xcfa04, 0xfaf3fef9, 0x703f8f9, 0xfcf105f9, 0x602010c, 0xf9020206, 0x900fcfc, 0xff040601, 0xff01090d, 0xf607f4ff, 0x1040c0b, 0xc0cfd0d, 0xf708fd00, 0xfefffef9, 0x7f101f1, 0xbfc01fe, 0x30bff0e, 0xfa0ef607, 0x108f801, 0x1fc0703, 0x406ff02, 0xfd04fdfd, 0x704f803, 0x400fcff, 0xff03f6fa, 0x8f10e03, 0xf7fa0503, 0x1000003, 0xfd00fd, 0x3020100, 0x301fe, 0xfaff0505, 0x5020202, 0xf9010306, 0xfd00f901, 0xff0000ff, 0x1fcfc, 0x4000004, 0xf1fe0607, 0x1070105, 0xfbfd04fc, 0xfbf302f4, 0x603090c, 0x110000, 0xf5f1faef, 0xfdf51414, 0x919f305, 0xfb0ef50c, 0x90e0310, 0xff08fd03, 0x8080007, 0xfbfcfdfb, 0x8000302, 0xfdfcf801, 0xff060108, 0xfbfffcfa, 0x90001fe, 0xff04f8fd, 0xfffbfa, 0x1fd04f4, 0x5f108fd, 0xffff01fd, 0xf3e500f4, 0xf8ff1b0b, 0xf6090b04, 0xec07fb0f, 0xe6ea07de, 0x14fd0008, 0x1050708, 0x3fc02f9, 0x3fc04f7, 0x4fd0404, 0x307f504, 0xff02f900, 0x3060404, 0xfafefafe, 0xf90100f7, 0xf9e903f3, 0xcf403fb, 0xf4f6fe01, 0xfb00fbf3, 0xafa00f9, 0xff13000c, 0xc1000fc, 0x30111511, 0xf707d3d7, 0xcee12f1, 0xfae30de8, 0x7f6f901, 0xf504f708, 0xfb08000b, 0x1618ee08, 0xe15f00e, 0xf3041830, 0xff32f51c, 0xf303f5fc, 0x181ce9fd, 0xe2bea15, 0xf6f72b0f, 0xee04efeb, 0xf8f1, 0xdf504f9, 0xff040101, 0x2040107, 0xfc01f9, 0x2fa01f8, 0x7fe01fd, 0x400fd04, 0xf0f1fbe7, 0xdf604f9, 0x2f6fdf9, 0xf16fd05, 0xf5f507f1, 0x9f1040a, 0xe6eb1604, 0x70cf0f8, 0xc0cfc03, 0xeff7f6fe, 0x405eafb, 0x2ec1cfa, 0xfbf504ff, 0xf9feffff, 0x3fbf6f9, 0x3000702, 0x1fd0400, 0xfd04ff01, 0x1f90300, 0x1020703, 0xf8fc0f02, 0xf602ff0d, 0x10d0c0d, 0x607fd07, 0xf404f7fe, 0xfdfd0100, 0xfff807fe, 0x8fb02fc, 0xfbf404f9, 0x807f102, 0xff00030b, 0xf5ff0800, 0x3fffafa, 0x2fffdff, 0xfcf400fc, 0x3fb0100, 0xfdfeff07, 0xff07f8, 0x90afc01, 0xfcfc0400, 0x4040004, 0xfdfe0300, 0x808f8ff, 0x50303, 0x503fdfe, 0x3080005, 0xfd05fa06, 0x7f900, 0xfbff, 0x1fc01fd, 0x20efd05, 0x5090109, 0xf705fbfc, 0xfcfdfffa, 0x9fd08fc, 0xfc0400, 0x40f0116, 0xeb0405f5, 0x6f2fdfc, 0xd0eec05, 0xfffb05fd, 0xf0df808, 0xfcfc, 0xfdfefbfc, 0x1f50bfd, 0x101ff08, 0x90008, 0xf805f902, 0xfff804fb, 0x3fffa01, 0xf6f7f5f1, 0xf8e810f4, 0x1504fefa, 0xf4ef0cfa, 0x1118152d, 0xf62bd2e2, 0x2713f7ff, 0x1a2dd305, 0x1130fa23, 0xeefd100d, 0x511ff09, 0xf8fe02fe, 0x50001fd, 0xf904f9, 0xfff50404, 0xf7fc0104, 0xfcfdfdf6, 0xfffb0405, 0xf1fd02ff, 0xfa000a07, 0xfbfaf2, 0xfefc0604, 0x710fc11, 0xfd040307, 0xf17e5fc, 0xdfd0a07, 0x19f018f3, 0x14100340, 0xf62ae4fc, 0xdee012e5, 0x13f1d4cc, 0x14ebe8dc, 0xe101e2, 0xeab609d1, 0x8cb2702, 0x51403ff, 0x101fd09, 0xe7fdebf3, 0x15f01f26, 0xfa121a42, 0xf541ddf3, 0xeef3fe02, 0xf400, 0xf30bfa, 0xc07060c, 0x7110010, 0xf101ffff, 0xfffc01fc, 0x9fefcf9, 0x7fc0302, 0xf5070410, 0xf7fa08fe, 0x2fe0708, 0x4fdfbfb, 0xf2f80bfc, 0x1306090b, 0xf81de3ea, 0x12f52227, 0xe1fcfdfd, 0x1422e612, 0xe5f30710, 0xfe0cffef, 0x7fb01f8, 0xfbfa02fd, 0xfff90003, 0x4fd, 0x50102ff, 0xfdff0000, 0xfffcf8, 0x7fe05fc, 0xfd010cfe, 0xfe060d14, 0xfd100206, 0xfdfdffff, 0x10cf005, 0x8070e, 0xf1000801, 0x8010302, 0xf8ff01fc, 0x9fdfb07, 0xf800fdfa, 0xff040400, 0x1feff03, 0x405fc04, 0xf901f2f3, 0xfeee03f0, 0xf308fc, 0x703faf6, 0xefb0100, 0xfc000400, 0xfc00fc, 0xfcfb07ff, 0x6fdfb00, 0x707fd01, 0xfc0100, 0xfdfefb, 0xf9f701fe, 0x301fc04, 0xfc000005, 0x40003, 0x102fb00, 0x702fdfe, 0xf8fffc00, 0xfbff0303, 0x7010a03, 0xfd00f5f1, 0xfae711f7, 0x814f403, 0x100df404, 0xf8ef0609, 0xfa040c0b, 0xfc0004, 0x4f901, 0xf7fb0707, 0x50b0404, 0x30004, 0xf9fd0704, 0xf501ff07, 0xfc040000, 0x300f9ff, 0xf902f401, 0x20b0904, 0xef0cfd, 0x40df0f1, 0x1dfd0ff7, 0xfbfc0d37, 0xf707f202, 0xbf3eb0b, 0x903040d, 0x423fc0f, 0xff09f903, 0xfc07fb00, 0x2fd0501, 0x203fefd, 0xfffdfff8, 0x506f8fd, 0x304f5fc, 0x300fffb, 0xafe06, 0xa160511, 0xedfefe02, 0x105fdfc, 0xe030910, 0xff12f504, 0x4f90014, 0xff06f3ef, 0xde30ed9, 0x22e702e6, 0xf6e6fdff, 0x829f30a, 0xe6ddeff8, 0xf4d81c0c, 0xedf902fa, 0xfa0a0b0c, 0x131706f6, 0xfaeb16fe, 0x603f4fa, 0x114f41d, 0xedf528fe, 0xff03f8e1, 0xec2332, 0xf93deb2a, 0xf400, 0xc01, 0x1f607f7, 0xcfcfdf9, 0x60efe0d, 0xf604fe01, 0xe06fa04, 0xfffcfdf6, 0x607fcff, 0x60e0208, 0x50b0105, 0xfefffbff, 0x512f5fc, 0x19020700, 0xf1f9fb11, 0xf4f318e9, 0x40c0413, 0xeceb1116, 0xef20f811, 0x417fb13, 0x511f101, 0xff05f0f3, 0x4f800f8, 0xf800f4, 0x4f30bfc, 0xfffaf9, 0x700ff03, 0x905fcfc, 0x4030b02, 0x90dfdfd, 0xfffffcf9, 0xfcf800f9, 0x5fdf300, 0xc05, 0xf307fffe, 0xa0001fe, 0xf8fe02ff, 0xd03fd05, 0xfa07f903, 0xfc00fffb, 0x802fd00, 0xfcf800fc, 0x407ec01, 0xfd000603, 0x5080707, 0xfa00, 0xfff11000, 0x408fc00, 0x101fbfc, 0x1010600, 0x5fffd01, 0x3fd0101, 0x1fefe, 0xfcfaf9f5, 0xfdf906fe, 0x4fff6f9, 0x4010203, 0xfe01ff00, 0x403f800, 0xfcf501f9, 0xff000105, 0x20c0009, 0x1030801, 0x4f504, 0xff09fff7, 0x1403fc0b, 0x2fdf700, 0xf80003fd, 0xfafd0afb, 0xa05fb00, 0x303fc06, 0xfa090002, 0xf3f004f0, 0x4f403f7, 0x50300fc, 0x7030b, 0xfd0cf501, 0xfefb00, 0x40b0017, 0xfc11f4fc, 0xb0701fc, 0x5fdfb08, 0xfbe619f0, 0x180de8e8, 0xecdd200b, 0x909fb19, 0xefff0601, 0x2ff0205, 0xf7fd080c, 0xfd0df305, 0x4070103, 0xfbfc0705, 0x50bf400, 0xf4ef07fe, 0xfdf8070a, 0x7f5fd, 0xf8f508ff, 0xc01110d, 0xf717ec05, 0xfd01070b, 0xc090404, 0xf8fdf800, 0x1fd0704, 0x409fb11, 0x1d21ff12, 0x5f504f7, 0x1011ff13, 0x510e906, 0xf212f81b, 0xfa21e6eb, 0x1917cbe0, 0x3a20ff14, 0xebecfee4, 0x13fdf7de, 0xf2ca1bf1, 0xe4d43414, 0xf017f3e2, 0x8eb190c, 0xf400f4d1, 0xf4cc01e2, 0x30c, 0xfc08f4f0, 0x2110fe07, 0xfcf7fdf7, 0x3f409ff, 0xfc050007, 0x4fdfcff, 0x303f9ff, 0x801fc01, 0xfb05fe, 0xfaf305f7, 0xfdf60601, 0x1fdfc04, 0x8f3ffeb, 0x903fc04, 0xfc0c1105, 0x1617d9ec, 0xfcfcecd7, 0x3820e008, 0xedf10b01, 0xfbf7f5fb, 0xf9f50207, 0x4070108, 0xfb030003, 0xfefdfcee, 0x1200fd03, 0x4000102, 0x700fc00, 0x1fd02f4, 0xdf804ff, 0xfffff9fc, 0x101feff, 0xfaf6fd, 0x7040800, 0xf7040106, 0xb07f8fe, 0xf6fc03fd, 0x1101fe02, 0xf5fdf8fc, 0xfcfc00fd, 0xf501f9, 0x3000000, 0x1fdf708, 0xfc070304, 0x5040401, 0x405f4ff, 0xcfc, 0x4fc0808, 0x7ff0b, 0xfd070001, 0x4000306, 0xfd000403, 0xff02f6fa, 0xfbf9f9f9, 0x3ff05fe, 0x600020c, 0xff070005, 0x7f5fd, 0x700f800, 0xf8fcfffa, 0x2fd0602, 0x505fc01, 0xfffffef5, 0xe03f907, 0x8100011, 0xeeeb1706, 0x307e1f1, 0xfbf407f8, 0x1ff04f9, 0x8f7fdf9, 0xfbf104f9, 0x8070007, 0xf004f8f8, 0x3f702f6, 0xafb0904, 0xfc000805, 0x8fb0e, 0xf1ffff03, 0xf4f30d00, 0xfbfff601, 0xf6f2e7, 0x9eb1808, 0x101d0d11, 0xe3dcf0e4, 0x140cffeb, 0x15f701fd, 0xf705fffe, 0xf9f5f8eb, 0xbff00f7, 0x5fffb07, 0xfafd0501, 0x208f9fa, 0xfcf1fbf8, 0x105faf8, 0xf8f306f2, 0x4f60304, 0xf5010b04, 0xc0404f7, 0xf7f7e5f0, 0x190c0a0f, 0x104fcfc, 0xf8fc090d, 0xf7030804, 0x707f602, 0x10f5ece2, 0x1bf81307, 0x1f8140d, 0xe1e9ffff, 0xff0cfe12, 0xea02ceea, 0x24f5133d, 0x1316f910, 0xe80df807, 0xfcf003fc, 0x610f0e5, 0xf100de9, 0xf08ed02, 0xf8f21ef7, 0xf5f80105, 0xf607edf3, 0xf0f8, 0xfc0008, 0xfce32409, 0x10e0213, 0xf909f4f4, 0xd05fe03, 0xfaf90704, 0x1fc04, 0x9050710, 0xfd0df7ff, 0xfb00fdf8, 0x1fc0e04, 0xf5f8f8f4, 0x9f5261c, 0xed00f0f4, 0xb0309fb, 0xe3c82918, 0x723fd34, 0xe7e3f5f8, 0xf70206fd, 0x2fa07, 0xfd0b010a, 0xff05fc00, 0xfc010506, 0xfe06fa04, 0xe000609, 0xfe030204, 0x300fc00, 0xfffe0400, 0xfef103f0, 0xfced04f8, 0x7fe0606, 0xf7fdfb02, 0x500fcf4, 0x1fe0805, 0x4fef3f9, 0x30707, 0x1f703fc, 0xf900f5fd, 0xff000000, 0xfffe, 0x2fdfffc, 0x3fe0007, 0xfa050608, 0x104fcfc, 0xfdf5fbfc, 0x100c0101, 0x2ff01f8, 0x1f90600, 0x205ff04, 0xfdfdfef8, 0x6010704, 0x409f70a, 0xf504fb06, 0x407090b, 0x106fafe, 0xfcfb0500, 0xfffff903, 0xfcfc00, 0xf8000102, 0x2020501, 0x1fdfbfc, 0x906fe06, 0x1f9fdfd, 0xf5fef3, 0xf5fa03e6, 0x4e7040a, 0xf6050b09, 0xf901fffc, 0x1f50b03, 0x30b0209, 0x304070b, 0xe904f501, 0xfffd04ff, 0x7fc09fc, 0x30301fc, 0x1fdfbfd, 0x30ffd0d, 0xfe17f2fc, 0xf9fa0206, 0x60a1e, 0xf60b190c, 0x905dfd7, 0x8fcf501, 0xf8e518fe, 0x1e070006, 0xf201fe00, 0xf2f90304, 0xf5ee07f5, 0xcfc0001, 0xfb0202ff, 0xf7f4fcf7, 0xfbf60904, 0x3f902, 0xaff03, 0x3020201, 0xf2fe1205, 0x3fcefe7, 0xfaea0207, 0x9f7fce9, 0x8f000f4, 0x100c0003, 0xf400fbf3, 0x9f50c0b, 0xd7d211f7, 0x4e020ed, 0xf8e404d4, 0x1f4f6eb, 0xf2def8d8, 0xfbe9ef0a, 0x4ea11e8, 0xf4c91ded, 0x1318e404, 0x1018f80d, 0xfc030316, 0xc13e2e8, 0x2dbf8e6, 0x9f71cf5, 0xe1e12707, 0x11f81c, 0x1024, 0xe70b040f, 0x5180bff, 0xe5e315f6, 0x401f704, 0xfcf30c01, 0x30a0104, 0xff03fd04, 0x4ff05fd, 0x202010c, 0xf001f9fd, 0x703fcf1, 0xfbf71413, 0xfd07edce, 0x12f3fe01, 0xf7ed09ed, 0xf1900f0, 0xffe8fee9, 0x1a1cf219, 0xff21f712, 0xf406fd09, 0xf905fbff, 0xf8f800fc, 0x4ff, 0x304f600, 0xbfd0f06, 0xf6fe02fe, 0xc07020d, 0xf3010401, 0x508fb00, 0xfd0102ff, 0xfef604f4, 0xfffcfdfe, 0x2fb0403, 0x10300fb, 0xfff6fd00, 0x4fd, 0xfffbfaf2, 0x3fc0007, 0xf5fd0300, 0x404ff04, 0xfe000607, 0xfafe0705, 0x40ff801, 0xfdfd0708, 0xf702050c, 0x8040508, 0xff05080c, 0xff0afe02, 0x303ff03, 0xfe040208, 0x10300fc, 0x4fc0005, 0xf505000a, 0x40a0708, 0xf8fffc01, 0x50000, 0xf8f90404, 0x4f7ff, 0xfe050307, 0x3080104, 0xfcffff03, 0x2fcfcfa, 0x3fc0403, 0x3fb00, 0x10cf801, 0xf8f503f4, 0x6040700, 0xfc030004, 0x306fcf7, 0xd010b0a, 0xfd04fdfa, 0xfe0fea04, 0xff04fdfd, 0x3f90cfc, 0xc050004, 0xf4f700fc, 0xfcf5f8f0, 0x4f60c10, 0x41bfc15, 0xd22f70f, 0xff180100, 0xd8cf1404, 0xfbf7fcfe, 0x1070bfa, 0x15f105f6, 0xeef207fb, 0xe17f70b, 0xf90f040c, 0xfbfb0601, 0xff05fd00, 0xf3fcfcfc, 0x1f0e8, 0x17ff0d13, 0xfd10fa0b, 0xfd050407, 0xb20fc0a, 0xedf4dde2, 0x1b030001, 0x4fc0404, 0xf7f30cff, 0xdfcf7f3, 0xf8f7faf6, 0x12fff5e8, 0x1021e8f8, 0x3f706dd, 0x10f507f8, 0xfbf202fe, 0xe6f2f4ee, 0x2114153a, 0x73deb17, 0xf91cedec, 0x2700ef0b, 0x1fce4e8, 0x3ef230f, 0xdbde0b07, 0x1c21f019, 0xd1d0405, 0xf71bf1e5, 0xef30a05, 0xdf5, 0x1a28062a, 0xef14e4ed, 0xd15fafa, 0x9ffff07, 0xf6010e03, 0x2020708, 0xf1fafaf7, 0x9fc0c03, 0x10101, 0x213f913, 0xf905f700, 0x40905fa, 0x300071a, 0x60ee2f2, 0xa05eeea, 0x4df05e4, 0x8ed0dfc, 0x8ea00f8, 0xf3ecf8ed, 0xc05ecf4, 0xfcf7f7f3, 0x4ff0100, 0xffff0a05, 0xfcfefa02, 0xe0502f8, 0x20707, 0xf0a030b, 0xef07f9fc, 0x8fffc00, 0xfcff0401, 0x300ff, 0xfcfc0403, 0xfdfe03fd, 0xfdf903fc, 0xfcf9fcf8, 0x800f8f4, 0x9feff03, 0x4040004, 0xf4030707, 0x104fc01, 0xfcff04fd, 0xff0201fc, 0xfdf502ff, 0xfcfe02f9, 0xb0d050d, 0x60b080e, 0xfd0cfd01, 0x406fd05, 0xf7f9f7f1, 0x7fa0901, 0xfdfd, 0xa03fafd, 0xfb030306, 0xfdff0800, 0x30bfd0c, 0xf905f7fc, 0x4fcfc, 0x1fdff05, 0xfd040203, 0x505fd01, 0xff040005, 0x306000a, 0xfc03fefd, 0xfffcfbfc, 0xfef9fbfc, 0x105fe00, 0xa04fffc, 0x404fc00, 0x4010106, 0xfbf40df6, 0x3fc0403, 0xfd02fa12, 0xf104fc03, 0x3030900, 0x9fd02ff, 0xf904f9fd, 0xff00fd05, 0xa0b1110, 0x410f408, 0xfffaf9fc, 0xfcf9e8e0, 0x8fcf0, 0xfbf00afe, 0xe0bfefe, 0xef706f8, 0xf70103fd, 0x5f40805, 0xecf808fc, 0x4050302, 0xeef10bff, 0x713051c, 0xf814e004, 0x5f20ef3, 0x5fb0102, 0xeef31908, 0x1815d8f1, 0xc10f427, 0xf0fc01fd, 0xebe410f0, 0x80101f6, 0xfce50bf9, 0xfbfc0507, 0xf8edf8f0, 0x20001129, 0xff25f413, 0xff02fdf8, 0xfdfa140c, 0x62cff37, 0x51beef4, 0xcebbfdcd, 0x3408e803, 0xf8d419fe, 0xc090429, 0xfb21fcfa, 0x3220c23, 0xf2f91a23, 0xe9ff00fb, 0xeff3f8fa, 0xdf903f2, 0x1e8, 0x23f113fe, 0x918e115, 0xfa02141c, 0xf90cf401, 0xf90403f9, 0xf701f1, 0x606fd09, 0x5050a03, 0x104f7fa, 0x2fa0708, 0xf302fd08, 0x40d0c, 0xfe07fefe, 0x7ff011e, 0xe7fbf805, 0xfdfe0700, 0xece409e0, 0x2da14ee, 0xe6e100e9, 0xae7fdf8, 0xfbf7fefe, 0x3fd0804, 0x5fcf7, 0x4fffc01, 0x1104fbfd, 0x4010b05, 0xc02fcfb, 0xf1fdfd01, 0x700ff03, 0xfa010300, 0x4040004, 0xf8000400, 0x80b070f, 0xf1030303, 0xfd04f4fc, 0xd01f801, 0xa020508, 0x408fb03, 0xf201fff9, 0xf80400, 0xfd010300, 0x102ff00, 0x3fdfe, 0x7090007, 0x110d020a, 0xfe0202fc, 0xfdfcfffe, 0xfaf4fbf2, 0xfcf70404, 0x50202fb, 0xf8f305fb, 0x4f5fbf6, 0x601fefc, 0xf5f404f0, 0xfbe801ec, 0xf3fffb, 0x4fffe01, 0x3030307, 0xfd07fc01, 0x8040108, 0xfb04ff03, 0xfefefffd, 0x102fafe, 0xf5f40801, 0x80bf808, 0xf3fa110d, 0x407fd05, 0x304fb03, 0x1000403, 0xfd05fff7, 0xc00fffb, 0x503fc05, 0xfb0ff104, 0xfcfd04f8, 0x8f704f9, 0xfb02, 0xfd000003, 0xd06fbf0, 0xbf7fafd, 0x301f0f8, 0xf1edfe03, 0xf6f9f4f1, 0x10060e0a, 0x602080c, 0xfefc05fb, 0x4fbfc, 0x1f8fcec, 0x1515f300, 0x1fd0e08, 0x51ff408, 0xf0f101ed, 0xe03fe21, 0xfe1afe0a, 0xff04ecef, 0x1ebd3, 0x3befbe1, 0xee304f3, 0xf5f808ff, 0xfc10f4f4, 0x8f40f02, 0xfa0002f7, 0xd090d11, 0xef081929, 0x8110707, 0xff07ddf0, 0xf5e60ef7, 0x221ceef6, 0x1f11b0d, 0xf1f9c7d2, 0x60a2e3b, 0xebf2212b, 0xd508fbea, 0x4e215f3, 0xece4ecd4, 0x10e118ed, 0x100bedde, 0xf2e7e5cc, 0x18f51411, 0x5091a20, 0x1312, 0x9f805ea, 0xe6c71e04, 0x1b25e9fa, 0xfbfcf800, 0xf8fffffb, 0x9040407, 0x809010d, 0x20a0101, 0xfdfdfb01, 0x706fdfc, 0xf5fe0203, 0x10404fb, 0x906121a, 0xee01f6f6, 0xfc0bee01, 0xfafe160d, 0x324102b, 0xe912f7f5, 0xff706, 0x905e9f1, 0x4fa02fe, 0x2fd0b00, 0xfc00, 0x3fffd00, 0xcfbffff, 0x1fc1809, 0xfdfeff, 0xf200fcff, 0x8000304, 0xf1fb07ff, 0x1fcfffb, 0xfe010300, 0xc04f7f4, 0xf6f90b01, 0x4f404, 0xb02000a, 0x10103ff, 0x500fd02, 0xf3030307, 0xfd04fdfd, 0x5050608, 0xff06fd04, 0x4fc03, 0x1fd0a07, 0x6fcfff9, 0xfdf804fa, 0xfffc00fd, 0x306000b, 0xf6050607, 0xf1f3f5e6, 0x6f4fae9, 0xaef09fd, 0xf7eefded, 0xfdf5fff0, 0xfbf001f0, 0x9f90701, 0xfdfa02fe, 0x5000805, 0xfc04ff07, 0x1000706, 0xfe09fb05, 0xff06f6fd, 0x2fe0206, 0xfc0d0b10, 0x109f607, 0x91d010d, 0xf6fffcfe, 0xf6f107fd, 0x7030403, 0xf8fefdfc, 0xbfb01fd, 0x5fdfbfc, 0x102fb0c, 0xfc0c0008, 0xf9f908fd, 0x603fb03, 0xf5fb0803, 0x5fb0000, 0xf5fdf8, 0xf6eb0803, 0xee00f0f2, 0xfefa040a, 0xe081a14, 0x10fff06, 0xf1f9fff3, 0xd00f8fd, 0xf4f0fdf1, 0xeea04fb, 0x1913080d, 0xfc04f707, 0xee05fc00, 0xf010d10, 0xe3f50b02, 0xfafdebfc, 0xfc0d1e, 0xff1a1736, 0xee16ef01, 0xfd090203, 0xf6fdf700, 0x80005f6, 0xf3ef04f1, 0x14f81702, 0xfd10fff6, 0xf4e20ee9, 0xffe90c18, 0xe80bf7f4, 0x6d82f19, 0xd25eff9, 0xf8000039, 0xd90c0ae8, 0xf9f600d5, 0x1818f411, 0xf1fe06ef, 0x1619ef1c, 0xf1be9ec, 0xf0cc0bea, 0x1e16e718, 0xc0c0901, 0xfbf70ce9, 0xfe0c, 0x1040403, 0x102dfb0a, 0xd9c807e6, 0xf6e11700, 0x8f801, 0xfff70d00, 0x9010202, 0xfefe0300, 0x3fd05, 0xfffdf3f3, 0x1ff00fd, 0x400100c, 0xf8fb08f1, 0xfbfef5fd, 0xf9fa121e, 0x1250d1c, 0xee07f5ec, 0xf8fb0004, 0xf130622, 0xe3fcff12, 0xfa08fb01, 0x70602fd, 0xfbf800fc, 0x1fa02ff, 0xe01fe00, 0xd0c0c00, 0xfcfe, 0xf400fd01, 0xfff80c01, 0xf808fcfd, 0x4000001, 0xfcff0804, 0xb03f1fd, 0x1080603, 0xf6f9ff04, 0x5fefffd, 0x40001fe, 0xfff803fe, 0xf2fd0701, 0xfd01f8fc, 0x7fe04fc, 0xfdfafffc, 0x400f8fc, 0x3fe08fc, 0xc02fe01, 0x206fe00, 0xfdfefffd, 0x3fd0401, 0xb0005, 0xf004f0ff, 0x801050c, 0xfe0005fc, 0xf5fa0300, 0xff02f8fb, 0x1010000, 0xf709f9, 0x3ff0805, 0x5050300, 0x4f8fd, 0x905fefc, 0x1fff8fc, 0x401f803, 0x1fdfc, 0x7070e0a, 0x50e021a, 0x718fb12, 0xf20eef01, 0xff0afe01, 0xfcf603f5, 0x1fe0304, 0x1fafcf5, 0x3f307ff, 0x1ff0004, 0x8fc04, 0xff0afdff, 0xfcf5fcf6, 0xfcfd04f9, 0x1f503f8, 0x3fbf5f3, 0xfcf901f2, 0xa0ef816, 0xf9110512, 0xb0ff3e8, 0x2910f90a, 0xf710e4f5, 0x1e9fbec, 0x4fc00ff, 0x1405f9fa, 0x3e408e4, 0xf8e00df6, 0x121aec0a, 0xfaf506ee, 0x1823021a, 0xfa1ade0d, 0xff0c0f0e, 0xfd0c00f5, 0x70e0524, 0xec130011, 0xf8130723, 0x41ff00a, 0xfa110f1c, 0xfb03eeda, 0xbe815fe, 0xf2fc1402, 0xe11eef3, 0xf5001019, 0x4053e80c, 0xfffeeaf9, 0x2031114, 0xec270d2a, 0xee1fe504, 0xe9d503e4, 0xd00140e, 0xb03f004, 0xfdf21e27, 0xc2f91301, 0x8eb2428, 0xff1be2f4, 0x2b24d5ed, 0x1521, 0xf1110714, 0xfc00ecf1, 0xf50df6fc, 0x90ffdf5, 0xfff400fc, 0x502fcf1, 0xdf50e01, 0xf3f605f8, 0x800f4f7, 0xfcf4f8f9, 0x3fb02fd, 0xf08fcf4, 0xc080909, 0xfb09f70b, 0xf5073025, 0xec10f4f7, 0x9e7fb, 0xa0dff0c, 0x1512fa06, 0xfa1df210, 0xf90fed01, 0xfff900f7, 0x501ff00, 0x4030001, 0xcff0506, 0x3fc0cfc, 0x501fe03, 0xf0fffdff, 0xffff09fc, 0x105fb04, 0xfcfc, 0x5050704, 0xfcf5f9fd, 0x3ff00f9, 0xf8fb0804, 0xff0404, 0xfcfc00fb, 0x4000502, 0x212f0fb, 0x806fa08, 0x203f9f8, 0xfffa01fc, 0x1f90607, 0x206fffd, 0xdfe0202, 0xfdfdfffe, 0x102fd00, 0x6030807, 0xf6fdfaf7, 0xfa01fa0b, 0xfe010a06, 0xf901fdf9, 0xff030404, 0xf8fd0005, 0xfc00fcfc, 0x4000c03, 0x3030500, 0x3fe01fc, 0xfcff03, 0x2fcfffd, 0xfc0004, 0x101fb04, 0xff03fe04, 0xfaf706ef, 0x7f100ef, 0xfde508f2, 0xfefefe0d, 0xfa08f802, 0x60104, 0xfd000300, 0x403ff06, 0xf9fc08fd, 0x3ff0201, 0xfefffe01, 0xff01f4f8, 0xfcf800fc, 0xfcfc04fc, 0x3fe02fd, 0x2fcfe05, 0xfb04f7fa, 0xefe0f15, 0xd290327, 0x1c032c, 0xe9ec07fa, 0x205fe1f, 0xf614f30c, 0xf7ff0807, 0xf6e91707, 0xff03fef9, 0xeff0f0d3, 0x21e21e14, 0x11b0d22, 0xf2fce2dc, 0xefd11f12, 0xf80b1511, 0x1327f920, 0xf009f0f4, 0xf0f80800, 0x40cfd02, 0x806f208, 0x212ff111, 0xef05ec03, 0x110904f8, 0x171d0009, 0xdcd7fde6, 0xfeeffedd, 0xff9c24d8, 0x1df6eaf6, 0xd012818, 0xfd29dcf8, 0xff09082c, 0x175af950, 0xe82bfe15, 0xe7f11213, 0xdcf2f6ca, 0x60ef6f1, 0xfee709cc, 0x9d6fef2, 0xf5bc3118, 0x5e5, 0x1307fcfc, 0xececf7f7, 0x204ff0d, 0xc100417, 0xf008edf5, 0xf9e90dfa, 0xbf813fd, 0xff09f8fc, 0xbfffa05, 0xf6fffe05, 0x709050c, 0x300ff03, 0x1f800ef, 0x5f9fcfe, 0x71011f1, 0xff040414, 0xdbefedf5, 0xf8e31c00, 0xcf7ebe8, 0xdfbfc05, 0xecf8fb06, 0xf900fdfd, 0xa02fd00, 0x3ff0807, 0x9040c0b, 0xff07fef9, 0x2f6fdf5, 0xfc010004, 0xfe0302fc, 0x4ffff03, 0xfafd0304, 0x403fffb, 0xfaf90101, 0x2000101, 0xfd06f7f5, 0x3f8fff3, 0x1f803fb, 0x90000fb, 0x5fef604, 0xf9f500fb, 0xfff80908, 0x90008, 0xff060202, 0xfbfbfffb, 0x9f708fd, 0xfdfe, 0x300fd00, 0x600fef6, 0xfcfcf7f9, 0xfdfc0709, 0xf702fef6, 0x6030208, 0xfa030100, 0x109ff08, 0xf3fffe01, 0x6030d04, 0xfdfe03fc, 0xf900f8, 0xfdf503f9, 0x3fa02fd, 0xfffc03ff, 0xfdfb0000, 0xfcfd0706, 0x10d0007, 0xfcfc00fc, 0x70601ff, 0x10003, 0xf902f802, 0xfcfe02ff, 0x103fbfb, 0x6fdfcfa, 0x20301fc, 0xfdf607fb, 0x1fefbfb, 0xfffbfd04, 0xf8000000, 0x40000, 0xfd0702, 0xfdfd0b0a, 0x211031d, 0xff0e1110, 0xf7fa0e05, 0xa0ffd09, 0xf111020c, 0xfd07f5fe, 0xeaf2f1f0, 0x5fe0b01, 0x40ffff7, 0xeae2ffe3, 0x180cfb17, 0xf9eff4c5, 0xf9bd1aca, 0xf1c903ea, 0x120d03f1, 0x1fafbe0, 0xdda07e8, 0x1f9e7f0, 0x404fbf7, 0x1508effa, 0xfdef0d0a, 0xf2db04ee, 0x100172b, 0x1a0117, 0xefeffeed, 0x314051c, 0xf311ff12, 0xf104fcdc, 0xbf08dd, 0x19e937f8, 0x3fed5f7, 0xf0e818f8, 0xf1d2fbd4, 0x200cd8e6, 0xf3f21dfd, 0x425d403, 0xc091c2f, 0xed1e0217, 0xe5f3f9ee, 0xfff8ffc6, 0xfea, 0x8df11f4, 0x50d0c22, 0xff1ff515, 0xeff808fc, 0xf3ffd8ea, 0xf9ea19f6, 0xaf514f6, 0x5fc0408, 0x401fd04, 0xfe0cfe0c, 0x2070204, 0x2030105, 0xf9fd02ff, 0x5ff070a, 0x104f3e6, 0x12f9f7ec, 0x1122eb20, 0x28f400, 0xe3d702ee, 0xeccd12e3, 0xfcf3faf2, 0x4fdffff, 0x3f80d08, 0x80dfd02, 0x6ff05f8, 0xf08f2fc, 0xfef8fef9, 0x2fffefd, 0x605f9fc, 0x4fc00fd, 0xfcff0400, 0xfcf801fa, 0x303ff01, 0x201fcfc, 0xa09f90b, 0xfc04f8fd, 0x40001fe, 0xb00ffff, 0xfafe02, 0xfb040408, 0x8110109, 0x20bf500, 0xfdfe03ff, 0xfd01ff01, 0x80001f9, 0xfef7f9f3, 0xfded05f5, 0xefdf9f8, 0xfefafe01, 0xfafe02f9, 0xfe000a0c, 0xe140012, 0xf60efb08, 0xfb02fd00, 0xf401fcff, 0xf904f0, 0x1f402f3, 0x2f50e03, 0xf5fb00f8, 0x1f606fa, 0x1fc00f9, 0xfc0703, 0xfd04fffc, 0x904f9fd, 0xff000000, 0x5fefffc, 0xfcfffb, 0xfdfff8ff, 0xfcff0300, 0x201fc02, 0x2fe0002, 0xfdfd03ff, 0x20402ff, 0xfcfa0201, 0xff010105, 0xfe0bfa05, 0x207fe05, 0xfb0000f9, 0x100c0506, 0xf7fb0c04, 0xfb001100, 0x90d08, 0xf8f6faf3, 0x507e5ea, 0xf3e010fb, 0xf4051c30, 0x2bec0c, 0xf4fc0906, 0xfe1af914, 0xf0ec1809, 0xf4040c1c, 0xf417f9f6, 0x60beaf2, 0x2303efef, 0xdfbe5e5, 0x17ef07ef, 0x1c0afa1d, 0xf710081d, 0xe0e81009, 0xf1fd02f2, 0x2222e402, 0xfbfc19fe, 0xfffd0c08, 0xe8010c0f, 0xfc08fbfe, 0x510edfe, 0xf4010207, 0xf4fbfdf0, 0x3da19bc, 0x5be2710, 0xd4f414f0, 0x201fe70b, 0xf5e0030b, 0xe3fb02e0, 0x3dfd8e3, 0x15ec04d4, 0x7ee3e2a, 0xeb30ff36, 0xe51c0f2c, 0xfb15, 0x5120405, 0xfefe09fb, 0xfffb050b, 0xf713f904, 0x11f12a, 0xf8290b1b, 0xf00108f5, 0x11010300, 0xf7f3fdf3, 0x3f80903, 0xfcfdf8f3, 0x1809fc04, 0xf4ff00fd, 0xf070a0a, 0xff08fc11, 0xe7e609f8, 0xe7ce15f8, 0x1b13e605, 0xef11f100, 0x61afd05, 0x50efa0e, 0xf903070b, 0xfe0606ff, 0x9000104, 0xfe04fd, 0xfcea03fb, 0x1fe0303, 0x10407, 0x102fb04, 0xfcfc00fc, 0xfdfd0700, 0xfbff01ff, 0xfc0502, 0x606f4fe, 0xafeff04, 0xfb03fd08, 0xff030507, 0xf9f504fa, 0xfff900fb, 0x4040d0d, 0x308f900, 0xfbf9f9fd, 0x1010200, 0xff020104, 0x804ff02, 0xfafefaff, 0xfdff04fe, 0xcfcfbfe, 0x1010003, 0xfc05fcff, 0x4050904, 0x6fc0501, 0xfd08f300, 0xf7fcfefd, 0xf700fbff, 0x201fffc, 0xb06fafe, 0xfbf7fde6, 0x7f804fc, 0xfffafef2, 0xcfdfffc, 0x4000801, 0xfd01ff01, 0x1f90202, 0xfd00ffff, 0x1fb00fc, 0xfcfdfa, 0x2fffd04, 0xf9010301, 0xfffe0002, 0xfafa04fe, 0x304ff00, 0x1ff00fd, 0x1fffe, 0x5040003, 0x5f803, 0x10407, 0xff0bf601, 0xbfc04fb, 0xf7fb04f3, 0xd0504f8, 0x1008fcf7, 0x7060612, 0xf603f513, 0x200414, 0x4240109, 0xb14f119, 0x1237e614, 0xf60c0518, 0xf018e7e7, 0x2f50ef7, 0xeef1faf2, 0x321ef72b, 0x1090c26, 0xd7f00c17, 0x2727fa1a, 0xfcfa2626, 0x130e50d, 0xe7140004, 0x13e4f5, 0xcdf04ff, 0xf8fc03e6, 0x22090603, 0xf20deff0, 0xfcf01f14, 0x918cbf6, 0x191bec05, 0xedfe3738, 0xed22e7f0, 0x7f20dd8, 0x307ecdf, 0xf9b84516, 0xf718172c, 0x24bf33c, 0xc4fdf51a, 0x1f24f919, 0xfb0dfbca, 0x9e8f1da, 0xf5ffe5, 0xf8f8, 0xf3f3e2, 0xf5d918e8, 0xf8e1fcd8, 0xdee160b, 0xfd08081f, 0xe30af6f5, 0xff040703, 0xe00fefb, 0xf9fdfcfc, 0x4fd08fc, 0x101fe07, 0x10fff9fc, 0xfc040509, 0x802f6ee, 0xfdec03f3, 0xfd090101, 0xf7110c08, 0x1eefe06, 0xf007f107, 0x1415f50d, 0xeef6f4f0, 0x6fd08fe, 0x202faf6, 0x1300fffe, 0xfcfafcf2, 0xc02f9f8, 0x90002ff, 0x1000c08, 0xff06fe09, 0xf3000000, 0xfcff04fc, 0x7080007, 0xfd04fbfa, 0x1f50102, 0xb030004, 0xf5fe0001, 0x305fdfd, 0x3070003, 0xfbff0a09, 0xff040b02, 0xf9f8fbfa, 0xfdfcfbfe, 0xfffcfff9, 0x6000a09, 0x203fd01, 0xf4fb0001, 0xfd010603, 0x5fc0001, 0x202fdff, 0x3f6fd, 0xf080706, 0xfefe03fc, 0xf4f3f4f4, 0xf9f602fa, 0xfafdfbfd, 0x4ff0707, 0x1fdfcff, 0x4ff06, 0x504fdfd, 0xfffdfcfb, 0x1302fcff, 0x2fd03f8, 0x904fb00, 0xff0300, 0xfe01fbfd, 0x1fd0603, 0xfd000003, 0xff00fd00, 0xfc03fcfc, 0x4010001, 0x30afe04, 0xfeff0202, 0xfbfc01fd, 0x3000001, 0x1fd02ff, 0x201fe07, 0xfd040000, 0x90afb0f, 0xf5f902f7, 0x2020705, 0x4fc0800, 0x8f8f8f4, 0xfdea0bef, 0x801f3ff, 0xd0c0911, 0x613f406, 0x4fffd0b, 0xf0e9ff02, 0xf400f6f1, 0xe3e4ece9, 0x9f0fbdd, 0xfbea00f0, 0x19d70fef, 0xee11f3, 0x2743e61d, 0xfaf00d03, 0xe7ee16de, 0xefcce8cf, 0xf3db0de8, 0x2109072c, 0xf010f0fc, 0x1d210e2c, 0xeaf410fe, 0x1a26f930, 0xf529d7e1, 0xf1c91b19, 0xe0e01b0f, 0xea0cf6cb, 0x6e402ff, 0x3129f511, 0x1f2df536, 0xc40103bf, 0x4cc39ee, 0xd5c1f3c1, 0x3835f333, 0x2034cc07, 0xecf8f4f1, 0x10f8030a, 0xeef8fbf4, 0x734, 0xd70bdef6, 0xf8f90eef, 0xfdf4fff7, 0xfde709da, 0x13f008f0, 0xfb08f204, 0x50a0205, 0x900f7f9, 0xfdfdff00, 0x4000800, 0xfcfb00fd, 0xdfafbfc, 0x601, 0xfbf4f6f4, 0xfef503f5, 0xfff7faf0, 0xf907f4, 0xf4e7f8e1, 0xfcede7e3, 0xad90bef, 0xfdfe0a14, 0xfa080f0f, 0x10ef70b, 0x4fc0300, 0x307020d, 0xf5f60603, 0x9030506, 0x1015fe07, 0xfe06fb03, 0xf202ff01, 0x3080307, 0xffff0302, 0xff040009, 0xff070006, 0x1fc00fc, 0x7fc03, 0xfffffe00, 0x603fafd, 0x3050b06, 0x108f9f6, 0xfbf8fcf9, 0x4000005, 0xfc020003, 0x7040600, 0x402fb00, 0xf501fcfd, 0x20202fe, 0x3fcfdf9, 0xfef5fef6, 0xf60707, 0x800fcf5, 0xfbf2fae9, 0xfef3faf9, 0xfafa05fd, 0xfcff0408, 0x5090002, 0xfefffd00, 0xffff0101, 0x400fcff, 0xfbfb0504, 0x1001fd02, 0xfcfc06ff, 0x4fa0100, 0xfffc, 0x1fffd01, 0x2020d09, 0xf400f8f8, 0x5fe0304, 0xfc04fb03, 0x1000404, 0x10003, 0x409f900, 0xfe030204, 0xfeff0201, 0xfefe0501, 0xfffefefe, 0x3040004, 0x3fe080b, 0xf2080208, 0x50b0509, 0x4090607, 0xfefdf8fd, 0x30307ff, 0x2f9f2f8, 0xf5e003da, 0x6da14fa, 0x4fae7e4, 0x1004d5da, 0x10f6efef, 0xf905132c, 0xe003fc04, 0x912081a, 0xf3f408ed, 0x1502f0e1, 0x2bcfed4, 0xfe901dd, 0x1309f0e3, 0x8fc0d21, 0x1a48f02b, 0x10b181c, 0xe00cf713, 0xa00efe1, 0xfbf204e6, 0xdd9f1d1, 0x7e30c18, 0x143bef0f, 0xd3ce809, 0x524e210, 0x101a061e, 0xefdc230a, 0x1ecfcf3, 0xb3aec23, 0xfe1d0df1, 0x7232757, 0xf312ee0d, 0xdfcc0b0b, 0xed0c0d25, 0xdef3f5e5, 0x241b0b2b, 0x3c7, 0xfded1c2b, 0xec1ff708, 0xf9041116, 0x61ff50b, 0x10080101, 0xe3e903fa, 0xafffffc, 0x4f7f7f7, 0x9030004, 0xf9f907f8, 0x3fffefd, 0xbfb0303, 0x205fcfb, 0xf2f2f5f1, 0xf31000, 0x102ff07, 0xfb0204ff, 0x10cec00, 0xc10ec15, 0xf50002f7, 0xfdf7f8e5, 0x1b06fdf4, 0x7fafd00, 0x1fdfbf5, 0xf010908, 0xf70a0509, 0xf7f7fef0, 0x17f70801, 0xfcfffbff, 0xf502fd00, 0x300fdfa, 0x2fd02fc, 0x2ff0100, 0x506080e, 0xfb08f4fc, 0xfffb0403, 0xf9fd0403, 0xfd0306, 0xfd00f9ee, 0x6f3faf4, 0x3fcfcfc, 0x4fcfdf9, 0x2ff0201, 0x70103fe, 0x1fbf8f8, 0xfbfefdff, 0xfd00fb, 0xfcf403fa, 0xfefa0602, 0x1030804, 0xf7f3f9f0, 0xfff4f9f3, 0x1f6fefa, 0x5050404, 0xfd050607, 0x406fa00, 0xfbfdf9f9, 0x4fefffc, 0x4fcfcfc, 0x10703, 0xd000306, 0xf9030401, 0xfd00fc, 0xfc01fe, 0xfffc0403, 0x40500f8, 0xfbfff900, 0xfffa06fd, 0x304fc05, 0x105fbfc, 0x8040004, 0xfffffe04, 0xfe040204, 0x208fd03, 0xfc01fdf9, 0x701fcff, 0x9050207, 0x60a0305, 0x130011, 0x10dfd05, 0xfbfcfef4, 0x1f7fcfb, 0x3fb09fd, 0x1fcf701, 0xf905f3f5, 0xcfbf8df, 0xe4bf0ce4, 0xf5c90d01, 0xfbecfffc, 0xeef102e0, 0xfcfc1414, 0x131ef208, 0xe7fcf9ed, 0xfed610f6, 0xafe1212, 0x5080007, 0xe9dd03f0, 0xffe701db, 0xf4b520e5, 0xf3d702c1, 0xf7d82102, 0x160edefd, 0xf7f91005, 0xf4ece0db, 0x17eb06e5, 0xadb1905, 0x4fc0115, 0xf7071035, 0xf81dfd14, 0xfb20e8e5, 0xe4230b, 0x1212072d, 0xf120dbee, 0x230a0cef, 0xe6e21b0f, 0xfc2cd4f5, 0xf0f8fbe6, 0x50de901, 0x22ffeade, 0xf925, 0x42cfc0c, 0xef0ffe16, 0x421e4f4, 0xffedf8f0, 0x13f3ecde, 0x904f5f6, 0xfbe7f8e0, 0x10ec180d, 0xfd01ff00, 0xfb020500, 0xfdfafffb, 0x3f309f9, 0x7fef4f6, 0xfbfff5ff, 0xf6f506eb, 0x5ef04f4, 0x5fe0b05, 0x80cfc1c, 0xf404142c, 0xf0270429, 0xf4200028, 0x815041c, 0xe9fef7f8, 0xf06fc07, 0x901f5ed, 0x2f802f5, 0xe0c0917, 0x40403ff, 0xfe010309, 0xf509f703, 0x3030006, 0xfd01fbfa, 0x5fd0d09, 0x70bf7fa, 0xfaf9f7fc, 0x5020705, 0xfc08fbff, 0x1000502, 0xfe03fa04, 0xfbf90b0a, 0xfd04f5fd, 0xfff804ff, 0xfdfffa, 0x1f404f5, 0xfdf103fc, 0x708f904, 0xfc000000, 0xf9fd0a04, 0xf9ff05fe, 0x2fffaf1, 0xfff9fbfb, 0x1fdfd01, 0xfefe0404, 0x5040101, 0xfe02fefa, 0x8fefafe, 0x104000b, 0x30afe09, 0x60b0211, 0xfe0ff6fe, 0xcfd0701, 0xf90102ff, 0x1000101, 0xfeff0503, 0x509ff04, 0x303fafd, 0xff01f800, 0x405fcfb, 0x4fc0505, 0xfe02f900, 0xb030104, 0x5fb02, 0xfd010302, 0x101fd01, 0xfb00ff02, 0x2fdff00, 0x7fe0501, 0x1fc03fc, 0x3ff0201, 0xfafa01fe, 0xf8fb0c09, 0xfd05fa03, 0xfefe0b00, 0xfffe0108, 0xf807ef03, 0xf1e8f4e4, 0xf3f3fde4, 0x5f4280f, 0xfe12182b, 0xf22fea17, 0x41ff904, 0x1f20606, 0xfa19f717, 0x19f0f9, 0x2918ff05, 0xf3f32518, 0xef1e0a25, 0xfa20e605, 0x2233ee01, 0xfa080208, 0xf203f5d7, 0x9ca1703, 0xf70309fc, 0x810eb1b, 0x60aff03, 0xf4ed0de1, 0x16f301f3, 0xfcf8fce4, 0xf5e10ef2, 0xf5ec1014, 0x519ece2, 0x1aeaeacd, 0xdab62a05, 0xcaac16b6, 0x13e30bd3, 0x9e0030f, 0xa29e00e, 0x60f193f, 0xb8d52b16, 0xee9, 0xf7dc03e3, 0x160aeffb, 0xfbf2f604, 0x308f000, 0xf0dd01f2, 0xf3dc04eb, 0x8f8f8f8, 0x11f906e7, 0xfde713fb, 0xfefe03fc, 0xf8f7fbf3, 0x1f110f8, 0x5f6f4f6, 0x7020815, 0xf413f704, 0x5040808, 0xf1f40af3, 0xf9e42008, 0x519fb00, 0x414ecfc, 0x1921fb1c, 0xf90d020b, 0xed0fed05, 0xfaf0190d, 0xf8fc0007, 0x80d0813, 0x409f4f4, 0x9f906fc, 0xfefc02fb, 0x6fd0c, 0xfc050106, 0xfe07fd09, 0xf9fd0afa, 0x1f4f4f1, 0xf70000, 0x7020904, 0x8f906, 0xfe0301ff, 0xf8f9fbfa, 0xff06fa, 0x603f907, 0xf901fffc, 0xfcf804fd, 0x50102ff, 0xfdff01fd, 0xfff50703, 0xfa010203, 0xf60006fc, 0x205fefe, 0xfefa0202, 0xfd00f5fa, 0x8010307, 0xf801fefb, 0x1f702f8, 0x2fc0402, 0x5fffc01, 0x1010304, 0xfdfe0606, 0x101fdfc, 0x604f604, 0xfff70bfb, 0x5070005, 0xfc000504, 0xfe040100, 0xc07fc04, 0xfcfd0003, 0xff03f3fe, 0x5fffafd, 0x3fc03fa, 0x400fd04, 0x4fd0400, 0xfdfdf7f9, 0xfc01fa, 0x4fdfdfd, 0x204f8fd, 0x4ff0404, 0xc09f8fc, 0xfffa04fb, 0x2fa03fb, 0xfcfd01fd, 0x30801fd, 0xfefe0004, 0x6fef9, 0x7010404, 0xf0fc000d, 0xf7131635, 0x345dc24, 0xeb0a15f7, 0x3fc0ef2, 0xfcfc0315, 0xf506e6f3, 0xf1e30ce9, 0xffe151c, 0x1834f337, 0xdae802eb, 0xfdf520f0, 0x1415f3fe, 0xf1f50514, 0xbfdd5e4, 0x17011413, 0x92aef24, 0xee090bfd, 0x181edef3, 0xe9d4351e, 0x31b1c38, 0xf73bdd0b, 0x1409edf5, 0x1f18f00c, 0xf007ece5, 0xf0e0fccc, 0x3ca2604, 0xfae4110b, 0xf021f8ef, 0x183dcff6, 0x1afd02f4, 0x1601f7f5, 0x1803ef12, 0xeaf604e1, 0xf38e3f0, 0xfffb, 0x509dbe1, 0xdd813fc, 0xf4f50302, 0xf0efeeed, 0xfffcf0eb, 0x90102ff, 0x1209f708, 0x130a0509, 0xfc08f5ea, 0x6f209f8, 0xf7f7fdf9, 0xa02faec, 0xfde4f7e7, 0x13f31904, 0xf000fd06, 0xa0b0609, 0x172fc8ed, 0x9fd0fec, 0xfbe205ec, 0xedd5fee7, 0x11df0ff3, 0xa04d2d4, 0x1e80b06, 0xe1aeff0, 0x130b1a25, 0xe40106ff, 0x1fc040c, 0x407f8f9, 0x3fe01fd, 0xf9f6f8f1, 0xf7ec00eb, 0x8f5fdf5, 0x2fe05f9, 0xfcf4ffff, 0xfaf903fc, 0xf50bf7, 0x6fd0206, 0xf901f9f9, 0xfafbfefe, 0x705fffe, 0xfef602ff, 0xfd030307, 0xf80300ff, 0x5ff00fd, 0xfcfcfffa, 0x500fcf5, 0x1fcfff9, 0xff02fdf9, 0x9000204, 0xfa000301, 0xf8fc030a, 0x103fcfc, 0xff03fc01, 0x505f9fc, 0xfa07fd, 0x5fd0607, 0x50b040c, 0xfb0a0509, 0xfc04f8ff, 0x801f803, 0xf7fb01f1, 0xffb01fc, 0x40400ff, 0x1fdfd, 0x7f80905, 0xfa03fe01, 0xfafcfa03, 0xfffdff02, 0xff0501, 0x401fd01, 0xfffc04fc, 0xfdfcfaff, 0xfefd0602, 0xfdfbfefc, 0x5fffe05, 0x3040404, 0xfcf400fc, 0xfdfafff5, 0xcff0400, 0xfc0000ff, 0x703fcfe, 0xf9f9fdf6, 0xb01ff02, 0x50001fd, 0xdfc09, 0xfa0cfdf3, 0x4f4f109, 0x3210511, 0x2100103, 0xc130d1d, 0xf21afe32, 0xe627122d, 0xf816d9da, 0x6c820f5, 0x112c0630, 0xf528dce4, 0x28f8151a, 0x42dee16, 0xf1fc082f, 0xd3eb3007, 0x907c9e1, 0x6f9fdeb, 0xcdf0d0e, 0x173c171e, 0xf813ddd4, 0x2502f015, 0xcfd0f0d3, 0x8bc3703, 0x518f723, 0xfa2d1243, 0xe525eceb, 0x2819f800, 0xebfb0609, 0xcfd0b39, 0xe5040a0c, 0xe040815, 0xe3e03829, 0xef2eed17, 0xf1f90218, 0x1d10, 0xb16d914, 0xfb02e4d3, 0x2100efec, 0x905f40b, 0xf501f90a, 0x1213ef00, 0x6f40704, 0x1708fd00, 0xf4f8fd00, 0x70103fb, 0xff03050b, 0xf9faffff, 0x103f804, 0x1001fbe3, 0xfdf0190c, 0x204211f, 0xe9f1ea13, 0xfa04fff4, 0x1811fc08, 0xf8130318, 0xe15dbe1, 0x7deedf9, 0x1008f1ee, 0x6e63128, 0xf80dd7ca, 0xdf30cf9, 0xc04f4f4, 0x1000f4fc, 0xf8f1f9e9, 0x2f201fb, 0xfc000000, 0x4fcfcfb, 0x4fdfcf4, 0x1f9fff9, 0xff0400, 0x1f6, 0xf004f2, 0xfef7fdfb, 0x10104, 0xfbf80801, 0xf9fcfff9, 0x1fd03fd, 0xfd02ff01, 0x703fd00, 0xf9fdfffd, 0x4fc0000, 0xfffe0100, 0x405fc04, 0x702f6f6, 0x3fff7f3, 0xfb02fa, 0xf90704, 0xf4f90401, 0x501fe06, 0xfc020500, 0x4ff1009, 0x307fe01, 0xff050101, 0xfe03f500, 0x7ff0108, 0xf8090008, 0x8010000, 0xfc00fc, 0x804f8ff, 0xf807f6, 0x2fe0202, 0xf5fdfd00, 0xfeffffff, 0xfffe0700, 0x400fd00, 0x304f9f9, 0xfffb0405, 0xfc030401, 0xfc000406, 0x708000a, 0xfd040000, 0x40004, 0xff06f4fb, 0xfdec14fc, 0x1010203, 0x1fdf1f2, 0xfbf4fcf3, 0xcf40d02, 0xfefb00fa, 0xfcf6fdf7, 0xfd0000, 0xfffb111b, 0xff17e2f4, 0xeadc05e0, 0x1ff3fde3, 0xf9ea2b17, 0xdf100e0c, 0x216114e, 0xe830f303, 0xdffdcd5, 0xf1d108fd, 0x23f8290c, 0x70fd8f9, 0xe8f014fc, 0x52efffd, 0xc00043b, 0xf52afb28, 0xf410070a, 0x1609180a, 0xebfdddfd, 0xeac21ef0, 0xf3140b2f, 0xea11ebc5, 0x8c800d1, 0x2c0301f2, 0xebf8f1fd, 0x2d706e5, 0x802f7f3, 0xfbe228ff, 0x923d7f0, 0x210304ff, 0x1733ded9, 0x1a04ea01, 0xebfb4039, 0x2f1, 0xe8cef4e9, 0x1301f512, 0x2b1c0431, 0xd351f60, 0xdc47d523, 0xf20f021, 0xf00b0509, 0xafc2f2e, 0xe620e407, 0xf3f3f6e6, 0xcf31301, 0xfc040f14, 0xf5080f1f, 0xeefdf0f2, 0xafffee4, 0x13f50bdf, 0x6fcef01, 0xeff6f9f0, 0xfdd53a13, 0x112ce811, 0xfbfefd20, 0xe8010519, 0xa13f517, 0x415f1d5, 0x17f4fc19, 0xfc080400, 0xf4e82014, 0xf9fdf0f9, 0xfbfcfd00, 0x604fd00, 0xfc00ffff, 0xfaf502fb, 0xf701fc, 0xf8f303f7, 0x1f801f5, 0x3f803fa, 0x5fffcf7, 0x1fa0300, 0x303fdff, 0xfd0106ff, 0xfe04fb00, 0xff00fc, 0x706050c, 0xf9fefeff, 0x6fc03, 0x1000101, 0x204fd00, 0x400fc00, 0xf90306, 0xf2f50301, 0xff0001ff, 0x302fcf7, 0x3060103, 0x1fffcfd, 0x10202ff, 0x60102f3, 0xdfdfcfb, 0x4000403, 0x5f909, 0xfe000504, 0xfb070108, 0x404fc00, 0x505ff04, 0xfcff03, 0xfe01fff9, 0x8fff9f6, 0xfafbfefc, 0xfefc02ff, 0x5050503, 0xfefd0202, 0xfff9ff, 0xffff02fd, 0xfcfd02fb, 0x2010300, 0x4fdfcf9, 0x1fd00fd, 0x3000303, 0xfd01f401, 0xfc000cf8, 0x7fefdf9, 0xf5edfbf7, 0xfc0404, 0xfdf516fe, 0xfefe00fe, 0xff01ff03, 0xf9fc01fd, 0x301fcec, 0xed101b, 0xf40ea25, 0xe0e612fb, 0x111301e9, 0x20cfefc, 0x26200e1d, 0xfb30d10e, 0xd2d30e05, 0xb1ff80f, 0x1b0704e2, 0xdb1114, 0xfd29fe13, 0x614f70c, 0x18180c20, 0xf01bc8e8, 0xf7eb290d, 0x170e04fa, 0xfd0cd807, 0xec09f7e2, 0x1908ebe8, 0xfefc0617, 0x1101c2c, 0x1414ed00, 0xf308e7fe, 0xfefa07fb, 0xdbce01d8, 0x10ed04c9, 0x30f01932, 0xdaeb0ef5, 0xffddeceb, 0x5d6eeda, 0x10fffdbc, 0x913, 0xef1aed13, 0x2f3a, 0xf605eeef, 0x11f3f5c9, 0xe2cf0c06, 0x2219ec15, 0x163b0238, 0xf321d8ca, 0xbeffa05, 0x315fb1a, 0xfa08f3e8, 0x13ff0bfb, 0xeff502e8, 0x1fb0712, 0xd15f910, 0xfbf801ee, 0x2ea0c07, 0xe5fd1c20, 0xff22ead2, 0xfd02008, 0xe1eef3e4, 0x201ce0f7, 0x1502020f, 0xd9e4fdf0, 0x7e0391d, 0xeb0cf0f8, 0xf9fd18f5, 0xf9f5f9fe, 0xfafd0202, 0xa06fa03, 0xfa01f4f6, 0x6020101, 0x10000, 0xf5fd04fe, 0x300fcfb, 0x1f903f9, 0x7fb0201, 0x3030303, 0xfefe0405, 0xff070001, 0x3fb03, 0xfd000707, 0x909fc00, 0xfc03f9fe, 0xfcfa0705, 0x4fcff, 0x502070c, 0x8f3ff, 0xfaf9fef4, 0x204ff00, 0x10101, 0xfe0204, 0x1020405, 0xfd01fb00, 0xff00fd, 0x3fa05fd, 0xf001f5, 0x13040b0b, 0xfe09fa0a, 0xf6020300, 0x5fc00, 0x1fd0001, 0x2fe0403, 0xfd00fcfd, 0x302fd00, 0x4fcf8fb, 0xb0c0210, 0xf90bfb04, 0x807ff01, 0xfcff00fd, 0x401fd05, 0xff05ff02, 0x80e0511, 0xf030f, 0xfa05fb04, 0x30306, 0xfd00fcf9, 0xfcf1f9, 0x8050700, 0xfdf602fb, 0x107f905, 0xff04fcfc, 0xff0cf5, 0xf060107, 0xf4fcfcf9, 0xf9f907ff, 0xfc0404, 0xfc001000, 0x9fa1323, 0xec2fdffc, 0x29141f32, 0xee1ef212, 0xf1ddf3c2, 0x16dd0a16, 0xec30d9fb, 0x4f41713, 0x160eff09, 0x10a2a23, 0x1270029, 0x23e410, 0xd8d0e7ab, 0xf6b11a03, 0xf9050ce8, 0xeebf1ad5, 0xce42430, 0xe82cf429, 0xe9f9fe0c, 0x3d4b1055, 0xe539dbf8, 0xdcc00fe2, 0xefd061c, 0xf917e4f4, 0x7200120, 0xfc0cf800, 0x1ded1ef2, 0xfd15eff6, 0xfcf31118, 0xc1fff30, 0x121e408, 0xd7fc, 0xf401f80c, 0xe8f410d5, 0x8e703fc, 0xdac55222, 0x1555e12a, 0xf2fafd0b, 0x14091c23, 0xdf0fc6fd, 0xbfd0f12, 0xf201040a, 0xff0f0b27, 0xfa0e0e11, 0xd2fe815, 0xed01fbf5, 0x8f01c13, 0xf8100716, 0x115e5ee, 0x7100d01, 0xfbfdfd10, 0xeeef05d4, 0x24170c30, 0xe4f4081c, 0xe3eaf7df, 0x1a20ec0f, 0x1f27f8e6, 0x2fdfb08, 0x3120e08, 0xfc0bf709, 0xf706fafe, 0x6fafdfd, 0xfcfffc07, 0x1fcfc, 0xfc01fd, 0xfe06fdff, 0x3ff0104, 0xf4f70c00, 0x70000fe, 0x9040001, 0x306fdff, 0xfffff9f8, 0xf8fcf9, 0x3ff0a02, 0xfcf503fc, 0xfffffe04, 0xfe060100, 0x101060b, 0x50bf8fc, 0xf8f4f9fa, 0x202fafe, 0x2fe0403, 0xfd0000ff, 0xff0502, 0x203fefd, 0xfefefe01, 0x203f9fc, 0x5fe03fc, 0x501ffff, 0xcf80cf9, 0x1fc0204, 0xf402fdfc, 0xfcf8fdf9, 0xa02fcfe, 0xfefafff5, 0x5fd0304, 0xfcfd0000, 0x400f800, 0x4f90b02, 0xfd06f1fc, 0xbff0000, 0xfc000000, 0xfc0403, 0x4080912, 0xfb05fdfd, 0x3000401, 0xf7fefd00, 0x101f7f5, 0xf8f9f5, 0xfef3fe00, 0x7ff04fc, 0x3020202, 0xfbfc0407, 0x30bfc0b, 0xf60106fb, 0xaf6fbf0, 0x1fdfafb, 0x5070303, 0x1040000, 0xf7fbf5e0, 0xce30fdf, 0x5f8051e, 0xfff4f1c6, 0x22fad9e1, 0xfcec150e, 0xf8f0ffe5, 0xece5fd09, 0x2a2fed05, 0xf4e31c00, 0x100f03e8, 0xaf1e3d4, 0xf7cbcdb4, 0x8e40d0a, 0xfe120d05, 0xf8040c04, 0xc22dfe7, 0xde801c5, 0x26030d1c, 0xf0230f34, 0x2f900e9, 0xf2f6f10c, 0xeb1b0511, 0xf7faf9ed, 0xf4e8fd01, 0xe08eaf1, 0xefe404f0, 0x1bee0ede, 0x2304f409, 0x9160409, 0x2b28e10a, 0xe8f10a17, 0xfc2c, 0xdb13e904, 0xf511fbfc, 0x3f7f6ea, 0x33430f00, 0xfde8040b, 0xf40de3f3, 0x210000e4, 0x1c21f752, 0xd51cf502, 0xebfbf7ee, 0xeddc13e4, 0x1e080b05, 0x1109fe1f, 0xda0cef00, 0xf7ef0de0, 0x2b130915, 0xf408ef12, 0x20d0303, 0xf8000f12, 0xf61afb10, 0x7f308ef, 0xeef9ebdc, 0x2019f315, 0xc07fd18, 0xf5ee1e14, 0xd9eb05f5, 0xbfd0af9, 0xfaf7fcfc, 0x5f500, 0x2fcfefd, 0x203fe05, 0xfe03fd04, 0x105fe02, 0x105f5fd, 0x600fefd, 0xf70009fd, 0x7fd0805, 0x8040307, 0xfd01f4f8, 0x1fafbfc, 0x3fffe01, 0x80603ff, 0x205fbfd, 0xfffd00ff, 0xfbfc0601, 0x6060404, 0xf9f8f9f9, 0xfbfc0306, 0xfd01ff06, 0xff03fdfc, 0xfdfc0501, 0x30400ff, 0x300fe00, 0xfafc01ff, 0xfdf9fd, 0xa020100, 0x4ff0404, 0x3fb02f1, 0xbfb05fe, 0xfa04f6fd, 0xfeff0507, 0x1fe0305, 0x30afd08, 0x306fd00, 0xfc000101, 0x704f804, 0x1f6, 0xfaf3fe00, 0x9fe0200, 0x307fa01, 0x2030605, 0x60701ff, 0xfc00f8fb, 0xf805f9, 0xfcfefeff, 0xfefcff04, 0xfc00f4fb, 0x502ff03, 0x703fdfc, 0x4fd01fc, 0x3040303, 0xfafafcfa, 0xff03fbf8, 0x9f70400, 0xfffefd01, 0x1fd0600, 0x100fcfc, 0xc11f410, 0xf8fc1d0a, 0xf8fdfff7, 0x130bd2ec, 0xed8f6f5, 0x1b14d8d7, 0xf3d21cef, 0x1215fe16, 0xfae60a03, 0xfd0ce7d7, 0x11d821f6, 0xefacce3, 0xffebdbf9, 0x3f4270e, 0xd1d0212, 0xff190b18, 0xc002d, 0xe1011818, 0xafcfeed, 0xfffc08f5, 0x4f704fb, 0xb140d30, 0xcd120f1c, 0x25f824, 0xe717fa14, 0xfb01ef06, 0x11281034, 0x41d0413, 0xf8e804f8, 0x3f2f5e3, 0x18d01f0e, 0xf51bf102, 0x4, 0x29e424, 0xcbfa2221, 0x1331f42f, 0xe7e31aee, 0xf8e9d2b7, 0xacd331d, 0xd0cce8b4, 0x4fe7efdf, 0xf2fceff6, 0xf2fd1a20, 0xea1d030d, 0xcfbf8e8, 0x27fef6f6, 0x7231347, 0xee3ed405, 0x13ed10f4, 0xf0f0eced, 0xf3de10eb, 0x1a0d1311, 0xec07333f, 0x53dfc31, 0xf83bfd4d, 0xf3cd821, 0xf90ef708, 0xdff20ade, 0xf6fb04fa, 0x1100f5eb, 0xf1fff4, 0x4f80306, 0xf9fd0302, 0xfafa03ff, 0xfcfdfdfd, 0xfefafefa, 0x700fc07, 0x1fcff, 0xff070402, 0x2fd0e03, 0x6010301, 0xf4f8f8fc, 0xfbffff, 0xfefa03ff, 0x3fa02f9, 0x3fa0100, 0x203fd00, 0x3080507, 0x1fdfa, 0xfbfcfcff, 0xff03fafa, 0xfffc0401, 0x305f6fe, 0x2030200, 0xfefb0803, 0xfbfb0502, 0xfc04ff02, 0x103f903, 0x902fbfc, 0x8000400, 0x1fe02fe, 0x5f804f7, 0xfdfc03, 0x409fd01, 0x2020605, 0x3050109, 0x208fa05, 0xfe070107, 0x707f504, 0xfc00fbfa, 0x505fd04, 0x7020101, 0x200f2f8, 0x3f908fb, 0x9fefbf8, 0x400fc04, 0xfbff05ff, 0xff02fafe, 0xffff0303, 0xfa01f300, 0x3fe0605, 0x705fc04, 0xfcfc04ff, 0x3fffefa, 0xfdfdf7f8, 0x902fa01, 0xf801f5, 0x6fc0201, 0xfbf5, 0x8fc0404, 0xf80a0e, 0x51bf1ef, 0xefe602e9, 0xf2c8291f, 0x718f214, 0x3fcfc20, 0x431091e, 0xeffb0c09, 0x4130710, 0xf6090b2d, 0xddf908e0, 0xffd1f0f5, 0x4fa1433, 0xd40405e2, 0x23f8f4ea, 0x3b26d9f4, 0xfcf00fff, 0x1937ed0c, 0x204edf3, 0x1004fbf7, 0xf5e800e4, 0xe1ba0fbc, 0x8f7f9e1, 0xefd0e4bc, 0x21f6f6f2, 0xf5ec5855, 0xd91dd4e1, 0x1ffcfcf4, 0xe5e1f4d1, 0x10de432c, 0x140d02, 0xd2df01ef, 0x0, 0xff1b, 0xf141102f, 0xf8140828, 0xe526121e, 0x92ffb58, 0xd82606f9, 0xe60f264d, 0xdedcfeeb, 0xfbf4f4f9, 0x1082210, 0x26f619, 0x613f10c, 0xe8cd1ff6, 0x9f8d8bd, 0x27f6fd1f, 0xf0fc03ef, 0xf5f41c24, 0xf92a031d, 0x31707, 0xa251305, 0x4, 0xf4000c0f, 0xff27, 0xa9d714f4, 0xc21d0e7, 0x9fa1309, 0x4fcf8ff, 0x4030b0f, 0xfd08f5fa, 0xff000502, 0xfe060104, 0xf9010a0e, 0xf4040107, 0xfdfdfeff, 0x504fc04, 0x409fc01, 0x70602fa, 0x2f6faed, 0x2fbfd00, 0xfcfcfdfa, 0x6020504, 0xf8f90900, 0x300fcfb, 0xf90400, 0x805fcfc, 0x804f5fc, 0xfefff6f9, 0x3fd0306, 0xf90000fc, 0x4fdfc03, 0xfdfe03ff, 0x10700, 0xfe03fcfa, 0x301ff01, 0xfdfd0307, 0x1fffbff, 0xa01fffc, 0x3fefdf9, 0x8fc04fc, 0xfc0404, 0xfd00, 0xfffd0b02, 0x6050206, 0xfd01fc03, 0x50004, 0x805f505, 0xf7000106, 0x3040007, 0x303fe00, 0xf6f4f5f7, 0x1f507f4, 0xcf700fc, 0x7fffafd, 0xa0cfa01, 0xfafc0103, 0xf8fc01fa, 0xfbfbf800, 0x5020905, 0x200fc00, 0x40000, 0x1feffff, 0xf9fbfafe, 0x2f7fffc, 0x501fbfb, 0xb0000fe, 0x1ff0307, 0xfdfc0901, 0x30404fe, 0xb040114, 0xf0151528, 0x174df71b, 0xed01fc0b, 0x1c240830, 0xfc28f312, 0xed10181c, 0xeb03deda, 0xfade26f9, 0xf713f4ff, 0x1313f215, 0xfe0f120d, 0xf48cf12, 0xf4e32211, 0xebc107ef, 0x7fa2611, 0xf07fe18, 0xdcf2171c, 0x713f30b, 0xf107f4fb, 0xe9032c20, 0xc24df0a, 0xf914f424, 0xf4f70809, 0x192df0c5, 0xf2dee0ea, 0x5d00ce0, 0xc071023, 0x132608eb, 0x11fc0bfa, 0xed15f105, 0x0, 0x1, 0xf909f2eb, 0x1205cac7, 0x5e721f6, 0x13000005, 0xfd2ac7eb, 0x5fbda, 0xede914ff, 0x40440050, 0xe332e9f9, 0x4fdfd04, 0xd7d5f3d7, 0x1201ffe1, 0xfcd401fd, 0xfe50df5, 0xebf010fd, 0x1d25ebf4, 0x1c17f004, 0xecf009e2, 0xfad221e0, 0x13f305f8, 0xd8dc15e5, 0x6ebead6, 0xef1cecf4, 0xf5ddfa07, 0x12101310, 0xf3fffd04, 0xf8f808f5, 0xfdf5fefe, 0xfcfb05fb, 0xfd0501, 0x30b0304, 0xf101fdfd, 0xfbfb0704, 0x1000004, 0x1010308, 0x102fefe, 0xfcf8fefc, 0xfff900fc, 0xfdfd0606, 0x1010400, 0xfc0400fb, 0xf80400, 0xffff01fc, 0x9fd0607, 0x201fb07, 0xf902fb07, 0x4f8f9, 0x0, 0xfffbfefd, 0x6060205, 0xfc01fef8, 0xa04fe06, 0xfe01fcfe, 0x7080106, 0xf7fc0304, 0x9030004, 0xfcfdf8f8, 0x7f70e01, 0x304ffff, 0xfdfcfcfb, 0xfcf80cf9, 0xbfe02fe, 0xff00fd01, 0x405fb00, 0xfdf50303, 0xfc080007, 0xff030205, 0x204f1f7, 0xf8f90004, 0x4070000, 0x8fc01fd, 0xe04010b, 0xf9faf7f7, 0xf8f507fb, 0x104f7fa, 0xf8f700ff, 0x5ff09ff, 0xfdfeff, 0x1000101, 0x101fbfd, 0xff03f801, 0x3020003, 0x503f7ff, 0x5f9fdf6, 0x7fc0b04, 0x209f7f7, 0xc000501, 0x7fd110d, 0xf613edeb, 0x5d9ffe1, 0x7fbf1f0, 0x1bef01e8, 0xefdb11f9, 0x30ff6ed, 0xeff1182b, 0xf122faf6, 0xf5f4fbfb, 0xf0d8290f, 0xf304f6e8, 0x16ef0525, 0xfc2decf7, 0xd19eafc, 0xe9de01b9, 0xeb804be, 0x2002210c, 0x1015ec0e, 0xf10ec8e2, 0xe07eac5, 0xf3ac04d1, 0x2d051324, 0xfb2be609, 0x2f20c0e, 0x11ded2a, 0x72cf010, 0xff03faed, 0xfbd529f6, 0x1afffef2, 0x5d7eb, 0x0, 0xfcfc, 0xf5f80b11, 0xe8e71c39, 0xf82ce7f2, 0x9e80cf4, 0xc03e723, 0xf6190f2d, 0x141d704, 0x2beff2e1, 0x1f1df82c, 0xcdf5fef6, 0xf514f819, 0x70e2635, 0xef28e80f, 0x2828e904, 0xf710f5f5, 0x27ff0014, 0xf4ec0400, 0xf509f5f5, 0x161105f5, 0x13f5d4c4, 0x4f021fc, 0xebe10900, 0x2334f038, 0xeb2efa2e, 0xff1b040c, 0x31cd9f8, 0xf9f90afb, 0xfef6f6, 0xfa0aff, 0xa090307, 0x307fd01, 0xf101fbff, 0xff03fffb, 0x2fc0f0b, 0x50ff804, 0xf8fbf9f6, 0x4fe0202, 0xfd00f9f9, 0x7030401, 0x4040000, 0x105ff04, 0xff03fdfc, 0x4010000, 0x4fb04f9, 0x4fb0404, 0xfc07fc08, 0xfc04f804, 0xfd01ff00, 0x405fb02, 0x5010302, 0xfc02fe02, 0xfef60800, 0x2fd03, 0x804080b, 0xef03fefe, 0x7fc00fc, 0x303f601, 0xfff903ee, 0x1ec0dfa, 0xfcf9fbf8, 0xfffb01f0, 0x1e613f7, 0x7fffdff, 0x702f5fc, 0xf8f700f4, 0xf807ff, 0xfefefffb, 0x1faf4fd, 0xfb000909, 0xff040307, 0xfefd03ff, 0x4f505f9, 0xfafaf1f4, 0xfdf906f8, 0xfff6faf9, 0x405f9fe, 0x70007fe, 0x1fffcfd, 0xfc04ff, 0xfdfb0303, 0xfc000109, 0xf8fefffd, 0xfdf500fe, 0x3fc00ff, 0xc04fdf6, 0x7fb0004, 0xf800f3, 0xf5e10ede, 0x1e90c08, 0xf7fa0d08, 0x18190129, 0xd4e2efd0, 0x1e208d9, 0x27fdf4fb, 0x101c1f23, 0xfa2cf325, 0xf121f71d, 0xe411f6de, 0x2611041f, 0xf18f104, 0xf1f9fb08, 0xc07001d, 0x1044f73a, 0xe6121826, 0x30904ec, 0xf8d40bf3, 0xf1f3e10c, 0xfaf82432, 0x3f1651, 0x226fd10, 0xf409f316, 0xed01160b, 0x50ff91b, 0xe4f8fc04, 0x1419e807, 0x111d03f7, 0xf3d011e3, 0xfcdf1018, 0xf4f4, 0xc00e8ec, 0xf713ff, 0x51cf1f1, 0xf080021, 0xf008fcf8, 0x5f10b15, 0x4230014, 0xf80b083c, 0x11fb1a, 0xfef90708, 0xec27d902, 0x7140420, 0x31c05fb, 0x814f824, 0xfc0013, 0x102cf72e, 0xf8ff0605, 0xfe0fecf7, 0xf6f8e3e6, 0x1cec00e7, 0x1df12744, 0xf434f003, 0xd0e82302, 0x10ef0908, 0xf9160622, 0xf518ff13, 0xf606e20f, 0xf60cff01, 0x102030f, 0xf7060d09, 0x403fcfc, 0xfdf6fbf4, 0xf8fb0303, 0xfc000102, 0x4041005, 0x404fc08, 0xf808f403, 0x4030001, 0xfc000108, 0x6070104, 0x0, 0xff0303, 0xfd010105, 0xff000101, 0xe0bfa01, 0xfefb05fc, 0x70b, 0xf908f808, 0xf7020104, 0x101ff05, 0xfcfc00f9, 0xfd0100, 0xff0101fa, 0x3fdfcfc, 0x3f702f1, 0xff010407, 0x707fe05, 0xfcfefa02, 0xf9fc01fa, 0xfff800eb, 0x4f300f8, 0x1fa0700, 0xff08f4, 0xffcfefd, 0x8fef700, 0xf800f8f8, 0xfbf306f2, 0xfff3fff3, 0xf201ff, 0xfd010901, 0xfe00fffc, 0x503fcfc, 0x7fffdf7, 0xfbf8f6fd, 0x4fe, 0xfbfa0303, 0xfaf90303, 0xfcf808f9, 0x4fc0505, 0x70cff07, 0xf600fefb, 0x2010202, 0xf5fffcfc, 0x706f9ff, 0x4000404, 0xb030107, 0xfffffdfc, 0xfdf902fb, 0xfd0307fc, 0xfdf8ecd8, 0xdee0ff0, 0xe9c117d7, 0xfbfef908, 0x1b22f610, 0xaf32120, 0xe0f0fdce, 0x16eaf5ec, 0xfcf72424, 0xf030dc16, 0xf3e31efd, 0x2b19f018, 0xe9100f24, 0xf8100f1f, 0x615f311, 0xfb260412, 0xcedd22fb, 0xf1f4efd8, 0x12f9eb03, 0x232cd6de, 0x502eeb03, 0xfcfdfbfb, 0xeff6f7fa, 0x31004fe, 0x4fd0408, 0xe509ff0c, 0xe5dd0f04, 0xf02f6f5, 0xe0e214e5, 0x220b0803, 0x3ef, 0xf5d81d0d, 0xeffcecd5, 0xe4b427ea, 0x25000000, 0xe9f90b08, 0xf4f71804, 0x0, 0xf8000800, 0x5, 0x70000, 0xe0f4f30e, 0xf8ff1a15, 0xf80aff04, 0xf9f5fbf8, 0xf8f0ffef, 0x15f4110e, 0xec02eeea, 0xf9e5130c, 0x117f024, 0xf3fb0a05, 0x2f170bfb, 0xe1e800f8, 0xf31bede5, 0xfcd1f5bd, 0x1ee2e2be, 0x23ec09f6, 0xb0bf11a, 0xf317fb13, 0xf5070004, 0xfc090501, 0x603f900, 0xf3f6fef9, 0x2030101, 0xf9fe02ff, 0x6011001, 0x603fc03, 0xf904f808, 0xff030104, 0xf8000706, 0x5050408, 0xff07f900, 0xfdfa, 0x603fdff, 0xc0b, 0x401ff06, 0x109fc00, 0x404fffc, 0x205fb08, 0xef000100, 0xfbfafef9, 0x401fbfc, 0x3ff01ff, 0x303fdff, 0xfc0404, 0x1f7f6, 0x9000400, 0x902fe02, 0x6edf9, 0xfdfd02fe, 0x6050308, 0xf4f807ff, 0x50303ff, 0x60500fd, 0xbf900fb, 0xbfefe05, 0xeffcf4f8, 0x401fcf7, 0x3fbfefa, 0x3fd03ff, 0xfdff0c02, 0xf9fd0705, 0xfcfcfdfd, 0x2f801fc, 0xf9faff03, 0xfbfe00fa, 0x10000fd, 0x30404, 0xfd0502ff, 0x2fd06fe, 0x2f902fc, 0xf9ff0001, 0x403ff00, 0xf904fc04, 0xfdfa0001, 0x3000905, 0x7010000, 0x1f9fd, 0x202fcfc, 0x6050604, 0x60df718, 0xf702fef1, 0x2a32ed08, 0x8150925, 0x610d9f3, 0x8f11cec, 0xebf70903, 0xcf9d9dd, 0x7e815d9, 0xef70621, 0xa380822, 0x900f000, 0xf260118, 0xf818ff08, 0xe1e3fded, 0xfbedf4dd, 0x5140cfe, 0xfb08ec05, 0x170a1938, 0x4190f52, 0xeceecacd, 0x1becfdee, 0xb0a0c1f, 0xdffbf5ec, 0x1f07fe01, 0xdffb0f0b, 0xf81ef504, 0xf5eaede1, 0x191a161c, 0xb050d0a, 0x106, 0xeeff1dff, 0xc1cf828, 0xf0341421, 0x400ecec, 0xe7eaf1d0, 0xce818e8, 0x5ed1300, 0x80000, 0xecec1400, 0xe9e9dbc4, 0xf1d5fbdd, 0x2f14e5df, 0xfce3f9dd, 0xffe3fbe3, 0xf5e004e5, 0x1d1e6a6, 0xba0dd9, 0x15f5e8ca, 0x1fe80d05, 0xfa0cf6f8, 0x3cc18d9, 0xf1e91b04, 0xf506ee07, 0xf9040d1c, 0xfaf8061c, 0xebe40ce7, 0xf4d00ceb, 0x800fd02, 0xf7040004, 0xf9010501, 0x601f1f9, 0xf7fd0403, 0x304fd00, 0x40bfc05, 0x3020e00, 0x600fafe, 0xf3f8ffff, 0x202feff, 0xfa010b05, 0x4040404, 0xfc01f901, 0x2030208, 0x204f6fd, 0xfefb0efd, 0x3fc00fd, 0x4000004, 0xf8f805fe, 0x3ff0004, 0xf50af6ff, 0xfe020307, 0x3fb03, 0xfefe0300, 0xfd0000, 0x101fffc, 0xf8f40502, 0x6ff0904, 0x3fefdfd, 0xfdfd0d, 0xfe0e010d, 0xc13fb0b, 0xed0400fd, 0x901fefc, 0xa000909, 0xfefc03ff, 0x9fd0403, 0xef03f403, 0x2010308, 0xfd02ff03, 0x401, 0x10502fb, 0x10300fc, 0x505fa02, 0xfefe0300, 0xfc030408, 0xfc09fc05, 0xfbff0605, 0x3080004, 0x70005, 0x3fffc, 0x2fc02fc, 0xfd000404, 0x1, 0xf901fb00, 0xff020103, 0xffff09ff, 0x5fdfefb, 0x1fcfd00, 0xfffdfdfe, 0x2fa02f6, 0x1303030f, 0xea02f7fb, 0x15e63b34, 0xf824e3fe, 0xfcf40520, 0x18fcf8, 0xd0c10, 0xff03103a, 0xa3def17, 0xf7000802, 0xfef608f6, 0xfeeb01fc, 0xf9e6e7cc, 0x18ecfdea, 0xf18f40f, 0xf0040515, 0x919dae7, 0xf4e02115, 0xe4e203cc, 0x1ce4ddb2, 0xffc51813, 0xf0e810fb, 0x3f315fc, 0xec09f307, 0xfde5f5dc, 0xb0800f9, 0xf4f5f0f0, 0x803f006, 0x10fd17fe, 0x15080c07, 0x1417, 0x29f804, 0x8000008, 0xf40c07ff, 0x2fdd4e5, 0xfbf9040c, 0xb0b02f5, 0x1303f0e0, 0xfbdb09e4, 0xf8f001dd, 0xcfc30bf3, 0xedef2115, 0xff5f909, 0xf2fffd03, 0xf0f4f4ed, 0xd050708, 0x80ffd26, 0xf3190410, 0xfb0417, 0xefe7f9d3, 0x19f21a16, 0x518d3d3, 0xedcf11c5, 0x16e6150d, 0xe8fc08f7, 0xefecfde3, 0x5fdefe0, 0x8f404ec, 0xffe30df3, 0x3ff0403, 0xf90301ff, 0xf7f0f8f7, 0xfbfb0900, 0x502fb00, 0x400fc00, 0x1fe0fff, 0x5fefbff, 0xf1fdfaf8, 0x5fbfcf9, 0x5040700, 0xfc05fd, 0x304000b, 0xf9020303, 0xf9fa0206, 0xf2fa0af6, 0x8fb01fc, 0x901f4f5, 0xfffc07fe, 0x5000000, 0xbf90e, 0xf707ff03, 0xfe01fc02, 0x2060104, 0xf9fdfefb, 0x2fcfefb, 0x508080b, 0x10600fd, 0x3fd0101, 0xe0ffd0f, 0x4150014, 0x8f401, 0xe8fc03ff, 0xe04fb01, 0x7fe02f7, 0x3fc0801, 0xf804f8, 0xf4fdf902, 0x2020504, 0xff060108, 0xfd050203, 0x103f8f9, 0xf804fc, 0x8fffc01, 0xff020201, 0x2070104, 0xfc04fd05, 0xfb050706, 0xfd000101, 0x203fe01, 0x203f9fd, 0xfcf705fa, 0x7040303, 0x104fc00, 0x7f400, 0x1fcfc, 0x4010800, 0x904fa00, 0xfefd0303, 0x408ff0a, 0xf800faf8, 0xcf106f4, 0xa14f310, 0xc07e8b4, 0x14d03421, 0xec11e5f1, 0xf0e1f3d8, 0xfdd5f3bc, 0x39f60ff5, 0x8f30004, 0xf906fefc, 0x200fff7, 0xf0e915fd, 0xf130834, 0xf713091f, 0x10f814, 0xe307090b, 0xf9fb0e2f, 0xfd38dcf3, 0xf706f5f8, 0x4e0181b, 0xfc18ecec, 0xf1ed3a17, 0xd21e0ec, 0xf3f32a2a, 0xdc09f307, 0xefeb2914, 0xdcfc0c18, 0xe0f0eded, 0x34111a14, 0xe9e809e5, 0xe0e0, 0xf4d4f3cf, 0x10d70ee5, 0xf8e907e9, 0xfce3ff0e, 0xf90cfc04, 0xf9f2fbeb, 0x6deeedc, 0xdeeffe4, 0xfce8f7de, 0xfa091b19, 0xea16fff4, 0xaef0d03, 0x314e6fd, 0xf704e8f8, 0xcf700f0, 0x8f01003, 0x1020f814, 0xc20f410, 0xed0ee7fc, 0xceff9ce, 0xf7c009f6, 0xfe0701f7, 0x10f110ec, 0xfd01fcf5, 0x12180924, 0xef0ef413, 0x10cfb03, 0x60a0a07, 0xff030100, 0x50cfb06, 0xf0fffd04, 0xf4fd01f5, 0xbfbfcfc, 0xf80400, 0xff0bfb, 0x9fffc00, 0xf0fffc01, 0xfcffff, 0x5ff0b03, 0x3fefc, 0xfff803fb, 0x20100, 0xfd04ff01, 0xfc0b0001, 0xf900f8, 0x7f6080a, 0xfd08ff00, 0x5000000, 0xffff0107, 0xf505f3f9, 0x4fffcff, 0xfffc00fb, 0xfe00fbfd, 0xfb00fd, 0x11090809, 0x20afc06, 0x3090b, 0xfd0808, 0xfd01fafb, 0x1fcf3fb, 0xee010604, 0x5fb0404, 0xfcf90900, 0xfbf805f5, 0x2f7faed, 0xfff800ff, 0xfd01f9, 0x3fd03ff, 0xfe0000fe, 0x2fff6fd, 0xfffc07ff, 0x2f90300, 0x405fcff, 0xfdfa03fc, 0xfcfcf8f7, 0x4000801, 0xfd010707, 0x409f803, 0xfdfefc01, 0x2070204, 0x2ff0703, 0xfe00fd01, 0xfafbfe05, 0xfb000004, 0x8080101, 0x2fa0101, 0xff020d0c, 0xc14fc11, 0xf710f107, 0xf7f201ed, 0x10f3ebeb, 0xf6d50efb, 0x1d04d5a5, 0x27e0f5f0, 0xfbfb1018, 0xec07ebff, 0x19df18e8, 0x1bfbf8f3, 0xe080a14, 0xf608e3ec, 0x70311ff, 0xf8e8fcdc, 0xfce1f8d0, 0x11e106ef, 0xa16dae7, 0x2f01afc, 0xd6d51009, 0x81ae207, 0x90cf8ec, 0x1000fc10, 0xf31216ee, 0x3e41f23, 0xdd0df9dc, 0xeaea3a31, 0xe22402fd, 0xa2b0625, 0xdf24fc33, 0x1b1af6f6, 0xf1cd0e3, 0xc20, 0xd1fdfc06, 0xf3e910eb, 0xe3d619e8, 0xffeb06f2, 0xfff80501, 0xf3fb0404, 0x402ff13, 0xf6fc0300, 0x1050614, 0x11b0808, 0x422f81b, 0xf90aebe8, 0xf7dc1208, 0xf20fc34, 0xf8200727, 0xe90800f8, 0xf7df452c, 0xf515ea0b, 0x523e824, 0xd7ef1d13, 0x132f092f, 0xe0111020, 0xfb0bf9f4, 0x10070d18, 0xfb01fbf3, 0xfd01f906, 0xa0ff90d, 0x70300, 0x1020001, 0x1fdff01, 0xf405fc04, 0xf909ff07, 0xfc0303, 0xfd0000fc, 0xfc09fa, 0x2f3fef5, 0xf7fc0808, 0xfc040106, 0x203fef6, 0xb01fcff, 0xfd, 0x1fefefb, 0x1ff0000, 0xfbff0605, 0xfb000505, 0xfaf80efe, 0x607fd05, 0x0, 0xfefffdfb, 0xfc02f908, 0xf8fc0101, 0xfe00ffff, 0xfeffff03, 0x104080c, 0xb0600fe, 0x501f9fe, 0xfffd04f8, 0x10080707, 0xfa04f701, 0xf6f6ff02, 0xf3070405, 0x400, 0xfc0005fc, 0x3040302, 0xfdfdfd00, 0x203f9fc, 0x703080a, 0x108fc01, 0xff02fe00, 0x301030e, 0xfa090204, 0xfe000300, 0x3fff9fc, 0xf3f205f4, 0xfcf40400, 0x3ff06fd, 0x5050907, 0x104f501, 0xfafefe00, 0x3010100, 0xa08fdfe, 0xfffffdff, 0xfc010003, 0xf800ffff, 0x4fb0600, 0x6040104, 0xf9fe0eff, 0x9fc0000, 0x40df10d, 0xe8fefbf8, 0xff70a16, 0xe707f4ed, 0x19e91b2f, 0xfc040312, 0xe0f70cf3, 0xeef50a14, 0x1fc10f4, 0x1cf5f0ed, 0xdff4c9, 0x8db241c, 0xe7fcfde8, 0xdfdd6d7, 0xf5d014ec, 0x1cf7f5e6, 0xdeba01e1, 0x2100d6bc, 0xfee416ea, 0xfddfdcd9, 0xd01df5, 0x6eb0dfc, 0xfc050bfa, 0x11080df6, 0x132ce316, 0xe10dfccf, 0x2c19041b, 0xc1dd3ea, 0xf5001115, 0xf6f0fdf7, 0x8f0fd1d, 0x2800, 0x2fd70a, 0x1930d5f5, 0xd7e920f0, 0x1405f0ef, 0x7f7fdef, 0x4000804, 0x404e9ee, 0x6fe0a05, 0xfe02f6f2, 0x7f8f8e8, 0xf8dc0cf0, 0xf3ea0d0c, 0xfc110807, 0xf071d28, 0xfd2dfa20, 0xfe35ce03, 0x162206e3, 0xfdeb1112, 0xe1be91c, 0xd81d1111, 0xf0ee0bf0, 0x1d2df310, 0xf0051521, 0xe1ff90b, 0xecfcf8f9, 0xf8f40b06, 0x2feff04, 0xfd01fbf9, 0xfff703fa, 0x1fafdf8, 0xf8fcfdfd, 0xfe020104, 0x105ff01, 0xfc000101, 0xfeff05fb, 0xfff801fb, 0x70bf9fc, 0x302, 0xfefe0707, 0x400f8fc, 0x4000b0b, 0xfd07f5fe, 0x2ff0100, 0xfc010803, 0x8ff02, 0xf90101f4, 0x8f60700, 0xfdfdfbf8, 0xf7f1fbef, 0x1f4faf5, 0x2ff01ff, 0xff00fdfe, 0x405, 0x40400, 0x4f901fa, 0xfff403fe, 0x1000400, 0x7f70afa, 0xfcfcf9fe, 0xf7fffefe, 0xfc07fafd, 0xfffc04fc, 0x10103ff, 0xfc04fd, 0xf7fa, 0x2fa0304, 0x8050401, 0xfd01, 0xfe000204, 0xfeff00fc, 0x507fd02, 0xfe020100, 0x1fefb00, 0xf8050404, 0xf9010300, 0x4010803, 0xfcfa0dfe, 0xfffcf7fe, 0xfd010306, 0x104070a, 0x101fc00, 0xf5f603fc, 0x1010607, 0xf5040005, 0xf8f90cff, 0x3fc02fd, 0xfc0003f5, 0x11fd0300, 0xfc040f, 0xf71ef518, 0xd16ff0b, 0xf418ff23, 0xa14f7f0, 0x7fb1109, 0x831d4f9, 0x202b0425, 0xf115f4f9, 0xf6d317fa, 0xfef80307, 0x15140bfb, 0xf509f905, 0xcac21501, 0x814f8f8, 0x330f112b, 0xfc49d119, 0xd2ca00f4, 0xe0402f0, 0xf2e5ebf4, 0x170b00ee, 0x15fd1505, 0xc15dfe9, 0x18f0f8db, 0x4cc10f9, 0x820f418, 0x1c08edf1, 0xcbb04926, 0xd708130a, 0xe9fd0909, 0x1314f80f, 0x10e4, 0xe40512, 0xeee7182a, 0xe83be904, 0x3f30f12, 0xf1fcfdfc, 0x3fb06f9, 0xefe41813, 0xf0fd04f7, 0x1faf9fd, 0x7fd080d, 0xf2070a05, 0xff11f8fc, 0xf3f302ed, 0x7e5fbc3, 0x14da09e9, 0xebd64149, 0xdd10fa04, 0x1d240013, 0xf7fc0d20, 0xe931dbfb, 0x1a25f711, 0x160aec03, 0x114fdfc, 0x2f0f9f0, 0xf4f80000, 0xfd0503fd, 0xfb00fc, 0xfbfafaf9, 0xfff908fe, 0xf8f5f8f0, 0x3fb0200, 0x305fc00, 0xff0404, 0xfc04070a, 0xfd090105, 0x60207, 0x101f901, 0xff000300, 0xfe000e07, 0xf9fc070b, 0xfe05fbf5, 0xfcf400ff, 0xfcf90800, 0x10502ff, 0x1000405, 0xfc08f900, 0x2fafef1, 0x7fbf4f4, 0xfd0406, 0x5000b, 0xfc05fc00, 0x506ff08, 0xff070508, 0xfc040404, 0x403, 0xfd01fefc, 0x60100fd, 0xa0001f7, 0x3fefaff, 0xff07f5fe, 0x80afa0a, 0xedf808fc, 0x4ff03ff, 0xf9f804f8, 0xf80001, 0xfffe0500, 0x7ff02fd, 0xfffc0403, 0x5fcff, 0x1fdfe, 0x3fc0403, 0xf9fe02ff, 0xfefd00, 0xf7ff02fd, 0x206fd00, 0xb07fefd, 0xff0008fb, 0x501ff09, 0xfc08f4f9, 0x4fc09fe, 0x2fffe01, 0xfe0afa01, 0xfefefef6, 0x203f5f8, 0x404fcf4, 0x9fa06fe, 0x2040506, 0x1207f9fd, 0x2fffef9, 0x1214ed0c, 0xf4f300f4, 0x1818dff8, 0x1503fd09, 0xdee0e6b5, 0x13c0f8e4, 0xc42ded, 0xebe708fb, 0x409fff1, 0xfdf01502, 0x1704140d, 0xfc14d8f3, 0xd36ff20, 0x1190223, 0xf2e21bec, 0xe1d1efef, 0x3350c111, 0x80b0c15, 0xd3f6f4ff, 0xe807ef, 0x12ecfcd3, 0xbd2190c, 0xf5e906f7, 0x2d20f808, 0xd4e0, 0x4c82803, 0xe0180bda, 0xfd000cf9, 0x5150b17, 0x40410, 0x100, 0x1c1ce8ff, 0xf4050af7, 0xe3f2fe07, 0xfd01ebdd, 0x1edfcec, 0x8f109f4, 0x70c04f8, 0x8fc00, 0xfffefaff, 0xe061513, 0x324f50f, 0xf707d9e8, 0xc01f0ef, 0xfde51701, 0x1ee1b00, 0x273cf2ed, 0xcada12f2, 0x16eb06f1, 0x2fcf2e1, 0xe7dff8fc, 0x10f201fc, 0xf3d901ee, 0xaf704fe, 0x905fd09, 0xf70c0410, 0xff12f504, 0x105ff04, 0xfd06fb07, 0x1090304, 0xf400f4fc, 0x1fa03fb, 0xfdf50700, 0x3030100, 0x40401, 0x40003, 0xff020606, 0xf7fc0003, 0xff03f7f7, 0xa0301f6, 0x30001fa, 0xfc0203, 0xf900f8f8, 0xfc00f4, 0x8fb04fd, 0xfc04fc, 0xfc03, 0xfbfcfcfa, 0xfdf003ff, 0x1000400, 0x101feff, 0xf6f90704, 0xffffff, 0xfafa04f9, 0x8050304, 0x40101, 0xff030106, 0xffff0302, 0x1f904fc, 0xf9f203fb, 0xfffb040a, 0xfcfefd01, 0xed0103fc, 0x80000fd, 0x40303, 0x205ff04, 0xfc0100fc, 0xc01fcfb, 0x804fcfc, 0x400fd01, 0xfbfc00ff, 0x40003ff, 0xfd030001, 0x102fe03, 0x10df1fc, 0xfa0603, 0x6feffff, 0x10103fc, 0x7fe0100, 0xf8fc0109, 0xfe03fdf7, 0xb000103, 0x5fc07, 0xfb04fe04, 0x2000d, 0x20bfd0c, 0x407fdfe, 0xfffb03f9, 0x9f005fc, 0xfff903fe, 0x2ee1011, 0xf714f80c, 0xbff0222, 0xeaf7e9e3, 0xf8fd041b, 0xedf50b08, 0xf1f901cd, 0xef017ff, 0x1fcf1ee, 0x1708f5e8, 0x13e410e0, 0xe5c90bfc, 0xe4d33004, 0xf5f8f3e9, 0x8ff01e5, 0x1216f219, 0xcfb508fc, 0xebdffacd, 0x2721d502, 0x709080a, 0xf81410, 0xf4f9f7d7, 0x19fbfcf1, 0xe9ad27dc, 0x4e0202c, 0xfb23e5e0, 0xe0e00ce1, 0x2307d5d0, 0x1fea19f8, 0xe4dce0b8, 0xfbf0, 0xbdf0900, 0xf5011f16, 0xf326e109, 0xf905f40e, 0xeaf7f5f0, 0x8f03017, 0xe8f8f7eb, 0x12fd0607, 0xfd05ff0a, 0xfdf92004, 0xdcdd01e9, 0xbfd1438, 0xf11d0734, 0xec230b17, 0x293f082c, 0x5dff2, 0xfc241527, 0xfc0dfb02, 0x909f40b, 0xf71bf518, 0xecf41407, 0xff13f90b, 0x8090106, 0x704fb02, 0xbf1f8, 0xf9f9fd, 0xfefa02fd, 0x202fa01, 0xfefe0500, 0xf501f603, 0x103ffff, 0x204ff, 0xfefa06ff, 0x5040101, 0x2030003, 0xfe02fffb, 0x307fa01, 0xfe00f902, 0x4fc04ff, 0xfffb02fc, 0xa06fe02, 0xf700ff07, 0xfd04fc00, 0x3fb06fd, 0xfffc04fc, 0x400ff03, 0xf5fdfcfd, 0x505fe00, 0xfdfc05fd, 0x703fb00, 0xf2fc02f7, 0x5fc00fd, 0xfbfe02fc, 0xbff0400, 0xfcfc00fb, 0x2fe0603, 0xfd010200, 0xfefd04fd, 0xfe02fcfb, 0x2fefff9, 0x502fb00, 0xf80bf7ff, 0x5fc0703, 0x1040001, 0xff0101, 0xfb00fcfc, 0xcfcfcfc, 0x9fdfeff, 0xfaf502fa, 0xfefd0603, 0x403fefe, 0xfeff0100, 0xff0102, 0xfefffa08, 0xfa0202fe, 0xa02fd00, 0xff0400, 0x1fa03fc, 0xf9fd0905, 0xfb02fc01, 0x4fa0700, 0xfffffe01, 0x80e0212, 0xfd0fff0e, 0xf602fe03, 0xfdfc0100, 0x3040506, 0x70400ff, 0xfd, 0x70204f6, 0x807e5f4, 0xe901e8, 0xf3f11018, 0x323f110, 0x82bfb1b, 0xf21cfe19, 0xfe090cfe, 0x1a171137, 0xd4f400ff, 0x1804f0e4, 0x2322fe15, 0xb3cdfeb, 0xece22110, 0xf4fc1f1a, 0xfc04edff, 0xe010f0f8, 0x101d082b, 0x4e817, 0xb1b2134, 0xec201f2b, 0xf52ce51a, 0xf4f5f3ec, 0x1f220904, 0x3434e5f9, 0xefed040c, 0xf925eb04, 0xf5d62223, 0xf130e08, 0xdf03fc1f, 0xbfc, 0xf12008, 0x1023f5f9, 0xd8de0603, 0xe5eff8f3, 0x40df40c, 0xfc000fdf, 0x3027fa2a, 0xf70fd8e1, 0xcf01203, 0xd13fbee, 0x1527f51b, 0x1020f804, 0xf70a0205, 0x162ffe22, 0xfbf4e3cf, 0xfac903ed, 0x1506e7d8, 0x8e4fce5, 0xf8d404e4, 0x10fdfb03, 0xfd140000, 0xf5f60300, 0xfdf5fff3, 0xf5e10bf1, 0xfdeefbf8, 0xf8fffe, 0x101fbfa, 0x4fcf5f7, 0xf8f107f3, 0x1fffb04, 0xfafd0301, 0x102fffd, 0xfdfc02f8, 0x9fc04ff, 0xfdfdfa, 0xfffbfffb, 0x901fd04, 0xfe04fd08, 0xf8fcfff7, 0xfef60bff, 0x7fc01ff, 0xfc04f9fe, 0x203fb02, 0x10004fe, 0x10001fd, 0xfef706fe, 0xf801faff, 0xa04fb01, 0x105ffff, 0x3fbfefe, 0x20ef501, 0x3ff0504, 0x40dfc07, 0x8040404, 0x80008, 0x1070607, 0xf8020202, 0xfe02fdfb, 0xfdfa0705, 0x3fd01, 0x3ff0408, 0xfb0bf90d, 0xf80004fd, 0xfc00fc, 0xfc0803, 0xff07f2fd, 0x8f90300, 0x8ff0102, 0xfa02fefe, 0x50500ff, 0x1fc00fe, 0xffff01ff, 0x100fdfc, 0x200fd03, 0x90007, 0x3000508, 0x8fc00, 0x4030000, 0xf8ff04fa, 0xfcfb0403, 0x30201fc, 0x1fefefe, 0xd030405, 0xff070109, 0xf306f6fe, 0xfbfc04ff, 0x100c0b12, 0x10c000c, 0xfb07050c, 0x50afb01, 0xf5eefa03, 0xfd00f1f0, 0xb080b03, 0xfdfd0915, 0x411f309, 0x182ffc2d, 0xe413e9f0, 0x22f8fde4, 0x10200b2b, 0xdef1eff0, 0xfbc8fec8, 0xffbc05e2, 0x3f908e0, 0x10fcfcd9, 0xdd07f7, 0x2138fd45, 0xe3180515, 0x419f728, 0x11e1815, 0xdf08dcc5, 0x3000fb16, 0x25471165, 0xf3390131, 0xdfdcf8ef, 0xf0f001ed, 0xede1faf0, 0x1d1803f9, 0xbf51d04, 0xe4090d1a, 0x1fff, 0xa0906ef, 0x15f4f4f3, 0xf813dbe8, 0xf2f50b08, 0xb0ffd18, 0xfd19fb05, 0xf0c50fda, 0x2e52b38, 0x32fdefb, 0xdecc06d7, 0x1bdd3018, 0xeff7f3f2, 0xfaf504f7, 0x10f1f8eb, 0xdbcbf5dd, 0xcef07f3, 0xdefdf4, 0xec00f0, 0xfcf4fcec, 0x1ddf8da, 0x6e3fadd, 0xfbe30fef, 0xcfe00ff, 0x20c0203, 0xf5fbfcfc, 0xfcf8fcf5, 0x1f503fd, 0xfbf4fdfc, 0xf9fd03f9, 0x9010208, 0x5130111, 0xfa0af2fd, 0x2020202, 0x801fffc, 0xfffb01ff, 0x404f9fe, 0x3f80803, 0xf5fa02ff, 0xf9000304, 0x10703ff, 0x5fd0501, 0xfb00fc03, 0x10006, 0xf8fd00f9, 0x4fc04ff, 0xfdfe06fe, 0xf9fffc01, 0x8ff0307, 0x107fd05, 0x204fe04, 0x2fb08, 0x1060304, 0xfcfc0808, 0x400, 0x808040c, 0x30ef1f9, 0xfdfe02fe, 0xf5f5fbf3, 0xd030400, 0xf9f90602, 0xfffef9, 0x301fc04, 0xcf800, 0x4040004, 0xff03fcf7, 0x6fefb07, 0xfffe04ff, 0xfef50afe, 0xfe020206, 0x1feff, 0xfefc02fe, 0x302fdfe, 0x2fffe00, 0xfe0203, 0xfafd0300, 0xc090408, 0xfb03fd04, 0x303f8fb, 0xfafd03fc, 0xfc, 0x5fe0300, 0xff0001, 0x7fb05fc, 0xf8f5f9ed, 0x3fdf900, 0x308fc00, 0x140403fc, 0x2fd00fd, 0xff010703, 0x1fffc00, 0xf803f1fa, 0x704f70a, 0xfaf90bf9, 0xfcf800ef, 0x18030010, 0xfcf4f4ec, 0x1018ec1b, 0x10091824, 0xf408f8f5, 0xfb120e31, 0x238d20c, 0xeaf709fb, 0xfbf311fc, 0xf1ddffe0, 0x2808f9fa, 0x2801e7eb, 0x1018f70a, 0x50b2034, 0xfc2fd8ef, 0x1121f73c, 0xd5e1e8ce, 0x4bf404e7, 0xebdfeecc, 0x12ffccd3, 0x14f70d03, 0x293ff338, 0xeb060609, 0xf0ee07d8, 0x3327ed07, 0xfce5, 0x4df11ea, 0xf3c8fcd0, 0xce40710, 0x5230018, 0x1d2adf0c, 0xfd0cff10, 0x828142d, 0xfc270905, 0xfbfde706, 0xdc041513, 0x4fcfcc8, 0xde60bfe, 0xf8fcfcf4, 0x4e8dfcf, 0x1206ff10, 0xf4f809fa, 0x3fd0000, 0x404f8fc, 0x404f0f8, 0xf700ff, 0x801050c, 0x112f7fa, 0xbf9fff8, 0xe04f7f9, 0xf4f8f8f4, 0xfdf502fb, 0x600f6f3, 0x3fbfefc, 0x30404, 0xb06fe02, 0x2ff0806, 0xeefa020a, 0xfd050306, 0x1ff0404, 0x5fd01, 0x300fb02, 0x100fdf5, 0x303f7f8, 0x504fafb, 0x1fb07ff, 0x90300fe, 0xfd000004, 0x4ff03, 0xf6010203, 0x10000fc, 0xfcfb01f6, 0xf6f30900, 0x9010402, 0x203fa00, 0xfe0606, 0xf9ff0105, 0xfe020201, 0x50300, 0x3ff, 0xfef504f5, 0xfef0fdfc, 0x100fffd, 0xf800050a, 0xfefb06fd, 0xff0300fd, 0x1fe0606, 0xfcfffe01, 0xfcfd0207, 0x205fc01, 0x20309, 0xf8fbffff, 0x1010401, 0xf8fb05f6, 0xa02fdfd, 0x1fefefe, 0xf8f806fc, 0x2fb0402, 0xfefe0202, 0x2fdfd, 0x407fd01, 0x2f702f5, 0x600fafd, 0xfafbfd, 0xfbfe01fc, 0xfc0400, 0x601fefc, 0xfdf90e07, 0x6060304, 0xf905f2fe, 0x1fc0b0e, 0xf904030b, 0xfdf409fa, 0xb03fafd, 0x7050200, 0xfdfcfcfc, 0xf8fcf803, 0xfcf9fe, 0xf7fb00f0, 0x7fb0601, 0xffe8ffe7, 0xdf81317, 0xd14eb13, 0xf1f4fcd8, 0xe8cc07db, 0x1afa03ef, 0xe3d00d0b, 0x3152cb14, 0xdcf501e5, 0xf030307, 0xf8d721ff, 0xf4cb3317, 0xdde42411, 0xdce84008, 0xff0bda0d, 0xdeda05e8, 0xf003001b, 0xdbab36dd, 0x3a2cd917, 0xe1e6ff19, 0x1060f08, 0x2b0a152c, 0xd011e4ef, 0xb0a0205, 0x20f2fc01, 0xf10c, 0x9110202, 0x514f008, 0xf3ef15fd, 0x2c24d5f9, 0x7e3f3f7, 0xfcf60a01, 0x70000ec, 0x1404ebe6, 0xfde8090a, 0x2654de1d, 0xfb14fc14, 0xecf300e8, 0x7f7f9f4, 0xdfd0725, 0xf407ecf4, 0x40401fc, 0xf08f800, 0xe9e500ed, 0xfbe41c10, 0xf808fc04, 0x1713010f, 0xf806f504, 0xfff800f9, 0xfce7ffef, 0x904010d, 0xfb0b050e, 0xfa02f501, 0x7050007, 0xfd040000, 0xf508ff, 0x401fdf6, 0xfa020606, 0xb140011, 0xfd0dfb04, 0xf8fcfffe, 0x2fdfe00, 0xfefd0505, 0xfafc0106, 0xf7f80402, 0x3040401, 0x1f900f9, 0x1fd0704, 0x80cf906, 0xf7070005, 0xfd01feff, 0xf9fcfffa, 0x90d0105, 0x7030302, 0xfe04, 0x90dfb02, 0xfb04ff02, 0xfd010403, 0x609ff05, 0xf8fdf6f0, 0x9fb07fe, 0xfdfdfdfd, 0x602fafd, 0xfb0000fb, 0x50203ff, 0xfffffefd, 0x602fefa, 0x301ff02, 0xfc020202, 0xfefe0103, 0xff02faf9, 0xfbfc0401, 0xfcfc04fc, 0x400ff, 0x9feff00, 0x100ff01, 0xf80100fb, 0x5fefef8, 0xfdf700f5, 0x9feff00, 0xfcf801fc, 0x2fc02fc, 0xf60501, 0xfbfcfafb, 0x2020203, 0xfd0000fc, 0xfdf307fc, 0x8070c05, 0x5040304, 0xbf40d, 0xfd090b09, 0x414f102, 0xf6fb05f7, 0x11fdfcff, 0x2fa05fd, 0xfefef9fb, 0xf1f40400, 0x404f3fe, 0xf8fff9f8, 0x14050c0b, 0x8140015, 0xeff712f6, 0xe9efed, 0xfcf8130f, 0x52ced12, 0x130bfb03, 0xe909e0dc, 0xffaa2d0c, 0xf020f817, 0x2830e815, 0xe40105e5, 0x271807ec, 0xf908f8dc, 0x1c1c08e4, 0x10f50c27, 0xe0290125, 0xcf04f7fb, 0xe6060bdb, 0x17b8f6d5, 0x160a1823, 0xfd1ff101, 0xe7bd18c0, 0x18080529, 0xf210fd0b, 0x2f1a0422, 0x203, 0xfafef6, 0xfbec0400, 0x5120401, 0xadfeef8, 0xfbec0902, 0xf2f8f9e7, 0xffdf0dec, 0x10e801fe, 0x1314ff0a, 0xfde10104, 0xeff80804, 0xfc14f004, 0x14111028, 0xec07f8f8, 0xf4f80b17, 0xf1040407, 0xf80000, 0x71ef917, 0xf00c00f0, 0xc040008, 0xfdee06f3, 0x1fc0007, 0x70ff908, 0xf400fcfd, 0x4f8fcf3, 0x7fffef8, 0x604fa09, 0xfe000101, 0xf9fdfaf7, 0x2f907f8, 0xfcf0fcef, 0x8fd0b02, 0x6fd0300, 0xff02fd04, 0xf400fcfd, 0xfcf704fd, 0xff00fa, 0xfbfa, 0xfafd06ff, 0x60200fe, 0xfffc0501, 0x7070808, 0x404fc07, 0xf707fa01, 0x60afd09, 0xf303060a, 0x405ff03, 0xfc04fd, 0x4010508, 0x201fe04, 0xfa03fe02, 0x207fe01, 0xfb02fe, 0xfc02fa06, 0xf8f50bf9, 0x703fe04, 0x200fe04, 0x20bfc07, 0xfdfffffb, 0x1fd0100, 0x2fc0402, 0xfffe0605, 0xf902ffff, 0xfdfefefb, 0xfaf603ff, 0x4080004, 0x109ff04, 0xfc00ffff, 0x4fa0500, 0x302f9fc, 0xfc000000, 0xfffa01fd, 0x4040004, 0xfbfcf8, 0xfc00fb, 0xf908ff, 0x403fdfb, 0xfefef5f9, 0x9000200, 0xfd00fcfc, 0xff0800, 0xc040c04, 0xfffef5f0, 0x5f5090a, 0x20ffbff, 0x1fcecf7, 0xff000500, 0x8f700fb, 0x1fa03f8, 0x5fff7fd, 0xf1fd06ff, 0x4fffa06, 0xfb090111, 0x30008fc, 0x8fcfdf9, 0x812e3e3, 0x7ea1914, 0x8200916, 0xf607f20c, 0xf3ecf0e1, 0xa021234, 0xfd32f6fb, 0x5100b23, 0xd2cdebd0, 0x18041918, 0xefe0e4bd, 0x1ce03d25, 0xf801efe8, 0x17effde0, 0xf0fb6c4, 0xf1e6fbea, 0x2226fa15, 0xdfdd2910, 0x130dddd2, 0xce102f2, 0xf904e1cd, 0xfc423e2, 0xeede12f3, 0x22e607e9, 0xa04, 0xfafefefe, 0xfafd0700, 0xc07ff02, 0x1a12e70b, 0xff0feaf0, 0x16140520, 0x21e5f9, 0x3b24e90c, 0xeae306ea, 0xfce9ffe7, 0xf8f01b03, 0x60dfa17, 0xecef01e0, 0x15090617, 0xfd20fc11, 0xe8080004, 0xf9fd0603, 0x602060f, 0xf514fc10, 0xff03f5f8, 0xc07fdfe, 0xf0cfc08, 0xfdfef7fc, 0x8fc08, 0x40109, 0xfe00fdff, 0xfcf50500, 0xfe00fffe, 0xfd02020a, 0xfb030400, 0xfc00fd01, 0x3fc07f8, 0x1103f8f8, 0xf8f101f5, 0xfbfcfcfc, 0xffff0500, 0xf9f90700, 0x106, 0xff0b0005, 0xfcfb00fb, 0x3ff05ff, 0x7ff05fc, 0x4fc0000, 0xf5fef6fa, 0xfdf1f9ed, 0x6000600, 0x6020104, 0x307fe01, 0xfd0901, 0xfffe0000, 0xfc02060a, 0x109000b, 0xf3fefdf9, 0x805f904, 0xfb070b07, 0xfefe0202, 0xf9f904ff, 0xfdfa0705, 0xf5fd0200, 0x1000100, 0x30101fe, 0xe0df5fc, 0xff02f9fc, 0x403ff04, 0xfc06fafd, 0x6ff00ff, 0xfcfa0500, 0x105fe04, 0xfdfdfdf5, 0xafc0104, 0xfd05ff04, 0x106fc01, 0xfffc0b07, 0xfa010106, 0xfe040004, 0xfc0007ff, 0x1fcfdfc, 0xfbf9fc00, 0x8fffdfa, 0xfbf801fd, 0x3000b03, 0xa0106fb, 0xfefafe03, 0xfefc02f5, 0x5f8fdfa, 0xf7f0f9fd, 0xfffd0800, 0x4fc0400, 0xff0a06, 0xfbfcf2f7, 0xfa000701, 0xfd0407, 0xfb070208, 0x3080000, 0xfbf3fdf3, 0x7f2f504, 0xfdfa17f8, 0xdfdfbef, 0xf4edfcf7, 0xecf0fcfc, 0xbfdfae5, 0xef6f2f2, 0x1b080c09, 0xec23e31b, 0xeaed0ade, 0x8f7f80b, 0x2f10ec2, 0x18e2fef1, 0xffd9e8c4, 0xeba01a04, 0x3160823, 0xe8e9fceb, 0xf0fc10e3, 0x1beb0d1b, 0xfc0be8f1, 0x7fffd1b, 0xf80407e8, 0xf5ef04e1, 0xfdbcf7ac, 0x2fa, 0xffff0405, 0x30ef900, 0xbff0000, 0xf8def4eb, 0x9f50813, 0x805ebeb, 0xfbe61617, 0x2400ef06, 0xdaf6fbeb, 0xfceb10fc, 0x404ed, 0x9f0fff5, 0xf5fefaf7, 0x11f30cf9, 0xfce9e9, 0xfbfcefeb, 0xe00fcf6, 0x6f605f5, 0x101fc01, 0xfbfd070f, 0xf8fb0200, 0x2f305fc, 0x504fb08, 0xfc04040c, 0x30ff503, 0xf4f9fffb, 0xfdfc04fb, 0xfcf900fa, 0x4010302, 0x50cf7ff, 0x104ff06, 0x80b0b0f, 0xfdfbf9fc, 0x105fafe, 0xfafd0304, 0x1060405, 0xfb07fdfd, 0xfefb00fa, 0x500fcfc, 0xfdfd02ff, 0xfefa0aff, 0x2fa02f7, 0x4f7f8ef, 0xfaf4faf8, 0x2fd070b, 0x50403, 0x502ff00, 0x1fe0606, 0x50b0002, 0x70af903, 0xfc0300fd, 0x400f9f9, 0xfc02fc01, 0x700fc03, 0xfc040700, 0xfe00fffd, 0xfd010300, 0x303ff, 0xf802fdfd, 0xd09fe06, 0xfd000302, 0x6fa0207, 0xf5fdfd01, 0x603fafe, 0xfcfeff03, 0xfdfdfa, 0x30101fd, 0x3fffcfd, 0x407, 0x1fefffc, 0x3020104, 0x306fd07, 0xfc0404fd, 0x4070006, 0xfd050207, 0xfd08f5f6, 0x6fbfcfa, 0x403fd04, 0xfcf80702, 0xfd040104, 0xff0008fd, 0x1104fefc, 0x1fffdfe, 0x202fefe, 0xfff8f8f3, 0xfc0104, 0xff0400fc, 0x4fc0800, 0xffff0d02, 0xf900effd, 0xfcff05fd, 0xfefb01f8, 0x805ff02, 0xfcfb0601, 0xff050008, 0xeff0faf5, 0x7ff0ff7, 0x4eef9ec, 0x3fbfdfc, 0xfd0d1627, 0x9250732, 0xf418f61c, 0xe2e309e0, 0xf5e9f6fc, 0x91be4f5, 0x2411ec05, 0xe7ea15f1, 0x14ed04f3, 0xf0e4f8f4, 0x2831f50c, 0xb14fc08, 0x424d1f9, 0xf2fb09f4, 0x11ea1bf8, 0xfffb091c, 0x1429e511, 0xe6fffdf5, 0xfcf8, 0x140f142c, 0xb02, 0xfe010704, 0xfdfefaff, 0x6fa03fd, 0xf2f7fd00, 0x2f9fff0, 0x240ce304, 0xa130906, 0x16f81821, 0xbf06000b, 0x110f8f8, 0x7ffe2dd, 0xf2c60cd3, 0x2604fe08, 0x6fde7d8, 0xf0c8e8c7, 0xdd9220c, 0x907fb06, 0xfefefff8, 0xf7fcf7, 0x400f5ee, 0x3f901f8, 0xfbf103ef, 0xdf70400, 0xfc00fdf9, 0x6fcfc03, 0x110f405, 0xf5fd06ff, 0x1040004, 0xfcfc0902, 0xfbf80506, 0x80d0311, 0xfb0402fb, 0x402fe07, 0xf6fc0204, 0xfe08ff04, 0xfcff03fe, 0xfcfffcfe, 0xffff0504, 0xfaf90300, 0x4070409, 0xfc0701fe, 0xfffb00f9, 0xf9ee00f6, 0xf0bfd0e, 0x30ffc04, 0xfc0000fc, 0xfff605fc, 0x8030805, 0x404fd01, 0x2fcfe01, 0xfe030205, 0xfefffd03, 0xfb02fd03, 0xfffbf2f1, 0x6fb09fd, 0x302fe01, 0x2060003, 0xf9fc04fd, 0xfd020409, 0x602fafe, 0xff0000fd, 0x3fafdf5, 0xfcff, 0x5fef7fb, 0xfffe0100, 0xffff0103, 0x5050307, 0x307f803, 0xfafd06ff, 0xfdfb0400, 0x1fe0805, 0x305fc04, 0xfc040000, 0x1fd02ff, 0x103ff00, 0x104f403, 0xfdfeff, 0x6010408, 0xf9050301, 0xfd010303, 0x70b080b, 0xfafefa, 0x700ff02, 0xfefefefe, 0xfdfc0105, 0x60bf903, 0xfbfffcfb, 0x2f90bfc, 0x1fe0afb, 0x103ec00, 0x307fdff, 0x102fbfc, 0x4f80801, 0x50403, 0x4fc00, 0xfb0c0113, 0xf905fff5, 0x7f8fdfc, 0xfef70a04, 0x700f1, 0x4ec04e9, 0x1f60e0e, 0xe612fb04, 0x11200731, 0xf018dd11, 0x6f32128, 0xed2efc15, 0xc0d060f, 0xa29de0f, 0xfee5fbeb, 0x3e31d04, 0x2727dd33, 0xf435dc08, 0xf7ee16e9, 0xef80af9, 0x3e8080b, 0xf34f62d, 0xeb18f915, 0xfbfc17ff, 0xd01, 0x4070303, 0xf9ff0106, 0xf7f7fdf1, 0xfaf90501, 0xfffe1110, 0xec141d, 0xf003e5df, 0xfd818d8, 0x922f416, 0xe0f5120f, 0xeef6f60a, 0xee06130d, 0xfce319fe, 0xfff7f808, 0xfc14f31f, 0x11307f8, 0x6f5fef8, 0x5fff9f9, 0x6ff0003, 0xfdfcfc03, 0x303eef0, 0xfaeffde9, 0xde90bf0, 0x4f804ff, 0xf901fe, 0x704f505, 0xf0000600, 0x201feff, 0x5080403, 0x40c040b, 0x70afd04, 0xfd060206, 0xfdff0001, 0xf803fdfe, 0x3030004, 0xf4fc00f9, 0xfdfcfd, 0x7050101, 0xf7fe0601, 0x603fdfc, 0xffff0402, 0xf6f902fb, 0xf9fb0f0a, 0xfcf7fdf7, 0x4f8fcf8, 0x4000505, 0x3090307, 0xc0b0205, 0x203fa00, 0x2000103, 0xff04f9fb, 0xfdfa0300, 0xf4f900fc, 0xf7f40406, 0x10100f8, 0xfdf2fff3, 0xf103f4, 0x2fd02fb, 0x20003ff, 0xf9f3f2, 0x1f409fd, 0xa04fb02, 0x103fd04, 0xfcfb0408, 0xfc050408, 0x9040c, 0x70408, 0xfc01f902, 0xff070405, 0x8fd01, 0x30300fb, 0xfbf305fc, 0x7070108, 0x1080208, 0xfe05f8fe, 0xfdfe07, 0xf8ff0506, 0x4040101, 0xff070004, 0x40b020a, 0x6090102, 0x406fe06, 0x2010002, 0x206fd05, 0xfc040104, 0x604f1fc, 0xf9fa0301, 0x504fef7, 0x8fe0afe, 0xfffcf101, 0x2000104, 0x104fb04, 0xffff02f9, 0x6ff01fc, 0x501fb00, 0x5fd01, 0x20af500, 0x2fb01ff, 0x10207ff, 0x201f2f3, 0xcfbf2e9, 0xbf3f8dd, 0xefe605f0, 0x10eff5dd, 0x7f4172e, 0xe20af7e0, 0x1b0e3143, 0xd30ae2e6, 0x13ef1728, 0xe20cfb0c, 0x1019fcf8, 0xecbd08e8, 0x1408d3ff, 0xf4fc02e8, 0x17f11f06, 0x2e31f821, 0xcfe1efda, 0x1605121e, 0x1033f20e, 0xd01, 0x3000401, 0xf800fcfb, 0xfbfffdff, 0x4090509, 0x20cfef9, 0x80107f4, 0xeff3dcea, 0xfdd824e4, 0x7e204f2, 0xe4f60df1, 0xe0e311fe, 0xefff03ef, 0x16092717, 0xec04e3ef, 0xafd040e, 0x411e3ed, 0x17fe0202, 0x603010b, 0xf8fdfdfa, 0xfaf70500, 0x805f40b, 0xf90afe0b, 0x4020900, 0xf0bf5fc, 0x1fdfffb, 0x4f8ff02, 0x113ecf9, 0x4fb0401, 0xfc04fc, 0xf804f8, 0xbfc0100, 0xfd00fefc, 0x908f1f9, 0xff00fbfe, 0x5000000, 0xf703f6f9, 0xa030209, 0xfbfd00fc, 0xfb000d07, 0x405f0f8, 0x1fafff5, 0xb0afe06, 0xfc0903fd, 0x10004, 0x303fe05, 0xfeff0903, 0x1010e0c, 0xd0dfc07, 0xfd02fb03, 0xf5f600f5, 0x3f90000, 0x407ff03, 0xf403f8fb, 0x1050506, 0x308fb03, 0xf9fff9f9, 0x6ff0602, 0xfbf9, 0xf700f4, 0x3f7f6fa, 0xf080302, 0xf802ff, 0x2000104, 0xf8000703, 0xfd040101, 0x304f9f9, 0x9020200, 0xfbfffd03, 0x105ff00, 0xfcff, 0xfc03ff, 0x4080508, 0x102fbfc, 0x5000200, 0x2fa04, 0xfbff0001, 0x90004, 0x101fefe, 0x5040206, 0x709070e, 0x40c0712, 0xfd0bfb08, 0x208fe06, 0x40108, 0xc040f, 0xf801f000, 0xf90002ff, 0x600ff01, 0x8010d04, 0xeff4ff02, 0x202ff00, 0xfcfb0303, 0x1050407, 0x405ff03, 0xfaf8fefb, 0x2fdffff, 0xfbf8fd00, 0xfcfa0700, 0x100f9f2, 0x6f6fe02, 0x7fd131e, 0xfa0d0217, 0xf51dddf5, 0xf6db00e6, 0x36150b09, 0xf81ff820, 0x501d5, 0x305173a, 0xfe25e8f6, 0x1152640, 0xf424d901, 0xf80de2e7, 0xf1c41102, 0x101e132f, 0x273ff212, 0xfade12f8, 0x7301859, 0xd013fdfe, 0xefc101a, 0x7fb, 0xf803f7, 0xfcfbfaf9, 0x705ff07, 0xfcff0a04, 0xfafcfaf8, 0xfeee09f0, 0xf5f6eb05, 0x182000fc, 0x3d32e00e, 0xf390430, 0xc3130608, 0xb24f819, 0x306fddc, 0xebdb0a02, 0x1b13fc0b, 0xfc03f010, 0xf8f11100, 0xa040104, 0x30ffa0c, 0xee00fdf8, 0xdfdff08, 0xf807030c, 0x20af7f8, 0xe9fff3, 0x5f703fb, 0x6fd0a08, 0x108f00c, 0xfc040404, 0x105ff00, 0x4040404, 0xfdf6fef3, 0x2f80b05, 0xfceffa, 0x500fc01, 0xfcf8fcf4, 0xfffcfe04, 0xb05fbfe, 0xfe010304, 0xfc05fdf5, 0x6f7fd04, 0xf5f80700, 0x5fa02fe, 0xfdfffdf9, 0x7000505, 0x3050007, 0x90303, 0xfe001406, 0x3fcfcfc, 0x302fc03, 0xf2000202, 0xfefd0300, 0x3fffefe, 0xff09fc0d, 0xf905fbfb, 0x4fcfcfd, 0xfc00ff06, 0xe0e060e, 0xf907ff0b, 0xf1fc0d09, 0xfe04f503, 0x1004fdfe, 0x30100ff, 0xfdfa04fd, 0xfb0001fa, 0x3000302, 0xfefdfbff, 0x9ff0300, 0xfc010004, 0x407f7ff, 0xfcfbfdfc, 0xfc0801, 0x4010501, 0xfffff8fc, 0x3fa05fd, 0x1fefbff, 0xff03fd00, 0x303080b, 0x10bfc09, 0x1050609, 0x5070808, 0x408f8f9, 0x4000409, 0xfd04fb01, 0x405f8fc, 0xfcf801f5, 0x300f707, 0xfc0afa02, 0xb070c14, 0x30ff5f7, 0xf4fc00fd, 0xb06f900, 0xf8fc01fa, 0x3fc04fc, 0x9010002, 0xfa02fe02, 0xfefefefd, 0xfbfd0505, 0xfb0400fd, 0x4000108, 0x305ff06, 0x40301f1, 0xf8ef10fd, 0xf17f630, 0xfe380d45, 0xfb0afefd, 0x70c0519, 0xe6ff0d0b, 0x40cdbd0, 0xeabc1bef, 0x1c0ae9cd, 0xf3cc1f12, 0x243ed22e, 0xff3c406b, 0xf752e120, 0xf08061c, 0x628e4fa, 0x9fc1c00, 0x434f027, 0xe902d6c8, 0x4fc, 0xfcfcf5, 0xfcf50803, 0xf9f503f9, 0xf8f500eb, 0xcfd0104, 0xff051410, 0xff1afd2c, 0x115f308, 0xecb72d04, 0x6fbcdc4, 0x1c1d172e, 0xccefe5dc, 0xfdd60be4, 0x9020f07, 0x8f40f07, 0xf1fcfb07, 0xfd0c00fb, 0xcfd0501, 0xfffdf7fa, 0x20e0314, 0xfd04f7fc, 0xfc000401, 0xfdfcff04, 0x408fc05, 0x8080005, 0xfdfc07f9, 0xc04f90d, 0xf708fbff, 0x1ff0404, 0xfffffdf8, 0x3fefdfd, 0x50006fb, 0xf9f40005, 0xf8f8fdf9, 0xfefb0403, 0xfbff0506, 0x500fc01, 0x30000, 0xf9fdfbfb, 0x5fafcf9, 0x2060201, 0xfffbfbf4, 0x6fdfefe, 0x5fc0b02, 0xfefd0704, 0xfc000805, 0x30a08fe, 0x1fc0101, 0xb09f0fd, 0xf50001ff, 0xff000603, 0x202fbff, 0xff03, 0x10bf909, 0xfb00f9fd, 0x4050208, 0x5ff04fd, 0xfc00fdfe, 0xfa0705ff, 0xff00f500, 0x1404030a, 0xfa010304, 0xff06fdff, 0x3070006, 0xfafd02fc, 0x503fc04, 0x803fcfc, 0xf9f902fb, 0x6fdfa00, 0xfd01080c, 0xfd090708, 0xff0300fe, 0x504f400, 0x30002fd, 0xfefafdfc, 0x1fe0304, 0x90a0406, 0x207f904, 0xff0201fd, 0xfff706f5, 0x4f5fbf8, 0x9fd0700, 0xfbfe0104, 0xfcfc0105, 0xfa030103, 0xf8f8fcfd, 0x1030a, 0x90803ff, 0xf5f1f9f5, 0xff000101, 0x3f9f8f8, 0x8080007, 0x4ffff, 0xf6fef4, 0x3fdfbfa, 0x501f9fc, 0xff0000fb, 0x707, 0xfd0000ff, 0xfdf902fc, 0x2fa06ff, 0xf7fef1df, 0x2d217f3, 0xf50ef6, 0xfaf5f8ef, 0x4ecf8df, 0xebe411e8, 0x4e82431, 0xfc43d7ff, 0xeed1f7df, 0xecd8ffb8, 0x3ed2f6f6, 0xe0508cd, 0x1ff50c20, 0xfd0edfe7, 0x7e8060a, 0xc0de3d4, 0xfbcb0ee9, 0xeeeefd15, 0xf8, 0xfcf401f9, 0xfd06fb, 0x90bf901, 0xfc05f7fc, 0x4f41306, 0xfc03fae9, 0x10fad4d1, 0xfdf1400, 0x1428f7f2, 0xfae6e0f9, 0x20fdfbe1, 0xe5faff14, 0x31afe0d, 0x1216161d, 0x71cd8e5, 0x4f8fcf9, 0x9050b10, 0x40302, 0x104f502, 0xfefe00fb, 0xfdfb0004, 0xff07fe01, 0x60af803, 0xfdfc0000, 0x1f902fb, 0x5030b07, 0x500ff06, 0xf100f9fe, 0xa07fd00, 0x1020005, 0x20207, 0xfafcfff5, 0xfffbf9f4, 0xfdf902fe, 0x505fdfe, 0xff0200fd, 0x7ff0104, 0xfc00fcfc, 0xfcff0307, 0xfcfefe00, 0x6040406, 0x40bfb0b, 0xfd020408, 0x50801fe, 0x1010600, 0x80cf9fd, 0xfa0afc, 0x5000100, 0x7fcf0fc, 0xff060106, 0xff060101, 0xff0004, 0x4f9fe, 0xfbf80b0a, 0xfa09f707, 0x3fcfd, 0x5fdfff8, 0xfffbfefc, 0xfafc01f8, 0xfdf60203, 0x1100fcf9, 0x3020100, 0x405fb03, 0x505fd02, 0xf7ff0300, 0x1fc0707, 0xff0104, 0xf8030304, 0xfaf8fffd, 0xc0c0408, 0xbff03, 0x105f9fe, 0x6ff010c, 0xfc05fcff, 0xfcfd0101, 0x5050204, 0x7020a08, 0x6f2ff, 0x101fcfc, 0xfdfa04f8, 0x6fa0201, 0x3fb03f7, 0x501fdfd, 0xff000403, 0x9f901, 0xf700ff03, 0xfafd0600, 0xd040102, 0xfa07f806, 0xfa01ffff, 0xfffb0205, 0x2fffefd, 0x2fff9f9, 0xc05f7fe, 0xfbffff, 0x1fbfe00, 0xfbfc0703, 0x104fcf9, 0x1fdfefb, 0xfefc03fd, 0x500fcf6, 0x6050014, 0xfa0c02f7, 0xeee5eec5, 0x15e008f0, 0xfce805f5, 0x222ceb06, 0xfe0010ec, 0xbfb1135, 0xcc130420, 0xe91df210, 0x10e206f2, 0xfade15eb, 0x8d413db, 0xfddbf0ec, 0xcf111fc, 0x2f2f100, 0xf1f6fee6, 0x2fa0805, 0xff00, 0xff030204, 0xfbff01fa, 0xbfc0003, 0xf8ff030b, 0xf5fc14fd, 0xe4e5f8e3, 0x27fa1036, 0x27ecff, 0xf5e0f4dd, 0x280bfc27, 0xfb02dde4, 0x4030307, 0x1050d14, 0xa0cece2, 0xf9d40c08, 0x1519f20f, 0xfe04fbf4, 0x5f906fc, 0x601ff0b, 0xdedfa, 0xf8f507fc, 0xfcf900fb, 0xf500fd, 0x101, 0x303090a, 0xfc010a00, 0x1fc0401, 0xecfc0104, 0x3fd0404, 0xf8fb03fe, 0xfaf8fbf1, 0x3fa00fb, 0xfffb0103, 0xfc020101, 0x400ff02, 0x104fc00, 0xfdf600f5, 0x2fbfaf9, 0x4010301, 0x5040b, 0x4090409, 0x106fe09, 0x10d0009, 0xfc0000ff, 0xfe0c04, 0x400fb02, 0xfdff04f9, 0x5f907ff, 0x800f808, 0xf700faf9, 0x3fd00fc, 0x1fdfffc, 0x3fffd03, 0xfc0404fd, 0x70a0114, 0xff13fd14, 0xf100feff, 0x505040b, 0xfc0df804, 0xfc030c0d, 0xfdf9fbf8, 0x5fa0b04, 0xf9f9fcfa, 0x7fc00ff, 0x8ff04, 0xfe010701, 0x1fcfc, 0x408f8fd, 0x30c10, 0x4f8f8, 0xf5ed04f2, 0x7f80403, 0x5020304, 0x109f805, 0xfb04ff02, 0x1fe02fe, 0x6fd08fb, 0x702f505, 0xf8fc0101, 0xfe020503, 0xb08fa00, 0xf6f309f9, 0x5f9f6f2, 0x1f408f8, 0xfcf4fcf7, 0xfcfc0704, 0xfb050100, 0x1f41104, 0xf701f1fa, 0x202fd00, 0xf8f90900, 0x301ff02, 0x101f901, 0x2f7fdfd, 0x401ff01, 0xfafa01fd, 0x20401fe, 0x704f7ff, 0x200ff01, 0xff020403, 0xfefc0202, 0xfdf9fdf6, 0xfbf7f5ea, 0xf7f30f14, 0x504fdf9, 0xebe810f3, 0x4d507f1, 0xe0d305c8, 0xefac15b0, 0x381c071f, 0xf228e81e, 0xf7050302, 0xa121b18, 0xe7f702e6, 0xf3dc2410, 0xd11fafa, 0x1109f40c, 0xd4ef0f00, 0x211f132a, 0xfafb, 0x1fd03fe, 0xfcff00fe, 0x5f80800, 0x81b20, 0xee190308, 0xf418eb0b, 0xefd335f8, 0x6fef80a, 0xd2e709fc, 0x1cf01408, 0xf502fe23, 0x221fb19, 0x31b010f, 0xf3f80d19, 0x121fb10, 0xe7e20efe, 0x707fc08, 0xff02f6f2, 0xaf6fef5, 0x7fcfb0a, 0xfd0ffb03, 0xf8fffefd, 0xfdfcf9, 0x6ff0806, 0xfe01fbf3, 0xf06f9f5, 0x8fc05fd, 0xef00fbfa, 0x5fc05fd, 0xff04f9fa, 0x303fc04, 0xfcfdfdfa, 0x3fe0805, 0xfc05fc00, 0xfc00fd, 0x400fbff, 0xfdff0100, 0x2000107, 0x3060508, 0x8fc00, 0x7030100, 0x403fd02, 0xfafb0601, 0x308f901, 0xff0008fc, 0x4fcfdfe, 0x2030100, 0x8030c08, 0x303f904, 0xfc09f807, 0x40408, 0x70efa09, 0xfe04fe05, 0xff08fc00, 0xfdf6fff4, 0x4f900fc, 0xfd08ff09, 0x1050607, 0x20dee03, 0x2090300, 0xfbfefafd, 0x6fe0afd, 0x206f1fb, 0xfff3fef1, 0x3f403f8, 0xa040300, 0xfcfc0404, 0xfdfdfe03, 0x1040800, 0xf800, 0xf7020200, 0xfff808fc, 0xb020605, 0xfbfffb02, 0x108fd06, 0xff04ff01, 0x4ff01f8, 0x8f90509, 0xff10fd0c, 0x210020d, 0xf3f5f5f0, 0x2fc06f9, 0xfef2faf6, 0xb0000f8, 0x400ff03, 0x50cfc01, 0xfc02fcfd, 0x40009f8, 0xfafbf2fc, 0xb05f5fd, 0xfb0004fb, 0xb03fafe, 0xf8f50703, 0xf9fa0e0b, 0xff06fa01, 0xfc03fcfe, 0x4000302, 0x904fd0a, 0xf6fefefd, 0x3010805, 0xfc030102, 0xfc01070b, 0xfb0bed03, 0x212d0826, 0xe304eff6, 0xf500fbeb, 0xfde41cf9, 0xe902f7f4, 0x2025fd0d, 0xffd430fd, 0xf803e702, 0xe6f104f2, 0x2ea16e5, 0x12100210, 0xf613f2e1, 0xbdf290e, 0x300f400, 0x32fe202, 0xfbdc0cd5, 0x304, 0xfafdfff9, 0x1fe0402, 0x704f5f1, 0x130408f1, 0x306eef1, 0x1714db04, 0xf60b07dd, 0x8df250c, 0xf32def13, 0x1e151213, 0xfc1af511, 0xf0fffc00, 0xf9f6fff4, 0x102fcf1, 0x2f2f4eb, 0xa0e0303, 0x3ff0003, 0x60afb0f, 0xf7fc00fe, 0x900f8fd, 0x505ff09, 0xf809fd08, 0xfb03fc03, 0x300fff7, 0xf90200, 0xfdee07fc, 0x5f902f6, 0xf5fc0001, 0xfffb02f8, 0x2fbfdff, 0x3fff9fc, 0xf8f803fe, 0x80303fe, 0x103f7fe, 0x604fd01, 0x603fd05, 0x8fb02, 0x5050004, 0xfdfe03fc, 0xfc0404, 0x805ff03, 0xfdfcf9f8, 0xfaf805f7, 0xd01020a, 0xf904fffb, 0x4fb0907, 0x409fb03, 0x2fd04f5, 0x3f501fd, 0xff00f7ff, 0xfdfc0c04, 0x906ff0b, 0xfb08fc06, 0xf6fdff00, 0x3ff03, 0x8070108, 0xbf804, 0xff020501, 0x302ee02, 0xffff00fc, 0xf5f603ff, 0xfff809f7, 0x9fef300, 0xfcfd0403, 0xfdfd0600, 0x1f701f5, 0xfff804f8, 0xfb00fd, 0x80400fc, 0x804fc08, 0xf4050407, 0x30b0104, 0x4fd0f06, 0xfa05fb05, 0xfc00ff02, 0x30206, 0x709f800, 0x80004ff, 0xffff0507, 0x5ff02, 0xf201fb07, 0xff04fefc, 0xfcfa0909, 0x2000303, 0x504060b, 0x50bfd0c, 0xfc0cf505, 0x40503ff, 0xf4f9fd04, 0x6fffd07, 0xf8040000, 0x8fd0003, 0xf80300fc, 0x307fc, 0x1fefd01, 0xfe03f6fd, 0x8010200, 0x5fc0403, 0xf805ff06, 0xfe01fef7, 0x1fcfffa, 0xfefef5, 0xfaf4151c, 0x70200fa, 0xf50c0320, 0xea15f00a, 0x714f3eb, 0x6080415, 0x170cddec, 0x12fffac9, 0x14e51311, 0xf8233655, 0xef42d703, 0x8f91007, 0x2132fa3a, 0xf928ebea, 0xfee51708, 0xf1f60317, 0xff1be5f4, 0x300, 0xfe040409, 0xff070306, 0x1000712, 0x10001f9, 0xf7ed100f, 0x1008fb28, 0xf224f20f, 0xfd0408e7, 0x1c10f819, 0x9041002, 0xfb01effb, 0xecf7f6f1, 0x120af803, 0xedef1407, 0xf7fc020a, 0xb0bf5fd, 0x3fd0502, 0xfffb0303, 0xf2fefffd, 0x1004f804, 0x1000203, 0xfd08030e, 0xfd10f90d, 0xf701f9fb, 0x3fe0703, 0x107fcfc, 0xfff6fef2, 0xfdfffc, 0x1fe0602, 0xf9f9fdf9, 0xf6fffc, 0xfc000300, 0x6fefffa, 0xfff8f9fa, 0x7fb0604, 0x301fc00, 0xf9f9fffd, 0x5fd02ff, 0xa0cff08, 0xfc040505, 0x300f8f9, 0xfcf800ff, 0xfd020603, 0x1f700f5, 0x5010305, 0xfdfe0aff, 0x904050e, 0xf6020402, 0xfdfc01fc, 0x704f502, 0x2070904, 0x1fcfffc, 0xfcfdf9fa, 0xfbff0000, 0x405, 0x1fe0a07, 0xf6fdfe03, 0xfd01fdf9, 0x3f9f702, 0xfafd0300, 0xf4ff0501, 0xfcfe02f7, 0x11ffff0b, 0xf807fcff, 0x507fdfe, 0x704fbfe, 0xfdfc00f8, 0xfcf409fd, 0xaff0100, 0xfcf407ff, 0xfd08080c, 0x50efa07, 0xfd0005f6, 0xa06fc07, 0xfa05ff05, 0xfd020202, 0x1fcfd01, 0x1009fe03, 0xf6fafbf0, 0x3f302f6, 0xfafef9fc, 0x1fefefe, 0x20403fe, 0x40001fe, 0x8010702, 0x1fefbfc, 0xf5f50606, 0xfe00f9f6, 0xf7f90602, 0x2feff00, 0x8fc04, 0x7030003, 0xfd08ff07, 0xf90001fa, 0xfff800fb, 0x1fe020a, 0x103fdfe, 0xf9fef3, 0xfef90600, 0x2fd01, 0x809, 0xfd06f7ff, 0xfb000af5, 0xe7d515ea, 0x3f80b00, 0xd23f023, 0x1cd5fe, 0xe06f2f4, 0x3e01316, 0xe5e9f8e7, 0x14e713e7, 0x15040ddb, 0x2ee152c, 0xdc002818, 0xf4eb0bfc, 0xeceff5f9, 0x50016ff, 0xe9f7f3e7, 0x1a02f20f, 0x1fe, 0x202fdfb, 0x7030101, 0x8080d0e, 0xf603f4f6, 0xfefdf7e4, 0x10e42811, 0x1f113e, 0xce0f0007, 0x5f01109, 0xfbfbffea, 0x1f0f8f9, 0xf502fc08, 0xfbf1f9f2, 0x308f4e8, 0xcfd0803, 0xfff7080a, 0xf900f8f3, 0xfdf100ee, 0xfaf606fd, 0xbf80808, 0xfb020606, 0x40df701, 0x307fc0a, 0xf003f903, 0x404fdfa, 0x7000004, 0x50007, 0xf9000203, 0xfdfffdf6, 0xfcf90905, 0xfe030307, 0xfe090b11, 0x10cfb08, 0xf700f6fd, 0x8fe06fe, 0x4fff9fc, 0xf8fb0703, 0x5030001, 0xb020205, 0x20bfd03, 0xfcfc080c, 0x10fc0c, 0xfd0cfc02, 0x708040c, 0xff060104, 0x108fffd, 0xd010703, 0xdf5fe, 0x203fdff, 0x7ff050f, 0xfd0afbfc, 0xfb01fd, 0x203fd07, 0xf703fe01, 0x7080307, 0xfa00fff5, 0x3020509, 0x10dfa0a, 0xf900f902, 0xfa02fdfc, 0x8fcff, 0x2050205, 0x5f90802, 0x30df809, 0x105fa02, 0xfdf801fe, 0xfbfc0400, 0x5090606, 0x2fe0704, 0x1090406, 0x60f080f, 0xfe08fe0c, 0xf908fd00, 0x7fd0809, 0xf807040c, 0xfc0b0009, 0xfc040007, 0x4fb00fd, 0xf4fbfcfc, 0x8010807, 0xf805f400, 0xfffe0505, 0x407fc00, 0xfcf803fa, 0x1f308f4, 0x4f7f8f4, 0xfcfb07fc, 0xfdfbf8fa, 0x30300, 0xfcfa00fb, 0x1fcfcfc, 0x4f905fe, 0xfbfc0401, 0xf5fd0602, 0x508f800, 0xfffcf9, 0x3fb01ff, 0x302fd01, 0xfcff04fd, 0xfd0000, 0x5050300, 0xfbfe0209, 0xff0dff02, 0x924fb0a, 0xfa0103f9, 0xec1d19, 0xcee7f507, 0x3fc1c26, 0xe6091208, 0x1134fd39, 0xef14f8f9, 0xefd329ef, 0xf4e13400, 0xf33f803, 0x918fc09, 0xf10e122b, 0xea1003fd, 0x115f214, 0xe2dc1b05, 0xfe04, 0x204080f, 0xff070208, 0x30305fb, 0xf3f8f5f9, 0x904020f, 0x908f7d7, 0x9e01dec, 0xe8060309, 0x90df2ee, 0xf1e404e9, 0x4ec05f9, 0x307effa, 0xf5f4fffa, 0xfdf40505, 0x3fc01f5, 0xfef407f3, 0x2fcf7fb, 0xfefcfa, 0xf2f202ee, 0x4e70eed, 0x13050706, 0xf5f7fcfc, 0xfdf6eee8, 0x2faf7f8, 0x3f70903, 0x3fffdfc, 0xfc03ff, 0xfd03fcfd, 0x808fb06, 0xfd070907, 0x20bf6fe, 0x6060500, 0xfffe0205, 0xf0fefa02, 0x8020d09, 0x14191434, 0x9450b49, 0x5490049, 0x240003e, 0xfe3a023f, 0xfe41023b, 0xfe39023f, 0x420046, 0xfe3d023b, 0xfe3a023b, 0x3a003b, 0x2e0027, 0x27fe30, 0x230fe31, 0x22cfe25, 0x22afe2d, 0x22ffe2c, 0x22cfe2d, 0x238fe38, 0x233fe2e, 0x2360037, 0xfe32022f, 0xfe2c0234, 0xfe390242, 0xfe46024b, 0x4bfe4d, 0x24dfe49, 0x246003e, 0xfe390243, 0xfe400248, 0xfe49024a, 0xfe4d024b, 0x46fe3e, 0x23e0037, 0x36fe30, 0x22cfe22, 0x226fe26, 0x22f0032, 0xfe290223, 0x2bfe25, 0x22bfe29, 0x22ffe2d, 0x22bfe29, 0x237fe39, 0x233fe29, 0x31fe3b, 0xf531f824, 0xf111eaff, 0xf5f804f9, 0x5fd07fc, 0x800ff07, 0xfe09ff01, 0x1050714, 0x115f80a, 0xf806fe04, 0xfe01ff04, 0x1fc, 0x203f6f5, 0x303fffc, 0xfef502ff, 0x504030b, 0xf901fdfd, 0x701f7fb, 0x1000400, 0x404, 0xfdfc03fc, 0xfcfd03fe, 0xa09020c, 0xe11fb11, 0xf50c030c, 0x814f7ee, 0xd2dfd35, 0x1749012e, 0xde261d31, 0xc2cf322, 0x83bd114, 0xff24e1dc, 0x14fc18e0, 0x18e9d5c6, 0x1bd81df9, 0xf17e4e9, 0xf7f60afd, 0xe0acae2, 0xeeeefed1, 0x80f, 0xd0409, 0xfc060105, 0x2faf7, 0xf7fb0208, 0x302fdfd, 0xf1e510fe, 0xfaef0ddf, 0x3fa0900, 0xfff6f1f5, 0xfc00f9f5, 0xbfc00f7, 0x7fbf905, 0xfc0cf0fd, 0xf5f507f7, 0x8fc0702, 0xf6fa0e01, 0xfaf90b0d, 0xfd0a000e, 0xf30f0310, 0x10d0c0b, 0xf804f5, 0x505fb04, 0x40bfc19, 0xf80ff40c, 0x90404, 0xf5f604fd, 0xfdfff9, 0x3ff0104, 0x804f4fd, 0x404fffa, 0xfef60303, 0x5020300, 0x102f7f7, 0xfb021119, 0x28391541, 0xff2c0018, 0xf0004, 0xfffe01ff, 0xfdfa03fd, 0xfffe01fd, 0xfdfc02fc, 0xfefefa, 0x2fcfefa, 0x2fe01fd, 0xfffefffb, 0x1fcfffb, 0x1fcfffb, 0x1fc01ff, 0xfdfa03ff, 0xfffcfffd, 0x1fc00fe, 0xfefa02fe, 0xfcfffd, 0x1fc01ff, 0xfffc01ff, 0xfdfa03fd, 0xfffefffb, 0x1fe01fd, 0xfdfc03fd, 0xfffefffb, 0x1fc01ff, 0xfffc01ff, 0xfdfa03fd, 0xfffefffb, 0x1fe01fd, 0xfffe01fd, 0xfffefefa, 0x3fdfffe, 0xfffb01fc, 0xfffb01fe, 0x1fdfffe, 0xfffb01fe, 0xfffb01fc, 0x1fffdfa, 0x3fdfffe, 0xfffb01fe, 0x1fdfffe, 0x1fdfffe, 0x1fdfffe, 0xfffb01fe, 0xfe0101, 0xc0014, 0x23033c, 0xea31e613, 0xf5030703, 0x6010204, 0xfc02fcff, 0x6040a07, 0xf9fffc03, 0xfb06fa02, 0xfafe0100, 0x403, 0xfbfcfd03, 0x1, 0xff020101, 0x8040001, 0xfc04f8ff, 0x800f902, 0xfeff01fc, 0x400fffb, 0xfcfa02f9, 0xfd0701, 0xfcf31001, 0x5f8f3f0, 0xf7f2f6e5, 0x17f41512, 0xff04ebf2, 0x2e09070f, 0xe819ece8, 0xf5d117f5, 0xcdba0bf4, 0x8fd0824, 0x3444a9d5, 0x1fdc2027, 0xdce8ecb7, 0x5ad16df, 0x6ee1e02, 0xe6da0616, 0xec14fd13, 0x1108, 0xf5fd0b04, 0xfd05fe02, 0xf5f70401, 0x711f807, 0xf6fa0e0b, 0xfa140307, 0x411090d, 0xfe0800ff, 0xf3f30103, 0xf900fb02, 0x2f90b04, 0xf8f5fdf9, 0xfd020f, 0xe5fffff7, 0xfae90ef0, 0x110b01fe, 0x70bfcfc, 0x302f5f7, 0x307f5f9, 0xfdf507f0, 0x110102ff, 0x1fbf7f7, 0xf9ec0dfd, 0x80df30c, 0xf804fbfb, 0xfa000602, 0x1030307, 0xfd010808, 0xfc08, 0x4f5fa, 0xa060508, 0xfd00fefb, 0x1fb0b0f, 0x263a143d, 0xfe13fefc, 0xfdfffc, 0xfcfdf9, 0x2fcfef9, 0x2fefef9, 0x2fcfef9, 0x2fefefa, 0x2fcfefc, 0x2fc00fe, 0xfefa02fb, 0xfefa02fd, 0xfefa02fd, 0xfefa02fd, 0xfefa02fb, 0xfefc02fb, 0xfefa02fd, 0xfefa02fc, 0xfefefa, 0x2fcfefb, 0x2fcfef9, 0xfa02fb, 0xfefc02fb, 0xfefa02fd, 0xfefa02fb, 0xfefc02fb, 0xfefa02fd, 0xfefa02fb, 0xfefa02fb, 0xfefc02fb, 0xfefa02fd, 0xfefa02fb, 0xfefa00f9, 0x2fcfefc, 0x2fbfefa, 0x2fdfefa, 0x2fdfefa, 0xf902fc, 0xfefb02fc, 0xfdfefa, 0x2fb00fe, 0xfef902fc, 0xfdfefa, 0x2fbfefa, 0xf902fc, 0xfef902fc, 0xfefb02fc, 0xfefa02fb, 0xfffa02fc, 0x1fd02fc, 0x113002d, 0xf32be004, 0xfefc03fd, 0xf5f60a04, 0x1ff08fd, 0x408f804, 0xf700fa00, 0xfb010404, 0xfc000400, 0xfc010004, 0x4f9fd, 0x7050004, 0x1fdfbf8, 0xfdf90304, 0x3fffd03, 0xf9fe0e0b, 0x209000a, 0xfa08f9ff, 0x504fffc, 0x30309fc, 0x7fe0e19, 0xfb1df41b, 0xf13f0ee, 0x1a090624, 0xf6ecfee3, 0xfdf8000c, 0x31a0003, 0xf92fec10, 0x911f3fc, 0xf5bdef03, 0x8ecfdc9, 0xf2df0cff, 0x150ff4ed, 0x3eaf9c5, 0xffde2a02, 0x1026d6ff, 0x6f9, 0xb0ff8fc, 0xfffefcfc, 0xfe05feff, 0x6fef7fd, 0x701fa, 0x707ff03, 0x60502fe, 0xf9f90b04, 0xf6070309, 0x414fc15, 0xf003f8f0, 0x800fbfe, 0x5030001, 0xed09f802, 0xff07150e, 0x2fff5f3, 0x8f404fc, 0xf7f0fef9, 0x2f8090c, 0x413f804, 0x7fa06fe, 0x2fff2fa, 0xfeff02f4, 0xfae61c0f, 0xdef5fbf5, 0x7020a06, 0x60bf901, 0x40400, 0x101ff04, 0x408fb0e, 0x1050303, 0x107fc05, 0x181c2738, 0x113fdfc, 0xfffdfffe, 0xfefcfffc, 0xfcfffe, 0x1fdfffe, 0x1fdfffe, 0xfffb01fe, 0x1fdfffe, 0xfffb01fe, 0xfffb01fc, 0x1fffdfa, 0x3fffffc, 0x1fffdfa, 0x3fffffc, 0x1fffdfa, 0x3fffffc, 0x1fffffc, 0x1fffdfa, 0x3fdfffe, 0xfffb01fe, 0x1fdfffe, 0x1fffffc, 0x1fffdfa, 0x3fffffc, 0x1fffffc, 0x1fffffc, 0x1fffffc, 0x1fffdfa, 0x3fffffc, 0x1fffdfa, 0x3fffffc, 0x1fffdfa, 0x3fffffe, 0x1fdfffe, 0x1fdfffe, 0x1fdfffe, 0x1fdfffe, 0x1fffffc, 0x1fffdfa, 0x3fdfffe, 0xfffb01fc, 0x1fffdfa, 0x3fdfffe, 0xfffb01fe, 0x1fffdfa, 0x3fffffc, 0x1fffffc, 0xfffd01fc, 0x1fe00fc, 0x2fdfffa, 0x3fc01fd, 0x30d002d, 0xe00fe8f4, 0xff01f6, 0x7fc07fb, 0x5fcf5f9, 0xf7f900ff, 0xfc00fdf9, 0x603faf9, 0xfaf7fef5, 0xe03f600, 0x3fc00fc, 0xfffafefd, 0x3030303, 0x202f7fc, 0x90c0b09, 0x7fc03, 0x9fc0c, 0xf7fefefd, 0xf090d0d, 0xf7fd0cfb, 0xfcfc0d15, 0xf15f116, 0xf0b0308, 0xf90b0310, 0xfd10d6e6, 0xf6d9d8b1, 0x3cf4f800, 0xe4dbe8d0, 0xfea1813, 0x20d0212, 0x929fd1a, 0xe8ed1b14, 0xf8092838, 0x39ecfb, 0xf4df313a, 0x903, 0x800040c, 0xdf809, 0xf9040309, 0xfcfffc04, 0xff030507, 0x909030d, 0xff06fc00, 0xfa0103f9, 0x30505, 0xfafbfdfc, 0x713f914, 0xff0b0111, 0xfb070209, 0x1a36e927, 0xf018fcff, 0xfdff07, 0x20102ff, 0x20afc08, 0xfe0401fc, 0x1f90304, 0xfdfafff3, 0xfcedf8f3, 0xfff401f3, 0x4fd14f5, 0x31afd1c, 0xf00504ff, 0xfcf50400, 0xfdfd0700, 0xfdfc0b08, 0x408f906, 0xfc010705, 0xfbff1e21, 0x1f28fdfe, 0xfffcfffe, 0xfdfcfffc, 0xfefc01fe, 0xfffdfffd, 0xfc00fd, 0xfc00fd, 0xfe00fd, 0xfc00fd, 0xfe00fd, 0xfe00fd, 0xfc00ff, 0xfc00fd, 0xfc00ff, 0xfc00fd, 0xfc00ff, 0xfc00fd, 0xfc00fd, 0xfc00ff, 0xfc00fd, 0xfe00fd, 0xfc00fd, 0xfc00fd, 0xfc00ff, 0xfc00fd, 0xfc00fd, 0xfc00fd, 0xfc00fd, 0xfc00ff, 0xfc00fd, 0xfc00ff, 0xfc00fd, 0xfc00ff, 0xfc00fd, 0xfc00fd, 0xfc00fd, 0xfc00fd, 0xfc00fd, 0xfc00fd, 0xfc00ff, 0xfc00fd, 0xfe00fd, 0xfc00ff, 0xfc00fd, 0xfe00fd, 0xfc00ff, 0xfc00fd, 0xfc00fd, 0x1fffffd, 0x3fffdfc, 0x1fb02fe, 0x1fc01fc, 0x3fc01fd, 0x320e51d, 0xdffc0601, 0xfff900f2, 0xfeeb01f7, 0xfffffefd, 0x1020106, 0xfefefbff, 0x5fc03, 0x3f80204, 0xfeff0908, 0xfc05070e, 0x10cf4fd, 0xfcf70707, 0xa0802ff, 0xfdfc0404, 0xfc000408, 0xfb0cf1ff, 0x7f709f3, 0xfc00f0, 0xc00fbee, 0xfad91e06, 0xf7fdf1, 0xe8e0fdda, 0xffdce3e9, 0x2f50320, 0xe5c907d8, 0x1307f110, 0xd0e2319, 0x41b0922, 0xdcf50a02, 0x41e090c, 0xfc10cdb5, 0x4e03ed04, 0xfc0c08e3, 0x5f9, 0xafb0900, 0xfcfc0307, 0xfa08fb00, 0x105f3fc, 0x704f9f8, 0xef0bf7, 0x2fa0402, 0xf6fefdf8, 0xf8fff2, 0x5fd0f0f, 0xd15e905, 0x70d010d, 0xfc0efe0a, 0x9f90414, 0xf317e904, 0xfd010608, 0x1070409, 0xfc03ff06, 0x50d010d, 0xfb07f7fb, 0x200eff0, 0xfcf004fc, 0xfdfa0700, 0xfdf90bf0, 0xed04f4, 0xf9fdfcf5, 0x3fc01f9, 0x60201fc, 0x4030800, 0x3fff8fe, 0xfafcfff4, 0x28211c1f, 0xfcfc00ff, 0xfcfcfffc, 0xfefdfffd, 0xff00fe, 0xff0000, 0x0, 0xfefe0200, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfefe0200, 0x0, 0x0, 0x0, 0xfefe, 0x2000000, 0x0, 0x0, 0xfefe0200, 0xfefe, 0x2000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfefe0200, 0xfefe, 0x2000000, 0xfefe0200, 0xfefe, 0x2000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfefe0200, 0xfffe0100, 0xfd0000, 0xff01fe, 0x2ff00fe, 0x1fc03fe, 0x2fd031b, 0xe31fd9f2, 0x9fc03ff, 0x10404, 0xfc010003, 0x20001, 0xfcfffc00, 0x404fd05, 0x20505, 0x30a0708, 0xff0bfe02, 0x607fa0d, 0x213fc08, 0x2000200, 0xfe0100fd, 0xfeff0601, 0xfc02f708, 0x5060a07, 0x108fd05, 0xfbf404fd, 0xf4f7fbd4, 0xbdf06e8, 0xfcfcfffe, 0x1000320, 0xf10fe4f0, 0x914000d, 0xe3dd402c, 0x1130ff0c, 0xd8e0ffd6, 0x201aeefe, 0xe3dd08dc, 0xfddd2535, 0xfee51911, 0xfe13e5f0, 0x503, 0x90203fc, 0xfcfcfdf6, 0x2fefd00, 0x302eefd, 0xfff501fd, 0x40102f8, 0x9fffcf7, 0x1fc00, 0x809, 0xf8fc0cf9, 0x9f5f703, 0xfffb01fb, 0xc0b0714, 0xf6010c09, 0xf60cee11, 0xf60a0105, 0xfc00fdf9, 0x704070c, 0x2090f17, 0xf713f10d, 0xf803ff13, 0xea010603, 0xfd030703, 0x107fcf8, 0xf9f103f0, 0xc03ff06, 0x80bf903, 0x401ffff, 0x2fd07fc, 0x4fdfd02, 0xfa021a1d, 0x261bfdfc, 0xfffffdfc, 0xfdfdfffd, 0xff0000, 0xffff, 0x100ffff, 0xfffe01ff, 0x10100, 0xfffffefd, 0x300ffff, 0xff0100, 0xffff00ff, 0x100fdfd, 0x2ff0100, 0xfdfd02ff, 0x100fdfd, 0x2ff0100, 0xfdfd02ff, 0x102ffff, 0xfefd0300, 0xfdfd02ff, 0x100fdfd, 0x2ff0102, 0xfffffefd, 0x300ffff, 0xfefd0300, 0xff0100ff, 0x100ff01, 0xfffffe, 0x1fffefd, 0x300fdfd, 0x2ff0100, 0xfdfd02ff, 0x100fdfd, 0x2ff0100, 0xff0100ff, 0x100ff01, 0xff0100, 0xff0100ff, 0x100ff01, 0xff0100, 0xfdfd02ff, 0x100fdfd, 0x2ff0100, 0xfdfd02ff, 0x100fdfd, 0x2ff0100, 0xfdfd02ff, 0x102ffff, 0x1010000, 0xffff0100, 0xff, 0xfd00fd, 0x1fd03fd, 0x3fe01fc, 0x41dd81c, 0xe7fa01f8, 0xfff7fef1, 0x3f801f9, 0xfff800f8, 0xfc0101, 0x4010105, 0xfb0003fe, 0xfb01f5, 0x7fd0403, 0xfffcfe00, 0x2000105, 0xfcfffffc, 0xfe01ff, 0x405fffe, 0xf9fbfc00, 0xfffa0afa, 0xfbf407fe, 0xfd00f7f3, 0xfefd0305, 0xfdf70afb, 0xfdfcf8f5, 0xfdf1ebd9, 0xe8d01501, 0xfff7f7ee, 0x91403d7, 0x21e7dcc4, 0x1400fbfc, 0x1ddf8e7, 0x408f4f4, 0xfcf304d2, 0x5d91ada, 0x21fde0f8, 0x904, 0x803fcfc, 0xfdfdf7f7, 0xf50c04, 0x708ed07, 0x8100817, 0xf90c000a, 0xf7f80703, 0xfafd0607, 0xfd040400, 0x40cf8f8, 0x1f00a03, 0x206ff04, 0x7ff0901, 0xbfffe, 0xf4fc000e, 0xf50d000c, 0xfc0c0413, 0x511ff09, 0x40b03ff, 0xf9010818, 0xf010f506, 0xf713f401, 0x90dfe04, 0x508f501, 0xb13fb0b, 0x807fa02, 0x3fd0004, 0xfcfcfcf9, 0xf704f4, 0x8f80803, 0x50e3226, 0xfdfdfdfd, 0xfefcfefd, 0xffff0000, 0xffff, 0x1000001, 0x1, 0xf8fafcf5, 0x1f6fff4, 0x1f602fa, 0xfdf401f6, 0xf6fff4, 0x1f600f6, 0xf502fa, 0xfef6fff4, 0x3fafef6, 0xfff403fa, 0xfef600f5, 0x2fafef6, 0xf502f8, 0xfef802f7, 0xfef800f6, 0x2f7fef8, 0x2f8fef5, 0xf602fa, 0xfef502f8, 0xfef802f7, 0xfef600f6, 0xfff401f6, 0xf601f8, 0xfff602fa, 0xfef502fa, 0xfef6fff4, 0x3fafef6, 0xfff403fa, 0xfef600f5, 0x2f8fef6, 0xf500f6, 0xf6fff4, 0x1f600f6, 0xf500f6, 0xf600f5, 0x2fafef6, 0xfff403fa, 0xfef6fff4, 0x1f800f6, 0xfff403fa, 0xfdf500f4, 0x1f8fff5, 0x1f500f6, 0x3f80800, 0x10000, 0xfdfd, 0x3000000, 0xff00fc, 0x3fc02fd, 0x3fc0125, 0xcb09f5fd, 0x3010003, 0x303fe00, 0x3040408, 0xfd050206, 0x1030103, 0xf7ff0703, 0xf9fc0500, 0x2fb06fd, 0xfffd00ff, 0xf8f5f8ec, 0x1f1fff1, 0xf101f1, 0x8f5fcf2, 0xfff800fc, 0x40104fb, 0x808fdfe, 0xff00050e, 0xfe0ef904, 0xf3fa0afa, 0xfefbfd00, 0xf1f40009, 0xb2cf80f, 0xecfcfb00, 0xe050f11, 0xcfc1838, 0x4280936, 0xf2272251, 0xd623d605, 0xfe07f8fb, 0xa0017fd, 0xf8d405f9, 0x1101, 0x700fc00, 0x3f905, 0xfb000c00, 0x801fc10, 0x8fbfb, 0x103f8fb, 0x3070202, 0xfe06fefe, 0x4050304, 0x808ff0f, 0xfd0b0001, 0x706fd04, 0xfaf702f0, 0x8f801fa, 0xfb01feff, 0x10b020d, 0xf607fe01, 0x6020205, 0xff000401, 0xfd05fffc, 0xf703eefc, 0x207fd10, 0xf4fbfdfa, 0x3f8ff02, 0xf9f001f6, 0xbf9fdfc, 0x6ff0100, 0x4fc04, 0x509ff04, 0x703f9f4, 0x34230cfd, 0xfdfdfefe, 0xfefeffff, 0xffff0100, 0x1, 0xf9f9dfd8, 0xe8c0f1b1, 0x2bb01c0, 0xbf03c3, 0x1c301c2, 0x2c701c7, 0xc7ffc7, 0xfcc201c3, 0xc304c5, 0xf8bfffbf, 0xfeba03bf, 0x5c5ffc1, 0x4c703ca, 0xfec602ca, 0x1cbfdc6, 0xfbc303c4, 0x1c703ca, 0x1c9fdc8, 0xc602ca, 0xfec806cc, 0xf9c7fbc0, 0x1c304c5, 0xc700c7, 0xffc7fdc3, 0x3c6ffc4, 0x2c7fcc1, 0xc301c2, 0x6cafdc8, 0xffc401c7, 0xfdc503c5, 0x4cb03ce, 0xfdc9fdc8, 0xffc7ffc6, 0x2c802cb, 0xfec802ca, 0xcafdc7, 0x3ca00ca, 0x1c9fbc6, 0xf9c000bd, 0xbf00c0, 0x3c2fdbf, 0xc0fcb9, 0xfdb903bc, 0x4bf00c0, 0xffbe00be, 0x1bcfdb1, 0xfc019d9, 0x22fb0503, 0xffff, 0x1000000, 0x1fe02fe, 0x2fd0602, 0xed24d403, 0x7070007, 0xf9fd0302, 0xfaf902f7, 0x2fc03fd, 0xfcf8fbf2, 0x1fc00f5, 0x804fffe, 0xfdf9fdf0, 0xfff0fcec, 0x4f80101, 0xfffffdfd, 0xfbf804fb, 0x2f5faf3, 0x7fb0803, 0xfefdfff8, 0x1f102f6, 0xf9f000eb, 0x8f5fcf8, 0x1060a06, 0xf1f901fd, 0xff0b0712, 0xedf4e8e4, 0xf7ef1e12, 0xf7fbebd7, 0xcb26d9, 0xee316f0, 0xecea06ce, 0xf6ee0f27, 0xe0090011, 0xfd0402ef, 0xfef5faea, 0xcff, 0xc04f901, 0x102ff08, 0xf2ff0e01, 0xfbf400f8, 0xf9f102f8, 0x1f80303, 0xfefe0400, 0xfe000103, 0xfffe04ff, 0x900fcfd, 0xf9f9fff8, 0x4f50901, 0xfa010100, 0xfdf503f7, 0x3fffeff, 0xfbf907fe, 0xfd05f5fc, 0xfbf1ffee, 0x6f5f7e8, 0xeb03ef, 0x1f9fb06, 0xfe02f8fd, 0xff08f702, 0xfdfc0704, 0x510fd0c, 0xfeff0507, 0x1020607, 0xfe05020b, 0x50b000c, 0x50c18, 0x290dfeff, 0xfdfffdfe, 0xffffffff, 0x1010000, 0xe0e0, 0xd8bf04e4, 0x4000716, 0x115fc10, 0x3130616, 0x61bfd17, 0xf90e0a17, 0x219fe18, 0xfe1af710, 0xfd0d0710, 0xf8100415, 0x17fc10, 0x30e0413, 0x6150214, 0x61c021c, 0xf9140017, 0xfc180318, 0xfe150012, 0x314ff16, 0xfd130011, 0x71a0519, 0xf717fa16, 0xfc11fc09, 0x20b0914, 0x419fd19, 0xfe14081d, 0xf813fe15, 0x61bf913, 0x815051d, 0xfe1c011c, 0x3220120, 0xff1b0119, 0x1cf817, 0x180019, 0x71e011d, 0xfd1c021c, 0x420fa1d, 0x31df815, 0xfd11071d, 0x24f81c, 0xf8140317, 0xfa0efc0d, 0xff0c0010, 0x4170014, 0x10ff0f, 0xfd0dfd0a, 0x30cfd0c, 0xa07f5e3, 0xfcbd2ce4, 0x1c000001, 0x0, 0xff00fd, 0x4ff03fc, 0x211d20f, 0xeaf202f4, 0xfaf503f5, 0xfb03fc, 0xf9f300f0, 0x7fbfefe, 0x2fffaf9, 0x2f3fef2, 0x2f70802, 0xf8fb0100, 0x40000ff, 0x303eaf0, 0xfff401f1, 0x2f1fdf4, 0x4f10af3, 0x2f703fb, 0xfafdf5, 0x501f6f7, 0x6f50700, 0x807fcf9, 0xf9010606, 0x910fd06, 0xea03fe19, 0x2e50f82a, 0xd90c1132, 0xe3150cfb, 0x1c09dccf, 0xf7da06da, 0xef21afd, 0xc29fb24, 0xef16f90d, 0xf0ff050a, 0x1000, 0x8fc0407, 0xf9ff0101, 0xf201fcef, 0xc000b0b, 0x214f80a, 0xf3fcf8f1, 0xf308f7, 0xb04fe01, 0xff010502, 0x6ff0104, 0xf904f7fc, 0x7ff05fb, 0x10000, 0xfcfff8f4, 0x9fa01fd, 0x4060504, 0xf900000b, 0xecfc0300, 0xfdf7f9f9, 0x2fb0a02, 0x304fc05, 0x7fb0a, 0xf803fd09, 0xedf90f01, 0xf9f501f9, 0xa050303, 0x10301fe, 0xfefe0602, 0x6030205, 0xff04231b, 0xdfffcfd, 0xfdfdffff, 0xffff0101, 0x0, 0xd9d9e0d9, 0xb0c0810, 0x9150a18, 0x61dfc1d, 0xfa14fb09, 0xfe01fc00, 0x80f0c11, 0xff90a, 0xcff14, 0xf30a0104, 0xff0b0108, 0xf800fbff, 0x6020806, 0xa0a050d, 0xb12fa0a, 0xfb0c000c, 0x10f805, 0x7fc03, 0x303fafe, 0x203fd00, 0x801100c, 0xfd12ff17, 0xf00bff0e, 0xfe0a0405, 0xff000306, 0x20afbfd, 0x1060a12, 0xfe0a0314, 0x410fc07, 0x50e0613, 0xfe0efc09, 0xfc060308, 0xff07fe0d, 0x20f0514, 0xfd0af3fc, 0xfffcf9, 0x4f90504, 0x203f500, 0x4070c0c, 0x713fa15, 0xe7040809, 0xffb0e, 0xf908040c, 0x810ff0f, 0xf807fb03, 0xfd030208, 0x207fc06, 0xe0afb10, 0xfd11f7dc, 0x1cdc2400, 0xffff, 0x1000000, 0x1fd03fd, 0x4ffef1c, 0xcf010706, 0x20e0510, 0x10010e, 0xf70cff0b, 0xfd01f7fa, 0xfaf204fc, 0xfef8fdf7, 0x5fa0cfe, 0x6ff04, 0x303fafd, 0x600f50b, 0xf7030406, 0x90dfc0c, 0xfc040701, 0xfdfc0801, 0xfdfeff00, 0xfcf70102, 0xfefa0afd, 0x1207f904, 0xfb060505, 0xfcf801fc, 0x1a2c0937, 0x9f102, 0xf31c0f1a, 0xed24e5fd, 0xebcc00f0, 0x3c350b3a, 0xf521e0e7, 0xecc708d4, 0x8ede4d8, 0xbf32513, 0xd00, 0xb030201, 0xfb03fbfd, 0xedf8fdf9, 0x13000b00, 0xfef6fc, 0xf700fc04, 0x4080505, 0xfa0a06, 0xf5fc08ff, 0x801fdfd, 0xfe02f803, 0x1fd0800, 0xf8f803fb, 0x100f800, 0xc03f9fb, 0x6fd05fd, 0x105fb00, 0xf90dfb05, 0xf800f3fa, 0x5fd0bfe, 0xfef9fffc, 0xfcf80502, 0xf3fdfbfb, 0xf20003f4, 0x8030406, 0x50100fe, 0xfefb0600, 0x20401ff, 0x4fd0d08, 0x20b260e, 0xfcfdfeff, 0xfdff0000, 0x10000, 0xe8e8, 0xd5e40a0e, 0x5080b0b, 0xa0cff01, 0xfffa0200, 0x208f401, 0xf9fcfcfc, 0x8fc09f9, 0x2fbfe00, 0x2020205, 0xf608f6fd, 0xfe0300, 0xfd05ff09, 0x4070807, 0x110eff08, 0xf9f6fefa, 0xf9f804fc, 0xfcf4f8, 0xf8fcf8, 0xfdf206fe, 0x2fe0001, 0xf906ef, 0x6f8fbf4, 0xf7fbfefa, 0x70300ff, 0x303fdfd, 0xfbf7f7, 0xd0301fa, 0x7030707, 0xfe01fe03, 0x6040301, 0xf4f7fffa, 0x2000401, 0xfbfd00ff, 0x1fe02fb, 0xf8f6f9fc, 0xf8f403fb, 0x1f800f3, 0xfced00f8, 0x8fc09f9, 0xe00fd03, 0xec080000, 0xf9fe, 0x3080408, 0xfdfdfcfa, 0xff01040a, 0xff0cfd07, 0x50009, 0x4ff070b, 0xfd0bfc10, 0xefe326e5, 0x1b000001, 0xffff0100, 0xff03ff, 0x2fd0412, 0xbe0104fe, 0x2fe03fc, 0x501fafa, 0xf9fcfdfa, 0xfbf8fdfe, 0x206fdff, 0x10105, 0x20204fa, 0x5ff0404, 0x10007, 0xfdfefb04, 0xf4010906, 0x603fe05, 0x9ff01, 0x70b0104, 0x7fb03, 0x209020a, 0xcfcfe, 0x6f202fb, 0xf6f6fff0, 0x11051216, 0x1d190313, 0xe6f9f6fe, 0x121df402, 0xf60bea10, 0xff24ef13, 0x21f8fdea, 0xf6eb0d18, 0xf7230520, 0xe7ff1934, 0xfc25eded, 0x8fc, 0xcfd03fe, 0xfd00f5fa, 0xf805fa02, 0xefd0f01, 0x1fc07, 0x10f70b, 0xfd040706, 0x2080604, 0xe9f809f9, 0xbfcfffe, 0x505fd0a, 0xfc050603, 0xf904fdfe, 0x704fc08, 0x3fffc02, 0x1fd00f8, 0x7fefd00, 0xfb020108, 0xf909fe14, 0x615f802, 0x70bfb07, 0xeef9fbef, 0xfcfcfd, 0xfd08fb00, 0xb030504, 0x403ff02, 0x90dfd04, 0x204fe01, 0x6030e04, 0xa0c19ff, 0xfcfffdfe, 0xff00ffff, 0x1000000, 0xfdfdcadf, 0x8120109, 0xfd0107fd, 0xfcef04f4, 0x8fd0702, 0xfafaeff5, 0x1fdff00, 0x1f90afa, 0x6fe0101, 0x2010403, 0xf805f302, 0xfdff03ff, 0x103fc00, 0xc081010, 0xf8f7fcf4, 0xfffaf5f1, 0x1f903f8, 0x4fcfc04, 0xfbfff9fc, 0x706fefe, 0x2fe0402, 0xfdfffcf5, 0x4f304fc, 0xfb00fdff, 0x5fdfefb, 0x1f901fd, 0xfffcfc01, 0x8fc0702, 0x50003fc, 0xfdfb01fe, 0x3fb00f8, 0xf3f7fdf5, 0x8fb00f7, 0xf8f400f4, 0x4f700f5, 0xfffcfd00, 0xf5fd03fd, 0xfc00fc, 0x1010001, 0xe070604, 0x7fdf5f5, 0xf4fd0300, 0xf4f40702, 0xfefd0700, 0xff020107, 0xfc040000, 0xf9fa0300, 0x303fe01, 0xb08fdfe, 0x304fc04, 0xf409f4d7, 0x41fd0300, 0x10000, 0x1fe, 0x3ff04ff, 0xd011f401, 0x1000603, 0xfcfafdfd, 0xf8fcfffe, 0xfcfffe00, 0xfffd0000, 0x4040306, 0xfd010401, 0xfcfcf4, 0x5f902fb, 0xf5f3f9f1, 0x7040803, 0x1fe0707, 0xfb020003, 0x2fe0300, 0xfd02, 0x202fdfd, 0x5020c12, 0x20e010d, 0xf50ceaf7, 0x15fb13fc, 0x11f0fce9, 0xe4e7e8d9, 0xf3ba10d6, 0xeece0ff3, 0x1004172c, 0xf1fc0807, 0x4151018, 0xf718ee01, 0xc262a37, 0xf530e528, 0xf8, 0x1400fdfa, 0x300fb06, 0xf5030009, 0x70209fc, 0xfdf9fbf8, 0xfdf50604, 0x2090204, 0x507f8f9, 0xefff02f8, 0xbf8fdf6, 0x3f404fb, 0xff04fd, 0xfc000407, 0xfbfbfaf9, 0x4fa0301, 0x505fe03, 0xfbf702fc, 0x102feff, 0xfd030106, 0xffffff06, 0x605f2fc, 0xedfbf8f8, 0x1f90603, 0x40a0110, 0x1060b0c, 0x80009, 0x404080f, 0xfb08f903, 0xfd08f7, 0x190612ff, 0xfcfffdff, 0x1, 0x101, 0xdfe3e5fe, 0x4fa0700, 0xfd000a03, 0x7f9fc, 0xd010701, 0xf900f203, 0xfe00fdfe, 0x30002f8, 0x8fafff8, 0xfef40cfc, 0x4edfe, 0xff00fdfa, 0x2fb0201, 0x6fb08f3, 0xf9f4fbf3, 0x2f6ff00, 0xfcfb0800, 0xfdf9fefb, 0xfefe0005, 0xfffd0100, 0xfffd01fa, 0x3000307, 0x3fdfc, 0x102fc01, 0x905fe05, 0xfd01fefe, 0x201fe03, 0x702fdf8, 0xafd03fd, 0xf9f9fbf3, 0xcfcfdf9, 0xfb01ff03, 0xa05fb00, 0xf7ff0807, 0xfd000101, 0xff01f5f9, 0x206fe01, 0x203fd00, 0x3020103, 0x180dfb02, 0xfdf8f3f6, 0xfafcfaf3, 0x10001fa, 0x60201fc, 0x4010000, 0x4ff03, 0xfd07fc00, 0x502ff03, 0xf804ff, 0x3fffd00, 0xfb07f407, 0x1de32101, 0xff000000, 0xff, 0x3ff04ff, 0xe514d8f8, 0x3fafdf1, 0x1f60700, 0xf8000001, 0xfe03fe03, 0xff03fcff, 0x60100fe, 0xfcfd06ff, 0x2010308, 0x3fcfd, 0xfc04030e, 0x209ff00, 0xff0b03, 0xf9010405, 0x3fdfd, 0x603f8fe, 0x6020207, 0x205fb, 0x8010404, 0xfd0cfb1d, 0xff071206, 0xf7ec01f1, 0x121ffe35, 0xf83adf09, 0xf40ff4f4, 0x14f813f4, 0xfbfee6dc, 0xde50ce1, 0x1a04def4, 0xbf3efb8, 0x19dc1007, 0xfe01, 0xcf9fefa, 0x1f801fe, 0xfe07fa01, 0xfef801f0, 0xfceffbef, 0x1f30cf9, 0xc030001, 0x1fdf7fc, 0xedfa02fa, 0x5f408ff, 0xfcfcf4, 0x4f804f8, 0xfcf805f9, 0xfbf9fcfb, 0x8ff0501, 0x3ff0001, 0xf8fe00fc, 0x601fbfe, 0x607fd03, 0xff030206, 0xfefefd09, 0xf410ff17, 0xf90ff902, 0xa080910, 0x312fc03, 0xfe010607, 0x2050704, 0xfd06f704, 0xf9fd03f8, 0x290807fd, 0xfdfeff00, 0x0, 0x302, 0xcceff600, 0xa060504, 0x40b0001, 0x8090414, 0xf8fffff7, 0xfefc020c, 0xf2000205, 0xfdff00fd, 0x1f602f9, 0x1fc08f8, 0xfff7f903, 0xff03f9ff, 0xfd03fe, 0x5fd05fa, 0xfcfdfcfe, 0x2fefefd, 0x20301fc, 0xfffe0101, 0xff02fdff, 0x3030002, 0xfe01ffff, 0x400fdfa, 0xa04fe05, 0xfe020107, 0xfdfbfcf9, 0x2fe0505, 0xfcff0102, 0x3fe0001, 0xfff606f9, 0xfefefafd, 0xeff0002, 0x108fc05, 0x4ff0307, 0xfd0d080d, 0xf404f8fb, 0xfbf70608, 0xfa000103, 0x1fd01, 0x2000908, 0x4f4fcf5, 0xf8f0fdfa, 0xfbfbfbfc, 0x1fc00fb, 0x3f80900, 0xfdf9fff8, 0x4fc00fd, 0xfdfdff00, 0xfffafdf8, 0x3fb04fb, 0x1f90400, 0xfc01f401, 0xcf03302, 0xfd000000, 0xffff0100, 0x1fe04fe, 0xf60fc5fc, 0xfdf603fc, 0x3fe01f8, 0xfcfc03ff, 0x1fafd, 0xfe0204, 0xfefdfb, 0xf9f80bfd, 0x8030707, 0xfa01faff, 0x2050204, 0x2fe01, 0x20302fa, 0x10401, 0x203f9ff, 0x4fd0106, 0xfefe0703, 0xfd0001fc, 0x5f9fff4, 0xfcf30800, 0xf0f1e9c8, 0x23f4170a, 0xfff71a13, 0xf813db0f, 0xfc172548, 0xfc30ec09, 0x8161444, 0xb42f52b, 0xf809103b, 0xe111eb0d, 0xefe302d5, 0xfc03, 0x4fbfffc, 0xfcf704fa, 0x2fefbff, 0xfcfd00fc, 0x101fc02, 0xfeff0d00, 0xc000000, 0xfffd05, 0xe901faf9, 0xf40cf8, 0x4fc0303, 0xfefd03fc, 0xfcfc07fe, 0xfd00fd01, 0x3fc07fe, 0xf9f408fc, 0xff030104, 0xfdfb0303, 0x3000104, 0x5f8fb, 0x401090d, 0xf009fa04, 0xfd080413, 0xff080201, 0x3010005, 0xf9000a04, 0xf9fb03f7, 0x5fff7ff, 0xfa0001fe, 0x31060100, 0xff02fd00, 0xffff0100, 0x1010301, 0xc0f50807, 0x4010b07, 0x30104, 0xfdf906fb, 0xf6f900fa, 0x2fe01fd, 0xf4ff0300, 0xff020103, 0xfe000200, 0x100fdf5, 0xf6fffc, 0x300fa01, 0xfeff01fd, 0x5fd02fa, 0xfdfb0302, 0xfefe0202, 0x202feff, 0xfdfdfdf9, 0x4fe0708, 0xd12ef01, 0xfcff0303, 0xff090b, 0x809fc07, 0xfc05f8fc, 0xfffe0507, 0xfc01fdf9, 0x2fffdfb, 0x4fcfdf9, 0x70100fb, 0xfdfafefe, 0xefe0200, 0x100fd01, 0xfbf8fdf2, 0x6fb06f9, 0xfb00f800, 0x50807, 0xf502f8f9, 0xfef701fb, 0x1fa08f9, 0xf5faf3, 0xd08f500, 0x50afe0d, 0xf501ff00, 0x30005fc, 0x403ff03, 0xfefd02ff, 0x2f9fc, 0x1fe0304, 0xfcfdf9f2, 0xafb0a01, 0xf4f90207, 0xf9f44001, 0xfd01ff00, 0x10000, 0x30201ff, 0xfc05c101, 0xff03fcfc, 0xfcf505f9, 0xfd04fe, 0x604f903, 0xfcff0401, 0x405fd05, 0xff0b0404, 0x40004fd, 0xff02fa02, 0x2020101, 0xfcfd0302, 0x1010504, 0x70bfb02, 0xfafa0001, 0xfffc0803, 0xfc01fdf7, 0x701ffff, 0xfdf7f3eb, 0xe9d8fccc, 0x17f3111b, 0xc0405f2, 0x13061f0b, 0xd6e9e7f5, 0xe9e2ffbc, 0x9c90ae7, 0xfddcffc7, 0x22defee7, 0xeddc07d3, 0x1d0ffd21, 0xe81af70f, 0xfc04, 0x303f5f9, 0x2ff0500, 0xfdfbf8f8, 0xfc0501, 0xfefefdff, 0x10d01, 0x2f702f9, 0x3fc0403, 0xf00af101, 0x2030900, 0x804ff00, 0xf5f7fff3, 0xfdf407f4, 0x900fcff, 0x804fcf9, 0xfbfb0afd, 0xfffd00fc, 0xff0501, 0xfcfa02fb, 0x2fdf7fc, 0x3fb0dff, 0xfe7fc, 0xfdfcfcf4, 0x5fafff7, 0xfff3fdf0, 0xb02f6ee, 0xfff404f5, 0x4f400fd, 0x3fcfe, 0x3502ff00, 0xfdfeff00, 0x10000, 0x1000300, 0xbcfc1307, 0xfe0108fe, 0x705fc00, 0xfbfe02fa, 0xff03f7fa, 0xfdf505f9, 0xff040405, 0xfc02fcfd, 0xfcfb0700, 0x100ff02, 0x204fe03, 0x101f8ff, 0xfdfe0603, 0x1ff0401, 0xfc000805, 0x30af901, 0xfdfcfffd, 0xfcfc0403, 0x7060807, 0x903f307, 0xfa050002, 0xff01130b, 0xfe01faff, 0xf5f80000, 0x4050000, 0x105ff07, 0xfc010408, 0x509ff0b, 0xfbff0403, 0xfd03fc01, 0x3f60afe, 0xfbf8fcf7, 0xfcf803fe, 0x5fd1007, 0xfd09fb0c, 0x410fd05, 0xeefefa00, 0xff010101, 0x60600fe, 0x1ff0005, 0x3fb0107, 0x1030207, 0xfd0ffb0b, 0xfa02fcf9, 0x2f701f9, 0x3fefefa, 0x701fb03, 0x103ffff, 0x205ff0b, 0x405fcf7, 0xfd000200, 0xf5fc4400, 0xfd00ff00, 0xffff0100, 0xfd0400, 0x4bf02, 0x90cf707, 0xf2fd02fa, 0x4fe01fb, 0x4f9fdfd, 0xfbfc0b03, 0x201060a, 0xfd08ff03, 0xfdfc04fc, 0xfd0003, 0xff000100, 0x40001, 0x4040100, 0xfaf3fef6, 0xfefa0701, 0x305fffc, 0xfcfc0302, 0x1fcfdfa, 0xfefbfa02, 0x7200024, 0xe0ed411d, 0xe2f3f9e7, 0x14e833fc, 0x228fe3f, 0xd82e0d3c, 0xd90c0b0d, 0xf505fb01, 0x1bfa02fe, 0x11f600, 0x9ec0cfb, 0xebfef0f7, 0xfbfb, 0x2fa060b, 0xfa03fffd, 0xfdfdf8fd, 0x2ff02fc, 0xf7f504fc, 0x1fd0efe, 0x804fafc, 0x6ff0500, 0xfc0ce803, 0x8090000, 0x4fcfdfa, 0xf4f903fd, 0x303faf6, 0xefb0100, 0x3fb0605, 0x30d0104, 0xf7fcfffb, 0x9040b0a, 0xfa08fe04, 0xfe00ff08, 0xf4f90ffb, 0xfef9f406, 0xfa03eef5, 0xbfb00fc, 0x1fe0001, 0x4fa0206, 0xfa01fefb, 0x6fdfffc, 0xfcf8f8, 0x3f02fd00, 0xfcffffff, 0x1000000, 0x3020201, 0xbf041304, 0x60402, 0xd08f400, 0xf5fa0b03, 0x80cf005, 0x40cfb02, 0xfd0000fc, 0x101f7fc, 0x1fa, 0x6fffefe, 0xfefaf9f5, 0xf4fffb, 0x50301fe, 0x30003ff, 0x205fffc, 0xf9f204fd, 0xfefe0504, 0xff07fd00, 0x5fe06fc, 0x9fc0811, 0xec03ff02, 0xfd0004f1, 0x9fcfbfd, 0x8f901, 0x300fdfd, 0x2fe0201, 0xff04fcfc, 0x8fffcfc, 0x4050102, 0xfe03fd04, 0x10207ff, 0xf7fbfaf9, 0x300fdfa, 0xb000cfc, 0x807fc08, 0xfbfff8fa, 0xf501fb02, 0x90cf803, 0x4010102, 0xff000404, 0xf8f901f9, 0xa020202, 0xff04fd06, 0xeefa01ff, 0x805fc00, 0xfffc01ff, 0x5fdff01, 0xf7f701f9, 0x3fa01fc, 0x4fcffff, 0x2040709, 0xec004501, 0xfe02fd00, 0x10000, 0x400, 0x303bd01, 0x901fb05, 0xf70afe06, 0x2ff00, 0xfc0100, 0xfe0306fe, 0x7030300, 0x205ff05, 0xf90102ff, 0xfefdfffc, 0x401fdfd, 0x401feff, 0xf9f400f3, 0x8010407, 0xfc05fcfa, 0x8ffffff, 0xf5f80d02, 0x3040108, 0xaff0f, 0xf0f81008, 0xfb23f4d6, 0x190d293d, 0xbbe403b4, 0x42f4faf0, 0xf27021c, 0xe326fc17, 0xf91bd4f4, 0x11ea1e06, 0xfd03ecf9, 0xe8d81ce8, 0x401f405, 0x202, 0x303fffc, 0xfe00fcfd, 0x303f4ff, 0xfffcfef8, 0x20300ff, 0x4020afe, 0xa00060c, 0xff050000, 0xfd01eb04, 0x703fd00, 0xfffbf9f7, 0xff020605, 0x305f3fe, 0xafa0a03, 0x6060c0c, 0xf902fbfc, 0xf7fcfffc, 0x9fc07f8, 0x1fff9fa, 0x501fbfd, 0xff0801fa, 0xfbf7f8fb, 0xff00f507, 0x1fd0300, 0x302f9fb, 0xb02fefe, 0xff03fc01, 0xfcf7fff7, 0x1f8f7f7, 0x46fefeff, 0xfe01ff01, 0xfdfd0300, 0x3000200, 0xc6070bff, 0x2010401, 0x4f8f1f5, 0xfefe0cff, 0xd04f80c, 0xfc04f801, 0xf8fc00fc, 0x1fc0207, 0xfc03fe00, 0x2fc0200, 0xfcfefaff, 0xfefd0301, 0x5010707, 0xff030202, 0xfefefefd, 0x509faff, 0xfdfe03fc, 0xfd0101, 0x2fe05fd, 0x5f907f8, 0x30ff000, 0xfe010300, 0x3faf9f8, 0x4fcff02, 0xfcfbf9f7, 0x4f900f7, 0xa02fe04, 0xfcfdfd, 0x2fb0802, 0xff030208, 0x108fbfc, 0x5030e, 0x5100316, 0xfd0803ff, 0x6fdff00, 0xfb00f2fa, 0xfc010208, 0xfdfc0408, 0xfc000403, 0x4fbfb, 0xfe01ffff, 0xc010403, 0xff03f5fb, 0xf5020607, 0xfefd0001, 0xfcfefffc, 0x3fafef9, 0x4060308, 0xfc010000, 0xfcf80801, 0xc0bf5f9, 0xf6034200, 0xfe00fd00, 0xfffffffe, 0x20003ff, 0x2feb7f8, 0x8f7fffb, 0x60a020e, 0xfd0bff0b, 0xf601fbfb, 0x4010b06, 0x2010806, 0x206fd04, 0xf8030001, 0x1040207, 0xfe010206, 0xfdff0102, 0xfb04ff03, 0xfbfef5, 0x2fb0100, 0xfbf309fd, 0xfc0407fe, 0x50000ff, 0x403fbff, 0x8170e15, 0x1731cc09, 0x1000dcb3, 0x231bf50d, 0xe8b334ed, 0xdef4d0, 0x3421082d, 0xd408e014, 0xecef2cfd, 0xf7f7f904, 0x11dfeff, 0xefea2117, 0xfafa, 0xfef503f9, 0x803fc03, 0xfbfb040b, 0xf501fd00, 0x604fd01, 0xfdfa0bfb, 0xcfd08ff, 0xf9f9, 0xfaf6f601, 0xfef8fef9, 0xfff9f9f9, 0x3fdfff6, 0x6f9fc02, 0xc040f09, 0x40703fe, 0xfe03eff7, 0xfcfc01fe, 0xc010701, 0xfd04, 0x201fc02, 0xfe01fbfb, 0xf8f8f8f8, 0x5fe030c, 0xfc07ff03, 0xfefefe03, 0x901f8fb, 0xfffb0100, 0x4fd02, 0xfefff6fe, 0x4a02fd01, 0xfcffffff, 0x1030000, 0x4010100, 0xc7010b01, 0x504f8f8, 0xf4fd00, 0xfbfd05f6, 0x7f005fd, 0xf6f7f6f5, 0xfffc0400, 0xff0502, 0xfb01fbfe, 0x5010100, 0xfbfff8fd, 0x30200ff, 0x2fc0aff, 0x1010403, 0xfd02fe02, 0xfefbfbfc, 0x4030303, 0x2050206, 0xf9fd0f07, 0x1030b07, 0xf6faf4fe, 0x7070004, 0xfdfeff04, 0x1, 0xf5fafbfc, 0x3fb02fd, 0xe01fd00, 0x3, 0xfcfd07fc, 0xfdfa00f8, 0x4fb0404, 0x5090208, 0xfd00fcf9, 0xfcf808fd, 0x4fbfdf9, 0xfbf9070e, 0xf90bf902, 0xfb00fdf9, 0xb080004, 0x408f805, 0xfb020104, 0x3fb06fd, 0xfffdf3fb, 0xfa000802, 0xff030306, 0xf4fe0504, 0xfcfd0302, 0x2000300, 0x105060b, 0x110fc04, 0x5fdfa02, 0xf9053f02, 0xfafeff00, 0x1ff01, 0x1000401, 0x302b500, 0x8000809, 0x1040305, 0xfc04fc01, 0xbfc0c, 0xff070602, 0x20205ff, 0xfdf8f8, 0x707f5fc, 0x3fe02fe, 0x606fe02, 0xfe03fe00, 0xfb000001, 0x4050007, 0xfc010000, 0x50a0809, 0xf7040704, 0x504f9fd, 0xf7f01308, 0x19190813, 0xd0cc0404, 0x4f80824, 0xfcfd0d15, 0xeb18d0b4, 0x10c40cdc, 0x18c008c0, 0xbf70118, 0xb37edf8, 0x1d1e0328, 0xec13fd12, 0x1336fc11, 0xf9f2, 0x3f709fd, 0xaff0104, 0xfc050102, 0xfc09f703, 0x4010408, 0xb0404, 0xc0403ff, 0xfcfbf9fb, 0xf8f9080b, 0xff0cf200, 0x203fc06, 0x104fc01, 0xfffa0402, 0x5fb07f3, 0x2f1ffed, 0xbfaf601, 0xff040003, 0x1007f8f8, 0xfff702fc, 0xfff901fe, 0xfefef9fc, 0xf3f7faf9, 0x9fd0600, 0xf8fc00fd, 0xfffdfe, 0x6fb0205, 0xff050307, 0xf900fcff, 0x506f808, 0x4200fafd, 0xff000001, 0x0, 0x3ff0200, 0xc2fb05f5, 0x1f102fb, 0xfbfdfb, 0x4ff, 0xf803f6, 0xf9f90104, 0x207fafd, 0x30003fe, 0x3fe06, 0x1fbfb, 0xfffff900, 0x401fcfd, 0x5000b01, 0xfc, 0xfdfc0301, 0xff020209, 0xfb00fdfa, 0xfbf307f8, 0x2010cfe, 0xf0c0304, 0xe9f7ff02, 0x1fc00fc, 0xfcfb0400, 0x707f900, 0xf9040a13, 0xfd0d000b, 0xfdfcfc, 0x1fd02ff, 0xfe0100fa, 0x300fbfb, 0xa010704, 0x201fbfa, 0xfffc0000, 0x40501, 0x2ff0103, 0x40c0005, 0xcf508, 0xf3000003, 0xf8fff7, 0x1f4fffb, 0x202ff00, 0xf8f500ef, 0x3f3fafa, 0x20204fe, 0x4030101, 0xf5020401, 0xfb0000fd, 0x3fe02fd, 0x9050706, 0xfb000004, 0xfcfbff00, 0xfa013e00, 0xfd03fc00, 0x1, 0x1fd, 0x600b500, 0x9010a03, 0x90b0008, 0xf703f5fc, 0x905ff08, 0xfc0500ff, 0x401fcf8, 0x1f9fbfc, 0x5fafb00, 0x4010403, 0x401fd00, 0xfbfd00ff, 0x408fc04, 0x707fa01, 0x3080109, 0xff0303fe, 0x50cff04, 0x605fb07, 0xf70701f5, 0xdcf4c8, 0x2820f511, 0x101df70c, 0xe7f7f9e3, 0xc04f327, 0x152c1030, 0xe5fdfef3, 0x1b03191b, 0xe1f1f4f8, 0xf4cf05d1, 0xe3c834ff, 0xf7e31900, 0xfe06, 0xfcff06fc, 0xe000201, 0xf8fdfefa, 0xfef900, 0x5010e0b, 0x510000c, 0x1010402, 0xff05fc08, 0x10040c, 0xfc09fc13, 0xf0010106, 0xf8fdff00, 0x100fd, 0x5fd07fd, 0x1fcfefb, 0x2f202fe, 0x1000404, 0x1004fc08, 0x10afa02, 0xfe01fefe, 0xf9f9f8f8, 0xf8fdfcff, 0x5fb00f5, 0xfffc01fd, 0x502fe03, 0x1fe02fe, 0x1000502, 0xfc05ff08, 0x306f200, 0x4200fd03, 0xfc000000, 0xfdfd0300, 0x3000200, 0xc0fe0700, 0xff01fe, 0xfffdf8f8, 0xf808fc, 0xfc01fa, 0x203f9fb, 0xf90706, 0x1040001, 0xfdfefefe, 0x200faff, 0xfdfd0004, 0xfcfc0303, 0x60404fd, 0x2fffefd, 0xffff0703, 0xfe02fefe, 0x104f7fe, 0xfd000700, 0xd0b0504, 0xb00f4f1, 0xf5fd0301, 0x101f7f8, 0xfffb01f8, 0x1f20700, 0x700fd, 0xf9f906ff, 0xd0c0515, 0xf60af2fa, 0x2fe01ff, 0xfcfdfe, 0xafe0900, 0x1fffbff, 0x303, 0x1040403, 0x1020607, 0x3fafd, 0x401ff0b, 0xfa12f90b, 0xf5000405, 0xfc00feff, 0x603f4f8, 0xfcfc01fd, 0x2fcfe00, 0x7050001, 0xfd0400, 0xf803fffe, 0x3fafd, 0x2fc0600, 0xb0203fe, 0x104fc00, 0x105f7fd, 0xfbfe3efe, 0xfefffd00, 0xfffffffe, 0x2000403, 0x1febb04, 0xc070805, 0xfc0400, 0xf4fd0008, 0x403fc00, 0x307fa01, 0x2fffcff, 0x1ff0004, 0xfbfa00ff, 0x60100fd, 0xfff803fe, 0xfcfff5f4, 0x8f80703, 0xfefa0303, 0xfffffdfb, 0xf8f41001, 0x4000c0d, 0x108fe0b, 0xfe12f607, 0xa110825, 0xf7f400ff, 0xffee02f9, 0xf406eaf7, 0x1d08152a, 0xd7ec03df, 0xfdf701fa, 0xae9f6c6, 0x3e8f8ec, 0xfcf410ff, 0x1834c0c0, 0x17e009d0, 0x102, 0x2080204, 0xa00f9f7, 0xfffe0202, 0xfe00fa01, 0xfefa08f4, 0x13020103, 0xfe0002fe, 0xfdfc0000, 0x4040000, 0x4f800, 0xecfc00fb, 0xf8fb03ff, 0x1000404, 0xfdfc0aff, 0xfdfbfdfa, 0x3fb0f08, 0xfe050a0b, 0x2fdfbfc, 0x4fffb00, 0xf6f803fd, 0xfc00f800, 0xfc04fd05, 0xf7f702f9, 0xfbf503f7, 0x4f60800, 0xfdfc0600, 0x10000fb, 0xfffcfc, 0xfff8f8fe, 0x42fefeff, 0xfd000000, 0x30000, 0x4010302, 0xb9fb1004, 0xff030204, 0xfb00f800, 0xffff06fd, 0x704ff02, 0xfdfd0004, 0x401fe, 0x2fffefd, 0x2020206, 0xfe02fd05, 0xf901ff00, 0x10141425, 0xf2e0630, 0x331fc2f, 0xf828f314, 0xea00fbfd, 0x400fd06, 0x90305, 0xd050303, 0xc04f707, 0xf5070004, 0xff02fa05, 0xf8fe0603, 0xfdff0b03, 0x30104, 0xbfc01, 0x14080003, 0xff0cf913, 0xfb0cf500, 0x1010105, 0xfbf61704, 0x70afa09, 0x30cff08, 0xff060002, 0x203f9f6, 0x8fe0307, 0x306fe05, 0xff0af405, 0xf1010300, 0x40006, 0xfcfcfc04, 0xff07fe04, 0xfe000204, 0xb080008, 0xf8000400, 0xf4fc01fe, 0xfffdfd00, 0x6040200, 0x7fc0700, 0x3020107, 0xf5fbf9fd, 0xfafc4200, 0xff01fc00, 0x1ff01, 0x10003ff, 0x402c108, 0xd09ff00, 0x101fffc, 0xf9010203, 0x5040008, 0xf4f9fffe, 0xfdf901fe, 0x2fffefd, 0xff010001, 0xfb0803, 0xfc0001fe, 0xf2f4f9f8, 0x7f709f9, 0x8030101, 0xff01f7fb, 0x10408fc, 0x4fc1404, 0xfcff0304, 0xfa00030d, 0x80be3e6, 0xf0df2e0d, 0xfc0afe06, 0xf406021e, 0x708ddd0, 0xfff82d22, 0xee130a1c, 0x214fd1b, 0xed05fb08, 0xfd09eee7, 0xedd0a27, 0xf6060a07, 0xfa00, 0xfefc02fc, 0xafcfe01, 0xfbfd00fb, 0x502fe06, 0x109f9fa, 0xaf105f5, 0x4fb00f9, 0x4000000, 0xf9f500f5, 0x3f8fdfd, 0xf203fafd, 0xfb000502, 0xff0001fd, 0x202fdf5, 0xb030107, 0x40803fc, 0x5030801, 0xfffbff, 0xfef9f4f2, 0xfbf707fb, 0x605f401, 0xfb00f7fa, 0x104fdff, 0xfe0200ff, 0x4ff0a01, 0xff0300fd, 0x5010102, 0xfafc0101, 0x204f501, 0x4100ff01, 0xfc00ffff, 0x1000000, 0x1fd0600, 0xc1080c04, 0x5ff02, 0xf900f800, 0x4050504, 0x300fdfe, 0x3040307, 0x108f900, 0xfffd00ff, 0x805f8fb, 0x1fe0203, 0x1c261a41, 0x839ff24, 0x15000f, 0xc0010, 0x180025, 0x13cf132, 0xe614f40b, 0x30e040f, 0xfdff00fc, 0xdfdfe04, 0xf908f4fc, 0x401fc03, 0xf803fffc, 0x60503fd, 0x4010101, 0xfcfdfbfc, 0x14fc0501, 0xfcfef7fc, 0x405f808, 0xfc030002, 0xf90015fe, 0x7fefe02, 0xfdfcfffc, 0xfdfaf5ef, 0x6f30903, 0xfcf707fb, 0xfaf2fff3, 0x1f50203, 0xf608fe03, 0x104f8fc, 0xf8f80400, 0x102ff03, 0xf8fd00fb, 0x1404fc00, 0xff07f5f8, 0xfbff01ff, 0xb0e, 0xfe06fe02, 0x50003fc, 0xa03fbfd, 0xf7ff0107, 0xfc093900, 0xfefffd00, 0x1, 0x2ff, 0x500c100, 0xf020104, 0xf1f402f7, 0x200fefc, 0xfef507fc, 0xfd05f8fe, 0xfefffefc, 0x7010407, 0xf8000303, 0xfafd08fd, 0x2030204, 0xf204f500, 0x5fe0b00, 0x1f903fb, 0x3fff5fd, 0x2fe0a00, 0x8040dfd, 0x3040405, 0xfd08f3f8, 0xf8e8252a, 0xfa34eaf0, 0xf6ea05f1, 0xf4f1200f, 0x40c1b4a, 0xd41ff9eb, 0x14110007, 0xf4f9f4f0, 0x3f42c50c, 0xfe708, 0xeee82604, 0x2100309, 0x202, 0xfe020303, 0xf90702, 0xfe05faff, 0x5ff0405, 0xff03fd07, 0xfd05fd, 0xfbf403f7, 0x5f8f9f1, 0xf7ef03f2, 0x8f702fc, 0xfa04fd07, 0xf80400ff, 0x303fdff, 0x401fd01, 0x4fa0801, 0xfffc04fd, 0x7ff02f9, 0x7000005, 0x7f003, 0xf4fcfdf2, 0xffbfa01, 0xf6fcf4f9, 0x3fb0604, 0x309fc05, 0x4050702, 0xfd000000, 0x803fdff, 0xfc010202, 0x202effc, 0x4702fafd, 0xff000001, 0xfdfd0300, 0x40301fe, 0xc30005f9, 0x7000001, 0xf800f800, 0x9050202, 0xfdfc0302, 0x201fbf9, 0xf800ff, 0x3030104, 0xf9f50603, 0xe102a38, 0x5210007, 0xfdfcfffc, 0xfc00fc, 0xfc00fc, 0xfc03ff, 0xfefc030e, 0x129f227, 0xe60a0309, 0xf804fc00, 0xf304f9, 0x101f704, 0x4, 0xff0bfe0a, 0x307fc00, 0x501ffff, 0xfbfe0508, 0x8fc08ff, 0xff02f500, 0x400f800, 0xfc00ffff, 0xfc020efb, 0x4f8fff9, 0xf9f500f6, 0xf6effef8, 0x4f612ff, 0xfe0102fc, 0xf9fbfffb, 0x5fffcf9, 0xfcfff9fa, 0xfcf5fcf9, 0x203fefd, 0x6020104, 0xff0bf904, 0x8f8fffb, 0xf9f5fcfc, 0x102ff00, 0x4040902, 0xff030005, 0xfcfcfcf5, 0x9f40b04, 0xff0cfd08, 0xf8043702, 0xfbfffe00, 0xfffffffe, 0x2000301, 0x2fec300, 0xcfdf4f0, 0xfffefaf6, 0xbff0304, 0xfd0303ff, 0x103f803, 0xff04fd03, 0x7030100, 0xfc04fdfe, 0xfafe00f6, 0x6fafef6, 0xf5f90105, 0x4040a03, 0x103ffff, 0x2fe0009, 0x2090403, 0xa0503fb, 0x7ff00fb, 0xf9f70408, 0x51503f3, 0xfdf6effb, 0xf8fd0d05, 0x2334f004, 0xf8f82704, 0xfd2dd509, 0xe2d7fdd4, 0x5e5f6e7, 0xab2321f, 0xe201e600, 0x91b1005, 0x282bf018, 0x1, 0x306fd00, 0xf9f90afc, 0xfefcfbfd, 0x3fb01f8, 0x1fafcf9, 0x4fd02fa, 0xfefdfff9, 0xfcf000f7, 0x404ff00, 0xfef60afe, 0x105f800, 0x8fc04, 0xf9fa02ff, 0xfef90703, 0x302fdf7, 0x4fc04fc, 0xf503f6, 0xaf90b04, 0x4f307, 0xee01ff03, 0xfff3fdf6, 0xfd09, 0x3090306, 0xfd00f7fb, 0x5fc00f5, 0x1f906ff, 0x4fb0503, 0xf8ff01fe, 0xfffbf400, 0x4700fd03, 0xfc000000, 0x30000, 0x3ff0402, 0xc1000803, 0x7030104, 0xf804f501, 0x7ff00fd, 0xffff01fd, 0xfb0000, 0x404, 0xfdfefffc, 0x32421, 0x1c2f0005, 0xfcfc00fc, 0xfffefdfc, 0xfc00fc, 0xfc00fc, 0xfc00f9, 0x3fe01fc, 0xfb040d, 0xff26e003, 0xf1fcfcfc, 0xfcf8fbef, 0xdfbfc00, 0xffff0403, 0xf9fd0403, 0x101ff04, 0xfffefdfc, 0xfcfd04fc, 0xbff06fd, 0xfefcfa01, 0x2fff900, 0xf9fd0301, 0x50a0a06, 0xfafcfffc, 0x30003, 0xff0cf806, 0x40605f9, 0xc07f8fd, 0x105ff05, 0x808fc08, 0xf804f803, 0xff06f903, 0x102fd01, 0x6010000, 0xfcfd0105, 0xfdf7f5, 0x1fd0708, 0xfc030004, 0x80800ff, 0x404fc00, 0xf8fcffff, 0x1f710fc, 0x4010105, 0xf60332fe, 0xfe01fd00, 0x1ff01, 0x1000300, 0x200c603, 0x3faf9ff, 0x1010007, 0xfbf709fd, 0x1fe, 0x704fc08, 0xf700fd00, 0xf901f9, 0xfffc00ff, 0x50005, 0xfffef7f7, 0xfdff0604, 0x7070300, 0x5040106, 0x206f8fe, 0xfefa0a00, 0x140af6fd, 0xfbf104f5, 0xfdf90aff, 0xfdf7fcf0, 0x7faf2fd, 0xeff4fbe2, 0x2c11eef, 0xe9e010c9, 0x1cd0a02, 0x626fe27, 0xd1f30906, 0x2fe11dd, 0x1fc172d, 0xfc20f303, 0x9e42115, 0xf4, 0x1f20c01, 0xfe06f9f5, 0x8fffc00, 0xfd01fd, 0x2fe090b, 0x30af6fe, 0x3030004, 0xff070108, 0xfd01ff01, 0xff0201f9, 0x4fc0408, 0xfc04070f, 0xf60cf600, 0x507fcfc, 0x4fd0404, 0x404fdfd, 0x7040405, 0x50007fc, 0xfffbfd05, 0xec03f8fc, 0xfdfafbf8, 0x4fc0403, 0xfcfc0801, 0xfc00f5fe, 0xf8f102f3, 0x9fb02f7, 0xafdfdf5, 0x1fe0502, 0xfe01f603, 0x42fefeff, 0xfd00ffff, 0x1000000, 0x1fe0600, 0xbefd0f04, 0xfdfafcf5, 0x2ff000a, 0x104ff03, 0xf9fdf9f5, 0x2f706fd, 0x704fdfd, 0x2020003, 0x22251b1c, 0xfcfc00fc, 0xfcfc00fc, 0xfdfa02ff, 0xfefd01fe, 0xfffdfffc, 0x3fffefd, 0x2fc01fc, 0x3ff01fc, 0x1fe0321, 0xd808edf9, 0xf7f40902, 0x3f803ff, 0xfffffbf6, 0xfbf801f5, 0x2f60900, 0xfcfdfdfd, 0x506fbfd, 0x8fa0e02, 0xf5f9f4f3, 0x5f600fd, 0xfafe01fc, 0xd040701, 0xf7fefdfc, 0x4000c0c, 0xfc09f90a, 0xfb01f8f4, 0x8f00901, 0x6060007, 0x100f8fc, 0xf8fcfc00, 0x405f703, 0xfdff0103, 0x401f7f8, 0x7030507, 0xfc03f703, 0x5070101, 0xff04fbff, 0x2f90700, 0x3ff0104, 0xf1fd0806, 0xfe030cff, 0xfef906fe, 0xf1f93b02, 0xfbfffe00, 0x1, 0x401, 0x100c2fc, 0x5fef4f9, 0x5fd0603, 0xfd05fdf9, 0x8010b0b, 0x307f904, 0xf906ff08, 0xf800fffe, 0x403fd00, 0x707050c, 0xf502f601, 0xfafe06fe, 0xc030505, 0x807, 0xfc01f5fe, 0x303110a, 0x3f9f8fb, 0xfffffdf8, 0xc07fcf9, 0xfffbfefd, 0xfbf10302, 0x114041d, 0xeb0605ed, 0xc10f8f8, 0x1007f8f5, 0xefedde, 0xeffc180b, 0x905fd, 0x2d291b2d, 0xef20002d, 0x1438dff6, 0xff00, 0x30200f6, 0x901ff07, 0x504fc04, 0x1050105, 0xff020700, 0xfcf90003, 0xfcfc, 0x1fefffc, 0x302fd00, 0xfdfefbf8, 0x4f805f9, 0x4010b05, 0xffb14, 0xfa09fa07, 0x1040707, 0x508fb06, 0xfefd06ff, 0x4fe04fb, 0x1fdfcfc, 0xf707f201, 0x60af504, 0xfdfd06ff, 0x508f1f1, 0xf5fefe, 0x1070005, 0xfc0b05, 0x2fd0202, 0xfdfe01fa, 0x3fff4fd, 0x4702fbff, 0xfe000001, 0xfdfd0300, 0x40301fe, 0xc30303f7, 0x5ff070a, 0x20af4fe, 0xfdfffd, 0xf8fc0306, 0xfd0101fc, 0xaff0507, 0xf9fe1b19, 0x241bfcfc, 0xfffffdfc, 0xfdfd02ff, 0xfdff00fd, 0xff00fe, 0xff0000, 0xfd00ff, 0x1fe00fd, 0x2fc01fc, 0x4ff01fd, 0x25d70f, 0xef070907, 0xfc0001fe, 0x302fa01, 0xfb010505, 0xfe01fdf5, 0x700ff02, 0x1fefcff, 0x10070801, 0xf501fe0b, 0xfc020507, 0x10e020f, 0x103fffb, 0x105f0f8, 0x3f70af5, 0xa03f600, 0xf3f80101, 0xfff800ef, 0x4ed01ee, 0x2ef02f9, 0x607f2fd, 0xfff80102, 0xfe03fe00, 0x2fefe05, 0x705ffff, 0x104f906, 0x304fbfe, 0xfdfc0405, 0x3fcf8, 0x1f602f7, 0xfe0403ff, 0xff0002f6, 0xfff701f2, 0xff0039fe, 0xfe01fd00, 0xffff0100, 0x1fd, 0x602c101, 0x400f703, 0x1fffef7, 0xa04fb02, 0x4fe0d00, 0xfd0105, 0xfc08fb04, 0xfc08fd06, 0x20005, 0x3010804, 0xf908ff11, 0xff16f808, 0x50101fd, 0x7040400, 0xfc00f803, 0xcfb, 0x8000008, 0xf8010004, 0x4fcfdfd, 0xf6f4f8ee, 0xf9ec01ea, 0x1b04f3f3, 0xf6fe0700, 0x281cf81c, 0xd9e503f0, 0xfbeb0e0c, 0x1e3be508, 0xf7ff1610, 0x3e60cd7, 0x8f01d0d, 0xd8d1efe1, 0x408, 0x5f8fd, 0xf41005, 0x1010207, 0xfa0000ff, 0xfefe05fc, 0x0, 0xfcfc0101, 0xfefe0201, 0xfffd0000, 0xfbfefd00, 0x40003fe, 0x1fb0bfb, 0xa05000a, 0x313f40d, 0xfc080506, 0x304f5fe, 0xa0a0206, 0x80afc02, 0xf0f108fd, 0xfb01f706, 0xf9f9080c, 0xfb0a0105, 0xfc0b, 0xfb060109, 0x109fe07, 0xfa010f05, 0x30405, 0xf800f5f4, 0x6f7f9fc, 0x49fefe01, 0xfd000000, 0x30000, 0x3ff0402, 0xbefd0b05, 0x505fbf9, 0x7fef5ff, 0xfffefefd, 0xfafffdf9, 0x1fd03ff, 0xb00fdf8, 0xb0a3423, 0xfdfcffff, 0xfdfdfdfd, 0xffff00fd, 0xffff0100, 0xffff0100, 0xffff0100, 0xffff0100, 0xff00ff, 0xfd01fd, 0x3fc03fe, 0x1fffb23, 0xd509fcfc, 0x302, 0x605030e, 0xf407fdff, 0xfcfd0202, 0x6010204, 0xfe01fc01, 0xafb06f9, 0x206fe06, 0xf70100fc, 0xfb04fd, 0xfcfffc, 0x500ebfb, 0x5fd04f7, 0xed00f7, 0xfc000302, 0xfe010102, 0xfffd03ff, 0xfd0803, 0x1fef703, 0xfc000403, 0xff040107, 0x5fc03, 0xfcfcf9, 0x3fb0103, 0xfdfdfbfd, 0x303fefd, 0x2ff0205, 0x206fe02, 0x5090208, 0x9f900, 0x203fdff, 0xfbfb4002, 0xfd01fc00, 0x1fdfd, 0x3000302, 0x2febffc, 0x4fcfd02, 0x203fc01, 0x4fbfefe, 0x4fe0cfd, 0xfffc00fb, 0x3020108, 0xf1fdfafa, 0xfa02fc, 0xa030d08, 0xf403f9fd, 0xfefc0509, 0xfc000908, 0x3040000, 0xfc00f901, 0xf9fa03f1, 0xbf404f8, 0x808ff07, 0xf9fcfbfa, 0xf5f9f9fa, 0xf6f70a00, 0xf7dc00e9, 0x190c2328, 0xc9c907d8, 0x1312ecfb, 0x2020afe, 0x1dfdf008, 0xd1eeef6, 0xeadd14e5, 0xfad710ca, 0xf9eb1410, 0x2fb, 0x2fd0409, 0xfa030d00, 0x504f7f9, 0x3020103, 0x3080508, 0x40cfc08, 0xff0bf903, 0xf9fe02fe, 0x100f9f9, 0xfe0203, 0x1000401, 0xc0c0405, 0x3fe0907, 0xf9fdff08, 0xf70301ff, 0xf8f40d0c, 0x6080006, 0x1fff3f6, 0xfc0205ff, 0x408ef00, 0xfa0104fd, 0x4060207, 0xfe05fb04, 0xf8010404, 0x90cf705, 0xb0400, 0x1fd, 0x308f003, 0xfdfc00, 0x4b02fd01, 0xfc00ffff, 0x1000000, 0x2ff0500, 0xbafc0f00, 0xfb0404, 0xfbf8fd00, 0xfbfc01ff, 0xff04fe05, 0xff030000, 0xb00fafd, 0x2f2111fe, 0xfcfdfefc, 0xfefdffff, 0xffff, 0x101fefe, 0x100fffe, 0x201fdfd, 0x301ffff, 0x100ffff, 0x10000ff, 0x1fd03fd, 0x3ff0206, 0xe617e500, 0x300, 0x5ff00fc, 0x8000b, 0xff0efd09, 0x306fd01, 0x30007, 0x40104ff, 0x401ff02, 0xf601feff, 0x10000fc, 0x703fe02, 0x300f106, 0xfafb05fc, 0x804f9fd, 0xfeff02fe, 0xfffffffd, 0x200fffc, 0x1fd02f7, 0x2f8fafb, 0xff0500, 0x10000, 0xf4f8, 0x800fc00, 0xfd03ff, 0xfe00fe03, 0x202070b, 0x90007, 0x5fc03, 0x705fbfe, 0xfefc0407, 0xf8fdfdfd, 0xfbfd41fe, 0xfefffd00, 0x3, 0x401, 0x302b5f8, 0x8fc0504, 0xfafcffff, 0x5000002, 0x2000e02, 0xfe01ff00, 0xfd03ff, 0xf604fe08, 0xf5fd0c07, 0x1fe04f5, 0xf7f8fffe, 0xfdfdfdf5, 0x70007fe, 0x1fcfcf8, 0xfdf90303, 0xf3fdfaf4, 0xff80c00, 0x4fcfdfa, 0xf8f9fffd, 0x50d0216, 0x1535f520, 0x133ce824, 0xfb06f9dc, 0x4170313, 0x1111e80d, 0x914e6f0, 0x11e4f0e4, 0xf3cafad6, 0xdf907ec, 0x1b0de9e6, 0xf2df12dd, 0x405, 0x407fbfe, 0x10507ff, 0x5fff800, 0x502fbfc, 0xfff81104, 0x808000c, 0xd0014, 0xfd18f70d, 0xc0417, 0xf40bfc05, 0x1050304, 0x9010704, 0x4050400, 0xfc03fc00, 0xf801f8f8, 0x4041007, 0xfdfefbf9, 0xf80005, 0xfc05fdfd, 0x2fbfb07, 0xfe0b0209, 0x3080208, 0x10bf808, 0xf303fcfb, 0x6f80304, 0x40000, 0xff, 0x703f508, 0xfc04f5fd, 0x4e00fafd, 0xff000001, 0xfdfd0300, 0x30102fe, 0xbafe0af9, 0x6fffef9, 0xfe0203, 0x20afb04, 0x106030b, 0xc000c, 0xfdfe080c, 0x3613fcfe, 0xfdfffdfe, 0xffffffff, 0x1000001, 0x2, 0xfdfeefee, 0xf8e40cf3, 0x10000001, 0xfefe0201, 0x0, 0xff03ff, 0x1fd04ff, 0x19d80c, 0xf905fe00, 0x500fcfc, 0xfc0501, 0xff010004, 0x1020005, 0xf7fc0400, 0x7030100, 0x400f8f9, 0xfd00fe00, 0x1000909, 0x305ff06, 0xfe01ff0f, 0x150414, 0xff0bf608, 0xfc06fd01, 0x204fb00, 0x2000304, 0xf8fb04fd, 0x3fef9fd, 0xfcf90d01, 0xff00fdfd, 0x603f504, 0xfc0000, 0x8080005, 0xf9000305, 0x3060403, 0x30003, 0xfd000004, 0x1fefd00, 0x2040404, 0xfc08f803, 0xfc043f02, 0xfbfffe00, 0xffff0100, 0x1fd, 0x600b500, 0x10080003, 0xfb04fd02, 0x4010001, 0xfffe1101, 0xff02fd00, 0x303fafa, 0x4fe04, 0xf7060903, 0x507f8fb, 0x307fe06, 0x20bfa08, 0xfeff01f9, 0xf8f004f8, 0x3fe0500, 0xf704fa04, 0xe030e05, 0x708fc07, 0xf0fffdfd, 0x6fe0d09, 0xfdf10e0a, 0xf0e7f2f1, 0xfff5fffb, 0x2118081d, 0xe0ec1014, 0xfd08f214, 0xdde02414, 0xfd1eff23, 0xed030602, 0xfde4f3ee, 0xfaf6f3d7, 0x4f8, 0xfcf005fa, 0x8010701, 0x703010c, 0xfc03f4fc, 0xd0a0b04, 0x501feff, 0x504fd01, 0xfe02010c, 0xff0b0108, 0xf80cfc0c, 0x30e010c, 0x3060504, 0x303fefd, 0x304f800, 0xf0f80000, 0x110dfffc, 0xfefd0305, 0xfe03fe01, 0xff040108, 0xfe04fd06, 0x80006, 0x4070106, 0xff04f905, 0xfe10f509, 0xf8fb04fc, 0xfc0400, 0x303fd00, 0x1fa0409, 0xfb08f306, 0x46feff03, 0xfc000000, 0x30000, 0x4010100, 0xc2080c0a, 0xfd01fd00, 0x2020202, 0x202fe05, 0x2060104, 0xf8fc01fd, 0xfdfd2318, 0x1bfdfcfd, 0xfdfdffff, 0xffff0101, 0xfdfd0300, 0xdbdb, 0xdab8fec7, 0x1d0ffc3, 0x9bc2de9, 0x17020000, 0xffff0100, 0xfd, 0x1fd03fc, 0x400f41c, 0xe104ff05, 0xfdfdff00, 0xffff01fb, 0xfcf800f8, 0x4fb0702, 0x10cfd05, 0x301ffff, 0x2fdfe03, 0xfd030005, 0x3070907, 0xfc00f8f9, 0xfbfffb, 0x60100fd, 0x301fb06, 0xf4fefbfc, 0xfff90301, 0xf9f802f7, 0x5040707, 0xff03020c, 0xefff0e00, 0x203fe04, 0xfffdf800, 0xfcfc0501, 0x3fc03ff, 0xfc020201, 0x30101fe, 0xfffd02ff, 0x1030003, 0xfdfff9fb, 0x801fffc, 0xfcfc0307, 0xf2fd4200, 0xfc01fd00, 0x1fdfd, 0x3000302, 0x2feb700, 0x10000404, 0x9f804, 0xfdfd0300, 0xfdfe08f5, 0x4fa0704, 0xf1f207ff, 0x706fa02, 0xfa050400, 0xfef9ff00, 0x5020004, 0x2020a, 0xfd09fc04, 0xfc08fbff, 0x905fcfc, 0xfd02060e, 0x6060a02, 0x1fc0000, 0xf707f903, 0xf8f50df5, 0xb03dcd1, 0x7e808fe, 0xeae90cf6, 0x16ebfde0, 0x2525fe13, 0xfa100220, 0xf538ed01, 0xb0ff808, 0x41fe700, 0xe6e90e04, 0x10b142c, 0x607, 0xfd080407, 0x4030400, 0x4fdfcf8, 0x9050314, 0x40b0404, 0xfdfc0301, 0xfdf902fe, 0x1010000, 0xfbfcfef9, 0xfcfdfafb, 0x5fd0400, 0x30003fe, 0x500fe00, 0xfbf8ffff, 0xedfc100c, 0x4fffcfc, 0x4020403, 0xf8fdfdfc, 0xfffc00fb, 0xfd0404, 0xfd010809, 0x106fb00, 0x506fe0b, 0xf906f607, 0xfd0c0008, 0xfc040303, 0xfefefbfc, 0x3fe04fe, 0xfd00f0fd, 0x4b02fcff, 0xfd00ffff, 0x1000000, 0x3ff0402, 0xc10106fb, 0x1fffdff, 0x704fdff, 0xfcf903fe, 0xfefa0700, 0xfc040003, 0xff053416, 0x2fdfeff, 0xfdff0000, 0x1ffff, 0x1030000, 0xd4d4e1da, 0xa0a0511, 0x1110012, 0xfc05f3cb, 0x37eb1500, 0x1ffff, 0x1000000, 0xff0400, 0x3ff020d, 0xdb07eff7, 0x1fb0804, 0xfd02fbfc, 0xf7f7fdf4, 0x9f90afc, 0x9040007, 0xfc00fcfd, 0xfffa01fd, 0x505ff04, 0xfdfe03f8, 0xfdf9fbfc, 0xf7f3fef2, 0xaf6fdf3, 0xf000f5, 0xfcfdfcfe, 0x3020100, 0xf8ff0704, 0xa090204, 0xf6fb0a03, 0xeafe1202, 0x101fbfe, 0x100040c, 0x4140413, 0x111f705, 0xf5fe0602, 0xfcfb0903, 0x4f9fb, 0xfa03fd, 0x404000b, 0xff02fd00, 0xfbff0501, 0xeffe42fe, 0xff01fc00, 0x3, 0x401, 0x100b700, 0x110102ff, 0x1000008, 0xff0af900, 0xff020d07, 0x3f8f4, 0x30804, 0xfdfcff, 0xf8fd04fd, 0x5040207, 0xfdfffcfb, 0x3fe0501, 0xf1f502fb, 0xfdfc0001, 0x901fe03, 0xfa0003fd, 0xc030801, 0x303f8fb, 0xfd01040c, 0xb1ff103, 0xece40810, 0x1019ddee, 0x2e32ea10, 0xf090814, 0x1706060e, 0xf60a1119, 0x125fe36, 0xe914f915, 0xdaeb0105, 0x4231025, 0x72b061d, 0x204, 0x50c0008, 0xfc0001fd, 0xfff80703, 0xa040a0b, 0xf90003ff, 0x103fcfc, 0x403fcfd, 0x1fdfbf8, 0xf9f607ff, 0xfcfffc01, 0x501fcf9, 0xfef405f6, 0x9fa0703, 0x8ecf5, 0x40c0804, 0xfcfc0101, 0x300f8f4, 0xfbf705ff, 0xffff00ff, 0x100fdf9, 0xa0600fe, 0x1fefcff, 0xf7f10d00, 0x50cfa10, 0xf205ff04, 0xfc04fdfe, 0xffffff03, 0xfefe04fe, 0xf7f8f0f8, 0x51feff01, 0xfc000001, 0xfdfd0300, 0x30002fe, 0xc30005ff, 0x3010307, 0xfffff9fb, 0xfdfc05fe, 0x707fbfb, 0xfefd02ff, 0x5053405, 0xfd00fe00, 0xfd000000, 0xffff0101, 0x101eced, 0xcbe41013, 0xb140110, 0x312f90b, 0xfc0bf810, 0xd938fc, 0x4000001, 0xfefe01ff, 0x10001fd, 0x3fd04ff, 0xfc20d102, 0xff000c04, 0x80ff307, 0xf1010004, 0x70202fa, 0x1607fa01, 0xfafff9fc, 0xfd00fc, 0x4fb00fc, 0xfffe01fc, 0xfffefd00, 0xf902fbff, 0x1f603fc, 0xfffb0500, 0xfc000509, 0xfe04fd00, 0x80708, 0xa08fe04, 0xf90700fd, 0xf90c03fd, 0x1814112a, 0xf380337, 0xfe31022f, 0xfd2b0337, 0xf93bf025, 0xe811f800, 0xfcfc0003, 0xfbfe01fc, 0x4fc03ff, 0x101f5f9, 0xfe03fc, 0xf4014100, 0xfefffd00, 0xffff0100, 0x3ff, 0x402be09, 0xb03fbfc, 0x5000101, 0xff010008, 0xf8010bff, 0x100f800, 0x30300fb, 0x1fcfdfd, 0xf7fc07ff, 0x903fcfd, 0xfcfc0808, 0xf8fd03fb, 0xf600fefc, 0xfbfa05ff, 0x1f700f9, 0x3021110, 0x400fc, 0x4fdf2f7, 0xf6f010fc, 0x190af30c, 0xf4142834, 0xd5f9ff1b, 0xfce90302, 0x9fcf0e4, 0xf8c510cf, 0x21fa00e9, 0x4ec07f5, 0xc18e0ff, 0xc31e818, 0xfc101414, 0xf0fde7de, 0x40e, 0xfe07fd04, 0xfb03fdff, 0xb0b0509, 0x30206fe, 0xff04ff00, 0x100ff03, 0x100fbff, 0xfefcfbfc, 0xfcff0800, 0x40008, 0xff02f9ff, 0xfdfe03fc, 0x8fb08fc, 0xf7f3fd04, 0x9090607, 0xfd08fb02, 0xf9f80505, 0x20c050c, 0xfa07ff06, 0xfb000306, 0xfefa02fc, 0x1fc0101, 0xff0900fc, 0xb02f6fe, 0xf6020104, 0xf901fbff, 0xfdfe, 0x606fdff, 0x30bf20d, 0x4602fafd, 0xff000000, 0x30000, 0x4010100, 0xbbf81306, 0xfd0000fd, 0x402f902, 0xff0400ff, 0x800fc01, 0xfcff00fd, 0x7ff3500, 0xfbfefefe, 0xff00ffff, 0xffff0200, 0x100d2e6, 0xed080800, 0x4f904fc, 0xfdf602ff, 0x205020f, 0xfe0d07dc, 0x2901ff00, 0x20001, 0xff, 0x3ff02fd, 0x506ea1f, 0xed0d0b0c, 0xff03f606, 0xf70cf501, 0x6000503, 0xffcfdff, 0xf8fdf9fd, 0x300fcfc, 0xf803fb, 0x1fd00fc, 0xfffcfefd, 0xfbff0307, 0xfa000300, 0xfcfd04fc, 0x10102fe, 0xfdfd0101, 0x6070202, 0x3fb0401, 0xfc04fbff, 0x151b1c34, 0x420000f, 0xfdfa, 0x2fefefa, 0x2fffefa, 0x3040014, 0x2cf82c, 0xe010efff, 0xfafe0603, 0x100fdfa, 0xfcf50202, 0x103ffff, 0xf9043f02, 0xfbfffe00, 0x1fdfd, 0x30001fe, 0x600be00, 0xaff0105, 0x1010606, 0x108f901, 0xfc050b05, 0xf8fc0408, 0xfd020406, 0x308fc07, 0xf8080304, 0x601060b, 0xf908f7f7, 0x5040102, 0xf703fb00, 0xfc0102fe, 0x3000808, 0x10606fb, 0x1fcf8f4, 0xf00301, 0x10cf0ec, 0x1bee100b, 0xe25f6f3, 0xfd1b0723, 0xfe25e80a, 0xf10f010, 0xe3fb0df8, 0x1cf3ebde, 0x1db04d8, 0x2ffbf10c, 0xfcfc1327, 0xea152223, 0xee21e721, 0x5ff, 0x809fd09, 0x210fd10, 0xf9fefbf4, 0xcfd08ff, 0xedee, 0x4f106f8, 0x5fc0102, 0xfe02fd04, 0x80000, 0xf8f8, 0xf90404, 0x70ef904, 0x1fd03f8, 0xfbfc0908, 0xfcfb08fd, 0x5, 0xf4000702, 0x20202ff, 0xf9fe0302, 0x209fb01, 0xf8fbfff8, 0x5fc0b06, 0xfe05fb00, 0x8fdf0f7, 0xf1f203f4, 0xfbfefe, 0x705fe06, 0xfefe0304, 0xfbfcf600, 0x4600fd03, 0xfc00ffff, 0x1000000, 0x3ff0200, 0xc0050f01, 0xfc000404, 0xfbfb0507, 0xfc04ff03, 0x2fdfafb, 0x100f9f9, 0x13052dfd, 0xfe00fdff, 0x1, 0x20000, 0x302cdfd, 0xfc0c0408, 0xf9fd0b04, 0x40b010a, 0x20a0008, 0x10bf0f4, 0x28f30c00, 0xffff, 0x1000000, 0x1fe03ff, 0x1fb0415, 0xe20a00ff, 0xfdfdf8ff, 0xf800000b, 0x50101, 0x6f802fd, 0xfafffc02, 0xfdfcfcfc, 0x703fdfd, 0xfc0400, 0x1fbfe, 0xfe01fbf9, 0x3020504, 0xfd05ff00, 0xfffe02fe, 0x405070b, 0xfb000402, 0xfdfc03fb, 0x605202a, 0xb200004, 0xfdfdfffc, 0xfffbfefc, 0xfff901fc, 0x2fcfefc, 0x2fb01fc, 0x1fd0308, 0x28e922, 0xdb0300fd, 0xfffb01ff, 0xfcff01fe, 0x2ff0101, 0xf5fd4200, 0xfc01fd00, 0x3, 0x403, 0x1fec707, 0xb08fd04, 0x306fefe, 0xfefb0103, 0xfd040700, 0xfc04fdfd, 0x6060406, 0xfe01060b, 0xf508f9fe, 0x2fa01f5, 0xfcfc01, 0x4000403, 0xf501fe04, 0xfe06fbff, 0x70301fc, 0xfdf807f9, 0x3fbf5f8, 0xfdf51305, 0xff030d20, 0xe9ee20fe, 0xdece12ea, 0xbf8fced, 0x10ffff16, 0xe0e70e05, 0x1739e814, 0xfdf50e18, 0xa21f613, 0xaee1b18, 0xf30ffaf6, 0xf804ffe1, 0xcfffc14, 0x1fc, 0xf400f7, 0x4f9fdf9, 0xfbfbfbfb, 0xfeed07ec, 0x7f3f9ff, 0xfdf803f5, 0x4f404f7, 0x4fdfdfd, 0xfffc0400, 0xfcfcfc00, 0x400, 0x902f700, 0xfcfb07ff, 0xfe02fff8, 0xfdf903f4, 0x9fdfefb, 0xfa0103fd, 0xfdf803f9, 0xfcfcfff8, 0xa00ff04, 0xf804f9fe, 0xfef707f3, 0x9fe0508, 0xf9f9f6ff, 0xf503f8f8, 0x1f90b06, 0xfffe0a0a, 0xfb07f9fd, 0x204eefc, 0x48fefeff, 0xfd00feff, 0x1ff0100, 0x4010302, 0xbe000f00, 0xfc0000fc, 0x103ff, 0xfd00fbfc, 0x1fbfcfd, 0x1fdfbff, 0x13ff2e00, 0xfe00fd00, 0xfdfd, 0x3000101, 0x301cf03, 0xf6fd06ff, 0xd130810, 0xcff0a, 0xfe06040a, 0xfb04f408, 0xf9d93603, 0xfd000001, 0xffff, 0x1ff03ff, 0x1ff04ff, 0xf512e2f4, 0x3fa0103, 0xf6010203, 0xfe010202, 0x2fe00fc, 0xfe00eff3, 0x6fc0404, 0xfaf702fc, 0x804fbfb, 0xfffa0504, 0xf9fffd01, 0x4020300, 0xff02fe01, 0x3050407, 0x609fafc, 0xf9fa0b01, 0x40809, 0x2427040b, 0xfcfcfffb, 0xfdfb00fc, 0xfdfffe, 0xfffefc, 0x2fc00fe, 0x1fd00fc, 0x3fe00fb, 0x2fd0317, 0xf32fd403, 0xf9fd03ff, 0x2050206, 0xfe020001, 0xf3ff4300, 0xfafeff00, 0xffff, 0x10003ff, 0x402c601, 0xf05f800, 0xfdfa0602, 0xfd010101, 0x105fefc, 0xfdfd0202, 0x8040505, 0xfc03fdfa, 0x207fd0b, 0xf8010101, 0x607ff0a, 0xfd03fdfc, 0x7fc05, 0xf8fff7fb, 0x2f6fff4, 0x4fb04f8, 0x8fd040c, 0xffdf9, 0x7010c00, 0x41bebe6, 0x50ddbd6, 0xf9c408d0, 0xccc3805, 0xe00501f8, 0x7e82727, 0xf21c0a18, 0x917f415, 0xff0aeddc, 0x11fa0606, 0x816ed04, 0xfcf4dcd4, 0xa01, 0xf3f4fdf1, 0x6f300f6, 0xfaf5fef8, 0x802fdf8, 0xfdee03f8, 0xfb05fd, 0x2fb01f8, 0x4f8fffa, 0xfdf809fd, 0x607fd08, 0x40cf901, 0xa02f0fb, 0x10001fa, 0x703fd01, 0xfafe0500, 0xf06f2fa, 0x7070307, 0xfa040203, 0xfa01fafc, 0x5f70800, 0x8fd0c, 0xf200f9f2, 0x10f90bff, 0xfd03f1fe, 0xfe07f605, 0xa0e0508, 0x9fcfb, 0xfc03, 0xfcfdf302, 0x4802fbff, 0xfe000002, 0x10000, 0x1fd0600, 0xc20402f7, 0xfdf803fb, 0x601fefc, 0xfaf90301, 0xfdfd0203, 0xfdfffbff, 0x9f53900, 0xfe00fd00, 0xff02, 0x1000302, 0x100e112, 0xe7030805, 0x1008f8f8, 0xfff7f9f1, 0x4f703f6, 0xfbfe05, 0xf2fe19e1, 0x1d01ff00, 0xffff0101, 0xfd, 0x40003ff, 0x20ce20c, 0xfa030305, 0xfd0cfa04, 0xf5fb04fd, 0x7020204, 0xf7fd000e, 0xfb03fefd, 0xff020707, 0x201fe04, 0x207fcfe, 0xfb00ff02, 0x4020100, 0xf4f51007, 0xf7fb05fc, 0x9fffaff, 0xfd0304fc, 0xfdf93324, 0x101fffc, 0xfcfc00fd, 0xfffffefd, 0xfffc00fd, 0xfd00ff, 0xfd00fd, 0x1fd00fd, 0x2fc01fd, 0x3fe01fc, 0x40ded26, 0xd4010301, 0x3020000, 0x103ff02, 0xf6053e00, 0xfd03fc00, 0xfeff, 0x2000401, 0x1febff7, 0x5ed07fc, 0x10003fd, 0xff, 0x402f8fc, 0xff00fd, 0xd020401, 0x308fc07, 0xf9fe0203, 0xfd08fc03, 0xfcf904fe, 0x1fbff, 0x100f9fd, 0xf6fb0307, 0xf9fefdfc, 0x7ff0904, 0x4001410, 0x818001b, 0xf80c0808, 0xc100025, 0xf111f82e, 0x350734, 0x72fd2c9, 0x2f181b32, 0xf11ce1d6, 0xe3c72ce9, 0x2f0fc9e4, 0xfde2170c, 0xf0eb09ee, 0x1b01f80c, 0xf0000125, 0x6fc, 0xfa03f9ff, 0xfcf503f8, 0x503fd02, 0x7010004, 0x7080c, 0xcff06, 0xfd010000, 0xfcf8fcf5, 0x8000b02, 0xfefa0603, 0x504000b, 0xf5f6fb01, 0x808fb02, 0x500fd00, 0xfe040201, 0xafcfd07, 0xfcfc04fd, 0xff02fafa, 0x606f2fe, 0x2fbfdf0, 0xbfb0503, 0xf001fb03, 0x5f802ef, 0x1f30103, 0xfc01030e, 0x206feff, 0x403fa01, 0xfafbfcfb, 0x403f505, 0x41fefe01, 0xfd00ffff, 0x1000000, 0x30202fe, 0xc2fe01fd, 0x906, 0xfffffbfc, 0xfe00fffc, 0x302fdfd, 0x101fb01, 0xfff741ff, 0xfdfeff00, 0xfeff, 0x20001fe, 0x300ff1e, 0xc90004fc, 0x7f30500, 0xfcfdf8fc, 0x4fc01fa, 0x3fd0403, 0xf90af2e3, 0x35fb0400, 0x1fefe, 0x1ff0100, 0x1fd03fd, 0x3fefe1a, 0xe2020100, 0xfd00fa00, 0xf9040000, 0x801fffe, 0x60dfb08, 0xfc09f3fe, 0x5040300, 0xfdfb00fd, 0xfffafefc, 0xfeff0202, 0xfffd0400, 0xf3ff10ff, 0x1090105, 0xa06010d, 0xfc0cf901, 0x262a0a01, 0xfefefdfc, 0xfffffefd, 0xfffd00ff, 0x0, 0x0, 0x0, 0xff00ff, 0xfd01fd, 0x2fc02fd, 0x3fc0312, 0xe220e300, 0x1fefffd, 0xfffb01fd, 0xfc0339fe, 0xfefffd00, 0xffff0102, 0x3ff, 0x200bf00, 0xb06fefd, 0x2fe0803, 0xfe01f7f8, 0x1f50704, 0x3070108, 0x9040202, 0xfdfc0000, 0xfb02f9f9, 0x1fd0304, 0xfc04ffff, 0x100fc01, 0x101fb03, 0xfd0af5fc, 0x70a000d, 0x80e0207, 0x11140707, 0xe5e4f1d5, 0xeeb09ec, 0x11f1f2e3, 0x2f4221e, 0xf816f504, 0xd4d1f0ef, 0x18d805c2, 0xffd0ffee, 0xeef9fecb, 0xba72503, 0xe2e81ff0, 0x404fdf8, 0xffdcfbdf, 0x2817061c, 0xf9f7, 0xfdfafeff, 0xfd0000fd, 0x5fd0606, 0xfaf906ff, 0x5040400, 0x405, 0xfc04fd01, 0x5020b, 0x6090301, 0xfcff01fa, 0xb00f8f8, 0xf1f4fbf4, 0x10fc0102, 0x6030006, 0xfe06ff03, 0x1fa02ff, 0xfd000400, 0x102fa02, 0x1fdf702, 0x101fd01, 0x3f90bff, 0xf201fb01, 0xfdf903fa, 0xfff8fcf3, 0x90000fd, 0x1fc0200, 0x2fefbff, 0xf5fa0301, 0x805f101, 0x4202fd01, 0xfc000001, 0xffff0100, 0x4010100, 0xbefc0a05, 0x4090505, 0xf7fdfcfe, 0x202fd00, 0xfd0505, 0xff03fc04, 0xf1f63aef, 0x1103fc00, 0xff01, 0x10000ff, 0x4000405, 0xe420e0fc, 0xc01fdf9, 0xfcf9fbfc, 0x3fb01fb, 0x7ff0500, 0x40bf40d, 0x5dd2a03, 0xfd000002, 0x10000, 0xff03ff, 0x2fe0303, 0xed0eedfa, 0x502fd05, 0xf9050308, 0x101fafc, 0x9ffff03, 0x108f50a, 0xf8fdfef8, 0xf9f401f5, 0x4fa0602, 0xfafe0703, 0x40000, 0x916181e, 0x16330234, 0x2a0029, 0xff2c0033, 0xfc09fffe, 0xfdfdfdfd, 0xfeffff, 0xffff0100, 0xffff0100, 0xfdfd02ff, 0xfffe01ff, 0xff0100, 0xff, 0xfd01fc, 0x3fc04fd, 0x31ecd08, 0xf7fe0100, 0xfdfe0704, 0xf8003b02, 0xfbfffe00, 0x1ffff, 0x1000300, 0x402b9fc, 0x8f9fffa, 0x1f9fced, 0x3f201fc, 0xfb0c00, 0x4010404, 0x803fdfe, 0xf7f8fbf3, 0xfdf5fdf9, 0xfff707fb, 0xfefdfefc, 0x2fd0304, 0xfcfff8fc, 0x807fc0e, 0x1017fb12, 0x9130112, 0x304fdfa, 0x217ec12, 0x1519f505, 0xfcf00301, 0xeceb28f1, 0xe1daf2d7, 0x1e211c4d, 0xcf04f4f3, 0xf41c11, 0x427c0e9, 0x18f601d2, 0x6f6fdd4, 0x28f8f8f3, 0x1004f4fd, 0x4d90bde, 0xff03, 0x107f902, 0xfc010304, 0x4030704, 0xf90300fd, 0x5fd00f9, 0x2fb05fc, 0x407, 0x70409, 0x4070408, 0xcff0a, 0xfefdf3f8, 0xeff60803, 0xe010707, 0x506ff05, 0xfd04ff04, 0xfcff0502, 0xfaff02fd, 0xfffbfdfe, 0xfdf7fd, 0x501fe02, 0xfdfc1001, 0xf504ff08, 0xf702f6f5, 0xfff5fdf6, 0xbf80901, 0x202fdfd, 0xfcf7fffb, 0xfc020100, 0x3fbf903, 0x3dfefeff, 0xfd000000, 0xfeff0200, 0x3ff0200, 0xc0020a02, 0x503f9f7, 0xfefe0103, 0xfdfe0304, 0xfbff0802, 0xfd000004, 0xf50817e5, 0x2bfffd00, 0xff00, 0x1000000, 0x3ff04ff, 0x21dce0b, 0xfefd0202, 0xfe04fa03, 0x101f9f9, 0xe000601, 0x3000410, 0xe8f325ee, 0x1001ff00, 0xffff0100, 0xfd, 0x4ff03ff, 0x214df06, 0x1020207, 0xf604fafb, 0x2fc0204, 0x5000405, 0xfc00ff0a, 0xee000002, 0x30cff0a, 0x208fe00, 0xfd030703, 0x11141d31, 0x931fe17, 0x1fffe, 0xfefc02fe, 0xfdfc00fc, 0xfffffdfd, 0xfdfdffff, 0xffffff, 0x1010000, 0x10000, 0x30001, 0x20001, 0xfeff01ff, 0x100fdfd, 0x3000100, 0x2ff02fd, 0x4fef627, 0xcefe0603, 0x1070404, 0xf1fd3e00, 0xfc01fd00, 0xfeff, 0x20002ff, 0x500b6fd, 0x7fc0401, 0x505f4fd, 0x6000100, 0xbff, 0x1fc0c04, 0xfcf8fcf7, 0xfb00, 0xf9fc00ff, 0x303fefa, 0xfffb01fe, 0x2fe01fc, 0x808f808, 0x808fb07, 0x2f9fffd, 0x7fb05ff, 0xf9f506fe, 0x703ff16, 0xb0cf007, 0x101bfa12, 0xef15fbe8, 0x70e122e, 0xeefef9db, 0x30f011c, 0x723e6ed, 0xf7e01131, 0xf20bf0fa, 0x5f90d09, 0xfadb05e8, 0x2c04ecfc, 0xfcf4e5ce, 0xfffd, 0xfc0003, 0x7ff03, 0xfefdfcf2, 0x4fd0704, 0xfffefdfb, 0xfcf504f4, 0x4f804f8, 0x4fc0c04, 0x4040303, 0xfafd0301, 0xfd00fa07, 0xf810060e, 0x7070707, 0xf8fafdf8, 0xfffa0500, 0x408fcff, 0xf8fd00fb, 0x804eff6, 0xc02010c, 0xf7fefafa, 0x30009f9, 0x206f900, 0xf5feff07, 0xf800ff02, 0x8ff01f7, 0xfdf203f8, 0xfdf903fd, 0x1020001, 0xa08f908, 0x3702fbff, 0xfe00ffff, 0x1020000, 0x4010302, 0xbe000a00, 0xfdf8f8f7, 0x4fd03ff, 0xfe00fffc, 0x10200fa, 0xfffcfffb, 0x40af9ec, 0x3cfd0101, 0xff00feff, 0x2000000, 0x1fe03fd, 0x4fff526, 0xda020404, 0xfd03f5fe, 0x603f903, 0x8fd08ff, 0x3ff04ff, 0xfa11f3df, 0x3201fe00, 0x1fdfd, 0x3000000, 0x1fd03fd, 0x4fff818, 0xe7fe01fd, 0xf1f8f7f5, 0x3f60d01, 0x1fd06ff, 0xfafd0301, 0xfb0ef503, 0xfdfdfbf9, 0xf703fc, 0x5042825, 0x10240007, 0xfdfbfffc, 0xfdf902fc, 0xfefcfff9, 0x1fdfffc, 0xfffcfefd, 0xffff0000, 0x1, 0x0, 0xf9f9e3dc, 0xe7c3f9bc, 0x9c51ee3, 0x1c010101, 0x3, 0xffff01ff, 0xfd04ff, 0x3fe020a, 0xdb17e9fa, 0x3fcfcf4, 0xf7fa42fe, 0xff01fc00, 0xffff0102, 0x301, 0x2febf07, 0x404fcfc, 0x4fbff06, 0x2020001, 0xff000c01, 0x9fd, 0xfefffe01, 0x203f901, 0xfc040004, 0xfdfeffff, 0x303fdff, 0x1fe0603, 0xa05fa07, 0xfefd0c0e, 0xfa060108, 0xfbfcfef5, 0x703fffc, 0x1f6fbf2, 0x5ec0f0b, 0xfb2122, 0x73add1c, 0xe4f900e7, 0xc05f1fd, 0xfcf61b10, 0x141de920, 0xf21b3943, 0x152eb4d, 0xe129122e, 0xf226e708, 0x14f01317, 0xf20dd7ff, 0x2ff, 0xfaf90a03, 0xf5f80c05, 0x40b000f, 0xf803fbf7, 0x1f900fc, 0x303fdfc, 0x1f902f7, 0xfef10ff4, 0x100000fd, 0xfd00fefb, 0xf4f2fdf5, 0x4010803, 0x8040300, 0xf6fe0001, 0x2040100, 0x400ff03, 0xfc07fd04, 0x1fd0210, 0xf2f60c01, 0xfa04f903, 0x7fe, 0x501f800, 0xf500ff00, 0xfc04fc01, 0x5fefffc, 0x3020100, 0x306fd00, 0xff0302, 0x901fe06, 0x3100fc01, 0xfd000001, 0xffff0100, 0x1fd0600, 0xbdff05fa, 0x300f7ff, 0x1fc04fd, 0x302fcff, 0xfdfb0803, 0xfc000102, 0x301f4fc, 0x1cdc2500, 0xff00ff01, 0x1000000, 0xff0400, 0x1fd050d, 0xdf12f301, 0xfbfff600, 0x3fdfd01, 0xfff809f9, 0xfff507f8, 0x503f303, 0x12e31b00, 0x3, 0xffff0100, 0xff0400, 0x3ff0209, 0xea0cf1fc, 0xf4fffc04, 0x1020b00, 0x30201fd, 0xf8fb04fc, 0xfdfef6ff, 0xfe00fd02, 0xfbfd0a04, 0x31300810, 0xfdfdfefb, 0xfefcfffc, 0xfffffc, 0xfe00ff, 0xfefcfffc, 0x1feffff, 0xffff, 0x100ffff, 0x100f1f1, 0xcfc703e7, 0xfefe0207, 0xf9f7fdd6, 0xcc637fc, 0x4000000, 0x10000, 0x1fd, 0x3fd03fe, 0xfe21ce06, 0xfd00f9fd, 0xfc024202, 0xfafdff00, 0x1ffff, 0x1000300, 0x402c508, 0x307f904, 0x1, 0xff00ff, 0x1004, 0xfbff02f8, 0xfff90803, 0x1fc04, 0xfd05fe03, 0xfd03ff03, 0xfafa00fd, 0x7030300, 0x2f8fffd, 0xfbfa04f2, 0x5fd00fc, 0xf8f90c07, 0xfffffefe, 0x2fffe02, 0xc09f7f1, 0xe1d204b5, 0x3fed0b1b, 0xa41e728, 0xe9051226, 0xf11bf9f9, 0x361bce00, 0xe2f0f8af, 0x28d6f1dc, 0x231eceda, 0xdf50210, 0xfcf8d9be, 0x2cef9f0, 0xfbfd, 0xf8fb0dfe, 0xfa030d04, 0x303fafd, 0xff04fb04, 0xfd000101, 0x402060b, 0xfd07ff04, 0xf9ff0cfc, 0x1400fbfb, 0x200fe00, 0xf905f901, 0xb080505, 0x30000fd, 0x7fc03, 0x4050004, 0xfdfdf7f5, 0x801fc00, 0x1000604, 0xf20404fc, 0x2f700, 0x5fe, 0xb04ebf7, 0x2fe01, 0xfe03f900, 0x7020205, 0xfcfe00fd, 0x3fdfcfc, 0x5010301, 0xfdf50a01, 0x2efeff01, 0xfc000000, 0xfeff0200, 0x40301fe, 0xbf000803, 0xfdfdfa00, 0x908fd01, 0xfffd0001, 0x105fefb, 0x403fdff, 0x501fa07, 0xf4df3ef8, 0x902fe01, 0xffff, 0x10001fd, 0x3ff04fe, 0xfd1cd2fb, 0xf9f90306, 0xfe01fbff, 0xffff09ff, 0x40400fd, 0x5fdfb05, 0xf1e433fc, 0x4000000, 0x10000, 0xfc, 0x4fd04ff, 0xfd12e304, 0xedfdf7f8, 0x8ff0c00, 0xfdfaf7f0, 0xf8f9ed, 0x6f6fdfd, 0xff0507, 0x4102b31, 0x505fffc, 0xfffefdfd, 0xfffefefd, 0xfffc00fd, 0xfd00fd, 0xff0000, 0xffffff, 0x1000001, 0x1, 0xfdfdc7d3, 0x70b060e, 0xfe0efe0a, 0xfe0ffe10, 0xff0305d1, 0x33000000, 0xffff0100, 0xff, 0x3ff02fe, 0x303e91e, 0xd6f70a08, 0xf5013ffe, 0xff03fc00, 0xfeff, 0x2000401, 0x1fec3fc, 0x801f5fd, 0x3000303, 0xfd000404, 0xff030d00, 0xfc0100ff, 0x1f9, 0xf9fffc, 0xfdfc0200, 0x306fe05, 0xfd08fe06, 0x4030101, 0xfdfc02ff, 0xfd01fcf9, 0x4f80901, 0xfb040901, 0xfe00fdff, 0xfdfa0703, 0x8ff040c, 0xf7220927, 0x3ebfbdb, 0x2d31804, 0x1b141d, 0x32fdd13, 0xd0ade1c0, 0x2b09edfe, 0xf6ccf9d4, 0x10c1fff2, 0xfde2e8c8, 0xbd71d1b, 0xfc15314d, 0xff00, 0xff0705ff, 0xfc0109fd, 0xfff9fffe, 0x100f9fe, 0x10202, 0x1513f805, 0xf5fdfffd, 0x4080d09, 0xaff0206, 0xff03fc01, 0xfd05f602, 0x2f906fa, 0x5fc0703, 0xfd000004, 0xfbfbfdf8, 0xfcf7ffff, 0x5fc0404, 0x4070001, 0xf504f9f9, 0xa03fb07, 0xfc0301ff, 0x5f9f200, 0xfafa0602, 0xfafefaff, 0xfaf20afa, 0x806fe04, 0xf6f702fd, 0x7ff02fe, 0x20300f9, 0x3500feff, 0xfd00ffff, 0x1020000, 0x3ff0402, 0xbd000b03, 0x107f805, 0xfdf903ff, 0xffff0100, 0xfffefdfd, 0xf90400, 0x702020a, 0xf0060ed6, 0x32ffff00, 0xfeff, 0x20000ff, 0x3ff01fc, 0x403e819, 0xdcfc0801, 0x3fb03, 0xfe020a03, 0xff0605, 0xfffffbff, 0xf2000bd8, 0x2f03fd00, 0xfffffffe, 0x2000000, 0x3ff02fd, 0x303f313, 0xe80ef50c, 0xf8fc01f1, 0xfef201fc, 0xfffb0507, 0x8090511, 0xf7080306, 0x20221007, 0xfdfffcfc, 0xfffcfefd, 0xfffd00ff, 0x0, 0x0, 0xffff0100, 0xffff0101, 0xfffffffe, 0x2000000, 0xe4e7e707, 0x5050403, 0xf9fe0202, 0x2060109, 0x610e8f3, 0x2beb1601, 0xff01ffff, 0x1000000, 0xfd04ff, 0x3ff0218, 0xd214f903, 0xecfa4702, 0xfcfffd00, 0xffff0102, 0x3ff, 0x200c704, 0x501fa06, 0xfe010705, 0x109fb00, 0xfcfd09f9, 0x603fd00, 0x4040003, 0x306f5fc, 0xf3f205f5, 0xf207fb, 0x1ff0001, 0x401fcfc, 0xfffe0501, 0xf8fcfdfd, 0xf903f3, 0xf07fdfb, 0xfdf9f9, 0x3fffff7, 0xf8e7f2d5, 0x36140a15, 0xe3f5f7f1, 0x5f4f4d0, 0xebbbea91, 0xc9a1bd8, 0x141c1853, 0xf37014b, 0xf54ae738, 0xe40c212e, 0xf324fd39, 0xd705f1d9, 0xffdc0cb7, 0x6fb, 0x5010400, 0xfd01fff7, 0xfff702fa, 0xfaf30903, 0x306fd01, 0x14000008, 0xfb0efe0d, 0x7100306, 0x5010302, 0xfafdfeff, 0x406f909, 0xf7fe01f9, 0x9fd08fe, 0xff00fdfd, 0xf6f8faf5, 0x6ff0101, 0xfdf908fd, 0x700ffff, 0xfd07f1ff, 0xafffd01, 0x50509, 0xf3f7f8fd, 0x30300, 0xfe04f701, 0xfb0205fd, 0x8fd0302, 0xf9050003, 0x804ff01, 0x605f6fb, 0x3a00fe00, 0xfd000001, 0xffff0100, 0x1fe0600, 0xbe010b01, 0xf4fc, 0x4030707, 0xfe06fc01, 0xfafcfaf9, 0xf907fc, 0x5fa0a02, 0xfa0cf2f0, 0x2cea1601, 0xff00ff01, 0x1000000, 0xfd0400, 0x3ff0219, 0xcc09f7f8, 0x1f9fffd, 0x40304fd, 0x8050100, 0xff00fc01, 0xff0ee9ec, 0x30ed1101, 0xff01ff01, 0x1000000, 0xfd04ff, 0x3ff020e, 0xe208fa0d, 0xef04f7fa, 0x120e1825, 0x13390539, 0x233fd2b, 0x340031, 0xfd0efefc, 0xfdfcfdfd, 0xfeffff, 0xffff0100, 0xffff0100, 0xfffffffe, 0x1000100, 0x1fefe, 0x1000102, 0x303, 0xd5f4f1fe, 0x70000fc, 0x1040204, 0xfdfffdfb, 0xb00f30b, 0xf8d83dff, 0x1, 0xfefe01ff, 0x10001fd, 0x3fd04ff, 0xf522d3fc, 0xf40441fe, 0xff01fc00, 0x1ffff, 0x1000300, 0x200c700, 0xb06f804, 0x1070000, 0xfdfcfbfc, 0x40404ff, 0x801fc00, 0xfcfdf9, 0x7fdf0f8, 0xfb0003fe, 0xfdfb0d01, 0xfdfd0300, 0x1fd0203, 0xfe020300, 0xfc04fc03, 0x3f8f8, 0x8f109fd, 0x300f4fb, 0xfcf41005, 0x10e2440, 0xdfe9f8d7, 0x14080011, 0xe9f5f6f7, 0x2e3ad222, 0x81e1c1f, 0x51000f8, 0xfce5f8dc, 0xdf4c3d0, 0x8f4fdd0, 0xfec1403, 0x133fd927, 0xfc24071f, 0xd06, 0x607fafd, 0x303fc00, 0xfbfcfff9, 0xa090808, 0x5fc04, 0xcfc0501, 0x6fe06, 0xfdfcfcf5, 0x4f400f1, 0xfcf301f6, 0xf01f901, 0xf6000201, 0xb0303fe, 0x504f8ff, 0xf4fdf9fc, 0x3f904fc, 0xfffbf2, 0xaf50a00, 0x104ef02, 0x6fe0809, 0x9fafe, 0xf4fffa01, 0x7080409, 0xf904fa07, 0xfd09fd01, 0x8010402, 0xfe07fa01, 0x700f9fa, 0xe02f2fe, 0x3e02fd01, 0xfc00fefe, 0x2010000, 0x40301fe, 0xbfff0d01, 0xfefff1fc, 0x4fcfff4, 0x1f700fb, 0xf9faf7f7, 0x7fe0a01, 0x3ff07fc, 0x204fb0d, 0xf5d63fff, 0x1, 0xffff0100, 0x1fd, 0x3fd04ff, 0xf427cfff, 0xfefc02ff, 0x2fd00f9, 0xeff0200, 0xff00ff03, 0xfafefa0f, 0xdf3200, 0xff000001, 0xffff0100, 0x1fd, 0x3fd04ff, 0xf916e3ff, 0x7171838, 0xa30ff17, 0xff0300fe, 0xfefa02ff, 0xfefdfffc, 0xfffefdfd, 0xfdfdffff, 0xffffff, 0x1010000, 0x10000, 0x10002, 0x10000, 0xffff0102, 0x10000, 0x401, 0xcdf9fa02, 0x2fd0300, 0xff00fd, 0x404fd04, 0x6fffa06, 0xf40217dc, 0x2501ff00, 0x20001, 0xff, 0x40001fd, 0x30bdf17, 0xe1043d00, 0xfefffd00, 0xfefe0201, 0x401, 0x302c2fd, 0xbfd0308, 0xfe050207, 0xf802f8ff, 0x5000501, 0xf902ff, 0x403fd03, 0xfdf9f700, 0xfc01fcfa, 0xb080904, 0xf900fffc, 0x3fe01fd, 0xfdfc02fb, 0xfaf90300, 0xfbfbfd00, 0xf808f7, 0xbff010c, 0xf70702f9, 0xb03f8d7, 0x1f17fd1c, 0xf1f902fb, 0x113e401, 0x5d8242a, 0xf315f5ee, 0x12fb0904, 0x141ce004, 0xfcf31747, 0xed2c0130, 0xf718e9ed, 0xe6c00ef5, 0x2019f204, 0x606, 0xfdfdfcff, 0x3ff0508, 0xf805040a, 0x4040501, 0xfcfd0f10, 0x80c0108, 0xff07f4fd, 0x101060b, 0x70209, 0xfb08f3fa, 0xdf80504, 0xeffd0702, 0xd04f9fa, 0x7fcfc00, 0xf703f903, 0x1010603, 0xfd00fc01, 0x3fa0afa, 0x4fdf604, 0xfcfa0afc, 0xfbf700fd, 0xf8010007, 0x404ffff, 0x6ff0b, 0xfe0cf807, 0x302fefc, 0x2000208, 0xfeff0e14, 0xfb01effe, 0x3efefeff, 0xfd00ff01, 0x1000000, 0x3ff0200, 0xc3040c03, 0xf9fef603, 0xfefd0200, 0x1000101, 0xfb03fb07, 0x4040600, 0x300fff8, 0x5fb0000, 0xf4ff18d8, 0x2b03fd00, 0x1fdfd, 0x30000ff, 0x40003ff, 0x20dd614, 0xe5fb0700, 0xfefc0602, 0x9fd04ff, 0xfcfc0704, 0x50f0116, 0xf0060fe3, 0x1f03fd00, 0xff00fffe, 0x20000ff, 0x3ff02fd, 0x307f81c, 0xc21ff08, 0xfefcfffc, 0xfdfffc, 0xfefc00fa, 0x1fdfefc, 0xfdfa00fd, 0xffff0000, 0x1, 0x0, 0xfcfce4e0, 0xedcdfac7, 0x6cd17e4, 0x19fe0300, 0x0, 0x1010300, 0xdb0ef206, 0xfe020504, 0xff030407, 0xfd000104, 0xfefc0406, 0xf608f3e4, 0x38f70800, 0xffff, 0x1000000, 0xfc04ff, 0x3fffa1a, 0xcb0438ff, 0xff00fd00, 0x2ffff, 0x10001fd, 0x600c1ff, 0xc0000fd, 0xff0502, 0xf802f701, 0x804fcfb, 0x4ff0805, 0xfcfd0303, 0xfe04f300, 0xf8fc0c0c, 0xfdfe06fb, 0x507fb03, 0xfdfd00fc, 0xfcfb03fc, 0x103fdfd, 0xfe000104, 0x400fc, 0xf00fffe, 0x50ceef8, 0xf7e4f4e0, 0xc11ce0, 0xebda0de5, 0xe4eded, 0x230bf4db, 0xf4dc04eb, 0x30091818, 0xebef0a19, 0x21f0a12, 0xeb10f0ff, 0x141cf023, 0xb48da14, 0xf2e6f5e9, 0xfafe, 0xfbfc0404, 0x1fcf8, 0x404ffff, 0xa05fdfd, 0xf100a0b, 0x3fafc, 0x2fff500, 0x1000600, 0x2020303, 0xfd05f204, 0xa0102fe, 0xedfc1409, 0x1fdff03, 0xfffb0605, 0xf402fb04, 0x30401, 0x80cfd0d, 0xfb050500, 0x602f905, 0xfd0603ff, 0x4fc00, 0x30bfd08, 0x4fd02, 0xff010406, 0xf4fcff03, 0x103, 0xfdfe0703, 0xb10080a, 0xfe0dec0a, 0x3602fbff, 0xfe000001, 0xffff0100, 0x2ff0502, 0xc1000bff, 0xf9fff902, 0xff030506, 0xfaff0402, 0xf6fd0204, 0x5050807, 0xfc00f8f9, 0x4f800f8, 0x4f9e5, 0x3af40a01, 0xff000003, 0x0, 0xfc04fd, 0x3fefe26, 0xc7080102, 0x206fafa, 0x6f70cff, 0xfe010802, 0x6030103, 0xf70aece7, 0x2ef60700, 0x10002, 0xffff0100, 0x1fe02fe, 0x4ff0007, 0xfffa01fc, 0xfefcfffc, 0xfcfffc, 0xfefefc, 0xfb02ff, 0xfdff00ff, 0x0, 0xffff0100, 0xf5f5, 0xd3cc00e8, 0x803040d, 0xfc03f4e0, 0x4cb31f9, 0x7000000, 0x3020100, 0xf419d4fb, 0x8050303, 0xfe02fffd, 0x404ff02, 0xfd010401, 0xfc07f408, 0x4d43501, 0xff000001, 0x0, 0x3ff, 0x1fd0104, 0xe9221600, 0xfdfeff00, 0x1, 0x403, 0x1febbf8, 0xffbfef9, 0xfbf400ef, 0x8ff040c, 0xfc00ff03, 0x50401fd, 0xff0000fd, 0xfffe040f, 0xf0070904, 0xfd040402, 0x2fff9fd, 0x707fe05, 0xfc05ff01, 0xfdfd0707, 0xfc050004, 0x1050207, 0x1f905ff, 0xfbf51a21, 0xe6100420, 0xf414e4dc, 0x5f60bf4, 0x180c1332, 0xd1e01703, 0xeefd03fc, 0xf7c31ac5, 0xbe509e4, 0xeacc08ca, 0x12f1e7e8, 0x28fcf804, 0xfcf5001b, 0x12aee23, 0xfefe, 0xfe010603, 0x80bf504, 0xfdfd0806, 0x2fe0102, 0x11040600, 0xf9f90706, 0x105fc0c, 0xeffa09fd, 0x500fefb, 0xfcfaf901, 0xf7fff4, 0x50c0901, 0x202fafd, 0xfefc09ff, 0xfb06f500, 0xfcfc0800, 0xc04030a, 0xfa090206, 0xfefefb00, 0xff0200ff, 0x504fd05, 0xfcfe0001, 0x203fa00, 0x708fc00, 0x410f708, 0xf6fe0401, 0xfe020500, 0x1106fffd, 0xfffef507, 0x2f00fc01, 0xfd000000, 0xfeff0200, 0x3010400, 0xbdfc07f8, 0xfdfcfcff, 0x4ff, 0xff04fbfb, 0xfe030708, 0xfe01fff8, 0xfc080c, 0xff07f8ff, 0xfefd060a, 0x2d23800, 0xff00ffff, 0x1000000, 0x3ff, 0x2fe0303, 0xe824e003, 0xff00fe04, 0xfe02f4, 0x9ff0b02, 0x1fd01fd, 0xfb01f106, 0x3db2d01, 0xff000000, 0x10000, 0xff01fe, 0x2fc01fd, 0xfefffc, 0x1fffdfd, 0xfffc01fe, 0xfffd00ff, 0xff00fd, 0x0, 0xffff0100, 0x10000, 0xcfda, 0x2090b14, 0xff0bf900, 0x408f90d, 0xf3fc08d3, 0x34000000, 0x3000100, 0x410db17, 0xeaf903f9, 0x3fe0504, 0xfdfe, 0x304fdfd, 0x203f908, 0xedf12eea, 0x1601ff00, 0xffff0100, 0xfd, 0x3ff01ff, 0x16fdfd, 0x202fd00, 0xfffffffe, 0x20003ff, 0x200be03, 0x9fdfcfb, 0xffff, 0x1f81004, 0xfb03fd01, 0x905fd01, 0xfe00fcfc, 0x1fe04fe, 0xe8f60af7, 0x4fe01fb, 0xfbf4fef9, 0x1002060a, 0xf806fe05, 0xfa0201fc, 0xffff0201, 0x3030001, 0xfdfd0b03, 0x1018fdfb, 0x3180418, 0xe408f81c, 0xf50c0607, 0x2211cbc9, 0x241c0005, 0xfb120d1c, 0xf81de9ec, 0x2e316f0, 0xe6ec11f5, 0xfcdf03fb, 0xedc028f0, 0xf1e513f8, 0xb02ee02, 0xfa02, 0x2060101, 0x902ff0c, 0xfb0a0002, 0x1010000, 0x4f310fd, 0xfd0103fd, 0xfdf90704, 0xf00500fc, 0xf700f9, 0xf4f104fc, 0x5010709, 0x509ffff, 0x300fd03, 0xff0402fd, 0xfbfdfc04, 0x80404, 0x8000401, 0xff06fafe, 0xfafafdfc, 0x1fefefc, 0x5fc0403, 0xff06fd03, 0xfcfdfcff, 0x7fffcff, 0x601fb05, 0xfc0b030a, 0xfd090307, 0xa000304, 0x5f000, 0x2dfefe00, 0xfd000000, 0xff010100, 0x30002fe, 0xc00104fe, 0xfbfc0101, 0xa0bfa01, 0x305f2fc, 0x3010802, 0x307fc04, 0xfc000d05, 0xfb01f4fd, 0x7060202, 0xf6f629e7, 0x1901ff01, 0xffff0100, 0xfd, 0x4ff03ff, 0x219cf08, 0xedf602fa, 0x4fe01fd, 0xd010c02, 0xff00fcfb, 0x303f80a, 0xecf329ef, 0x10000000, 0xffff0100, 0xff, 0xfd01fd, 0xfffc01fe, 0xfffc00ff, 0xfffe, 0x1000000, 0xffff0100, 0xffff0100, 0xff00fffe, 0x2000101, 0xe8e9e2fc, 0xe080b08, 0xf5fefaff, 0x500040b, 0xff17ecfb, 0x1de41d01, 0xfe0300, 0x3fffa1e, 0xcafe0904, 0xfeff0600, 0x306, 0xfafdffff, 0xfdfc00, 0xf90cfad8, 0x3dff0000, 0x1fdfd, 0x3000000, 0xfd01fd, 0xfdffff, 0xfd0000, 0x1ff01, 0x1000401, 0x100be00, 0x5fc0101, 0xfeff0101, 0xdfd, 0x204fd04, 0x1fcfffe, 0xfcfcffff, 0x6040707, 0xf716010d, 0xfc05f3f7, 0xfefa0703, 0xf02fefa, 0xfcfeffff, 0xff04fe01, 0x204fe00, 0x300f5f5, 0x3fb1404, 0x1004040b, 0xf4fcfff7, 0xfa0df60b, 0xe5fb01f6, 0xface1a1d, 0x8010f10, 0x182de101, 0xfa030c26, 0xd31ec07, 0x2142d607, 0x222df822, 0x1a4fda01, 0x919161c, 0xf708f610, 0x2fe, 0x2fe02ff, 0x9ff0808, 0xf4010001, 0xfdfd0a07, 0xfcff0af9, 0x3ff01fd, 0x20202fd, 0xfb08fc04, 0x105e7ec, 0x5fd03fc, 0xb020d08, 0xfbfe0100, 0x401fc00, 0xfcfd0803, 0xf901fe03, 0xfe010704, 0x400fdf9, 0xfff9fcfb, 0x10105, 0xfafe0101, 0x8040000, 0xfcfdfcfc, 0xfffffe01, 0x4fe0608, 0xf9fb0000, 0x40001, 0x105ff01, 0xf700f4, 0x7fbf1fc, 0x3302fbff, 0xfe000000, 0x10000, 0x4010100, 0xc3030706, 0xbfa04, 0x600fd03, 0xf503, 0xfefe08fe, 0xfb00ff, 0xfcff06f8, 0xfefbfd04, 0x9060206, 0xfd0df8dc, 0x3bfe0100, 0x10000, 0xffff0100, 0x1fd03fd, 0x4fff525, 0xcb030304, 0xfdfd0501, 0xbff03f6, 0x1f80703, 0x505f906, 0xf30df8dc, 0x34000000, 0x10000, 0xffff0100, 0xff, 0xff, 0xffff0100, 0xffff0101, 0xffff0100, 0xff00fffe, 0x201ffff, 0x101ff01, 0x1000302, 0xddf7f50a, 0x3ff00f4, 0xfcfbf8f9, 0x1f507f8, 0x3fcf606, 0xf7e03afd, 0x30002ff, 0x2fe0307, 0xe11ee7fc, 0xfcfa1105, 0x308fb00, 0xf9fffcfc, 0xfcffff, 0xfc02fa02, 0x16db2601, 0xff000003, 0xffff0100, 0xff, 0xff0000, 0x0, 0x1, 0x3ff, 0x200bf01, 0xc080007, 0xf7000504, 0x5090602, 0xfbfb0200, 0xff0808, 0xf1fd0301, 0xf0af8fb, 0xf2f6fef3, 0xfaf100fe, 0x6060201, 0x7f9fffa, 0xfdfb01fd, 0xfffd0403, 0xfcfd0100, 0x1fef6ff, 0x3ff1904, 0xfcf00af6, 0x204eff4, 0x1fb0b10, 0xfa25eb0f, 0xc21040b, 0xfe01ebdd, 0xf6bb300a, 0xfe0e0b0d, 0xf8f80410, 0xfdece6fc, 0xe0ba05c7, 0x9b63a16, 0xe5f211ed, 0xb01010c, 0xf901, 0x1000200, 0xa0103fc, 0xf9010203, 0xfd0300f9, 0x1fe06fa, 0xf708fe, 0x602ffff, 0xf4f80501, 0x303eb07, 0xfcfe0500, 0x4f910fc, 0x102feff, 0x904f5fd, 0xff000800, 0x7fc05, 0x30a0104, 0x306, 0x108f905, 0xfafffcfa, 0x202fbfc, 0x5f906ff, 0xfd00fd01, 0x709030e, 0xfd07f9fa, 0x809f700, 0xffff, 0xfdfb03ff, 0x2010708, 0xfcfdedf9, 0x38fefe01, 0xfd00ffff, 0xfffe0200, 0x3ff0402, 0xc2010e08, 0xf5fd0003, 0x1fe0203, 0xfe01ff0b, 0xf805f5f2, 0xbfd00fd, 0x102fcf8, 0x3fd0303, 0x6000705, 0x810ef07, 0xeda2801, 0xff000000, 0xfeff0200, 0xff0400, 0x1fd050d, 0xd91be5fd, 0x4040302, 0x2f903f9, 0x800fff8, 0xfdf005fc, 0xff08f404, 0x10e02101, 0xff000000, 0xfeff01ff, 0x100ffff, 0x100ffff, 0x1010000, 0xfeff0200, 0x10000, 0x10002, 0xffffffff, 0x2000001, 0x401, 0xd8fcf7fe, 0x500f9f9, 0xfefb0104, 0x306fcfb, 0x2fafbff, 0xf80011d7, 0x2e02fefe, 0x3ff03ff, 0x11fcf07, 0xf90404f7, 0xc00f5fa, 0xff00ff03, 0xfafd00fe, 0xff010007, 0xf0e13cf7, 0x8000000, 0x10000, 0x0, 0x0, 0xffff, 0xfffe01ff, 0x1000401, 0x100c304, 0x800fdfd, 0xfc020805, 0x3030401, 0xfc020303, 0x10400fc, 0x40ff400, 0xf9ea03f5, 0x4070009, 0xf807f8ff, 0xc05070a, 0xfe01f3f5, 0x4fc00fb, 0xf7f309f8, 0x3fffcfa, 0xfdf6fdfd, 0x7010cf4, 0x4fc08fa, 0x4fcfc09, 0xfd05100a, 0xb1b0333, 0xd1f808fc, 0xc0a1534, 0xfc3a0b15, 0x71efd10, 0xc24f313, 0xe9ff0922, 0xdc1e132c, 0xfb1efade, 0x2c250b1f, 0x418081f, 0xfe01, 0x2020101, 0xc03ffff, 0xf6fc03fd, 0xfdfdfffc, 0x4ff04fd, 0xf6f306f1, 0x14ffffff, 0xfa050606, 0xf9fcf809, 0xf5020300, 0x4000cfc, 0x8030005, 0xfdf9fc00, 0x6070504, 0xfc000105, 0xff010303, 0xfe01fffd, 0xfcfd00, 0xf8feff01, 0x706010c, 0xf9000a04, 0xfe05fb03, 0x1fd03fd, 0x707f806, 0x1fffc04, 0xfbfffefe, 0x2030202, 0xffff03fb, 0x201eafe, 0x3c02fd01, 0xfc000001, 0xff010100, 0x2ff0500, 0xc1ff1102, 0x20ffa09, 0xfa02fdfd, 0xff0000, 0xff07f608, 0xfbf80c04, 0xff020208, 0xfb0000fd, 0xc030400, 0xd05fb11, 0xe1e439f5, 0xa000000, 0xff010100, 0xfc, 0x4ff04fe, 0xfd22ce0b, 0xfa010301, 0xfbfa0900, 0x1f9f8f2, 0x4f9fef2, 0x8fb050c, 0xe8e434f7, 0x8000000, 0xff010101, 0xff00, 0x100feff, 0x1ff0100, 0xff01e6e5, 0xebd0f8c8, 0x5cd17e4, 0x19fe0302, 0x0, 0x1010300, 0xe008f001, 0xc08f706, 0xf6fe02ff, 0x1fdfdfe, 0x6020007, 0xfa09f6ee, 0x30f00e00, 0x2ff02fe, 0x300d90a, 0xfb0cfb03, 0x6fdf7ff, 0x101fcfe, 0xfbff0807, 0xfc040105, 0xf30808d4, 0x3703fd00, 0xfffffffe, 0x1ff0100, 0xffff, 0x100ff00, 0x1020001, 0x3ff, 0x402b9f8, 0x1101f7fb, 0x4030a05, 0x204ffff, 0x508fc01, 0x303, 0xfaf90207, 0xfd0bfc04, 0xf5f502f7, 0xfaf90304, 0xd0500fe, 0xfefef601, 0xfefb0601, 0xf60006fd, 0x2fc0202, 0x80dfa0a, 0xf8fb09f8, 0xc00f9f1, 0xffec01f1, 0x3f7f0d7, 0x17e311f1, 0x525ea07, 0x140ff6f0, 0x1206e0db, 0xe3b713cd, 0xecf05e1, 0xe5dd0fe3, 0xecf315f5, 0xfaf4120c, 0x1efee1d4, 0xd005cd, 0x2fe, 0xfdf90c04, 0x800fbfc, 0xf9ff0400, 0xc0ffb0b, 0xfa01fbf8, 0x305f6f5, 0x16f70901, 0x7fcfd, 0xf4f80303, 0xf907f9fd, 0x6ff0d00, 0x4fcfffb, 0x1ff0407, 0xff00fef9, 0x30000ff, 0xfdfd02fc, 0x1fffdfd, 0xfefbfefc, 0x105f7fd, 0x2f801f8, 0x10008fe, 0x101ff05, 0xfe0200ff, 0x3fb0205, 0x408fc08, 0xf805fc03, 0x100ff, 0x1fe, 0xfefaf101, 0x39fefeff, 0xfd000000, 0x10000, 0x30102fe, 0xc2ff0dfb, 0xc05030e, 0xf60afb08, 0xff07fa01, 0xf7f9ff02, 0x108f9f5, 0x4fa0a02, 0xfd04fc00, 0x5f906fb, 0x5f3fdf5, 0xf30704d2, 0x3b03fd00, 0x10000, 0x0, 0x3ff02fd, 0x303eb20, 0xdd030000, 0x50a0708, 0xf3faf9fb, 0x8ff0102, 0xf090105, 0xf310fbd7, 0x3201ff00, 0x1ffff, 0xfffe0201, 0xffff0102, 0x1fcfc, 0xcfccf9df, 0x9fd0308, 0xff02f5e0, 0x3ca31f8, 0x8000000, 0xff0400, 0xf919db04, 0x1008f809, 0xf70afe06, 0xa0ff507, 0xf8f9fdf6, 0x602fa06, 0xffd53900, 0x20001ff, 0xf7f3def8, 0x704fc05, 0xf7f6fcfb, 0xfa00fe, 0x302fd, 0x1020203, 0xf707f0ef, 0x2fe71600, 0x10002, 0x1ffff, 0x100fdfe, 0x3000001, 0xfdfd0300, 0x1fe, 0x600b900, 0xbfaf9fc, 0x7ff05fa, 0x1f90600, 0x1fcffff, 0xfffe0500, 0xfd03fcfd, 0xf8fc, 0xff060206, 0xf6020403, 0xd03f9fc, 0x604f402, 0xfd010803, 0xf8050504, 0xfe00110f, 0xf1f8fbf9, 0x506fbf8, 0x4f007fe, 0xfaf9fff7, 0xbfff807, 0xfded1cf8, 0x1f12062e, 0xf29ec1f, 0xe7f4ed01, 0x1eff0a, 0xe6e23714, 0x13421144, 0xef47d507, 0xf0fd1500, 0xfadc211c, 0xf713fe0c, 0x705, 0xf7ff0afd, 0x6fbfdfd, 0xf4f81004, 0xb03fd05, 0x10cf607, 0xf9fdfb02, 0xefafff0, 0xfcec03f3, 0xfefd03fd, 0x307010f, 0xfc0507ff, 0xfef904fe, 0x2ff02fd, 0xfffdfffe, 0x1fc03ff, 0x103fdfe, 0xfefbfaf8, 0x3fd00ff, 0x503fb07, 0x50004, 0xfcff03fa, 0x9020003, 0xff040206, 0x306fc00, 0xfcfcfc, 0x408010d, 0xf401feff, 0x403090b, 0xf401f000, 0x3b02fbff, 0xfe00ffff, 0xfffe0200, 0x3000200, 0xc3010c00, 0x1105ff01, 0xfd08ff0c, 0xf704fd07, 0xeffff7f7, 0x5fbfe00, 0x2fe06fa, 0x300ff03, 0x200fef8, 0x1f400f7, 0x408f3f7, 0x26e21c01, 0xff00ffff, 0x1000000, 0xfd04ff, 0x1fd0416, 0xd30c010d, 0x60ef1f8, 0xfc01fc04, 0x1fd0602, 0xd000302, 0xfa09e4f2, 0x2beb1400, 0x1, 0xff010100, 0xfeff0200, 0x101cfd4, 0xfc011018, 0x413fb0b, 0xfd090115, 0xf30500d4, 0x34000000, 0x3030100, 0x30ae413, 0xf5f80000, 0x9010c, 0xfafcf900, 0xf8000407, 0x1fc03, 0xf9fd0ace, 0x15e1f9d9, 0xeed00dff, 0xf8fdf9, 0xfafcfefe, 0x402fcfe, 0xfffd03fe, 0x906fc00, 0xf4fdf502, 0x3d64000, 0x0, 0xffffffff, 0x2000003, 0xffff0100, 0xff020100, 0x302, 0x2febb00, 0x4f90101, 0x4fe02fb, 0x2fc08fe, 0xfffc0401, 0xfcfe05fe, 0x203f6fd, 0x300030b, 0xfe0afe06, 0xf10101fe, 0xcfd0206, 0xfafafb01, 0x401fd, 0xfb000803, 0xfc0104f4, 0xfcfff8fc, 0x4fb0303, 0xf6f5feec, 0x8fafdf8, 0x1ee07fd, 0xfcfc10f0, 0xf3c422e0, 0xfbcc18f8, 0xf001091d, 0xec09131d, 0xd70e09e0, 0xefbc0eb9, 0x2bf50424, 0xef23d0de, 0xfde10dcd, 0x17ed1403, 0x201, 0xf600fef4, 0x3f101f5, 0xff000cfc, 0x9fafffc, 0xfb0106, 0xfa07f905, 0xd04faff, 0xfd000805, 0xfc030303, 0xfefe0300, 0x105fbf9, 0x4ff03fe, 0x602ffff, 0x303fafe, 0x4010301, 0xfffff6f8, 0x3fd0003, 0xffff, 0x1fb0101, 0x203fd00, 0xfd010604, 0x2fdfffc, 0x805fd00, 0x603f8ff, 0x100f9fd, 0xfff802f9, 0x60bf502, 0xfe06fb, 0x108e901, 0x3a00fc01, 0xfd000001, 0xff010100, 0x4010100, 0xca070d08, 0x4fb03ff, 0x406fd04, 0xf401f1f5, 0xf7fd0107, 0x608fc06, 0x2060303, 0x405, 0x30005, 0xfd010203, 0xfdfcfb04, 0xfddb3cfb, 0x4000001, 0xffff, 0x10001fd, 0x3ff04ff, 0xf824d4f7, 0xfff00100, 0x4ff07, 0xfa000701, 0x11050305, 0xf702f00e, 0xf9dc3800, 0x0, 0x1ffff, 0x1020000, 0xf3f2d8fb, 0x11100c0c, 0xfb03f5fd, 0xffff0604, 0x213ee01, 0x14e12203, 0xfefe02ff, 0x2fe001a, 0xcef302f5, 0x6fb05ff, 0xfd02f6ff, 0xfd040404, 0xfc000004, 0x10c0204, 0xf9e8fceb, 0x40107fb, 0x4fffdff, 0xfd02fe02, 0x1fffe01, 0xff010402, 0xfff800fc, 0xfc04fc0b, 0xf3fb21dc, 0x2703fd00, 0x1ff01, 0x100ffff, 0xffff0200, 0xff00fffe, 0x2000300, 0x200bb00, 0xb07060c, 0xff07f7fc, 0xa04fefa, 0x50001fd, 0x304fffe, 0x1fdfc03, 0x4040001, 0x3f8fd, 0xf5010202, 0xf601f5, 0xfffa0100, 0xfdfdfdf9, 0x20004fc, 0x808f8fc, 0x101fe07, 0xf6f9f7ed, 0xf4eb09f6, 0xcfafffc, 0x4ff231b, 0xd2c0824, 0xf829e8ef, 0xece0f8c0, 0xfdf0ee4, 0x1109f6ec, 0xfc11f1f9, 0x7110c0f, 0xf8dcefc7, 0x1d9040d, 0x101013, 0xd7d3f9b8, 0x3, 0xfd0aff0b, 0xf8000403, 0x40800fc, 0x4f704fc, 0xfbf702f8, 0xfffdff03, 0xa00ff05, 0xf80004fc, 0xfcfc04fd, 0x302f9f8, 0xfcf305fd, 0x3fc0700, 0x2fc02ff, 0x5010007, 0x3f8f8, 0xfdf6ffff, 0x4000404, 0xfbfff4f4, 0x2f50afe, 0x2fe0203, 0x1070001, 0xf8f70c04, 0xfc0706, 0xf5f5fcf9, 0x800fc03, 0x1050306, 0xfdfdfd05, 0xfaff00f9, 0x5fdf307, 0x31feff01, 0xfc000000, 0x10000, 0x3ff0200, 0xd20801fc, 0xf8f0feeb, 0x6ed09f9, 0xf6fbf903, 0xfc08fb02, 0x2fe0406, 0xfe020100, 0x4040101, 0x708f800, 0x104ff01, 0xf8fc0102, 0xf8fd16d7, 0x3003fd00, 0xfeff, 0x20000ff, 0x40003ff, 0x108dc10, 0xe9fa0700, 0x808010a, 0x616fd0c, 0xfb04fc, 0x409f40d, 0xef0316e1, 0x2203fd00, 0xfefe0201, 0x101, 0xdfedf80d, 0x905fff8, 0xf5f2fcf9, 0x3fdfbf2, 0xfeee0606, 0xf4e632f6, 0x8000200, 0x2000303, 0xe71cdef8, 0x3f504f4, 0x3faf9fd, 0xfc, 0x1010203, 0x608070d, 0xf105020b, 0xfe050200, 0x3fffdff, 0x103ff04, 0x104fd03, 0x307fbfe, 0x1000101, 0xfb00fc00, 0xf906ffe4, 0x38f50800, 0x1, 0xfdfd0301, 0xff010100, 0xff000102, 0x300, 0x200c308, 0x9060606, 0xf900fd06, 0xa06f2fa, 0xfff40bfe, 0xfef900fa, 0xfef7f9f4, 0xfded07f4, 0x8fcff03, 0x210fc0a, 0xf8020203, 0x307050b, 0x513f90f, 0xff0c030b, 0x205fc09, 0xf6fefdfd, 0xfb02f601, 0xfa070503, 0xf06040b, 0x1080df2, 0x6eb02e5, 0xf4e1f3ec, 0x1010ef07, 0xe9e103d6, 0x15daf5d9, 0xfec2b26, 0xf413eef5, 0x300edfe, 0xf8f507f8, 0xf8f4dc, 0xfd02030c, 0xffff, 0x103f8fc, 0xfd010603, 0x908f0f8, 0xf400f0, 0x4f903fa, 0x4ff0101, 0xb02fd00, 0xf8000501, 0x207f9fc, 0xfdf6fffc, 0x40400ff, 0x7030501, 0xff0300, 0xfef90700, 0xfcfcfc00, 0xfbfe0100, 0xfc04fc, 0xf4f5f9fa, 0x7ff0c01, 0x4030001, 0x101feff, 0x10800fc, 0x1fd00f6, 0xf8f9fbf8, 0x3f30900, 0xfffefcf7, 0xfef800fb, 0x10b0c, 0xf3faf1f8, 0x3b02fafd, 0xff00ffff, 0xfffe0200, 0x4010100, 0xd301ffff, 0xf6fd0302, 0xfffb01f3, 0x401fd05, 0xf801fa00, 0x1fffcf7, 0x8010808, 0x105fe02, 0x1fcf8fc, 0x3fefdfc, 0xfbff0200, 0xf901fae5, 0x39ee1001, 0xff00ff01, 0x1000000, 0xfc04fd, 0x400ff23, 0xc60002fb, 0x11040508, 0xf7f9fbf7, 0xa01fefb, 0xfdf40707, 0xea02f6e2, 0x35f50800, 0x20000, 0x302, 0xd9fcf9fd, 0x1307f7ff, 0xf2fcfefe, 0x5000005, 0x7f9fa, 0xfb0108d7, 0x3302fefe, 0x2fe0500, 0x11ace0a, 0xfc03fffe, 0xfffafbfc, 0x4000000, 0xff0401, 0x4ff04fc, 0x30ef905, 0x70005, 0x305f901, 0xffffffff, 0x200fd00, 0x2ff0105, 0xff03fe00, 0xfb000307, 0x614f70c, 0x4d83101, 0xff000000, 0x30000, 0xff00fffe, 0x201ffff, 0x10002ff, 0x502bdfc, 0xbfe02fa, 0xff00ff02, 0x5fdfb06, 0xf5fc07f8, 0x5fffdfc, 0xfcfa0a0b, 0xfc0af5f8, 0x10000405, 0x3f8ff, 0xfb020606, 0x1040302, 0x300ff06, 0x108fd02, 0xfffff7fa, 0xf9fdfdfd, 0x6080517, 0xf411f905, 0xb01f9f6, 0xfaef06e8, 0xfbdd07e2, 0x18060d20, 0xfc0cf815, 0xd905fbfd, 0x2810fc17, 0xff070ae6, 0xfff11417, 0x14f81f, 0xc4eb280c, 0xf804fc0c, 0x1928fe23, 0x5, 0xf8fcf7fb, 0x6040200, 0x1f8f5fd, 0x3000303, 0xfdfc0902, 0x604fafd, 0x1002ff04, 0xf40003fe, 0xd09f404, 0xfc030307, 0xfe010708, 0xfcfd0800, 0x1fe, 0x202fef9, 0x300f7fb, 0xfefefffc, 0xfffb01f8, 0xf9fd0105, 0x20004f8, 0x8fc01fd, 0x2fefdfd, 0xfcf801f9, 0x7fffbfa, 0xf8faf6f5, 0x4f60bf8, 0xfcf5f9f2, 0xfff304f7, 0xb0201f8, 0xfb00edfc, 0x3dfeff03, 0xfc000001, 0xff010100, 0x3ff0200, 0xcaf702fa, 0xfe020100, 0xfdfe02ff, 0x1fc0706, 0xf604fb05, 0xf8fc0707, 0x50401fd, 0xfffbfffc, 0xf8f302fd, 0x2fcfbfa, 0x20100ff, 0xfc02fd05, 0x7d33f02, 0xfd000001, 0x0, 0x3ff, 0x1fc0502, 0xea26d9fd, 0x5f107f3, 0xfbf70905, 0xc07f801, 0xfc00fcf5, 0xf500f4fe, 0xbd43703, 0xfd000000, 0x1010301, 0xe109efff, 0x1400f700, 0xf1ff0102, 0xfffcfffb, 0x500fc03, 0xfd05f2ef, 0x2eea1602, 0xfefe03fc, 0x4fff425, 0xc8f11002, 0x3fc04, 0xfdfd, 0x5020200, 0xfcf80f03, 0xfdfd0004, 0xfc00ffff, 0x1fdfe02, 0xfe01ff01, 0xfefd0303, 0xf8f907ff, 0xffff0203, 0xff070105, 0x302fd08, 0xf0f428eb, 0x1501ff00, 0xfffffffe, 0x201ff01, 0x100feff, 0x2000301, 0x2febf00, 0xb00fefc, 0xfdfffd, 0x5fdf7f9, 0xfc000801, 0xfcf80702, 0x6fefa, 0x301f804, 0xc00fcf8, 0xf80000, 0xff040503, 0xfdff03ff, 0x4000001, 0xfcfc00ff, 0xfbfbf5f9, 0x505070f, 0x10a0207, 0xfd10fc13, 0xff07010f, 0xfc11f500, 0x60bf9fd, 0x5ea0be8, 0xfde9feef, 0xed03050d, 0x16fb0504, 0xc11d1d8, 0x3dc03cb, 0xf1bcfcc0, 0x501f7d0, 0x4018f30f, 0xe041218, 0x300, 0xf5fdfa00, 0x1fb00f9, 0xf80306, 0xfe010604, 0x2090707, 0x1f8ff, 0x7f6fcf3, 0xfdfc04fd, 0x9f9f7fc, 0xf5f504f6, 0xa020500, 0xff0301fc, 0xfc00fb, 0x1fa0703, 0xfffff901, 0xfcfffdfd, 0x3010000, 0xfc03fcfe, 0x40000fc, 0xf400f3, 0x8f9f1ed, 0xfbec0bf6, 0x9f8fdfa, 0xfe00f600, 0x2fe05f8, 0xfcfbfe, 0x100fdf9, 0xbf903fb, 0xfdfdf101, 0x3e02fcff, 0xfd000000, 0x10000, 0x4010100, 0xca0001ff, 0xfcfd03ff, 0xfdfffdfa, 0x80103fd, 0xfc03fd05, 0xfa070505, 0xfdfd03ff, 0xfffffefe, 0xfa000200, 0x301fc02, 0xffff, 0x104fb02, 0xfaf528de, 0x1f000000, 0xffff0100, 0xfd, 0x40001fc, 0x416cf0c, 0xf4fb0f03, 0x9110109, 0x300f4fc, 0xf8f8f9f5, 0x505f90a, 0xf2f12ee8, 0x1601ff00, 0xff0400, 0xfb1ad1fc, 0x13fbfd01, 0xf808f900, 0xfbfc01fe, 0xfff80400, 0x3f809, 0xfcd73cfd, 0x3020100, 0x3ff020d, 0xc308fff7, 0xc03f900, 0xffff0103, 0xfdfb03fc, 0xcfd, 0x404, 0xf800fafb, 0x3fdfefd, 0xf9f800f9, 0x3fefdf8, 0xfdfd07fd, 0x402ffff, 0xfefe0b08, 0xfd02fe03, 0xf90cf8dc, 0x38ff0000, 0x1ff01, 0x100ff00, 0x100ff01, 0x1000401, 0x302c609, 0x806f6fe, 0xfefc0b08, 0xff02f904, 0xf90104fd, 0x3040401, 0xf9fa0a06, 0xf5f80101, 0xb000408, 0xfc04f4f8, 0x1fa0b00, 0x30000, 0xfcf80800, 0xf8fc00fc, 0xfefff3fd, 0x2fa1104, 0xf12f101, 0xfd01fc01, 0x2feff, 0x609fa0e, 0x20afa0b, 0xf1f7200c, 0xddec2816, 0xea130917, 0xd9da04d9, 0x6d3e9eb, 0xffe701e5, 0x9fdfafb, 0x2117fc1c, 0xdfbb1ee6, 0x16ee16f2, 0xf4f0, 0xfb0102, 0x607fe05, 0xfc01f7f5, 0x7fe0d05, 0xff02fdf8, 0xfff70201, 0x701f8fd, 0x4040303, 0xfdf7f4f4, 0x4030403, 0x4fd00f8, 0x1fa03fc, 0x4000404, 0xff02fef9, 0xfef8fefd, 0x607f903, 0xffff0201, 0xfe03fe05, 0xff000505, 0xff04070b, 0xfe01f202, 0xf8ff06fa, 0xbfc0302, 0x4fc0a, 0xfe06ff00, 0x808f300, 0xfaf903ff, 0x4f807fc, 0xfffef0fd, 0x3ffeff01, 0xfc00fdfd, 0x3000000, 0x3ff0200, 0xce04fafd, 0xff000401, 0x105fe06, 0x4020605, 0xfa03fc02, 0xfd050000, 0xfcff03ff, 0x202fafe, 0xf6fa0800, 0x603fe05, 0x5ff05, 0xfc00fd02, 0x20af8da, 0x41fc0400, 0x10000, 0xfdfd0300, 0x1fd03ff, 0x4fff828, 0xcbff0efe, 0xb0000ff, 0xfcf4fc, 0xf0f40904, 0x302fc05, 0xf508fbd5, 0x3ffe0201, 0x2030100, 0x308e118, 0xf8fd0000, 0xf1f9fefe, 0xfd00fffe, 0x908fc00, 0x404f501, 0xfb001bdf, 0x22fe02ff, 0x1fd04ff, 0xbdf9fff9, 0xdfa0001, 0x406fe03, 0xfe04ff00, 0x1004, 0xf9fd00f9, 0xfbfc0002, 0xfaf902fd, 0xfd010708, 0xff040108, 0xfc070000, 0xfc01fe, 0x202fef5, 0x7ff0001, 0x8f000, 0x15dd2603, 0xfd000001, 0xffffffff, 0x2000001, 0x1fd, 0x600bdf7, 0xffefa02, 0xfe0206fd, 0xfffdf8fc, 0x3060507, 0x408fc00, 0x7fcf9, 0xfc000403, 0xc040303, 0xfe05f304, 0xff0205fc, 0x400f3f3, 0xfdf411fd, 0x207f6fd, 0x201f907, 0xc11fcfc, 0x4f10101, 0xf6fafcfa, 0x1fb0704, 0xfefc0305, 0x306f905, 0x91debe8, 0x202bf3f6, 0xa16deeb, 0x182af61c, 0x61ce619, 0xf812ef00, 0xf06f0fc, 0x5e00df1, 0xfb0d03f2, 0x6e216e2, 0xfbfb, 0x500fcfb, 0xf50b02, 0xf8fefd04, 0x1fe04f5, 0xf600f9, 0x7010c0b, 0xfd01f801, 0xfefbfaf2, 0xf50607, 0xfd000400, 0x400fcfc, 0xfb0c04, 0xfffffef9, 0x600fcfe, 0xfafa02fe, 0xfdf50804, 0x5fcff, 0x304fe04, 0x207fdff, 0x4040704, 0xfa00f604, 0x20e060e, 0x205ff01, 0x1fd02, 0x307ff07, 0x100f805, 0xf500fefb, 0x6fd02f8, 0xfaf3f3f6, 0x4900feff, 0xfd000003, 0xffff0100, 0x3000200, 0xc3f504ff, 0x404fdfd, 0xe0a010d, 0xfc05fcfb, 0x405f4fd, 0xfdfdfbf8, 0x400fcf9, 0xf7fbf8, 0xfdff08ff, 0x4fd0302, 0xfdff0000, 0xfc00ff02, 0x202f4fe, 0x16d33201, 0xff000000, 0x30000, 0xff03ff, 0x4ff0108, 0xe11efb0b, 0x4040004, 0xff03eefd, 0xf30004fb, 0x4fcfcfc, 0xfd04f6ff, 0x16d62e02, 0xfdfd01fd, 0x600fe1d, 0xd0f5fcf1, 0xfefe0101, 0xfc000102, 0xa030108, 0xfd01fa06, 0xfd08f5e2, 0x2fef1401, 0xe0dc, 0xe0ff0000, 0xf02fe00, 0x703f7fc, 0xfdfb0400, 0x1010fcfc, 0xfbfefefc, 0xfbfcfffb, 0xfefffbf8, 0xc070000, 0xfcfdfdf9, 0xfefb0601, 0x203080a, 0xf5fdf9f8, 0x3f40c00, 0xf808, 0xf0e338f5, 0x8000000, 0x1ff01, 0x100fdfd, 0x3000403, 0x1febf00, 0x9fa0202, 0x509fbfe, 0x1000008, 0x50101, 0x2ff0104, 0xfd010005, 0xfb040c0c, 0x300, 0x103fc0c, 0xf9060203, 0xf9f8f9fe, 0xa0bfef8, 0x3f9ff02, 0x909f808, 0x4000307, 0xf1f4fcef, 0xfcf504fd, 0xfc05fa, 0x3ff0400, 0xf7f401fc, 0xfceffc00, 0x1cfce8f1, 0xecd3382d, 0xc5da270b, 0xfc01f914, 0xd2ee2524, 0x150429, 0xe90deeee, 0x2f504f6, 0x4f43210, 0x305, 0x404fc04, 0xfd01fff5, 0x4010105, 0xff0300ff, 0xff0b0a, 0x104fdf5, 0x1f9ff00, 0xfafcfe00, 0x3030300, 0x80bfe05, 0xfefff6f9, 0x9020a00, 0x1ff02, 0x1fd0405, 0xf904ff01, 0x1050300, 0x303fe05, 0xfbfd00ff, 0x3000104, 0x1010600, 0xfe040210, 0xfe0cff05, 0x104ff04, 0xfc000003, 0x8080009, 0x8f909, 0xf60afa06, 0xfefefdf9, 0xfff804, 0x4702fbff, 0xfe000000, 0x10000, 0x2ff0502, 0xc0ff0a05, 0xf8f903ff, 0x7f802f9, 0x704f4fc, 0x1f9fb00, 0xff02f2f9, 0xfff4fcf4, 0xfdf104fa, 0xfffc07fb, 0x5fc00f9, 0xfffbfdf8, 0x4000102, 0xfbfb0007, 0xf8e938ef, 0x1101ff00, 0xffff0100, 0x1fe, 0x3fd0400, 0x1fdf03, 0xfcfb01fc, 0xf5f2fafe, 0xfc07fafd, 0xfff800fc, 0x302f2fe, 0xfae23ef2, 0xe03fe00, 0x4fe0303, 0xec1fd8fb, 0x401ffff, 0xfafd03ff, 0xb000201, 0xfbfff7fc, 0xfffa04, 0xf7cc08c0, 0xfbbb02dd, 0xa07fd04, 0x8fd0807, 0xf8f8fcfd, 0x3030a09, 0x801f3f8, 0xfcf903fe, 0x104fc01, 0x104fe07, 0xc07fe05, 0xf700f9fc, 0x7050403, 0x506fffd, 0x40cf80b, 0x40c0303, 0xfd00fd05, 0xef040bd7, 0x3201ff00, 0xfdfe, 0x3000003, 0x3ff, 0x200beff, 0x1208f7fd, 0x3fbfdfd, 0x5010304, 0x307fa00, 0x301ffff, 0xfe000202, 0x1080703, 0xfe010200, 0x908f804, 0xff0af5fd, 0x80cfc0f, 0x5fc03, 0x405, 0xfc0004, 0xfcfc00f9, 0xfd05fa03, 0xfd04fbfb, 0x2fd07ff, 0xfcf808fc, 0xfc01fcfc, 0x10100317, 0x1fc0b1f, 0xe91cedd1, 0x612fae5, 0x6ef140a, 0xf22adadf, 0x15f41101, 0x1f370049, 0xdf26e80a, 0x2e341315, 0xffff, 0x1fc0404, 0xfc03fc00, 0x905fe02, 0x1040004, 0x80cfdfe, 0xf7f400f7, 0x3f90802, 0xfe06fb03, 0x404fdfe, 0x3f9fffa, 0xfefa0f13, 0x10b0203, 0xf9fc0401, 0xfcf8, 0x3020104, 0x30505, 0x305fc03, 0xfc040004, 0x1020203, 0x10301fe, 0x7070308, 0xfc06fe05, 0x105ff05, 0xfe07fd04, 0xfc0703, 0x407f907, 0xf809f403, 0xff04fd04, 0xfc00f5fd, 0x4a00fc01, 0xfd00ffff, 0xfffe0200, 0x30102fe, 0xc70504ff, 0xff060508, 0x100ff, 0x4fcf7ff, 0xfefcfbfc, 0x704fd0f, 0xf000ff03, 0x6fe00, 0x203fdf9, 0x8fc0400, 0xfcfdfcfc, 0x4fc0702, 0x40bf601, 0xfa0306d1, 0x4101fe00, 0x10000, 0xff, 0x3ff01fc, 0x400f011, 0xe8fd01fd, 0xfb030009, 0xf4010007, 0xfb03f8fb, 0x2fafb03, 0xf9020ed2, 0x3afe0202, 0x1ff03ff, 0x215cd0a, 0xf3f90701, 0xf90002ff, 0xfef207f7, 0xfffbfafe, 0xfe0307, 0xfb0b0104, 0x40dfd08, 0x806ff08, 0x10103fc, 0xff030108, 0x503fe, 0xfdf30000, 0xfd010200, 0x201fd02, 0x607fd06, 0xfef8fef8, 0x203fe08, 0xa0bfd04, 0xff0000, 0x3ff0007, 0xfe01fffd, 0xfcff, 0xf909f4f2, 0x2beb1400, 0x3, 0xffff0100, 0x401, 0x100c204, 0x8fa0104, 0xfdfe0405, 0x606fe01, 0xfffdfcff, 0xfc0401, 0x407fc01, 0x30301fd, 0x4030405, 0xfcfc00, 0xfdfefb04, 0x501fb00, 0xfdfdfbfc, 0xfcf808fc, 0x703fe01, 0xff04f4f8, 0xfbf6f5f1, 0x5f9f8f6, 0x6fa1104, 0x810f800, 0xfbfffe01, 0x10010a08, 0x11180d1a, 0xda0bdcfa, 0xd01e0e7, 0xfdde1ee8, 0x190f0136, 0xd7f80bf2, 0xf9cc4410, 0xe718f929, 0xd0cb08c0, 0x60e, 0xf8050203, 0xfa01ff04, 0x4ff0304, 0xfcff0201, 0x6fff8fa, 0xfe010607, 0xfafe00f6, 0x6fe0104, 0x404f7fe, 0xfdf800f9, 0x100b0b07, 0xf8fe02fe, 0xff04fdfd, 0x2fffd00, 0x805f5f9, 0x3fc0b02, 0x1000408, 0xf5010304, 0x4070308, 0x1080007, 0x505fbfd, 0x405fd04, 0xfcfffbfb, 0xfdfdfd, 0x30005fe, 0xfafeff, 0xf1f8fc00, 0xfdfe0405, 0xfa03f200, 0x4a00fbff, 0xfe000001, 0xff010100, 0x4010100, 0xcb040707, 0xfe06ff00, 0xffff0100, 0x1fdfc02, 0x206fd08, 0xfdfefbfc, 0xfc08f5fe, 0x2000204, 0x2fe03, 0xfdf800f4, 0x1f90300, 0x3ff03fb, 0xa01f500, 0xff0500ff, 0x20de2101, 0xff00ffff, 0x1000000, 0xfd0400, 0x1fd0613, 0xde09fe06, 0xf803fe01, 0xf906fb01, 0xf8fe040a, 0xf6fe0104, 0xbf0ed, 0x34e719fe, 0x2ff01fd, 0x4fff729, 0xc9ff05fd, 0xff030001, 0x10402ff, 0x202ff07, 0xfc030808, 0xff0cfa05, 0x708fb06, 0x503ff03, 0xfdfffffb, 0xfefafaf3, 0x6f904fa, 0xfd01fe, 0xfdfe02fe, 0xfffb0402, 0xfc0302, 0xfafefbfb, 0x801fcff, 0x4f903ff, 0x5040004, 0x10102, 0x206fd04, 0xfc00fc00, 0xff06f80a, 0xf9d83c00, 0x0, 0x1ffff, 0x10003ff, 0xf6f4d305, 0xfdfafbf4, 0x8ff0c07, 0x1ff02, 0x3fd04, 0xff030403, 0x1000004, 0xfcfd0501, 0x2ff02fd, 0xfcf9fbf8, 0xfb0000, 0x4fff8fc, 0xf4f300f8, 0x7030601, 0xfff90500, 0xfbfcf7ff, 0xeef2fefb, 0x5fb0306, 0x50509fd, 0xf3e804f4, 0x110a020e, 0xf1ef1c01, 0xfcec14f3, 0xbdd6231d, 0xfc0ce30f, 0xecfe1afa, 0xffe0e8c7, 0xffef00e4, 0xef9f7ac, 0x4005c1cd, 0x8051714, 0xfe04, 0x612f101, 0xf8ffffff, 0x2fd0600, 0xfd01fdfc, 0xfff50401, 0x4070102, 0xfa02fdff, 0x3fc0601, 0xf6f301fd, 0x101fcfd, 0x160306fe, 0xfb010100, 0xfeff0103, 0xf9fa0300, 0xfcf4fffe, 0x1fc00f1, 0xdfd03fc, 0x30afd04, 0xfdfd02fc, 0xfaf50b00, 0x3fefafd, 0x2fb01ff, 0x3f800, 0x3030107, 0xfd0101fd, 0x300f8fa, 0xfb04f800, 0xfcff03fe, 0x105f508, 0x4200fc01, 0xfd000000, 0x10000, 0x3ff0402, 0xc5fc150a, 0xff0b000c, 0xd010d, 0x20efa0c, 0xf600fd00, 0x3fb03, 0xfe05fb0b, 0x90007, 0xf8ffff00, 0x70a050f, 0xfc0af2f9, 0xb010806, 0xfbf70103, 0x408fc04, 0xf7db40fa, 0x5000001, 0xfefe01ff, 0x10001fd, 0x3ff04fd, 0xfb1adefa, 0xf7f903fe, 0xfd02f8ff, 0xfb0201ff, 0xf801ffff, 0x100f808, 0x3d740fe, 0x2fe02ff, 0x2fd040a, 0xdb1ce8ff, 0x3030003, 0x507fc01, 0xfffe0100, 0x4080404, 0xf8fdff02, 0xfdf80401, 0xfc0401, 0xfc00ff00, 0x305fe09, 0xfd0002fe, 0xfefffc, 0x20100ff, 0xfc, 0x1fd00fa, 0xf7f7fffb, 0xd00070b, 0xfd04fbfc, 0x5fc0905, 0x207fe04, 0xf7f9fcf8, 0x804030b, 0xfa06000e, 0xf50a12e0, 0x2101ff00, 0x1, 0x401, 0xd9e4f304, 0x40bfd0d, 0x2070904, 0xfbff0101, 0xfdfe0001, 0x20200, 0xfefdfefb, 0x50400ff, 0x401f9f8, 0xfffb0303, 0xfd000505, 0xfbfcf8fc, 0xfb03fd00, 0x90203ff, 0x404fcfb, 0xfc05, 0x41bfd1a, 0xf80df701, 0x1511e2ea, 0xfef5f9ea, 0x6df0fec, 0x1611e7dc, 0x1cfc1b03, 0x64cef18, 0xbdd9f6ec, 0xa0a1606, 0x1d24d814, 0x1126ff25, 0xf40b091d, 0x6e31537, 0xf01ff4fc, 0xf8fb, 0x7fcfa05, 0xf805ff05, 0xff02f9f5, 0x5fdfefe, 0x6050708, 0xfafef7f4, 0x3fd0101, 0x200faf4, 0x705fbff, 0x1ff080b, 0x1106ffff, 0x4ff02, 0xfe020001, 0xff070408, 0xf703ff03, 0xfe00fdfd, 0x3f307f7, 0x5f901fd, 0xfefe02fe, 0x307fdf9, 0x7fdfcff, 0xfdfa03fc, 0xfffbfe01, 0x4020304, 0xff06faff, 0x703fb06, 0xf904f400, 0xfc000502, 0x607ecfe, 0x42feff01, 0xfc00ffff, 0xfffe0200, 0x30002fe, 0xc3fc10f7, 0xf8fbf3, 0x1f401f4, 0xafcfafc, 0xfa00fd00, 0xfffffafe, 0xfefe0104, 0x70b0510, 0xf8100415, 0x412f906, 0xfb05f003, 0x7ff0900, 0xf8fd0c08, 0x4fc04, 0xf90612d8, 0x2e01ff00, 0x20001, 0xff, 0x3ff02fd, 0x305e80f, 0xec040001, 0xfc00f800, 0xf9fefefb, 0x30509, 0xfd05f603, 0xfefe1ad8, 0x2a0000fe, 0x3ff03fe, 0x124c804, 0x1020204, 0x100f9fd, 0x7050408, 0x4080509, 0xfb0cf1fe, 0x708ff03, 0xfafd03fc, 0x404fd02, 0x3020004, 0xfa01fffe, 0xfffd0301, 0xfaf906ff, 0x2010607, 0x107f8ff, 0xf3fbfefa, 0xffc04f9, 0x400fd02, 0x401fef6, 0xf9edfceb, 0xfcf003f7, 0x2f11402, 0x30bfc07, 0xf709eee5, 0x23e71b03, 0xfd000000, 0x101e7e4, 0xd7e21504, 0x707f5ff, 0x401fdf5, 0x7010000, 0x30003, 0x306fe02, 0xff030005, 0x101ff00, 0xfffbf9fb, 0x4000300, 0x104fbfa, 0xf8f7fefd, 0x305030b, 0xfe0002ff, 0x1fcffff, 0xfefd0607, 0x407ecf6, 0xfaf80304, 0xbfaf20a, 0xf3ff0309, 0x6090802, 0xffbfb0f, 0xdacd28da, 0xee2f6e9, 0xee1a0d31, 0xf118ff01, 0x18fc1034, 0xdd001e1f, 0x934c8f3, 0xf4e124f0, 0x1919072c, 0xfe07, 0xfefefbff, 0x80fff0f, 0xfe0ef70c, 0x108f600, 0xfdf705f5, 0xfef90002, 0x100fffe, 0x1fd0407, 0xfcfcfdfe, 0xfffc1408, 0x3fa01fc, 0xfc00fd, 0x302fdff, 0xfffffef9, 0x305fb01, 0xfd00fbfe, 0x9040502, 0xfefbfdf7, 0x8010403, 0xff02, 0xfef9f1ee, 0xfaeb0cf4, 0x8fd0706, 0xfdff0400, 0xfdfe0307, 0xfcfcfcfd, 0xff03f908, 0xfd09070b, 0x106ef09, 0x3900feff, 0xfd000001, 0xff010100, 0x4010100, 0xbefb0ef9, 0xfef7fdf9, 0x1f907ff, 0x3f8fdfb, 0x102fc01, 0xfbfdfd00, 0xfbfd0c08, 0x4050808, 0xff0ffe09, 0x207fc0a, 0xf201f203, 0xfefa0afb, 0x10404fc, 0xfcffff, 0x2082e24, 0xa00ff00, 0xffff, 0x1000000, 0x1fe03ff, 0x3ff0118, 0xd804f8fc, 0xf4fc, 0xfcfffcfd, 0x1fe0b04, 0xff06f202, 0x4f7e1, 0x3cf30f02, 0xff02fe, 0x300cf07, 0xfa000a08, 0xfd04fd08, 0xff0000fc, 0x7ff05ff, 0xff03f507, 0xf9f903fd, 0xff020100, 0x400fd00, 0x2fff9f8, 0x503fbff, 0x4040405, 0xf3fe05fd, 0xf0afafe, 0x603f904, 0xfb0cfd0b, 0x3ff0a05, 0xfbfc0403, 0x706edf5, 0xf9f506ff, 0xf9fc00f9, 0xc030bfa, 0x5fcfbfb, 0xfe02fa0e, 0xf2dd07c9, 0x10dc00dc, 0xefcaf4d7, 0x15150505, 0x200f904, 0xfcfcfcfb, 0xf030205, 0xff040004, 0xff00fe00, 0x3040004, 0x306f900, 0xfcfdfd01, 0x603fefe, 0xfffcf9fa, 0xf8fa0a06, 0x30505, 0xf900fefc, 0x601ff01, 0x1040604, 0xfefeff11, 0xf007080c, 0xf0f1e4e3, 0x2f1fe2fe, 0xfaf200ea, 0x1df80c09, 0xe00f04eb, 0x20fd030a, 0x11dfb0b, 0xfe181730, 0xe8002515, 0xe61edada, 0x2d31a25, 0x2330514, 0x201bfb0f, 0x501, 0xfcfffc00, 0x7fffafa, 0x602fd08, 0xff06f909, 0xf804fbfa, 0x1fd01fe, 0x2ff0202, 0x304f9f9, 0x2fffcfe, 0x60503f4, 0xbfc01fc, 0xfcfcf8, 0xc01f9fd, 0xb09030e, 0x10cfd0e, 0xf708000d, 0x4fcfb, 0x4010004, 0xfcf80c00, 0x101fbfd, 0x100f302, 0xf9010aff, 0x6fd06fc, 0x403fefd, 0x101faf8, 0x1fdff00, 0x102fe07, 0xfe08ff00, 0xfff404, 0x3702fbff, 0xfe000000, 0x10000, 0x3ff0200, 0xbf010bfe, 0xfdfdfdfd, 0x3ff03fb, 0x7fffe00, 0xfbfafdfb, 0x404fc03, 0xfc0404fc, 0x5fd04f9, 0x3fd00ff, 0xfdf9fa, 0xfa02f505, 0xfc03fdf6, 0x7fc04fc, 0xfc00fd, 0x342f0d0e, 0xff03fc00, 0xfdfe, 0x3000000, 0xff03ff, 0x1fd0400, 0xf018ddfd, 0xf7f40000, 0xf9fd0203, 0xfcfe01f4, 0x1f6ff03, 0x306f504, 0x9d13e00, 0xffff02ff, 0xfcc4f1, 0x4fb08f9, 0xc08fc07, 0xff070108, 0x1020300, 0x405fc0c, 0xfb0efd08, 0xf9020304, 0x404fc03, 0x1fb03, 0x1fffc00, 0xfc0800, 0xf3000d08, 0x5fe060a, 0xf3f70200, 0xf9fe0001, 0x70504ff, 0xfbff01fc, 0x1f6f2fb, 0xfafc06fc, 0xfd00fcfc, 0xcfc08f9, 0x9fdfe00, 0xf9fbfdfe, 0xfe0afcff, 0xf9e804ec, 0x8050819, 0x90d020a, 0xfa02f700, 0x4f901, 0x7f9fff6, 0x9000303, 0xf9fd00ff, 0x8040307, 0xfd01f0f8, 0x4000407, 0xff00fe00, 0xfbfcff02, 0xfa04fff9, 0xc05fcfc, 0xfcfffdfe, 0x6fe0201, 0xf6f606f6, 0x7ff0808, 0xff17f504, 0x14e919, 0xf6e0f5f3, 0x902080a, 0x7f4270f, 0xe1100c18, 0x19110210, 0x514f50e, 0xfb0bf0e4, 0xf7f310de, 0x160ef327, 0xfd221f27, 0x250b2b, 0xfd08d3e0, 0xfef9, 0xa07fd08, 0xfcfdf9fc, 0x6fc0100, 0x102020b, 0xfa0df80a, 0xfa03fdff, 0x805080b, 0x8fb0a, 0xfa02ff05, 0x302fdfc, 0x8f90901, 0xff00fc00, 0x7fb090b, 0x300, 0x100fcff, 0xf9010203, 0xfe01ff04, 0xfcfc0804, 0xf80003f7, 0xa00fb00, 0x201f604, 0xb0405, 0x40300fd, 0x8010003, 0xf8fafcfc, 0xf8f308fc, 0x702fd01, 0xff020104, 0x4f000, 0x3700fc01, 0xfd00ffff, 0xfffe0200, 0x4010302, 0xc104fdf6, 0x8010206, 0xfe010200, 0x8010609, 0xfa08fe09, 0xf5fafaf8, 0x3ff01fc, 0x3fa09ff, 0x7030003, 0x104f803, 0xf5fefb04, 0xf5fd0202, 0x1fc0800, 0xfdfd2724, 0x2010fd00, 0xfefffd00, 0xff02, 0x100ffff, 0x10000fd, 0x40001fd, 0x613ce04, 0xeffc0400, 0xfc030001, 0x409f901, 0x2020508, 0xfd02f704, 0xf8f314c9, 0x28f2ffef, 0xd9c8f7fb, 0x5fc08fc, 0xbfb0d0c, 0xd000c, 0xff0afd04, 0xfbfb0201, 0x6030c, 0xff12eefd, 0xfef70500, 0xfc01, 0xfdfd0304, 0xfbff02f9, 0xff0505fd, 0x3fb00f5, 0x20000, 0xf4fb04ff, 0xf808fc, 0x1fdfd, 0x3ffedfa, 0x303fcf9, 0xfc0000, 0xc000b03, 0x600f7f9, 0xfdfd0202, 0x105010a, 0x4150011, 0x7100109, 0xf7f7fcf1, 0x3fafd00, 0xff06, 0x1000001, 0xf808fd, 0x40004, 0x703fefe, 0xff00f101, 0x2ff03fe, 0x100fdff, 0xfd01ff01, 0xfc03fbff, 0x1f401f9, 0x300fcff, 0xf9f8ef, 0xc05fdfc, 0xb000f07, 0x70fe903, 0xfd00132a, 0xf2260233, 0xea141723, 0xd29fcfe, 0xef0cfcfc, 0xfbde11ed, 0x8f00c07, 0x30f0221, 0xcff91b04, 0x11ff1c28, 0x32ef504, 0x1418f805, 0xc9d12a28, 0x200, 0x2f801fc, 0xfcfc0104, 0xfbf90800, 0xfcfb0801, 0xff060210, 0xff15f810, 0x80404, 0xfc00f5fa, 0xffff0404, 0x10004, 0xfc0f02, 0xfd000004, 0xc090000, 0xfcfc04fd, 0x400ff03, 0xf600fffd, 0xff0000, 0xfc0007ff, 0xf9000401, 0x4fbffff, 0xfdfa0105, 0x207fe01, 0x603fe01, 0x2fb02fd, 0xfb00fd01, 0xfc050704, 0x704fa01, 0xff010404, 0x307e900, 0x35feff01, 0xfc000001, 0xff010100, 0x1fd0600, 0xc504040b, 0xfd000200, 0x5070d12, 0x30dfc03, 0xfc05fc03, 0xecfa0101, 0x301fdfd, 0x2fc09fc, 0xd02080a, 0xfb04fb07, 0xf204f700, 0xf4ff01fe, 0x2ff02f9, 0xf0b3f23, 0xfd00fcff, 0xfcfd0000, 0xfdfe, 0x3000001, 0xfefe0200, 0x1fd03ff, 0x4fdf827, 0xc5fd0700, 0x4fd01, 0x2fffe04, 0xff0101fd, 0x101f3fd, 0x308f7eb, 0xfcbfffbf, 0xef40502, 0x70400fc, 0x1f217fc, 0xf9f500f5, 0x2f8faf5, 0x2fc0600, 0x7070004, 0xfb00ee00, 0x6080104, 0x4f5fd, 0x2020100, 0xf8fd04ff, 0x808f1f4, 0x7f80800, 0xffff0100, 0xf8040000, 0x1f9, 0x3fc0706, 0xfd00f306, 0xfd00ff03, 0xfafd0e0b, 0x302fff6, 0xafafd00, 0x306fd01, 0xfcfb, 0xfcf30cff, 0x4fcf8f3, 0xf8f4fdf5, 0xbfd0404, 0xf8fc0401, 0x0, 0xfcf4, 0xbff0605, 0xfeffff, 0xfcfcf803, 0x10402, 0xfcfd0000, 0x3080c, 0xf404f700, 0xfdfc04ff, 0x703f6fd, 0x7040c18, 0xfc08fc07, 0xf8f4f8dd, 0x8de2015, 0x132bcee6, 0x3a2e0935, 0xe02bfc10, 0x70af503, 0xf70b0918, 0xf4110101, 0xf8f10bf0, 0xf9e6fade, 0xfa09f6e4, 0x23f60ce6, 0xffe2f4e1, 0x2cffed5, 0x17230902, 0xff03, 0xfcfd00fc, 0xfdfd0703, 0xfc040804, 0xfc04fdf9, 0x3fd03fe, 0x201fe07, 0xf900fcf8, 0xfffbfc02, 0xfe010e0b, 0xfe09ff08, 0x80700, 0x2050308, 0x4000000, 0xf4f8fdf1, 0xed06f4, 0x1ff0000, 0xfcfc0400, 0x105fefc, 0xff02f9f7, 0x9fcfcf9, 0x5010909, 0xfb02ff03, 0xfdfa0602, 0x604, 0xff08000b, 0x211ff09, 0x305fc07, 0xfb030100, 0xfdef03, 0x3200feff, 0xfd000000, 0x10000, 0x40301fe, 0xc8010f0c, 0xfc0b0009, 0x80c0706, 0xf6f9fffc, 0xffff0104, 0xed05ff03, 0xfffffcfe, 0xfffb09fb, 0x150301fc, 0xfefffafe, 0xfa06f100, 0xf3ff01ff, 0x4010403, 0x332715fd, 0xfcfcffff, 0xfd000000, 0x3, 0xffff0100, 0x20000, 0xff03ff, 0x2fd050a, 0xdb20e2fb, 0x500ff02, 0xfdfd0100, 0xff0000ff, 0xfcfafc03, 0x4040512, 0xff150319, 0x10cfc03, 0xfc01fd, 0x3ff0cf4, 0x7020103, 0x506fe0a, 0x50d0007, 0x303f9fc, 0xf8f9ff0a, 0xfbfffefc, 0xfcfb02, 0xfdfc, 0xfd0102ff, 0x8fffa08, 0xf7f81000, 0xfcfd0804, 0xf804fc00, 0x3030002, 0xfefdfbf1, 0x4f8fd02, 0x50208, 0x917040d, 0xf0fa0b06, 0x5010105, 0xf8fafffc, 0xfcfbfb, 0x100fdf1, 0x2ef05fc, 0x408ff0a, 0xff0500, 0xfc040000, 0xfdfd0300, 0x404fc04, 0xf908fb, 0x4ff0303, 0xf6fdfaff, 0x504fdfd, 0xff000404, 0x4fbf7, 0x205fb09, 0xf8040101, 0xfff9f7fa, 0x2f516ff, 0xf9fcebeb, 0xeee106ef, 0x1e800c8, 0x29de1727, 0xe8d51de9, 0x1f28e814, 0xfc09f80c, 0xfc110109, 0xff14fb0e, 0xee04fff8, 0xf3f202fa, 0x1414f614, 0xf5e6e8c2, 0xdd01af6, 0x6fa0703, 0x4f000e7, 0x100, 0x40307, 0xa0003, 0xfc0301fc, 0x404fc03, 0x404f9fa, 0xfbf304f9, 0xf4f8, 0xfdf604fe, 0x20205f9, 0x4ff0000, 0x7070101, 0xfcfb05fd, 0x6fffefd, 0xfe07f2fc, 0x2fefdf5, 0x1f503f8, 0xfffb02f9, 0x6fe0808, 0xf9020009, 0x101fe03, 0x5030802, 0x70008, 0xf7020905, 0x50100, 0x2030104, 0x2fcff, 0x3fffd00, 0x50004, 0x4ed02, 0x3202fbff, 0xfe00ffff, 0xfffe0200, 0x3ff0402, 0xc6000eff, 0x1040004, 0xfcf807f8, 0xfafc0300, 0x10000, 0xfc0ff707, 0xfa02ff05, 0xf5fb0afc, 0xcf30afc, 0xfefcfcfe, 0xf6faf700, 0xfb08fe05, 0xfbfc0b03, 0x4616fcfd, 0xff00fdfe, 0xff00ffff, 0x1000000, 0x1fdfd, 0xdad7fad1, 0x3102fffe, 0x3ff03fd, 0x123cb0c, 0xf900fdfe, 0x304fcff, 0xfbfb04ff, 0xfd00ff03, 0x2010703, 0xc100d1a, 0xf710f90d, 0xfb08fc03, 0x30301f8, 0x8f905fd, 0x2fafefa, 0xaff0201, 0xf8f6fefb, 0xf6f9fbf5, 0x3fd00ff, 0x100f9fe, 0x301f8fc, 0x302fdfd, 0x9fefe02, 0xf5001000, 0x408fcfc, 0xfc00fc00, 0x1fefffd, 0xfcfbfcfc, 0x5fdffff, 0x3020909, 0xd0d0009, 0xee07fdf9, 0xd01ffff, 0xfc030408, 0xfc04f902, 0x405fb03, 0xfbfc06fd, 0x3fcfcf9, 0x4fd00f8, 0xfcfbf7, 0xfdf708fc, 0x3fb0504, 0xf8fc03f7, 0x9fc0700, 0xf600fb01, 0xfffbfdfb, 0xfc03fb, 0xfef9fffd, 0xfb0404, 0xfb07f2f8, 0xfff8fdfe, 0xb0708f9, 0xf8f8f906, 0xff171021, 0xb2be10c, 0xbee16ed, 0xf1404fb, 0xf5d1ffe8, 0xec07fb, 0xfaf9f6ee, 0xfdec09fa, 0xeffbf8f4, 0x708edf3, 0x2c0b091e, 0xd2fb0a1d, 0xeafae6c6, 0x3c30fcb, 0x1ee507ec, 0x605, 0xf8fdfff9, 0x5fe0301, 0xfc01fdfd, 0xfff803ff, 0x2fdf3f7, 0xfffb05fc, 0x1fdfb04, 0xfb0201ff, 0x401fbf7, 0x2f503f8, 0x9fafff8, 0xfc04fb, 0xf5fdf4, 0x6fcfd07, 0xf5fafbf8, 0x3fa05fc, 0x4010706, 0xa0a0002, 0xf700f4f4, 0xd00fe00, 0x1fcfdf1, 0x2f302f5, 0xfcfa0f00, 0xfbfb0600, 0x200fefd, 0xfffcfdfd, 0xfcf60700, 0xf8f806fe, 0x200f003, 0x2dfefe01, 0xfd000001, 0xff010100, 0x30002fe, 0xca020c00, 0x201fbfc, 0xfdfdfff5, 0x803f8f8, 0x4fcfcf8, 0x703fd09, 0xf807f800, 0xfc07fffc, 0xbfb05f6, 0xfef6f8f2, 0xf6f202fd, 0x3050007, 0xf8041912, 0x33fffcff, 0xfffffdff, 0xfdfe, 0x3000000, 0xfbfbc5c3, 0xf3dc01e3, 0x3cee1100, 0x2ff02fe, 0x300ec21, 0xcdf506fe, 0xfdf800fc, 0x100fd, 0x1010305, 0x4070707, 0x110cfdfc, 0x3080615, 0xf30df203, 0xfefefffc, 0xc000b06, 0xfafef6f6, 0x1ed10fb, 0x306f800, 0xf802fd04, 0x1feff, 0xfefcff02, 0xfdfcfc00, 0xfd0101, 0xa02f6fa, 0x30805fd, 0xfef7fdf8, 0x3ff0003, 0xfe00ff00, 0x4f800, 0xfcf70800, 0xc090c0c, 0x100fbfb, 0xf1fefeff, 0xdff0101, 0xfb000703, 0x50cfc0f, 0xf702fd04, 0xf9020602, 0xfefdfbfc, 0x4fc0804, 0x408f603, 0xf9ff01f8, 0xf509f9, 0x304fdfe, 0xfff408f5, 0xfcfb0303, 0xfd01f4f8, 0x4fc0801, 0xf9fcfefb, 0x6010b08, 0xf0fd030e, 0xfd0cf706, 0xfcf7f9e8, 0xcfc0b0e, 0xe1d0b18, 0xfd0aef18, 0xe1ee0be3, 0x3d709dc, 0x14fb0b07, 0x40bf2f6, 0xfffbfc01, 0x40702, 0xf104fc08, 0x1314052c, 0xc0cf3f6, 0xf115e5f0, 0xff05f817, 0xfc100c0d, 0xcfb08fc, 0x9ff, 0xf8ff0000, 0x7020201, 0xff04fc03, 0x307fe02, 0xfbfbfc04, 0xf5fa06fb, 0xfdf7fffb, 0x1010101, 0xfffc0809, 0xfc030303, 0xfcf602f9, 0xf902f7, 0x1f800fb, 0xfff4fdf4, 0xfdfc0a0b, 0xa12fb08, 0x40c09, 0x504fafe, 0xf900f3ff, 0x5f70902, 0xff000104, 0xff0100ff, 0x30602f9, 0xfefc02f8, 0x3f9f8f3, 0x9fdffff, 0x3060100, 0xfc0400fe, 0x400e8f8, 0x3702fd01, 0xfc000000, 0x10000, 0x4010100, 0xcb0108fd, 0xfcf70400, 0x306060d, 0xf6fbfd00, 0xf8f404fc, 0x9fe0304, 0xff0beafd, 0xfeff0202, 0x7fe0801, 0xf7faedef, 0x3fc05ff, 0x8040004, 0xf7032c16, 0x1cfffd00, 0xfcfd0000, 0x3, 0x101, 0xcad0ebf6, 0xe11fc0c, 0x1d13fff, 0x30000fe, 0x2fd0617, 0xcd17edfe, 0x304ff03, 0x104080c, 0xb0008, 0x4080809, 0x7fff9fb, 0x3fbfaef, 0xfefafa02, 0xff03ff03, 0x9000d02, 0xfe06f505, 0x40804fc, 0xf9f202fc, 0xfd01fc00, 0x406, 0xf7fffefe, 0xff000004, 0x40407, 0xfdfaf7fb, 0xb03faf8, 0x600fd00, 0xfefb0601, 0xfcff0000, 0x303f500, 0x3070201, 0xb000bff, 0xf1effcf0, 0xfffe0505, 0x800fbfa, 0x10004fd, 0x800fd01, 0x30dfb0b, 0xf80a0206, 0xfa02fa01, 0x30003fb, 0x5fc0006, 0xfc09f800, 0xfdfd02f6, 0x5f80702, 0x2050704, 0xfd05fbfd, 0x404fc0c, 0x30bfd00, 0xfb020509, 0x4070703, 0xf104fbfc, 0xf9f80001, 0x90efb10, 0xff0302fa, 0xffb00f0, 0x8fbf804, 0xfb1e1124, 0xf011f4fc, 0xcf414fd, 0x1fafb03, 0xf8fcfcfc, 0x5010f09, 0xf911ef04, 0xf4e5ffdf, 0xfdd0300d, 0xf2bcc12, 0x81bf518, 0x824f40c, 0xfffffef5, 0x3ff, 0x1080109, 0xff01fcfb, 0x3fff9fc, 0xf8f100f3, 0x800f7fb, 0x80e030b, 0xf301fe00, 0xfdfc00fb, 0x40001f9, 0xa070a0e, 0x12f707, 0x7fb00, 0xfaf902fb, 0x1fdf9f9, 0x703130c, 0x507000c, 0xf40008fc, 0x4fb0304, 0xf904f809, 0xf9fd0e02, 0xfd000302, 0xfd000000, 0x30001ff, 0xfdfe0905, 0xfbfdfb00, 0x7fe0403, 0x101fdfd, 0xfeff0100, 0xfcf8f505, 0x3200fafd, 0xff00ffff, 0xfffe0200, 0x3ff0402, 0xc9000800, 0x408fbff, 0xd090003, 0xdf000, 0xfb030100, 0x1f803f8, 0xfdf6effb, 0xf4f10bfa, 0x4f709f8, 0xf9faf0fd, 0x7010b07, 0x201ff00, 0xfd06330d, 0xdfefcfd, 0xff000000, 0xffff0100, 0xf8f7, 0xc0ed0c0e, 0xfdfd0304, 0xf7fa25e0, 0x21fe0200, 0x1ff04fd, 0xf828c3fe, 0x1fc01fe, 0x6030803, 0x1040b0f, 0xfc070504, 0xfcf9fcfc, 0xfdf60602, 0xfd01070e, 0x211fb0d, 0x30705ff, 0x1fc08, 0x70bf6fd, 0xf4f8f8ee, 0x8f90300, 0xfdf9, 0xf8fa03ff, 0x0, 0x7070508, 0xfc07f303, 0xfef60905, 0xfefdfdfd, 0x20104ff, 0xfd000303, 0xfafa0409, 0x60c0610, 0x80dfbfd, 0xedf900fd, 0xfe0e07, 0xfefdfcfe, 0x40102ff, 0x5fc00ff, 0x400f9fe, 0xfc020202, 0xf2fa0303, 0xfbfb05fd, 0x7ff0403, 0xfd04000c, 0xfd0cfe08, 0xfd0000f9, 0x9000a03, 0xfa00fb00, 0xfc0000, 0xfefb0200, 0xfd0202ff, 0x50004fd, 0xf804fc05, 0x10dff0c, 0xf4f70501, 0xff010807, 0x3fb0d08, 0x404f703, 0x10901f9, 0xf4fdf3fc, 0xfcec04dc, 0xbe608f3, 0xf2edfeef, 0x5ef0beb, 0x4f60e15, 0xe304090e, 0xfc0d20fd, 0xd3c1eee3, 0x2dd14fc, 0x1b0fdef9, 0x3fdf7f6, 0x7f4, 0x9fc03fe, 0xfdfc0101, 0xf8f6f7f4, 0x703fe01, 0xfef70101, 0x10090309, 0xf107f902, 0xff04ff03, 0xff0200, 0x3f90cfb, 0x803fc08, 0xf800f7fc, 0xfe00fffd, 0xfdf90303, 0xc080c01, 0x905faff, 0xf60106ff, 0x1fc0801, 0xf800fc04, 0xfc0704fd, 0x5050305, 0xfb03fd00, 0x5020405, 0xfb030802, 0x7fc08, 0x10200fe, 0xfefbf9f7, 0xf903fb, 0xfdfcf5fc, 0x3600fd03, 0xfc000001, 0xff010100, 0x1fe0600, 0xca010700, 0xfcf80d0a, 0x300fcfc, 0xfbf7f6fd, 0xfcfe0704, 0xfcfffbf7, 0xfcf6fa01, 0xf7040801, 0x40101f9, 0x202f204, 0xb080805, 0x30004, 0xfb023605, 0x7ffff02, 0xfd000000, 0xfeff0200, 0x303e5f0, 0xd80800fc, 0x3020201, 0xfb05fcdc, 0x40fb05fe, 0x30001fd, 0x308dc21, 0xe4040104, 0x60402fe, 0x60301f9, 0x40101fd, 0xf7f800fc, 0x30202fe, 0x3040401, 0x403030b, 0x109fc00, 0xfdfd0607, 0xf6f6f3f3, 0x201fd06, 0x1ff0400, 0xff02, 0xfa04fbfc, 0x3fffefd, 0x1208fe01, 0xfafff2fe, 0x20206ff, 0xff000003, 0x506ff01, 0xfd010200, 0xf9ff0904, 0x3010803, 0x702f8ff, 0xf90bfe09, 0x20b0300, 0x406f1fb, 0xfbf20afa, 0xc01feff, 0xfef9fbfb, 0xfffefefa, 0xfa02fefd, 0x2fefb, 0x5f906fb, 0x1ff0100, 0x3090e, 0xf708fb03, 0x1fb03f4, 0x5fffc00, 0xfcfc, 0x30100ff, 0x507f9fe, 0x6fff9f4, 0xfbf703fe, 0x603f8fc, 0xf4fcfff6, 0x1910f901, 0xfefc02f1, 0x7f4fcf9, 0xf4ecfbe6, 0xf8ea02f9, 0x2ff0d08, 0xf9f6f7e5, 0x5f80701, 0x4001c11, 0x512fe02, 0x1d3cef22, 0xfd23d0d3, 0x1c1c0432, 0xe717fafd, 0x10f2e2f6, 0x5f81314, 0xf8f5, 0x10fc04fd, 0x404fbfe, 0xf4fafe01, 0xb05040b, 0x10efb08, 0x4fc0902, 0xf607f604, 0xff04f9fe, 0x7050407, 0xfbff01f4, 0x8f404fc, 0xf7fbf9fd, 0x403ff03, 0xfc020100, 0x9fd02f3, 0x9f3fcf5, 0x807fcfd, 0xfcfdf1, 0x4fdfeff, 0x1040404, 0x706fafd, 0xfcfe0203, 0xfefc06fe, 0x6090203, 0xfe01f7fc, 0xfcf7fff6, 0x1f9fdfd, 0x805ff01, 0x4ecfb, 0x3b00fafd, 0xff000000, 0x10000, 0x40301fe, 0xce02120d, 0x213fe04, 0xfafbfaf9, 0x200f5ff, 0x3060403, 0xfa01f7fd, 0x1fb02, 0x10c0004, 0x403, 0xfcfdff0a, 0x6050300, 0x101, 0xf3f93cff, 0x800fdfe, 0xff00ffff, 0x1020000, 0x1fee700, 0xd8000000, 0x502ffff, 0xff03fd04, 0xfd33200, 0x2ff01ff, 0x3ff0124, 0xc808030a, 0x4080107, 0x10000, 0x1fdfffb, 0x408ff07, 0xfd01fdfc, 0xa030504, 0x4040405, 0xfd01ff04, 0xff06fdfd, 0xf0f7f9fd, 0x3fe0001, 0x400, 0xfcfc01fe, 0x60af908, 0xfc01fd00, 0xbf904ff, 0xf9fef703, 0xfcfd03fa, 0x500fdfd, 0x3fb03ff, 0x1030001, 0xf90101f9, 0xfff50ffc, 0x5faf6f8, 0x908f802, 0x1010402, 0xfffdf804, 0xf4fd05f8, 0xffb0704, 0x6f904, 0xfc010407, 0xf4010306, 0x6fb03, 0x20000fa, 0xb04fd00, 0x9090202, 0xf500f8fd, 0xfc0801, 0x1fdfeff, 0x1000004, 0x405fc01, 0xfffbf5f7, 0x1f200f9, 0x705fcfe, 0xfef6faf8, 0xff031115, 0xfbf7fefc, 0xfaf806fc, 0x3f8f8f4, 0x101ff05, 0xff0cf600, 0xf7f5fce4, 0xeb0c00, 0xf0a0104, 0x505efd8, 0x7da06e2, 0xfcc1efc1, 0x11d50e13, 0x11080004, 0x102de91c, 0x20ee612, 0xa17f5f9, 0xf404, 0x5f903f8, 0xfff305fd, 0xf801fbfe, 0x6f90aff, 0xfdfb0303, 0x20106fe, 0xfd05fc0b, 0xfc08f807, 0xffff04ff, 0xfafefefb, 0xd0000fc, 0xfc01f800, 0x5010002, 0xfb010000, 0x4fb0b04, 0xfef90603, 0xfef90401, 0xfbfc00ff, 0x702fd01, 0x1fd, 0xfff500fb, 0x3020101, 0x306fdfd, 0xfcf309fa, 0xfefafcff, 0xfafd0604, 0x508f904, 0x3ff0000, 0x303f108, 0x31feff03, 0xfc00ffff, 0x1000000, 0x3ff0200, 0xcbfd10fb, 0xf900fb, 0x1fc03, 0xfdfefb04, 0x10c09, 0xedfcff04, 0x4010a, 0xff08fd05, 0x207fd00, 0x4080009, 0xfcff0400, 0x302, 0xf50433fb, 0xd00fcff, 0x1, 0xffff0100, 0x403f713, 0xc904ff03, 0x1ff0404, 0x5f901, 0xfbed34ef, 0x11fe02ff, 0x2fe0300, 0xef27dafe, 0x802ff00, 0xf8f805fd, 0x2fefdfc, 0x4fcfdfa, 0x603fa00, 0x6fc06fd, 0x70000fc, 0xff0000, 0x405f4fc, 0xedf9ffff, 0x1fdfffc, 0x3ff02fd, 0xff000302, 0xfefa0304, 0xf800ff02, 0x5fc0c04, 0xff0aee01, 0x207f6fa, 0x6fb01ff, 0x1fdfff9, 0x8000707, 0xef502, 0xfcff00f0, 0x7f202fe, 0x3f80303, 0x20200, 0xfcfdfb00, 0xff0bfe04, 0x7fc08fd, 0xfd0004, 0xfb03fdfc, 0xfb030101, 0xfbfc0102, 0x0, 0x9fefcfd, 0x6fa01f9, 0xf9fd0308, 0x8fcfc, 0x4ff0001, 0x1010304, 0xfcfc0000, 0xf5f6f8f9, 0x7ff0807, 0xfcfcfcfc, 0xf8f600fc, 0xfcf90cf4, 0x4fdfdfc, 0xfe0000fa, 0xf9f004fc, 0xfb01fd, 0x402030f, 0x31b0625, 0xef140008, 0xfff805fc, 0xfcf3f1f5, 0xffed0bf2, 0xede3efe3, 0x25f71f08, 0x900f7f7, 0x5ecdcdf, 0x18f5fb0a, 0x505ecfc, 0xfc0c, 0xf4fb01f9, 0xfff9fbef, 0xa01fc02, 0x3ff00f5, 0x1f907fd, 0x1fc07fd, 0x505030c, 0xf707f100, 0xf9fafff5, 0x4ff0506, 0x3fc00fc, 0x4040410, 0xb16fc12, 0xf209f700, 0x1fd1204, 0xfd03fffc, 0x50300ff, 0xfc000707, 0xfdfd0808, 0xf5fd03ff, 0x404fc00, 0xfd00fc, 0xf90400, 0xfc0004fb, 0x300fe02, 0x8fe00, 0x2fdf6fa, 0x5fc0804, 0x1f000, 0x3302fcff, 0xfd000001, 0xfdfd0300, 0x4010302, 0xc2f912fb, 0xfef902fb, 0xfef90300, 0xfcffff03, 0xfbfe0dff, 0xfd0ff303, 0xfd000403, 0xfc00fcff, 0x401fc00, 0x1fd0300, 0x40303, 0x1040001, 0xf40028f5, 0x1800fc00, 0xfdfd, 0x3010000, 0x400010a, 0xcf10edfe, 0x30000fc, 0xfffb0608, 0xf80505d6, 0x3b000200, 0xfe02fd, 0x614d50f, 0xf3faf9f4, 0xf8f410ff, 0xf9f602fb, 0x2f90602, 0xfefa0303, 0xfdfff6, 0x6f502f7, 0xfdf40c00, 0xfbf7f1f4, 0xfc03ff03, 0xfdff0404, 0x708f6fc, 0x2ff0804, 0xf9fffbf7, 0x201fe00, 0xfdf80cf8, 0x801f407, 0xf8fdfc03, 0xfd03ff, 0xfefefd, 0x3f805f6, 0x3f90004, 0x109fe07, 0x2020202, 0xfefd03fd, 0x40100ff, 0xfcfffd01, 0x305fc03, 0x3ff01f8, 0x1f9fff8, 0xfcf90501, 0xf8fe00fd, 0x406fb00, 0x303, 0x802fd03, 0xfdfdf9, 0x404feff, 0x1000004, 0xfdfdfefb, 0x9030000, 0xff03f6f9, 0xfe02f802, 0x2fd07fc, 0xfcfc0000, 0x8fd05, 0xf80102f7, 0x5f80500, 0x20305, 0xf905ff00, 0x302, 0x5030c0c, 0x90306, 0xf209fe07, 0xfe06ff00, 0xf130e30, 0xea1bf505, 0xc24ed22, 0x300f9da, 0x4d5f0ce, 0xad31a11, 0xeee71e0a, 0xe0e50700, 0x8, 0xfb0ff907, 0x40cf506, 0xfefa0402, 0x201feff, 0xfefc02f7, 0x4fa05f8, 0xfff204f3, 0xfefaf700, 0xfc030408, 0x307fe00, 0x2fff6f5, 0x7f80c00, 0x9fefbfd, 0xfc07f303, 0xfdff09f6, 0xfff800f9, 0x7fb0d08, 0x713fe0a, 0xff0cfc00, 0x30efa05, 0x203fd04, 0xfd01ff00, 0x400, 0xfc00fcf8, 0x4f904ff, 0xfbfafefa, 0x3fbff04, 0x10001f9, 0xfff8f5fd, 0x3600fbff, 0xfe000000, 0x30000, 0x1fd0600, 0xbdfb1700, 0xfe00fefc, 0xfdfb00f8, 0xfc00fd, 0x406fcf5, 0xf07f105, 0x8fbff, 0x104f4fc, 0x800fc00, 0x7060003, 0x1040405, 0xf9fd00fd, 0xfa0311ec, 0x2c00fc00, 0x3, 0x0, 0x4000302, 0xf427cd07, 0x105fb00, 0x10b06, 0xf604f7f6, 0x27e21efe, 0x20001ff, 0x4fdf921, 0xc8f600fd, 0xff040d01, 0xfe060105, 0x407fcfd, 0xfdfc06ff, 0x100fcfd, 0x5fc0a04, 0xecf30df4, 0xfaf3f9fb, 0x908fc05, 0xfb031110, 0xf6fff902, 0xfefe0b01, 0xf3fbfefe, 0xfcfefc, 0xa090a07, 0xf9f8f5f9, 0xff00f9fd, 0x7040405, 0xfc01ff02, 0x2010602, 0x100fcfc, 0x3fefefe, 0x2fe0501, 0xfd000300, 0x3fffdfc, 0x407, 0xf7fbfaf9, 0x3f900f8, 0x3fafef9, 0x2ff0c06, 0xf907f8ff, 0x3fe0508, 0xfb030101, 0x5fe0203, 0x104f8ff, 0x4fffcfd, 0x3ff0100, 0xff02f5f9, 0x9f90b04, 0xfc01f4ff, 0x1f902, 0xffff03fb, 0xf8f705fc, 0x4000003, 0xff0af901, 0xfcf808fb, 0xb06fafd, 0xfe020205, 0xfe030000, 0x100b0100, 0xfcfc01fa, 0xfc040006, 0x20a010c, 0xf5f2ffe3, 0x4fde4ec, 0xfef0a0c, 0xe6ef0d03, 0xf0e1836, 0xe10dfbee, 0x909200b, 0xf31ee4fb, 0x303, 0xfe06fb08, 0xfc00f500, 0xff010c09, 0xfc03fc01, 0xfcff00fd, 0x1fafff4, 0xf04fefe, 0xfafaf9fc, 0x400, 0xfd00ff, 0xf8f5f8f7, 0x9f90af7, 0x9f700fc, 0x404fb0c, 0xfd0cfcff, 0x1010203, 0xd090501, 0xfcf606fe, 0x100ff03, 0x101f900, 0x301ff03, 0xfc02f9fc, 0xfc05fd, 0x2030209, 0xfe030201, 0xfb010003, 0xf8f80801, 0xfcfc00fb, 0x3fff2fc, 0x3a00fc01, 0xfd00ffff, 0x1000000, 0x30202fe, 0xc00113fd, 0x302f6fa, 0xfcf900f9, 0x2fb0601, 0xfffc0000, 0xfced0804, 0xf5f90301, 0xf9f90005, 0x2ff0104, 0xfcf901fa, 0x7000804, 0xc170118, 0xe301fcec, 0x4000fd01, 0xff00ffff, 0x1000000, 0x1fd03fd, 0x50edb1c, 0xec07fb07, 0xfa010b01, 0xf702fd08, 0xf9da3ffb, 0x5fe0300, 0xfc0508, 0xe121e102, 0x10408ff, 0x7080007, 0xfafdf7f8, 0xfcf705f6, 0x7fc0000, 0xc07fdfa, 0xf0fe04f5, 0xfef90606, 0x7040109, 0x3110000, 0xf0fa0001, 0x306fef9, 0x6fe06, 0x107f902, 0xa0205fd, 0xedf103ff, 0xfcfcff02, 0x1fc04fc, 0xfdfd0301, 0x302fffb, 0x2fc0303, 0xfefe0202, 0x5050404, 0x7ff03, 0xfefefcfd, 0xfffc01f9, 0xf7f900ff, 0xfc01fd, 0x802ff03, 0x40505fe, 0xfe03f904, 0x4050202, 0xfe05fd01, 0x3ff0401, 0x303f904, 0xfdfd0304, 0x10000, 0xfdfe030c, 0x40700fc, 0xf501, 0xfafb0002, 0x6090309, 0xf708fafd, 0x6ff0100, 0x405f0fc, 0x7070d0c, 0xfcfd0003, 0x409ff06, 0x30b0611, 0x10404, 0xf800f4f3, 0x7fe00fe, 0x602f7f8, 0xfbfef5f4, 0x13030221, 0xfb0d0c0f, 0xf11a0411, 0xa0c09fd, 0xfc18e603, 0x26201111, 0x14320b59, 0xfefc, 0xf1ef00f4, 0xfcf400ff, 0x5050b04, 0xfc04f7ff, 0xfd000101, 0x2020d10, 0xc0dff0e, 0xfe12f30c, 0xf1fd03fc, 0x804f7fb, 0xf6f9ff00, 0x8ff08fd, 0xc000303, 0xa09000e, 0xf203fa01, 0x505fe01, 0x8fc08ff, 0xff02fefa, 0x6fff5f5, 0xc00fc03, 0x102, 0xff05ecf8, 0x1f90e02, 0x1010302, 0xfafe03ff, 0xfbfff9f8, 0x40403ff, 0x1040408, 0x308ed03, 0x35feff01, 0xfc000001, 0xfdfd0300, 0x4010302, 0xc1031000, 0xfdfaff03, 0xfe050207, 0xff0401ff, 0xfcfc, 0xfcfc01f5, 0x303fcfc, 0x306f9ff, 0x1fe0603, 0x209fe06, 0x1000d05, 0x3fc03fe, 0xed08f0fc, 0x30ec1100, 0xff000001, 0xfdfd0300, 0x1000300, 0x3fefd20, 0xcbfffd01, 0x108fbf8, 0xf9fa0300, 0xff0611d8, 0x2f02fefd, 0x30003fe, 0x21fce0c, 0xfa0502ff, 0xfef608fe, 0xfe02fd08, 0xc040b, 0x3070209, 0xb08fb06, 0xed030403, 0xfb000c06, 0x605060a, 0x70108, 0xf40cf501, 0xfefefe, 0x1ff0405, 0xf7fbfe00, 0x8fe06ff, 0xee00fefb, 0x908fd06, 0xfe03fdfc, 0x7060104, 0xfdfefffe, 0x40001fe, 0x7070409, 0x105ff00, 0xf9f9faf4, 0x4fa0503, 0xfbff0503, 0xfb07f900, 0xffff01ff, 0x900feff, 0x50004ff, 0xfcfdfd01, 0x30000fe, 0xfcfc0302, 0x1000400, 0xfdff03, 0x60104, 0xf8fcfdf9, 0xfbf707fb, 0x2f902fb, 0x1fcf8ff, 0xf8fdfbf8, 0x11030404, 0xf906fa06, 0xfefe0c09, 0x207e900, 0x6ff1507, 0x20dfe0b, 0x108030c, 0xf9020400, 0xfcf8, 0xf5f5f2f3, 0xfeea10fa, 0x2f6f9f8, 0x1fe0710, 0xfdfa0b03, 0xe5ed02e3, 0x21131120, 0x41ae3f4, 0xfcf41422, 0x3fffcea, 0x15ebe8c8, 0xfef6, 0xf8fd0300, 0xfc000404, 0x8070b07, 0xfd08f102, 0xfe03fe00, 0x3010bff, 0x6f903fd, 0xf5f4fbfc, 0xf7020504, 0x3fffa02, 0xfe0af803, 0xfb0d00, 0xbff02fe, 0x3f704fb, 0xeff8fcfa, 0x9fe0000, 0x1f90eff, 0xfefe0202, 0xfaf6fcfd, 0xf00fc00, 0xf9f9fff7, 0x3fbf100, 0xb0a02fe, 0xfdfef8, 0xfdfb03fb, 0xfdfdfc00, 0x905fbfd, 0xf5f10ffc, 0x1faf603, 0x3200feff, 0xfd000000, 0x30000, 0x3ff02fe, 0xc3000cfc, 0xfcfbfffb, 0x1fe0501, 0x305fc00, 0x4, 0xfd05fe02, 0xfefd0203, 0xfdfdfc00, 0x7060000, 0xe0c000e, 0x411fafe, 0x2fd03fd, 0xfc0cec08, 0xfcd43f02, 0xfd000000, 0x3ffff, 0x1ff03ff, 0x2fe0405, 0xe01ae300, 0xfff3f7, 0x5030909, 0xf4fefae7, 0x36ee1202, 0xff02fe, 0x3fff021, 0xd7fe02fe, 0xfefe0c02, 0xf9fdffff, 0x1000703, 0x606070b, 0x303fd05, 0xf008f9fd, 0x2041109, 0xff0203ff, 0x3020203, 0xffd17, 0xe8ff0405, 0x4fcfc, 0x5fb02, 0x2fc02f8, 0xf903f9fe, 0xaff0103, 0xfd020005, 0xfe0401, 0xfbffffff, 0x5000302, 0x5000400, 0xffffff, 0xf0f6fefa, 0xfff509f9, 0x20001fc, 0x102f700, 0xfdfe0300, 0x7fe0505, 0x404ffff, 0xfe01f6fa, 0xfdf400f4, 0x5fd0701, 0x303faf9, 0x700fcfd, 0xfdfafff8, 0xfdfd0505, 0xfb050200, 0xfefc04fe, 0xfffcfc00, 0xfd05fb05, 0x4f808fc, 0xff020109, 0x40f0104, 0xf7f9f505, 0xa0909fd, 0xb06020a, 0x30c0009, 0xf505fbfc, 0x1fd0203, 0xf604f80a, 0xf2fe08f6, 0x9fd0509, 0x20aecef, 0xfef0ffe4, 0xe0df702, 0xf2d310d2, 0xce2d18, 0x1cd7df, 0x2602d6dc, 0xfec53310, 0xfdff, 0xf90002ff, 0x30504, 0xfc03f4, 0xfdf4f9fc, 0xfffdfffe, 0x1fc04f5, 0x1f006f3, 0xf9f703ff, 0x50d040c, 0xf902f800, 0x204fd09, 0x40d0000, 0x5fafcf4, 0x5f603f5, 0xf7fdfcfd, 0x4f80800, 0x30201f5, 0x1f8fbf1, 0x3fa01ff, 0xdfd0203, 0xfc06fd04, 0x10010, 0xfd020707, 0xff06f6fe, 0xff0001fe, 0xff00fbff, 0xd03f7ff, 0xf1fb07f3, 0x5f7f1f2, 0x4202fc00, 0xfd000000, 0xffff0100, 0x4010100, 0xbcf90ffc, 0xb0bfe0a, 0xfb0400ff, 0x1fdf8f9, 0x2fb01fc, 0x302f5f9, 0x702fefe, 0xff00f8fc, 0x8fd01fe, 0x7f703fa, 0xf601fd, 0xfb03fb, 0x605ee07, 0xe9f433e8, 0x1601ff00, 0x1, 0x1fe, 0x2fe04fe, 0x422c908, 0xeff7f6fa, 0x7fc08fb, 0x40bfc0d, 0xffd63afe, 0xfe02fe, 0x2fd0613, 0xd511f0ff, 0x50600fa, 0xfcfdf7f5, 0xfdf10af4, 0x2f00af3, 0x1f104f8, 0xb13fa14, 0xfe100201, 0x20302, 0xfffdfa, 0xfff90703, 0xf510f1fd, 0x2ff0104, 0x105fb05, 0xff020505, 0xf905fa06, 0xfcf80d04, 0xfc030306, 0xfd03fffe, 0xf4f701f9, 0x5f902f8, 0xafdfaf3, 0xf9ec08f5, 0xf8fd00ff, 0x5fc, 0x7010404, 0x3f400, 0xff020100, 0x7000904, 0x101ff01, 0xf7fafd01, 0x1050207, 0x4060504, 0x1fd04, 0x300f8fc, 0xfcfbfcf8, 0x50002fd, 0x1030304, 0xfe04fefe, 0x403fe05, 0xff07f804, 0xf8f803f3, 0x9fd00fc, 0xf9f103f3, 0xf7f30a08, 0x6040d08, 0xfdfa03fb, 0xfcf40d01, 0xff0bfb0b, 0xfd070005, 0xfc0bf003, 0xf7080606, 0x30001fc, 0xa04041c, 0xe604fb00, 0x8faf8fb, 0x40d0906, 0xe8ee07c8, 0x10d8e5e6, 0xf7b72405, 0xd7de00ab, 0xecf8, 0xff01fe, 0xfffd01f9, 0x4fdfef8, 0xfef9ffff, 0x4040005, 0x70bf5fc, 0xfb08fd, 0x40001, 0x703fdfc, 0x3fd08, 0x6ff08, 0xfd01ff00, 0xfcf7fffa, 0xfaef07f3, 0xfffb0100, 0x1fd0b00, 0xfd00fc, 0xfb0303, 0x1010303, 0x6fc0802, 0xfb01f9fd, 0xfefbfef9, 0x2fe02f9, 0x2fcfa00, 0x203fdff, 0xfcfcfdfe, 0xf00f1fa, 0xf6fffef6, 0x2f3f6f8, 0x4a00fafe, 0xff000000, 0xfeff0200, 0x3ff0402, 0xc00606fd, 0xbfdfcfb, 0x303, 0x103fc07, 0xfb00fefd, 0x701f905, 0x301fd00, 0x203fa05, 0xfd0602, 0x5000401, 0x809f901, 0xfbfc04fd, 0xd04eb01, 0xf008fdd2, 0x43ff0000, 0xffff, 0x10000ff, 0x1fe03fd, 0x4fdf428, 0xc4fd0108, 0x2030803, 0x504fc04, 0xf5fa1fdf, 0x23020000, 0x1ff04fd, 0xf921d001, 0x602fdff, 0xf7fafe01, 0x60a0202, 0xfefe05f9, 0x5fdfbf4, 0x8f10c03, 0xfc01f8f7, 0xf8ef04f0, 0xffef00f2, 0xfef10bf5, 0x303fa0c, 0xfa040104, 0xff02fa01, 0xfe000500, 0xf5fcfbfd, 0x40504fc, 0xfdfd04fe, 0xfefff9f9, 0xf6fb02fc, 0x3fa0901, 0xf8ef00f5, 0x40004fc, 0xfd010304, 0x4080306, 0x2010704, 0xfc00fd09, 0xf7010404, 0x502fff8, 0x1f80a03, 0xfe0afb08, 0x40b0009, 0xfd020603, 0xfafdfafa, 0xfdf401fd, 0xff00fbff, 0x2fc03fd, 0x1fd0701, 0x3f8fd, 0x1fa0703, 0xfbfff900, 0x109fb01, 0xf805fd, 0xfe02fdfc, 0x50a0202, 0x1fdfcec, 0x3f209f8, 0x80408ff, 0xfc01, 0xfc000303, 0x209ff18, 0xf718f507, 0xfc000100, 0x7fd0d06, 0xf212ec03, 0x904000c, 0xff070604, 0x723f814, 0xf13012f, 0xe51de4dd, 0x10160c22, 0xf708, 0xf7fffdfb, 0x703fdff, 0xfb00fd, 0x302090c, 0x80008, 0x102fc09, 0xeff80cfc, 0x4000101, 0x701f9fd, 0xa07f5ff, 0xf8f703fb, 0xf9f703fb, 0x6050006, 0x30ff800, 0x506fb00, 0x5040e07, 0xfa010809, 0x40d040e, 0xff0c0009, 0xf4f70ffe, 0xfd00fc03, 0xff04fd03, 0x304fdff, 0xfcf90302, 0xfdfd0000, 0x4fc03, 0xbfff1ff, 0xfc05f900, 0x301f702, 0x46feff03, 0xfc000000, 0xff010100, 0x2ff0500, 0xc3030603, 0xfff701fc, 0x40000fd, 0x3fffd00, 0xfd02fbff, 0x8000007, 0x4ff06, 0xfc00fe04, 0x206fefe, 0x6ff0601, 0x7000007, 0xf804fdfd, 0xffff307, 0xf209f3ff, 0x1fdb2601, 0xff000001, 0xffff0100, 0xff0400, 0x1fd040d, 0xd720e403, 0x8090001, 0x1fd0607, 0xedfffbdb, 0x41f905fe, 0x30000fc, 0x407e41b, 0xeb00fd00, 0xf1fafffb, 0xc01fffe, 0xffff02fc, 0x8fffc00, 0xf800ec, 0x3f3fdf8, 0xfffb, 0x3ff0100, 0x103fcf4, 0xf100f7, 0xfdfdf9, 0x3fdff02, 0xfd0100fc, 0xfc03f800, 0x9050304, 0xfb02fdfb, 0xfdfaff00, 0xff090209, 0x60cfafd, 0x2070108, 0xf8fc00f8, 0x4ff0b07, 0x508f9fe, 0xfbf70bfb, 0x1000003, 0xfc080105, 0xfbfbfffb, 0xfef80af8, 0x1fb0707, 0xfd00fdfd, 0x20201fd, 0xf7fafdfd, 0x403, 0xfbfff9fd, 0x3fe0500, 0x10006ff, 0xfdfcf7fb, 0xfa01f4, 0xfdf60300, 0xfffc00, 0x4040908, 0xf802faff, 0x600fffd, 0xfc0000, 0x40104fc, 0x4f8ffef, 0x5f400f8, 0xfc04fd, 0xfffa02fd, 0xfb01f1fd, 0xfeff0503, 0x1fd05f5, 0x306001a, 0xfc0de4f1, 0xf01140f, 0xb13f20d, 0x1412f708, 0xdf02112f, 0xdffe2517, 0xfc04, 0xf906f700, 0x9020308, 0xf800fbfb, 0x2fa1304, 0x307fc03, 0xfdfff8fb, 0xf8040d05, 0xfbfc00fb, 0xc00040b, 0x1f804, 0xf804fbfc, 0x1040c0d, 0xfd04070b, 0x8fc0c, 0xf6fdfe00, 0xc070801, 0x50c090d, 0xfd06fe00, 0x203fafd, 0xfe0702fa, 0x603fa01, 0xfe000104, 0x405ff07, 0xfd08f9fe, 0xff000404, 0x408fd09, 0xfefcfa05, 0xf700030a, 0xfe05f705, 0x4302fafd, 0xff000000, 0x10000, 0x30102fe, 0xc7020804, 0x50004, 0x404fc00, 0x1fe0304, 0xff06f904, 0xfcfdf9, 0xfff804fd, 0x1020307, 0xfc010104, 0x20001fb, 0x3f7fef5, 0x1feff00, 0xfeeffefa, 0xfd05fa0c, 0xf4e13cf7, 0x8000000, 0x10000, 0xfc, 0x4ff04ff, 0xfc24c808, 0xfcfc01fd, 0xa06f5f5, 0xfc04f801, 0x15d53202, 0xfefd0300, 0x3ff021d, 0xcf01f7fb, 0xf802fe01, 0x6fb0501, 0x20808, 0xf8fc, 0xf8f4fff3, 0x9f90400, 0xf8f9, 0x8fe00fd, 0xfc0000, 0xfdfd02ff, 0xfaf902fe, 0xfef9fff9, 0x4000101, 0xff04f400, 0xc03ffff, 0xfafefeff, 0x2fd00, 0x10403, 0xfcf90302, 0xfefefbf8, 0x4040307, 0x508fdfa, 0x7fcfcff, 0xf8fcfff0, 0x9f805fd, 0x3040407, 0xf703f8fc, 0x50304fd, 0xfc08fd, 0x3, 0x1fcfc, 0xf5fafffc, 0x703fefd, 0xff01fc04, 0x101fd, 0x50100fb, 0xfffdfc02, 0xf7f907ff, 0xfdff0400, 0xfcfc0303, 0x10008ff, 0xf8ffff04, 0x1ff0000, 0x404, 0x8080105, 0xff000001, 0x400ffff, 0xf2f100ed, 0x7f50cff, 0xfc00f0ff, 0x3040201, 0x30301ff, 0xfffb00fb, 0xf3f2f907, 0xf4ec05dd, 0x3608f50b, 0xe7de06ed, 0x7150307, 0xf9211d19, 0xf5f9, 0x202f904, 0x8030000, 0x109fb09, 0x40b0c04, 0x102f3f9, 0xf4f0fff7, 0x908fffa, 0x403f9fc, 0x100003ff, 0x100ff07, 0xfe0dff11, 0x313fd04, 0x40bfc00, 0x404ecf4, 0xfe0c0c, 0x40403ff, 0x60004fb, 0xfbf900fb, 0xfbf4fdf7, 0x4fd0b06, 0xfefefe02, 0x206fe03, 0x100feff, 0x507f907, 0xf80003ff, 0x5000003, 0xfc01f8ff, 0xfb03fdfd, 0x706f504, 0x3dfefe02, 0xfd000000, 0xffff0100, 0x4010302, 0xc9040b07, 0xfa01ff00, 0xfcfcfc, 0xfb04fc, 0x502030c, 0xff0b000e, 0xfa09fe03, 0x103fdfd, 0x3040003, 0xfcfd0400, 0xfdfdfc, 0x3fe0302, 0xfd010003, 0xf9fffe03, 0xfa090ad7, 0x3201ff00, 0xfffffffe, 0x2000000, 0x3ff02fd, 0x304e723, 0xd9000706, 0xfefafe03, 0xfd04fd09, 0xf3e73bf0, 0xe0002ff, 0x2fe03ff, 0xf323d3ff, 0xfe050007, 0x1020704, 0x105fffc, 0xf7f3fdf8, 0xfdfd0200, 0xfef508f9, 0x700fb03, 0x5000000, 0xfdfd0704, 0xfc03f9fa, 0x303fdfe, 0x2020609, 0xff04fbfe, 0xfefdfa03, 0xa01ff01, 0xff060109, 0xfc05fd05, 0x207fcff, 0xfafd04fe, 0x2020108, 0xfd010705, 0xf9fc, 0x3f800fc, 0x4fb00, 0xfef50efe, 0x50000fc, 0x106fb09, 0xf9fd06ff, 0x10000f8, 0x800f9f9, 0xfef7fef9, 0x4ff04, 0x300fe00, 0x1ff04, 0x408fd04, 0xfffe0806, 0xf8ffff02, 0xf80302fe, 0xff00fdf9, 0xfefb05fd, 0x50103fc, 0x4fd02, 0x304ff03, 0xfe01fffc, 0xc000403, 0xff03f2f5, 0x2f3fdf1, 0xfcfb00fb, 0x7fbfeed, 0x2f3fd00, 0xfdfa03fb, 0xc04ff02, 0x104070b, 0x119fc1c, 0xfb23ddfb, 0xdd203e0, 0xefe8f0d2, 0x1cc10d9, 0xfcdc1fde, 0xfcff, 0x8050410, 0xfc04ff03, 0xfdff0509, 0x207fdf8, 0x7fef1fc, 0x109020c, 0x1040106, 0x608fa09, 0x3fcfcf5, 0x5f90600, 0x103fc00, 0x1fe0304, 0xf8fc, 0x800f307, 0xfd0405fd, 0xa03fdfd, 0x4fb01f8, 0xfefbfdf8, 0x502fe03, 0x2010b01, 0x3f5fa, 0x6fefdfd, 0xfc01ff, 0x600f6fd, 0xfb000805, 0x404f8fc, 0xfcfcf4f8, 0xfcf900fc, 0xf5fcfc, 0x4302fd01, 0xfc000000, 0xfeff0200, 0x1fd0600, 0xc90008fd, 0x70af803, 0x609f704, 0xfc00fffb, 0x5fb01f9, 0x2fc02fe, 0xfbff0001, 0xfffffcfe, 0x803fd00, 0x40000, 0x306, 0x3fefe, 0x203fe01, 0x8fe08, 0xfa08f7f5, 0x27ea1601, 0xff01ff01, 0x1000000, 0xfd04ff, 0x3ff021a, 0xcb0cf8fd, 0x504f3f9, 0x400ff02, 0xf90809d6, 0x3a02fefe, 0x2fe04ff, 0x20eda15, 0xe900fcfc, 0x3fefef5, 0x3f7f7ef, 0xfdf503fb, 0x2000200, 0xfe000f07, 0xfcfcfcfd, 0x3fbfdf8, 0x7020500, 0xf9fdfafe, 0x1fcfcfb, 0x3fc01f7, 0xf80b08, 0xfa04020c, 0x406fd04, 0x4090008, 0xf400f8fb, 0xf900fd, 0xff020604, 0x204fd00, 0x10402ff, 0xfdfcfbfe, 0xfb01fc, 0xfcfdfe, 0x20201f5, 0x4f408fc, 0xb06f904, 0xf9040200, 0xfdfc0400, 0xf8f9f8, 0xfa0602, 0x20205, 0xff010104, 0x206fd04, 0x205, 0xff05fdfa, 0x204fd02, 0xfb050c0f, 0xf808effa, 0x1fd05fd, 0x6fe0803, 0x80bfd0b, 0x40cfd0a, 0xeffb0400, 0x8fc03fb, 0xfdf9f3fa, 0x1f9fdf9, 0xb08030b, 0x408f903, 0xf3f401f8, 0x1fc06ff, 0x4f70901, 0x8080102, 0x1fb00, 0xf9fe0324, 0xd7ee09f4, 0x50a041e, 0xe70400f4, 0xfdf50ee4, 0x804, 0x7030100, 0xf8fcf9f6, 0xfef702f4, 0x6f80904, 0x1fefb08, 0xf5fcfbf5, 0xf03090b, 0x5ff0a, 0xfd04fc04, 0xfcfbfdf2, 0x6f70a05, 0xff030000, 0xfcfc0307, 0xf9f8f5fa, 0xfd07ff, 0x5fa0401, 0xfffc00fb, 0xfdfbfb, 0x2f80600, 0xfefc0f00, 0xfffffe08, 0xff010105, 0xfc010606, 0xf9f9fcff, 0x403ff, 0xfdf8f5f5, 0xfef7fd00, 0xfc00fdfd, 0x2fff9fc, 0x45fefeff, 0xfd00ffff, 0x1020000, 0x40301fe, 0xc8fd0f04, 0x401fc05, 0xff050d, 0xf304fb00, 0x601ffff, 0x4010807, 0xf1fd0300, 0x506ff09, 0xf5f603fc, 0x400fdfd, 0xfefbfdf5, 0x5fa00fc, 0x3fdfffe, 0xf9f7fdf6, 0x3fffb03, 0xf6d243ff, 0x1, 0xffff0100, 0x1fd, 0x3fd04ff, 0xf428cdfd, 0x6fef803, 0xfaf903fd, 0x4fdf8, 0x1fdd2302, 0xfefe03fd, 0x4fff51a, 0xcf00fc00, 0x300fdff, 0xfcf80102, 0xfe03fdfd, 0xb06fafe, 0xf0fffff, 0xf2f50700, 0x1fefbfc, 0x5fa07fc, 0xfbfefafe, 0xa07010c, 0xfc050004, 0x4080401, 0xfc030809, 0xf8fd0000, 0x4000000, 0xf501fb04, 0xfc000909, 0xf802fbf7, 0x8fdfdfd, 0xb070005, 0x8fd0a, 0xff090008, 0xfd05fa02, 0x1010505, 0xfeff0a01, 0x6fc0104, 0xfc070005, 0xfc040000, 0xfdfdff03, 0x30401, 0xff00fefc, 0x2ff0402, 0xfdfdffff, 0xfefd00fb, 0x400fbfe, 0xfcf8fcf7, 0x501170c, 0xf80ce906, 0xff040403, 0xc090809, 0xfdfe0304, 0x303fc02, 0xe6f903f8, 0x4f408f9, 0xfdf9040a, 0x60ffe10, 0x50608, 0xff03fd07, 0x115f408, 0xf4fb07fc, 0x5fdf5e9, 0xeef10fe, 0xfdfbffff, 0x107f7fb, 0xf115f905, 0x1616fd0f, 0xb33f82b, 0xf01e1525, 0x9f9, 0x8fa03fc, 0x4fc07, 0x9040b, 0xfb0005fc, 0x803fb03, 0xf503030b, 0x90501fd, 0xfffc00fd, 0x101ff04, 0xf4fcfdfc, 0x6fc09fb, 0xfc00fc, 0xfcfcf7f0, 0xfaf103ff, 0xff0b03, 0x8060406, 0xfa010203, 0x104f801, 0xfbfa01f5, 0x8ff04f4, 0x1f606fe, 0x100fdfc, 0x5050201, 0xf901f7fc, 0xfcf801f6, 0xfcf5f6f6, 0x1f90804, 0x911f80c, 0xfc06f704, 0x4302fbff, 0xfe000001, 0xffff0100, 0x3ff0402, 0xc8021104, 0xfc00, 0xfcfc03fa, 0x50cf90a, 0xff030004, 0xfffffcf3, 0xfdff0804, 0x302fd00, 0x712f908, 0xf7fb0503, 0x409f905, 0xfefefdfb, 0x901fafc, 0x104fd04, 0xff00f8fd, 0xf5fc22db, 0x2601ff00, 0x1ffff, 0x10000ff, 0x3ff02fd, 0x60fd416, 0xf202f3fd, 0x30303, 0xfafd0303, 0xfbdf3df9, 0x5000300, 0x3fffd07, 0xb8f008fc, 0x3fc0100, 0xfbff0402, 0xfd010105, 0xfa0e0e, 0x100f0f1, 0xff00f8, 0xf703ff, 0x1fb05f9, 0xfefc0406, 0x602feff, 0xfd00fcfc, 0x3fb05fc, 0xfdfd06fb, 0xfd000000, 0x8040105, 0xfa0af201, 0x2070907, 0xff0ef407, 0xfcfb0c0a, 0x908fd05, 0x5fa02, 0xfd00fcfc, 0x807f502, 0xff0004ff, 0xc0d0003, 0xfdfa0700, 0xfc000000, 0xfd01feff, 0x20205, 0xfe0300ff, 0xfafa0400, 0xfffd03fc, 0x605060c, 0xf503f7fa, 0xfdf3fff7, 0xf9f40c04, 0x100ffff7, 0x504f30e, 0xf504ffff, 0xafd0aff, 0x1030404, 0x1f9fe, 0xef07fc00, 0x3ff06fd, 0x4040303, 0x1fe0202, 0xfe00fef8, 0xf6ef08fa, 0x3fc040c, 0xf1090f11, 0x410f00b, 0xf4f108e9, 0x10fc0805, 0xf1f5f2f0, 0x1211f70f, 0x4fdffff, 0x12060c1a, 0x133dec14, 0x5eb, 0xcef0bf7, 0x5fc0404, 0xfc000703, 0x109fc00, 0xfdf500fa, 0xff040506, 0x300fcfb, 0xb07f5fc, 0x702fe01, 0xfa07fa04, 0x70503ff, 0xfffefd, 0xf7f8f5f6, 0x602fdfc, 0xfc08f9, 0xcfd0801, 0xfc03ff00, 0xfefdfe03, 0xf2fa00f9, 0xbfc04fc, 0x7020905, 0xf1f503fb, 0x5fb03fc, 0x306f504, 0xf5fd02fe, 0x507f102, 0x10e07, 0x402fd07, 0xf702f500, 0x41fefe01, 0xfd000000, 0xfeff0200, 0x2ff0500, 0xc6fe08f5, 0x8fdfeff, 0xfe01fbf9, 0x7fbfafc, 0x1fefbf9, 0xfa0705, 0x80000, 0xfdffff, 0x2fafbfc, 0x5ffff, 0x500fc03, 0x5fb03, 0x600fa00, 0xfffafc, 0xfefb0104, 0xf807fbe0, 0x3df70800, 0x1, 0xffff0100, 0x1fe03ff, 0x3fcfd25, 0xc8fbf901, 0xfbfc03fc, 0xfe00fefb, 0x10110d4, 0x33020100, 0xfddfdf, 0xd6fd0b00, 0xfdfa00f9, 0x200fffb, 0x5030103, 0xc0f0001, 0xf4f4ff03, 0xfe010203, 0xfcff02fe, 0xa070103, 0x5fdfe, 0x7fff8f9, 0xfdf90603, 0x10100fc, 0x302fffb, 0x907030a, 0x507fa00, 0xfa00fe0c, 0xf80202fb, 0x2fef701, 0xfc010d02, 0xfff80702, 0x2fa02, 0xfb000004, 0x804fc0b, 0xf8040b0b, 0x1000000, 0xfcfffff7, 0xfb0500, 0x3fc01, 0x1fcfb, 0x1fefaf8, 0x1ff0803, 0x40405, 0x10002fc, 0xeef5fefc, 0x201f8fa, 0xf101418, 0x8f801, 0xfc050e, 0x19f711, 0x701fe, 0xc09ff04, 0xfd01f2fa, 0xf1fcffff, 0x9050908, 0x105fe00, 0x403ff00, 0x20206, 0xfa0a0103, 0xffff01fc, 0xfc071109, 0xfb00efff, 0xfa05fefb, 0x11fcf4e8, 0xfbf20101, 0xffe0c13, 0xfd0c000d, 0xfffafdeb, 0xecc4fcd4, 0xfbe8, 0xbe716f2, 0xcf90f04, 0x40cfd02, 0xfcfdf7f8, 0xfbf6f8ee, 0x5f400ef, 0x9f50a03, 0x6fefb04, 0x502ff03, 0xf801fb02, 0xfef903f9, 0xfff8fdf7, 0xfcfcfc03, 0x300fd00, 0x404fdf9, 0xefb08fb, 0xfefdfffd, 0x302fe02, 0xf202fe00, 0x6fb04fb, 0x6fafbec, 0xf8f303f3, 0xcfa0d04, 0xf8f9fd01, 0xf6020606, 0x607ec02, 0x1031005, 0xc0dfc0c, 0xf80de901, 0x4202fd01, 0xfc00ffff, 0x1020000, 0x30102fe, 0xca0205ff, 0xfcf303f8, 0xfdf7fdf9, 0xafcfafc, 0x4fffbff, 0xb0a0205, 0xfafffdfc, 0x5010305, 0xfd00f7fc, 0x3ff0505, 0xfdfdff00, 0xfffffafe, 0x7fffc01, 0x1fd04, 0xf7fdfffb, 0xf9fcfcfd, 0x14d43501, 0xff000000, 0xfeff0200, 0xff03ff, 0x2fe0405, 0xe21fd5fb, 0x303fbfb, 0x2ff0708, 0xf900f8e8, 0xdc217d8, 0xf4ccebd8, 0x50701fd, 0x3030306, 0x105080e, 0x9070f, 0x205faff, 0xf5000001, 0x3fcfd, 0x1020303, 0x4fd00fc, 0xfc0403, 0xfcf5f9, 0xa06fefe, 0xfdfffc, 0x4fd0402, 0x4fd00fa, 0xb00f1f7, 0xfd00ff, 0x70efa06, 0x307fc0c, 0x10fd00, 0x10600, 0xfefefe02, 0x40bfe09, 0x1fe03, 0xfa050701, 0x4040004, 0xf0f80801, 0x4050404, 0xf7fb0100, 0x101fe03, 0xf9fbf8f9, 0xc0401fd, 0xf0c070f, 0xfe0c030d, 0xf00fecfd, 0x3fe040a, 0x16110603, 0xf6f90304, 0x40302, 0x507f808, 0xf5fd0703, 0x8fff8f8, 0xf4eff4f1, 0xfbfb0905, 0x9050703, 0x20004, 0x303fe02, 0x2040a0c, 0xff11fb0b, 0xf501fdfd, 0x708170e, 0xf609e2fc, 0xf9fbfcf9, 0x5ed241d, 0xfb1df814, 0xe1e6f4ce, 0xedf02e1, 0xe20bf0, 0xfd011b20, 0xec04, 0xfbf418f6, 0x15ff0cfc, 0x800f8fb, 0xfff901, 0x6f806, 0xfafbfaf5, 0xbf710fd, 0xb02fa01, 0xfffbfcf8, 0xfcfc0405, 0x7f9fd, 0xfbf901fd, 0xfbfc0000, 0x5020308, 0xff03fd03, 0xc01f8f1, 0x1f40aff, 0x501f5f8, 0xf7fd00ff, 0x1fa07fd, 0x4fbf8f8, 0xfcfc04fd, 0x8f904f0, 0x5fdfbfb, 0xfb0005ff, 0xc05f40d, 0xfc080800, 0x5f902ff, 0xf5fcecff, 0x41fefeff, 0xfd000001, 0xffff0100, 0x4010302, 0xc5fd01f9, 0xfbf801f6, 0xf9faf6, 0x9f501fc, 0xb03fc04, 0xb04fdff, 0xfb000205, 0x303ffff, 0xf9fbfc00, 0x5020300, 0xfbfefaf9, 0xfff90403, 0x1fdfbfc, 0x3fffe00, 0xfa03f6fa, 0x304040c, 0xf8f02fea, 0x1601ff00, 0xff010100, 0xfd, 0x4ff03fe, 0x21ecc15, 0xebfd0305, 0x6090305, 0xfc08f505, 0xfef6fddc, 0x4ec0506, 0x4050206, 0x2050305, 0xf9fd0f04, 0x10500fe, 0xfffb0405, 0xf505f7fc, 0x5010005, 0xfe020100, 0x501ff00, 0x1010300, 0xfc07, 0x300fe00, 0x2020104, 0xfdf9, 0x2f7fef5, 0x4eef8f5, 0x3f800f8, 0x4f504ff, 0x804f800, 0x1010206, 0xfd030805, 0x40bf805, 0xfcfd00ff, 0xfffcfd, 0xff020c07, 0x508f7ff, 0xf10001f9, 0x4f904f9, 0x2ff00, 0x403f9fe, 0xfafffe05, 0xa030103, 0x3f70dfd, 0x4030000, 0xe9f9fa07, 0xfafe0a04, 0x1907f5f6, 0xfefe01fc, 0xfc03fc, 0x6fdeef3, 0x4020500, 0xfff7fdfc, 0xf7fff4ff, 0xfe020700, 0x1007ffff, 0xfffefd, 0x6000608, 0x80e0307, 0xf5fd0305, 0xf101fafe, 0x9000ff8, 0xa0ce711, 0xf40cf808, 0x80bfde4, 0x12fb0609, 0xa32ea28, 0x31d031e, 0xf8162934, 0xc43052d, 0xf909, 0x3111912, 0xa0701fc, 0x8fcfc00, 0xfb02, 0x2f600, 0xf7fdfbfe, 0xcff1201, 0xfff504ff, 0xfc00, 0x5090308, 0xff07f907, 0xf7030406, 0xbf803, 0x1fffffb, 0x2fe0405, 0x700f4fc, 0xfffa02f2, 0xbf8f7fa, 0x2050207, 0xfc02fef9, 0xb00f0f8, 0x3ff0904, 0x40000fc, 0x3fafdfc, 0xfdfe0f08, 0x804f404, 0xfc04fcf8, 0xfcef00ed, 0xfff7f2fd, 0x4602fafe, 0xff000000, 0xfeff0200, 0x3ff02fe, 0xc700fcfb, 0x303fafc, 0xa06f602, 0x6ff01ff, 0xf03050c, 0xfdfe0001, 0x309f4fb, 0xfff701f9, 0x404fb03, 0xfdfb0800, 0xfc01f900, 0x2030201, 0x101fa00, 0x502fe02, 0xfe06fa0a, 0x70609, 0xfb0cf9d6, 0x3fff0000, 0x1ffff, 0x1000000, 0x1fd03fd, 0x4fff427, 0xc8040001, 0x4ff0703, 0xf1f8fcff, 0x708fd08, 0x80c0007, 0x70afe06, 0xff03ffff, 0x10704fc, 0x4fff3f2, 0xfdf01400, 0xfb06f100, 0x5000202, 0x2060308, 0xfbfe0100, 0x1000502, 0xff01ff04, 0xfcfd0100, 0x604fafd, 0x300070a, 0x50dfb0a, 0xf5fbff02, 0xff0100, 0x3fffdf8, 0x9f90607, 0xf9ff01fe, 0x3040400, 0xfffbfe01, 0x5ff04, 0xfbfffcff, 0xffff0d00, 0x2fdf7fd, 0xfc080007, 0x3fffe, 0x1ffffff, 0xfaf50703, 0xff08fe08, 0x200fdfc, 0xfdf60ef7, 0x9fcf8f4, 0xf0fb0001, 0xfb02120a, 0xf00f1fc, 0xf6f401f4, 0x5f907fd, 0xfcf3f4f9, 0x1f606f7, 0x6fefeff, 0xfe06f709, 0xb0004, 0x5f904fe, 0x200fbfd, 0xe050706, 0xfaf8fef3, 0x1ff0400, 0x413f811, 0x109fbf5, 0x10fbfc10, 0xf814fc18, 0xfb0b0816, 0xf6faf2e6, 0x1df90c1b, 0xec04fcfd, 0xf5fa1aeb, 0xdecd7be, 0xee26, 0xf2150e0a, 0xfafa0700, 0xfcf401f9, 0x700fd02, 0xf7f9f7fa, 0xfe01f7fd, 0x5f61afe, 0xf9f808fc, 0x905ff08, 0x306f5f8, 0xf90707, 0xf6060002, 0x406fb09, 0x8fd06, 0xfbff00fb, 0x4f8fbff, 0xfefe0703, 0xfcf40401, 0xb0a0109, 0xf401ff02, 0x2f9fb04, 0x10204fd, 0xf9fef7, 0xfef202f7, 0xc060d04, 0xfffbfa01, 0xf3f8f9f5, 0xfff800f8, 0xf9f900, 0x4600fd03, 0xfc000000, 0xff010100, 0x3000200, 0xbcf506ff, 0x1fd0003, 0x1fafbff, 0xf901f9, 0x7f110fc, 0xff00ff, 0xfcf80307, 0xfb030103, 0xfdfc0001, 0x408ffff, 0xf5f80403, 0x405fcff, 0x503fe07, 0xfe000204, 0xfc02fd05, 0x409fd00, 0xfe03f5ff, 0x1bdb2601, 0xff000001, 0xffff0100, 0xff03ff, 0x2fd050e, 0xd218e800, 0x40001fa, 0xfe07fd08, 0xf9fa02ff, 0xd04fc00, 0xfdf6fef6, 0xf705fd, 0xfc01f9, 0x9fef3fe, 0xfbfc07ef, 0xe02f304, 0xff0401, 0x3020403, 0xff070208, 0x70002, 0xfd00f7f8, 0x4000302, 0xfdf90403, 0x4040401, 0x3fff6fa, 0xfe03fe02, 0x20304, 0x1fc00, 0x8ff0801, 0x109fa02, 0x10000fc, 0xfcf900fb, 0x4ffffff, 0xf6fa0301, 0x20b00, 0xfefcfb00, 0xfd01feff, 0x201ff01, 0x304, 0xf4fe05fc, 0x401070a, 0x50dfc0c, 0xf504fcf2, 0x3ecfff3, 0x104fd01, 0x3091007, 0x800ecfb, 0xfc010000, 0x3fefdf4, 0xfdf50203, 0x204fbf9, 0x5f804fe, 0xfefe0108, 0x40cfd09, 0xfe02fdfb, 0x5fe0205, 0x1007fefe, 0xfe020105, 0xfd0102ff, 0x500fd05, 0xfbff070b, 0x500f5f9, 0xf7f80804, 0xedf6f7e5, 0x18070015, 0xf4ec0beb, 0xf6f5eee7, 0xf4e6fac6, 0x4bd2208, 0xe30, 0xf02ef212, 0xf70ff5fd, 0xfafb05ff, 0xf80702, 0xf0fbf5f9, 0x4fffc04, 0x7061501, 0xfc040400, 0x3fafdf8, 0x4f9fd01, 0xfbfc0c01, 0xf5000303, 0xfcfb0707, 0x108ff0a, 0xffa09, 0xfafffd01, 0x407fbfb, 0x908070b, 0x202f6f7, 0xfafd00fe, 0xfffb0303, 0xfe00fffb, 0xfb00fd, 0xc0b0811, 0x50a0300, 0x1f0f7, 0xf9fdfbff, 0xffff0100, 0xfffffa00, 0x4600fafd, 0xff000000, 0x10000, 0x4010302, 0xc1070405, 0xf9fd0300, 0xff0307, 0xfd040003, 0xfffb11fc, 0x4000000, 0x4fdfe, 0xfbfe0401, 0xfc000000, 0xfcf8f5, 0xfdfd03fc, 0x800fd01, 0x3ff0304, 0xf9ff00fd, 0xfdfe0304, 0x404fb02, 0xfe02fe0b, 0xf2e23bf7, 0x8000000, 0x1ffff, 0x10001fe, 0x3ff04fe, 0xfc28c909, 0xfe03fdff, 0x10004, 0xf9040002, 0x3f8fffb, 0x1ff0001, 0x10501, 0xfeff00fe, 0xfff40102, 0x1080405, 0x8fff501, 0xfeff0500, 0xfd0801, 0x4060004, 0xff03fafd, 0xfefefd04, 0xfcfc04fd, 0x3030100, 0x1fd0700, 0x401f803, 0xf9fe0202, 0x103fdfd, 0xfcf90603, 0x5000c04, 0xfd00fa00, 0xfaf90700, 0xfc00f9f9, 0x7fc0401, 0xf803fbfb, 0x5000c01, 0x3fb03, 0xfa00fbfd, 0x4ff0000, 0xc0cf801, 0xf9060304, 0x303fffb, 0xe040008, 0xff12f006, 0x205ff05, 0x1050109, 0x2080901, 0xfaf3f5fc, 0xfcfc, 0x1fa02ff, 0xfafc03fd, 0xfbffff, 0xfa01f7, 0x1fa06ff, 0xfb01ff, 0xff000205, 0x2020202, 0xf01fd00, 0x204f5f8, 0x3fe0501, 0xfffb0604, 0xfb040401, 0xf9f5f2f2, 0x500f8f0, 0xfd000b14, 0xfbf7f9f0, 0xf5f102e8, 0x1507ed06, 0xf608fa08, 0xff03fbdc, 0xcf5, 0xf8fdf702, 0xf500fc07, 0xf0fdf8f0, 0x4f4fce9, 0x160ff913, 0xe6f5f8f1, 0x12fc1b02, 0xfa000400, 0xfcf90400, 0x400f7fa, 0x201fff4, 0xb0a0108, 0xfb07fefe, 0xfffcfcf9, 0xfcf5f8f3, 0x4fd0101, 0xfd0002, 0x8010a04, 0xf9fbf4f9, 0x100fefe, 0xfdfc03fc, 0x5030307, 0x7f6fd, 0xf000901, 0x6020100, 0xf8f8f5fd, 0x105f600, 0x1fdfd, 0xf0df306, 0x3efeff03, 0xfc00ffff, 0xfffe0200, 0x1fd0600, 0xc2010805, 0xfa06fcff, 0x2010301, 0x408f7ff, 0x10108f8, 0xbfffdfc, 0x501fe02, 0xfd04ffff, 0xfe010203, 0xf5f80101, 0xff03ffff, 0x5fc00ff, 0x40000fd, 0xfbfffdfc, 0xfdfc06ff, 0xfdf800fd, 0xff0001, 0xf7060cd7, 0x3201ff00, 0xfeff, 0x20000ff, 0x3ff01fc, 0x404e520, 0xd7f903ff, 0xfefd0704, 0xfb06fd03, 0x8080009, 0xf7fffffe, 0x5030604, 0xff05fb00, 0xfefffffd, 0xb070609, 0xf8f9ff03, 0x70c050c, 0x4100008, 0x4fc00, 0x304f903, 0xfb00fafd, 0x203fefd, 0x3fd0501, 0xfefefdf4, 0x8f80000, 0xfb02fdfd, 0xfcf8fffa, 0x50300fd, 0x5fd07f8, 0xfbfcfd, 0x3fcf8, 0x3fffe04, 0x2ff0500, 0xf5fdff01, 0x1fd0bfc, 0x501060c, 0xf90bf303, 0xfcfb01fc, 0x8f80404, 0xb050d, 0xfa04f2f7, 0x7f01808, 0xf902fa0c, 0xf6000304, 0xff02feff, 0xfd03f7, 0xfdf5fd, 0xfffc0404, 0xff02fefe, 0xfe020100, 0xffff0202, 0xff010101, 0x202fefa, 0x7010000, 0x405ff02, 0x101fcfb, 0xbf70903, 0xff00f601, 0xfefcf7ee, 0xaf900f3, 0xf8f008f4, 0xfcf7f8fd, 0x5fdfb00, 0xb0e0508, 0x916fb18, 0xd4f7fcf1, 0xce8100b, 0xf1060a16, 0xe9000106, 0x1f0, 0xe9e1f7e1, 0xecf4e4, 0x4f8fbfb, 0xf9f008fc, 0xcf2fcf5, 0xeffe0a10, 0xe0c06f7, 0xfbf808fc, 0xb07, 0xfafdfb01, 0xff0303, 0xfcf40afd, 0x204fd03, 0xfc00f8fc, 0xf9f90708, 0x509fe06, 0xf9fffffe, 0x2f806f4, 0xf9f40404, 0x3f8fd, 0x4040102, 0x300fdfa, 0x701fc07, 0xf80bfa, 0x5f9fcf4, 0xfffbf9ff, 0xf9f7ff00, 0xfdfd0a0a, 0x803f505, 0x3900feff, 0xfd000001, 0xff010100, 0x30202fe, 0xc602fcf6, 0x2fe0406, 0x90d020c, 0x30bfd11, 0xf404fcf8, 0xdfa0300, 0x4fffcfd, 0xffffffff, 0x1020101, 0xfc08f8ff, 0x1010305, 0x808, 0xf8fc0400, 0xf9feff00, 0xfd0002fc, 0x201ff00, 0x303f9fc, 0xfc01f4e9, 0x34eb1400, 0xff01, 0x1000000, 0xfd0400, 0x3ff021c, 0xc60bfa02, 0x206fefd, 0xfcfeff00, 0x4fc0501, 0xfe08fa03, 0xfefc09ff, 0xfd02, 0x60af904, 0x1fa03f7, 0x3020104, 0x401fffb, 0x2f90b04, 0xff03fe05, 0xff01ff07, 0xf2fefe02, 0xfafa0602, 0xfefd06fe, 0x505fb03, 0x2fd0300, 0xf8fdfdfd, 0xfafbfaf6, 0xbfc0703, 0xfe05fc, 0xfcfcfc, 0x4000408, 0xfd02f9fd, 0xfffa02f7, 0x507fb03, 0x10304fc, 0x4fb04f9, 0x505fb0d, 0xf102fcfd, 0x6fb05fc, 0x5010a06, 0xfd09e900, 0x6ff0df4, 0xfdf8f7f5, 0xfffe0500, 0xfdfefefe, 0xf9f703f7, 0x1f8fcff, 0xfcf8, 0x4fd0706, 0xfa020001, 0xff01fffe, 0xfaf90a02, 0xfdfd0100, 0x6ff0504, 0xf5f507fd, 0x400f9fd, 0xfcee04e9, 0xef80608, 0xf3fdfb01, 0xe050308, 0x313000b, 0xfa09fe0f, 0xf5ff0004, 0xc05efef, 0x1e709f5, 0xf30e418, 0xf7032114, 0xf3161521, 0xc44f73a, 0xfdec, 0xf4f7e0e0, 0xfbdb11f8, 0xfdf1fbf1, 0x10080f0f, 0x1114f109, 0xfa140a14, 0x309eff2, 0x9000800, 0xffff0afe, 0xff03fb03, 0xfe01fffd, 0x108ff, 0xfdfa0805, 0xff08fc0c, 0xf508ff00, 0xfcf705fe, 0xfb000001, 0xfffe01f9, 0x1fd, 0x300ff07, 0xfcff01ff, 0xfcfffe, 0x8ff0205, 0xf7fc05f6, 0x7f80501, 0xfe00f900, 0xf8ffffff, 0xfdff0c01, 0x5fef801, 0x37ff0001, 0xfc000000, 0x10000, 0x4010100, 0xc4fefbfd, 0x702fdfb, 0x5f704f9, 0xa00fe01, 0xff0cf808, 0xfb0f07, 0xfe01faff, 0x101ff01, 0xfefe00fd, 0x1ff08, 0xfc030404, 0xff0300fb, 0x205fafb, 0xfcfe0504, 0x7ff04, 0xfdfffcfc, 0x4fdf4f8, 0x804f808, 0x3d73d00, 0x1, 0xffff, 0x10001fd, 0x4fe03ff, 0xf32ccdff, 0x704fe04, 0x20a010c, 0xfc040302, 0x105fc07, 0xf801fcf4, 0x9fd0303, 0xfffc0104, 0x3060205, 0xff01ffff, 0x2fd0301, 0x302fdf4, 0xc01fcff, 0xfcfc0502, 0xf404f7fd, 0x407ff00, 0xfdff0801, 0x905020c, 0xfe08ff04, 0xf1fdfefe, 0xf6fafbfb, 0x8f80dfe, 0x705f8f8, 0xfcf405fd, 0x2fb05fc, 0xfbfafafb, 0xfc0b05, 0xf9f90402, 0x2030504, 0xfcfc00f8, 0xbfe0205, 0xf60af604, 0xfaf801f4, 0x7f61501, 0xfd01021a, 0xfe12fe03, 0xfd03f804, 0xfd0202ff, 0xf6f80600, 0xf6fdfff9, 0xf80703, 0x104fb03, 0xfefd07fd, 0x30306, 0xf900f7f8, 0xfefc06f8, 0x601ffff, 0xf908fc, 0xff060504, 0xfbfbf6f8, 0x501fffc, 0xee0af2, 0x4030109, 0x803ffff, 0x2fefffd, 0x3fc01, 0xf8040105, 0x3fcff0c, 0xe2ed13f7, 0xff7fd10, 0xe5fe00dd, 0x3ed00d8, 0xdd90aec, 0xfefd, 0xf3fcf00c, 0xf405f7eb, 0x5f30800, 0x19090c06, 0x3f81017, 0x1431e007, 0xf7fb0612, 0x30cf8fc, 0x40100f7, 0x1f90705, 0xf8fffcfc, 0x40000f8, 0x80303fe, 0xfdfc0808, 0xf407fc04, 0xfb030200, 0xf6fb0500, 0xfcfd0501, 0xfefffdfb, 0x4fcfcf9, 0x502ff00, 0xfcfc00fd, 0x4f908ff, 0xf8000702, 0x1fc0b02, 0xfafef4f9, 0xff000405, 0x50d0203, 0xfefcfe02, 0x31fc03ff, 0xfd00ffff, 0xfffe0200, 0x3ff0402, 0xbefcff00, 0x3fc0100, 0xfb07fe, 0x5f90d08, 0x40df60b, 0xf1fc09f6, 0x7fffc01, 0x1, 0xfcff0403, 0x3060007, 0xf6010300, 0xf8f904fd, 0x4fff9fe, 0x2040504, 0x4f9fe, 0xfcfd0304, 0xf1fd, 0x8fd070c, 0xf1fa1fdc, 0x2501ff00, 0xfeff, 0x20000ff, 0x3fe02fd, 0x40ed819, 0xebfd00ff, 0x300fdfc, 0xfdfd0701, 0xfdfdfbfc, 0xf9fd0203, 0xfcf60afd, 0x301fcfc, 0xf905fc, 0x2ff0202, 0xfd, 0x3fd0000, 0x9fd0001, 0x207fdff, 0xf803000c, 0xfc04fc01, 0xfd0102fb, 0xe000200, 0xf9fbfdf9, 0xf6fefcfc, 0xf9fffd01, 0x70007fa, 0x2f50805, 0xfe070507, 0x106fafb, 0xfdfd0306, 0xfd0304fc, 0x205feff, 0xfffc01f8, 0x1fd02ff, 0xafe0602, 0xf905f403, 0xf4fd00fc, 0x9fe13fc, 0xff0300, 0x103fc01, 0x307f504, 0xfc03fcfd, 0xfd040604, 0xf806fd04, 0xff0301fd, 0xfdf90301, 0x30400, 0xfcfc0801, 0xf901fb05, 0xfc0300fd, 0x3fa01fc, 0x3fffef5, 0xb01fdf9, 0xfefcfd03, 0xfdfb02fe, 0xfdfb09fa, 0x2f805fc, 0xc000506, 0xfbff0404, 0xf8fcfcfc, 0x3070006, 0xf2f5f6ec, 0xf600efdc, 0x10dd07e7, 0xedef200f, 0xf0fcf9f5, 0xbf3f3dc, 0x1a06, 0xf508e4fc, 0xf4fc0207, 0x20403ff, 0x19fffff2, 0x15041408, 0xf4e8edf5, 0x8060101, 0xfffdfc01, 0x2ff0100, 0x8070303, 0xfc07fd08, 0x40004, 0x703fefe, 0x304fcf8, 0xfbfffe01, 0xf7fd0702, 0xf9050000, 0x4080407, 0x9f804, 0x7070510, 0xff0afe09, 0xf2ff0201, 0x704fcf8, 0x10103fd, 0x80401fa, 0xfefef600, 0x3040303, 0x1ff0401, 0x104f6fc, 0x2df809fe, 0x1ff01, 0xff010100, 0x1fe04fe, 0xce0ef504, 0xfdfe02ff, 0x20103fd, 0x8000f02, 0xfaf8fe00, 0xf40301fb, 0xbfffe01, 0xff00fcfc, 0x4040303, 0xfafafff9, 0x407f8fc, 0xf9fd04fd, 0x3fc0508, 0xff05fdfd, 0x300fb02, 0xfd030000, 0xfdfdf501, 0xa030703, 0xf406f5dc, 0x40f70800, 0xff01, 0x1000000, 0x1fe03ff, 0x3fefd23, 0xc8000909, 0x6020b, 0xf907f8f8, 0x702f4fb, 0x20101, 0xfc010c03, 0x1010207, 0x1080306, 0x1050003, 0xfe01fbfc, 0x3fc0804, 0xb06fd03, 0xfdfe0203, 0xf904fc00, 0xfbff0205, 0xff070005, 0x7fe0602, 0xfa03040a, 0xed01f5fa, 0xfbfc0706, 0x5040300, 0xfdfb04f7, 0x4fd0800, 0x807fd0a, 0xf704fcfd, 0x5050304, 0x20105, 0x208fe05, 0xfafe0501, 0x9000600, 0x108fc10, 0xed09fe07, 0x20012ff, 0x2010200, 0xfefdf7f8, 0xf9ee03fc, 0xfcfcf9f9, 0x2fefef6, 0xfffd0101, 0xff01fbfb, 0x1ff0400, 0x4040000, 0x105fefb, 0x103fd05, 0x20bfe09, 0x208f6fd, 0x4fe0303, 0xfff7fdf7, 0x5fefeff, 0x1030405, 0x8fffe, 0x60202ff, 0x6f90afe, 0x3fefd, 0xf6fb0100, 0xfd01fe, 0xf703f401, 0xbfb17, 0xfa010600, 0xf20516fb, 0xeef91212, 0x1017ff23, 0x401, 0xcf119, 0xff24e80a, 0x1f27f91d, 0xf4f8fcf5, 0xcec03db, 0x14fbfa08, 0xfbfbf4ee, 0xffee0e00, 0xfefc0601, 0x6ff01fd, 0xfcfd0000, 0x4040509, 0x2ff03, 0xfcfcf5f5, 0xfff903fe, 0xf5fc05fa, 0xff000404, 0xf7f3, 0x5f80101, 0x3fd0800, 0x102fe02, 0xf1010706, 0x2010308, 0xff06090c, 0xff030204, 0xfb01f803, 0x1fe, 0x300fdf9, 0xfef6f9f9, 0x25f11a02, 0xfdff0000, 0x10000, 0x3020200, 0xe214ddfc, 0xff00fd, 0xb06fd00, 0x80007f8, 0xfaf8fef8, 0xfafe0401, 0xa000103, 0xfc00f9fd, 0xa03f9f9, 0x302fd00, 0xfc0004, 0xfc070306, 0xfcfffef8, 0x5feff00, 0xfefbfefe, 0x10102, 0xfb00f803, 0x6ff02fa, 0xff05f808, 0xcd43703, 0xfd000001, 0x0, 0xff03ff, 0x2fe0304, 0xe723e903, 0xfcfff9f6, 0xfbf80404, 0x1fef802, 0x20203, 0xfa010e03, 0x20202, 0xff000906, 0x3080008, 0xf903fe06, 0xf9fc03f7, 0x6f207fc, 0x403fcfd, 0xfbff0205, 0x30d000b, 0xc010d, 0xff050403, 0xfb04ffff, 0xf608f80b, 0xf707fafa, 0x8fd03fd, 0xfc, 0x80005fd, 0xb00ff02, 0xf2fd0001, 0xb070307, 0xf5fcfdf8, 0xfff503fa, 0xfefe00f9, 0xfff00f9, 0x4fc0404, 0xfd14f60c, 0xf5ff05f2, 0xfff00fd, 0x100f3fc, 0xfbfe02fd, 0xfafbfdff, 0x401fd00, 0xfbfc04ff, 0xfffff7fb, 0xfef808fc, 0x8000000, 0xfffcfd, 0xfc00ff, 0xfffcfefc, 0x2fcfc02, 0x503ffff, 0x1010105, 0x202fd01, 0x5050203, 0xfe01fbfd, 0x8ff0805, 0xfcfb01f2, 0xe000103, 0xfc09fc04, 0xf4f8fbf2, 0xfbf900, 0x1111fe14, 0xe9030c09, 0xe8fff1da, 0x331f1522, 0xf709f802, 0xe8f4, 0xfcf00302, 0xf2f50e1b, 0xe9e50cf8, 0xf8fc0909, 0xfefb06fe, 0xbf5fcf7, 0xf4f00d09, 0x30df3f2, 0x5f90d00, 0x701fcfc, 0xfdfd0a07, 0xfd0000fb, 0xfb03ff, 0xf8fbf8fe, 0xfaf908fe, 0xfa0301ff, 0x808fd01, 0xeff00801, 0x5010303, 0xf9f907f8, 0x4fb0300, 0xfd0c0409, 0xf4fb07ff, 0x9090808, 0x40df803, 0xf0f8fbfb, 0x6010505, 0xfafc00ff, 0x1f901, 0x13ef2c01, 0xfd01ff00, 0xffff0100, 0x1fe03ff, 0x11ec304, 0x70bfd08, 0xfd0101, 0xfff808f9, 0xf5f400f6, 0x2fefef8, 0xefc0500, 0xfc00fc03, 0x5fefb00, 0x1fefcfd, 0xfffc00fc, 0x4040001, 0x70cf503, 0xfcfa0803, 0xf8fd0302, 0xfcfe02ff, 0xfbffff06, 0xfdfd00fb, 0x4000008, 0xf1ed33e9, 0x1501ff00, 0xffff0100, 0xfd, 0x4ff03ff, 0x21ad203, 0xf1f8fbfa, 0xfcfb0900, 0x302fe08, 0xfb03fbfc, 0x5070902, 0xfe00fefc, 0x30000f7, 0x1f50e03, 0xf5fff7f8, 0x2010402, 0x7030703, 0x100f4f8, 0xfdfafbf3, 0x7f704fb, 0xfaf502f6, 0x8ff02fd, 0xfe00fdfe, 0xff07f605, 0xf705f702, 0x5ff0400, 0xfdfd02ff, 0x6fd0f07, 0xfffbf5f1, 0x706fc02, 0x8ff02fe, 0xf700f8fb, 0xfc05fe, 0x202fdff, 0x4f404f8, 0x1f50eff, 0xfe00f701, 0xf703f5f3, 0x17fb0601, 0xf5f5fbfd, 0xfbfdfcf7, 0x1feff00, 0xfffb0200, 0x2070407, 0x20af205, 0xfa01fff8, 0xcfc03ff, 0xfdfc0101, 0x708fc04, 0xf8fd00ff, 0xfdfeff, 0x5ff0101, 0x1010202, 0xfafa0a07, 0x507ff04, 0xf9ff0004, 0x3ff02f9, 0x2ff0200, 0x3f508fc, 0x505fc05, 0xfa0bf606, 0x40a0617, 0xfc021216, 0xf320e7fb, 0xf5081027, 0x180cece3, 0x1c08f808, 0xf4, 0x150d0610, 0xf917040d, 0x240d25, 0xf320ec03, 0x1c21f712, 0xedf404fc, 0xf0f81500, 0xb08f005, 0x5050b03, 0x3fffd00, 0x4070401, 0xfbfff9f8, 0xf808fd, 0x5f906, 0xff0b0306, 0xfd09ff07, 0x504f8ff, 0xf707fdfc, 0x1108f6fb, 0x2040603, 0xfffaf6, 0xfcf503f4, 0x7070505, 0x905fcf9, 0x2f7faf9, 0xf2fbf6f6, 0x100004ff, 0xfb00fdfd, 0xfffcff02, 0xfceb4100, 0xfcff0000, 0x10000, 0xff0400, 0x403ec2c, 0xdd02fc01, 0xfbfcfffa, 0x2fd02f7, 0xfe00ffff, 0x4010003, 0x4f90c00, 0xf8fc0303, 0x1fffd01, 0x1010106, 0x50c000c, 0xfc04fc00, 0x801fc08, 0xf50104fd, 0xfb0001fe, 0xfe000200, 0xfafffdfd, 0xfdfd0603, 0x1000101, 0xfa0afdd4, 0x40ff0000, 0x1ffff, 0x1000000, 0x1fd03fd, 0x4fff421, 0xccfc0405, 0xfc0501fd, 0x2fc01ff, 0x408fd0a, 0xfc0103fb, 0xfffc0402, 0x2010102, 0xfeff00f1, 0xfffb0206, 0xfe020503, 0x9050301, 0xfcfcfb03, 0x107f1fd, 0xb0101fe, 0xfbff00fd, 0xfdf20bfb, 0xfffc0504, 0x5f302, 0xfa05fb09, 0xf8fc05fd, 0xfefe0501, 0x7021003, 0xf6fa0005, 0xfffd0001, 0x8010403, 0xf804f501, 0x607fafc, 0x6000205, 0xfeff0500, 0x7060a02, 0xf3f7f3f3, 0xfdf90105, 0xaf800f2, 0xf5f2fff6, 0x1fcffff, 0x5030004, 0xff040204, 0x6080105, 0xfbfefa06, 0xf9050107, 0x601fffd, 0x808070e, 0x7fd08, 0xf4040105, 0xfb000002, 0x401fcfc, 0xfb01fa, 0xffff0c01, 0x1fdfcfa, 0xf6f70900, 0x1fe03ff, 0x1fefefa, 0x6fd0b00, 0x803fb02, 0xfa02f703, 0xf0e0a12, 0xf30901f8, 0xf2f71222, 0x22f0d2c, 0xf0040820, 0xebef0a01, 0xf611, 0xb07fcfd, 0x2024e909, 0x40defef, 0x1c180b37, 0xf30e0219, 0xf521f714, 0x82cf60d, 0x1618ec14, 0xf7060500, 0xfdfa0300, 0x703fffe, 0xfafdfc00, 0x8080101, 0xff00030a, 0xfe090309, 0xff0bfa06, 0xff00fd05, 0xfa08010c, 0xfdf80204, 0xfcfef9f1, 0x4f50500, 0x60afa01, 0x7010d09, 0x202f5fb, 0xfdf6f7f3, 0xf8f90104, 0x6fa08fe, 0x104fc03, 0xff03fd01, 0xf1f636eb, 0x1201ff00, 0xffff0100, 0x400, 0x1fd0314, 0xe71ee507, 0x30ffd0d, 0xbf902, 0xff03ff03, 0xfdfc01fd, 0xa030900, 0xfc040405, 0x4fc03, 0xfcfe01fe, 0x6fffefd, 0x203f6fd, 0xafff6f9, 0x105feff, 0xf8fc00fb, 0xfd04ff, 0xf1f6fcf5, 0x3fb0c01, 0x4040508, 0xf705f3fb, 0x20db2601, 0xff000001, 0xfdfd0300, 0xff0400, 0x3ff010c, 0xd919ee03, 0xfe050206, 0xff03fe00, 0x804030a, 0xf806fafd, 0x604ffff, 0x2ff00fe, 0xffff0100, 0x1020000, 0x204faf9, 0x5f505f7, 0x2fd0204, 0xfe01fb0b, 0x3030103, 0x40cf804, 0x70400, 0x10202ff, 0xfdfcf801, 0xf7fefd00, 0xfb0301ff, 0x10400, 0x110a04fe, 0xfe060006, 0xfa010304, 0x40000fc, 0xf8fcfc03, 0x1fefe02, 0xfefa03fb, 0xfd0c04, 0x80503fe, 0xedf8fd02, 0x60bfa04, 0x3fdf5f2, 0x300fcfd, 0x1fd0301, 0xfcf805fd, 0x806070b, 0xff04fafd, 0x406fa06, 0xf603ff01, 0x4ff0000, 0x90103fd, 0xfdf9f9, 0xff040003, 0xfc04070b, 0xf6fd0203, 0xfcff0402, 0xfd0009fd, 0x2fe0204, 0xf4020700, 0xfdfc0700, 0xfffe0202, 0xfdf9fbe9, 0x12f30e06, 0xeefa0407, 0xf2ea00e0, 0x6f305f7, 0x1116f4f8, 0x3b310024, 0xe418fc0c, 0x21f007, 0xf7fe, 0x1f4251d, 0x1e1bf92b, 0xf31af924, 0xf0f8f0dd, 0xe8d23d0d, 0x31be206, 0xdbd90ff2, 0x20fc0d1d, 0xf319f307, 0xf5ff01fd, 0x7fd00fe, 0x4070f, 0xfe05ff03, 0xfbfffdf9, 0x4ff01fd, 0xfeff03, 0xfc00fbfe, 0xfe020304, 0x40bf801, 0xfd02020b, 0x2090206, 0xf9f900ff, 0xc04fbf2, 0xfeee02fb, 0xfaf8fafb, 0x90cff0a, 0xfc000901, 0xffff0104, 0xfd020005, 0xfa0e08e0, 0x3503fc00, 0x10000, 0x1fd, 0x3ff03ff, 0x41cea21, 0xeb09fc08, 0xfc04f4ff, 0x303fafe, 0xff000403, 0x3fc02f5, 0x70001fd, 0xa07f500, 0xfbff01ff, 0x5fe0606, 0xfd01fc07, 0xf9f6fefe, 0x2ff0304, 0xfb07f4fb, 0xfaf5fff0, 0xff0205, 0xfbfd07f8, 0x8fcfff6, 0xfffa06, 0xf4da43f7, 0x8000000, 0x30000, 0xfc, 0x4fd0400, 0xfc23c8fd, 0x1000200, 0x203fd02, 0x3fdfcf6, 0x2000107, 0x405ff05, 0x90c000c, 0xf5020304, 0xff02fdff, 0x300090f, 0xfd07ff01, 0xfffe02fe, 0x202fa01, 0x2000403, 0xfefdff04, 0xfc000400, 0x706fd01, 0xf8fcf4f8, 0xfcfd0000, 0x50004, 0x40808, 0x8ff0803, 0xff04fe02, 0xff070004, 0x303fd00, 0xf4fcffff, 0xfefc0200, 0x2040102, 0xff0107fc, 0xc00f8f5, 0xf901ff03, 0xfdfcff, 0xfcfc03, 0x303fe05, 0xfe02fefd, 0xa0b0107, 0x302f5f0, 0x1f2fff7, 0x8fb0405, 0xf0ff0505, 0x203f9fc, 0x5f802f7, 0x5fcf8fb, 0x4000404, 0xff07f9f9, 0xf9fcf8f2, 0xfcf20af8, 0x50004fb, 0xc05fd00, 0xf9050301, 0xfbff04fc, 0x8050104, 0xff06fd08, 0x3f9fce7, 0xf900f5, 0xff02f1f3, 0xfdea0aef, 0x1efc1d25, 0xdec801c9, 0xe5e2cb, 0xedb800c8, 0xfa16, 0xeb000be6, 0x1ee60bf8, 0x308f908, 0xf008f30b, 0xfa1de2c2, 0xf5b428fa, 0xc2be905, 0xbf014f7, 0xf8fcf3fc, 0xfa01ffff, 0xfef60a00, 0x808fdfe, 0xfffffbfb, 0xfdfd0000, 0xfc04ff, 0x3020104, 0xfc04f902, 0x3070408, 0xfc00fb03, 0xfe040406, 0x206edf1, 0x4fc0905, 0x3fcf8f9, 0x1fc01fb, 0x304fb05, 0x7030105, 0xfd06fcf9, 0xfff90800, 0x30003, 0xfc05f5f2, 0x2fec1101, 0xff00ffff, 0x10000ff, 0x3ff01fd, 0x4fd0316, 0xfd28ec18, 0xf00cf30b, 0xfd05f4ff, 0x404ffff, 0x1fd01fc, 0x2f70d03, 0xf90004, 0xfa03fe00, 0xb06fefe, 0x304fd05, 0xf3fffcfd, 0x803f9f9, 0xfefcf2fa, 0xfefefefd, 0x603f9fa, 0x50402ff, 0xfcf3fff3, 0x5f801ff, 0xf80313d3, 0x3601ff00, 0xffff0100, 0x0, 0x3ff02fd, 0x304e723, 0xdafc03fd, 0x1fc0201, 0xfaf802fe, 0xfaf6fff4, 0x10000809, 0x404f9fd, 0xfc04fbfc, 0x401ff03, 0xa0a0708, 0xf803fc00, 0x1020303, 0x1f3fa, 0x6fe03fd, 0xff0303, 0x70205, 0xfcfafffc, 0xf8fcf800, 0xfc000000, 0x4040105, 0x70c0408, 0xfcfc01f5, 0x7fd0302, 0x104fc00, 0xfdeded, 0xfff804fd, 0x10001ff, 0x300fffe, 0xfbfa02f5, 0xe907f8, 0xfffefdfc, 0x400ff03, 0xfd00fbff, 0x2fe0000, 0xf7f90b06, 0x2fe0704, 0xf9fa0308, 0x7ff07, 0xfefd06ff, 0xfa09fbff, 0x401040c, 0x30af901, 0x3fff900, 0xfc01f9, 0x4fef7fc, 0xfbfefc02, 0xfd0304fd, 0xc040c0c, 0xfffffe00, 0xff060407, 0xff0bfc03, 0x2fd0501, 0xfdff0002, 0xfefdff00, 0xf5f5fef3, 0xe02ef00, 0x80bf1f2, 0xfbcf09bb, 0x1bf8f8ef, 0xf0dfebe8, 0xfdf804fc, 0xf2f8, 0x714f801, 0xcef2004, 0x506fa07, 0xf60d031d, 0xeb0edc08, 0x1d30040c, 0xf9f9ff0f, 0xf4f8ffe3, 0x9f4fcfd, 0xfcff0404, 0xfb01fff6, 0xaf800fb, 0xfcf80401, 0xf9fdfffc, 0xfc07ff, 0x1fdfcf8, 0xfc0407, 0x4080307, 0xf904f4fd, 0x100faf6, 0x1f5fd05, 0xfcfdfef2, 0x5f40703, 0xfe0000ff, 0x3ff0004, 0xfdfa06ff, 0x507f904, 0x3080404, 0x70bf803, 0xf5fcff06, 0xfdd43cff, 0x1, 0x0, 0xfd03ff, 0x2fd03fd, 0x1010318, 0x280136, 0xfb34fc3c, 0x380039, 0x380037, 0x35032b, 0xfe29022b, 0xfe2fff30, 0x328fe28, 0x227fd27, 0x340038, 0x300138, 0xff39ff46, 0xfe46024a, 0x44fe49, 0x3470045, 0xff48014a, 0xfd42ff40, 0xfd45fc2e, 0xa02fd00, 0x1ffff, 0x1000000, 0xfd04ff, 0x3ff021a, 0xcb0bfb03, 0xfdfff8f5, 0x4ff00fd, 0x5080710, 0x5050401, 0xfefb0002, 0x6f601, 0x2ff0101, 0x3fa0afd, 0xfaff0104, 0xfcff0400, 0xfffff1fd, 0xf705f9, 0x7000401, 0x4050003, 0xf8ff0404, 0xf804000c, 0xfd0dff0c, 0x8ff06, 0xfefd06ff, 0xf8fbfdf7, 0x3f30dfd, 0x400fc00, 0xf8f8fb06, 0xf5fcfff7, 0x9fffdfb, 0xa02fd00, 0xf9fe0602, 0xfdff00f8, 0x3fcfdfc, 0x4fcfdfa, 0x300fc01, 0xfffe0503, 0x10dff01, 0x30202fd, 0x206f6f9, 0xfff801fa, 0x6020501, 0xff06010c, 0xff070104, 0xff000209, 0xfb01f5fd, 0x6030002, 0x503fc08, 0xf906fb05, 0x8ff03, 0x1f809f5, 0xb01f9fc, 0x3000804, 0xfb00fd01, 0xfffefff8, 0xfffafbf5, 0x7feeceb, 0xfaf004f6, 0xef60d14, 0xe8f40b0e, 0xc1f0d23, 0xf7ff0910, 0xfd1d083a, 0x104de22b, 0xec0f, 0xebf32924, 0xe3fbeec9, 0x2aee02f6, 0xecec0af3, 0xe6ee1022, 0x1015fb0c, 0xf70af1fc, 0xecf404f9, 0x9f9f7f4, 0xf804f8, 0xfd0806, 0xfc0400, 0xff03fdfc, 0xfcff0404, 0xff030501, 0xfdfdfcfd, 0x2ff04ff, 0x50000fd, 0xfc00f0fc, 0x4fffd02, 0x607f903, 0xfb020206, 0x3040704, 0x107f7fe, 0xfdf804fc, 0x4030401, 0xfc0407, 0x4080004, 0x300f3fb, 0xf2f8fcf5, 0x1f91ad7, 0x2a01ff00, 0xffff0100, 0xfd, 0x1fc03fc, 0x3fe01fc, 0xfc03fe, 0x3fe05, 0x308ff07, 0xff060107, 0x1080005, 0x70005, 0x70008, 0x5ff06, 0x1050008, 0x80008, 0x8ff06, 0x1080009, 0xb0009, 0x9000b, 0xff070108, 0xfe070107, 0xafe09, 0xfe0afd0b, 0xfdfeff00, 0xfdfe, 0x300ffff, 0x10001fd, 0x3fd04ff, 0xf327d1fd, 0xf9f90304, 0x1010607, 0x20500, 0x70201ff, 0xfcfd0401, 0x102f400, 0xfefcfffa, 0x1f806f4, 0xa04fe01, 0xfb0000fc, 0xfdfafb04, 0x1050303, 0xfc0c04, 0xfdfdfefb, 0x5080105, 0x20ff100, 0xfcfffcfc, 0xf9f503f9, 0x4fffcf5, 0xfcf90501, 0x40200f5, 0x2f3fdf4, 0xf7f3f7ef, 0xfbf506fc, 0x1f407fe, 0x5f900fc, 0x4070405, 0xf901feff, 0x501fc00, 0x4000104, 0x304ff07, 0xfe060405, 0x206fa01, 0xfaf805fb, 0xb04fc0a, 0xfa05fe02, 0x1fd05fd, 0x301fdfd, 0xfcfa00f9, 0xfa06fe, 0x104f807, 0x10001, 0xf9f503fc, 0xf8fbfdfd, 0x300fdfe, 0x2ff06fc, 0xbfc0003, 0xfbfb08fb, 0xf9f900fc, 0x401f7f9, 0xfdf70501, 0xb05051e, 0x72b032a, 0xef0bf6f4, 0xfb07fdf9, 0x4f108ec, 0xf6eb2a0c, 0x1322f40e, 0xf4f2e6f6, 0x9e1, 0x1f15f0dc, 0x1d16f21a, 0xd4c419db, 0x9f8ebd9, 0x271a111b, 0xf3fe0205, 0xf705f80c, 0xed0d030c, 0xfbfefa01, 0xfeff0601, 0xfeff1007, 0xfd040000, 0xfcfdfdfd, 0xff0003ff, 0x606ff00, 0x306f903, 0xfcfd01fa, 0xb000000, 0xf9fdf300, 0x2fefeff, 0xf9fdfd, 0x709030a, 0x108fdfe, 0xfdfb01, 0xfbfff9f4, 0xcfc0800, 0x400, 0xfc0804, 0xfcfdf4fe, 0xff0bfd0c, 0xfc07f7e4, 0x24de2201, 0xff01ffff, 0xfffe0200, 0xff03ff, 0xfefa03fc, 0xfc01fa, 0x2fc01ff, 0xfdf902fc, 0x1fefffc, 0xfef902fb, 0xfef902fb, 0xfbfef9, 0x2fbfffb, 0x1fbfef9, 0x2fb00fb, 0xfbfffb, 0x1fbfef9, 0x2fbfef9, 0x2fbfef9, 0x3fdfdf9, 0x2fd01fd, 0xfdfa00fc, 0xfffdffff, 0xfe00ff00, 0xff02, 0x100feff, 0x20000ff, 0x40003ff, 0x20ed411, 0xee06fd00, 0xff05fe, 0xfe02fb, 0x9fd0400, 0xf8fc0800, 0x706f204, 0xf6fcfefb, 0x60005ff, 0xfdf20afe, 0x104f9fd, 0x303f7ff, 0x5030303, 0x50800fc, 0xfffe0101, 0xfffbfdf7, 0x5faf700, 0xfc00f8fc, 0xf5f803f8, 0xbfffafd, 0x2030604, 0xfffffffe, 0xfaf6faf3, 0x501fb05, 0xfd07fcfd, 0xfc0d02, 0x3000101, 0x2ff01fc, 0x3fd02, 0x401060b, 0x108ff06, 0x205ff05, 0xfc0300ff, 0x1fefe02, 0xf90100fc, 0x5f603fd, 0x70afd09, 0x80003, 0xfbfbfefc, 0x2020103, 0xff0202fe, 0xfd0308, 0xfd05faff, 0xfd03fcfc, 0xfbfffdff, 0xfcf800fb, 0x5fe0a02, 0xa010708, 0xf805f8f5, 0x5010001, 0xfbf8f9fa, 0xebe8fcdf, 0x7db05db, 0x17eb11f9, 0xebf5f6f5, 0x100afb08, 0x15191223, 0xe20feed3, 0x12d206e4, 0xafa1327, 0xf4e7, 0x33fbf0fb, 0xd6b407c9, 0x9fe1f04, 0x2f2a0140, 0x11af0f9, 0x151bdff8, 0xe2e32611, 0xfa1ef510, 0xe5fa0a0a, 0xf50100fb, 0xc0904fd, 0x404f9fd, 0x304fc03, 0x40809, 0xf9fcfbf8, 0x3f80605, 0xf801f7f7, 0xcf80800, 0xf8fff400, 0x8060109, 0xfb04f7fe, 0x5fc01fa, 0xfbf4fcf3, 0x7fafdfc, 0xf8f90101, 0x6fb01f4, 0x8fc00f8, 0xc0403ff, 0xfafdfa03, 0xfafe0304, 0xfc04fd0a, 0xf7dd23de, 0x2201ff01, 0x20000, 0xfd, 0xff03ff, 0xfefd02fe, 0xfefa02fb, 0x1ff00fd, 0xfdf903fd, 0xff00fd, 0xff00fd, 0xfd00ff, 0xfdfffd, 0x1fd00ff, 0xfdfefb, 0x2fdfffd, 0x1fd00ff, 0xfd00ff, 0xfd00ff, 0xfffb01ff, 0xfdfffb, 0x1fffffe, 0xfefd00fe, 0xffff0000, 0xffff0101, 0xffff0102, 0xffff0100, 0x1fd03fd, 0x4ffe40f, 0xe304fd04, 0xfbff00fa, 0xfa02fa, 0xcfd0700, 0x80000, 0xf9fc03, 0xf401fbfe, 0x5fd04fc, 0xfdfc07f9, 0x800ff06, 0xfcfff6fe, 0xb04fdfe, 0x6fff9f8, 0x1fa00f9, 0xfff9fcf8, 0x4f7ffff, 0xfd00fc04, 0xf706f9fc, 0xcfd0104, 0xff0103fe, 0xfdfcfbf8, 0xf9f70502, 0x300fc01, 0xf5f902ff, 0x9080803, 0xffff01ff, 0x1fe00fd, 0x704f8ff, 0x70202fe, 0xfffc00fd, 0xfbfffb, 0x2010102, 0x203fb00, 0xfa010203, 0xfcfafef5, 0x7f504fc, 0xfc0400, 0xfc01ff02, 0x1010000, 0x10302, 0xfcfe02fd, 0x202fd05, 0xf9010005, 0xfa04fe05, 0xfe070007, 0x20d05, 0x4ff07ff, 0xfd04f804, 0x302fe00, 0x207f907, 0xfc18ef0b, 0xa0e1b24, 0xddea14ed, 0xebedf7ee, 0x9e72410, 0xf4eff1ce, 0xefaf1fd, 0xfde81bfd, 0xe3d6f9bc, 0xeb44, 0xd5e604fa, 0xe3071414, 0x141f0303, 0xfdd119e9, 0xff7f4fb, 0xe8ce07f6, 0xa1e02fa, 0xf1f10400, 0x1bf90a, 0xff14ff13, 0xfe05ff00, 0x400fc03, 0xfffffd00, 0x4fc, 0xfcfff9fd, 0x3fd04fb, 0xfcfff7ff, 0x9fc04f8, 0xf3f30908, 0x303fdff, 0xf9fdfe04, 0x100fffe, 0xfe01fb00, 0xfcf500f8, 0xff, 0x1fa02fb, 0xfef10eff, 0xcff03ff, 0xf9fefc00, 0x107f7fb, 0x504fd04, 0x20ff5e1, 0x14d32bff, 0x1000000, 0x0, 0xfd, 0xff00fd, 0xff01fe, 0xfffc00fc, 0x100fffc, 0xfc00fc, 0xfc00fc, 0xfc00fc, 0xfc01fe, 0xfffc00fc, 0xfc00fe, 0xfc01fe, 0xfffc00fc, 0xfc00fc, 0xfc00fc, 0x1fefffc, 0xfc01fe, 0xfffc01fe, 0xffff00ff, 0xffff, 0x101fefe, 0x1000100, 0x10000, 0xff03ff, 0x4ffe601, 0xdefcfefd, 0x20709, 0x9040b, 0x8070000, 0xffff0504, 0x4f4fc, 0xf4fcfdfe, 0x3fc0800, 0x407fcfc, 0x7fb02fe, 0xf7f90003, 0x5fdffff, 0x1faff00, 0xfcfbfffa, 0x2fdfbfc, 0x5fd0200, 0x205fb04, 0xfc09f909, 0x704ff02, 0x407fafe, 0xf7f8f8f5, 0x5010b07, 0xff03fe05, 0xf8080a10, 0x7fdfc, 0xfd0400, 0x3020204, 0x300fb03, 0x602ffff, 0xfdfdfefb, 0x500fdfe, 0xfc03fe, 0x1fdff01, 0xfc03fcfd, 0x1020307, 0xfc, 0xfcf801f5, 0x6ff0202, 0xff00fcfc, 0x804fdfe, 0xfbfd0500, 0x301f9fd, 0xfbff0302, 0xfa020206, 0x109f902, 0x206fb, 0x5fc04f9, 0xfc0105, 0x305fc03, 0xff00fa01, 0x80dfe1c, 0x517f7f3, 0x2137d0f3, 0xecf41815, 0xe8f42cfc, 0xfb03091b, 0xecf9fb03, 0x1d23edf5, 0xf4060613, 0xf80b, 0xe51bf007, 0x3271629, 0x318ec01, 0xe1e5f7c3, 0x6ba0fd5, 0x1b080102, 0xa02f8f8, 0xf6fd0b04, 0xf8fcfbfe, 0x504fc01, 0xf5f803fc, 0x4fc0000, 0x405fc04, 0x105fbfc, 0x303f0fa, 0x5fc04fc, 0x707f606, 0x2ff01fc, 0xf80104fc, 0xf901fd, 0x206fa02, 0xff00ff00, 0x507fc08, 0xfb07f900, 0x4040408, 0x70409, 0x7120206, 0x60002ff, 0xf7fdf5f6, 0xf8ed03f9, 0xf03050b, 0xfd06fc0d, 0xfaf3fdc5, 0x28ec1400, 0x0, 0xffff0100, 0x0, 0xfffe, 0x1000000, 0xfffe0100, 0x0, 0x0, 0x0, 0xfffe, 0x1000000, 0x0, 0xfffe, 0x1000000, 0x0, 0x0, 0xfffe0100, 0xfffe, 0x100fffe, 0x100ffff, 0x1000001, 0xffff0102, 0x1fdfd, 0x300ffff, 0x10001fe, 0x4fed0e8, 0xf701fcff, 0x7060504, 0xfd0100fd, 0x7fcfffb, 0xfdf9fdf1, 0x4f50304, 0xfc0c000f, 0xfb07fefd, 0x6fffafd, 0x4fafef6, 0x100fcfc, 0x8ff0303, 0xfcfef9f8, 0x1fd0705, 0xfbfefd00, 0xfcf705fa, 0x6fefafd, 0xff00fc03, 0xfcf801fa, 0x6fc0103, 0xedf9ff00, 0xfb00f0, 0xbfc0402, 0x20cff01, 0x10105, 0xff040505, 0x204fe00, 0xfefbfdfd, 0x8ff0000, 0x306f6fe, 0x6ff0204, 0xfe020100, 0xff0000, 0xfc00fc00, 0xff03ff, 0x605fb00, 0xfc00fcfb, 0x9fefffb, 0x4000004, 0xfcf80803, 0x30bfd03, 0xffff0006, 0xf5000300, 0x208070d, 0xfc08ff0e, 0xf604fefc, 0x6fd03fc, 0xfc00fb, 0x4fc0000, 0x5060e1a, 0xfa0c0b19, 0xf004ddea, 0xefb8270f, 0xc2ff80f, 0xf219220f, 0x1e32ee17, 0xed18ed0a, 0xf2dff9eb, 0x170e0a12, 0xf5f1, 0xe7f3f9fc, 0xf8f1f9d4, 0xbdc0cfc, 0xeb06f100, 0x19130a0e, 0x1508fb02, 0x1f9eced, 0x150cff00, 0xecf4fdf6, 0xfeef08fb, 0xfe040203, 0xfdfc0501, 0xfefb0100, 0xfcfbfcfc, 0xf9f902, 0x401fffc, 0x1106ff0f, 0xfc090008, 0xf1010704, 0xf8fcfcf7, 0xfcf104fb, 0xfc0401, 0xfbf701fc, 0x102040d, 0x30c0109, 0x20bf900, 0x801fdfc, 0xa000402, 0xf601eefa, 0xfcfe0e09, 0x3fd04fc, 0x4030007, 0xfb08f500, 0xf5cd0ec7, 0x22e91700, 0x10000, 0xffff, 0x1000001, 0xffff0100, 0x1ffff, 0x100fdfd, 0x300ffff, 0xfffe01ff, 0x100feff, 0x1ff0100, 0xffff00ff, 0x1000001, 0xffff0100, 0xfdfd02ff, 0x100fdfd, 0x301ffff, 0xfffe0201, 0xfdfe, 0x3000001, 0xfffffffe, 0x1000100, 0xffff0103, 0xfeff, 0x2000302, 0xedebcbe6, 0x9f803ff, 0x6fe02fb, 0xc0afc06, 0xfdfcfcf9, 0x804030a, 0xfd03fcfc, 0x303fe01, 0xff05f900, 0xfbf503fe, 0xfdf701fa, 0x4fdff00, 0x800fcf9, 0xfdfafafb, 0xfa02f5, 0xfff9f9f5, 0xfaf304f2, 0x6f2fff7, 0xfff700fb, 0xfefd03ff, 0x4fdfffb, 0xf2000304, 0xfbff0201, 0xf606f8, 0xa00ff00, 0xff, 0xffff0600, 0xfbf904ff, 0x102fb00, 0x8000303, 0xfefefb03, 0x300fefc, 0xfefc01fc, 0x400fcfc, 0xfdfdff00, 0x101fffd, 0x8ffff03, 0xfe05fe07, 0x1ff0101, 0x3000000, 0x4fdf9, 0xa00fd00, 0x3040105, 0xfb0b0109, 0x70000, 0xff030105, 0xf504fe04, 0xfefc0700, 0xf9f90a03, 0x5040004, 0x908fbf5, 0xf8f317ff, 0xe4f3152b, 0xed29ecee, 0xfee012fa, 0x131be5de, 0x3afaf905, 0xe9010418, 0x72de81c, 0xe0e50be6, 0x10c, 0xec11051d, 0xef14f30e, 0x301f8, 0xc19032b, 0x1130811, 0xfcf801fe, 0xa070520, 0xf904f6fb, 0xf908000b, 0xf502fbf5, 0xfdf40afc, 0x50400ff, 0x1f9f9, 0x2ff0104, 0xfc00fb02, 0x1ff0808, 0x4fb00fc, 0xfcfc00fc, 0xf80303ff, 0xf900f7fb, 0xfaf907fc, 0x804fcfc, 0x102ff00, 0x4030706, 0x205ff03, 0xfdfefe03, 0x4ff0507, 0x1fe03fd, 0xf5fceffd, 0x4050f06, 0xfafd0b04, 0x3030003, 0xfa02f300, 0xfd08fbf5, 0xf8cb04b8, 0x14cc15e1, 0xeef0afa, 0x4fd0300, 0x10000, 0x1, 0x3, 0x1, 0x20001, 0x2, 0x10000, 0x10001, 0x0, 0x10000, 0x30001, 0x3, 0x1, 0x20000, 0x3, 0x0, 0x10002, 0x10000, 0x10000, 0x2, 0xf8f8e4d9, 0xdbc70602, 0xb04ff00, 0x2fcfaf4, 0x12fa0604, 0x209fe0b, 0x104f8f9, 0x1fd0203, 0x101fcff, 0xfdfdf9fd, 0xfe0001fe, 0x2030406, 0x2040207, 0xfefdfeff, 0xfdff050a, 0x20cf600, 0xf3f4fbf6, 0x905f9fa, 0x6fa01fc, 0xfdfa00fa, 0xfffb0800, 0x501fafc, 0xfd07fd01, 0xfe04fcfe, 0xfefc0a00, 0x8fe0504, 0xfbff0201, 0x20401ff, 0xfbff0500, 0x3020108, 0xf5f503f5, 0x1f8fefb, 0x1f901fc, 0xfefcfef9, 0x3f803ff, 0xf8fa04ff, 0x1ff0909, 0xff00fcfd, 0x504fb01, 0x4040003, 0xffff0504, 0xfc000003, 0x4fd0000, 0x1fefffc, 0xf9fa0700, 0x0, 0x4050307, 0xf406fa02, 0xff0303ff, 0xfc0206fe, 0x3fc0400, 0x3fa0403, 0x914e5e2, 0xc0adbd0, 0x8eb1c1b, 0x1decf7, 0x7ebfe04, 0x7d11bf3, 0x151ff00b, 0xf7fbe9fc, 0x2440fd32, 0xedf1, 0x207fcfe, 0x615eb0d, 0xedfafff8, 0xffebf2da, 0x13ec08ec, 0x1b0b111b, 0xf102d7d4, 0x7e211fd, 0xf4f8fcf4, 0x403f800, 0xff0205fd, 0x5fdfffc, 0x905ff0b, 0xfd06070c, 0xf404f902, 0xa0b090c, 0xf7fffdfc, 0xf7f7fef5, 0xfffcfff8, 0xf6f50301, 0x1080708, 0x707fe09, 0xf7ff0303, 0x2010600, 0x2000203, 0xfc02fd01, 0xf5f20efb, 0x903fcfc, 0xfc03f408, 0x30706fe, 0xfafe0d00, 0x2ff0504, 0xf2fcfb04, 0x70410, 0xf70ffa05, 0xfcedfed6, 0xf6be02b6, 0x2b402b3, 0xffb205b7, 0xfdb4fdb1, 0x3b404b8, 0xffb701b8, 0xfdb5ffb4, 0xffb3feb1, 0x2b3feb1, 0xb103b4, 0xb4fdb1, 0xffb000b0, 0xfcac01ad, 0xffacffab, 0x5b000b0, 0xfcac01ad, 0x2af01b0, 0xfcac07b3, 0x1b400b4, 0xfdb103b4, 0x4b8fdb5, 0xffb4fbaf, 0xb706d9, 0xa080507, 0x400fdfe, 0x2fefd01, 0x8f71001, 0xff0001, 0xf9f9feff, 0x1ff00fd, 0x400fc00, 0xf8fbfdff, 0x203fe00, 0x4020200, 0xfefefa, 0xfffb0300, 0xfd0004ff, 0x704f200, 0xf401fb01, 0x800030a, 0xf5f905fd, 0xfefe00fe, 0x8070504, 0xfcfb0405, 0x40c000f, 0xfb0cf606, 0x30b0809, 0x4050808, 0xff0c010b, 0x9fd05, 0xf80202ff, 0xfaf607fc, 0xfc030303, 0x204fa00, 0x2010303, 0xfb000204, 0xff00fffc, 0x206fcfe, 0xf0cfe01, 0xfe00f9fd, 0x6fef8fb, 0xc03fd00, 0x100fc, 0xfffffefd, 0x7000000, 0x3020205, 0xf8040300, 0xf8f805fd, 0x700fefb, 0x209f0ff, 0xffff01fd, 0x5060606, 0xfcff04ff, 0x1fd0902, 0x2fbf90f, 0xfbfef518, 0xebfbfedd, 0xeeb0100, 0xf90803, 0xf8f419f2, 0xfedb0ef9, 0xd8da07f8, 0xefc30cd2, 0x1407, 0xf4f9f0ed, 0xf1d807f4, 0xf4fb0703, 0xe6ea1b13, 0x18180b1b, 0xeeee08e5, 0x2f6fd1c, 0xf50afbf4, 0xf4f403fb, 0xfef5fffc, 0x40100fc, 0x4fb03ff, 0xfaf005f6, 0xf6ef0ff7, 0xfd00fb02, 0x5fd05f9, 0xfbfdf5f5, 0xfffdf8f7, 0xf800f9, 0xf120514, 0xfb0e040b, 0x60a020e, 0xf2090208, 0x107f9fa, 0x6fe0602, 0x208f904, 0xf40304f9, 0x4f401f9, 0xfffc0008, 0x5f8f7, 0x8050800, 0x8060001, 0xfc0bf707, 0xfa0102ff, 0xfe06020e, 0xfc0efe0e, 0xfe16fc10, 0xfe0c0e18, 0x51e0019, 0xfc18f914, 0xa1bfe15, 0x160318, 0xfb16fd14, 0x150017, 0xfd12fb0f, 0xf9080308, 0x911fb0f, 0x818fb13, 0xf9100110, 0xfe0ffd0d, 0x40c0410, 0xfc100413, 0xfc0d0410, 0x140411, 0x919031c, 0xfb1a0118, 0x140017, 0xfb13f911, 0xfc0d050c, 0x6080508, 0xfc000306, 0xa0efc0d, 0xf3f80cf4, 0xc00f8f8, 0xfffe0202, 0x10304, 0xfcfcf8f8, 0xf9f903ff, 0x4010407, 0x30001, 0xfdfe0606, 0xf8fff9f5, 0x1f90b00, 0xf9f8ff, 0xbf808, 0xf8f805fa, 0xfb0003fe, 0x101fdfe, 0x6fc05fc, 0x804, 0xfdfdfffc, 0x102030f, 0x511fe07, 0x205fffc, 0x401fafa, 0x903fd03, 0xf7020202, 0xfe060504, 0xfb030202, 0xfefe0105, 0xfd00fffc, 0xf8f907fe, 0x201ff01, 0x100060a, 0x1fc00fe, 0xf8f80403, 0xfdfc01, 0x6fb0503, 0xf9fc00fc, 0x1fe0707, 0x303fd00, 0xf8f501f4, 0x2fe00fb, 0xf6f9fff3, 0xbf70801, 0xfefdf603, 0xf9fd0905, 0x7070001, 0xfc01fdfa, 0x700fff6, 0x5f90404, 0xf8010410, 0xfb20e90b, 0x201df511, 0xf7081414, 0x521ebf3, 0x1409efea, 0x4160918, 0x52ee305, 0xf5e9, 0xeadfe6d5, 0x13f7f8e8, 0x4f82314, 0xfa28020f, 0xd04140d, 0xe807fffe, 0x2fefeff, 0xf802fd04, 0xfc0cf801, 0xf8fb0804, 0x0, 0x3ff02fe, 0xfafef1ea, 0x4f80cf5, 0xd05fb05, 0xfbf6, 0x2fd070f, 0xfc0cf80c, 0xfd09060f, 0xfdfd04fc, 0x8090005, 0xfffffc, 0xf903f8f9, 0x4fc0306, 0x2020b07, 0xfc01fc04, 0xfa0afe04, 0x302, 0x3fe01, 0xfefffd04, 0xb070100, 0x5fd0603, 0xfa01ff09, 0xff805, 0xf8ff01fe, 0x3051017, 0xf811f90e, 0xff0f0405, 0x808fc04, 0xfc04fd08, 0xa08010b, 0xff0a0108, 0x310f609, 0x9ff08, 0xff0af908, 0xf4030303, 0x110b0717, 0xfd0cf809, 0x515fb0f, 0xfc0dfc0c, 0x40cfd05, 0xff080509, 0x310f804, 0x4080004, 0x1fc04fd, 0xfbfd01fd, 0xb08f800, 0xfafffe04, 0x40cff06, 0x101fdf9, 0x7040405, 0x702fc02, 0xf60500f9, 0x12fffd04, 0xfe03fdfe, 0xfefc06ff, 0xa0df308, 0xf8070307, 0x5080307, 0xfd04fc00, 0xff0201fd, 0xf5fa0203, 0xfe0002f7, 0x1f8fbfb, 0x904fb07, 0xf605ffff, 0xfbff02fe, 0x3000d10, 0xfe08fe01, 0x607fdfc, 0xff0000, 0xff100c, 0x30af905, 0x3f7fb, 0xfef502fd, 0x8fc0201, 0xf4fe0a06, 0xfd050404, 0xf902fafa, 0x1fd01fd, 0xfefe0504, 0xf8040704, 0x1030004, 0xfcff0902, 0xfefffdfc, 0x40404, 0xfd01ff04, 0x4020502, 0xfa030104, 0xfd0003fc, 0xfff8fdf8, 0xf5f5fff3, 0x3f403f7, 0xf9fafef9, 0x7f505f2, 0x3f70304, 0xfa05fefa, 0x6f903fc, 0xf9f9fffb, 0x8fc0805, 0x1010704, 0xf9050a0b, 0x616e411, 0xf6e71406, 0xedfc00e8, 0x8ebfcfc, 0x9f10204, 0xd7d712e0, 0x1bf6fd10, 0xfddc, 0x6f8f90b, 0xf7effcf3, 0x110014f1, 0x1007f8fd, 0x4f4f5d5, 0x1704dde2, 0xffdf10f1, 0xfaf306fc, 0xf5f5fbf8, 0x505faf7, 0x5fc0501, 0xfffdf7f2, 0x1f90008, 0x105fff8, 0x10fbffff, 0xfffe0d10, 0xfd0bfc00, 0xfc00030b, 0xf907fdfe, 0x304fdfd, 0xfff401f5, 0xf5fbf1, 0xfdf50300, 0x5010301, 0x10003f8, 0x1fdff00, 0x6f800, 0xfbfb0b03, 0x205ff06, 0xfe060710, 0xf8fdf9f5, 0xefe01f9, 0xff0000, 0xfcfc0408, 0xf404ff02, 0x9080800, 0x40cfb0e, 0xf10000fc, 0xf403fb, 0x4030107, 0x401fdfd, 0xfffd01fd, 0xfff9f5f8, 0x1f9fff9, 0x6000007, 0xee010200, 0x6f50ffd, 0xf5fd, 0x3fb0000, 0xfc00fc00, 0xfc00ff, 0x707fdff, 0x905ff0c, 0xff07f6fd, 0x3ff03fe, 0xfd000403, 0xfbf300fb, 0xfdfefcfc, 0x1f90802, 0x1080c, 0xff040707, 0xfefeff01, 0xf500ffff, 0x10fdfdfd, 0x302fb00, 0xfdff0801, 0x3fafd04, 0xfc080409, 0x4fcfd, 0xfc00, 0xfcfd01fd, 0xf4fc03fd, 0x4030102, 0x304edf6, 0xbf800fd, 0xff06fa01, 0xfe040103, 0xd0dfefe, 0x1010104, 0x301f8fc, 0xfffbfef9, 0xa030cff, 0x602fe07, 0xfe05f301, 0x306fd01, 0x2fb06ff, 0xfb06f9f5, 0x1f903f8, 0xfffd02, 0xfeff01ff, 0x10202ff, 0xfd0400fd, 0x400fcfc, 0xc0c0003, 0xf9fefeff, 0x4030201, 0x307fc04, 0x707f5f7, 0xfd0400, 0xff020504, 0xfb000205, 0xf202fcff, 0x1fd04fe, 0xff040107, 0x702, 0x100fdfa, 0x2020509, 0xfcfffcf8, 0x3020104, 0xfcf809f9, 0xfff707f7, 0xa080402, 0x1fdf710, 0x21c0911, 0xfc20f818, 0xfc0cf000, 0x140bf902, 0x133e0f3b, 0xf9190420, 0xb0e, 0xfa02f4fd, 0xfb011c21, 0xf101e6d3, 0x21e4210d, 0xfa03eefc, 0xe6cb0cfa, 0x90407fb, 0x809f6f9, 0xff03f800, 0xf3ee1105, 0x404fcfb, 0xf7f3fefa, 0xb041014, 0xff12f609, 0x700f9fa, 0x3fefff0, 0x1205ff08, 0xf5010200, 0xfc03f9ff, 0xfdf9fbf7, 0x3fbfdf7, 0x7fe0104, 0x70004, 0x706fe01, 0xfbfb03fb, 0x903f8fc, 0x400fc04, 0xf4fd0bfd, 0x5000001, 0x4070303, 0xf1fc0104, 0x7fd03ff, 0x1000000, 0xf8fc01f9, 0xf7fc0704, 0xd080404, 0xfd02, 0xfa0bf2fd, 0x300fdfa, 0xb01fdfd, 0xfef7fcf6, 0x6fdfefa, 0xfdf8fcff, 0x1ff0606, 0xfdfdf5f2, 0x60afd05, 0xfbfa0df8, 0x800f702, 0x1000303, 0x209000d, 0xff0cff0b, 0xfe02ff04, 0x3fe0100, 0x1f803, 0xfffffefa, 0xfffcfff7, 0xa06f8fe, 0xf8f90704, 0x30601ff, 0x4030702, 0xfd0005fe, 0xffffffff, 0xf4fe0201, 0x1203f9ff, 0x1fdfbfd, 0x4040400, 0xfcf901fd, 0x2030100, 0xfcfcfdfd, 0x603fe05, 0xfb04070a, 0xf80efd08, 0xff03fe00, 0xfefbf200, 0x7fc0400, 0x1040b, 0xfd0a030c, 0xffff00, 0xfdfc04ff, 0x3fffd04, 0xf8fd0302, 0x9010c01, 0xf8f3fdf2, 0xfcf002ff, 0x3ff0103, 0xfdfe0800, 0xf8fdf8fc, 0x4ff00fc, 0x3fffafc, 0x3010707, 0xfa00fffd, 0x404fd01, 0x805030c, 0x404f8fc, 0xfcfff9fa, 0xb010706, 0x3fe05, 0x200f500, 0x1010704, 0x50afe03, 0xfe06ff03, 0xf405fc05, 0x1050405, 0xff050105, 0x207fdfd, 0xfc0403, 0x809fd01, 0x308000c, 0x9fc04, 0xfd050501, 0xff0104fe, 0x11050708, 0xa11fd17, 0xfd12f801, 0xff04f1fd, 0xf6f70a11, 0xf6f3ede7, 0x13e711e9, 0x1c0cf4fc, 0x2b15, 0xec07f407, 0xe9f51ff8, 0x10170031, 0x515d7cb, 0x13e406fc, 0x71d0011, 0x8100009, 0xfcfd040b, 0x30ff910, 0xf815fc00, 0xf8f4f8f0, 0xc05080f, 0xfc000dfd, 0xf4f203ff, 0x8000b12, 0xf5040409, 0xfff605fc, 0x7fc01, 0x5fc08, 0xfb06f803, 0xfafa02ff, 0x2fa02fb, 0x500ffff, 0xd05ff06, 0xf8030505, 0xfffbf6f9, 0xd02fb01, 0xf805fcf6, 0x6f70d04, 0x401, 0xff0ffd0b, 0x105fbfd, 0x703fd00, 0xfc040306, 0xfe0d0309, 0x3fffdf8, 0x4fc00ff, 0xfc01f302, 0x1000306, 0x500fbfe, 0x1010106, 0xfefefefe, 0x203fa01, 0x10102fd, 0xfcfcf8ff, 0x801fc00, 0xf9fe1203, 0x2fdfc02, 0x2030000, 0x2000101, 0xfbfd0200, 0xfe00feff, 0x2fe00fd, 0x2ff0007, 0xfa02ff03, 0xfc000001, 0x4fb0003, 0xff0a0104, 0x809ff07, 0x205fffd, 0x101fffb, 0x905fb01, 0xf4010504, 0xafcfd00, 0xfcfb0808, 0xfc0000fc, 0x303fdff, 0xfd00fc, 0x303ff05, 0x504f9ff, 0x10500fe, 0x309f501, 0xfcfefafa, 0xf9f50306, 0x807fd00, 0xf9f90aff, 0x2fefd, 0x6030105, 0x8fc00, 0xfdfa02ff, 0xfe050305, 0x70303fa, 0x103f8fe, 0xfafc02fc, 0x1fa03fc, 0x6050704, 0xf804f804, 0xffff, 0xfdf90302, 0x50400fd, 0xff020104, 0x306, 0xc0a0910, 0xeffbfe01, 0xfafffe04, 0x6ff05fd, 0x2fffdfe, 0x1fd0008, 0x70101, 0xfffbf4f1, 0x5f803fc, 0xf8000105, 0x307fcff, 0xfffffdfb, 0x1fa02ff, 0x6050304, 0x3fffafc, 0x2fb01fc, 0xfcffff, 0x10300fe, 0x30201ff, 0x8f60cfb, 0xcfd0101, 0x70bfb0e, 0xf504ecff, 0xecf50ffa, 0x5090824, 0xf90a04fd, 0xbec04fc, 0xf9d0, 0x8ec1008, 0xe2d0715, 0xdbe02000, 0xf3eeee05, 0x1608fe00, 0xf6ef1908, 0x404fc00, 0xfc0000fc, 0xd060310, 0xf40cfc0c, 0xe1f5f7f4, 0x8f009f1, 0xf04e7de, 0xcf605f8, 0xf010f5, 0x808fc00, 0xff0001fc, 0x5010308, 0xf4fcfcfc, 0xf5f6fefc, 0xf9fb04fd, 0x8030405, 0x5050309, 0x1fd0200, 0xf7ff01fb, 0x2fefb03, 0x4fa0706, 0xfe0cfa0a, 0xfafe0afb, 0xfaf503f4, 0x8fd0808, 0xfc03fb03, 0x1fdfcfc, 0xf9f90e04, 0xf8fefdf8, 0x8fd0404, 0x505faff, 0xfd00f502, 0x4050608, 0xfd00fd02, 0xff000403, 0x409f803, 0x102fa02, 0xff00fffd, 0x607f302, 0x1fbfaf9, 0xf0f0b08, 0xf6fc0202, 0xfdfd0401, 0xfffe02ff, 0xfc000301, 0xff02fe02, 0x303fbfe, 0x2fe0402, 0xfb03ff03, 0x108ff07, 0xfafd0300, 0xd0efe0b, 0xfd00f9fa, 0xb030408, 0xfc03fe02, 0x2fbf8f8, 0xfbff0e08, 0xfcfa0300, 0x4f4f0, 0xf030609, 0x6f700, 0xfdfd0300, 0x4010002, 0xfdfaff00, 0x2010102, 0xfaf9fbff, 0xf8fbf9fa, 0xfeff0501, 0x5fefeff, 0xfa0008fe, 0x301ff02, 0x1fd01fd, 0x2fffafd, 0xffff01fe, 0x3030909, 0xfe0000fd, 0x5010009, 0xfb0afa02, 0x3040c0d, 0xff060100, 0xfc04fc08, 0xfc04fd02, 0x50608, 0xfe01ff00, 0x102ff00, 0xffff01fd, 0xdfe0b00, 0xedfe0303, 0x9f803, 0xfd0800, 0xfcfa00fd, 0xfc0400, 0xfcfb, 0xf8f4f8f8, 0xfff201f0, 0x3fb0903, 0x4, 0x409000c, 0x5100614, 0xf9070004, 0xfcfd0003, 0x10101, 0xff000102, 0xfbfcfffb, 0x5fd00fc, 0x5f90efb, 0x2f1feee, 0x9f000f5, 0xf7f7f2fd, 0xef00fced, 0x8f02008, 0x817fc0f, 0xfbfffdf8, 0x2125, 0x3200f1f, 0x213f703, 0x32bf500, 0xf1fe1e2e, 0xe6fe0b0b, 0x15110d, 0xfc05fa03, 0xfa01fcfd, 0x7f7fff3, 0xf6f5f6ef, 0xedfbf5f9, 0xf00130a, 0xf5f0f902, 0x8fe130c, 0x131ff605, 0x2fff7fa, 0xfef9fdf5, 0xafa0900, 0xf804fc04, 0xff0ef101, 0xf8000804, 0x7030908, 0xfcfffdf9, 0x2fa02fa, 0x104fbfe, 0xfefa0100, 0xfc1005, 0x50cfb0d, 0xecff07fc, 0xfafc03fc, 0x5f9feef, 0x1f4f9f2, 0xf1fff4, 0x70207fb, 0x609f905, 0x30003ff, 0x1fb0506, 0xf6fffe08, 0x60afe02, 0x207fc06, 0xfe05ff00, 0x804fc08, 0xf8fff9fe, 0x100feff, 0x700fe0b, 0x30d0114, 0x30800fd, 0xfb02fdfd, 0x1010401, 0xfcfefffb, 0x3020100, 0xfdfefefe, 0x4ff0509, 0xf8ff04ff, 0xff030105, 0x40005, 0xfd08090e, 0xff000305, 0xfb03fd07, 0xfcf805f9, 0xfefb0502, 0xeff7, 0x120e0202, 0x6f4f7, 0x2f9ff04, 0x8fd04fb, 0x3fefa01, 0x2060104, 0xfcfc00fc, 0x706fd04, 0xfafcfbf6, 0xfefaf8f7, 0xfaf90202, 0xfe020300, 0xfb0502, 0xfb0304ff, 0x3ff0101, 0xfcfc01fc, 0x2fcf9fb, 0xfcf80d04, 0x607fdfb, 0xf8f5fdf2, 0xaf706fd, 0x608f907, 0x40800fc, 0x1fefffc, 0xfffff9fc, 0xf4f403fa, 0x5ff04fd, 0xfff8f8, 0xf707ff, 0xfefe0401, 0x7fb0cfc, 0xf3020100, 0xf800, 0x3030601, 0xff04f8fc, 0x400fdf9, 0xfff800fc, 0xf8fcf8fc, 0xfdfa0700, 0x70402fd, 0xe0b040f, 0x510fb0b, 0x90ffc05, 0xf3fff9f8, 0x703f9fc, 0x1fd0501, 0xfe00f9f8, 0xfbf801fa, 0x4f90a03, 0xfdfbfdea, 0x4ec02f0, 0x8effeed, 0xfcf2fbfb, 0xf804050d, 0xf140c00, 0xfbf3fef5, 0xf7f1fcf0, 0xecd3, 0x3707faf2, 0xfeeefdf4, 0x1c0de4fc, 0xf3fe2a0a, 0xee12fd04, 0xfd0103f3, 0xf7fdfa, 0x303f7fe, 0x6fdfffd, 0xfb02f602, 0x419f61a, 0xfc07f9ed, 0xc040813, 0x7120908, 0xf50100, 0xfaf8f9fa, 0xfc0807, 0x70402fd, 0xfe03fd04, 0xfc01f909, 0xf708f9f9, 0xafc06f9, 0xfffc0302, 0xfdfdfcf7, 0xfcf2fdf4, 0xc02feff, 0xff1908, 0x306fa05, 0xee07fafa, 0x2020100, 0xfcf700f9, 0xf800ff, 0xfcfb0400, 0x5fe07fe, 0x3fb0103, 0xf5f50bfd, 0x9050202, 0xf2fe0606, 0x101fcff, 0xfefb0201, 0x306fc03, 0xfef9fefb, 0xf6f90303, 0xf9fb0300, 0x4fd0403, 0x403, 0xfdfd02ff, 0xfafe0001, 0xffff03fe, 0xfdff0303, 0xfefe0300, 0x306f901, 0xfdfa07fc, 0x4ffff, 0x606fe03, 0xff02f9fb, 0x80601fe, 0xf9f807fc, 0x1f8fc, 0x101fffb, 0x805ffff, 0xfefdf200, 0x11ff0401, 0xf1f2fbf9, 0x9000304, 0xb07fd00, 0xfcf9fdfc, 0xa04f6f9, 0x3000101, 0xfff900fc, 0x20007, 0xf700fa02, 0x20afd05, 0x7f9fd, 0xfffc03fa, 0xfaf906fb, 0xfaf204f5, 0x3fc04ff, 0xf9f6fffc, 0x7070d07, 0x1f8fc, 0xfc00fbfe, 0x2f60cfc, 0x7fd0408, 0xfc00f8f8, 0x1f806ff, 0xfafaf3f4, 0xf9f900f6, 0xbfc01f9, 0xfef7f5f4, 0x5f90f01, 0xff020200, 0x3fc04f4, 0x102ff00, 0xfcfcf9fd, 0x8020602, 0xfd00f4fc, 0x4fc0807, 0xfc04ff03, 0xf904fb07, 0xf9030b07, 0x2020404, 0xfff504f5, 0xcfcfdfe, 0xfff404fc, 0x50e0015, 0xf301fc04, 0xfcff01fb, 0xfffcf7fa, 0x100fffe, 0x2fc08fa, 0xfffcf6f5, 0x1f203f3, 0xaf5fff6, 0xf5ef00f4, 0xf0b0c12, 0x10401f9, 0xfefcedeb, 0xfcf0f5e9, 0xe535, 0xe3e1f3da, 0xeeca2af7, 0x15f01420, 0x431e0e7, 0x902060b, 0xf402fdfc, 0xfffb0402, 0xfdfc0409, 0x3f4f8, 0x4010510, 0x10d061d, 0xec0dfc10, 0x105fffc, 0x1409ffff, 0xf1f009f8, 0xfffdf7fb, 0x100b0003, 0x1fd04ff, 0xfbfc0605, 0xfe07f1ff, 0x8f807, 0x5020602, 0x104f9fa, 0xfcf9f6f3, 0x2f90e0a, 0x907ff08, 0x1091101, 0x301fc03, 0xf308f503, 0x10101, 0xfaff0201, 0x203fe01, 0x2070104, 0xfffefaf1, 0x3f104f4, 0x40307ff, 0x9fff8f5, 0xfd00fff9, 0x4fcfcfc, 0x3010100, 0xfdfafffd, 0xf9f8faf4, 0x2000300, 0xff060104, 0x1010300, 0x303fefd, 0x101fffe, 0xfe020103, 0xfc0001fe, 0x203fefe, 0x606fd00, 0xfdf8fc, 0x403fdf9, 0x7000304, 0xfffd0201, 0x20009, 0xfdfe0300, 0x30a0104, 0xf9fdfb00, 0x706040b, 0xfd000405, 0xfc03f809, 0xf8f009f5, 0xff03fb03, 0xfa0d04, 0x902f8fd, 0xff00fcff, 0xf50403, 0x4040003, 0xff03fd00, 0x0, 0x9f908, 0xf6fc0100, 0xfcfcfcff, 0x401, 0x40bff04, 0xafa00, 0xfefbfaf1, 0x6fe0605, 0x80603fc, 0x804fd09, 0xf805fa04, 0x6080b07, 0xfdfd03fc, 0xfdfdf6fb, 0x1fb01f6, 0xf6f2fdfc, 0xff020406, 0xfef907ff, 0xfcfdff07, 0x80a02fd, 0xfe02fe, 0xfef902f7, 0x8fefdfc, 0x404f702, 0x4fefdf5, 0x4fcf901, 0x2ff01f8, 0xfdf900fa, 0x203fa02, 0x20b0505, 0x3fffe, 0x100fdf9, 0xaf701fb, 0xc080408, 0x3f0f3, 0xf8f80501, 0xff04f8fb, 0xfcf8fcfd, 0xf9f503f9, 0xc0303fe, 0xf5f4fcfa, 0xf904fa, 0x1000fdfe, 0xf3fc0703, 0x9fd09fa, 0x3fc03fe, 0xeaeafaf7, 0xf6f10602, 0xf1a, 0xcd04091a, 0x32f050a, 0xf8ed16ef, 0xe9d4fdf1, 0xf6de0ee6, 0xbfd0000, 0xfcfd0902, 0xff04ffff, 0xff0a15, 0xf6070406, 0xa0ffc05, 0xe7002125, 0x327eb13, 0x504f5fa, 0xf18e0ef, 0xf00902, 0xf010203, 0x103fefd, 0x2040200, 0xf4f6f7fc, 0x1fdfe03, 0xa080608, 0x60df70b, 0xfb0af408, 0x50b0906, 0x3000001, 0xfcfc11fc, 0x6ff0205, 0xfb0def07, 0xfe05fe02, 0xfa020303, 0x10003, 0x1fcfc, 0x401fc03, 0x3030100, 0xd090608, 0xfdfcf8fc, 0xfffefdfc, 0x3fb0504, 0x10000, 0x3f4f8, 0xffff04, 0xfdff03ff, 0xfefe0603, 0xfcfe02fd, 0x600fe00, 0xfffe0403, 0xf8fd0501, 0xfe031012, 0x111f80b, 0xfc01fd01, 0xfeff0209, 0x207fd07, 0x101fefc, 0x4010100, 0x3030, 0xfc2fd1fd, 0x3fd00fc, 0xfd00fe03, 0x602fffd, 0x101fffc, 0xfc04, 0xfc08f8f7, 0x7ff0509, 0xfc050c04, 0x3fef5fb, 0xfffbfdfc, 0x3ff0500, 0xfc00fc, 0xfd0404, 0x40004, 0xfc00f5fc, 0xfe04f9fc, 0xfcfc0b0b, 0x10c030b, 0x910fe0f, 0x514f913, 0xf409fb0a, 0x401ff, 0x7fe01fc, 0xfdf10afe, 0x50bfb0c, 0x208fefb, 0x402fefd, 0xfafaf9fd, 0x3ff0200, 0xf2fc0100, 0x8090106, 0xfe0600ff, 0x2050208, 0x505fd00, 0x606fc00, 0xfdfffffc, 0x2f603fc, 0xf8ff00, 0x2fefcfd, 0xb04030e, 0xf804fd00, 0xff020103, 0xfcfdfcff, 0x50200fd, 0x2fffefe, 0xfffcfffe, 0x1f505f9, 0x7f408f8, 0xf5edfaf7, 0x2010703, 0xfbfff8ff, 0xfd00ff03, 0xa0209, 0xfefbfaf2, 0xfbf8fdf9, 0x3fc0800, 0x8f8fcf7, 0x105fefc, 0x5f80cfb, 0x1f9fff5, 0xf0fbfdfe, 0x10180214, 0x26f2, 0x72cec0f, 0xc18081b, 0xe003f8e5, 0xfcf80702, 0x20efefe, 0x1104f4f8, 0xfcf80bfa, 0x9040005, 0xf9fe06fa, 0x60aff05, 0xb06050f, 0xfc24f7fa, 0xfcf3f5fd, 0xf9f10703, 0x3f7f40b, 0xfd080d0c, 0x6030001, 0x10101123, 0x122ff1f, 0x2b0034, 0x33fd32, 0x62e0129, 0x124ff2c, 0xfc2dfd36, 0x334002b, 0x32bfe29, 0xfe2be903, 0x4010403, 0xf800edfe, 0xfcfcfffd, 0xfcff00fc, 0x8040105, 0xfb000004, 0xfc00, 0xfcf904fc, 0xffefff7, 0xf3ed00f5, 0x6fc0201, 0x301fdf9, 0x700fcfc, 0x804f808, 0xf7ff0101, 0xff03fefe, 0x30300fd, 0x10302, 0x501f7fa, 0x1fcf9f1, 0xfff808fb, 0x50202f4, 0x9fc080c, 0xfd0df707, 0xfc050003, 0x304fe05, 0xfbff0001, 0x502ff00, 0x808330b, 0xfe0dbdf9, 0xfbf10afb, 0x4020105, 0xff0000, 0xfbfa00fb, 0x2fdfcfd, 0x304f3ff, 0x6fe0f08, 0xfd090603, 0x101f501, 0xff01fd01, 0x2000803, 0x5080f17, 0xd240424, 0x240024, 0x28ff32, 0xfe32023b, 0xfe3d0234, 0xfe310230, 0xfd24e006, 0xf1f202fb, 0xf6fdfbfd, 0xfdfcf8, 0x14052428, 0x833032c, 0x128fc29, 0x32a012d, 0x12a012d, 0xfe31fd35, 0x234fe30, 0x3e003d, 0xff34f82b, 0xe10ef705, 0xff020606, 0x2b2c1342, 0xe925d5fe, 0xfefffefe, 0x3ff0703, 0x104f9fe, 0x6020107, 0x3fffffb, 0x205050d, 0x2b390c44, 0xe42cd000, 0x702fe00, 0xfaf8fdf7, 0x9010002, 0xfefffdf7, 0xbfb01f4, 0xfdfc0204, 0x1030400, 0xfb00f2fa, 0x805fb01, 0xd0ef2fe, 0xf8f8f5f3, 0xb03fa00, 0xfffc0f03, 0xfaf502fb, 0x9030106, 0xfafb02f1, 0x5f507fd, 0xf704070e, 0x5031819, 0x2508, 0x1a1bf524, 0xddf5eedb, 0xe1dc1bff, 0xff020b06, 0x1216f20a, 0xfbf40505, 0xfe070501, 0x1f9f7f0, 0xc03fcf9, 0x9fc1714, 0xf4fdf1e9, 0xaf7fafa, 0xfbf9fc00, 0xf8ffefe7, 0xaee0f09, 0x5110307, 0xfbfcfefa, 0x341e0411, 0xff0f0010, 0x100010, 0x100013, 0xd000c, 0xb000c, 0x100013, 0x100010, 0xd0110, 0x12de07, 0xfafd03fc, 0xfbffeafc, 0xfefe00ff, 0xfd000000, 0x7ff01ff, 0xfbfffdfc, 0x501070c, 0xfc0c040c, 0x401f3f5, 0xfafc02fe, 0x1f90c03, 0xfcfcfffe, 0xa010308, 0x303fd08, 0xf809fc04, 0xfc01f9fc, 0xa030003, 0x2050305, 0xf9f9fcfe, 0x704f4ff, 0x303fdf8, 0x1003f9fa, 0x7f80cfc, 0x403fc08, 0xf400ffff, 0x4000002, 0x108fb03, 0xfefcfb, 0x13062afd, 0xf3f2c5fa, 0x807fdfa, 0x8fefefb, 0x2fdfcf9, 0xfffd01fe, 0xfefa0402, 0xf5f40304, 0xe0cfffc, 0xff00f9, 0x901fe0a, 0xfd08ff0a, 0xf901261f, 0x16300122, 0xff140010, 0x100010, 0x100011, 0x130011, 0x130011, 0x130011, 0x115de13, 0xd9fb05fe, 0xfa02f900, 0x8080915, 0x3f40001c, 0x140011, 0x100014, 0x110010, 0xf000e, 0x100013, 0x110013, 0xff120113, 0x14031f, 0xd10fed05, 0xfa003a34, 0xc15ff01, 0x119d216, 0xe9010407, 0x5090305, 0x4000b, 0x308fd04, 0x10103, 0xff00332e, 0x50800fc, 0x119df28, 0xcff0fef0, 0xfff503fb, 0x5f707fe, 0xfdfd0404, 0x801ffff, 0xfafc0b05, 0xb0f040f, 0xf105f306, 0xf9f70804, 0x1007f005, 0xf502fb08, 0x704fc06, 0xfe050a00, 0xfa00fefc, 0x9fc04ff, 0x5fcff, 0xfdf70afa, 0x4070a0a, 0xf140b07, 0xeaee, 0xade0bf4, 0xe8ffef00, 0x1534f912, 0xf22fb12, 0x1111f110, 0xf207f9fb, 0x5021310, 0xf0fffc04, 0x800fc00, 0x8ff07ef, 0xfdf8f1f8, 0x4f20a02, 0x108f400, 0xf5fdf200, 0x9ff04f4, 0x9f8faef, 0xafefefe, 0xad403d3, 0xffd3fed1, 0x2d300d3, 0xfdd003d3, 0x1aed0ffc, 0xf3efe6d5, 0xffd400d4, 0x3d701d8, 0xffd701d7, 0x1d8f2ec, 0x10020100, 0xfd02f20a, 0xf2fe0301, 0xfc00ffff, 0x6fe0704, 0xf1fa0603, 0x20006ff, 0x104fcfc, 0x4fcf4fd, 0x306fafe, 0x3000d01, 0xfb00fcfd, 0x5f807fc, 0x4fd0101, 0x20bf504, 0xf5fdff03, 0x801fdfe, 0x2fe0904, 0xf1fc0202, 0x1fc0008, 0xf9fefeff, 0xdfcff02, 0xfef90efb, 0xa01f7fc, 0xfc04fd02, 0xfffdf9f6, 0x6fb0202, 0xff01fd02, 0x1b0a1fff, 0xe2eed700, 0x901fe02, 0x1fb00fd, 0x4ffff02, 0x1040003, 0xfd0200fe, 0xf4fd130d, 0x4030004, 0x4ff03, 0xf6f004f6, 0x3fc0805, 0x27330916, 0xfffffefc, 0xfffc00fc, 0xfcfffb, 0x1fcfffb, 0xfef903fc, 0xfffbfffa, 0x2fc00fc, 0x3fee101, 0xd901120e, 0xf509fd0d, 0xff041f1a, 0x2500fdfd, 0xfffc00fc, 0xfffb01fc, 0xfffb01fc, 0xfffbfffa, 0x1fb01fc, 0xfdf903fc, 0xfd00fc, 0x1fd02fc, 0xd2fde7f7, 0x1411340b, 0xfffefefd, 0x2fef925, 0xcc080408, 0x306f9fc, 0xfffb02fd, 0x802f7fc, 0x804fbfe, 0x2a290e04, 0xfefd02ff, 0xfefd1c, 0xb4010104, 0xfb000401, 0xb070505, 0xf9010401, 0xf9fff9, 0x4030800, 0x3f809fd, 0xfe0afe15, 0xf00c0b0f, 0xfaf9f6ff, 0x50ffd11, 0xfa04fe06, 0x8100b11, 0xfb12f509, 0x1010603, 0xfd000105, 0xff070401, 0x30005fb, 0x7f302ea, 0xecf9, 0x1c0bdfdf, 0xfdf40106, 0x4f5f5f1, 0xfee0f5da, 0x13dc08f3, 0xf8f90505, 0xf0ffcf8, 0x50df607, 0x100f0f4, 0x1ed18fe, 0x304f407, 0xff0202fa, 0x3fcf1f9, 0x307f80d, 0xfc000804, 0x803f902, 0xf07f4fd, 0xf4e7f0d4, 0xffd4fdd3, 0x8d904dd, 0xfbdb01d9, 0x3cfb13ff, 0xd6e2dfdb, 0x3df06e5, 0x4e6ffe4, 0xe503e7, 0x5eb0d06, 0x4fa0700, 0xf4f70106, 0xf105fbfd, 0x3040106, 0x30303ff, 0xfc0afafe, 0xfffb08fd, 0xfcfdfd, 0x700fc08, 0xfb000107, 0x408ff, 0xff03fe05, 0x20204ff, 0x1fc03fe, 0x1fd0008, 0xf80bfc08, 0xfdfdffff, 0x40104fc, 0xfc07fc01, 0xfdfd0704, 0xfc07010a, 0x4010608, 0x6100608, 0x503f804, 0xfb03f6fc, 0x300fc03, 0xfdfa07ff, 0xfcfcfffe, 0x250815fe, 0xdaf6e403, 0x2fc0200, 0x201fbfc, 0x4fcfcf9, 0x800fdfd, 0x2020406, 0xedff07f3, 0xdfc03ff, 0xfdfcfdfa, 0xff03fbfa, 0x5fc3024, 0xc09fcfc, 0xfdfcfb, 0xfc00fc, 0xfc00fd, 0xfefa02fd, 0xff00fc, 0xfd00fe, 0xfc01fd, 0x3fdcde9, 0xf3030f00, 0xf904fd04, 0xf7fc2f0c, 0x15fcfffe, 0xfdfc00fc, 0xfd00fc, 0xfefb02fc, 0xfd00fe, 0xfd00fc, 0xff00fc, 0xfc00fc, 0x3fe01fd, 0xbce7fcfc, 0xbf33dfc, 0xfffcfefc, 0x3fd0105, 0xdc15eafb, 0xfef6fffc, 0x8050407, 0xfcfb0004, 0xf9f52721, 0x170efdfd, 0xfdfc00fa, 0x2fce5e4, 0xcdfd0602, 0x108ff03, 0x6fe03fc, 0x70a0107, 0xff060209, 0xfb000800, 0x401fcf4, 0x7fd1110, 0xf919f705, 0x101bf51a, 0xf60bf200, 0xff05030a, 0x5070c08, 0xdfc14, 0xf5080204, 0xfe050206, 0xfe05ff00, 0x8050808, 0xfcfd04ff, 0xeef3, 0xeec52208, 0x10cff0a, 0xfa00f702, 0xf1f5ffff, 0xec14f8, 0xf7f706f8, 0x3ecf7e7, 0x8eaf9ed, 0xf8e40c00, 0x100f04fb, 0x7fff4ff, 0xfafa06fe, 0x4ff000e, 0xfc07fa09, 0xf3001008, 0xf5f50602, 0x5f8ff03, 0xfa09fe17, 0xf9110519, 0x11fe0b, 0xfd0d000c, 0x3c0c05fe, 0xd3fbf30f, 0x6120f1b, 0x17ff17, 0x1180217, 0xfd0f0204, 0x303fbf7, 0xf5f804fb, 0xf903fb03, 0x706, 0x1040405, 0xf801f8ff, 0xffff01f8, 0x1f90602, 0x904fd05, 0xf8020a0b, 0x40ffd04, 0x409ff0a, 0x1090106, 0x207fd01, 0x0, 0xf4fc0404, 0xff06fc03, 0x908f5f9, 0x6030108, 0xff0afcff, 0x508070e, 0x6100610, 0xfd07fdfe, 0xfbf4fffb, 0xfafafe02, 0x1000408, 0xf702fcf7, 0x500f8f9, 0x380c08ff, 0xcff4efff, 0x502fefe, 0x703f901, 0xfffcfbfb, 0x9fc0302, 0x5050506, 0xf811fb05, 0xf5ed0cf6, 0x4fd0101, 0xf7f9fffd, 0x1d15260b, 0xfdfcfcfc, 0xfc0000, 0xfdfd02ff, 0xfefd00fd, 0x201fefd, 0x2fffefd, 0xfd02ff, 0xff01ff, 0xe8e4cfe6, 0xd0008f9, 0xfdfd0505, 0xfb09300a, 0xafffbfb, 0x1fffefd, 0xfd00fd, 0x201fefd, 0xfd02ff, 0xfefd00fd, 0x1fefffd, 0xfd02ff, 0x1fdd5d1, 0xe2f70a05, 0xfaf432e9, 0x14feffff, 0xfc03fe, 0xfd1fcc01, 0xfd000607, 0xfdfc00f8, 0xfcf804fc, 0x181b2418, 0xfcfdfcfc, 0xff00ff, 0xf0edc8d0, 0x80b0308, 0x209020c, 0xfe040203, 0x5010101, 0xf7f907fe, 0xfd0003fb, 0x5fcfcfc, 0x4f915fd, 0xfe02f1fc, 0xfde90e02, 0xf905f407, 0xeff70c00, 0xa0503fc, 0x4000408, 0xf407f8fd, 0xfdfc0600, 0x103f4f8, 0x9f91b0c, 0xf000ebe7, 0x214, 0xec1206f6, 0x7fc00fd, 0xf4f7f0f0, 0x100ff707, 0xd14ecec, 0x1409f4f7, 0xfbef02fa, 0x1002fc05, 0xff0cf8f8, 0x15fdfef7, 0xf9e90d02, 0xff07fcfd, 0xd06f7fd, 0x90a0414, 0xfe1feaf9, 0xfbff140d, 0xf800f9fa, 0x606fa02, 0x40d0109, 0xfe07fc05, 0xfd05fe03, 0x3e050202, 0xcaf90309, 0x2050b01, 0x7080009, 0xff070106, 0xfd060206, 0xf6f9fbf9, 0xf8fcfbf3, 0xfdf700fc, 0x703fdf9, 0xf8fdf1, 0x2fbfd00, 0xfcfd03ff, 0x1ff05fe, 0xb000306, 0xfa080402, 0x200f6f9, 0x8fdfffd, 0xfc04ff, 0x1fefeff, 0xfefdfcf9, 0xf4f90e03, 0xfe02ff05, 0xfcf80407, 0xfdfe0401, 0xff01070c, 0x9100009, 0xfd00faf4, 0x2f9fefa, 0xfdfc00fd, 0xfcfffdfe, 0x40102ff, 0xf5fd0607, 0x608fc0c, 0x3509ff00, 0xc4f5fc02, 0x4010306, 0xfffd03, 0xf8fc0102, 0x4fd0701, 0xfffbfdf3, 0xfffa0201, 0x20ef9fb, 0x3fa01fa, 0xf9fc02ff, 0x402201fd, 0xfdfdfeff, 0xfefdfefb, 0xd9d7ecc1, 0xfcbf03c2, 0xfcbc01bf, 0xffbc01bf, 0x1c002c0, 0xfebefbb8, 0xd00506, 0x6ff02f9, 0x4000702, 0xfb023608, 0xfffdff01, 0xfdfd00ff, 0xc0bfffbe, 0x2be01c1, 0xfebf04c1, 0xfcbfffbe, 0xfdbaffba, 0xfdb701b6, 0xfaaf02dc, 0xc060a06, 0xf90504d7, 0x3bfe00ff, 0xff02fe, 0x304df17, 0xdef80f01, 0x4fc00, 0xf8fc1b13, 0x2924fcfc, 0xfcfcffff, 0xfefdf6f3, 0xc5c80707, 0xa09f7fd, 0xfb0801, 0xfcff01fe, 0x6fffefc, 0xfe030501, 0x4fdfe, 0xfff80400, 0xfc07ee, 0xfdedf0ec, 0xffee02e2, 0x1b04f101, 0xfc0eff01, 0x7fe02fd, 0x2fbfdf4, 0xfdfdff04, 0xfb0201fd, 0x400000c, 0xf8fb10f0, 0x1010f51a, 0xfcdd, 0xe9da1ff3, 0x8f40c00, 0xe0ec0d09, 0x160ffa12, 0xdee32219, 0xf6fbf1f8, 0xf9f61e12, 0x1012fd13, 0xf80c0014, 0xfbfafaf6, 0x603f2e8, 0xff800fc, 0x8f7fcfc, 0x9fc03fb, 0xfaf7fa07, 0xf40007f3, 0x1fc0003, 0x1fefafe, 0x903ff01, 0x104f4fc, 0xff090a, 0x3703ff00, 0xc9ff0d09, 0xfb02fff6, 0x9f801f9, 0x4fe0300, 0x3ff00, 0xf600faff, 0xf1f800fd, 0x101ff00, 0x4fd0101, 0x304fc03, 0x10004, 0x50d030d, 0xff0b0208, 0x603fdfd, 0xfcff0803, 0x405f0ff, 0x7fe00ff, 0x2010300, 0xfcfbfcf9, 0x7020006, 0xf6080600, 0xfafc0401, 0xff04fdfd, 0x505feff, 0x110a, 0xf8f906ff, 0xf5f700fd, 0x1fc0200, 0x1040004, 0xfc04ff06, 0x103fdfe, 0xfa0302ff, 0x3fc0404, 0x3201fe00, 0xb8f40b03, 0x2010301, 0x1fd01, 0xfb040b0e, 0xfa0402ff, 0xfdfd0505, 0xff05ff02, 0x505f804, 0x4050105, 0xf7031011, 0x3102fcfd, 0xfefefefe, 0xffffc4c5, 0xf8e407ff, 0x6090006, 0xfc06ff04, 0xfc01ffff, 0x1ff00fd, 0xff0105, 0x60b050b, 0x1060206, 0xfcfe0d04, 0xfd063202, 0xfd00fcfd, 0xfdfd, 0xb7f40c01, 0x8070006, 0x8ff03, 0xfc03f6fa, 0xfd0705, 0x8040b, 0x516fe12, 0xfa000b01, 0x109f6fb, 0x26e618fe, 0xfe03ff, 0x3fffe1e, 0xc7070b03, 0x104f7ff, 0x60d3628, 0xfdfcfcfc, 0xfdfe, 0xfbfbc7cc, 0x1080809, 0x403fc08, 0x1090708, 0xfc08fb02, 0x501fcff, 0xfdfe03fc, 0xfcf80803, 0xfc000400, 0x404f9f6, 0x2fb0914, 0x151427, 0xf400fb0a, 0x412f609, 0xff01fcfb, 0xfcf501f9, 0xfdf9fef8, 0x1fe0401, 0x3000303, 0x20debe8, 0x18f01c17, 0x1314, 0xef1af0eb, 0x2e50ae3, 0x6091f1b, 0xeff401fb, 0x8250306, 0xebfbfc06, 0x121fe0e1, 0x1dee03f4, 0xc08f800, 0xf0f5f1ec, 0x12f8090f, 0xfcfc, 0x4f8fcf8, 0xbfafdf4, 0x4fef8fc, 0xff070101, 0xfcfc0400, 0x403fb04, 0x2fd00fe, 0xfbf8f9fd, 0xfefb180a, 0x2e01f3f5, 0xd70306fc, 0xfbfcf8f5, 0x1ed0bf7, 0x8fb06fe, 0xfffd00fe, 0x20afa0a, 0xef08fb03, 0xfe000203, 0xfefd120e, 0x10cf707, 0x50c010d, 0x70ff905, 0x3090007, 0xff000104, 0xf9010700, 0x3fffe0d, 0xfb010102, 0x202fdfc, 0xf8f80905, 0x200fbfb, 0x106fdfd, 0x70a050b, 0xf703fd03, 0xfcfafdf9, 0x70008f7, 0xb0afe02, 0xfb08fd05, 0xfe02fefe, 0x603fe01, 0xff04fc01, 0xfcff, 0xfb00fefc, 0xfdf60f01, 0x30fff6f7, 0xc2010e04, 0x103f8f8, 0x5fd0202, 0xfd0401fa, 0xfbfb05fe, 0x3040c0b, 0x30f0212, 0x310e901, 0x2ff0200, 0xf6ff2615, 0x1afefdff, 0xfdfe0202, 0xd9dce1f9, 0xa0b0105, 0x908060e, 0xfd0ffb0b, 0xfd0c010e, 0xfb080008, 0x40cff0a, 0x105f8f8, 0x8ff01fe, 0x709f8f4, 0xf062afe, 0xfefffe01, 0x203edf3, 0xd4101317, 0xf6050409, 0x30c000d, 0xf90af408, 0xa12000b, 0x9140919, 0xfe12fc10, 0xf1070804, 0x508f204, 0xfad83fff, 0x302fefd, 0x4fe0303, 0xe01ce9fa, 0x3fc0106, 0x323201fd, 0xfdfdff00, 0xfdfdffff, 0xcbcff901, 0x5050704, 0xfc00, 0x807fdfd, 0x1fe04, 0xfaf90603, 0xfe04fafb, 0x20102fb, 0x9080408, 0x4f904, 0x7090303, 0x609fbf0, 0xfcfdfe, 0x3fdf8ff, 0xf4f400f8, 0xfcfbf6, 0xfef703fc, 0x904ffff, 0x3ff0501, 0x706fd18, 0x10113f8, 0xf9e8, 0xf90811, 0xf403fcf5, 0x130211f4, 0x1419f40c, 0xf1f506f8, 0x613ff16, 0x4080028, 0xebf601f4, 0x4ecf7eb, 0x904f70a, 0x2fa0f00, 0x404f901, 0x401fb00, 0xfcf108fc, 0x3fbff02, 0xff02ff00, 0xf5f90b00, 0x400f8fd, 0xfbfdf8, 0xf6f30a04, 0xfe041e0a, 0x23ffe8f4, 0xd9f602f2, 0x1f8ffff, 0x1ff00f4, 0x7f306f3, 0xbfffffe, 0x1fd0306, 0xfa11ef05, 0xfb02fdfd, 0x7060c00, 0xfdfc0005, 0x101fefe, 0x2f90202, 0x100fcfc, 0xfcf904fc, 0x30400, 0xfdfffe, 0xfe01fefe, 0x1fdf9f9, 0x3040702, 0xf9f901ff, 0xfffd0c0c, 0x409fc00, 0xfc05f901, 0xff04f7fe, 0x4fb05f8, 0x5f207fb, 0xfdfd0303, 0xfc01f8fb, 0xf504fb, 0x804fb03, 0xfd000004, 0xf4fd00ff, 0xfcfe1c0b, 0x24ffe9f2, 0xda0a0501, 0xf4f401fd, 0xa02fefe, 0xfefffdfb, 0x3030503, 0x4040800, 0xfd0c07, 0xf4f8effe, 0x4000200, 0xf2fc3a10, 0x8fefeff, 0xfe000200, 0xc1e8040b, 0xfcfd0804, 0x1fc02f8, 0xfdf8fdfa, 0xfd0602, 0xfe05fe03, 0x201fcfe, 0x603f601, 0x6ff01ff, 0xfdf5faf7, 0x1d052500, 0xfe00fe00, 0x200e5f8, 0xe90d0701, 0xf3fe0802, 0x201fcfd, 0xfbfff803, 0x7000101, 0x4fc01f4, 0x6fcfafa, 0xfe070504, 0xb0af50d, 0xe4f728e0, 0x2300fe00, 0x2fe04ff, 0x120c8ff, 0x804292c, 0x802feff, 0xfdfffdfd, 0x202cdd0, 0xf4f90909, 0xfe02f9f4, 0x1f503fc, 0xbfffcfe, 0xfe0202, 0xfc04fbf9, 0x702f800, 0x2000301, 0xc040404, 0xf8fcf8fb, 0xfff3faea, 0x7eb1000, 0xf4f407fe, 0xfbf9fc, 0xff07f6fd, 0xfcf9fffd, 0x4030404, 0xc070008, 0xff040201, 0x802faff, 0xecea15ec, 0xe1fd, 0xb08ffff, 0xfa05040d, 0x2fc0ef9, 0xfadf1904, 0xf90c0208, 0x1030105, 0xfeff0605, 0xea040205, 0xeaeb1105, 0x9051422, 0xee0e0100, 0xfcf80302, 0xf9f700fc, 0xfcfc05f9, 0xe040106, 0x30af2fd, 0xfa02fcf3, 0xaf90405, 0xfafff8fa, 0xf9fd08fb, 0x3002c0e, 0x1601daf3, 0xd9f304f5, 0x8fc01fe, 0x2ff0100, 0x3fc02f8, 0x6f302f6, 0x4f9fff5, 0x100b0d29, 0x3310539, 0x436002a, 0xfb28f51d, 0xea06f5fd, 0x7020000, 0x201fe03, 0xfd040000, 0x17171225, 0xdf04f8fd, 0xfcfbfcf9, 0x901fb03, 0x3030501, 0xfd050206, 0x2090300, 0x1410182c, 0xd909f303, 0x4fc09, 0x106ff00, 0x3fe04fb, 0xe0c111a, 0x7250330, 0x30012d, 0x25022c, 0xfe2de310, 0xe4000404, 0xf4fc2c0c, 0x1800dff6, 0xe501fdf9, 0x4091a22, 0x11290c37, 0x53efb3c, 0xf730ed18, 0xf3070504, 0x50902ff, 0xecf7f901, 0xfd03fe, 0xfd093c0b, 0xfcffff00, 0xfe000200, 0xbdfc0800, 0x4fffb, 0xfdf704f9, 0xfc0302, 0x2040200, 0xfe000305, 0x80bf807, 0xfdfe030b, 0xf4f907ff, 0x90bf809, 0x200c18ff, 0xff00fe00, 0x301dbf7, 0xf4020601, 0xfa08fdfd, 0x4ff0205, 0xf701fb04, 0x4010808, 0xfbfffaf8, 0xfff1fff6, 0x5fd0d05, 0xfaf7fc, 0xeb0301dc, 0x41fa0602, 0x1fd, 0x400e820, 0xc240c07, 0xfffefdfd, 0xfdfd0202, 0xd5d5e8f0, 0x804fdf8, 0xfbf500fc, 0x7020504, 0xfcf500f9, 0x1fa02fa, 0x200fe03, 0xfdf9fdfe, 0x6020201, 0x6fb05fc, 0x4f703, 0xfe02030b, 0xfd0103f4, 0x808fcfd, 0xfd0408, 0x9f80b, 0xf7060007, 0x5080509, 0x3000404, 0x50306, 0x2000208, 0xf10de8e0, 0x1527, 0xf511fa0c, 0x91bfd14, 0xfe100c0e, 0xf90d08fc, 0x3060105, 0xfc000807, 0xfc05fffe, 0xf60aff07, 0x825f80c, 0xc0ffbf6, 0xa12eeff, 0x205fe00, 0xfa010304, 0x30bfa00, 0xbfd03ff, 0x2fef703, 0xf4fdf8f9, 0xcfb04fb, 0xfcfdfc01, 0xfc0403ff, 0xfefa3f0d, 0x8ffd0f5, 0xe0fc0800, 0x7fff9f7, 0x8fd0501, 0xfffd00fb, 0x3f801f7, 0x8fb2723, 0x1023fd13, 0x10000b, 0x70007, 0xc0017, 0x330ee29, 0xe002f8fa, 0xfcf403f9, 0xfcf8f4, 0x29061a0e, 0xe110f008, 0xfd09fe0b, 0xfcfe0205, 0xff010400, 0xfcff0b08, 0xfe04f3f4, 0x33130904, 0xd500f300, 0x404fb03, 0x103fc00, 0x18151d2e, 0x424ff12, 0xb0008, 0x80007, 0x70005, 0x108daff, 0xe5000804, 0xf303350c, 0xc00d5f6, 0x3141c33, 0x103f0126, 0xff140008, 0x30008, 0x110125, 0xf82ae308, 0x3f9fa, 0xe7f500fc, 0xc080106, 0x20b3100, 0xfbfffefe, 0x202f6f6, 0xcb040501, 0x304f9fe, 0x2030201, 0xfafb05fd, 0x1fc03fd, 0x30200ff, 0x5fcf9fd, 0x2020100, 0xfd090709, 0x404f804, 0x280c0c00, 0xfdfe0202, 0x100d0f5, 0x4050706, 0xf5010408, 0x40002, 0x712f40b, 0xfe050704, 0xfc05f500, 0x304fc01, 0x4000cff, 0xf5f4fbf8, 0xf401fcfc, 0x24df25fe, 0xfe02ff, 0x1fc0317, 0xbfefd, 0xfffdffff, 0xfe00dedc, 0xdae106ff, 0x1f80702, 0x70209, 0x406feff, 0xfafd0300, 0x4030001, 0xfffefefe, 0xff000003, 0xfffc0903, 0xfdfa04f9, 0xfff8fcfd, 0xfffe04ff, 0x20201, 0x3fc0101, 0xfeff0601, 0xff000008, 0xf506fe04, 0x9080407, 0xff03fefd, 0x603fdfd, 0x7020101, 0xf505daf7, 0xb03, 0x614fb15, 0xf8040f16, 0xfb13060d, 0x4181020, 0xe0fdece8, 0x10fc0f03, 0xfe05ff05, 0xf807ff07, 0x504fc08, 0xfc0405, 0xfbf6f901, 0xf8f70801, 0x131af60d, 0xfe08f200, 0x7fc0801, 0x908f304, 0xf404030f, 0xfe010300, 0x105020b, 0xfe0d030d, 0xf8074109, 0xff00c5f5, 0xee030c07, 0xfffff6fc, 0x8fc07fe, 0x1000303, 0x505080c, 0x2c30040d, 0xfdfae7e4, 0xe7cbf5c0, 0x3c305c8, 0x8d01ded, 0x12fc010f, 0xf726cdfb, 0xff0400, 0xf8f8f8f8, 0x390810fe, 0xdefbedf8, 0x500f3f5, 0x70001ff, 0x303fdfc, 0x10104fa, 0xfffbf4fc, 0x3c0500fc, 0xccf3ffff, 0xfdf80401, 0xf5f5221b, 0x1e21ff03, 0xf8f7e3db, 0xeec9fec7, 0x1c800c8, 0xc8ffc7, 0x2c8f3e1, 0x1fd0b00, 0xf401400c, 0xfc27, 0x529020f, 0xf9f8e8df, 0xe8c8f7bf, 0xbf0dcc, 0x23ef10fe, 0x107f418, 0xe0f8f7f6, 0xedfc0400, 0xc0000ff, 0x9062aff, 0xfafe0202, 0xfefeebf3, 0xd9010f0b, 0xf800ff06, 0x206181c, 0x13350333, 0x1330030, 0x12eff2d, 0x28002f, 0xef1ce1fc, 0x50402ff, 0xa05f704, 0x300c0000, 0xfd0000fe, 0x2fff524, 0x424011e, 0x22bfe25, 0x3280028, 0x21fd2a, 0x22efe25, 0xea13ed0b, 0x80410, 0xfc08f9f5, 0xf1f106fc, 0x70ff104, 0xffdf40fa, 0x6000200, 0xfffe02fd, 0xfdfffe, 0xfefd00fe, 0xeaeac9d5, 0xd08ff01, 0xfdfd0a00, 0x202fefe, 0x5ff0304, 0x20cfc05, 0xff00fcfc, 0xfdfa03ff, 0x3030205, 0xfb0101f9, 0x2fefdf7, 0x4fc0000, 0x4050405, 0xfd02ffff, 0xfcf803fa, 0x2fe07ff, 0x101feff, 0xf903050a, 0x3040303, 0x105fc03, 0xfcf9fcf8, 0x3f40e01, 0x1b27e532, 0xe5d5, 0x8d72d09, 0xe1fe6f6, 0xebe618f8, 0xc00e5d5, 0xf04fd15, 0xeff409ee, 0xefe0605, 0x613fb0f, 0xf600f9fd, 0xf6f302f1, 0xfcf2f6ef, 0xebe223fd, 0xfee81103, 0xecf1f3f2, 0xcf71100, 0x4fbeff7, 0x2050305, 0x7fc00, 0x3020101, 0x3ffff, 0x50c34ff, 0x202b6f3, 0xfd021309, 0xaf408, 0xf7f706f6, 0xaff02fe, 0x7002d25, 0xb04f4f4, 0xc7bef1c8, 0xe103ef, 0x2ee0af3, 0xf8e3fac0, 0x23d12fff, 0x109dd19, 0xef08ff03, 0xf500f5fd, 0x470b03fe, 0xd2f2fb00, 0xfffafa01, 0x3fd0400, 0x1feff00, 0x706fdff, 0xfffffd08, 0x3400ffff, 0xc1f409fe, 0x1fefb, 0x90f301d, 0xfffee1e0, 0xd4bc00d9, 0xffea02ee, 0xfbe805ed, 0xfbe801ea, 0xaf20605, 0xfe0206fd, 0x30c3400, 0xfffffe01, 0xeae6d6ba, 0xebac03c7, 0xfedd03e9, 0x1ea02df, 0xfab63ce2, 0x1cfd030c, 0xc8f4f7f4, 0xfe050304, 0x901ff00, 0x140b1dfe, 0xfe02fefe, 0x303dff7, 0xe1ff1404, 0xff0bf602, 0x13132f2a, 0xfd140011, 0x100010, 0xf0010, 0x100010, 0x122ce0f, 0xf8020909, 0x403f905, 0x2f04fbff, 0x2fdff, 0x401010d, 0x30c030e, 0x10d000f, 0xc000c, 0xc000f, 0xd0110, 0xf218cdf8, 0xc040000, 0x307f200, 0xf20102fd, 0x8fefe0b, 0xf60216d8, 0x2e0000fe, 0x100fffd, 0xfd00fe, 0x202f0f2, 0xbec60603, 0xa00ff00, 0xfbfe02f6, 0x2f602fa, 0x8fd0600, 0xfefdff, 0x408, 0xff0afa01, 0x6040103, 0x8ff06, 0xf9fd0101, 0x2ff0201, 0xfd02fb, 0xfefc02ff, 0xfe010200, 0xfdfb0bff, 0x503ff04, 0xfe09fbff, 0x40000fd, 0xfdf90805, 0xff08f400, 0x1fe06f6, 0x9e400ff, 0xf60b, 0x191c04f3, 0xebd0f5df, 0xc0003eb, 0xf5d40ffe, 0x1f0170a, 0x520f007, 0xf5ee13fb, 0x1f602fd, 0xfd04f4ff, 0x10a0a12, 0xfa10fe18, 0xf421f4f2, 0xe0203f4, 0x8f005, 0x1fa1a03, 0xf5f4f8fd, 0x4ff01fd, 0x603fa01, 0xfffd01fd, 0x7040005, 0x8082d01, 0xf7f6bcfc, 0xfffe11fc, 0x3fff0fb, 0xfe0200fc, 0x7f90b02, 0x1611270b, 0xf9f9babf, 0xfef60308, 0x50d020c, 0xfe080705, 0x916f713, 0xf3e333e7, 0x19fff113, 0xdc00fcfd, 0xf7fffe08, 0x42030000, 0xcaf80704, 0xfb00fd03, 0xffff02fd, 0x602fafd, 0xc02fb00, 0xf8f90f0b, 0x26fdf8f6, 0xce030903, 0xfcfff7f8, 0x392805fd, 0xe3e1d5d5, 0x6070209, 0x40e020e, 0xfe11fb07, 0x30f000e, 0x1050403, 0xfc01fffa, 0x10072d00, 0xfcfdb9b8, 0xf2c005ef, 0x408050a, 0xfe0a0108, 0x50c030d, 0xf50806d2, 0x49ff03ff, 0xce05f200, 0xfe000b08, 0xfffcfc, 0x200814ff, 0xff00fe00, 0x300d4f5, 0xef0309f8, 0x801f803, 0x281813fc, 0xfefdfffc, 0xfcfffb, 0x1fcfffb, 0x1fc01fd, 0x2fecefe, 0xf7fd08fc, 0x4fc0306, 0x26fdfe00, 0xfefeff00, 0x1fd03ff, 0xfc01fa, 0x3fcfffb, 0xfffa01fb, 0xfb01fc, 0xfc03fe, 0xf501c8fc, 0x10000303, 0x202ff0f, 0xed0afb03, 0x3fe0101, 0xf904ffed, 0x37f60a00, 0xfffe00ff, 0xff00ff, 0xf8f5bcc1, 0xfcff0801, 0x7fe00ff, 0xfd01f9f8, 0x6fc0802, 0x2fc02f8, 0xa02fb00, 0xfdfd02fb, 0xfefa0606, 0xfefefffc, 0xfc00fd, 0xfc0000ff, 0xfffc02fc, 0x3ff0300, 0x204fe00, 0xf9fb05fe, 0x2030a02, 0x300ff00, 0xfdfffd01, 0x2ff0100, 0x304ff, 0x303f908, 0x70405, 0xf0bfd08, 0x240d, 0x5f9efe4, 0x3fc0d14, 0x8ecf1, 0xb07f5ed, 0xec10e5, 0x11f1f7f8, 0x40700f4, 0x4f704f9, 0xf4f0fcf8, 0xfcf308f1, 0x7fefefe, 0xff090419, 0xf904ff00, 0xfffffd0c, 0x81304fd, 0xf4fc0105, 0x3040306, 0xfafafefe, 0xff01ff, 0x800fcfc, 0x170b2200, 0xeaf3c6fd, 0xfe06f3, 0xfeeefcfa, 0x602fdff, 0x4fc05f6, 0x37170fff, 0xd5dbdf00, 0xa0cfe07, 0xfdff0502, 0x40300, 0xf70c0c, 0xf8110be9, 0x2dfdff0b, 0xc9f80400, 0xf801080b, 0x34fd00fd, 0xc7fa09fc, 0xfcfd0808, 0xfc050003, 0xfcf900ff, 0x1003f800, 0xfc041409, 0x1cffecf3, 0xd9fe07fc, 0xffff060e, 0x3308fcff, 0xbcd80c0f, 0x30cfd07, 0xfcff01fe, 0x5050913, 0xfd0dfd0a, 0xfb04f8f8, 0x501fafc, 0x190526fe, 0xf2f4c0fb, 0x811010d, 0x30cff06, 0xfd050004, 0x4030303, 0xfa08fafc, 0x46f907fd, 0xd706ee02, 0xff0307ff, 0x504f7ff, 0x2c0b0900, 0xfdfe0202, 0x100cdf9, 0xf70105fd, 0xb00fb03, 0x26010ffd, 0xfffefdfc, 0xfc00fd, 0xfc00fd, 0xfc03fe, 0x2fecafa, 0xfd000800, 0xfcf80f04, 0x2200fe00, 0xfdff0000, 0xff03ff, 0xff01ff, 0xfc00fd, 0xfe00fd, 0xfd00fc, 0x1fd02fc, 0xe1e8e808, 0xd050002, 0x202f1f4, 0xf4fbfcfc, 0x4fd0501, 0xff070810, 0x2f080200, 0xff00ffff, 0x1000303, 0xf601bb00, 0x3070201, 0xfff904fd, 0xfc03, 0x1fe0f05, 0x4070106, 0xfcfeff, 0x1030001, 0xfbfe06fe, 0x303fc00, 0xf9f902fb, 0xfefd0603, 0xfd010807, 0x40001, 0x100fe00, 0xfd04fffe, 0x1fd0f02, 0xfefd0705, 0xf9010307, 0x5ff03, 0x1040404, 0x405010d, 0x310000c, 0x110ef607, 0x140c, 0xe7ee0201, 0xf7f511f9, 0xf7f0f8fc, 0xf9eafaef, 0xefd12ff, 0x6f402ff, 0x1fcfffb, 0xfdf4f0e0, 0xcf800fc, 0x707f9f8, 0xdfefbfb, 0xfcf8fcf0, 0x4fb0f0b, 0xfe0af805, 0xfbf808fc, 0xf5fd0b07, 0xfbff0501, 0xf9000204, 0xf6fa0b04, 0xfdf9fbf8, 0x27081a00, 0xdef4da08, 0x70ff902, 0xfafefdff, 0x3fc0403, 0x6050606, 0x400ffdfd, 0xbce40409, 0x1000406, 0xfe07fafc, 0xfffb0b03, 0xf4f711fc, 0x401fa, 0x33000001, 0xcd050c0d, 0xf0050f0c, 0x2800f3f3, 0xd1fd05f9, 0x70401fd, 0xff000303, 0xf9000c0c, 0xfbf7fefd, 0xfeff1d08, 0x1501dff4, 0xe3fe0900, 0x11813, 0x1dfde7e8, 0xd5011207, 0x1050109, 0xff0cff0a, 0x1060502, 0xfb000003, 0xf800f800, 0x4fffc01, 0x250d1b02, 0xe3f3dd10, 0x40c0510, 0xfe0bf905, 0xf9010a0b, 0x108fc01, 0x7f805, 0x40ff0800, 0xd0f9effa, 0xfb06fa, 0xf5fffd, 0x390aff00, 0xff02fefe, 0x300c7fa, 0x1040807, 0x703fe06, 0x3e328fc, 0xfdffff, 0xfefd00fd, 0xfffc01fd, 0xfd03fd, 0xfffacafa, 0xe0b0104, 0xf5fd1b09, 0x1900fe00, 0xfd000000, 0x1fe, 0xfe00fd, 0xfdfffc, 0x1fd00fd, 0xfd02ff, 0x1ffeeeb, 0xced81707, 0x5ff00ff, 0xfcf9f4fc, 0xf8000105, 0x3040302, 0x2053330, 0x405ff02, 0xfd000001, 0x1fe, 0x30bd929, 0xdb010302, 0xfd000400, 0x505fe07, 0x1070b03, 0xfdfc0702, 0xfe00fdff, 0x2000101, 0xf7fd06fd, 0x7010106, 0xfa07fd02, 0xfe0201fd, 0x1010700, 0xffff0201, 0xffff0102, 0xfe03f9fd, 0xfc08f5, 0x4fb04f8, 0xff03ff, 0x1000001, 0x1010300, 0x400fbfa, 0x4fb0500, 0xf4e308f5, 0xede1, 0x302a072f, 0xe41ce8f3, 0xfbf70201, 0xf3fb1415, 0xd140608, 0xf9fbe1da, 0x17f0fdee, 0xfeeffdfc, 0xfded1401, 0xfbf503ff, 0xfdef01f5, 0x3fc0707, 0x10401f6, 0xe06fd0b, 0xedfdfef3, 0x1fffcf0, 0x5fa06fb, 0xf9fbfff8, 0xf6f80af7, 0xfaf6f5, 0x3e0c0dff, 0xd5f6f30f, 0x60ef207, 0xfb08fa05, 0x20a08, 0x1030d0a, 0x34fefbfc, 0xb9f907fc, 0xfbf605f7, 0x3fc080a, 0xfe09faf8, 0x20600f5, 0xf04070a, 0x2900f8f8, 0xd0fb0ffe, 0xf806180f, 0x1900e5f2, 0xdbfc08ff, 0x4fc04ff, 0x303fbfb, 0x2040800, 0xfc010306, 0xedf5330b, 0x9ffd5f5, 0xee000a01, 0xfbfc280c, 0x10ffd8f0, 0xef0a05fd, 0xfdf9fdf5, 0xfff502f8, 0x5fc03fa, 0xfefdfbf8, 0x404ff0b, 0xfe05f700, 0x300b1000, 0xd9f6ea03, 0x908ff02, 0x206f704, 0xf8031009, 0xfc04fd05, 0xfb00fc04, 0x44080000, 0xc4f4f4f9, 0x4fdfff6, 0x9ff0303, 0x3802fd00, 0xfdfe0202, 0xfdfcc8fd, 0x100c080c, 0xfc01fcff, 0xf4f0f0b8, 0x3bbfeba, 0x2be12d0, 0x2f0000ff, 0x201fffd, 0xf4f2db03, 0x1409f800, 0xfd081e0b, 0xdfffdfe, 0xff000000, 0xd4d4ebbe, 0xbe00be, 0xfab803bc, 0x3be01bf, 0xbffdba, 0xfeb7f6bf, 0xeff09f1, 0x1501fbfc, 0xfcfcf800, 0xff070107, 0xfd010604, 0x30320908, 0xfc00fdfe, 0xff00ffff, 0x1000100, 0x3000229, 0xbb09f7fd, 0x400, 0xfb0805, 0x405fe, 0x3040401, 0xfcfffdff, 0x2ff01ff, 0xfc040705, 0x503fcfe, 0x40108, 0xf701fdfd, 0x70300fc, 0x3000200, 0xfbfc03fe, 0x202ff08, 0x40c0004, 0xfdfd03fc, 0x400fffc, 0x1fc0400, 0xff0501, 0xfaf7fbf7, 0x2f501f1, 0xfaf7fae9, 0xf722, 0xfdefebd3, 0xfae9fafb, 0xf5f51003, 0x1c2ce800, 0x1b0eeef6, 0xfffc041f, 0xecf40b02, 0xf6fa1310, 0x13f8f7, 0x40000fd, 0xf4f404f7, 0x8fc0c01, 0xfcfc00fb, 0x8f5f0e8, 0xf1ec03f1, 0x1f10aff, 0x1fbf9ee, 0x3f8fff8, 0xf5f711fe, 0xfefcf6fc, 0x4f0d0101, 0xcaf6f9fc, 0x4fa040c, 0xf90afe0e, 0xfd0bfcfd, 0xfdf91e0a, 0x2a00eef3, 0xd40e0209, 0x210fa05, 0xfafcfdf1, 0xd00f6fc, 0xd07f3fa, 0x2ed1e04, 0x2500edf5, 0xd6fb09f5, 0xfcf92506, 0x1401daf6, 0xe9040804, 0x3ff, 0x1fdff01, 0xa09feff, 0x205f8fa, 0xeffc410a, 0xff00cbf6, 0xfd0504ff, 0xf9fd370c, 0x400d3fb, 0xf501f9f5, 0x4fcfffe, 0xfffdfa, 0xf503f5, 0x3fa0100, 0xfdf90701, 0x3f804, 0x3b0f0100, 0xccf3f0f9, 0xbfb0501, 0x100f6ff, 0xfd040f03, 0x108030e, 0xf407010c, 0x38000000, 0xbcf80408, 0xfc00fdfe, 0xf51709, 0x2dfefeff, 0xfe000200, 0xf1f4d905, 0xaff01f8, 0x5010207, 0xf609f30c, 0x10a030f, 0xf8051b0e, 0x2201ff00, 0x1ff0202, 0xe9f7ef0b, 0x900fc04, 0xf3fa2e0a, 0x300ff02, 0xfe010001, 0xcbf8f906, 0x208fa02, 0xff07fc00, 0xc09040c, 0xff0bf907, 0xfc05000f, 0x40503ff, 0x6f006fb, 0xfff900, 0x8090008, 0xfc072829, 0x110afeff, 0xfd00fcff, 0x1, 0xff, 0x4000402, 0xe42bd408, 0x8fbff, 0xff01f8, 0x3fb05fb, 0x5fd03fc, 0xfcfc0302, 0xfefefefb, 0x2010802, 0xfdff00, 0x101fefe, 0xf9000003, 0x703f9fc, 0x4fd03fe, 0xc0ff2fe, 0x7030307, 0xfe010f10, 0xf306fd00, 0xfcf804fd, 0x1fd03fc, 0xfc04fb, 0xf8f9fcfa, 0xfff701f7, 0x1fefe02, 0xeb09, 0xdce80401, 0x1118ea08, 0x518040c, 0x5f50815, 0x600f002, 0xfd0000fc, 0x10090e, 0x71f0713, 0xf205020f, 0x10cf501, 0x613fe0d, 0x60bf2f1, 0xfff40bff, 0xfef50005, 0xfe12fd0c, 0x40f0005, 0xf0f40702, 0x1211f608, 0xfb0e02ff, 0xff000610, 0x4001ffff, 0xbbf001f8, 0x9fd02fb, 0xfdfffdfe, 0xff00ff03, 0xf6fc2b09, 0x20ffe4f5, 0xdcfd04ff, 0xfdfa0707, 0xf805f5fd, 0xefe0109, 0xfcf902, 0xfefe2a0a, 0x1b00e4f7, 0xe0010901, 0xf3f83b0e, 0x5ffd0f5, 0xf3ff0a01, 0xff0000fd, 0xf8f4fdf2, 0xaf202f6, 0x3f7f8f7, 0x50d3602, 0xfd00c1f6, 0xc05fbfc, 0xfcff3f07, 0xfd00c9f6, 0xff00fc03, 0x3020104, 0xff030006, 0x60104, 0x4050105, 0x70ffc04, 0xfc00fc04, 0x3902ff00, 0xc0f4f8fc, 0xf109f5, 0x2f6fafa, 0xc090a04, 0xfafd03fd, 0xfd060c11, 0x2700f8f8, 0xc0fc0800, 0xfc000407, 0xfb021c07, 0x2600ff01, 0xfd000200, 0xe5f4eb06, 0xa06fb00, 0xfcf7fcf1, 0xfdf80308, 0x80f000c, 0xf80c1c0d, 0x1702fd00, 0x3020101, 0xe0f8f0f9, 0xcfc0000, 0xf4013407, 0xfc00fdfe, 0x1010102, 0xc1f80403, 0x708fe0c, 0xfa07fd08, 0xc081014, 0xf70cf609, 0xfe0b010c, 0xfc040102, 0x703f9f6, 0xb01f800, 0x8000101, 0x1b201b13, 0xfdfffcfd, 0xfdfdff00, 0xe7e7eed5, 0x2b000303, 0x10001fd, 0x41dca13, 0xf205ff09, 0xf5fe0805, 0xff0100fc, 0x8ff03ff, 0x104fcfd, 0xfdfc0604, 0x6080202, 0xfcfe0100, 0xff0001, 0xf9010607, 0xfafafcfd, 0xfef702f6, 0xbf50306, 0xfcfb06fe, 0x3030c00, 0xf906f700, 0xf8fcf9f1, 0xffef0ffb, 0x6010603, 0xf1fc0000, 0x102ff00, 0x504f3f9, 0xf4fc, 0xfc1c031b, 0xc16f11d, 0xd0e814f8, 0x4f7f7e6, 0xeeefffd, 0xf9f90f08, 0xf0f81706, 0x1000700, 0x614f305, 0xfbff0913, 0xdf807, 0xf9fa0e16, 0x118ecf9, 0x3fef9f7, 0xf903ff, 0xfcf704fb, 0x914fc09, 0xfbf202fe, 0xff02f3f3, 0x1d11040f, 0x3302f9fc, 0xbdfe1310, 0xf8fffdfa, 0xf7f407fe, 0x504fc01, 0xf1fc3b0c, 0x1400dbf7, 0xe60100fd, 0xffff07ff, 0xfd04f302, 0x9fd0501, 0xfefffa00, 0xfafc3a0c, 0xf00dbf7, 0xf50c0508, 0xeb004106, 0xff00c7f7, 0xfd0108ff, 0x0, 0xfc04f900, 0xfff500f3, 0xbfb0407, 0xa0c27fd, 0xfcfcc500, 0x1206010c, 0xfc0c31fe, 0xff00c0f7, 0xc040810, 0xfc09f7ff, 0xffff0201, 0x405080c, 0xf80000ff, 0xb03fc03, 0xf6fd0b0c, 0x2f02fcff, 0xb5f4130f, 0x615f3ff, 0x8050712, 0xfd03fcf5, 0x1fc04fd, 0xffff1407, 0x2101eaf3, 0xda0d070c, 0xfd0d060f, 0xf90d1d0e, 0x17ffffff, 0xfe000301, 0xd9f5f701, 0xfdf4faf3, 0xf9f001f5, 0xa0200ff, 0xd04fbff, 0xf8ff290c, 0xc01fd01, 0xfe02ff, 0xd5f4fc00, 0x8fc00fc, 0x1092aff, 0xfcfffe00, 0xfffbf9, 0xcc040101, 0x600fdff, 0xfc01fc00, 0xc0008f8, 0xfdfefb03, 0x308050c, 0x10fc0b, 0xf8fc0003, 0xfbf301fc, 0xd011717, 0x1f1bfdfd, 0xfcfcffff, 0xfe00eff0, 0xc7d0fee0, 0x44f907fd, 0x3ff01ff, 0x4fff025, 0xd104fb00, 0xf4ff04fb, 0x3fffefd, 0x3f808fd, 0x1fd0506, 0xfa03fdfa, 0x6fa05fd, 0x10101, 0xff000404, 0xf803fdfa, 0x303fc03, 0x50003, 0x5fd0802, 0x6fbfb, 0xfff7fee9, 0x1202000b, 0xf90cfc0f, 0xf00004f5, 0x7f606f6, 0xf3f801f9, 0x7ff0202, 0x603f404, 0xf810, 0xf0040809, 0xfdfa040d, 0xf835df00, 0x1fdf6fc, 0x6f402f7, 0x20006f7, 0xa11fcf6, 0xf507f5, 0x8f7f4f8, 0xfd08fc, 0xfdf9ff00, 0x40bfcf9, 0xfdf50710, 0xf0fdf1f5, 0xafffdf9, 0x5020806, 0x805030c, 0x718f60c, 0xf300000d, 0x1f1220f, 0x21fdf0f4, 0xd40b0c04, 0xfc08fb06, 0xfd0cfd02, 0x401ff04, 0xf407430f, 0x601cff5, 0xf3020103, 0x400fd, 0x404fd0e, 0x2070103, 0xf9fe070b, 0xecfd480b, 0x501c7ed, 0xf5ed03eb, 0x8083b02, 0xfd00bdf6, 0xb040b07, 0xfe05ff04, 0x30bfc0e, 0x110fc0c, 0xf9fa04fa, 0x17072101, 0xebf0d702, 0xdfdfcf8, 0xc0828ff, 0xf8f8c7ff, 0x6f900f1, 0xf04000d, 0xfb090910, 0xb17fb0a, 0x113fc0f, 0xfafeff01, 0xff0a100f, 0x1dfdf4f5, 0xc4040dfe, 0x6fe010c, 0x40401, 0xf9fd0203, 0x507fcff, 0xf8f8280c, 0x14ffdff4, 0xe5ff0c04, 0x7ff00, 0xf9002104, 0x1300ff00, 0xfe000300, 0xd7fef8ff, 0xfdfff5fa, 0xff00fffe, 0x9fd00fd, 0xcfc0405, 0xf9062f0c, 0xfffffe00, 0x2020101, 0xc9f50e07, 0x201ff00, 0x9082200, 0xfbff0102, 0x2eef5, 0xde07fe04, 0xfbf900fc, 0x404ff07, 0x50007ff, 0x103fd05, 0x608fd00, 0xfcfc0000, 0x40c000c, 0xf506ff04, 0x130a2c1f, 0xfdfdfdfd, 0xfefffefe, 0xf8f8c3cc, 0x409030e, 0x10da2e01, 0x20000ff, 0x2fd0613, 0xcd0ff105, 0xf607fd00, 0xf9f606fe, 0x2fd0aff, 0x1ff01fb, 0xff000407, 0x1fcf8, 0x5fd02fe, 0x10000fc, 0x408f4ff, 0x703fd04, 0xfd01fbfc, 0x6fd02f7, 0xf70804, 0xf9fe0303, 0xfdee1402, 0xeff8fffb, 0xf500fcf8, 0x1f2ffeb, 0xfff700f6, 0x1f004f2, 0x5f1fefb, 0xfbf3, 0x1114f400, 0xf7fa01f7, 0xfffef00f, 0xf907091a, 0xfb0febf8, 0x1a10fb05, 0xf0afd0b, 0xf0fbfbef, 0x5ec04fc, 0xfffbfef1, 0xfff30bff, 0xfef902ff, 0xfdff0b03, 0x13f618, 0xecfa0704, 0x4030803, 0xf0ebf8e0, 0x7e011fb, 0xc14ff13, 0xfa0c200a, 0x1700e4f4, 0xe707100b, 0x110f50a, 0x714fb12, 0xf4020407, 0xf5084106, 0xffffc8f8, 0xfc010101, 0x506fb01, 0x2fffe00, 0x806f6fb, 0x1030804, 0xfc143b07, 0xfdffc7ff, 0xfd07f8fc, 0x180c2cfd, 0xf5f5cb03, 0x9010a00, 0x2f3f6, 0x9fc0101, 0xfdfd0304, 0xf9040101, 0x1f091901, 0xdff5e301, 0xc00f4f8, 0x1b072100, 0xecf4d704, 0x9070007, 0x8000d0d, 0xfa0cfafd, 0xafc0203, 0xf8fa0301, 0x108ff08, 0xf8011506, 0x1700e8f4, 0xd5050a02, 0xfefa0a03, 0xfd0000fc, 0xfd000604, 0xfdfc0000, 0xf800340c, 0x800d5f6, 0xeeff09fc, 0xfc01fe, 0xf7fc2b06, 0xd00fdfe, 0x2020100, 0xd902f802, 0xfe03f503, 0xfc000102, 0x700fcfc, 0x1f108f5, 0x2fe3201, 0xff01fd00, 0x2000100, 0xc4fb0ffc, 0xd07f4fc, 0x140718fd, 0xff01fefe, 0x301e4f7, 0xeb04fc02, 0xf5fc0400, 0xf0bfe0a, 0xff040401, 0x3, 0x401f5f9, 0x8050308, 0xff03f5f8, 0xfbfe1110, 0x2d2a00fe, 0xfcfdfefe, 0xfefefefe, 0xc1c7fc00, 0x703fdfd, 0xf9e63ef6, 0xafe00fe, 0x3ff04fd, 0xf727c8fe, 0x109fb07, 0xf6040200, 0x1ff04f9, 0x4fc0500, 0xff000905, 0xfaff0205, 0x3030001, 0x303, 0xfcfb0108, 0xfcfdfcfc, 0xfffbff, 0xf9f203f3, 0x5f809f9, 0x2020504, 0xfe0509fa, 0xa15ef05, 0x10ff13, 0xfe10fe0f, 0xf606ff05, 0xff030100, 0xfbfffc, 0x311, 0xe1e1f8e5, 0x1301dcdc, 0x11ee1311, 0xf30b1012, 0xe4fbf505, 0x8f30c04, 0xfcf107fb, 0x20df305, 0xf8f8fcf0, 0x4f503fa, 0x2fdf3e5, 0x10f70c01, 0xfd0108fe, 0xb090013, 0xe80ff7ff, 0x50004fc, 0xfc080414, 0xf5020cfd, 0xbfc0d0a, 0xf6062107, 0x1000dbf7, 0xe2f210f2, 0xfbec05fc, 0x2f702fe, 0xf6000602, 0xf7043f02, 0xfd00c3fb, 0xfdfc04ff, 0x1fb0404, 0xf7f903fe, 0xfdf30c09, 0x30b0104, 0x40c2dfe, 0xfbfcc8fd, 0xf0fed04, 0x19052700, 0xeffad100, 0x4fb08f9, 0xfdf6fbfe, 0x1f60b00, 0x3fcfc, 0x3f8fa, 0x300b0cfe, 0xd5f4edfe, 0xafcf800, 0x20051d01, 0xe6fbde02, 0x7000303, 0x4ff06f8, 0xfaf8faf8, 0x3f104f3, 0x3fefef9, 0xfef60900, 0xf4fc2108, 0xf00ddf5, 0xe30305fe, 0x6060501, 0xf9fdfefb, 0x1ff00f9, 0x703fd00, 0xfc043909, 0x102c7f4, 0x208fefd, 0xfffc03fe, 0xf6fd2afc, 0x1100fd00, 0x2000100, 0xef16e907, 0xf801f501, 0xfb000302, 0x6010207, 0xfc0200fa, 0xa023202, 0xfcfffe00, 0x200f6f5, 0xd2030e02, 0x4f9f6fb, 0x21081000, 0xff00fe00, 0x300d8f4, 0xf902f7fd, 0xf9010c09, 0x701ff02, 0x1040505, 0xf7fc01fd, 0xfcf50303, 0x2fdfef8, 0xf9f8fc, 0xf102a29, 0x3fffffe, 0xfcfefefe, 0x202c6ca, 0xeff80804, 0x401090d, 0xfb0f09da, 0x3202fe00, 0x2ff02fd, 0x309db1c, 0xe702fd04, 0xf9070409, 0xf90102ff, 0x4ff0903, 0xff0301fb, 0xfcfd0702, 0xfdfc0400, 0x1fe, 0xfcfefbf8, 0x501fe03, 0xfd00fc01, 0xf9010301, 0xfcf803f2, 0x8f806f9, 0x3fe0d02, 0x7ff0010, 0xf808f902, 0xfafe0101, 0xf702fe01, 0xeff1fded, 0xefb02fe, 0xefdc, 0xfcf7fffe, 0x5f02034, 0xe80b05fd, 0xff090902, 0xc2af82d, 0xf61bf908, 0xf0fcf7ec, 0x11fbfc04, 0xf3fff6f9, 0x7fc0700, 0xfefcf700, 0x4f40bf3, 0x5fb08fb, 0xcfcfffb, 0xf205ecfa, 0xfaef14ff, 0x205feff, 0xf60006fa, 0xf9e804df, 0xcf53b0f, 0x100cdf2, 0xefff0cfb, 0xfcfc04fb, 0x801fbfa, 0x105f9f8, 0xf8f943fd, 0x101ca08, 0xf4ff01fc, 0xfb04fb, 0xf8fc0801, 0xfd0102f7, 0x2f603f8, 0x231715ff, 0xe8ecd9fd, 0x1200ee01, 0x1e062100, 0xf001ccfc, 0x3fb0d00, 0x3f4fc, 0xfffa01f0, 0x5f50a03, 0xfd00f901, 0x3b0c0000, 0xccf7fc06, 0x400f901, 0x1bfc20ff, 0xec05d5fc, 0xb000401, 0xfffcfef4, 0xfff900ff, 0xfffb01f8, 0x8fd00ff, 0x1020700, 0xf0fc300b, 0x400d2f5, 0xee000f0a, 0xfe02fffc, 0x306f901, 0x101ff00, 0xf900fc, 0x7073200, 0xfffec0f7, 0x7fc0907, 0xfd05ff01, 0xf8031cf5, 0x1c00fd00, 0xfe0300, 0x415f01c, 0xef13f513, 0xfb130414, 0x210fe0c, 0x1110011, 0xc131dfe, 0xfe00fe00, 0x200e9f3, 0xddfe1202, 0x402f501, 0x29090700, 0xfdfe0202, 0x100cbf3, 0x1fbfc00, 0xff0605ff, 0x800fdfe, 0x300fbf6, 0xfcfb05ff, 0x3060104, 0xfcfefcfc, 0x501030c, 0x2c290504, 0xfefffdfd, 0xfdfe0202, 0xd1d1e8f3, 0x80c0004, 0x8080c0b, 0xfb0bf0f2, 0x2eee1202, 0xfefe03ff, 0x400fc21, 0xc802fb00, 0xfb02fdfb, 0xfdff0502, 0x4020c05, 0xf7fd03ff, 0xfe0104fe, 0x102ff, 0xfdfc00fb, 0xfffe0104, 0x100ff01, 0xfd01f6fb, 0xfe000704, 0xfc040304, 0x50101fc, 0x2fb0cfa, 0x2f5fff4, 0xfcf8fffe, 0xf6fa00f9, 0xfafcf2f0, 0x7080813, 0xfc01fdfc, 0xf40c, 0xf404f0f5, 0xcfcecc8, 0x13f31d0b, 0xf400150c, 0x1616f10f, 0xf710ed04, 0xfc10f50e, 0xfdf7f8, 0xc11ff1a, 0x114f805, 0xf5fcfaff, 0xf9f41700, 0x1fc0bff, 0x5f80902, 0xf505f10a, 0x2120301, 0xd0ce0ee, 0xfef60afa, 0xfeff0a05, 0x4fd3f01, 0x101c5f9, 0xfb050801, 0xa0ff1fc, 0xf8ec1001, 0xfcfcfbfe, 0xf6fc42fb, 0x5ffe419, 0xd8fd0400, 0x3030908, 0xfb0bf9fc, 0x1000604, 0xfdff110d, 0x2e18fd00, 0xcce4ff0a, 0x2faf804, 0x16fc2500, 0xfd0dbf00, 0x8050800, 0xfc08, 0xf902feff, 0x60007fd, 0x4040f1a, 0x21000000, 0xc4f803ff, 0x2fdfe02, 0xcf32d00, 0xfc10c702, 0x5fc0800, 0x10003, 0xfbff0100, 0xfcfd0d09, 0x2030205, 0xa0efa01, 0xfa0b2904, 0x101c2f1, 0x10408fd, 0xff0505, 0xfe00f900, 0x7060209, 0xff08f800, 0xd062bff, 0xfbfbbef9, 0x2f401ec, 0x1f00eff, 0xf90008ec, 0x3000ff02, 0xfdff03ff, 0x2fd0310, 0x4250030, 0x1360032, 0xff2f0132, 0xff30fd2d, 0xff20fcff, 0xfdfe0202, 0x101dcf4, 0xe3fa0ef6, 0xf01f400, 0x330afd00, 0xfd000200, 0x100c4f9, 0x901ff04, 0xfc01fdf9, 0xf00ff02, 0x1000409, 0xfc090004, 0x4050004, 0xfd05060f, 0xfa042324, 0xd05fefe, 0xfdfdfdfd, 0x202dada, 0xdae3110c, 0x408040c, 0x70b0100, 0xfd02f709, 0xdb3700, 0xfe0002ff, 0x1fc0505, 0xdf1cddfe, 0x205fe06, 0xfe07080a, 0xfd0303fa, 0x1040001, 0x407f8fb, 0xfb05fe, 0x2030104, 0xfc010505, 0x105f7fd, 0xfffff4fd, 0x3020a05, 0x60ffe0a, 0x70c000b, 0xf80108fd, 0xfb01fd, 0x304fc01, 0xfc07f7fe, 0x206fb0f, 0x141cf307, 0xf803fe04, 0xf500, 0xfc08041c, 0xfc0c0323, 0xfd0dddcd, 0x23fc07ee, 0x8e00efd, 0xf7fdf101, 0x80de3fb, 0xb060e1d, 0xff100819, 0xf40ce5f9, 0xf6fa0505, 0x111df0f6, 0xfcf10cf2, 0xaf709f7, 0x507fc12, 0xe6f61104, 0xfcf3ef02, 0x80c0204, 0xf3f9efde, 0x38122d00, 0xfface6, 0x14ff03fa, 0x8f80209, 0xfb0c00fc, 0xf9f9fefc, 0xfa0024e2, 0x2300001c, 0xd81ce5fd, 0x7010c04, 0xf8010109, 0xfe06fdfd, 0x1818242b, 0x1fee7e8, 0xd0ec1805, 0xf9fcf6fa, 0x8ec3900, 0x3e72b, 0xdafd00f5, 0x3f803ff, 0xf9fffcfd, 0xc031c18, 0x182c0522, 0xff00fcfc, 0xbff70d01, 0x403fc01, 0xf8ed3dfd, 0x405ea28, 0xd9fc04f8, 0x5fd0603, 0xfa020304, 0x8100508, 0xff050407, 0xfffcfdff, 0xff042601, 0xffffbcf9, 0x10080000, 0x404f8f7, 0x700f7fe, 0x3fa07ff, 0x303f2fd, 0x1b0b2101, 0xebf1cf02, 0x1010505, 0xfbff08f9, 0xf5ed, 0x38f50a00, 0xfd0001fe, 0x3ff03ff, 0xfef904fd, 0x1fdfffc, 0x1fefffc, 0xfffc00ff, 0xfcfcffff, 0xfe0000fe, 0x300d1f5, 0xf30503fa, 0x12fdfe07, 0x2bfffdff, 0xfe000200, 0xfdfccd05, 0xb070008, 0xfc08fc07, 0x4fc01fe, 0x2ff02fd, 0x607fa01, 0x300fcfc, 0x5040200, 0x141a160d, 0xfefefdfd, 0xfffffe00, 0xebe9cbda, 0xa0a03fc, 0xf80c00, 0x801fdfd, 0xffff0008, 0xf0f828e9, 0x15000200, 0x10003fe, 0x1fbdff, 0x502070b, 0xfd0aff01, 0xff030101, 0xfdfd00fd, 0x6fffd04, 0xfc000803, 0x10101, 0x308ff02, 0xfefffa02, 0xfe01ff0c, 0x40d0407, 0xfdfe0707, 0x101feff, 0xf5fc04f8, 0x80000ff, 0x8040008, 0xfc080011, 0x312041b, 0xfa01fa08, 0xf909fd08, 0x3e4, 0x1c04e0e0, 0xcf000ed, 0xf5e50e16, 0x5f800f1, 0x1c05f9f0, 0xeae3fdef, 0xcf30818, 0xfc09130e, 0xfe0df3f8, 0xe3e7f5f7, 0xfcfd1810, 0xfffe010f, 0xfc0f0306, 0xfaf60ffc, 0x180ff003, 0xf916f2f7, 0xf6f1f6f8, 0xf9e915fc, 0xfa03f206, 0x2cfa3300, 0xf3f3cc13, 0x100ffd09, 0xfdfe0703, 0xfc04f7fb, 0xfdffff00, 0xfd03fbda, 0x3ef50b00, 0x32bf53b, 0xf125fb14, 0x1cfc17, 0x8211438, 0x828fd01, 0xefefc4cc, 0x100c08fc, 0x70af408, 0xeeee3ef3, 0xd00011a, 0xf737eb22, 0xf9180015, 0x824143c, 0xc3c0020, 0xfd05f7f7, 0x7fff0f3, 0xce020b00, 0x3ff0609, 0xf70813de, 0x25ff0116, 0xfc39ef24, 0xfc1b0318, 0x11f0420, 0x180114, 0xff14efff, 0xfefef7f8, 0x80124ff, 0xf7f7c904, 0xc000303, 0xfaf9ff00, 0x4fdff05, 0xf9fb03f7, 0x2f6fafe, 0x280b15ff, 0xdff3d5f9, 0x90102fe, 0x4070504, 0x408f70a, 0xfed037fd, 0x1010101, 0xfffd02fc, 0x1ff00fb, 0x1fb00fc, 0xfffa03fe, 0xfdfc00fc, 0xfffffefe, 0xffff0302, 0x100cbfa, 0xf6fd0701, 0x1f00f01, 0x2b01fc00, 0xfe000301, 0xf0f4e007, 0x905fb00, 0xff030108, 0xfc00fbfa, 0x1f908ff, 0x801f8ff, 0xfdf90603, 0x1fff8f5, 0x3516ffff, 0xfcfdffff, 0xfefef3f3, 0xc5cd0f11, 0x70ef601, 0x20302f9, 0xbfc0403, 0xfd010203, 0xf609fbdc, 0x3b02fefe, 0xfd04fe, 0x301bd01, 0x60202fd, 0x707ff07, 0x50dfc08, 0xf803fcff, 0xf90400, 0x3070504, 0x40306, 0x104f9fe, 0x202fa02, 0xfd010204, 0xb0bf6fd, 0xffff0800, 0x302fd01, 0xcfc04, 0xfc00fc, 0x8fc03ff, 0x205ff04, 0x102fefc, 0x507fd0a, 0x11ee02, 0xf5f9, 0xf7d41d11, 0xff040509, 0x216eaf2, 0xffcede9, 0x4d113eb, 0x304f5fc, 0x3f309f4, 0xfcf4fdde, 0xe7c707db, 0xf5ed0800, 0xd11faf3, 0xfdf10bfb, 0x2010b09, 0x1423ef03, 0xf4dff9e8, 0x8f70c11, 0x823012e, 0xfa2fe903, 0x1c250538, 0x7132000, 0xe1eee406, 0x3f9fdf9, 0x70300fc, 0xfcfcf9fe, 0xfefffefe, 0x405f600, 0x2c433ec, 0x15fe020b, 0x11b0020, 0x200024, 0x1cff07, 0xfcfbdddb, 0xd4c00703, 0x12050300, 0xfff8060a, 0xec0803cd, 0x31f10fff, 0x30b0121, 0x280028, 0x20000c, 0xfcfce1dd, 0xdaba14d7, 0x3101e1f2, 0xde0203fa, 0x7fe06fe, 0xfa01f3e1, 0x1fdb25ff, 0x3060118, 0x1c0019, 0x119ff14, 0x140316, 0xfe15db01, 0xf7faf1f4, 0x18042000, 0xe8f1d800, 0x5f902f8, 0xfaf8fbf4, 0xbfb02fe, 0xff040102, 0xfffffd02, 0x1ff91d01, 0xd3f5e505, 0xa06060a, 0x70d0911, 0xff0cf50a, 0xebf707c7, 0x2df30dff, 0xfe, 0x2fffefd, 0x2fe00fe, 0xfffefa, 0x2fffefd, 0xfe0101, 0xfe000300, 0xf2f1d2f8, 0x90b0408, 0xfc0308fc, 0x2dfefe00, 0xfe000300, 0xdcececf8, 0x8f703ff, 0x101fcfc, 0xfcfcfcfd, 0x1fd0aff, 0x4fb0508, 0xbfc01, 0xfcfcf7fb, 0x2ef40aff, 0xfd00fdfe, 0xfbfbc8d0, 0xfc070b03, 0xfdf9fcff, 0x1fe0a06, 0x8030100, 0xfcff0401, 0xf904f6ff, 0x1de11f02, 0x201ff, 0xece8cffa, 0xafe0a06, 0x403f6fa, 0xfcf10e03, 0xfd08000c, 0xf9050203, 0x1010400, 0xfdfdfff9, 0xfdf50703, 0x10007, 0xff09fe05, 0xf8f2fbf7, 0x4fc0c00, 0x3000104, 0xfc000004, 0xf9fd0300, 0x3fb02fa, 0x6fe0100, 0xfffdfe, 0x3fc00ff, 0xfffe0010, 0xfb03, 0xf1bf4f2, 0xe010b07, 0xf5fae6f6, 0x15fc1423, 0xf00ffcf8, 0xf5fdfd, 0x4fefaef, 0xf5e8ffea, 0x11140411, 0xed09fbfc, 0xf8e71300, 0x1316121d, 0xf8130b13, 0x403ee02, 0xf705131f, 0x118f703, 0x1611fa0a, 0xf1010d25, 0xfe07fcfe, 0x90018f8, 0xd0e7fbfe, 0xfdf80904, 0x2ff0403, 0xf6fdff03, 0xfc01fcff, 0x3fe0109, 0xff06f0c3, 0xab81ad0, 0xddc08e4, 0x3e7fae1, 0xf7d8eec7, 0xe6b1fdd1, 0x5020b06, 0x1307fd01, 0x204fefc, 0xff0ff501, 0xf3c317cb, 0x15dd0ce8, 0x4ecfbe7, 0xf2d9e8c1, 0xe7ac08d3, 0x801fce9, 0x2ce4ecef, 0xf0010402, 0x3fe0800, 0xf9fff905, 0xf4da03b8, 0x1bd00edd, 0xae7fee5, 0x2e601e8, 0xe801e6, 0xf6deeaed, 0x7fdf400, 0x8f023f3, 0xd5e0f4fc, 0x130a0109, 0xf807f804, 0x5fe0b07, 0xfe06fe03, 0x70bf503, 0xfbdf25e7, 0xe1f5f606, 0x6020b07, 0x404fbf6, 0xf7fcfe, 0xfe11f4fe, 0xf5c607c0, 0x16d609df, 0x8e503ea, 0xfee603e9, 0xfde602ea, 0xfee602ea, 0xfee802e9, 0xfde8f1d6, 0xe8cc0c06, 0x704fbfb, 0xfdfcfcf0, 0x21e410f6, 0xfff7e7db, 0xdedd0eff, 0x2f906fc, 0x1fc0101, 0xff040008, 0x40bff00, 0x2fe04fd, 0x300fc00, 0x4f805, 0xf7ce29ed, 0xfffeef0, 0xd7cc0408, 0x30ff6fa, 0x401ff04, 0x40700fd, 0xfdf2f7e8, 0xfde907ec, 0x3f60202, 0xf8dd24e2, 0x14f6eadf, 0xd2c50b01, 0x140b0102, 0xf4f202fe, 0x10300f5, 0xb030003, 0xfd07fd02, 0x304ffff, 0xfe00f3f4, 0x6fdfff5, 0x3f801f9, 0x3fdfffe, 0x6f904, 0xfbfb0af9, 0xfcf20afb, 0xfffefdfb, 0xfe00fffc, 0x80100ff, 0xfcf508fc, 0xfcf7f6, 0x4f7fef5, 0xf8ee0bf9, 0x18, 0xecf50304, 0xf604ef, 0x1d170536, 0xe7081004, 0x71bf817, 0xf910fc0f, 0xf7020109, 0xfc10f90a, 0x6ff01fc, 0x1c2b0030, 0xfb33f919, 0x309e2d9, 0xf7d80bd8, 0xffd315fa, 0xf6f90ff5, 0x4f80405, 0x5f4f3ed, 0xf5f107eb, 0x1eefaec, 0xfaddfbc0, 0xfded0bfd, 0xc0cfbfe, 0x2fe02fc, 0xf1f703fb, 0x100fd01, 0x4020304, 0x5ff14, 0xf2fcf7d9, 0x3cf01c8, 0xf8bd04c7, 0x3d305ea, 0x408040f, 0xf9030e06, 0x9fc0706, 0xfafe0303, 0x307f90b, 0xf810fcf5, 0xf9d9fcc9, 0xfcc100c6, 0x3d704f3, 0xb170211, 0x20bf504, 0xd804f0, 0x8080408, 0x4090001, 0x8fb0a, 0xf90ff804, 0xf8e101d4, 0xfec801cb, 0x1ca03cc, 0x3cf01cf, 0x4dd0bfe, 0x5fcf901, 0xf6eff9c5, 0xfded0801, 0xffd0804, 0xf1fdfe03, 0x60403fc, 0xfeffff, 0x1f9fd01, 0xf8fefad3, 0x8fa080c, 0x107f4f0, 0x10fc0001, 0xfcfd0102, 0xff03fc0b, 0xf309f5f7, 0xe1fbd3, 0x5d001ce, 0xfbcb01c9, 0xffcb01ca, 0x2cefdc9, 0x1cc06d0, 0xfdd005e4, 0xe0a0806, 0xfaf90604, 0x50cf707, 0xf6dcf6c2, 0xc305e1, 0x5080600, 0x20000fa, 0x700fffe, 0xf9f80c04, 0xffff0202, 0x2020402, 0xfefdff00, 0x303f601, 0xf4fef0c5, 0x2b802cc, 0x11060709, 0x40aef03, 0xb0a010c, 0xf800f8f8, 0xf4ef03fb, 0xfefc02f7, 0xc00fdfb, 0xf8fbf8cf, 0xfcb703d0, 0x100e090c, 0x4fc03fe, 0xf8020101, 0xfdfd0401, 0x7fd0502, 0xff04f3fa, 0xfef503f9, 0xc07ef03, 0x1fe0706, 0x508ff06, 0xfe01f8fa, 0xfa0203, 0xf6fe03f7, 0x4fffff4, 0xd020005, 0x30af904, 0x400ffff, 0xfe0103fc, 0xfc0106, 0xff01ff02, 0xd17000c, 0x1918, 0xfb27e509, 0x9120715, 0xf8f01f0a, 0xf114f1f5, 0x1604fa06, 0xfa07f601, 0xfb050004, 0xfd05fb07, 0xf9fa0a03, 0x250ce5f1, 0x3f90909, 0xcbd10cfb, 0xc10f5fa, 0xfbf62001, 0x1823ec00, 0x3fff6f1, 0xfeea04fb, 0x90f0810, 0x312f810, 0xea000207, 0x40ef9fc, 0x4f405fe, 0x2fe02fe, 0xf8050002, 0x607fa04, 0xfefe0500, 0x4040409, 0xfc13ed09, 0x60c020d, 0xf80d0009, 0xb11fc08, 0xfbfffef9, 0x3031106, 0x30004fd, 0x3060104, 0x1ff07, 0xfe0dff10, 0xfe15fe17, 0xfb16fd13, 0xff0f0914, 0x9fc03, 0xfdfe020b, 0x20d030c, 0x70bfc03, 0xfffe01ff, 0x100050a, 0xfb0cf80c, 0xfd110212, 0xfd110111, 0x2120110, 0x411f909, 0x3080502, 0xfbf80302, 0xfd09f909, 0xfa0601ff, 0x5f502ef, 0xf9f704fd, 0x8ff01fd, 0xfd00fe, 0xfbf804ff, 0x40bfd0e, 0x60200, 0x100fc08, 0xfcf405f9, 0x603fdff, 0x307, 0xf206fc0d, 0xfb08fd0a, 0xa0ffd0b, 0xfb0b000a, 0x10c0712, 0xfe0e0314, 0x316fe0e, 0x718fb0e, 0x5050805, 0xfb060505, 0xfb04, 0x513fb18, 0xfe16fc0d, 0x60e0109, 0xf7fe0503, 0x400f4f5, 0xfcf80cf8, 0x902ffff, 0xfd05fe, 0x303ff03, 0xfdfdf8ff, 0xfc07ff16, 0xfa0e0e1a, 0x10a0508, 0xff03ec00, 0xfcf108f8, 0xfdfdf7fc, 0xfd050305, 0x7fd02, 0xf6fef7, 0x100070f, 0x130212, 0x1012fe07, 0xfd00fcf9, 0xfcfd00fc, 0x8070407, 0xfb, 0x3fffd09, 0xb040c, 0xfcfcf805, 0xfc000c05, 0x404fd02, 0xff03000b, 0xbeff8, 0xfdff03ff, 0x1fc0b08, 0x9040004, 0x1030b, 0xf900fdfe, 0xffff00fc, 0x1fd03ff, 0x1, 0x1004080c, 0x1f0, 0xfaef1620, 0xf80ffd05, 0x20f01f1, 0x808fc13, 0x401fc03, 0xf801e9f4, 0xfef70a01, 0xa0ef90c, 0x71aff0f, 0xf6e00f0a, 0x40bfe00, 0xf62bf918, 0xedf90509, 0x3110bfc, 0xefd312f9, 0xfaf0f9f3, 0x1106f8fa, 0x6f709f8, 0x1f60200, 0xf1070005, 0x8090010, 0xf40004ff, 0x30001ff, 0x7f8ff, 0x3fcfe00, 0xfafc06fd, 0x3fc0800, 0xfc00f407, 0x506060a, 0xfe10fb0b, 0xfcfcfbfb, 0xfdfd0706, 0x90c04ff, 0xfffb01f8, 0x1f60aff, 0x1000102, 0xfbff0000, 0x2080c, 0xf809f501, 0x3050703, 0xfe01faff, 0xeef00af8, 0x5fb0800, 0x801fb00, 0x203fcfe, 0xa07fafc, 0x203fd08, 0xfc070005, 0x40c0813, 0xf5060005, 0xff000007, 0xfc0000fb, 0xffff02fe, 0x1ff07, 0xf805ff03, 0xfdfb00f9, 0x400, 0xf800f7, 0x3fafdf7, 0xf8f40fff, 0x803fd03, 0x30001, 0xf9f902ff, 0xfe01fffb, 0x7fc0201, 0xff00fdfa, 0xfa02060c, 0xf607fd07, 0xfffcfdfc, 0x8090009, 0x80001, 0xb0efe09, 0xfc020509, 0xfbfdff01, 0xfdf90bfc, 0x5060203, 0xfafd0406, 0xfcfd0b0d, 0xf0ffff02, 0xa06fe03, 0xf1fd0901, 0xfdfe07, 0xfe090603, 0x2fc0a07, 0xfc0300fe, 0x500fdfe, 0x1f6ff, 0xfd000506, 0xff0b00fd, 0x703fdfb, 0xfcf000, 0xf7fbfef1, 0x1f5fffd, 0x5050608, 0xf800ff02, 0x20105, 0x10140411, 0xfa0b010a, 0x600f7f9, 0xfcfdfd, 0x3040408, 0x505ff00, 0xfdfdfffc, 0x3fc0100, 0x404f8f8, 0x1fdfe03, 0x2090300, 0x1fdfdfd, 0xfffdfefb, 0x9040116, 0xf60ffe0a, 0x90402, 0x1009fb04, 0x4fcfd, 0xff03fa00, 0xff000303, 0x2fdfc, 0x501ff00, 0xcfc0bff, 0x1203, 0x60f0e07, 0xf908fc07, 0x409fc04, 0x4000408, 0xf7fbf1f0, 0x5fdf206, 0xf2fa0bfb, 0xfcedf9ed, 0xfee40df2, 0x5010bfd, 0xc05dce3, 0x4f1f7ef, 0x1113f705, 0xd0ff8fc, 0x916ff03, 0xfd060f1c, 0xf4fff8ff, 0xf91505, 0xfc00fffd, 0xcf400, 0x8000000, 0x814f505, 0x204fe01, 0x203f4ff, 0xfefa03ff, 0x409ff02, 0x5040400, 0x1050314, 0xf40300fd, 0x302fd04, 0xfd05f3fd, 0xfdfd0e04, 0x2fdfef7, 0xfaf206f7, 0x1f705f2, 0x8f906fe, 0x104fbff, 0x100fdf5, 0x300fb06, 0x1040401, 0xff02f2fa, 0xf60205fd, 0x1f906f7, 0x9f80906, 0x206fd07, 0x704fd07, 0x409f905, 0xf6ff0100, 0x40004fc, 0xf900ffff, 0xffff0100, 0xff03fe01, 0x305fd00, 0xfdfd0604, 0xfc08f5fe, 0xff00ffff, 0x504fdfd, 0xfffc00fc, 0xfff801fc, 0x30702fa, 0x4f6fef7, 0xfaf106f7, 0xfaf8fff5, 0x4fb00fc, 0xfff405f7, 0x4fcf9f8, 0x2000802, 0xfd09f501, 0x204fe05, 0x3000808, 0xf8000000, 0x4f903fe, 0xfdff04fe, 0xfd00fbfc, 0xfffe05f8, 0xbfe02fe, 0xff030403, 0xfc030800, 0xeffffefe, 0xbfffcfd, 0xf5010901, 0xfbfcfffd, 0x8070405, 0x80bf8f9, 0xfdfcf9, 0xf40b02, 0xf1f300fd, 0xfffffef8, 0x2fb01fc, 0xfdf2fef3, 0x1f4f5f9, 0xfafcfaf8, 0x6fd01ff, 0xfcf601f1, 0x2fbfefa, 0x3fd0c08, 0x1109070c, 0xfd0ff705, 0x807f707, 0xfa01ff03, 0xfc, 0x4fb00fc, 0xfaf902fc, 0x4fdfdf9, 0xf5fefb, 0x1fb01fe, 0x6020201, 0x707fc06, 0x7040d, 0xf7fbfdf7, 0xfdfe0202, 0xc0efd07, 0xf700fc, 0xfc0000, 0xff000107, 0xfc040304, 0x105fd05, 0xfefe0100, 0xf40df6, 0xfe02, 0x703fff4, 0x500fc00, 0xfffb0605, 0xff00f4f0, 0xf5ee0603, 0xf0ee02fe, 0xf70304fc, 0xc0cfb0e, 0x9190713, 0xf1ff01f5, 0xef7122d, 0xfa23fd29, 0xf50dfb11, 0xfd01e3ec, 0xffe2edd0, 0x15e822fb, 0xf6fd0308, 0x40cfbf2, 0x8fef9f8, 0xfff7ff02, 0x5fffaf9, 0xfeeffef8, 0xfff501f8, 0xfff50001, 0x3060609, 0xff04fc01, 0x40001fd, 0x3ff00fc, 0xff070108, 0xfd020207, 0xf600ff0c, 0x312fd01, 0x403fd02, 0x20afafe, 0xfffcfff6, 0x4f20df9, 0x4fcfcfd, 0x400fcff, 0xfffb0505, 0xfd010603, 0xfd01edfc, 0x40afe03, 0xfe00fff9, 0x9f900f0, 0x12000104, 0x2fff9fb, 0x2f90606, 0xf909fc04, 0xfffb, 0x2040207, 0xf9010000, 0x10003, 0x303fd03, 0x60101, 0xfe03f907, 0xf9010002, 0xfefb0402, 0xfd000000, 0x90a030c, 0x10afc04, 0x202f9fd, 0xfcfffff8, 0x402fcff, 0xfdf803fb, 0x1fd01f9, 0x6fb0103, 0xfdfe03f9, 0xfcfc03, 0x304fd03, 0x10103fc, 0x40509, 0xfc01fefc, 0x20100fd, 0x606f601, 0xff010400, 0xc010403, 0xfc00fcf8, 0x80400fc, 0xfc09030e, 0x104f800, 0xfc0701ff, 0xff030408, 0xd0dfe07, 0xfefd0207, 0xfe05fa03, 0x20504fe, 0xfb08f800, 0x1ff02, 0x101fdfd, 0xfefef9f9, 0x901f703, 0xfd06fe0a, 0x1050105, 0xfc05fbff, 0x1fe0202, 0xff0d00, 0x10ff05fd, 0xfefe0007, 0x201ff09, 0xf807fc04, 0x4fc00, 0x3ff0908, 0xfc0afc04, 0xfdfdfefe, 0xf9f70801, 0x4040104, 0x20001ff, 0x4fc0000, 0x404fcfc, 0xfc010105, 0xfa020606, 0x802f6fb, 0xfcf702f9, 0x2fb0500, 0xfdfe0300, 0x105fbfd, 0xfcfcfb, 0x805ff03, 0xf6f903ef, 0xfd05, 0xf6f405fa, 0xfff4fcf4, 0xf8edf9e0, 0xffe007f3, 0x200fff9, 0x9f7fe, 0x7fd00, 0x3f70602, 0x140d0309, 0x172ffe2c, 0xea08d1c7, 0x14e105e9, 0xebdffce0, 0xcef131f, 0xe6060720, 0xf1aeae2, 0x1a06f6f9, 0x2f7fefa, 0x7f90000, 0xf7f805fe, 0x5fefe02, 0xf5f903fe, 0xf8f70a00, 0xff00ffff, 0xfdf901f4, 0x2f70a05, 0x304fcff, 0x3ff0403, 0xfd01fcfc, 0x302fefe, 0x109fb05, 0xfbfdfdfd, 0xb04fd04, 0xfafc0204, 0x409fb05, 0xfcfd01f1, 0xefb0302, 0xf9f70500, 0xfeff05ff, 0xfdfff9f2, 0x3f80712, 0x412fd11, 0x13f70b, 0xf9fb0702, 0x6f60f04, 0x2f801, 0x100fef8, 0x1000509, 0xf4fd0301, 0x5040204, 0xf904f9fd, 0xfd0603, 0x505fc04, 0x408fd04, 0xfb01fc04, 0xf4ff00ff, 0xfdfe0600, 0xfd000000, 0xc030404, 0xfcff0306, 0xfd01ff07, 0xf5000001, 0x805fd06, 0xff080005, 0x1050206, 0x2020203, 0xfa000603, 0xfd000004, 0xfcfd0404, 0x5080207, 0xfa010a06, 0xf8020509, 0xfb020002, 0x501fc07, 0xfc040000, 0x5f903f8, 0xfcf8fffb, 0xafd0704, 0xfc04f5f6, 0x3f8f8f8, 0x1fd0501, 0xfe000c08, 0x702f9fd, 0x1000301, 0xfcff0106, 0xff030403, 0x30bf508, 0xfc040106, 0xfb00fd00, 0xfe000108, 0x8070212, 0xed02ff03, 0x608030a, 0xf806fc07, 0xf8fe0602, 0xfcfe0f00, 0x110103ff, 0xfcfd0401, 0xfffefdfc, 0xff030108, 0x8f501, 0x30100f8, 0x400fc00, 0xfd00f8fa, 0x708fcfc, 0x7ff01ff, 0x805fd01, 0x704fc00, 0x8040008, 0xfd09f7ff, 0xfb000903, 0xfffaf5f9, 0xfcf900f7, 0x1f604f5, 0x2fa05fc, 0xfcf7fffb, 0x1fc0101, 0x6fffcfc, 0xfc02faf9, 0x8f2, 0x400f8f3, 0xf4f9f1, 0x2fbfafc, 0x30000f9, 0xf7f9f1, 0xfeef05fd, 0x100dfd0d, 0xf8020a06, 0x1f307f7, 0x6e6f3db, 0xfdeef714, 0xf4f407f6, 0x1520ec10, 0x40dfe, 0xa22011c, 0xe7f4040e, 0x9fd0c13, 0xf90afa06, 0x908fc04, 0xf401fcf8, 0x9fc0301, 0x410f401, 0xf80104fb, 0xfffb02fe, 0xff000403, 0xff0006fc, 0x700f8fc, 0xf909fe, 0xff000004, 0x102f6fa, 0x5fe0508, 0xfa07fd07, 0xfffbfdfb, 0x4050104, 0xfefef9fc, 0xfcfc0904, 0xb010402, 0xf90202ff, 0x506ff00, 0xeef10b03, 0x4040805, 0x4050810, 0xfd0def05, 0xf8040805, 0xff00f0, 0xfcec03f7, 0x1f700f9, 0xf808fb, 0xf8ff00fc, 0x3fa05fd, 0xf8fc0003, 0x3fdfa, 0x7fc0303, 0xfdfcfbfa, 0xfdfcfcfc, 0xf8000303, 0x107fdfe, 0xff000808, 0x4000400, 0x4f8f9, 0xfc01fe, 0xfe07fa01, 0xc05030b, 0xcf804, 0xfcff01fe, 0xb070005, 0xfc07fcfd, 0xfdfd00fd, 0x6070508, 0xff020101, 0x40bfcfd, 0x50101, 0xfc02fcfe, 0x3fcfcfc, 0xfffffdfc, 0x4fbfdf5, 0xfbf400f5, 0x3ee15fc, 0xffff040e, 0xfa05f704, 0x3060102, 0x4080c08, 0xf8f9ffff, 0xfe02fd, 0xfeff0402, 0xf8fb06fd, 0x2fc0108, 0xcff0a, 0xeefdfefe, 0x2020607, 0x504fe00, 0xf70afa05, 0x5040304, 0xf602fb01, 0xf80101fc, 0xfefe0cfb, 0xef802f7, 0xfb0d04, 0xfc010408, 0xfd06f7fc, 0x1fdf7ff, 0x3ff0807, 0xff02f6fc, 0xfffe0006, 0x1000307, 0x2020304, 0x4000003, 0x7030c13, 0xb000b, 0xf1ff070f, 0xf509f8f8, 0x1fafb00, 0xf5f903fc, 0xb06f4f6, 0x11050000, 0xf9fdfcfa, 0x3fcfffa, 0x5f90401, 0xf9fe0e12, 0xf7ec, 0x4ec05f9, 0x3fcff02, 0xfafa0606, 0xfd00fbfb, 0xfef9fbfb, 0xfcf901f5, 0xbf0fdf0, 0xa02faf2, 0x6f7faea, 0xfade04ef, 0x1f3fbf7, 0xe6e914f6, 0x1afb0817, 0xf910eff2, 0x6eef0dd, 0xf050405, 0xf8f4fce4, 0x14fffb00, 0xf6ed03f4, 0x101fe03, 0x600fbf8, 0xf9ed00f9, 0x2030605, 0xa10fd0b, 0xf9050607, 0xf90100fb, 0x7fbf6f9, 0xfef701ef, 0x4f405f9, 0x5fdfb02, 0x4010a06, 0xf602f6fb, 0x501fd01, 0x30000ff, 0xfbfcfafd, 0x7080b0a, 0x40300ff, 0xf5fb04fd, 0x5fd00fe, 0xf606fdf8, 0x7fb09fc, 0x5fd08fd, 0xfafafc07, 0xf9080404, 0x4f9fd, 0xfbfc00f9, 0x9010001, 0xfeff02f9, 0x304fc00, 0xfdfa00f5, 0xfbf803fb, 0x1fcfffe, 0xfdf404f5, 0x4fcfcfd, 0xfdfdfeff, 0xfd040001, 0xfcfc00ff, 0xc0c0307, 0x1040303, 0xfd00fc04, 0xff030103, 0xfc01fc03, 0x4fb04fc, 0x4000109, 0xfe0b000a, 0xfdfcfcf8, 0xfcf80804, 0x30afe08, 0xfe000500, 0x102ff00, 0xfc0101, 0xff00fffe, 0xfdffff02, 0xfdfcfbfb, 0x2fe0607, 0xfd00f4f7, 0x7030205, 0xfe0006f1, 0xcfefbf5, 0xfcf70000, 0x5020f10, 0xff0bfdfc, 0xf9fd0200, 0x1010403, 0x50001, 0xf700fef8, 0x4fa02fb, 0x1fc01fe, 0xfb0bf805, 0x1040301, 0x3ff0607, 0xff0ff409, 0xff03fafa, 0xfe02f6fd, 0xf7fc00fb, 0x1fe07f9, 0x10fb0c05, 0x500f8, 0xc080004, 0xfc03fb07, 0xfc02f904, 0x5060301, 0xfcfef7ff, 0xfefe0402, 0x203fefe, 0x2fe0500, 0xfc00fc, 0x8fdfeef, 0x2f101f2, 0x304fcf9, 0xfc00fc04, 0x407f804, 0xf403ffff, 0x9fdf801, 0x9f9fff8, 0xf3f2fdf3, 0xcfc0502, 0x4010603, 0xf90304f9, 0xf3ff, 0x500fcf7, 0x8fcfffc, 0x507fdfe, 0xfbfc0304, 0xfd03fb03, 0xfe05070b, 0xb0bfd0b, 0x4050813, 0xf9060f1b, 0xf415f809, 0x810ddf2, 0xf3ff03ee, 0x1df114fd, 0xdce009fa, 0x6fa121c, 0xf704f9f9, 0x203050c, 0xf8f9f6, 0xf3f3ffef, 0x9f700f9, 0x1f403fc, 0x30306, 0x1050302, 0xe06030c, 0xff12fa06, 0xd0b18, 0xf90aee02, 0xfd01fdfd, 0x6ff02fc, 0x3fa0807, 0x306faf6, 0x202f501, 0x1fd0202, 0x1000000, 0xfd02fe06, 0x8070501, 0x805f9fe, 0xf80102ff, 0xe08fb03, 0xf704f900, 0x1fa08f9, 0x6fa05f7, 0x401fc01, 0xfd050405, 0xf9fefb00, 0x207050c, 0xfcff00ff, 0x10403, 0xf3f7, 0x1fbfffa, 0x201fbf9, 0xfdf502f8, 0x6010805, 0xfbfcf9f9, 0xfaf601f9, 0x4000101, 0xfe03fd00, 0x8fc01fa, 0x7000300, 0x104f901, 0xff01fdfd, 0xfcfdfbfc, 0x4fcfcf4, 0x8f803fa, 0xfefa03fd, 0xfdfdff00, 0x40703, 0x505fc03, 0xfd02fcf9, 0x2fa0500, 0xffff01ff, 0x1, 0xf0f400f5, 0x1f90200, 0x1ff0801, 0x408f004, 0xfdfffa, 0x501fcf7, 0x3ee05f8, 0x3fffdfc, 0x180fffff, 0xfbfbfdfb, 0xfafc02fc, 0x2fd03fc, 0xfdf902fb, 0xf6fa02fe, 0x903fdfe, 0x2fffdfb, 0x404030f, 0xfe0c060f, 0xfd09ff02, 0x609f308, 0xf4fd0003, 0xfc01fb06, 0xf504fc00, 0xb0a0205, 0xaff09fc, 0xfc0804, 0x5fd02ff, 0xfe01fb01, 0xfc01f5fd, 0x3fb04fc, 0xfbfbfd01, 0x306fdff, 0x805fc03, 0x4050404, 0x408fc04, 0x703f9fe, 0xfcf808ff, 0xfcf800fc, 0xf5f504fd, 0xf7f004fc, 0xfb03fe02, 0xfff80101, 0xe060108, 0xe8fd0909, 0xa070103, 0xf8f71304, 0x5100c18, 0x5, 0x1010207, 0x5040409, 0xf9fdfefe, 0xf6f9f8ee, 0x4f502fc, 0x5031410, 0xf9fe0f10, 0xd190617, 0x1ef908, 0xf90def04, 0x400f013, 0xf313fd0d, 0x1404f9e9, 0x714fc07, 0x10110807, 0xfc0cff12, 0xf606eced, 0xffec07fa, 0x7fe06, 0x7040105, 0x307fbff, 0xfcfb06fe, 0x7040001, 0xf020504, 0x207010e, 0x10fff03, 0x10bf00d, 0xf0000003, 0xfbf800f6, 0x8fb01f4, 0x5f6f3ef, 0x7f40908, 0xf5fc03fd, 0x1fd0300, 0xf8fb00fd, 0x9fe0b04, 0xf8f400fb, 0x70a050d, 0xfffefd00, 0xfc05fc08, 0xfd0402fe, 0xfef603f4, 0xcfc0808, 0xfc070003, 0x50ffa0e, 0xfa06fbfc, 0x3030104, 0x40303, 0xf9fcfd06, 0x3080009, 0xf4fb0000, 0x70af901, 0xfcf701f0, 0xfbf008ff, 0xfb000201, 0xfefb01fb, 0x1fe0405, 0x2fffdfb, 0x1f50cfe, 0x603fd07, 0xf901fbff, 0xff02040b, 0x108f905, 0xfefbfef6, 0x3fb03fb, 0xfdfb0400, 0xfdf6, 0xbfc0404, 0x7fc07, 0xfd02fffc, 0xfdf9f5, 0x7fcf8f4, 0xfc000505, 0xff03fcfd, 0xfc00f4, 0x1f10304, 0xff03fe02, 0xfffc0707, 0xfafe02fb, 0x6fefcfd, 0x1afffefe, 0xff02f8fd, 0xfcff00fd, 0x3fefdf8, 0xfdf806fc, 0x1070308, 0x504ff06, 0x206fb04, 0xffff01fd, 0xff01fa, 0x401fafc, 0x2f8060b, 0xf40bfd08, 0xcfd0e, 0xf20b0110, 0x80d000b, 0xfcfd09fd, 0x2ff0d04, 0x1000402, 0xff03f800, 0xf4f8ff02, 0xf9f800f4, 0x4fd0303, 0xfefe0203, 0x2fd0203, 0x6050a0b, 0x108f804, 0xfdfaff00, 0xfc000800, 0xfc000303, 0xfa08fafe, 0xf5fcfcf4, 0xfdf607ff, 0xfffe, 0xdfd01fd, 0xfe13f903, 0xf9f209fa, 0xff010bf9, 0x8fceddd, 0xf404, 0xff02fafa, 0x3f800f4, 0xf8f3f7ec, 0x2f80707, 0xb0efe0a, 0x10150a0b, 0xee001102, 0xf9ee11f9, 0xf9f2f3ec, 0xf3080c, 0xfc04ff13, 0xfb1bfd1b, 0x2090b1b, 0xfc100014, 0xf7fb05f8, 0x1fdfffd, 0xf0f7e8f3, 0x8fc150a, 0xeff900fb, 0xc000302, 0xfcfbfefe, 0xff0103fe, 0x5fc0501, 0x4f60bfc, 0x7010202, 0xff000001, 0xf8f8f5fd, 0xf704f9fd, 0x709fc05, 0xf9f607fc, 0x1007f408, 0xf0f114fc, 0xfc03f7f7, 0xf604f7, 0x908fc04, 0xfcf700ec, 0x9fd0a07, 0xfdfd00f8, 0xf9fffb, 0x605ff08, 0xfb060105, 0xfd040203, 0xfcf309f4, 0x4fc0703, 0x503fd06, 0xfe0afc0b, 0xfd05ff03, 0xfafd03fd, 0x4fb02, 0x807f900, 0xf0fcfcf8, 0xf5e60bf8, 0xc08f4fb, 0x30304ff, 0x206fbff, 0x102ff00, 0x504ffff, 0xfffcfdfc, 0xfffa0dfb, 0xfdf202f7, 0xfaf802ff, 0x2020806, 0x60bf90b, 0xf704fc02, 0x10000fd, 0x400, 0x303f9ff, 0x9fd0700, 0x4, 0x70008, 0xf800fb02, 0xfaf5fffc, 0x40400ff, 0xc0cf808, 0xf8000000, 0x302fdfc, 0xfd0302, 0x90cfc01, 0xfd04fafc, 0x6fc0101, 0x2e910fb, 0x400f7ff, 0xfe010203, 0xfafafcf9, 0xb070304, 0xfafd00fa, 0x7fc0805, 0xf4f7f8f4, 0x1f60e03, 0x205ff03, 0xfffc01, 0xfffe0901, 0xdf909, 0xfe07f2fc, 0xa0710, 0x30b010c, 0xfb0b0507, 0x5fff7, 0x9ff03fe, 0xfefdeef3, 0xfdfcfffc, 0xfe01fbfc, 0xf808fd, 0x1000604, 0x1030102, 0xe0af9f9, 0x800fc04, 0xfb020508, 0xf40003fb, 0x605fbfd, 0x1417e0fd, 0xf4fc0909, 0xf9050200, 0x505ff05, 0x5fd0602, 0x5090010, 0xff16f502, 0x104f7f0, 0xfce408ff, 0xfeff, 0x2020a12, 0x110f808, 0x515ff1d, 0xef0afd00, 0xf5130a, 0x1812f4fc, 0xf1fffcea, 0xdfe0ffc, 0x70af910, 0xebfb0d00, 0xff030509, 0x715021a, 0xf20af5f4, 0xb030104, 0x512e3f0, 0xf0df07e7, 0xe050b28, 0xe808fff2, 0xfe01fbfc, 0x7f702f6, 0x3fdfffe, 0xfefd02fc, 0x2f902f6, 0x8fa01f0, 0xbf405f7, 0x3fbfaf5, 0x2fffd07, 0xf808f807, 0xfcfc0303, 0xfe080b0c, 0xb07f508, 0xf9110401, 0x207f505, 0xfc01fdfa, 0xafbfdfc, 0xffff, 0x5fb1102, 0xfb00fdfd, 0xfffc0502, 0x3ff0404, 0xff080108, 0xff0af901, 0xfc0101f9, 0xf506f4, 0x6f507ff, 0xfcfd0102, 0xfc010002, 0xff07fc00, 0xc0cf809, 0xf8f90808, 0xf109ebf8, 0xf4f707f3, 0x11f80105, 0xff01fffc, 0x5fffc00, 0x4030307, 0xfcfefefd, 0x2000104, 0xfc0105f9, 0x3ff00fd, 0x80b040d, 0x40ffc03, 0xfdff03, 0xfe0afb09, 0xf8000505, 0x70c0109, 0xff05f804, 0x4ff0800, 0xfbfb0500, 0xfcfcf9f5, 0x603040c, 0xfd0ff404, 0x404, 0x800fb03, 0xfd08fd05, 0xff010105, 0xff040506, 0x300f9fd, 0xfefefd01, 0x3fe0603, 0x102f3, 0x6f50301, 0xff02fdfd, 0xfd000509, 0xfbf903f9, 0xfbfa05ff, 0x8000800, 0xfc08f909, 0x60efefe, 0x2fefdfc, 0x3fffe01, 0xff0104fc, 0x501fb03, 0x106fe12, 0xfd0ff7ff, 0xf7f303f5, 0x2fc01f8, 0x1f90802, 0xfff805fa, 0xf6f2fc00, 0xff02f9fc, 0x503f7ff, 0x201fff8, 0xc03fdfa, 0x6ff0806, 0xfdf50400, 0x800f8fc, 0x1020300, 0xf905f6f8, 0x5f70804, 0xfcec0713, 0xf514fb06, 0x310f907, 0xfe000203, 0x1ff03fc, 0x5fcfdf9, 0x3fd0008, 0x80ff50d, 0xef000b03, 0xf300, 0x50304fd, 0xf8f4fdf9, 0x3f71f17, 0xfa22ff24, 0x4280419, 0x506e0f2, 0x2030209, 0xb07fff7, 0xdfdfd01, 0xfb11fd01, 0x3051111, 0x812f606, 0xf2060011, 0xfe04eef1, 0xe6d2fceb, 0xfef9fff1, 0x14f700ec, 0x1014f409, 0x813fb13, 0xf6020606, 0xfafd0402, 0xff031011, 0xfb0af2fa, 0x4f603f8, 0x9f60bfc, 0x4fdfcff, 0xf8f501f9, 0xfefffd04, 0xfc04fbfc, 0x1ff04f8, 0x1ee00f9, 0x606fdff, 0xfdfa070c, 0xf707fd07, 0xfd0101, 0x708fc05, 0x9f8, 0x7040007, 0x80003, 0x303fefd, 0x200faf9, 0xfff9fcfc, 0x8080007, 0xfc0300fd, 0xf704f4, 0xfff702f8, 0x3ff0807, 0xff07f803, 0x2f90405, 0xf70403ff, 0x10fe80c, 0x181425, 0xfc10fb0a, 0xf6010305, 0xfcfc0000, 0x4000401, 0xf9fe0000, 0x301fdfd, 0xff0004ff, 0xb07f900, 0xc040808, 0xff03fa01, 0xff00ff00, 0xff01fa00, 0xfc040403, 0x804ff02, 0xfe01fa03, 0x10007ff, 0xfe02f8f5, 0xfaf30903, 0x8050001, 0xff03f504, 0x40404, 0xfc0405, 0xfd05020a, 0xfc07fa00, 0x304fffe, 0xf9f403fe, 0xfdfd0000, 0xfdfa06fa, 0x5fffdfa, 0x9fd0600, 0x1fc00, 0x3060203, 0xfb030808, 0xf9060304, 0x3ff02f9, 0xfdff03, 0xfcf904ff, 0x300fe01, 0x2000204, 0xfe03fdfc, 0x8ff0004, 0xff02fe02, 0xfb00ebf4, 0x5020302, 0xfefefcf9, 0x7ff04fb, 0xfbf7fdef, 0xf900fd, 0xfef7fc, 0xfef50301, 0xfcfb110d, 0x304f8ff, 0xfdf603f1, 0xf407f7, 0x5f4fcf8, 0x8fffbf7, 0xfaf80b0d, 0x70ffd04, 0xf1f9fff1, 0x804fb04, 0xfafb0507, 0xfb040204, 0x205ff01, 0xfcf800fb, 0x4fcf8f4, 0x8f4fffe, 0x514e8f1, 0xb0c, 0xfb02e6e4, 0xdf902fe, 0x500f5d6, 0x1bf7fcf4, 0x14040404, 0xdddc0e0a, 0xfa020303, 0xfff70a02, 0xf7ecfceb, 0x4f4fcf3, 0x100000ef, 0xfbe21d09, 0xe8fff7f6, 0x2faf3ff, 0xfc15fc15, 0xc230428, 0xfb0ffd0c, 0x703fe0d, 0x70cff10, 0xf913f906, 0xfb070306, 0x20906ff, 0xfd01f403, 0xff01fd, 0xe021108, 0x4f800, 0xf800fcfb, 0xfffc0100, 0x105f701, 0xf8f804f8, 0x8ff0403, 0x1fefdfe, 0x20300fc, 0x80df808, 0xf901fafa, 0xd000004, 0x4fffa, 0xfdf00bfb, 0x1fcfbf7, 0x5f900fb, 0xfdf6fffb, 0xfcf8f8, 0xcfcfffb, 0x100fdfd, 0x2fffdf8, 0x8010504, 0xfbfc08fc, 0x805ecf9, 0x4fb04fb, 0xfc00fdfa, 0x700f911, 0xf20fc08, 0x10df002, 0xf2fe01fc, 0x505, 0xff00fcf8, 0xff0706, 0xfd000407, 0xfc04fcfc, 0x1f20a03, 0xf705f4, 0xf50803, 0xf8fc00fd, 0xfefc00, 0xfc0003ff, 0xf9f0fff0, 0x1f305fe, 0x603faf6, 0xa02f5ff, 0x3080605, 0x3000000, 0xf8f9f9fd, 0x30003ff, 0xfffe0903, 0xfd03ff00, 0xfafefe02, 0xfdfc00fd, 0xf8fc04fd, 0x505fe03, 0xfd030805, 0x101fbff, 0x8fe0800, 0xfcfc0101, 0xfefc01fb, 0x808fcfc, 0xfbfe0904, 0x1fffe, 0x907f4fc, 0xf8f808fc, 0x5fe0303, 0xfcfd01fc, 0x2000508, 0xfdfdfffc, 0xfd00ff, 0xf3f7f602, 0xfbf805fa, 0x602fd03, 0x2fefff9, 0xfffdfcfc, 0xfcf805fd, 0xfbf80001, 0x104ff00, 0x80c0b06, 0x30611, 0xee02fdfc, 0xf8f411fe, 0x10090310, 0xf1f9fbf9, 0x1312fd04, 0xf0ed05f5, 0x70bf400, 0x4fc0001, 0x7fdff, 0x4ff01, 0xfcfb0400, 0xf8fc0703, 0xfdfcf9fd, 0x7fc0300, 0xfef9f607, 0x5fa, 0xfaf90619, 0xf2fe120e, 0xf3fc1017, 0x3ff0407, 0xf9ecf4dc, 0x40304f9, 0xf0eeaf5, 0x7fd08fb, 0xf1f5f7f0, 0x8f4170f, 0x100fdfd, 0xff01ffe3, 0xfef90002, 0xefeff8f4, 0x1c14ff17, 0xfd08f4f8, 0x1411fd11, 0xafe0a, 0xf9fc01fe, 0xfe03010b, 0xf00000fd, 0x3fe01f9, 0xfdf9f8fd, 0xfffc03fe, 0xcfc0ef9, 0x2fbfafd, 0xfd02fe04, 0xfd020001, 0xfefef900, 0xfc040404, 0xfc07ff, 0xfdfb0402, 0x505fc01, 0x3fc070b, 0xfa0cfa0c, 0xf6f507fc, 0xfc00fd, 0xfcfcfdee, 0x6f302fa, 0xf04f4f8, 0x3fefdfc, 0x400fc04, 0xf804fd, 0xfc0403, 0xfcfdfcfc, 0x1004fcfb, 0x7070504, 0x3fff205, 0xff000703, 0xfe05ff07, 0xe4e4f7e2, 0x1df0fbef, 0x1eff7f6, 0xfd01fcfc, 0x9050707, 0xf7fffd00, 0x30301fd, 0x4040404, 0xfd05fb04, 0xff02fef6, 0x7fd05fd, 0xfefbfdf0, 0xfdf50b00, 0xfd01, 0xfb000502, 0xf700f5f6, 0x3f80f02, 0x5010108, 0xfbf90408, 0xfd02fffb, 0xb03f6f9, 0xf3f4fffa, 0x6fd00fa, 0xb060401, 0x105fe04, 0x40ef606, 0x9f6ff, 0xf9000400, 0x4fffcfd, 0xfcfc09fd, 0x602fd04, 0x70301fc, 0xfdfd0703, 0xf7fc01fc, 0x4f803ff, 0x5090000, 0xf8f80801, 0x5fdf3fc, 0x400fc, 0x3fa0a01, 0xfe030406, 0x105f9f9, 0x2fe0504, 0xfc00f0f0, 0xfffcfe04, 0xfe07f5f7, 0xcfd0101, 0x201fe00, 0x607f601, 0xff040302, 0xfd04ff03, 0x20205, 0xf0c0001, 0x10500, 0xf709f905, 0x8150b0f, 0x8070004, 0xfc0ff408, 0xf4e901ed, 0xf6f3fdeb, 0xbef0601, 0xb08fb03, 0x104f7fe, 0xfdfb00fc, 0x400, 0xf90100fa, 0xf2effdf3, 0xf8e405e6, 0x2e16fa1a, 0x4fb, 0xff00f4ee, 0x120ef1ed, 0xe080800, 0xfbf8fdf1, 0xe9e11300, 0xf8f407f7, 0xedd513fe, 0x1f8fbeb, 0xa040714, 0xf9050af8, 0x6fdfbfb, 0x400fcfd, 0xfff0ef, 0x404030f, 0xfaed0bf9, 0x804f707, 0x5f8fdf8, 0xb03f7fc, 0x2050206, 0xf5fdfcf8, 0xfb03fd00, 0xfdfa06ff, 0xf4f60907, 0xfb03fefe, 0xcfe0afa, 0x6fefe02, 0x106fd05, 0x109f6ff, 0xfcfdfbff, 0xf9fc05fd, 0x2ff02fa, 0x401fefb, 0x5fbfffe, 0xa050301, 0x7ff0c, 0xf60cfe03, 0xfd00fcfc, 0xfcfc0b0a, 0x105fd00, 0xbfcf4fc, 0x1fa0704, 0x404f800, 0xfdfd06ff, 0x605f7f8, 0xfc0c0c, 0xfcf803ff, 0x6fe0700, 0xf8f5ff02, 0x302fe, 0xa0af0fb, 0xec030612, 0xf040c15, 0xf80cf005, 0xfb03050c, 0x407ffff, 0xf901fc00, 0x1fe0300, 0x804ffff, 0x103ff07, 0xfd05f7fe, 0x6fd02fa, 0xfaf6fef7, 0x1fb0cfc, 0x400ff02, 0xf6fdfaf2, 0xfef9ff03, 0x8f9, 0xc00f5f4, 0x700fffb, 0x1ff0b0b, 0xfafaeff3, 0x1, 0xfcf707fe, 0x15080c10, 0xfc0bf502, 0xf8f6fefe, 0x1fffd06, 0xff0cf800, 0xfcf80804, 0xff070200, 0x2fc0100, 0x1fa06ff, 0x507fcfc, 0x1060308, 0x1050406, 0x809fb04, 0xf8040905, 0xfffff804, 0x80cf804, 0xfcfd08fb, 0xfd04fd, 0xfdf9ffff, 0x7040201, 0xeff4f0f4, 0xb000507, 0xf0f9fbff, 0x6f906fe, 0x2fe0202, 0x2fef6fe, 0x2010402, 0xfc01ff01, 0x506060a, 0x6010708, 0xfc04fcfb, 0x307f907, 0xfffe00f3, 0xfde80bf3, 0xfdf4fcfc, 0x80108, 0xff11fb0f, 0x2060202, 0x1f8fcf9, 0x4fcfc01, 0xfd01ff00, 0x3ff, 0xfd03ff02, 0xfa0ae6f3, 0x2fd02fa, 0xdd918f7, 0x30f, 0x111f512, 0xfcfcfb06, 0xf8fcec, 0x5f60700, 0xf40b0800, 0xfc04fbf8, 0xff0a05fc, 0x5000005, 0xfb04f8, 0xfffe02f6, 0xafafdfc, 0x7fffd00, 0xecfc, 0xc040708, 0xfe0cfbfc, 0xf40502, 0xfffc0302, 0x1f8fdfe, 0x3fff8f5, 0xfdfdfafb, 0xf9f9fcf8, 0xfdf806f8, 0xfe0206ff, 0xff030207, 0xfb07f8, 0x2f40a00, 0x605020a, 0xf6fff801, 0xfb00fc01, 0xfb03fefc, 0xfa02fa, 0xfcf2fef2, 0xefb02fe, 0x3f7fcf0, 0x4f40d02, 0x30ffb0c, 0xfa09000d, 0xff100409, 0x8030e, 0xfe01f2ff, 0x6040300, 0x3ff0108, 0xf1fc0b01, 0x3fe0108, 0x70ffcff, 0xfd00fdfa, 0x7fb09fd, 0xf7fc00fd, 0xfdfffa, 0x2f2ecee, 0xff01fbf6, 0x15fc04f4, 0xfcf501, 0xfb0100fc, 0x4fc01fe, 0xfb00f8fc, 0x803ffff, 0x2f903fd, 0xf9f507fd, 0xf8f80405, 0x504f6f8, 0x1ff0001, 0xc00, 0x1fdfbf9, 0xfcff0005, 0xff06fd04, 0xfc0004fc, 0xffffc06, 0x1000001, 0x505fbf5, 0xf4ef0000, 0xc0cfd09, 0xff0cfc01, 0x17030c03, 0xfd04f706, 0xf1ff0405, 0x408fb06, 0x108fc0c, 0xf808fcfc, 0x1fe02fe, 0x6020203, 0xfe000a04, 0x201f8fd, 0x7030404, 0x30302, 0x1fb0101, 0xf8010901, 0xfe00f7ff, 0x2f90203, 0xfd040400, 0xfbfb0a01, 0xfe02f5f8, 0x5f6fff3, 0xf3f7f1f8, 0x5f204f1, 0xfbfc0102, 0xfffb03f8, 0x1f704f9, 0x1f8ff01, 0x4030605, 0xfa030004, 0xfffe0800, 0x9030b07, 0xfe09fb08, 0xf8fd0408, 0x90009, 0x713eef6, 0xf90603, 0xf9fc04ff, 0x404fb04, 0xfdff00fd, 0x1fdfafb, 0x5fc0000, 0x407f901, 0xfbfc01fa, 0xf6f3fdf1, 0xf8ef0912, 0xa1afe16, 0xc15fffc, 0x1ee, 0x8f50303, 0xff060914, 0xf408fc08, 0xf8fb1004, 0x414f0fc, 0xe8e803f0, 0x9fa0d02, 0x100d0310, 0x717fa0d, 0xfb090007, 0xfcf901fd, 0xa000205, 0xf2f7f500, 0xbff06fe, 0xfbfb0404, 0x105fefe, 0x100fdfa, 0x2fbfdfb, 0x4fcfd01, 0xfe02f901, 0xfd05020b, 0xfd0bf9fe, 0xfbfb0c01, 0x406fbff, 0x50401fe, 0x3ff04f9, 0x4f701f6, 0x202f4fe, 0xfafd0203, 0xf7ff0203, 0xb0ef905, 0x9030e, 0xfefefefa, 0xfdf407ff, 0x8030c02, 0x504f801, 0x40b000b, 0xf804ffff, 0x2010200, 0xf9fbf801, 0xfbfff7, 0x2f607fc, 0xf70208ff, 0x2fe0b08, 0x102fb01, 0xf8fcfffe, 0x2f90afa, 0xf9fc01fd, 0xfffc0906, 0x60af816, 0xf60dfb0d, 0xfdf50bfc, 0xf8f4f9f8, 0xfffc00fc, 0x3fbfef8, 0x2fffd04, 0xfc00fd, 0x4fffffb, 0xfcfefdf4, 0x804ffff, 0x1fbfc01, 0x5050005, 0x70c0000, 0x706000b, 0xe9f8fcf4, 0x1005fb03, 0xfa0100fd, 0x8f60b05, 0xf8fcfbf7, 0x5f7fdf9, 0xeff40bff, 0xafdffff, 0x303fd04, 0xdfa07f5, 0x1f9ff01, 0xf4040707, 0xfd00fc01, 0xf8f803ff, 0x209fe0b, 0xf802fdfd, 0xd04fe00, 0xfe0007fd, 0x4ff0007, 0xfefe02fc, 0x703fdfd, 0x501fefe, 0xf8fe06fb, 0xfdf7fd, 0x4ff00fd, 0x303fefd, 0xff010b02, 0xf1f50404, 0xf7f608ff, 0xfa06ef04, 0x30201ff, 0x40003, 0xfc000502, 0x2030100, 0x3020407, 0x1040907, 0xf6030003, 0xfd0105fe, 0x7fc0cfd, 0xffff03, 0xf9040505, 0x308f800, 0xfdf6fa02, 0x103f3f0, 0x1f804f8, 0x1f504fe, 0xfeff0100, 0xfcfbfdfe, 0xf90700, 0x3ff0107, 0xebf7f5eb, 0xf4e91501, 0x1a230620, 0x71d0c2b, 0xe3020104, 0x903, 0x4ff03ff, 0x505fffb, 0xfe05fb04, 0xeffb09f4, 0xf9e903fc, 0xf408f8fd, 0x1f51e06, 0xc0200ff, 0xfef603ff, 0x307f900, 0x307fd03, 0xfcf5fdf0, 0xf7f50c0c, 0x10500, 0xfd020200, 0x3020105, 0xff030107, 0xf9fefbfc, 0x3fb01ff, 0xfcfdf7fb, 0xfdfb0902, 0xfe03f802, 0xff060600, 0x400070c, 0xfa010606, 0xfd0000fc, 0x80000ff, 0x401ebf8, 0x1fffdfa, 0xfd000b09, 0x402fe07, 0x2090a10, 0x91b001d, 0xf111ff09, 0xc0d090a, 0xf4f90708, 0xf8fcf4f0, 0x1f903fd, 0x500fbf9, 0xf9f9ff00, 0x304, 0xfafcfff4, 0x5020600, 0x907100c, 0xbf808, 0xf303fe02, 0x30303fc, 0xf9fc04ff, 0x909f7f7, 0x4f5100d, 0xd24e710, 0xf80becec, 0xf40803, 0x40004, 0xfcfd00ff, 0xfd0000, 0x101ff00, 0xfc01fe, 0xff01fd01, 0x3fc01fe, 0x2ff0104, 0x3020103, 0xc080008, 0xf8f90b04, 0xf914f911, 0x203fe06, 0xfe0a010b, 0xf0f30cf4, 0x5010309, 0xf9fdfbfb, 0xebf704f0, 0x12f80700, 0xfcf900fc, 0x5f40af7, 0x4fa02fd, 0xf2fbf6ea, 0xed04f5, 0xa070105, 0x30409, 0xf405f800, 0x9fcfffd, 0xfdfcfff4, 0xcfcfcf8, 0xfa04fc, 0x8fdfdfd, 0x2fa02fe, 0xf7fd00f7, 0xc03fc08, 0xfc00ffff, 0xfffb02ff, 0x9fe, 0xfc09f0f5, 0xfcfa0f01, 0x7f008, 0xfd020607, 0x40bf904, 0x8090c, 0xfe08fd04, 0x1020705, 0xfc0003fa, 0x1050207, 0xf70103ff, 0xc04fff7, 0x1f8fcf5, 0xfcfff6, 0xf5e800f0, 0xf7eafded, 0x4f001fe, 0x7040505, 0xfbff03fe, 0xf9f904fc, 0x3, 0x306fdfc, 0x8010000, 0xf106f203, 0xf0ff1c06, 0x1ed1c03, 0x100c0303, 0xee0e0310, 0xfdf4, 0x4f404f5, 0xcfc01fe, 0xfefef5f8, 0xecf51804, 0x131ee803, 0xfe0d061b, 0xe28f802, 0xebe104e5, 0x10f700f4, 0x1f203fc, 0xf8f10c00, 0x4fc03, 0xf7030d04, 0x70bf9ff, 0xfcfe0400, 0x401fdfd, 0x200fefd, 0xff030008, 0xf8fd0703, 0xf900010a, 0x20f0208, 0xf4fefc02, 0x5080709, 0x207fdfd, 0x10400fe, 0x203fe01, 0x6ff0504, 0x303eb03, 0xfbfd0202, 0xfaff0e02, 0x4020105, 0x80bfdfe, 0xfff41105, 0xfb0ffc0c, 0xfdfdfbef, 0x4ff04fc, 0xf8fcf5fd, 0x3ff0602, 0x603fd05, 0xfd09fa04, 0xfd010301, 0xfb020104, 0x9080305, 0x5010bfc, 0xfcf80808, 0xf80df807, 0x4080005, 0xfc08fc00, 0xf70404, 0xfbfb1500, 0x9fcee03, 0xd5e0fbef, 0xefd07fc, 0x804fc00, 0xfc000000, 0xffff0908, 0xfd04fe03, 0xfd000504, 0xff04040b, 0x8ff06, 0xfe020001, 0xfffd0905, 0x6ff0100, 0xf4fc0afb, 0xfe00030a, 0xf6fefbfb, 0xfd01fd, 0xfa07f8f3, 0x4f200ef, 0x1208fe0b, 0xf010020e, 0xfffb00f4, 0xf81109, 0x60a0606, 0x80afa02, 0xf505fc0b, 0xedf806fa, 0xefefcf9, 0x4fdfcf5, 0x1f6ff, 0x6fc0300, 0xfcff0303, 0x5fcffff, 0xf2f104f1, 0xef705ff, 0x1fefbf7, 0xf7f7fdf4, 0x7ef09fc, 0xff00, 0x405f9fc, 0x1fd0afe, 0xe9ebf7f2, 0x9ff0fff, 0xfdfc0410, 0xff12f905, 0xf8f90404, 0x408fffe, 0x2020005, 0xfe020500, 0xfbfffaf6, 0x8fd01fc, 0xfaff0703, 0x900f9fa, 0x6fffe01, 0x203f5f9, 0xf9fd0e0b, 0x91de909, 0xf7fc0f0a, 0x104fffe, 0xf4f702f6, 0xfffcf1e9, 0xe90ff8, 0xf500f8, 0xf9e9fee7, 0xf2e8fbf1, 0x11120c02, 0x13140800, 0xf0e00be8, 0x1fbe8e0, 0xfc08, 0xf5f903f8, 0xbf701f7, 0xf9f8fc, 0x8180505, 0x17090425, 0xf51cef05, 0xf8ef0c03, 0xc24f919, 0xfa030205, 0x307f7fb, 0xfd00fdf1, 0x7f801fd, 0xff050800, 0xf90909, 0xfc090207, 0xf9fc0403, 0x102ff03, 0x4fbff, 0xfa010b05, 0xfb07eaf0, 0x12000503, 0xff0efa0c, 0x80fff07, 0x5fc04, 0xfcff00ff, 0xfffc01ff, 0x1fa0b00, 0x1fef609, 0xf907fb00, 0xfe0403f9, 0xb00fefd, 0x7fc0403, 0x30701f7, 0xfbf7fef9, 0xfffbf3f3, 0x8f708fb, 0x104f302, 0x5040d0b, 0xff04ff06, 0xf5fef9fd, 0xffff0400, 0xfd02ff00, 0x7fe02fd, 0xb0304fc, 0xf8f809f9, 0x708fd0d, 0xfb04fd01, 0xfb00fc00, 0xf3ef, 0xf5e914e8, 0xcebf8f5, 0x20f81d, 0xf10001fa, 0xbfdfeff, 0x508f901, 0xfe0002f9, 0x602fafe, 0xff0004ff, 0xf0ff904, 0x1050309, 0xfd08020a, 0xf90400fb, 0xfff4faed, 0xfcf513fe, 0xb0bf2fa, 0xfafefe01, 0xb0cf0fb, 0xf9fafafc, 0xd05fd02, 0xebdbffdc, 0x12fe0f0b, 0xf3ff0504, 0x30706fc, 0xb0104ff, 0x7fef9fd, 0xf3fb0100, 0xf508ff01, 0xfbee01f3, 0x7f600fa, 0xfa0206, 0x606f5f8, 0xfbf71004, 0xfdfcf9f6, 0xfafe04fe, 0xfded00e8, 0xcf300f8, 0xf8f9fcf8, 0xf9ea07e8, 0x8f004f5, 0x5f60401, 0xffff03f8, 0xf1000009, 0x8f9, 0xfdf9fcf1, 0xfaecfef1, 0xfcf500f1, 0xbf805fe, 0x2fefdfb, 0xfd04fc, 0xf8f90807, 0xfcfb04fe, 0xfc0004fd, 0xd01030b, 0xf4f9fcf7, 0x4f90105, 0xff0bfdfa, 0xfeef090f, 0xf911f8fa, 0xf9fef8, 0xf1f5f7ea, 0x12fdf602, 0x80afdf8, 0x11090b14, 0xfb16f109, 0xf70e0215, 0xfbff1407, 0xf405f1, 0xf3f4f5de, 0xeeb090c, 0xfdf1, 0xa060a0d, 0x2ff00, 0xf8f8f9f9, 0x6f709fb, 0x10f401f1, 0xfffb030f, 0xe8ff05f8, 0x1400f3fa, 0xfefe0602, 0xfefd0208, 0xf2fd0606, 0xfdfc00fb, 0x8040400, 0x8080504, 0xf6fe01fd, 0xfd01fffc, 0x1fcfefb, 0xfb0505, 0xfc0700fc, 0xfafbf102, 0xf9e910f4, 0x8fdff02, 0xfafaf5, 0x6fb0100, 0xfd010304, 0xfc010101, 0x6060500, 0x403fb08, 0xfd0cf90a, 0xfa06f6f9, 0xbf90904, 0x120f0510, 0xf4010505, 0xf600fdff, 0xf9f9ff05, 0xfdfa07f9, 0x800fb08, 0x50804ff, 0xfdfdfbf9, 0xfd01f6fe, 0x5040303, 0xfd03ff03, 0x9050306, 0x4ff0904, 0xf8040c07, 0x808030e, 0xf104f4fb, 0xff03, 0xfd00f805, 0xd1d0710, 0xebef01f8, 0x8000b13, 0xe406faff, 0x3f703fc, 0x1f8fdfc, 0x2000200, 0xfff90302, 0x2050708, 0xf90404, 0x104feff, 0x103fcfd, 0xfc00f8f8, 0xfdf60f0b, 0xfc0b07ff, 0x1f5f5f8, 0xf4f2fef2, 0xef5fe03, 0xf1fbfcfd, 0xfded02f2, 0x1118041d, 0x5100a0b, 0x51de7ff, 0x1fd03fa, 0x2f107f4, 0x9f6f3f0, 0xfcf9f9f1, 0xa06fd04, 0x9f1f9, 0xf207f9, 0x5fe0b07, 0x809f90d, 0xfa0c0d09, 0xfc08e9f8, 0x1311f906, 0xf3fc0400, 0xfdf107f8, 0xf4f4fbf3, 0x2fc0aff, 0xa010704, 0xfffe0903, 0x307fd01, 0xfd0dff0c, 0xf8040703, 0xf5fbfcfb, 0xf8f9f9f4, 0x6fe00fe, 0x1f40cfb, 0xc050008, 0xfb03fefd, 0x5fffc, 0x404fcfc, 0xfcfc0c04, 0xfff60e01, 0xff0cefff, 0x6010a0a, 0xf904ff06, 0x1090000, 0x7f403, 0xfcfffcfd, 0xcf80d, 0x3fe020a, 0xfbfd0101, 0x120205fc, 0x4050014, 0xf5120a1a, 0xe2de6ff, 0x11100b16, 0x124f928, 0xf00a0203, 0x407, 0x80503fe, 0x2000607, 0xf504010c, 0x70dfc00, 0xebdb02dc, 0x3e0f3d0, 0xdf50cfc, 0xdf50002, 0x307f4f5, 0x7fe0905, 0xf90cf8fe, 0xfbfc0400, 0x7ff0a05, 0xa07f9fb, 0xfc01fdfd, 0x303fc00, 0xb0af905, 0xfd02fbf8, 0xfc00fc, 0xfdfffe0c, 0xf6090c05, 0xa07fe06, 0xf2f801ff, 0xfcf509fd, 0x2020504, 0xfc040508, 0x6080508, 0x105fb05, 0x109fe0e, 0xf105fc0b, 0xfcfc0cff, 0xffcf9f0, 0xfdf903f7, 0xfcfdfdfd, 0xff030004, 0xfb0201fc, 0x4f80906, 0xfcfd0700, 0xf4f7fcf8, 0xfcf70506, 0x304fcfd, 0xffff0303, 0x5ff0501, 0xfd05f9, 0x203fdf4, 0xf8e4f9da, 0x16fff1fc, 0xfcf9f6, 0xe07f100, 0x5f8ebdc, 0x17080209, 0xf4f5fbe5, 0x90aeefe, 0x2fd0600, 0x908f803, 0xd0ef3ff, 0x4040405, 0x407ffff, 0x6050203, 0xfdff0405, 0xfc00fd01, 0xfb00fc04, 0xfb0201f4, 0xf070505, 0xfd01eefa, 0xf5fbfcf9, 0xffaf6f2, 0xff00ff03, 0xfd031819, 0x8100511, 0x121eed01, 0xf1edfb01, 0x1010301, 0x30202fd, 0x9fdfa04, 0xecf4f8f3, 0xfce5fbe3, 0x2508f40b, 0xfb06f9f8, 0xf02150c, 0x70b091b, 0xfc1df101, 0xfb000017, 0xeff3faf4, 0x708ff03, 0x90ffc04, 0xf303fa02, 0xe0e0e12, 0x60ef1f8, 0xfbf401ec, 0x14fd0808, 0xff0afa05, 0xfe0bf9fd, 0x70ffa0d, 0xef04f803, 0x401fdfe, 0x60304fb, 0xaf90700, 0x409fc07, 0x70109, 0xfb00f9fd, 0xfbfc0bfb, 0x2fe07f7, 0x5fdfb09, 0x70afdfd, 0x509000a, 0xfb040004, 0xf8fcfc04, 0xfc04f4fc, 0xf8f41511, 0x311000f, 0xfc100817, 0xf9fe0e07, 0x2050308, 0xb1e0418, 0xf1fbfc11, 0x404f9f2, 0xe2d3fdd7, 0x2007f4f9, 0xf9f4, 0x10fc01fa, 0xa0202fe, 0xfa03f9fb, 0xf403fb, 0x919f30a, 0xfa01ff0d, 0x15150710, 0xf0f3fff2, 0x4f30100, 0x1fa04f5, 0xfbf7f8f7, 0x7030201, 0xa04fef8, 0xbf9fdfd, 0xff000003, 0xfcfc0707, 0x905030f, 0xf608f603, 0xfe010304, 0x7030c, 0xfd130007, 0xfcf9f8f3, 0xfdfe0300, 0xfbff0a00, 0x3010b07, 0xb0107, 0x7080104, 0xf3f6fcf7, 0x9ff0708, 0xf9100014, 0x18000c, 0x401f5fd, 0x707ff03, 0xf6fdffff, 0x707fc03, 0xfd05fd01, 0x30004fb, 0xfffcf4, 0xffffeef1, 0x3f80cff, 0x8040008, 0xfc050709, 0x206fafb, 0x3fe02fb, 0xf9fcf8, 0xececf8eb, 0xfe401f4, 0x1f5f2ee, 0xf2d21bfc, 0xfbf2fa01, 0xfbe5fcdf, 0x7f20900, 0x900ff11, 0xfb0a0307, 0x604010d, 0xfefef500, 0x9050405, 0xff00ff00, 0x5fffcf9, 0x1fdfef7, 0x500f8fb, 0xfcfc0000, 0x409f800, 0xf9ea12f7, 0x4fe0111, 0xef0bf201, 0xf01f803, 0x70bf905, 0x1921ff08, 0x1813, 0xf0f1dce0, 0x1f02217, 0xfc12edfc, 0x4fd04ff, 0xf8ee1408, 0x1ced11, 0xe6fb1515, 0x4f4eded, 0x1305fb07, 0x1f901e5, 0x7e505e1, 0xf7dc0ffa, 0xeceb2611, 0xea0c091b, 0xec001011, 0xe8f0f9ed, 0xf7f103fa, 0x1a0606fe, 0xfdf5f6fa, 0x2010505, 0x8f91304, 0xfc010108, 0xfe08fe0d, 0xf7fdf8fb, 0xf905fa07, 0xfd00fbfe, 0x2fa08fe, 0x6fa06f9, 0x7fcffff, 0xfefdfefa, 0x908f0ff, 0x40800fd, 0x4ff03fb, 0x9ff0004, 0xfcf90905, 0x2020406, 0xf601ff00, 0xf7fff9fc, 0xf4f4ffff, 0x40b0d03, 0xf9f902fb, 0x504f5f1, 0xfff703ec, 0x16000704, 0x902f7f5, 0xf5f90704, 0xfcfcf5f8, 0x319fb17, 0xfef5ff00, 0xe101, 0xafb01fb, 0x3f40dff, 0x308f605, 0x409040a, 0x3040011, 0x920f617, 0xf1f3fbe7, 0x9000001, 0xfcf900f8, 0x8ff03fe, 0xf9fc070b, 0x80c010b, 0xf8f90c07, 0x703f9ff, 0x3030003, 0xfd040c09, 0xfdfd04fe, 0xfb03fc09, 0xfc070408, 0xff070509, 0xfc08fb03, 0xfa01ff08, 0xfb06fe01, 0xb11fb02, 0x4030901, 0xfcfd0501, 0xfafff8, 0xf8fd0001, 0xfdf507f5, 0x3fffdfc, 0xfc0804, 0xb, 0xfd010204, 0xf402fd00, 0x1fa0200, 0xf9fc00ff, 0x4000b07, 0xf5fcfcfc, 0xfdfafe0a, 0xd140810, 0x8f4fc, 0xf9, 0xfdf40b05, 0x2fcfc, 0xf5f103f8, 0xcfd11, 0xf7f9fff7, 0x1f70f14, 0xf81a0201, 0xb11ef06, 0xf0fbf2f1, 0x1b051814, 0xb16fe15, 0xff190319, 0xf90cfd08, 0xf3fd0008, 0xff0702, 0xfe01fe00, 0xfef90300, 0xfffcfd, 0xf80303, 0xfd040105, 0xfbfcfbff, 0x2080f05, 0xe0e100e0, 0x1d0eff1b, 0xf0fcf8fc, 0x180dfd11, 0xf7ef0cfc, 0xe5e1f7c0, 0xfccc09f9, 0x6fe12ee, 0xf01fc10, 0xf0fc00f8, 0x101fae7, 0x4eb0a08, 0xef11f1ed, 0x13fcf302, 0xfdec00f1, 0xfcec14ff, 0xf8f0ffea, 0x2f5fbe1, 0x251adbcf, 0x1e617f4, 0xc140004, 0x11dfd21, 0xee18fb10, 0x5fb04f9, 0xfbf7f9fa, 0x7fffdf7, 0x8f718fc, 0xfdfc, 0x604f6fc, 0xfafff6fd, 0xfe02020a, 0x20ffd11, 0xf807fffe, 0x5fd0b02, 0xfef900fa, 0x501ff02, 0x3fcf804, 0xf7f7, 0x9fc0700, 0x5fc01fd, 0xff0004fb, 0x1fafbf1, 0xfb03ff, 0xfe06f2ff, 0xf8030206, 0xfbfde9d9, 0xaea15fd, 0xfcf40b0a, 0xf2fd03fd, 0xffe615f4, 0x3eef2e9, 0x160a0e11, 0xfb10021d, 0x923da02, 0xe3e700e8, 0xfd23, 0xf50efb08, 0xf9fe04f5, 0xf4e607f7, 0xbfe0d07, 0x40004, 0xf9f40b09, 0x18f714, 0xf500fdfd, 0x3040105, 0x30000fd, 0xfbff0e06, 0x301fcfc, 0x1014fd05, 0xfefc0104, 0xf9fa0600, 0xa0dfafb, 0xf9f703f6, 0x1fc0101, 0x308fbff, 0xfdfd01f9, 0xfbf80401, 0xf8fffbfb, 0x202fe02, 0x6fdff01, 0x1fefff4, 0xfcf40cfb, 0xc07f7ff, 0xf9000808, 0xfc07fcfc, 0x1fa00fd, 0xfffc01f5, 0xfff400f4, 0x2f906fd, 0xf5fefeff, 0xfefcfff9, 0x1010203, 0x40303fb, 0xfe04ff07, 0xfe080f19, 0xe8f403ef, 0x8f7f6f9, 0xfef708ff, 0x80af6f5, 0xf04ff07, 0x113f707, 0x108fb06, 0x514f409, 0xf4fc11fe, 0x1e24ed0f, 0xe8ecedea, 0xf4ee120e, 0xf5e80ddd, 0xffd107da, 0x19f401f2, 0xfaf3e0d6, 0x11f40c00, 0xfcfc0c01, 0xf4f703fc, 0x1ff0804, 0xf8fc0000, 0x505fcfe, 0xf3f41003, 0x40cf304, 0xd0ff5f5, 0xeafff4f3, 0x4da2500, 0xecfc070b, 0x1003363c, 0xd318fb07, 0xe103e4f0, 0xf0305ff, 0x5fefae6, 0x16ed07f8, 0xf800fbfb, 0xf6f000f6, 0xfaecedcf, 0x13f3f5f7, 0xbef120e, 0xf708f901, 0x13180408, 0xf4040308, 0xd130820, 0xfb2444, 0xf033e804, 0xe0d8f0c8, 0xbd215ea, 0x1410fa0f, 0x151ff914, 0xe801040c, 0x50af300, 0x10081404, 0xf8fc00ff, 0x3fcfa00, 0x309ef02, 0xfd01fffe, 0xfefa02ff, 0xf5fc01fe, 0xfff804f1, 0x3f600f6, 0xdfe0403, 0xf8f80404, 0xf9fdfb01, 0x80001fa, 0xf506fa, 0xfef90aff, 0xfdfbf9f9, 0x7000300, 0xfe000412, 0xf711f403, 0xff07f210, 0xf2f815f8, 0x501fff5, 0xff02fefd, 0x200f6e1, 0x1bf90d14, 0x70500f7, 0xece8f4da, 0xf9caf7e7, 0xf3f71108, 0xf3fc, 0xff06f904, 0xb030a, 0xf1070707, 0xfefa0af7, 0x6fd0704, 0xff0afaf9, 0xfef7ffff, 0xeef800fb, 0xb03fdff, 0x3fffbfa, 0x6050c03, 0xfcfc0d0d, 0xa07fd07, 0xfc05f8fc, 0x30906, 0xf8f4fef8, 0xf9f8fcf1, 0x8f807fe, 0x500f4f9, 0xfdf903fb, 0xfdfdfff8, 0x303fa02, 0xfffff8f9, 0xfcef05f5, 0xd01fafc, 0x8fc, 0xffff901, 0xfc04fcf8, 0xfdf9fffc, 0x702fafc, 0xfefbfcf6, 0x1f8fbf3, 0x2f300ed, 0x2fa02fe, 0xfafa0601, 0x202fefe, 0x802faf9, 0x904f9fe, 0xf6f60cf3, 0xeef903f9, 0xfced130a, 0x30ffa01, 0x5feff07, 0xfbf3fef2, 0xfeef1109, 0x9110319, 0xf70b0d24, 0xd5052a1e, 0xf6f6ff08, 0xf414fb22, 0xd3b042d, 0xf32bf00e, 0xf504fdfa, 0xe10aea, 0xeddd1815, 0x90dfeff, 0x10401f9, 0xf7fcf8f1, 0x1f1fbe4, 0xffeb06f1, 0xfeea08f6, 0x40700f7, 0x1f40102, 0xf7ec07fe, 0xdef20f0d, 0x50e02eb, 0x12111c26, 0xf40a07db, 0x40cd0e1, 0xf7f70a1d, 0xff0d1018, 0xe7fafafa, 0x2e602e1, 0x12fbf1f1, 0x3fe0a08, 0xf1de818, 0xf1f60405, 0xfaf4fadc, 0x12f7100e, 0xf9f40fff, 0xedf81005, 0xf1e904e5, 0xf2d7fdb0, 0xccc0df1, 0xf20ec1c, 0x5160001, 0xbf8fcfa, 0xcf10901, 0xf009fe03, 0xfaf81a1f, 0x514f9f9, 0x203fd00, 0x1fef9fd, 0xfff9f4fe, 0xfefff6f6, 0xf803f9, 0xfc00fdfc, 0x2ff0500, 0x4010405, 0x1f9fbf0, 0x5fdfff8, 0xfffefd00, 0x1f906fe, 0xf9f708f9, 0x4fffff4, 0xfef5fffb, 0x3f709fd, 0x9080e12, 0x1be70e, 0xfd0cf10b, 0xfc150101, 0x3ff0000, 0x102fe02, 0x505f908, 0x7f40bf2, 0xf0dbf6d1, 0xf3d803e7, 0x10fe050c, 0x1730daf9, 0x18, 0x19f010, 0xfc0cf801, 0x10f700, 0xf9fb0cfd, 0x4fbfbef, 0x8f8faf8, 0x600fdfe, 0xf4040307, 0x602fc01, 0x604020b, 0x30800fc, 0x4040b02, 0x5fdfdfd, 0xff00f7ff, 0xfdfc00f3, 0xf0af1fd, 0xfd010308, 0x8080405, 0xf4f4fdfd, 0x2020908, 0xf3fef9f8, 0x3f80503, 0x4fd09, 0xfd0af6fb, 0x5f30b04, 0x40703, 0x2f60401, 0xfafffd00, 0xf7fa01fc, 0x4f90302, 0xfd01f5fa, 0xfff8fcf9, 0xfcf304f7, 0x8fd00fb, 0xff0005ff, 0xfd0302, 0x4fe0105, 0xfcf8fdfc, 0xa100105, 0xf910f603, 0xfe051002, 0x3020008, 0xff020609, 0xff0df302, 0xecf006e5, 0x1af606f9, 0xb0df0f0, 0xeb06eeca, 0x27fb00fc, 0x911071d, 0x515eeff, 0xf501e5f6, 0xb0c1423, 0xe4071411, 0x1034f814, 0xf0fbf8f5, 0xf9edfbe7, 0x1000ff07, 0x50bf505, 0xfa00fdf7, 0xc0500fd, 0xd060006, 0xf3f8fff6, 0x201f3ed, 0x23320d30, 0xed18eb01, 0x10ff07ea, 0xfdf3fce8, 0xdfc3f2e5, 0x3f115fc, 0xf6f30df0, 0x50e0216, 0xe9fd1712, 0xf9f9252d, 0xf01adaea, 0x19f41b27, 0xee24ea0a, 0x1121fc23, 0xe8f911fa, 0xfcfdeedc, 0x2f100e1, 0xffef03ee, 0xfefa0b08, 0x8040b02, 0x25182551, 0xbf0be7f2, 0x1d040c14, 0xfb030903, 0x192cdb09, 0xdceb00d1, 0x1de902f2, 0x5f5ece4, 0x4e700ee, 0xfcebfdf4, 0x2f8fdff, 0x302fdfc, 0xfffffafc, 0x7010c08, 0xf4f801f5, 0xafef5f8, 0x3f601f8, 0x4fdfcfc, 0x4fff8f1, 0xf808f8, 0xf4fdf2, 0xafe0201, 0xfcfa0f00, 0x3faf6e2, 0x3e50705, 0x1018f118, 0x1cdffa, 0x900fbfb, 0x5ff0001, 0xfcf80b0a, 0xf9fc03f4, 0x5090518, 0x72c042d, 0xe906f0f1, 0x24fef418, 0xdf8, 0xfdf5ff04, 0xff07fd0c, 0xeffbfd01, 0x800fc, 0x4fc0607, 0x706fa06, 0xfe01, 0xfb08fc01, 0x803030a, 0x1050508, 0xfaff0201, 0xb080906, 0x203f9ff, 0x101fb05, 0xfc04fc00, 0x9fafe07, 0x20c030c, 0xff03fefd, 0xfe07000a, 0x109fdfd, 0xeef8faf9, 0xc020300, 0x4040007, 0xfd070011, 0xf703fff7, 0xa010701, 0xff03fe, 0xfd01fd01, 0xff090008, 0xf9fd00fa, 0x704ff0e, 0xe9f8f7f3, 0x1f809fd, 0xb00f8f8, 0x5fe03fc, 0x400f9f6, 0xfff100f0, 0xbff0d0f, 0x90e0613, 0xf50ffd16, 0xfb13ff02, 0xc0bf500, 0xd0edee6, 0xfde404f5, 0xc15fc0b, 0xf5e60beb, 0x18f81018, 0xef1ccefc, 0xee30cef, 0xf9df00d8, 0xf7ca01dd, 0xdf50e1e, 0xfa0dfef7, 0xf6090b00, 0xecdcffe3, 0x11040f1b, 0x22f41b, 0xf601f7f9, 0xfff31d1b, 0x829ed19, 0xebf80c04, 0x7fe110f, 0xe703f1f5, 0xd001b28, 0x191ed7e8, 0xf8f30d15, 0xdfe43411, 0xfc10f105, 0xf218062c, 0xf21b040a, 0xd21071b, 0xe240325, 0xfd39e406, 0xb18f4e7, 0xf7eeee02, 0xff804e1, 0xfceff8fd, 0x5f1fff4, 0x101cfb06, 0xf903e3f8, 0x1e14fa0e, 0x817f509, 0xf3fe06f9, 0xf12f15, 0x4f4e4b3, 0xece00b04, 0x12f9f8e5, 0xaf4fee9, 0xf5c5f6e0, 0xfc000404, 0x3ea0ef6, 0xf8e90f0c, 0xf4fcf4f0, 0xf5e90efa, 0x5fdfdfd, 0xf7f1fff3, 0x2f6130f, 0xb13f2f9, 0x2070107, 0x401fb07, 0x2060308, 0xf8fcf4f4, 0xffeffcf3, 0xfef106ef, 0xaf9fefa, 0x6f61105, 0x60f0303, 0x1010510, 0x613fb07, 0xfaf11c1c, 0xe905fb21, 0xec04fd06, 0xf4f503f8, 0xc08fdfa, 0x2030202, 0xe0b0d13, 0x814e4f4, 0xfc07f80f, 0xf7e23422, 0xfeed, 0x7f7fcf4, 0xc01f8fc, 0xf502f7fc, 0x4000000, 0x3ff05fe, 0xc03030c, 0xf2fefefe, 0x1040008, 0xfcfc00f9, 0x1f903f7, 0xfd0601, 0x2f80cfb, 0x1fafeff, 0x402f900, 0xf8fc0000, 0x4fb0c09, 0xf8fffbf7, 0xfef6fff7, 0x1fa03fd, 0xfdf9f7f3, 0x5000b, 0xfffefaf5, 0x12030407, 0xafc06, 0xf504fc01, 0x7fe02f9, 0x70000fd, 0xfcff, 0x404f8fc, 0x306050b, 0xf5f90b05, 0xfc18f516, 0xff14f3fe, 0x1f40400, 0xfffa0900, 0xfcf80100, 0x304f7fb, 0x6f60bf4, 0xcf71001, 0xeffb0d0b, 0xfd0dfa08, 0xb07ee00, 0xfff2f004, 0x209f6fb, 0xfdec03f3, 0x40206fd, 0xf6db0ed9, 0x1701fc2f, 0xe90aefed, 0xd01feff, 0xfd050105, 0xf7ef08e9, 0x1100fbfd, 0xeff60cf7, 0x1924e106, 0x4f9ffe9, 0xdf60a0c, 0xfc12011c, 0x8251018, 0xe1f1ff03, 0xf911060b, 0xa0efefb, 0x1327ed23, 0x162c0718, 0xfbfaf215, 0xfa17252f, 0xf848d7eb, 0x5f4e7ea, 0xfdf5f1e0, 0xf2e011ed, 0x5e50cea, 0x16f20dfc, 0xf7f6e6f8, 0x12ff000b, 0x162a0a46, 0xe219f70c, 0x10201038, 0xd0030b0f, 0x1110eb00, 0xf9000825, 0xf0f7302d, 0xfc21ed19, 0xfb21f813, 0x1326d5cc, 0x14dcfff7, 0x5101015, 0xfcfffc03, 0xf3ec2210, 0x21d052c, 0xd4041010, 0x1926e2fa, 0xf0f204e7, 0x1f4ffff, 0xfd07fbf4, 0xfae9ffeb, 0x1004050a, 0x30b1109, 0xe0cf50f, 0xfc09f901, 0xfdf6f8, 0x2f8fff4, 0xfffbeef5, 0xfbf108fd, 0x504fcfa, 0x6f61008, 0x1113f8fa, 0xfdf103f1, 0xcfc07fe, 0xeee60bf6, 0xdfdbfab9, 0x6d61df8, 0x511fb0f, 0xfa15e6f8, 0x8f404fb, 0x4fd0803, 0x10051109, 0xf2f30514, 0xb23ed18, 0x4250cfd, 0x3, 0xfffb0504, 0xf80404, 0xfc0bf509, 0xfe03fd00, 0xfdfa0b00, 0x4f804f9, 0xfb020206, 0xff04fc00, 0x4f9fd, 0xa060205, 0x60bfe03, 0xfbfc04f4, 0x8fbfcf9, 0xf5f8f4, 0xfcfcf8, 0x1f503ec, 0x4f8fcf9, 0xf8f304f8, 0x3fafaf1, 0xfff3fbf7, 0xa010304, 0xfc01f7fe, 0xaf608fa, 0xf8f2f8ee, 0xfff8100c, 0xfd02fefe, 0x1f804fc, 0xfc0000, 0x4000008, 0x5ffff, 0xaf5f4, 0xd05fe0e, 0xeaf9040a, 0xfe071215, 0xf80efc01, 0xfb0000ff, 0xfcf8fd, 0xfbf21d04, 0xf8f017f7, 0x121ae3f0, 0xf7eafded, 0x7e90d08, 0xf801edfe, 0x2fefe06, 0xfe07f2f6, 0xfcee17ff, 0x30c01ff, 0x7efeadd, 0xe02f90c, 0xf9f802fc, 0x1110ebfa, 0xfd001810, 0x302fa01, 0xf709f8f5, 0x17f3091b, 0xe4fb0400, 0xfcef00e5, 0xfce504e8, 0x8e8fbd3, 0x1103fc00, 0xf4fb07fc, 0xded0fed0, 0x8c512ea, 0xf6caf4b7, 0x1eda2b13, 0xc25dddd, 0xebd00700, 0xfaf52836, 0x164fdc3a, 0xee36eb10, 0x1c270c27, 0x111317, 0xdefefa12, 0xe0ef301, 0xcf72512, 0xf222f520, 0xf707150c, 0xb47d915, 0x80ced0e, 0x71cfc10, 0x525e6db, 0x1dfc0413, 0xf30bfd10, 0xc091044, 0xe4140116, 0xfa0bf9f4, 0xfcf40c04, 0x3142f212, 0xedfd1008, 0xfd31ee0f, 0xe2d80f05, 0xf80d050e, 0xff0c000d, 0xf404fd06, 0xf602fafd, 0xaf71002, 0x1001706, 0x2faf2f7, 0x2fdff03, 0xf8fbfd02, 0xf7f704fc, 0xf7f4f2f8, 0xa070504, 0xff0306, 0x9090902, 0x8f9f2f3, 0xfef406f7, 0x6f1f7e1, 0xf8ebf4d4, 0xf040e18, 0x618e9e4, 0x3e2fee5, 0xfae51110, 0xfb030100, 0x14100109, 0x130cfbf6, 0x206ff00, 0xede21005, 0xe0f0003, 0xff0b, 0xfe0afb00, 0xfdfd03fc, 0xfffffd07, 0xf5feff00, 0x70a0504, 0xfffffef9, 0xb09040b, 0xf8040008, 0xfc04030e, 0x90d030e, 0xf901fcff, 0x40000, 0xb03fe05, 0xf7fcfc00, 0xf9f900fd, 0x6020504, 0x101f7fc, 0xff030100, 0xfdfbfe, 0xf8f7fefa, 0x3f307f7, 0x2fdf7fd, 0x3f601ef, 0x3fa0002, 0x20506fb, 0xf1ef0cfd, 0x501fffc, 0x501ff00, 0xf9f504f9, 0x3fc0300, 0x202ff0c, 0xf8f7f8f1, 0xfb02110f, 0x91af5fd, 0xfe03ff06, 0xfd08fc04, 0xf5f90304, 0x10190804, 0xfd092012, 0xffffe400, 0x90d19, 0xef0100f4, 0x400f104, 0xf3f5140b, 0xf401fd0c, 0xb1b080c, 0x9fd05, 0xc0af616, 0x911ff17, 0xed0b050e, 0xf3f0fd02, 0x207f2e1, 0xfed0bfe, 0x262de81d, 0xf4fa0bfc, 0xff17ed00, 0xf9fd0300, 0x171b0118, 0xfd0dfb0d, 0xf1ed06f7, 0xe5e8ffe0, 0x2527d6ff, 0x251cfd07, 0x1021f11e, 0x2020ce3, 0x25fce403, 0x31b0115, 0xf30edec4, 0x14c2280e, 0x323c901, 0xffe42901, 0xf7f8fbe0, 0x1214fb15, 0xdbe2f1e0, 0x19ed1fe7, 0x4f9fc00, 0xf0f92105, 0x120cd508, 0xd4d4f7de, 0x6dd2203, 0x19171546, 0xf31cf40c, 0xc25fd25, 0xec050e03, 0x1200827, 0x835e925, 0x730fc20, 0xe4d301e2, 0x2318ecf4, 0xfdf40208, 0xdc02f9ec, 0xf404f3, 0xf4e810f8, 0x1115f60e, 0xf60efe12, 0xc14fd01, 0x4041401, 0xf5f40709, 0x7f4fc, 0xf0f41007, 0xf808f3f7, 0x6060216, 0x713f604, 0x307060a, 0xe0f050b, 0xf8fb050e, 0xfe0ef5fd, 0xf7f9f9, 0xb0c0018, 0x40d0908, 0x2e700, 0xb08010b, 0x1021fd0d, 0x719041c, 0xf901fefe, 0xf9e40cf5, 0xfceff4e4, 0xf3eafdd7, 0x4cd15e2, 0xff04, 0x107fb07, 0xf8020100, 0xf8f9f8f4, 0x4030004, 0x805fdfd, 0x301ff02, 0x9000501, 0xfb04fc00, 0x1050204, 0x601fffd, 0x4ff07, 0xf5fc01fd, 0x7f900fb, 0xf5f90300, 0x30af903, 0x1fe0700, 0xfbfafd00, 0x1fcfc, 0xfbf7faf6, 0x705ff06, 0x10400fd, 0xfffa0003, 0x101f9f9, 0x7fd0906, 0x408fbfd, 0xfb0701fc, 0x9000203, 0x1ff0303, 0x10bfb02, 0x504fcfd, 0xfbf606fd, 0x2070413, 0xf60ef8f5, 0xfae60eff, 0xff00f9fa, 0x805f5fe, 0x10a0209, 0xfaf31500, 0xb0e0dfb, 0x905f314, 0xff13fe04, 0xf409e6ef, 0x210cf40f, 0xef0b05fc, 0x50dff0f, 0x4080707, 0xf900f8fb, 0xfbea1e12, 0xfb04ecf1, 0x1050b0b, 0xf27f620, 0xfe1c022c, 0xf3100106, 0xefcf270e, 0xe9030800, 0x1f408, 0x817f004, 0xfce915fd, 0x1818e704, 0xdceff8e1, 0xf9f50e04, 0xf6d50e0d, 0x19010105, 0xb001f2e, 0xfe2af412, 0xdac72508, 0x80d0915, 0xe80a0d39, 0xdf0406e2, 0x14f3f01a, 0xe2fd12e6, 0xefdf7f9, 0xffe6eed9, 0xecea03fc, 0x13f615ec, 0x442ce717, 0x52ce4ef, 0xe4c108f4, 0x525f422, 0x16321b2b, 0xfb0d02fa, 0xfd04f909, 0xfefb110f, 0xe70addd9, 0x1ff70af9, 0x3f4ecf7, 0xfbebf0df, 0xe09030b, 0xfce4241c, 0xdcfbe8e1, 0x1116ef0c, 0x1420f00c, 0x51d0310, 0xfbfafafe, 0x20afd09, 0x6030208, 0xc10fcf8, 0xf4f703f3, 0x1f4ffff, 0x110ffff, 0xf2f92a30, 0xf6201331, 0xe30df50c, 0x10a0307, 0xc05fdfd, 0x60bfa00, 0x3051020, 0xef0fec02, 0xc030104, 0x1d1d0317, 0xb22fd38, 0xf4210424, 0xff13fd13, 0xf804fcfc, 0x1417fc15, 0xec0801fd, 0xe8e9ebe0, 0x8f50c04, 0x8081003, 0x1fe, 0x300fc01, 0xfc05f9fd, 0xff04010d, 0xfa03fcff, 0x9000003, 0x102, 0x3fc03fa, 0x100fbff, 0xfaf802f8, 0x1f305f9, 0x3fc0401, 0xf0fcf9f4, 0x7f4fff3, 0xf8f60afd, 0xa04fc07, 0xfd03fffb, 0x606f801, 0xfbfcf9f9, 0xfeff03, 0x4000102, 0x203fd00, 0xfdfe0402, 0x708f403, 0x8040702, 0x200ff04, 0x90008, 0x3020202, 0x4050608, 0x209fb09, 0xf8fcfdfd, 0x3050100, 0x604fafa, 0xff03040f, 0xf80dfdfc, 0xfffcfcff, 0xc03fc0a, 0xf0f90900, 0xe140100, 0x190eff00, 0xe050a1c, 0xe401f5f8, 0x5090326, 0xeaef0500, 0x5160617, 0xfa0c0714, 0xfb0bf9fd, 0xf1f5f7f4, 0x100913fe, 0xedf0f4f8, 0x1007fffb, 0x10fcdde3, 0x1d02fefe, 0x40f111f, 0xef1f0901, 0xfb13e1ec, 0x1501f300, 0xe9e11708, 0x1b270618, 0xf3f3dfeb, 0xe5f400fc, 0x3f8ed, 0x130a1d19, 0xf5f5faee, 0x4e72ef6, 0xefe7f8eb, 0x11f1dd, 0xfacf15db, 0x1003f8ee, 0x2837f829, 0xfd12f315, 0xf82bef08, 0xdcd62201, 0x1719d702, 0xfc12f605, 0x10020af7, 0x6b92bfd, 0xf5eddfe8, 0xf8fc1004, 0xf0ef2823, 0xfd0a1e0d, 0xecfee9e5, 0x2b13fd17, 0xddf6eacf, 0xeed62019, 0xb05d9d4, 0xfe0fcf0, 0xc01fd0e, 0xfafa0e05, 0xf18ebdf, 0xf5f81c2c, 0xdcf7050d, 0xe7e01000, 0x7020504, 0xf3fc0a0c, 0xfb05040c, 0xff05080b, 0xfdfcf1f1, 0x3000906, 0x60bf602, 0xfcfdfffd, 0xb14f5, 0x1b1afd04, 0xf8190327, 0xf91f112d, 0xf213f40a, 0x4e9f3, 0x1404fbef, 0x1515ed16, 0xc16fe13, 0x5fb04fc, 0xdccd07d7, 0xf5d801d5, 0x1af0fbee, 0xfef401f9, 0x12f7fef9, 0xfe0bf2fc, 0xfb0f0c30, 0x143cf020, 0x18e8f0, 0xb02, 0x100fc00, 0xfbff0107, 0xff07060c, 0xf305f902, 0xfaf30afd, 0x7040003, 0xffff01fd, 0xf9f503fd, 0xfbfe0501, 0xfcfc04fb, 0x800fffb, 0xf601fa02, 0xf9f409fe, 0x70df4f7, 0xdfa0705, 0xfb03f9fd, 0xf700ff, 0xf8fc0003, 0x306fe05, 0xfbfc100b, 0xf902fe03, 0x107070a, 0xfe01f603, 0x1fc04f9, 0x3fa01fc, 0x1fdfffc, 0xf9fff6, 0xdff00f9, 0x5fc0b0c, 0xf307f903, 0x4040508, 0x709fb0a, 0xfc07090c, 0xf80cf201, 0xf5f70d08, 0xf8f404fc, 0x8140712, 0x2061217, 0xfcfa0601, 0x3f6fde9, 0xfe03f907, 0xedeffae6, 0x16120c19, 0xdef202ee, 0x7fb03f7, 0xfefaff00, 0xfc0b0317, 0x1118f8fd, 0x111ff1c, 0xf7030509, 0x801eb0f, 0xfaec1301, 0x8050d01, 0xff11e4ec, 0xfced0c18, 0xf0f3f8f8, 0x1322f1fc, 0x18f9f3e6, 0xede0ff00, 0xf20dfa07, 0xf5fc2c30, 0x213eff20, 0xe813e4fd, 0x110a07e3, 0xf1e5fbe8, 0x230bfc16, 0xc9e50cdc, 0x13df0ef5, 0x17e42713, 0xf40af910, 0xf8100021, 0x146e60a, 0xeadd080e, 0xe6f8eef0, 0xaeafede, 0xf6cefc9f, 0xaa22ed, 0x1b101515, 0x1439e7f8, 0x1b16f2ea, 0xeeecfd00, 0xeec332f8, 0xfc17f11e, 0x333f80b, 0xf7f70523, 0xf0042028, 0xed090b17, 0xeb08211b, 0xbbc7f7d3, 0x1efc1dfd, 0x223e200, 0xe27f007, 0x202fefb, 0xf5fdfdf0, 0x2f7fef1, 0x2315f1fe, 0xfbfcfb06, 0x609f2f2, 0x1501fb06, 0xa020d, 0xb18ff03, 0x9f10c00, 0x50d1620, 0xfa21fb0b, 0xf30ce2fa, 0xf3ed181c, 0x810f005, 0xf0fcff, 0xbfe1616, 0xff10000c, 0xf020f40d, 0xf9110212, 0xeee62611, 0xd20f312, 0xfafa1612, 0xed01f0ff, 0xecf02b0f, 0xede8f9f1, 0xfeef1920, 0xffef, 0x6f404fc, 0xfcfd01fd, 0x7050403, 0xff0ff50b, 0xf40500fb, 0xc00fbfb, 0xfdf901f9, 0x303fcfc, 0x405fdfd, 0xff0003ff, 0x6fd0301, 0xf500f2f8, 0x8070604, 0x3000410, 0xfbfefdf4, 0x8010008, 0xf5fd02ff, 0xf6fd02ff, 0x5010003, 0xf80003f3, 0xfcf602fa, 0xf906f8, 0x2fcfe04, 0xf9fc05fd, 0x4fe0603, 0xf9fb01fd, 0x2ff0202, 0xe03fd00, 0x4ff0bff, 0xf1fd0105, 0x1faf6, 0x8f702fe, 0x90b0103, 0xfa05f70a, 0xf50a0704, 0xf0fc0b03, 0x2fd06fc, 0xe08fbf1, 0x4f9f9ec, 0xfbe408ef, 0x1001edf5, 0xdce412fc, 0xf8de26f8, 0x620ec0a, 0x80b040c, 0x614f207, 0x10cf902, 0xf7e80dfd, 0xf7f3f0e4, 0xf9e60aeb, 0x6e900fe, 0xff030fff, 0xfdf4f8df, 0x8e8fbff, 0x10405fd, 0xebf80404, 0x4f52327, 0xeefdecf6, 0x60fdfef, 0x110e091d, 0x2951fe23, 0xedeff1e1, 0x120b062d, 0xf20e0910, 0xc4e300e8, 0xcd119ee, 0x429f20f, 0xd091b16, 0xe1e035ee, 0xf09e1f1, 0xf8f1eadb, 0xda1509, 0xf2ed6fc, 0xf40a0b27, 0xf00d0110, 0xe3fd0001, 0x4052d10, 0x12071d0f, 0xfffaecff, 0x1e500f3, 0xd1d61ef7, 0xedf614d8, 0x2703edff, 0xb07f908, 0xecfd07ff, 0x9180b03, 0x2180714, 0xf31ccec9, 0xef60d, 0xef0ddf, 0x13f0fa08, 0xf3ed00fd, 0xf8f3fff4, 0xf9f800fb, 0x1f18f913, 0x3f3fafc, 0xfafb0101, 0xfb0d16, 0x3040009, 0x40df500, 0x4f90a04, 0x2fd04f5, 0x13030bf8, 0x503fd05, 0xef01ec0b, 0xf810fcf4, 0x4f0fdfd, 0x7040f17, 0xfd09f4e7, 0xf0d80fe7, 0x2219fe23, 0xe38ee24, 0xe016faea, 0x13f00b08, 0xecfae6ca, 0xfec130f, 0xee1112f8, 0xc170220, 0xf214f1ec, 0x402, 0x703fdfc, 0x101ffff, 0x7ff01fc, 0x401f400, 0xcfd09, 0xfaf7f6f2, 0x8fd0602, 0x605020b, 0x40bfe0c, 0xfb08f8fd, 0xf7fff3, 0xf9f7fc01, 0x90203ff, 0xfffb06fd, 0xfbfdf7f7, 0xfbea0af4, 0xc0bfc05, 0xff0ef905, 0xfcfcfffb, 0xf9fc00f9, 0x1fefefa, 0x9030d0a, 0xfe06f5fd, 0xf5f902f6, 0x5f70cfd, 0x1050509, 0xfe050306, 0x1f90804, 0x10100f6, 0xf7fcfffa, 0xfa0101, 0x4fdfdf8, 0xffe0704, 0x50ff008, 0xf70afd00, 0xf9090705, 0x1417fc0d, 0xfffd01, 0xf3f0ece3, 0x17ff04fb, 0x2edf6f6, 0xc26f509, 0x11ebd6, 0x15e5150e, 0x6f8fa, 0xf03ecfd, 0xfc181b, 0xfc20ebfe, 0xfc030114, 0xf00b0809, 0xf9fc0a06, 0xe6edf4d2, 0xadf2108, 0x909ff0d, 0xfd09fe02, 0x2138ef23, 0xe908edd2, 0xaee1012, 0xfe0aea15, 0x1050804, 0xf7d201d5, 0x1d05fe12, 0x202fefa, 0xc6ce27ec, 0x830d101, 0xfbf0380f, 0xf702fa0a, 0xfbf818f5, 0x519fbdf, 0xe4b40add, 0xfee31c15, 0xfd120704, 0xd0c5f8e7, 0x2316fa05, 0x172ccffa, 0x9201131, 0xe8150ff7, 0x21060ff8, 0xf4edf1f2, 0xf2e3e2c5, 0x3b2f0718, 0x631defb, 0x1aee0405, 0xd8d2fbd4, 0x1c04110e, 0xa0f0206, 0xeaeef4db, 0x16fecfff, 0xfbfa1519, 0xe5fe2314, 0xdfe0e8ce, 0x16f107f8, 0x1c1cf916, 0xff1c102c, 0xddea0f00, 0x1fe0a0e, 0xf509fb03, 0x90c1413, 0xf1010203, 0xeeed07ff, 0xb06faf6, 0xf6eafee4, 0x26f7feea, 0xaeffcee, 0x1000115, 0xfb18ec08, 0x408030e, 0xd14fc01, 0xf8fc0008, 0x921e7f9, 0xefc60dd5, 0xfcc3390e, 0x2ef62a, 0xee05d7d1, 0xcf1e5f0, 0x6e73e12, 0xb2ff310, 0xe9edf9e4, 0x6f80a11, 0x901, 0x600fd00, 0xfdfc0300, 0x4fd0501, 0x603f605, 0xff04070e, 0xfa0ef20a, 0xfe000a04, 0x4020101, 0x1feffff, 0x307eefd, 0xfaf7fef6, 0x2ff0104, 0x4ff0804, 0x106fafa, 0x100030c, 0xf4050500, 0x9fdff00, 0x405fd09, 0x310f405, 0xcfd09, 0xfe06fd05, 0x70308fe, 0xf9f9f8fc, 0xfd04ff01, 0x8040d05, 0x70b040a, 0x511fc0a, 0xf7000901, 0x707f3fa, 0xf6f9fef8, 0x9010202, 0x1ff0103, 0x8fc05fa, 0xaff0615, 0xfb19fb17, 0x2200a23, 0xe9f800fc, 0xfcf8fcf7, 0xfc00071b, 0xedf10cf9, 0x4fbff04, 0xfff7fe00, 0x404f60f, 0x6000cf7, 0x10070413, 0xe4e8f4f0, 0x5f50be8, 0xfbe70602, 0xf8fe0603, 0x518e9f9, 0xfefe09fd, 0xec03ebfa, 0xf6e60acf, 0x16dc1bf8, 0x1f1a0925, 0xfd01fa0c, 0xa2df434, 0xf822ecfe, 0x1212123a, 0xd20b0508, 0x91afb14, 0xfff62119, 0xf80fcfe0, 0x122ce6eb, 0x2a0de31f, 0xc301f17, 0x12320f47, 0xd420040c, 0x30aedfc, 0xf9111017, 0x10291724, 0xd0f7f9e9, 0xb24fb27, 0xf1f5e8e3, 0xfdb121e, 0xfb10dcdb, 0xbfef5e4, 0x3bfef9e8, 0x7fb0c16, 0xf2161a4e, 0x1140916, 0xf3030429, 0xbccbf3ba, 0x19fb0303, 0xedd418db, 0x10e1e9c8, 0x12f00905, 0x18072058, 0xf350f22d, 0xf73fe400, 0xec0dec11, 0xf5f007f0, 0x1ff31c16, 0x2190e17, 0xf933e408, 0xe4eb11f2, 0xece91200, 0x5fcfce4, 0x1306f2f6, 0xb13000c, 0xfcfd0003, 0xf7040208, 0xeed01def, 0x11f6fff9, 0xf4ecf4df, 0xbeffd00, 0xf0ecf1da, 0x1ae711fc, 0xf8fc0c08, 0xfffef108, 0x31cfd0c, 0x1f2ff1e7, 0x4ebf9ee, 0xe6e6f100, 0xf7eb2d33, 0xd40118db, 0x8d8e9ce, 0x280dfb0f, 0x1019f0ff, 0x907, 0xfcfdfbfb, 0x1ff0703, 0x1000702, 0x501000b, 0xff0bfafe, 0xfbfff704, 0xfd030801, 0x1fe00fd, 0x3fffcfc, 0xfbf4f6fc, 0xfe000103, 0xfdfe0401, 0x2ff04fb, 0x5fffc01, 0x404fdfe, 0xfb050404, 0xfb03ff, 0x5000407, 0x105ff10, 0xf404fb02, 0x90dfd0d, 0xf8fe07fd, 0xf8fc0004, 0x50c010e, 0x30902fe, 0xd040404, 0xfcfbfbfa, 0xfe01fff7, 0x4f4f7f8, 0xfdff0102, 0xa03fdfe, 0x1fe02ff, 0x5fc04fb, 0xf8e909ec, 0xf00ff04, 0x103f8f1, 0xe9f1f7e8, 0xcf81915, 0xef080809, 0xfd19f805, 0xfbfc0d0a, 0xeef9f1ec, 0xfbe31401, 0x50004f8, 0xfce4f7d7, 0xf9ec07ff, 0x903f5ed, 0x6f802f4, 0x100cff05, 0x303f610, 0xb1df004, 0xf40cfc1d, 0xfb22e5fd, 0xfce3ffc7, 0x25cdfcc0, 0x23e6e2ce, 0xf2b6f8ba, 0x4c6f2cc, 0x1fd918df, 0x1421e400, 0x4fbe9e9, 0xefd908c0, 0x5cd2321, 0x1726f535, 0xf0fb142c, 0xc2ccfdc, 0x1de7f4cc, 0xfff7d5c8, 0x5ca07e4, 0xf3de05d3, 0xf7ba14b7, 0xef5faf6, 0x2a15f711, 0x17370554, 0xd81d2f3a, 0xfd3cf858, 0xe835fc3c, 0xf9faf4f5, 0x1c0a2624, 0xf1230811, 0xc1d1ebb3, 0xbcbeab1, 0x2f24d708, 0x2615e4f6, 0x30c0c00, 0xf3e3352f, 0xe502efe8, 0x10e034f4, 0xe9eaeee6, 0x19080c30, 0xc50dc40, 0xc712f4ff, 0x2101fde2, 0x6e6f2ca, 0xdfb021ed, 0xfa03fdef, 0x1c1ff906, 0x1f2f7, 0xf1d51cff, 0xfff309fc, 0xfcfc0703, 0xeaf603f7, 0x141d0303, 0xe1d317eb, 0x2118f115, 0x1620f619, 0xeb14f417, 0xfd0cf8, 0x1c1ce9f9, 0xfaf40205, 0x10120419, 0xf2ec02fd, 0xcfc800cf, 0x19020314, 0xcbe805c0, 0x2511fff8, 0xcfcebfe, 0xf0c60dd8, 0x20e8f7ef, 0xffff, 0xfafdff01, 0x5050604, 0x1040401, 0x2fefffd, 0xfaf8fdfb, 0xfbfb0105, 0x80404, 0x70afc06, 0xf2f5fbf4, 0xc05f0ff, 0x10303, 0xfe04fefe, 0x1fd0902, 0xfefb0605, 0xff00fcff, 0x4fcfc, 0x8040405, 0xffff0904, 0xc0ff000, 0xfc08fc09, 0xfcfc0504, 0xf703f4f0, 0xf80c04, 0xfffe0906, 0x407080d, 0xfffffaf5, 0xfbf4fcf5, 0xfcf300f4, 0x4f40401, 0xf8fc01fc, 0xbfd0303, 0xfafc04fe, 0x3fcf3eb, 0xf5e8ffde, 0x11e004e5, 0xf4d804e4, 0xfdf80203, 0xc0301eb, 0x400fcf4, 0x1007f706, 0xf2fd06f6, 0xf4fcfe09, 0xff0d0902, 0xfdfef7, 0x2fdfc02, 0x1019ff11, 0x70ffd17, 0xfc0df3fe, 0xee0efd, 0xfef80103, 0xfbf30c0f, 0xe601f0f5, 0x1b15db0b, 0xfd0c000d, 0x9f1271c, 0xf8f1ecfb, 0xf0f90001, 0xfd2f3a, 0xea05ffec, 0xefc702e5, 0x3718e716, 0xf9200820, 0xc270b0f, 0x1d150020, 0xd404e4d4, 0xe8b02b0c, 0xf9e8f8ec, 0xcf9ec10, 0xecf7fded, 0x1711f3ff, 0x161ee7f1, 0xcef1c11, 0x240b182c, 0xd4e904e8, 0xebfb11dd, 0xded07fc, 0x115f20b, 0xe0f22927, 0xebf616e6, 0xf8ede3c8, 0x141b1444, 0xdf180937, 0x50dfa30, 0xe5eff500, 0xe0bfdfc, 0x101910f4, 0x817fc24, 0xdcf000bc, 0x2f02fd11, 0xf7efeed1, 0xacf09fc, 0xfd32f735, 0xddf10c00, 0x2721d908, 0xe20b1d07, 0xf704f900, 0xcf01007, 0xecf30102, 0xf70800ec, 0x4f1f3db, 0x5e41dfa, 0x7170014, 0xf5f5ded0, 0x3f20ee9, 0xffc70de3, 0xfcc901d4, 0xff8282c, 0xd400f8ec, 0x20f01017, 0xfd1a0820, 0xfa0af9ff, 0xd4e1e8c7, 0xfcf403f7, 0x9e715f9, 0x1846f738, 0xecff0b0b, 0xe0dfe20, 0xc9f904f0, 0x1ded07fd, 0xffff, 0xfd020104, 0x3020602, 0x3040101, 0x201fdff, 0xf8fd0101, 0x208fa01, 0x203fefd, 0x3f9f7f4, 0xf8fa100f, 0x104f509, 0xfb04f8f9, 0x3fe0101, 0x4040500, 0x4060b0b, 0xf804f7ff, 0x504fc04, 0xfffb0b02, 0xa0d0004, 0xf8f0f9f9, 0xfbf8fdf9, 0xfbf807fa, 0xf9fc0008, 0xf8001105, 0x3090303, 0x605fffc, 0xfcf9fdfc, 0xfbfc0404, 0xf5fd0502, 0xfaf801f5, 0x2ff01ff, 0x8fc04fd, 0x407fcff, 0xfcf8070c, 0xf30aebf6, 0xcf11300, 0x30fe1ec, 0xdfc03fd, 0x9fa06ff, 0x1fc0c0c, 0xfffbeaee, 0xb07fcfd, 0x8110518, 0xfb14effa, 0x1fbf8f5, 0x4f70f0a, 0x1fbf9f5, 0xfeec02f1, 0xf6eb02fa, 0xf6f0f5d7, 0x9e22708, 0xd5e207dd, 0xfbf2fe00, 0xfbe01f24, 0xdd042024, 0x213cbed3, 0x2e091f3c, 0xf4400949, 0xfc45eb01, 0xec03ecf0, 0xb0c050f, 0xdcb423f0, 0xa01eee7, 0x22fd03f5, 0xd8cda5, 0x7d8f8ec, 0x30705e1, 0x2e16f614, 0xf1f91f2c, 0x1d5dcf2f, 0x10280035, 0xf2ece15, 0xdce516df, 0x30ebfed1, 0xfefbfaf1, 0xfc021f10, 0xe3e6e0bf, 0xfdbb04cd, 0x140104dc, 0x190a03f7, 0xb0a1a41, 0xf3200410, 0xe011f800, 0xefeaefdf, 0x1d17f517, 0x90915, 0x1318f0f8, 0xf4e4e5cd, 0x6f7f5ec, 0x14d13408, 0xf405e4fb, 0x7f81a09, 0x20ef108, 0xff2a011f, 0xfcf4f813, 0xdc0dfded, 0x271d2044, 0xf830ef0f, 0xd6f9fff7, 0x8080c14, 0xe7f7f3f7, 0x2f420f7, 0xcfcf0ec, 0x180f0132, 0xde0df9f8, 0x110ae0dd, 0xfadb19f3, 0x8ecf9bd, 0x2a132641, 0xfa1bfe09, 0xeefae1d3, 0x14edd3c7, 0x6f9e7f8, 0x130f0a16, 0xe3f02e09, 0x7f8f6f7, 0x813060e, 0x8081721, 0x45cdc34, 0xd4eb04e8, 0xfe, 0x10303, 0x1010803, 0x1010202, 0xfdfdfdfd, 0x106faff, 0xfffc0204, 0xfbfd00ff, 0xfcf0f5, 0xa0706fd, 0x400fc07, 0xf0fcff03, 0x9090008, 0x408070a, 0x40afefd, 0xfafffd05, 0xfdfdfeff, 0xf9f909f7, 0x7f408fc, 0xf8fcf4f7, 0xf8f400f7, 0xfcfff4, 0x601f7f8, 0x30306f8, 0xfbf01401, 0x904f7fc, 0xfbfb0503, 0xf3fb02f9, 0x206fdfe, 0xf9fd0a06, 0xfe020809, 0x607fafd, 0xfff8fffb, 0xd0cf8fd, 0xfb05fd17, 0xff0afdf4, 0xfbec111c, 0xf807070b, 0xfe0003fd, 0xfc04f4, 0x1005ef0a, 0xf1f00f03, 0xf5f003ee, 0x1f40005, 0xf4f80404, 0x5f6, 0xb000b12, 0xf105f0f3, 0xfbf805fb, 0xf9fe0009, 0x707fcdc, 0x40bf5f9, 0xa08f2fc, 0x12131e12, 0x164b0530, 0xdceb002d, 0xeceb28f4, 0xf5f5c9b5, 0x11ca19f8, 0xc0020, 0x51adaef, 0x1225eaec, 0xef02224, 0xf6f81a0f, 0xf0ffe517, 0xf0002028, 0xd8fd0d05, 0xae111fc, 0xe0eb0fdb, 0xdd9b1ce8, 0x13ebf9e4, 0xf8cd00ff, 0xe80b1d12, 0x3e5240b, 0x1522133b, 0x3fe303, 0xee0e1341, 0xe428f418, 0x80c1018, 0xf8f704f8, 0x1401e8cf, 0xf7d3e9b8, 0xfcd401dd, 0x8f6f3fa, 0x13f0fef9, 0xfaf3f4de, 0xedb8fcc4, 0x8d80f02, 0xe0a0c21, 0xebf8fdc1, 0xf8c5ffe0, 0x8e101c8, 0x1ee401f4, 0x1106f7fc, 0xf0f03c34, 0xf34be533, 0x19251217, 0xe100d8e9, 0xf306eaf1, 0xbf4f7df, 0x6fe111c, 0xf711f2e3, 0x21f81921, 0xfa030103, 0x72ce013, 0xfdffe807, 0x1b28fd0c, 0xb0ff40a, 0x12f227f3, 0xf8f1f4e7, 0xf1eaeff8, 0xfce00411, 0xf904e300, 0x7f415ff, 0xfc1800ea, 0x10f30c09, 0x1112eefa, 0xf2e406d3, 0x3100f519, 0xe82dee17, 0x109, 0xfb040102, 0x3040400, 0xfdfc02fc, 0xfefdf7f7, 0x1f70401, 0x608f6fc, 0xff000404, 0xf8fcff0b, 0x90aff03, 0xfdfcffff, 0xf908fc05, 0x1fd0401, 0x3000b04, 0xfdfd0302, 0xf901fd01, 0xfe02f9fd, 0xfd0102fa, 0x9fc0bff, 0xf5fc0008, 0xf808f800, 0xc0cf805, 0xf1f00a03, 0xe9e90df0, 0x1b100b07, 0xfef900, 0xf8fd01f9, 0xb11fd0c, 0x30df505, 0xfa060400, 0x20403ff, 0xf90403, 0xf8fc00fd, 0x4f40804, 0x811e4f8, 0xc05f4fc, 0x90af7f0, 0x10080c0d, 0xebfa02f9, 0x3fc01f9, 0x1700f90a, 0xf710f8f9, 0x1317fd11, 0xf808f4fc, 0x8fc00, 0x7070406, 0xd08fcf9, 0xf1f9f2fb, 0x505f9f9, 0xf0f1b2a, 0x528f521, 0xf714f413, 0x18210433, 0xd5f607df, 0xf4bd04bc, 0x3414dff3, 0xa11fee7, 0x3527ec4a, 0xf22bd6e8, 0x230bf500, 0x3feea0e, 0x2fefa0e, 0x10102614, 0xfa180402, 0xff111f4b, 0x25de21f, 0xf83f0a3c, 0xe416e2e7, 0xf0f7f2da, 0x120f0afd, 0x12fceaed, 0x4f92720, 0xef27050f, 0xc18f0e4, 0x8d715d9, 0x2db251d, 0xff2ee2fd, 0xf60ff510, 0xe0e80de5, 0xf7e40cec, 0xd82313, 0xddf90111, 0xfc110212, 0x1d27df13, 0xfefee6e6, 0x2a16e305, 0xdbf302f9, 0x14051309, 0xe0db2bfa, 0x817f10b, 0xf306080f, 0xfd040306, 0xef6170c, 0x140fff17, 0x1138d0cc, 0xe8c10be7, 0xddbfdc6, 0x10f5fa17, 0xe60afe1e, 0xf6091729, 0xe0031d0f, 0xdbf32829, 0x40cf8eb, 0x1c0dd3df, 0x2901f91a, 0xbfdc190d, 0x16080e19, 0xb19f015, 0x104e2bf, 0x26edfbf4, 0xf8fbebf7, 0xfaf5ebdc, 0xff2101f, 0x921010d, 0x617def5, 0x16fbfdec, 0x9e407fd, 0xecf700f1, 0x2beb01f7, 0xeffeeefe, 0xfcf3, 0x8000807, 0x1050304, 0xfd04ff01, 0xfbfef900, 0xfffcf7, 0x4f5fcfb, 0xfffb06fd, 0xfe030307, 0xfbf900fa, 0x2ff0202, 0xfb04f901, 0xffff0702, 0x50400f9, 0x5010301, 0xfd05fb03, 0x5f804, 0xfb02f9f9, 0xcfc05f6, 0x304f8fc, 0xff03f803, 0x12090718, 0x32af919, 0x434f41b, 0xede2, 0x1f01f800, 0x810fc0b, 0xfbfb0402, 0x403fd0b, 0xf1020200, 0x503ffff, 0x504ffff, 0x209fa03, 0xfdfc01f5, 0xfce9ff04, 0x5fd020b, 0xe10fb14, 0xf5f902ef, 0x105f9fc, 0xf080b12, 0xfef90505, 0xeefcf5f9, 0x7ed0dfd, 0x409f70c, 0xe7f30a01, 0xb050102, 0x8fdff00, 0xf302eafa, 0x1005f3ff, 0x7f7fad6, 0x1bec07fe, 0x9100824, 0xfc08181c, 0xf83fe820, 0x12dfb24, 0xd0c014f5, 0xdf8e6e0, 0xeb95320, 0x2ee43c, 0xf50e0720, 0xddfae8f8, 0xfaf00d03, 0xf0219f5, 0xd08e6ea, 0xead50fc5, 0xf8bb21fa, 0x1214d5df, 0xf3ee2632, 0xec2ee723, 0xe8f9f5e4, 0x2e00142a, 0xf117f7e7, 0x1109f9fd, 0xfbec0804, 0xfcf804e7, 0x2005fddd, 0x4e21212, 0xf20e061f, 0xd4ce01f, 0xcff72914, 0xfc10fce9, 0xcebf6, 0x1fbfcf5, 0xf3cbfae6, 0x7ef0c15, 0xf0db0800, 0xe90ef2fe, 0xea00d7, 0x3e35eff9, 0x9fa131c, 0xfd26dffd, 0x404292a, 0xfb171c1c, 0x50ddbe9, 0x7df0615, 0xfb28e502, 0xf2e711fb, 0x7f2ded6, 0x1303f7fc, 0x50bf8ec, 0x1c280813, 0x38fc0c, 0xff070110, 0xf0e40c1d, 0x1004f803, 0xec30182f, 0xfc15dfe6, 0xfdd80cf4, 0x8fb0c25, 0x807fb07, 0xf504f40d, 0xf80b0424, 0xd222c3e, 0xec21eb0b, 0xd8ddf1f0, 0x8e20ff4, 0xecd727f7, 0xfd081018, 0x10fd01fd, 0x1725083f, 0x3ff, 0x1f804f4, 0xf02fdfc, 0xf4f301f5, 0x2fcfe01, 0xfeff0205, 0x203f5fc, 0xfbf805f7, 0xb04f9fa, 0x302fdff, 0xfcf903fa, 0x100fd04, 0xff040401, 0xfdf903fc, 0x9000300, 0xff02fd04, 0xf9fdff04, 0xf902030c, 0xfdfd05fd, 0x600040c, 0xfd0aff11, 0x30202fd, 0xfbf500fc, 0x3fbfa01, 0xfafb1422, 0xf2f5fcf9, 0x6f70904, 0xfc050506, 0xfafc0d0c, 0xf914fa0c, 0xfd04080d, 0x8100112, 0xf707f401, 0xf8fcf4ef, 0xfcef0bfb, 0xf60afe, 0x1202f4fb, 0xf0f602f6, 0x13080514, 0xff04fbf4, 0xf5eb05eb, 0x805fe0e, 0xf1f804ef, 0xebd608e7, 0xeeee1bff, 0x8fc04ff, 0xf7eef1e0, 0x9f6222e, 0xddfb2b33, 0x12df023, 0xdfe705e5, 0xce818f8, 0xfcfce0, 0x1e91a1b, 0xd27d703, 0xed20e8f4, 0xf8df1710, 0xf9fb1dc5, 0x7cc2008, 0xf80b0307, 0xe40ef117, 0xe1fefbec, 0x18f501dd, 0x2d21501, 0xf40bd3cf, 0x1d825dc, 0x13dd1f27, 0xf62ae3e7, 0xb060827, 0xec2bf228, 0xfff910f5, 0x191d0b31, 0x424d1fc, 0xe0f080f, 0xfd10010d, 0xe6d30ce2, 0x1efc07f1, 0xfffcf5, 0xf1d92e27, 0xe63ed2e7, 0x9f40901, 0x1e1ff125, 0xf014fd15, 0xf6180e2c, 0xde030e05, 0xf005ebe8, 0x100f200, 0x606fc02, 0x3afe0110, 0xdbe20ddc, 0x20fffb1b, 0x92004fb, 0xf3f306dd, 0xefc700ec, 0xcf113fe, 0xfe01e602, 0xa1a030c, 0x308113b, 0x28e415, 0xd8e808f8, 0xbe71af9, 0xb04f800, 0x708151c, 0xe4100004, 0x9fdfe03, 0x2d44c4f0, 0xf9edfb09, 0xcfdfd, 0x1f140810, 0xd150f29, 0xd509def3, 0x1c170114, 0xf90026fa, 0xf1ffc3d7, 0x21200f3e, 0xd43d80c, 0xc2cf4f9, 0xb0701f8, 0xe4cc04cf, 0xfc708c7, 0x809, 0x911020f, 0xfafafaf7, 0xfafdfffb, 0xc05040b, 0xf704f5f7, 0x5faff04, 0xf5fefff8, 0x10fdf9fd, 0x3fd0101, 0xfc01f8f6, 0x2f705ff, 0x404fcfc, 0xfffe02fd, 0x2f606f9, 0xfef8faf5, 0xfbf7fcf4, 0x4ff03ff, 0xf9fb01f7, 0x4f51f10, 0xfb0efa09, 0xecf2faea, 0x16050a0f, 0xfa061a26, 0xf21efa04, 0x214fa12, 0xfd090101, 0xfb000d08, 0xebf908f4, 0x803f801, 0x40501, 0x3fcfdf8, 0xf6f7f2f5, 0xe0b0118, 0xf410fb00, 0x2929f413, 0xf4f50102, 0xfc0e030f, 0x40004ff, 0x5, 0xf808f3f6, 0xaf8fff9, 0xf800f3ef, 0x171bf205, 0x152c0617, 0xfd0cfb03, 0x20efa17, 0xf90703e8, 0xf500f9ce, 0x23f00404, 0xf116eafb, 0xf1e01ce4, 0x2307f601, 0x303f8e1, 0x4d80405, 0x1028c000, 0xf4fc09ee, 0xfff404db, 0x18ecfcc8, 0x25f51f11, 0x835c408, 0xf41b0b2b, 0x91cf00b, 0xedf602e3, 0xefd335d, 0xf04cf31a, 0x60d1301, 0xf803e404, 0x8011d16, 0x143edf2b, 0xe7131013, 0xede7f8d4, 0xd00f0e, 0x1111d4dd, 0xe0f7d6, 0x2111e0e5, 0x27ee09f0, 0xfbeb06f5, 0xf4f8cf99, 0x2bdefd09, 0xdcdcfccf, 0xb138f8, 0x50de6f6, 0xf9f91500, 0x2b4da7e6, 0xf5eb3e3e, 0x643ed3e, 0xf62e1547, 0xf8050509, 0xf725172f, 0xe1df315, 0x713e6f5, 0x305e8e7, 0xf3ebeed9, 0xbd80dd2, 0x1ff31926, 0x521ea08, 0x151af700, 0xf0f0010d, 0xb40fc34, 0x12a0b1b, 0xfc0ce8fc, 0xfff40bea, 0x107181f, 0x91f0c2d, 0x4040040, 0xeb32e31a, 0xf6102033, 0xf408ecec, 0xffde15e4, 0x2736ea42, 0xeb11e8f8, 0xfbfa05d9, 0xf8e01936, 0x81d1725, 0xf30b0235, 0xfe27f629, 0xee0ceaf5, 0xff10101c, 0x10e141a, 0xa05, 0xfffbfbf4, 0x2fcfe00, 0xfd03070b, 0x4030100, 0x9ec00, 0xfb0804, 0xf403fc00, 0xcfc0306, 0xfd000302, 0xfb01ff08, 0xff050000, 0xfdf90603, 0x1050104, 0xff01fcf7, 0xf9fdfc, 0x203f5fc, 0xfdf507f9, 0xffff01ff, 0x8030cf0, 0x4f90807, 0xf30ef206, 0xbfb2011, 0xfb1201f9, 0xf5fce0e2, 0x1afa0909, 0xf8040306, 0xf904ece3, 0x1008f5f5, 0xfbe80fff, 0xf9f80bfe, 0xf1ec04f3, 0xfffc010b, 0xf5f21e0f, 0x520052a, 0xf4f5fbfc, 0xe9f109f9, 0xfefb00f8, 0x9fd06ff, 0xf2f107f8, 0xfb08, 0xfefdfc, 0x105f709, 0x1f11fc1b, 0x60cfa00, 0xd10d8ed, 0xe9d412ec, 0x6f9fff5, 0x8080c1b, 0xfff7e5d8, 0xcf30d16, 0x328f1fd, 0xf6d006e0, 0x11eeede3, 0x1e0f1cd, 0xf7b42115, 0x223f10b, 0x1c28df03, 0x9f41b13, 0x5f30bdf, 0x1cf3f120, 0x531f61c, 0xf609fa13, 0x42a042c, 0xd4f24100, 0x10f815, 0x413d4d4, 0xf0ccfce4, 0x17f30ae0, 0x21ede2f0, 0xcdd608ce, 0x3718ec0c, 0xf905eee4, 0xde0fc08, 0xd15f715, 0x1c100838, 0xccdd3c10, 0x1429e80b, 0xc7def605, 0xeac4fcc3, 0x260df708, 0x242cf0e4, 0x20ff1730, 0xea21eaf6, 0xe4af3c44, 0xf645f7fe, 0x1911ff23, 0xdd0afbf0, 0x1f17e1f3, 0x905ffed, 0xe7c612e5, 0xebc93c1f, 0xd0ec0105, 0x1a2ced2b, 0x1210e22, 0xe0e321eb, 0x19fff207, 0xfdeffcf4, 0xd7db08e2, 0x1af1efe4, 0x7ea09e8, 0xffbf90c, 0xd080a, 0x111a0002, 0xf4ed0bec, 0xfce404e8, 0x401fb19, 0x1538fc14, 0xec0cd4f4, 0xf507e7, 0xf7b709d6, 0x11fc0c20, 0xf91ef30c, 0xfd112a22, 0x11bf4f8, 0x50c0f, 0x314f210, 0x224da14, 0xf60bf6f1, 0x12020dfb, 0x4fb, 0xfdf9fffd, 0xfbfcf9, 0x40000f9, 0x4f904fc, 0xf7f3f900, 0xf07, 0xfa0debfc, 0x4f41102, 0xf6fb01f9, 0xfe00ff, 0xfcfc0400, 0xfcff0801, 0x707fd03, 0xff03fe05, 0xfe030107, 0xf7fc050c, 0xf706f1f0, 0x1f20f00, 0x3fbfae9, 0xaef01e8, 0x1c110928, 0xf20f1605, 0xf701f1f1, 0x703f316, 0xf9f5f1dd, 0xff401f2, 0xb04031b, 0xf1fc080f, 0xf80cfdfa, 0x708f5f2, 0xf6f70afd, 0x7050307, 0xe200305, 0xd0df3fb, 0xecf3f8f0, 0x30a0203, 0x3080008, 0xff01fa, 0x30bfc00, 0x707f905, 0x207fc06, 0xf3f8f2f3, 0x1df11207, 0xf2f30801, 0x7fbf91c, 0x330425, 0x423e004, 0xf0b0a09, 0xe8f2ff0c, 0xffff0e00, 0x2ffd9e7, 0x1405eceb, 0x18f2f6fb, 0xfdf70c12, 0xec0719ff, 0x1c19ec14, 0xf9f1ebfd, 0xf9ed13e5, 0x18f8f5e2, 0xffc521f5, 0x7f71c1d, 0xfc23f11a, 0xff15d1e2, 0x2735ede1, 0x4e5f6e3, 0xdece800, 0x101024, 0x4110108, 0xefd61004, 0xdc13ebf6, 0x28e7faf5, 0x1fdf201, 0xf4251d, 0xf707f707, 0xfde82404, 0xf830e5d9, 0xf3b808d8, 0x2c3dbd04, 0x31dec0d, 0xf3da3a1d, 0x3fcd8e4, 0x18dc30f5, 0x510f41a, 0xcb0111d6, 0x4626ee1d, 0xe2e6fde4, 0x80f0418, 0x1d16fc31, 0xde06edf4, 0xdf8f3, 0x9110be0, 0xff0f1220, 0x161c0534, 0xf427e902, 0xee10fae9, 0xfdf1704, 0xfe05fb04, 0xdc09f8f9, 0x14f30f13, 0xf602e7e0, 0xf4c505d1, 0xfe008e0, 0x14e3e3c6, 0x9dbefbf, 0x11d413e3, 0xeedf7e9, 0x14e8dcc8, 0xdc0008, 0xd8e008e1, 0x10faedde, 0xfac718d3, 0x25ffecf8, 0x70216ee, 0xed03fc, 0xfcf8fce8, 0xf8dd04ef, 0xf9e6ebf7, 0x1011ed08, 0x160c0201, 0x5f9, 0x2fef9f8, 0xfff701fc, 0xc04fc00, 0x501fcf9, 0xf7f9fdfd, 0x4010bfd, 0xff02f60d, 0xfe0705fb, 0x5fc00, 0x4040c10, 0xf1050304, 0x30bfd00, 0xf901fd, 0xfffd00ff, 0x405090d, 0xf309f8fc, 0xd12ff20, 0xf817f4fc, 0xf8f1fbf2, 0x15fd0c08, 0x11fde6da, 0xfee60ede, 0x5ecf8f3, 0xefdb1901, 0xfc040013, 0xf8fcf3ee, 0xfadd03dd, 0x3ef0df4, 0xf0ecfdec, 0x1e030210, 0x721041b, 0xfb0ffd09, 0xfb0c04, 0x4fbf4fc, 0x10e0f8, 0x1005f5f8, 0x9fe0200, 0xff, 0x3fffd00, 0x1faf7f8, 0x8fef8fa, 0x108f70d, 0x5f506e9, 0x1f80cfc, 0xfdf204fd, 0xf0c0c14, 0xf9091841, 0xdf11e3ea, 0xfe001314, 0xfb100608, 0xf4faeb0c, 0x130b1231, 0xf710001a, 0xf00deced, 0x2526fb08, 0xdf9e7f4, 0xfffa1221, 0xfa22e8f7, 0xae91307, 0x1018231a, 0x91c0404, 0xff07c5db, 0xdcb805ec, 0xf8bdfaca, 0x15db05ea, 0xfad701f0, 0x2818e0e8, 0x2307b5bb, 0x4814070b, 0xfd2cc90a, 0xf4d6fcd8, 0xfe6f8ec, 0x1ed0fd7, 0xded3329, 0xfc28e9ed, 0xf3e8fcff, 0xd5e1ffd8, 0x33df1a3c, 0xec25e31c, 0x52ee6da, 0x1ef51734, 0xe400edbd, 0xf9b10ac7, 0x1713f9fb, 0x13c82600, 0xea08111c, 0xe4f81307, 0xeed802de, 0xd5d501e9, 0xcf5221f, 0xf50bf4f4, 0x1c110d0c, 0xe041110, 0xf814002b, 0x542d31b, 0xf703e6d2, 0xf6ca0ad9, 0x120ff50c, 0xf07f2ea, 0x3f70111, 0x320fb16, 0xfa01f3ec, 0x4dc140d, 0x40f24, 0xef02f2e1, 0xf8cbf9cd, 0x6bf05e8, 0x341ce0fc, 0x1034e10d, 0xf0c203f, 0xd51ae8ea, 0xf7bc2fff, 0xa0212fe, 0xfefdf8, 0xfdf90300, 0xff07f7fa, 0xf9fa1524, 0xd21eb1f, 0xfc05eff2, 0xef, 0x7f4fdf8, 0xf904fc, 0x1f106fb, 0x9ff070a, 0xf90cff0e, 0x50f0004, 0x106ff0f, 0xf809080c, 0xf501fc01, 0x60305fc, 0xbfc04, 0xff00fafd, 0xfefb0802, 0x5080008, 0x3070604, 0xf708ecfc, 0xbfa0904, 0x30fed08, 0xfc0c091a, 0xfc01f7ec, 0xf4cf0bf4, 0x5fb08f5, 0x1f10e07, 0xfb130a04, 0xfc04fd01, 0xfa03edfd, 0xf9fc130c, 0xf801f9ed, 0xa07020c, 0xffd100b, 0xfbfff6f1, 0xf05ecf4, 0x9fd0eff, 0x1fcf0f8, 0x7ffe908, 0x7ff0a14, 0xfa050205, 0x60bfa05, 0x608f601, 0xfafa0205, 0x603040f, 0xfa08eeff, 0x4fe01f9, 0x130b0605, 0x70fecf7, 0xf4dc0cdc, 0x18fb17fa, 0x21dda14, 0x1228ff14, 0xf10a191d, 0xd6ffe8fc, 0x8f12302, 0xd182840, 0xe030e327, 0x1030c14, 0x1b22e01b, 0xe905180b, 0x1c2def34, 0x19430434, 0xc30000d, 0xe8ecd4bc, 0xf9b6eadb, 0xf9f803f6, 0xd0b0112, 0xd0a0d12, 0xcfe73117, 0xdac9f6df, 0xeca2338, 0x1101fef8, 0xe2ddf307, 0xf70a0c1a, 0x111ce408, 0x181ff000, 0xf320e0, 0xf0d4efda, 0xfde4efd7, 0x16181b34, 0x113fa, 0x9171044, 0xe01ff52e, 0x212f9f4, 0xf707f913, 0xfc16101c, 0x2429e818, 0xd4d900b3, 0x8d11ddd, 0xf08f0e5, 0xdfd606da, 0x1217ddf3, 0x13fa15ed, 0x5fd1720, 0xf4f8edd8, 0x1ee821f8, 0xdddd21fe, 0xfef7f014, 0xed0ae60a, 0x216000c, 0x17110925, 0xfe14ee10, 0xf704eff2, 0x9f80d0a, 0x212fd1c, 0x172f0621, 0xdcfd0ffd, 0xc1af31b, 0xe5080817, 0xfd0eeef7, 0x16d91710, 0xf0f0634, 0xee1301f4, 0x1fec23, 0xfc280700, 0xd0303f4, 0x5f9fcf8, 0xfb04fc, 0x401ff09, 0xf101e9d5, 0x6ce2104, 0x109ee08, 0x909, 0x305f800, 0xfcf8, 0xf705f6, 0xbf80cfd, 0x4080009, 0xf9fdfefb, 0x903ff03, 0x10c0307, 0xf002050b, 0x50404, 0x4030b, 0xfe0aff0f, 0xf10203fd, 0x5fd0300, 0x502faf6, 0xfaf9fb08, 0x1fe07fc, 0xf9f2f7fc, 0xc0cf8fb, 0xeceb04f8, 0xff031d15, 0x1020ff17, 0xfe140208, 0xdf0f3, 0xfaf10bff, 0x5ec04, 0x813f4f4, 0xf3ef0e04, 0xfaf41204, 0x9fefeec, 0x5f6f7f7, 0xfbe30e05, 0xf3eff4d5, 0x1befedec, 0xf4d91d0d, 0xa10fa00, 0xf7fd04ff, 0xf900ff, 0x700010b, 0xf3040406, 0xfefe0b05, 0x914fb21, 0xf00d000c, 0xf9f20bf7, 0x4f40008, 0xf3070c07, 0xdfc17fc, 0xfdf7f815, 0xdcdf1bfb, 0xe1eb04d6, 0xf5f50f1c, 0x519170d, 0x505dfbc, 0x11ed1721, 0xd2df314, 0xf5ee0f1d, 0xf4280515, 0xfff8f5fe, 0x1e03fefd, 0xd2c3fdc0, 0xefc705f8, 0xe9e80705, 0xe8f409fa, 0x2ef02f0, 0xeed1fcc0, 0x1506f4c9, 0x24131d3a, 0xc38dbf0, 0xe8c709d2, 0x2717f71b, 0xfd21e1f6, 0xf4d92217, 0xf9f80810, 0x41403f7, 0xfd04182d, 0xf121da0c, 0xfdf33810, 0xd1e124f2, 0xff8e1c9, 0xffe8f4e7, 0xffe4f6e1, 0x220c0215, 0x1b34b5d9, 0xb53401, 0x22ffa29, 0x8292b37, 0xdf07e2f9, 0xfb15fc0b, 0x110aeb18, 0xf8fd10f8, 0x2013fdf9, 0xe6eb1210, 0x1305fce0, 0x1c1ff0ee, 0xefdfdecd, 0xefcf240d, 0xb16f90f, 0xe7df09df, 0x1bfcfd0b, 0x519df09, 0x303f6ec, 0xff90f0b, 0x5f9fbee, 0xf90bfffb, 0xf6e51f11, 0x1440e71f, 0xec0e1a3a, 0xef13f3ef, 0x9e90cef, 0xf4f508fc, 0x100cf818, 0x420fc15, 0xedf503f5, 0xfcec0cfc, 0xfc0b03, 0x1000405, 0xf90de206, 0x9091901, 0xf2f2edf1, 0xfe02, 0xfaf9feff, 0x201070c, 0xc0007, 0xb070500, 0x8040408, 0xf8070009, 0x505fe04, 0x104f9fa, 0xff090408, 0xfc040000, 0x8080005, 0xff060209, 0xef07ff03, 0x1ff0703, 0xfdfbff00, 0xf2f802ff, 0x60401fe, 0xf9fe0108, 0xfcfc00, 0x1b2fe510, 0xfd0e1304, 0xebdf05e5, 0x1e80ef4, 0xe1d5fce1, 0x18ff04f8, 0xfff7edf8, 0x4f41414, 0xf011eff2, 0xc041204, 0x803fb00, 0xf7f2f9f4, 0xece508df, 0xcf80004, 0x1d06f40d, 0x21b0200, 0xf8ee05f9, 0x2040000, 0xfcfc00fc, 0x9fe0805, 0xfc0ef0fa, 0x70305fd, 0x1f5fbf5, 0xfb00f0f0, 0xc03f8f0, 0x8f404f8, 0x90e0305, 0xb03ffeb, 0xdfb0508, 0x2cf809, 0xfd25fe1f, 0xee18f2fb, 0xe5dbfbbf, 0x4be1cfb, 0xe6d03bf4, 0x18ff000c, 0xf30a0904, 0xd1dd2ea, 0x19040413, 0xd3c8fac4, 0x1608fa05, 0xf70d0c14, 0x2550ff48, 0xd838f120, 0xfa181026, 0x73ff639, 0xed110623, 0xe0d1b0b, 0xcfce05f8, 0x414242f, 0x2028f425, 0xf51dde1a, 0xe60c1e08, 0x1928f010, 0x511fb09, 0x410ede5, 0xfef20f27, 0xf11b05e8, 0xfc132716, 0xd4dbfef8, 0x1f18ccf0, 0x1405f807, 0x18fdfdf8, 0xe7c4202f, 0x1746e9fb, 0x150eee02, 0x110b0cec, 0x714e214, 0x720f418, 0x1017012d, 0x63bf520, 0xebeb1503, 0x1330011f, 0xf0fce4e4, 0xfcc409dd, 0x7f5041b, 0xf8240101, 0xf7ed09fd, 0xf250925, 0xf3fd0404, 0xfffefd1c, 0xef080113, 0x403f8, 0x6f9f7f5, 0x905070d, 0xff1606fd, 0x4ede7ed, 0x191af7f7, 0xe7effdf9, 0x1101f8ed, 0xa030c07, 0xf1e800f0, 0xf0dc00e0, 0xf02faf9, 0xfffc08f8, 0x90104fa, 0xfef701f4, 0xfbf61529, 0xf818fffe, 0xfc081530, 0xf901, 0xf8ff0809, 0xc13fd09, 0x30cff0b, 0xfefe03fc, 0x10040707, 0xfd0cfc08, 0xfcff0102, 0xff00f900, 0x4050304, 0xfb03fe01, 0x7000000, 0xfdfefffb, 0xf703f6fa, 0x3fcfdf2, 0xaff0101, 0xf8070005, 0xf4f3f8ea, 0x1506060b, 0xfd08e1ed, 0xfcce1f08, 0xf8031000, 0x1429f418, 0xe900f7e9, 0xd15ff18, 0x8080509, 0xe2ec2d2c, 0x28fb0f, 0xfa19f01a, 0xfb090900, 0x5fdf2f4, 0xc09f909, 0x623f00b, 0xfaf9faf3, 0x4da15fb, 0xf9f1e8, 0xbfb00f6, 0x8fc00fc, 0x808fd05, 0xfffb00f3, 0x3fa040e, 0xfe05fbfb, 0x3fd0204, 0xf2fb010c, 0xf9f9f3f4, 0xfbe719fc, 0x170a0910, 0xe4e90df7, 0x6f005f0, 0x4f40804, 0xfd040208, 0x21cfb25, 0xd818f916, 0xfb0d1809, 0xb2ed0c3, 0xfca71dc4, 0x14e52400, 0x7fa022a, 0xd0e1d6b3, 0xf5d508e3, 0xfcc909d8, 0xbecfddd, 0x13cb0eda, 0x1b1d1e4a, 0xda2afa14, 0x613f714, 0xf41b081d, 0xeffef9dc, 0x2431e511, 0xdae7ecaf, 0x15a438e8, 0x1104ef15, 0xdb0af2de, 0x17dcefdb, 0xedc310d8, 0xfbcf11f3, 0xf1e616ed, 0x110dccd4, 0x20f801d2, 0x17150c23, 0xccd01b1f, 0x10ce7fb, 0x1d001d20, 0x124bf21d, 0x309f818, 0x407031c, 0xf904d1c9, 0x2c43113, 0xcdcf4, 0x1c001716, 0xeafacbd0, 0xcf12501, 0xd2c001c0, 0xd003ef, 0x1f414ff, 0x3fbf5ec, 0xfff31406, 0xf504f4ef, 0x200007fe, 0xfa05fbfc, 0xfcf900fc, 0xff0c0a15, 0xee03fbfb, 0xf2e71c0c, 0x306fdfc, 0xc09070a, 0xd13fc28, 0xf302eef9, 0xf3051921, 0xeffffb02, 0xfdf500e9, 0x2b23fa1d, 0x633eb1e, 0xa19ed0c, 0x20f0910, 0x108f9fd, 0xf0ef06f4, 0x19120c09, 0xe2f3e5d9, 0xf9d603c4
};
const unsigned char _light_source[] =
{
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x1, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x1, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x2, 0x2, 0x2, 0x2, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x2, 0x2, 0x2, 0x2, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x2, 0x2, 0x2, 0x3, 0x3, 0x3, 0x3, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x3, 0x3, 0x3, 0x3, 0x2, 0x2, 0x2, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x2, 0x2, 0x3, 0x3, 0x3, 0x4, 0x4, 0x4, 0x4, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x4, 0x4, 0x4, 0x4, 0x3, 0x3, 0x3, 0x2, 0x2, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x2, 0x2, 0x2, 0x3, 0x3, 0x4, 0x4, 0x4, 0x5, 0x5, 0x5, 0x5, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x5, 0x5, 0x5, 0x5, 0x4, 0x4, 0x4, 0x3, 0x3, 0x2, 0x2, 0x2, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x2, 0x2, 0x3, 0x3, 0x4, 0x4, 0x4, 0x5, 0x5, 0x5, 0x6, 0x6, 0x6, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x6, 0x6, 0x6, 0x5, 0x5, 0x5, 0x4, 0x4, 0x4, 0x3, 0x3, 0x2, 0x2, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x2, 0x2, 0x3, 0x3, 0x4, 0x4, 0x5, 0x5, 0x5, 0x6, 0x6, 0x6, 0x7, 0x7, 0x7, 0x7, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x7, 0x7, 0x7, 0x7, 0x6, 0x6, 0x6, 0x5, 0x5, 0x5, 0x4, 0x4, 0x3, 0x3, 0x2, 0x2, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x2, 0x3, 0x3, 0x4, 0x4, 0x5, 0x5, 0x6, 0x6, 0x6, 0x7, 0x7, 0x7, 0x8, 0x8, 0x8, 0x8, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x8, 0x8, 0x8, 0x8, 0x7, 0x7, 0x7, 0x6, 0x6, 0x6, 0x5, 0x5, 0x4, 0x4, 0x3, 0x3, 0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x2, 0x2, 0x3, 0x4, 0x4, 0x5, 0x5, 0x6, 0x6, 0x6, 0x7, 0x7, 0x8, 0x8, 0x8, 0x9, 0x9, 0x9, 0x9, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0x9, 0x9, 0x9, 0x9, 0x8, 0x8, 0x8, 0x7, 0x7, 0x6, 0x6, 0x6, 0x5, 0x5, 0x4, 0x4, 0x3, 0x2, 0x2, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x2, 0x3, 0x3, 0x4, 0x4, 0x5, 0x5, 0x6, 0x6, 0x7, 0x7, 0x8, 0x8, 0x9, 0x9, 0x9, 0xa, 0xa, 0xa, 0xa, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xa, 0xa, 0xa, 0xa, 0x9, 0x9, 0x9, 0x8, 0x8, 0x7, 0x7, 0x6, 0x6, 0x5, 0x5, 0x4, 0x4, 0x3, 0x3, 0x2, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x2, 0x3, 0x3, 0x4, 0x5, 0x5, 0x6, 0x6, 0x7, 0x7, 0x8, 0x8, 0x9, 0x9, 0x9, 0xa, 0xa, 0xb, 0xb, 0xb, 0xb, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xb, 0xb, 0xb, 0xb, 0xa, 0xa, 0x9, 0x9, 0x9, 0x8, 0x8, 0x7, 0x7, 0x6, 0x6, 0x5, 0x5, 0x4, 0x3, 0x3, 0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x2, 0x3, 0x4, 0x4, 0x5, 0x5, 0x6, 0x7, 0x7, 0x8, 0x8, 0x9, 0x9, 0xa, 0xa, 0xa, 0xb, 0xb, 0xb, 0xc, 0xc, 0xc, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xc, 0xc, 0xc, 0xb, 0xb, 0xb, 0xa, 0xa, 0xa, 0x9, 0x9, 0x8, 0x8, 0x7, 0x7, 0x6, 0x5, 0x5, 0x4, 0x4, 0x3, 0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x2, 0x3, 0x4, 0x4, 0x5, 0x6, 0x6, 0x7, 0x7, 0x8, 0x9, 0x9, 0xa, 0xa, 0xa, 0xb, 0xb, 0xc, 0xc, 0xc, 0xd, 0xd, 0xd, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xd, 0xd, 0xd, 0xc, 0xc, 0xc, 0xb, 0xb, 0xa, 0xa, 0xa, 0x9, 0x9, 0x8, 0x7, 0x7, 0x6, 0x6, 0x5, 0x4, 0x4, 0x3, 0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x3, 0x4, 0x5, 0x5, 0x6, 0x6, 0x7, 0x8, 0x8, 0x9, 0x9, 0xa, 0xa, 0xb, 0xb, 0xc, 0xc, 0xd, 0xd, 0xd, 0xe, 0xe, 0xe, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xe, 0xe, 0xe, 0xd, 0xd, 0xd, 0xc, 0xc, 0xb, 0xb, 0xa, 0xa, 0x9, 0x9, 0x8, 0x8, 0x7, 0x6, 0x6, 0x5, 0x5, 0x4, 0x3, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x3, 0x4, 0x5, 0x5, 0x6, 0x7, 0x7, 0x8, 0x8, 0x9, 0xa, 0xa, 0xb, 0xb, 0xc, 0xc, 0xd, 0xd, 0xe, 0xe, 0xe, 0xf, 0xf, 0xf, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0xf, 0xf, 0xf, 0xe, 0xe, 0xe, 0xd, 0xd, 0xc, 0xc, 0xb, 0xb, 0xa, 0xa, 0x9, 0x8, 0x8, 0x7, 0x7, 0x6, 0x5, 0x5, 0x4, 0x3, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x2, 0x3, 0x4, 0x5, 0x5, 0x6, 0x7, 0x7, 0x8, 0x9, 0x9, 0xa, 0xa, 0xb, 0xc, 0xc, 0xd, 0xd, 0xe, 0xe, 0xe, 0xf, 0xf, 0x10, 0x10, 0x10, 0x10, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x10, 0x10, 0x10, 0x10, 0xf, 0xf, 0xe, 0xe, 0xe, 0xd, 0xd, 0xc, 0xc, 0xb, 0xa, 0xa, 0x9, 0x9, 0x8, 0x7, 0x7, 0x6, 0x5, 0x5, 0x4, 0x3, 0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x2, 0x3, 0x4, 0x5, 0x5, 0x6, 0x7, 0x7, 0x8, 0x9, 0x9, 0xa, 0xb, 0xb, 0xc, 0xc, 0xd, 0xe, 0xe, 0xe, 0xf, 0xf, 0x10, 0x10, 0x11, 0x11, 0x11, 0x11, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x11, 0x11, 0x11, 0x11, 0x10, 0x10, 0xf, 0xf, 0xe, 0xe, 0xe, 0xd, 0xc, 0xc, 0xb, 0xb, 0xa, 0x9, 0x9, 0x8, 0x7, 0x7, 0x6, 0x5, 0x5, 0x4, 0x3, 0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x2, 0x3, 0x4, 0x5, 0x5, 0x6, 0x7, 0x7, 0x8, 0x9, 0xa, 0xa, 0xb, 0xb, 0xc, 0xd, 0xd, 0xe, 0xe, 0xf, 0xf, 0x10, 0x10, 0x11, 0x11, 0x11, 0x12, 0x12, 0x12, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x12, 0x12, 0x12, 0x11, 0x11, 0x11, 0x10, 0x10, 0xf, 0xf, 0xe, 0xe, 0xd, 0xd, 0xc, 0xb, 0xb, 0xa, 0xa, 0x9, 0x8, 0x7, 0x7, 0x6, 0x5, 0x5, 0x4, 0x3, 0x2, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x4, 0x5, 0x6, 0x7, 0x7, 0x8, 0x9, 0xa, 0xa, 0xb, 0xc, 0xc, 0xd, 0xd, 0xe, 0xf, 0xf, 0x10, 0x10, 0x11, 0x11, 0x12, 0x12, 0x12, 0x13, 0x13, 0x13, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x13, 0x13, 0x13, 0x12, 0x12, 0x12, 0x11, 0x11, 0x10, 0x10, 0xf, 0xf, 0xe, 0xd, 0xd, 0xc, 0xc, 0xb, 0xa, 0xa, 0x9, 0x8, 0x7, 0x7, 0x6, 0x5, 0x4, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x3, 0x4, 0x5, 0x6, 0x7, 0x7, 0x8, 0x9, 0xa, 0xa, 0xb, 0xc, 0xc, 0xd, 0xe, 0xe, 0xf, 0xf, 0x10, 0x11, 0x11, 0x12, 0x12, 0x13, 0x13, 0x13, 0x14, 0x14, 0x14, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x14, 0x14, 0x14, 0x13, 0x13, 0x13, 0x12, 0x12, 0x11, 0x11, 0x10, 0xf, 0xf, 0xe, 0xe, 0xd, 0xc, 0xc, 0xb, 0xa, 0xa, 0x9, 0x8, 0x7, 0x7, 0x6, 0x5, 0x4, 0x3, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x2, 0x3, 0x4, 0x5, 0x6, 0x6, 0x7, 0x8, 0x9, 0xa, 0xa, 0xb, 0xc, 0xc, 0xd, 0xe, 0xe, 0xf, 0x10, 0x10, 0x11, 0x11, 0x12, 0x12, 0x13, 0x13, 0x14, 0x14, 0x15, 0x15, 0x15, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x15, 0x15, 0x15, 0x14, 0x14, 0x13, 0x13, 0x12, 0x12, 0x11, 0x11, 0x10, 0x10, 0xf, 0xe, 0xe, 0xd, 0xc, 0xc, 0xb, 0xa, 0xa, 0x9, 0x8, 0x7, 0x6, 0x6, 0x5, 0x4, 0x3, 0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x5, 0x6, 0x7, 0x8, 0x9, 0x9, 0xa, 0xb, 0xc, 0xc, 0xd, 0xe, 0xf, 0xf, 0x10, 0x10, 0x11, 0x12, 0x12, 0x13, 0x13, 0x14, 0x14, 0x15, 0x15, 0x16, 0x16, 0x16, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x16, 0x16, 0x16, 0x15, 0x15, 0x14, 0x14, 0x13, 0x13, 0x12, 0x12, 0x11, 0x10, 0x10, 0xf, 0xf, 0xe, 0xd, 0xc, 0xc, 0xb, 0xa, 0x9, 0x9, 0x8, 0x7, 0x6, 0x5, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x4, 0x5, 0x6, 0x7, 0x8, 0x8, 0x9, 0xa, 0xb, 0xc, 0xc, 0xd, 0xe, 0xf, 0xf, 0x10, 0x11, 0x11, 0x12, 0x12, 0x13, 0x14, 0x14, 0x15, 0x15, 0x16, 0x16, 0x16, 0x17, 0x17, 0x17, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x17, 0x17, 0x17, 0x16, 0x16, 0x16, 0x15, 0x15, 0x14, 0x14, 0x13, 0x12, 0x12, 0x11, 0x11, 0x10, 0xf, 0xf, 0xe, 0xd, 0xc, 0xc, 0xb, 0xa, 0x9, 0x8, 0x8, 0x7, 0x6, 0x5, 0x4, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x7, 0x8, 0x9, 0xa, 0xb, 0xb, 0xc, 0xd, 0xe, 0xf, 0xf, 0x10, 0x11, 0x11, 0x12, 0x13, 0x13, 0x14, 0x14, 0x15, 0x16, 0x16, 0x17, 0x17, 0x17, 0x18, 0x18, 0x18, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x18, 0x18, 0x18, 0x17, 0x17, 0x17, 0x16, 0x16, 0x15, 0x14, 0x14, 0x13, 0x13, 0x12, 0x11, 0x11, 0x10, 0xf, 0xf, 0xe, 0xd, 0xc, 0xb, 0xb, 0xa, 0x9, 0x8, 0x7, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xa, 0xb, 0xc, 0xd, 0xe, 0xe, 0xf, 0x10, 0x11, 0x11, 0x12, 0x13, 0x13, 0x14, 0x15, 0x15, 0x16, 0x16, 0x17, 0x17, 0x18, 0x18, 0x19, 0x19, 0x19, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x19, 0x19, 0x19, 0x18, 0x18, 0x17, 0x17, 0x16, 0x16, 0x15, 0x15, 0x14, 0x13, 0x13, 0x12, 0x11, 0x11, 0x10, 0xf, 0xe, 0xe, 0xd, 0xc, 0xb, 0xa, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0x9, 0xa, 0xb, 0xc, 0xd, 0xd, 0xe, 0xf, 0x10, 0x11, 0x11, 0x12, 0x13, 0x13, 0x14, 0x15, 0x15, 0x16, 0x17, 0x17, 0x18, 0x18, 0x19, 0x19, 0x1a, 0x1a, 0x1a, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1a, 0x1a, 0x1a, 0x19, 0x19, 0x18, 0x18, 0x17, 0x17, 0x16, 0x15, 0x15, 0x14, 0x13, 0x13, 0x12, 0x11, 0x11, 0x10, 0xf, 0xe, 0xd, 0xd, 0xc, 0xb, 0xa, 0x9, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xc, 0xd, 0xe, 0xf, 0x10, 0x10, 0x11, 0x12, 0x13, 0x13, 0x14, 0x15, 0x16, 0x16, 0x17, 0x17, 0x18, 0x19, 0x19, 0x1a, 0x1a, 0x1b, 0x1b, 0x1b, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1b, 0x1b, 0x1b, 0x1a, 0x1a, 0x19, 0x19, 0x18, 0x17, 0x17, 0x16, 0x16, 0x15, 0x14, 0x13, 0x13, 0x12, 0x11, 0x10, 0x10, 0xf, 0xe, 0xd, 0xc, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0xf, 0x10, 0x11, 0x12, 0x13, 0x13, 0x14, 0x15, 0x16, 0x16, 0x17, 0x18, 0x18, 0x19, 0x19, 0x1a, 0x1b, 0x1b, 0x1b, 0x1c, 0x1c, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1c, 0x1c, 0x1b, 0x1b, 0x1b, 0x1a, 0x19, 0x19, 0x18, 0x18, 0x17, 0x16, 0x16, 0x15, 0x14, 0x13, 0x13, 0x12, 0x11, 0x10, 0xf, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xe, 0xf, 0x10, 0x11, 0x12, 0x12, 0x13, 0x14, 0x15, 0x16, 0x16, 0x17, 0x18, 0x18, 0x19, 0x1a, 0x1a, 0x1b, 0x1b, 0x1c, 0x1c, 0x1d, 0x1d, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1d, 0x1d, 0x1c, 0x1c, 0x1b, 0x1b, 0x1a, 0x1a, 0x19, 0x18, 0x18, 0x17, 0x16, 0x16, 0x15, 0x14, 0x13, 0x12, 0x12, 0x11, 0x10, 0xf, 0xe, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x11, 0x12, 0x13, 0x14, 0x15, 0x15, 0x16, 0x17, 0x18, 0x18, 0x19, 0x1a, 0x1a, 0x1b, 0x1c, 0x1c, 0x1d, 0x1d, 0x1e, 0x1e, 0x1e, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1e, 0x1e, 0x1e, 0x1d, 0x1d, 0x1c, 0x1c, 0x1b, 0x1a, 0x1a, 0x19, 0x18, 0x18, 0x17, 0x16, 0x15, 0x15, 0x14, 0x13, 0x12, 0x11, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x14, 0x15, 0x16, 0x17, 0x18, 0x18, 0x19, 0x1a, 0x1b, 0x1b, 0x1c, 0x1c, 0x1d, 0x1e, 0x1e, 0x1f, 0x1f, 0x1f, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x1f, 0x1f, 0x1f, 0x1e, 0x1e, 0x1d, 0x1c, 0x1c, 0x1b, 0x1b, 0x1a, 0x19, 0x18, 0x18, 0x17, 0x16, 0x15, 0x14, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1b, 0x1c, 0x1d, 0x1d, 0x1e, 0x1e, 0x1f, 0x1f, 0x20, 0x20, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x20, 0x20, 0x1f, 0x1f, 0x1e, 0x1e, 0x1d, 0x1d, 0x1c, 0x1b, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1a, 0x1b, 0x1c, 0x1d, 0x1d, 0x1e, 0x1f, 0x1f, 0x20, 0x20, 0x21, 0x21, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x21, 0x21, 0x20, 0x20, 0x1f, 0x1f, 0x1e, 0x1d, 0x1d, 0x1c, 0x1b, 0x1a, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1d, 0x1e, 0x1f, 0x1f, 0x20, 0x21, 0x21, 0x22, 0x22, 0x23, 0x23, 0x23, 0x23, 0x23, 0x23, 0x23, 0x23, 0x23, 0x23, 0x23, 0x22, 0x22, 0x21, 0x21, 0x20, 0x1f, 0x1f, 0x1e, 0x1d, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x20, 0x21, 0x21, 0x22, 0x23, 0x23, 0x23, 0x24, 0x24, 0x24, 0x24, 0x24, 0x24, 0x24, 0x24, 0x24, 0x23, 0x23, 0x23, 0x22, 0x21, 0x21, 0x20, 0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x1f, 0x20, 0x21, 0x22, 0x22, 0x23, 0x23, 0x24, 0x24, 0x25, 0x25, 0x25, 0x25, 0x25, 0x25, 0x25, 0x25, 0x25, 0x24, 0x24, 0x23, 0x23, 0x22, 0x22, 0x21, 0x20, 0x1f, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x22, 0x23, 0x24, 0x24, 0x25, 0x25, 0x26, 0x26, 0x26, 0x26, 0x26, 0x26, 0x26, 0x26, 0x26, 0x25, 0x25, 0x24, 0x24, 0x23, 0x22, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x21, 0x22, 0x23, 0x24, 0x24, 0x25, 0x26, 0x26, 0x27, 0x27, 0x27, 0x27, 0x27, 0x27, 0x27, 0x27, 0x27, 0x26, 0x26, 0x25, 0x24, 0x24, 0x23, 0x22, 0x21, 0x21, 0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x24, 0x25, 0x26, 0x26, 0x27, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x27, 0x26, 0x26, 0x25, 0x24, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1f, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x23, 0x24, 0x25, 0x26, 0x27, 0x27, 0x28, 0x28, 0x29, 0x29, 0x29, 0x29, 0x29, 0x29, 0x29, 0x28, 0x28, 0x27, 0x27, 0x26, 0x25, 0x24, 0x23, 0x23, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x26, 0x27, 0x28, 0x29, 0x29, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x29, 0x29, 0x28, 0x27, 0x26, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x29, 0x2a, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2a, 0x29, 0x29, 0x28, 0x27, 0x26, 0x25, 0x24, 0x23, 0x23, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x28, 0x29, 0x2a, 0x2b, 0x2b, 0x2c, 0x2c, 0x2c, 0x2c, 0x2c, 0x2b, 0x2b, 0x2a, 0x29, 0x28, 0x28, 0x27, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2b, 0x2c, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2c, 0x2b, 0x2b, 0x2a, 0x29, 0x28, 0x27, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2e, 0x2e, 0x2e, 0x2e, 0x2d, 0x2c, 0x2b, 0x2a, 0x29, 0x28, 0x27, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x2f, 0x2f, 0x2e, 0x2d, 0x2c, 0x2b, 0x2a, 0x29, 0x28, 0x27, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x2f, 0x2e, 0x2d, 0x2c, 0x2b, 0x2a, 0x29, 0x28, 0x27, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x2f, 0x2f, 0x2e, 0x2d, 0x2c, 0x2b, 0x2a, 0x29, 0x28, 0x27, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2e, 0x2e, 0x2e, 0x2e, 0x2d, 0x2c, 0x2b, 0x2a, 0x29, 0x28, 0x27, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2b, 0x2c, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2c, 0x2b, 0x2b, 0x2a, 0x29, 0x28, 0x27, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x28, 0x29, 0x2a, 0x2b, 0x2b, 0x2c, 0x2c, 0x2c, 0x2c, 0x2c, 0x2b, 0x2b, 0x2a, 0x29, 0x28, 0x28, 0x27, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x29, 0x2a, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2a, 0x29, 0x29, 0x28, 0x27, 0x26, 0x25, 0x24, 0x23, 0x23, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x26, 0x27, 0x28, 0x29, 0x29, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x29, 0x29, 0x28, 0x27, 0x26, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x23, 0x24, 0x25, 0x26, 0x27, 0x27, 0x28, 0x28, 0x29, 0x29, 0x29, 0x29, 0x29, 0x29, 0x29, 0x28, 0x28, 0x27, 0x27, 0x26, 0x25, 0x24, 0x23, 0x23, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x24, 0x25, 0x26, 0x26, 0x27, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x27, 0x26, 0x26, 0x25, 0x24, 0x24, 0x23, 0x22, 0x21, 0x20, 0x1f, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x21, 0x22, 0x23, 0x24, 0x24, 0x25, 0x26, 0x26, 0x27, 0x27, 0x27, 0x27, 0x27, 0x27, 0x27, 0x27, 0x27, 0x26, 0x26, 0x25, 0x24, 0x24, 0x23, 0x22, 0x21, 0x21, 0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x22, 0x23, 0x24, 0x24, 0x25, 0x25, 0x26, 0x26, 0x26, 0x26, 0x26, 0x26, 0x26, 0x26, 0x26, 0x25, 0x25, 0x24, 0x24, 0x23, 0x22, 0x22, 0x21, 0x20, 0x1f, 0x1e, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x1f, 0x20, 0x21, 0x22, 0x22, 0x23, 0x23, 0x24, 0x24, 0x25, 0x25, 0x25, 0x25, 0x25, 0x25, 0x25, 0x25, 0x25, 0x24, 0x24, 0x23, 0x23, 0x22, 0x22, 0x21, 0x20, 0x1f, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x20, 0x21, 0x21, 0x22, 0x23, 0x23, 0x23, 0x24, 0x24, 0x24, 0x24, 0x24, 0x24, 0x24, 0x24, 0x24, 0x23, 0x23, 0x23, 0x22, 0x21, 0x21, 0x20, 0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1d, 0x1e, 0x1f, 0x1f, 0x20, 0x21, 0x21, 0x22, 0x22, 0x23, 0x23, 0x23, 0x23, 0x23, 0x23, 0x23, 0x23, 0x23, 0x23, 0x23, 0x22, 0x22, 0x21, 0x21, 0x20, 0x1f, 0x1f, 0x1e, 0x1d, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1a, 0x1b, 0x1c, 0x1d, 0x1d, 0x1e, 0x1f, 0x1f, 0x20, 0x20, 0x21, 0x21, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x21, 0x21, 0x20, 0x20, 0x1f, 0x1f, 0x1e, 0x1d, 0x1d, 0x1c, 0x1b, 0x1a, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1b, 0x1c, 0x1d, 0x1d, 0x1e, 0x1e, 0x1f, 0x1f, 0x20, 0x20, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x21, 0x20, 0x20, 0x1f, 0x1f, 0x1e, 0x1e, 0x1d, 0x1d, 0x1c, 0x1b, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x14, 0x15, 0x16, 0x17, 0x18, 0x18, 0x19, 0x1a, 0x1b, 0x1b, 0x1c, 0x1c, 0x1d, 0x1e, 0x1e, 0x1f, 0x1f, 0x1f, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x1f, 0x1f, 0x1f, 0x1e, 0x1e, 0x1d, 0x1c, 0x1c, 0x1b, 0x1b, 0x1a, 0x19, 0x18, 0x18, 0x17, 0x16, 0x15, 0x14, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x11, 0x12, 0x13, 0x14, 0x15, 0x15, 0x16, 0x17, 0x18, 0x18, 0x19, 0x1a, 0x1a, 0x1b, 0x1c, 0x1c, 0x1d, 0x1d, 0x1e, 0x1e, 0x1e, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1e, 0x1e, 0x1e, 0x1d, 0x1d, 0x1c, 0x1c, 0x1b, 0x1a, 0x1a, 0x19, 0x18, 0x18, 0x17, 0x16, 0x15, 0x15, 0x14, 0x13, 0x12, 0x11, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xe, 0xf, 0x10, 0x11, 0x12, 0x12, 0x13, 0x14, 0x15, 0x16, 0x16, 0x17, 0x18, 0x18, 0x19, 0x1a, 0x1a, 0x1b, 0x1b, 0x1c, 0x1c, 0x1d, 0x1d, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1d, 0x1d, 0x1c, 0x1c, 0x1b, 0x1b, 0x1a, 0x1a, 0x19, 0x18, 0x18, 0x17, 0x16, 0x16, 0x15, 0x14, 0x13, 0x12, 0x12, 0x11, 0x10, 0xf, 0xe, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0xf, 0x10, 0x11, 0x12, 0x13, 0x13, 0x14, 0x15, 0x16, 0x16, 0x17, 0x18, 0x18, 0x19, 0x19, 0x1a, 0x1b, 0x1b, 0x1b, 0x1c, 0x1c, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1d, 0x1c, 0x1c, 0x1b, 0x1b, 0x1b, 0x1a, 0x19, 0x19, 0x18, 0x18, 0x17, 0x16, 0x16, 0x15, 0x14, 0x13, 0x13, 0x12, 0x11, 0x10, 0xf, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xc, 0xd, 0xe, 0xf, 0x10, 0x10, 0x11, 0x12, 0x13, 0x13, 0x14, 0x15, 0x16, 0x16, 0x17, 0x17, 0x18, 0x19, 0x19, 0x1a, 0x1a, 0x1b, 0x1b, 0x1b, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1b, 0x1b, 0x1b, 0x1a, 0x1a, 0x19, 0x19, 0x18, 0x17, 0x17, 0x16, 0x16, 0x15, 0x14, 0x13, 0x13, 0x12, 0x11, 0x10, 0x10, 0xf, 0xe, 0xd, 0xc, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0x9, 0xa, 0xb, 0xc, 0xd, 0xd, 0xe, 0xf, 0x10, 0x11, 0x11, 0x12, 0x13, 0x13, 0x14, 0x15, 0x15, 0x16, 0x17, 0x17, 0x18, 0x18, 0x19, 0x19, 0x1a, 0x1a, 0x1a, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1a, 0x1a, 0x1a, 0x19, 0x19, 0x18, 0x18, 0x17, 0x17, 0x16, 0x15, 0x15, 0x14, 0x13, 0x13, 0x12, 0x11, 0x11, 0x10, 0xf, 0xe, 0xd, 0xd, 0xc, 0xb, 0xa, 0x9, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xa, 0xb, 0xc, 0xd, 0xe, 0xe, 0xf, 0x10, 0x11, 0x11, 0x12, 0x13, 0x13, 0x14, 0x15, 0x15, 0x16, 0x16, 0x17, 0x17, 0x18, 0x18, 0x19, 0x19, 0x19, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x1a, 0x19, 0x19, 0x19, 0x18, 0x18, 0x17, 0x17, 0x16, 0x16, 0x15, 0x15, 0x14, 0x13, 0x13, 0x12, 0x11, 0x11, 0x10, 0xf, 0xe, 0xe, 0xd, 0xc, 0xb, 0xa, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x7, 0x8, 0x9, 0xa, 0xb, 0xb, 0xc, 0xd, 0xe, 0xf, 0xf, 0x10, 0x11, 0x11, 0x12, 0x13, 0x13, 0x14, 0x14, 0x15, 0x16, 0x16, 0x17, 0x17, 0x17, 0x18, 0x18, 0x18, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x18, 0x18, 0x18, 0x17, 0x17, 0x17, 0x16, 0x16, 0x15, 0x14, 0x14, 0x13, 0x13, 0x12, 0x11, 0x11, 0x10, 0xf, 0xf, 0xe, 0xd, 0xc, 0xb, 0xb, 0xa, 0x9, 0x8, 0x7, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x4, 0x5, 0x6, 0x7, 0x8, 0x8, 0x9, 0xa, 0xb, 0xc, 0xc, 0xd, 0xe, 0xf, 0xf, 0x10, 0x11, 0x11, 0x12, 0x12, 0x13, 0x14, 0x14, 0x15, 0x15, 0x16, 0x16, 0x16, 0x17, 0x17, 0x17, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x17, 0x17, 0x17, 0x16, 0x16, 0x16, 0x15, 0x15, 0x14, 0x14, 0x13, 0x12, 0x12, 0x11, 0x11, 0x10, 0xf, 0xf, 0xe, 0xd, 0xc, 0xc, 0xb, 0xa, 0x9, 0x8, 0x8, 0x7, 0x6, 0x5, 0x4, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x5, 0x6, 0x7, 0x8, 0x9, 0x9, 0xa, 0xb, 0xc, 0xc, 0xd, 0xe, 0xf, 0xf, 0x10, 0x10, 0x11, 0x12, 0x12, 0x13, 0x13, 0x14, 0x14, 0x15, 0x15, 0x16, 0x16, 0x16, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x16, 0x16, 0x16, 0x15, 0x15, 0x14, 0x14, 0x13, 0x13, 0x12, 0x12, 0x11, 0x10, 0x10, 0xf, 0xf, 0xe, 0xd, 0xc, 0xc, 0xb, 0xa, 0x9, 0x9, 0x8, 0x7, 0x6, 0x5, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x2, 0x3, 0x4, 0x5, 0x6, 0x6, 0x7, 0x8, 0x9, 0xa, 0xa, 0xb, 0xc, 0xc, 0xd, 0xe, 0xe, 0xf, 0x10, 0x10, 0x11, 0x11, 0x12, 0x12, 0x13, 0x13, 0x14, 0x14, 0x15, 0x15, 0x15, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x15, 0x15, 0x15, 0x14, 0x14, 0x13, 0x13, 0x12, 0x12, 0x11, 0x11, 0x10, 0x10, 0xf, 0xe, 0xe, 0xd, 0xc, 0xc, 0xb, 0xa, 0xa, 0x9, 0x8, 0x7, 0x6, 0x6, 0x5, 0x4, 0x3, 0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x3, 0x4, 0x5, 0x6, 0x7, 0x7, 0x8, 0x9, 0xa, 0xa, 0xb, 0xc, 0xc, 0xd, 0xe, 0xe, 0xf, 0xf, 0x10, 0x11, 0x11, 0x12, 0x12, 0x13, 0x13, 0x13, 0x14, 0x14, 0x14, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x14, 0x14, 0x14, 0x13, 0x13, 0x13, 0x12, 0x12, 0x11, 0x11, 0x10, 0xf, 0xf, 0xe, 0xe, 0xd, 0xc, 0xc, 0xb, 0xa, 0xa, 0x9, 0x8, 0x7, 0x7, 0x6, 0x5, 0x4, 0x3, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x4, 0x4, 0x5, 0x6, 0x7, 0x7, 0x8, 0x9, 0xa, 0xa, 0xb, 0xc, 0xc, 0xd, 0xd, 0xe, 0xf, 0xf, 0x10, 0x10, 0x11, 0x11, 0x12, 0x12, 0x12, 0x13, 0x13, 0x13, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x13, 0x13, 0x13, 0x12, 0x12, 0x12, 0x11, 0x11, 0x10, 0x10, 0xf, 0xf, 0xe, 0xd, 0xd, 0xc, 0xc, 0xb, 0xa, 0xa, 0x9, 0x8, 0x7, 0x7, 0x6, 0x5, 0x4, 0x4, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x2, 0x3, 0x4, 0x5, 0x5, 0x6, 0x7, 0x7, 0x8, 0x9, 0xa, 0xa, 0xb, 0xb, 0xc, 0xd, 0xd, 0xe, 0xe, 0xf, 0xf, 0x10, 0x10, 0x11, 0x11, 0x11, 0x12, 0x12, 0x12, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x12, 0x12, 0x12, 0x11, 0x11, 0x11, 0x10, 0x10, 0xf, 0xf, 0xe, 0xe, 0xd, 0xd, 0xc, 0xb, 0xb, 0xa, 0xa, 0x9, 0x8, 0x7, 0x7, 0x6, 0x5, 0x5, 0x4, 0x3, 0x2, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x2, 0x3, 0x4, 0x5, 0x5, 0x6, 0x7, 0x7, 0x8, 0x9, 0x9, 0xa, 0xb, 0xb, 0xc, 0xc, 0xd, 0xe, 0xe, 0xe, 0xf, 0xf, 0x10, 0x10, 0x11, 0x11, 0x11, 0x11, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x11, 0x11, 0x11, 0x11, 0x10, 0x10, 0xf, 0xf, 0xe, 0xe, 0xe, 0xd, 0xc, 0xc, 0xb, 0xb, 0xa, 0x9, 0x9, 0x8, 0x7, 0x7, 0x6, 0x5, 0x5, 0x4, 0x3, 0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x2, 0x3, 0x4, 0x5, 0x5, 0x6, 0x7, 0x7, 0x8, 0x9, 0x9, 0xa, 0xa, 0xb, 0xc, 0xc, 0xd, 0xd, 0xe, 0xe, 0xe, 0xf, 0xf, 0x10, 0x10, 0x10, 0x10, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x10, 0x10, 0x10, 0x10, 0xf, 0xf, 0xe, 0xe, 0xe, 0xd, 0xd, 0xc, 0xc, 0xb, 0xa, 0xa, 0x9, 0x9, 0x8, 0x7, 0x7, 0x6, 0x5, 0x5, 0x4, 0x3, 0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x3, 0x4, 0x5, 0x5, 0x6, 0x7, 0x7, 0x8, 0x8, 0x9, 0xa, 0xa, 0xb, 0xb, 0xc, 0xc, 0xd, 0xd, 0xe, 0xe, 0xe, 0xf, 0xf, 0xf, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0xf, 0xf, 0xf, 0xe, 0xe, 0xe, 0xd, 0xd, 0xc, 0xc, 0xb, 0xb, 0xa, 0xa, 0x9, 0x8, 0x8, 0x7, 0x7, 0x6, 0x5, 0x5, 0x4, 0x3, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x3, 0x3, 0x4, 0x5, 0x5, 0x6, 0x6, 0x7, 0x8, 0x8, 0x9, 0x9, 0xa, 0xa, 0xb, 0xb, 0xc, 0xc, 0xd, 0xd, 0xd, 0xe, 0xe, 0xe, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xe, 0xe, 0xe, 0xd, 0xd, 0xd, 0xc, 0xc, 0xb, 0xb, 0xa, 0xa, 0x9, 0x9, 0x8, 0x8, 0x7, 0x6, 0x6, 0x5, 0x5, 0x4, 0x3, 0x3, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x2, 0x3, 0x4, 0x4, 0x5, 0x6, 0x6, 0x7, 0x7, 0x8, 0x9, 0x9, 0xa, 0xa, 0xa, 0xb, 0xb, 0xc, 0xc, 0xc, 0xd, 0xd, 0xd, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xe, 0xd, 0xd, 0xd, 0xc, 0xc, 0xc, 0xb, 0xb, 0xa, 0xa, 0xa, 0x9, 0x9, 0x8, 0x7, 0x7, 0x6, 0x6, 0x5, 0x4, 0x4, 0x3, 0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x2, 0x3, 0x4, 0x4, 0x5, 0x5, 0x6, 0x7, 0x7, 0x8, 0x8, 0x9, 0x9, 0xa, 0xa, 0xa, 0xb, 0xb, 0xb, 0xc, 0xc, 0xc, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xd, 0xc, 0xc, 0xc, 0xb, 0xb, 0xb, 0xa, 0xa, 0xa, 0x9, 0x9, 0x8, 0x8, 0x7, 0x7, 0x6, 0x5, 0x5, 0x4, 0x4, 0x3, 0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x2, 0x3, 0x3, 0x4, 0x5, 0x5, 0x6, 0x6, 0x7, 0x7, 0x8, 0x8, 0x9, 0x9, 0x9, 0xa, 0xa, 0xb, 0xb, 0xb, 0xb, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xc, 0xb, 0xb, 0xb, 0xb, 0xa, 0xa, 0x9, 0x9, 0x9, 0x8, 0x8, 0x7, 0x7, 0x6, 0x6, 0x5, 0x5, 0x4, 0x3, 0x3, 0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x2, 0x3, 0x3, 0x4, 0x4, 0x5, 0x5, 0x6, 0x6, 0x7, 0x7, 0x8, 0x8, 0x9, 0x9, 0x9, 0xa, 0xa, 0xa, 0xa, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xb, 0xa, 0xa, 0xa, 0xa, 0x9, 0x9, 0x9, 0x8, 0x8, 0x7, 0x7, 0x6, 0x6, 0x5, 0x5, 0x4, 0x4, 0x3, 0x3, 0x2, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x2, 0x2, 0x3, 0x4, 0x4, 0x5, 0x5, 0x6, 0x6, 0x6, 0x7, 0x7, 0x8, 0x8, 0x8, 0x9, 0x9, 0x9, 0x9, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0xa, 0x9, 0x9, 0x9, 0x9, 0x8, 0x8, 0x8, 0x7, 0x7, 0x6, 0x6, 0x6, 0x5, 0x5, 0x4, 0x4, 0x3, 0x2, 0x2, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x2, 0x3, 0x3, 0x4, 0x4, 0x5, 0x5, 0x6, 0x6, 0x6, 0x7, 0x7, 0x7, 0x8, 0x8, 0x8, 0x8, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x8, 0x8, 0x8, 0x8, 0x7, 0x7, 0x7, 0x6, 0x6, 0x6, 0x5, 0x5, 0x4, 0x4, 0x3, 0x3, 0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x2, 0x2, 0x3, 0x3, 0x4, 0x4, 0x5, 0x5, 0x5, 0x6, 0x6, 0x6, 0x7, 0x7, 0x7, 0x7, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x7, 0x7, 0x7, 0x7, 0x6, 0x6, 0x6, 0x5, 0x5, 0x5, 0x4, 0x4, 0x3, 0x3, 0x2, 0x2, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x2, 0x2, 0x3, 0x3, 0x4, 0x4, 0x4, 0x5, 0x5, 0x5, 0x6, 0x6, 0x6, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x6, 0x6, 0x6, 0x5, 0x5, 0x5, 0x4, 0x4, 0x4, 0x3, 0x3, 0x2, 0x2, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x2, 0x2, 0x2, 0x3, 0x3, 0x4, 0x4, 0x4, 0x5, 0x5, 0x5, 0x5, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x6, 0x5, 0x5, 0x5, 0x5, 0x4, 0x4, 0x4, 0x3, 0x3, 0x2, 0x2, 0x2, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x2, 0x2, 0x3, 0x3, 0x3, 0x4, 0x4, 0x4, 0x4, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x4, 0x4, 0x4, 0x4, 0x3, 0x3, 0x3, 0x2, 0x2, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x2, 0x2, 0x2, 0x3, 0x3, 0x3, 0x3, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x3, 0x3, 0x3, 0x3, 0x2, 0x2, 0x2, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x2, 0x2, 0x2, 0x2, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x2, 0x2, 0x2, 0x2, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x1, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x1, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
};
#endif
| [
"aurimas@niekis.lt"
] | aurimas@niekis.lt |
b3471d724b4f9d976066ab922945c6ef01eacdff | 6bdcc836aef9347c9c678c38706054c375858870 | /src/Common/Physics/SingleRigidBody.hpp | 939d284558f15ea75e6af2b0ebda1937729d3bb9 | [] | no_license | JoshuaMasci/USG | 6139675eba72c0e42e922bed689507073bcefd68 | 00b78e41b9674aa62df6711a74698fa0b23c4109 | refs/heads/master | 2021-10-08T19:10:17.448781 | 2018-12-16T17:22:07 | 2018-12-16T17:22:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461 | hpp | #ifndef SINGLE_RIGIDBODY_HPP
#define SINGLE_RIGIDBODY_HPP
#include "Common/Physics/RigidBody.hpp"
class SingleRigidBody : public RigidBody
{
public:
SingleRigidBody(Entity* entity);
~SingleRigidBody();
void setShape(CollisionShape* shape);
CollisionShape* getShape();
virtual RigidBodyType getType() { return RigidBodyType::SINGLE; };
private:
CollisionShape* shape = nullptr;
btEmptyShape* empty_shape = nullptr;
};
#endif //SINGLE_RIGIDBODY_HPP | [
"Iamshortman@gmail.com"
] | Iamshortman@gmail.com |
1e1e68cc299cbf81d248e8c60108f3f5b5c49dca | 6b6d07176aa6a6116342fbcf0cc3a7aa1d86c65b | /workshop2/05_servo/servo_voorbeeld.ino | a2ca977738f692ca811a044f0ac38d2ebd853a12 | [
"CC0-1.0"
] | permissive | byTheo/ttt-workshop | 4a8cdb9f5ce2af81c22777d39447fe62deab9940 | 9849d32e9ef8752632f9dbd260c6fa9d7520b543 | refs/heads/master | 2021-01-09T20:51:39.132748 | 2016-06-28T17:34:25 | 2016-06-28T17:34:25 | 59,285,122 | 2 | 1 | null | 2016-05-20T11:02:49 | 2016-05-20T10:13:11 | Arduino | UTF-8 | C++ | false | false | 685 | ino | #include <Servo.h>
Servo myservo; // create servo object to control a servo
int potpin = 0; // analog pin used to connect the potentiometer
int val; // variable to read the value from the analog pin
void setup() {
myservo.attach(9); // attaches the servo on pin 9 to the servo object
}
void loop() {
val = analogRead(potpin); // reads the value of the potentiometer (value between 0 and 1023)
val = map(val, 0, 1023, 0, 180); // scale it to use it with the servo (value between 0 and 180)
myservo.write(val); // sets the servo position according to the scaled value
delay(15); // waits for the servo to get there
} | [
"theo.leloux@gmail.com"
] | theo.leloux@gmail.com |
0e1204e36f52e53475d8cbda75eedf906c01f840 | 6dd18dd258b38ddf3061565496d9bb7d982eb1e4 | /14_TemplateClasses/02-TemplatedClasses.cpp | 1043ce8897925c1886c85f6408a12148aca55312 | [] | no_license | seddon-software/cplusplus | 5d67b0ca95d24c2c4911ad6111b1a9a1ba7285bf | bcbdfb6e916ebb08eb8d507dcb18bed8a80fbf82 | refs/heads/master | 2021-06-27T06:04:23.804126 | 2020-12-04T16:38:57 | 2020-12-04T16:38:57 | 174,515,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | cpp | ////////////////////////////////////////////////////////////
//
// Classes using templates
//
////////////////////////////////////////////////////////////
#include <iostream>
using namespace std;
template <typename T = int, int N = 3>
class Array
{
private:
T array[N];
public:
Array(T);
void Print();
};
template <typename T, int N>
Array<T,N>::Array(T x)
{
for(int i = 0; i < N; i++)
array[i] = x;
}
template <typename T, int N>
void Array<T,N>::Print()
{
for(int i = 0; i < N; i++)
cout << array[i] << "\t";
cout << endl;
}
/////
int main()
{
Array<> a(15);
Array<double,70707> b(27.96);
a.Print();
b.Print();
return 0;
}
| [
"seddon-software@keme.co.uk"
] | seddon-software@keme.co.uk |
8d447d36253d79aeb40c232b64a0842656fe308c | 2dfc5c20292572d65f451251b4f8fd98bae0d7d2 | /networktables2/type/ComplexEntryType.h | 3ce88ed9f25165719d99c1e1b3058339a043baae | [] | no_license | mcoffin/wpilib | 6058e1bd47d0473d05de0c74363181732b960c19 | 0001681bf773fe0461520a511705c8a5dba92ea5 | refs/heads/master | 2020-12-24T19:17:11.729049 | 2014-06-24T21:50:19 | 2014-06-24T21:50:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,517 | h | /*
* ComplexEntryType.h
*
* Created on: Sep 24, 2012
* Author: Mitchell Wills
*/
#ifndef COMPLEXENTRYTYPE_H_
#define COMPLEXENTRYTYPE_H_
class ComplexEntryType;
#include "networktables2/type/NetworkTableEntryType.h"
/**
* Represents a non-primitive data type (i.e. not a string, double,
* or boolean).
*/
class ComplexEntryType : public NetworkTableEntryType
{
protected:
ComplexEntryType(TypeId id, const char* name);
public:
virtual ~ComplexEntryType()
{
}
/**
* See {@link NetworkTableEntryType}::isComplex.
*/
virtual bool isComplex();
/**
* Updates the internal representation for an entry of this type with the
* given value.
*
* @param key The name of the field to update.
* @param externalRepresentation The existing data structure to update.
* @param currentInternalValue The value to update the external representation with.
*/
virtual EntryValue internalizeValue(std::string& key, ComplexData& externalRepresentation, EntryValue currentInteralValue) = 0;
/**
* Updates the given external representation for an entry of this type with
* the given internal value.
*
* @param key The name of the field to export.
* @param internalData The current value to reference.
* @param externalRepresentation The external representation to update.
*/
virtual void exportValue(std::string& key, EntryValue internalData, ComplexData& externalRepresentation) = 0;
};
#endif /* COMPLEXENTRYTYPE_H_ */
| [
"rbmj@verizon.net"
] | rbmj@verizon.net |
a95cfcdeef6527b24bc85203ca8d268a02780b63 | 307d3837d31f9e3728af2b62ca51ebf63fe6ec6b | /hall_of_fame/jaewon/152_maxProductSubarray.cpp | d1b9ad539e83cb44dcd3d75322cbab9f9bfc2b24 | [] | no_license | ellynhan/challenge100-codingtest-study | 905043497d154b8a7333ca536e536d013f6e7454 | bcdc6d04f13b12ba80b42e066f9d244d7c2cc698 | refs/heads/master | 2023-09-01T14:10:13.481013 | 2023-08-27T14:38:52 | 2023-08-27T14:38:52 | 401,561,230 | 162 | 176 | null | 2023-09-09T14:56:25 | 2021-08-31T03:30:36 | C++ | UTF-8 | C++ | false | false | 847 | cpp | class Solution {
public:
int maxProduct(vector<int>& nums) {
int dp[20001][2]={0};
int answer = nums[0];
if(nums[0]<0){
dp[0][1] = nums[0];
}else{
dp[0][0] = nums[0];
}
for(int i=1; i<nums.size(); i++){
if(nums[i]==0){
dp[i][0]=0;
}else if(nums[i]>0){
dp[i][0]=max(nums[i],dp[i-1][0]*nums[i]);
dp[i][1]=dp[i-1][1]*nums[i];
}else{
dp[i][0] = max (0, dp[i-1][1]*nums[i]);
if(dp[i-1][0]!=0){
dp[i][1] = dp[i-1][0]*nums[i];
}else{
dp[i][1] = nums[i];
}
}
answer = max(answer, max(dp[i][0],dp[i][1]));
}
return answer;
}
}; | [
"wown252@naver.com"
] | wown252@naver.com |
9bda0aed0b49fd98f8a5c04738c7d9e6454e478f | 90993e6b40799a7011dfea6b962caba704ecd4cc | /fontshaderclass.cpp | fb904aca7b4405a9c456b6d23e97db7497592b62 | [] | no_license | SilverXenolupus/DMArcadeInterface | 454e797b91503b3445d84a5efcfa3d10ae58cd75 | 435b07ed227002beaeb4591a9ee5ea031ac06c5e | refs/heads/master | 2021-01-16T21:23:21.299231 | 2015-06-30T18:23:44 | 2015-06-30T18:28:07 | 38,325,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,171 | cpp | #include "fontshaderclass.h"
FontShaderClass::FontShaderClass()
{
m_vertexShader = 0;
m_pixelShader = 0;
m_layout = 0;
m_constantBuffer = 0;
m_sampleState = 0;
m_pixelBuffer = 0;
}
FontShaderClass::FontShaderClass(const FontShaderClass& other)
{
}
FontShaderClass::~FontShaderClass()
{
}
bool FontShaderClass::Initialize(ID3D11Device* device, HWND hwnd)
{
bool result;
// Initialize the vertex and pixel shaders.
result = InitializeShader(device, hwnd, L"../DMArcadeInterface/font.vs", L"../DMArcadeInterface/font.ps");
if (!result)
{
return false;
}
return true;
}
void FontShaderClass::Shutdown()
{
// Shutdown the vertex and pixel shaders as well as the related objects.
ShutdownShader();
return;
}
bool FontShaderClass::Render(ID3D11DeviceContext* deviceContext, int indexCount, D3DXMATRIX worldMatrix, D3DXMATRIX viewMatrix,
D3DXMATRIX projectionMatrix, ID3D11ShaderResourceView* texture, D3DXVECTOR4 pixelColor)
{
bool result;
// Set the shader parameters that it will use for rendering.
result = SetShaderParameters(deviceContext, worldMatrix, viewMatrix, projectionMatrix, texture, pixelColor);
if (!result)
{
return false;
}
// Now render the prepared buffers with the shader.
RenderShader(deviceContext, indexCount);
return true;
}
bool FontShaderClass::InitializeShader(ID3D11Device* device, HWND hwnd, WCHAR* vsFilename, WCHAR* psFilename)
{
HRESULT result;
ID3D10Blob* errorMessage;
ID3D10Blob* vertexShaderBuffer;
ID3D10Blob* pixelShaderBuffer;
D3D11_INPUT_ELEMENT_DESC polygonLayout[2];
unsigned int numElements;
D3D11_BUFFER_DESC constantBufferDesc;
D3D11_SAMPLER_DESC samplerDesc;
D3D11_BUFFER_DESC pixelBufferDesc;
// Initialize the pointers this function will use to null.
errorMessage = 0;
vertexShaderBuffer = 0;
pixelShaderBuffer = 0;
// Compile the vertex shader code.
result = D3DX11CompileFromFile(vsFilename, NULL, NULL, "FontVertexShader", "vs_5_0", D3D10_SHADER_ENABLE_STRICTNESS, 0, NULL,
&vertexShaderBuffer, &errorMessage, NULL);
if (FAILED(result))
{
// If the shader failed to compile it should have writen something to the error message.
if (errorMessage)
{
OutputShaderErrorMessage(errorMessage, hwnd, vsFilename);
}
// If there was nothing in the error message then it simply could not find the shader file itself.
else
{
MessageBox(hwnd, vsFilename, L"Missing Shader File", MB_OK);
}
return false;
}
// Compile the pixel shader code.
result = D3DX11CompileFromFile(psFilename, NULL, NULL, "FontPixelShader", "ps_5_0", D3D10_SHADER_ENABLE_STRICTNESS, 0, NULL,
&pixelShaderBuffer, &errorMessage, NULL);
if (FAILED(result))
{
// If the shader failed to compile it should have writen something to the error message.
if (errorMessage)
{
OutputShaderErrorMessage(errorMessage, hwnd, psFilename);
}
// If there was nothing in the error message then it simply could not find the file itself.
else
{
MessageBox(hwnd, psFilename, L"Missing Shader File", MB_OK);
}
return false;
}
// Create the vertex shader from the buffer.
result = device->CreateVertexShader(vertexShaderBuffer->GetBufferPointer(), vertexShaderBuffer->GetBufferSize(), NULL,
&m_vertexShader);
if (FAILED(result))
{
return false;
}
// Create the vertex shader from the buffer.
result = device->CreatePixelShader(pixelShaderBuffer->GetBufferPointer(), pixelShaderBuffer->GetBufferSize(), NULL,
&m_pixelShader);
if (FAILED(result))
{
return false;
}
// Create the vertex input layout description.
// This setup needs to match the VertexType stucture in the ModelClass and in the shader.
polygonLayout[0].SemanticName = "POSITION";
polygonLayout[0].SemanticIndex = 0;
polygonLayout[0].Format = DXGI_FORMAT_R32G32B32_FLOAT;
polygonLayout[0].InputSlot = 0;
polygonLayout[0].AlignedByteOffset = 0;
polygonLayout[0].InputSlotClass = D3D11_INPUT_PER_VERTEX_DATA;
polygonLayout[0].InstanceDataStepRate = 0;
polygonLayout[1].SemanticName = "TEXCOORD";
polygonLayout[1].SemanticIndex = 0;
polygonLayout[1].Format = DXGI_FORMAT_R32G32_FLOAT;
polygonLayout[1].InputSlot = 0;
polygonLayout[1].AlignedByteOffset = D3D11_APPEND_ALIGNED_ELEMENT;
polygonLayout[1].InputSlotClass = D3D11_INPUT_PER_VERTEX_DATA;
polygonLayout[1].InstanceDataStepRate = 0;
// Get a count of the elements in the layout.
numElements = sizeof(polygonLayout) / sizeof(polygonLayout[0]);
// Create the vertex input layout.
result = device->CreateInputLayout(polygonLayout, numElements, vertexShaderBuffer->GetBufferPointer(),
vertexShaderBuffer->GetBufferSize(), &m_layout);
if (FAILED(result))
{
return false;
}
// Release the vertex shader buffer and pixel shader buffer since they are no longer needed.
vertexShaderBuffer->Release();
vertexShaderBuffer = 0;
pixelShaderBuffer->Release();
pixelShaderBuffer = 0;
// Setup the description of the dynamic constant buffer that is in the vertex shader.
constantBufferDesc.Usage = D3D11_USAGE_DYNAMIC;
constantBufferDesc.ByteWidth = sizeof(ConstantBufferType);
constantBufferDesc.BindFlags = D3D11_BIND_CONSTANT_BUFFER;
constantBufferDesc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE;
constantBufferDesc.MiscFlags = 0;
constantBufferDesc.StructureByteStride = 0;
// Create the constant buffer pointer so we can access the vertex shader constant buffer from within this class.
result = device->CreateBuffer(&constantBufferDesc, NULL, &m_constantBuffer);
if (FAILED(result))
{
return false;
}
// Create a texture sampler state description.
samplerDesc.Filter = D3D11_FILTER_MIN_MAG_MIP_LINEAR;
samplerDesc.AddressU = D3D11_TEXTURE_ADDRESS_WRAP;
samplerDesc.AddressV = D3D11_TEXTURE_ADDRESS_WRAP;
samplerDesc.AddressW = D3D11_TEXTURE_ADDRESS_WRAP;
samplerDesc.MipLODBias = 0.0f;
samplerDesc.MaxAnisotropy = 1;
samplerDesc.ComparisonFunc = D3D11_COMPARISON_ALWAYS;
samplerDesc.BorderColor[0] = 0;
samplerDesc.BorderColor[1] = 0;
samplerDesc.BorderColor[2] = 0;
samplerDesc.BorderColor[3] = 0;
samplerDesc.MinLOD = 0;
samplerDesc.MaxLOD = D3D11_FLOAT32_MAX;
// Create the texture sampler state.
result = device->CreateSamplerState(&samplerDesc, &m_sampleState);
if (FAILED(result))
{
return false;
}
// Setup the description of the dynamic pixel constant buffer that is in the pixel shader.
pixelBufferDesc.Usage = D3D11_USAGE_DYNAMIC;
pixelBufferDesc.ByteWidth = sizeof(PixelBufferType);
pixelBufferDesc.BindFlags = D3D11_BIND_CONSTANT_BUFFER;
pixelBufferDesc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE;
pixelBufferDesc.MiscFlags = 0;
pixelBufferDesc.StructureByteStride = 0;
// Create the pixel constant buffer pointer so we can access the pixel shader constant buffer from within this class.
result = device->CreateBuffer(&pixelBufferDesc, NULL, &m_pixelBuffer);
if (FAILED(result))
{
return false;
}
return true;
}
void FontShaderClass::ShutdownShader()
{
// Release the pixel constant buffer.
if (m_pixelBuffer)
{
m_pixelBuffer->Release();
m_pixelBuffer = 0;
}
// Release the sampler state.
if (m_sampleState)
{
m_sampleState->Release();
m_sampleState = 0;
}
// Release the constant buffer.
if (m_constantBuffer)
{
m_constantBuffer->Release();
m_constantBuffer = 0;
}
// Release the layout.
if (m_layout)
{
m_layout->Release();
m_layout = 0;
}
// Release the pixel shader.
if (m_pixelShader)
{
m_pixelShader->Release();
m_pixelShader = 0;
}
// Release the vertex shader.
if (m_vertexShader)
{
m_vertexShader->Release();
m_vertexShader = 0;
}
return;
}
void FontShaderClass::OutputShaderErrorMessage(ID3D10Blob* errorMessage, HWND hwnd, WCHAR* shaderFilename)
{
char* compileErrors;
unsigned long bufferSize, i;
ofstream fout;
// Get a pointer to the error message text buffer.
compileErrors = (char*)(errorMessage->GetBufferPointer());
// Get the length of the message.
bufferSize = errorMessage->GetBufferSize();
// Open a file to write the error message to.
fout.open("shader-error.txt");
// Write out the error message.
for (i = 0; i<bufferSize; i++)
{
fout << compileErrors[i];
}
// Close the file.
fout.close();
// Release the error message.
errorMessage->Release();
errorMessage = 0;
// Pop a message up on the screen to notify the user to check the text file for compile errors.
MessageBox(hwnd, L"Error compiling shader. Check shader-error.txt for message.", shaderFilename, MB_OK);
return;
}
bool FontShaderClass::SetShaderParameters(ID3D11DeviceContext* deviceContext, D3DXMATRIX worldMatrix, D3DXMATRIX viewMatrix,
D3DXMATRIX projectionMatrix, ID3D11ShaderResourceView* texture, D3DXVECTOR4 pixelColor)
{
HRESULT result;
D3D11_MAPPED_SUBRESOURCE mappedResource;
ConstantBufferType* dataPtr;
unsigned int bufferNumber;
PixelBufferType* dataPtr2;
// Lock the constant buffer so it can be written to.
result = deviceContext->Map(m_constantBuffer, 0, D3D11_MAP_WRITE_DISCARD, 0, &mappedResource);
if (FAILED(result))
{
return false;
}
// Get a pointer to the data in the constant buffer.
dataPtr = (ConstantBufferType*)mappedResource.pData;
// Transpose the matrices to prepare them for the shader.
D3DXMatrixTranspose(&worldMatrix, &worldMatrix);
D3DXMatrixTranspose(&viewMatrix, &viewMatrix);
D3DXMatrixTranspose(&projectionMatrix, &projectionMatrix);
// Copy the matrices into the constant buffer.
dataPtr->world = worldMatrix;
dataPtr->view = viewMatrix;
dataPtr->projection = projectionMatrix;
// Unlock the constant buffer.
deviceContext->Unmap(m_constantBuffer, 0);
// Set the position of the constant buffer in the vertex shader.
bufferNumber = 0;
// Now set the constant buffer in the vertex shader with the updated values.
deviceContext->VSSetConstantBuffers(bufferNumber, 1, &m_constantBuffer);
// Set shader texture resource in the pixel shader.
deviceContext->PSSetShaderResources(0, 1, &texture);
// Lock the pixel constant buffer so it can be written to.
result = deviceContext->Map(m_pixelBuffer, 0, D3D11_MAP_WRITE_DISCARD, 0, &mappedResource);
if (FAILED(result))
{
return false;
}
// Get a pointer to the data in the pixel constant buffer.
dataPtr2 = (PixelBufferType*)mappedResource.pData;
// Copy the pixel color into the pixel constant buffer.
dataPtr2->pixelColor = pixelColor;
// Unlock the pixel constant buffer.
deviceContext->Unmap(m_pixelBuffer, 0);
// Set the position of the pixel constant buffer in the pixel shader.
bufferNumber = 0;
// Now set the pixel constant buffer in the pixel shader with the updated value.
deviceContext->PSSetConstantBuffers(bufferNumber, 1, &m_pixelBuffer);
return true;
}
void FontShaderClass::RenderShader(ID3D11DeviceContext* deviceContext, int indexCount)
{
// Set the vertex input layout.
deviceContext->IASetInputLayout(m_layout);
// Set the vertex and pixel shaders that will be used to render the triangles.
deviceContext->VSSetShader(m_vertexShader, NULL, 0);
deviceContext->PSSetShader(m_pixelShader, NULL, 0);
// Set the sampler state in the pixel shader.
deviceContext->PSSetSamplers(0, 1, &m_sampleState);
// Render the triangles.
deviceContext->DrawIndexed(indexCount, 0, 0);
return;
} | [
"Xenolupus@gmail.com"
] | Xenolupus@gmail.com |
8eb8c34504b497b27c7121bd723107e44069f130 | dc5a8a2b4e215ef674b686f7aaa3e38c18b8e502 | /Pet Database Project/BubbleSortDecreasing.h | 05327129082a40ba96c10a8c218aea461709204a | [] | no_license | msuethan/CSE-335-Projects | 18d012a22e7b937f0d2d8cc5d272e1694e44265c | ba31fb667624e34c2f22d072f1d3610f5bf76337 | refs/heads/master | 2020-04-04T17:57:31.529593 | 2018-11-05T01:47:49 | 2018-11-05T01:47:49 | 156,143,727 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | h | #ifndef BUBBLESORTDECREASING_H
#define BUBBLESORTDECREASING_H
#include "BubbleSortTemplate.h"
class BubbleSortDecreasing: public BubbleSortTemplate{
public:
virtual bool needSwap(SortableVector* sv, int i, int j)const override{
return sv->smaller(i,j);
}
};
#endif /* BUBBLESORTDECREASING_H */
| [
"noreply@github.com"
] | msuethan.noreply@github.com |
dd13b9d52ebc728576eab1076ef6cb991e631193 | 7923d84edbd6956d8e3e501bd0f88669b15c61ce | /src/algorithms/implementation/cut_the_sticks/cut_the_sticks.h | e3698bb19db39898a372fdbf4a610010dcc823d4 | [
"MIT"
] | permissive | bmgandre/hackerrank-cpp | bbce1b912ee78b413408118b24a7373aa072e2fc | f4af5777afba233c284790e02c0be7b82108c677 | refs/heads/master | 2023-01-18T19:18:21.630856 | 2020-12-01T00:49:20 | 2020-12-01T00:49:20 | 105,839,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | h | #pragma once
namespace hackerrank {
namespace bmgandre {
namespace algorithms {
namespace implementation {
class cut_the_sticks
{
public:
static void solve();
};
} // namespace implementation
} // namespace algorithms
} // namespace bmgandre
} // namespace hackerrank
| [
"bmg.andre@gmail.com"
] | bmg.andre@gmail.com |
830565df19e3768886b56f8df62e70332d958346 | 812264ab9543e17f15778fb3bc1d3c569485f5f9 | /OPCUAHelpers.cpp | e194d6e0a2e1c2db8da06f1357051e989dcd070b | [] | no_license | tuxroger/decakelauncher | b4bbc8f2980d14b3f1bf8ea80b1f3865736b4962 | d27e00ad57098da23e4e9b471eac6571fa74c645 | refs/heads/master | 2023-03-07T06:23:34.709621 | 2021-02-22T07:25:13 | 2021-02-22T07:25:13 | 341,109,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,051 | cpp | #if 0
#include "OPCUAHelpers.h"
std::shared_ptr<spdlog::logger> OPCUAHelpers::opcuaHelpersLogger_;
bool OPCUAHelpers::OPCUAIsNumber(UA_Variant variant)
{
return (UA_Variant_hasScalarType(&variant, &UA_TYPES[UA_TYPES_INT16]) ||
UA_Variant_hasScalarType(&variant, &UA_TYPES[UA_TYPES_INT32]) ||
UA_Variant_hasScalarType(&variant, &UA_TYPES[UA_TYPES_INT64]) ||
UA_Variant_hasScalarType(&variant, &UA_TYPES[UA_TYPES_UINT16]) ||
UA_Variant_hasScalarType(&variant, &UA_TYPES[UA_TYPES_UINT32]) ||
UA_Variant_hasScalarType(&variant, &UA_TYPES[UA_TYPES_UINT64]));
}
int OPCUAHelpers::OPCUAGetNumberValue(UA_Variant variant)
{
int number = 0;
if (variant.type == &UA_TYPES[UA_TYPES_INT16]) number = static_cast<int>(*(UA_Int16*)variant.data);
if (variant.type == &UA_TYPES[UA_TYPES_INT32]) number = static_cast<int>(*(UA_Int32*)variant.data);
if (variant.type == &UA_TYPES[UA_TYPES_INT64]) number = static_cast<int>(*(UA_Int64*)variant.data);
if (variant.type == &UA_TYPES[UA_TYPES_UINT16]) number = static_cast<int>(*(UA_UInt16*)variant.data);
if (variant.type == &UA_TYPES[UA_TYPES_UINT32]) number = static_cast<int>(*(UA_UInt32*)variant.data);
if (variant.type == &UA_TYPES[UA_TYPES_UINT64]) number = static_cast<int>(*(UA_UInt64*)variant.data);
return number;
}
bool OPCUAHelpers::OPCUAReadNumber(UA_NodeId nodeId, int* retval)
{
UA_Variant value;
UA_Variant_init(&value);
bool ret = true;
UA_StatusCode status = UA_Client_readValueAttribute(client_, nodeId, &value);
if ((status == UA_STATUSCODE_GOOD) && OPCUAIsNumber(value))
{
*retval = OPCUAGetNumberValue(value);
}
else
{
launcherLogger_->error("DecakeLauncher::OPCUAReadNumber: Error while calling UA_Client_readValueAttribute. Node '{}'. Status '{}'. Error '{}'", (char*)nodeId.identifier.string.data, status, UA_StatusCode_name(status));
ret = false;
}
UA_Variant_clear(&value);
return ret;
}
bool OPCUAHelpers::OPCUAIsBoolean(UA_Variant variant)
{
return UA_Variant_hasScalarType(&variant, &UA_TYPES[UA_TYPES_BOOLEAN]);
}
bool OPCUAHelpers::OPCUAGetBooleanValue(UA_Variant variant)
{
bool b = false;
UA_Boolean ua_b = *(UA_Boolean*)variant.data;
b = static_cast<bool>(ua_b);
return b;
}
bool OPCUAHelpers::OPCUAReadBoolean(UA_NodeId nodeId, bool* retval)
{
UA_Variant value;
UA_Variant_init(&value);
bool ret = true;
UA_StatusCode status = UA_Client_readValueAttribute(client_, nodeId, &value);
if ((status == UA_STATUSCODE_GOOD) && OPCUAIsNumber(value))
{
*retval = OPCUAGetBooleanValue(value);
}
else
{
launcherLogger_->error("DecakeLauncher::OPCUAReadBoolean: Error while calling UA_Client_readValueAttribute. Node '{}'. Status '{}'. Error '{}'", (char*)nodeId.identifier.string.data, status, UA_StatusCode_name(status));
ret = false;
}
UA_Variant_clear(&value);
return ret;
}
bool OPCUAHelpers::OPCUAIsString(UA_Variant variant)
{
return (UA_Variant_hasScalarType(&variant, &UA_TYPES[UA_TYPES_STRING]));
}
std::string OPCUAHelpers::OPCUAGetStringValue(UA_Variant variant)
{
UA_String s;
if (variant.type == &UA_TYPES[UA_TYPES_STRING])
{
s = *(UA_String*)variant.data;
std::string ret((const char*)s.data, s.length);
return ret;
}
return "";
}
bool OPCUAHelpers::OPCUAReadString(UA_NodeId nodeId, std::string& retval)
{
UA_Variant value;
UA_Variant_init(&value);
bool ret = true;
UA_StatusCode status = UA_Client_readValueAttribute(client_, nodeId, &value);
if ((status == UA_STATUSCODE_GOOD) && OPCUAIsNumber(value))
{
retval = OPCUAGetStringValue(value);
}
else
{
launcherLogger_->error("DecakeLauncher::OPCUAReadString: Error while calling UA_Client_readValueAttribute. Node '{}'. Status '{}'. Error '{}'", (char*)nodeId.identifier.string.data, status, UA_StatusCode_name(status));
ret = false;
}
UA_Variant_clear(&value);
return ret;
}
bool OPCUAHelpers::waitBooleanCondition(UA_NodeId nodeId, bool expected, int timeoutSec, int maxRetry)
{
launcherLogger_->info("DecakeLauncher::waitBooleanCondition");
bool readValue = false;
time_t before = time(NULL);
bool timeout = false;
int retry = 0;
do
{
time_t after = time(NULL);
timeout = (after - before) > timeoutSec; // timeout
if (!OPCUAReadBoolean(nodeId, &readValue))
{
launcherLogger_->error("Error while reading node '{}'.", (char*)nodeId.identifier.string.data);
retry++;
}
launcherLogger_->info("NID: {} Expected: {}. Read: {}. Elapsed: {} sec.", (char*)(nodeId.identifier.string.data), expected, readValue, (after - before));
Sleep(1000);
} while ((timeout == false) && (readValue != expected) && (retry < maxRetry));
return !timeout;
}
bool OPCUAHelpers::waitIntCondition(UA_NodeId nodeId, const std::list<int>& finalValues, int timeoutSec, int maxRetry)
{
return false;
}
bool OPCUAHelpers::waitIntConditionDescription(UA_NodeId nodeId, const std::list<int>& finalValues, int timeoutSec, UA_NodeId nodeIdDesc, int maxRetry)
{
return false;
}
#endif | [
"roger.tarres@hp.com"
] | roger.tarres@hp.com |
79a78806f0d9db862a61d1ffd7b0c4ad932ce976 | 3d7c2de12fe9e107eac972bc5be834f13876644b | /Heap/test.cpp | 412c589e56a0742c634041a2d24785a3ef409f5a | [] | no_license | shah-antriksh/Coding | abdb2f14a9a35da54d3527e454d5c3664c65176f | c5d2b16de9dfdca5a45d7b546c5eb48ba8f46d57 | refs/heads/master | 2020-12-25T14:12:49.186225 | 2016-08-06T17:31:15 | 2016-08-06T17:31:15 | 64,283,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 401 | cpp |
#include<iostream>
#include<algorithm>
#include<queue>
#include<math.h>
#include<vector>
using namespace std;
struct min_s
{
bool operator()(int a,int b)
{
if (a>b)
return true;
else
return false;
}
};
int main()
{
priority_queue<int, vector<int>, min_s> MH;
MH.push(7);
MH.push(5);
MH.push(6);
cout<<MH.top();MH.pop();
cout<<MH.top();MH.pop();
cout<<MH.top();MH.pop();
return 0;
}
| [
"noreply@github.com"
] | shah-antriksh.noreply@github.com |
79afa8d227b12e5c18174a5bf65f39c0c0d56577 | 091afb7001e86146209397ea362da70ffd63a916 | /inst/include/nt2/include/functions/simd/is_ord.hpp | 2ba5abab3300741268b07a85b84b165fd522b8b9 | [] | no_license | RcppCore/RcppNT2 | f156b58c08863243f259d1e609c9a7a8cf669990 | cd7e548daa2d679b6ccebe19744b9a36f1e9139c | refs/heads/master | 2021-01-10T16:15:16.861239 | 2016-02-02T22:18:25 | 2016-02-02T22:18:25 | 50,460,545 | 15 | 1 | null | 2019-11-15T22:08:50 | 2016-01-26T21:29:34 | C++ | UTF-8 | C++ | false | false | 179 | hpp | #ifndef NT2_INCLUDE_FUNCTIONS_SIMD_IS_ORD_HPP_INCLUDED
#define NT2_INCLUDE_FUNCTIONS_SIMD_IS_ORD_HPP_INCLUDED
#include <nt2/predicates/include/functions/simd/is_ord.hpp>
#endif
| [
"kevinushey@gmail.com"
] | kevinushey@gmail.com |
f3d11d698324c0e681438dd891a4a907ca263f54 | a443da5bae3933763393da5ceaddcaa899267a86 | /mainwindow.cpp | bc2c6ea83229460dd68e56812377aea5337dd633 | [] | no_license | zhiyuan-lin/QWeb | a83212f64219d511c3024f3a7dbfab19ec61600d | f827ceeebbf66c8999ead4542a13d143e61c0868 | refs/heads/master | 2021-06-09T10:21:42.994752 | 2016-11-25T10:50:31 | 2016-11-25T10:50:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | #include "mainwindow.h"
#include <QWidget>
#include <QVBoxLayout>
MainWindow::MainWindow(QWidget *parent, Qt::WindowFlags flags)
: QMainWindow(parent, flags),
m_webTabWidget(new WebTabWidget(this))
{
// setWindowFlags(Qt::Window | Qt::FramelessWindowHint); // TODO
QWidget *centralWidget = new QWidget(this);
QVBoxLayout *layout = new QVBoxLayout;
layout->setSpacing(0);
layout->setMargin(0);
layout->addWidget(m_webTabWidget);
centralWidget->setLayout(layout);
setCentralWidget(centralWidget);
}
MainWindow::~MainWindow()
{
}
| [
"edsgerlin@gmail.com"
] | edsgerlin@gmail.com |
c98df35ab052c0db393d959452e0b0b7a7c5ec0f | 38ef9efb850ff03f1c813a667c43b95f239a58ed | /Camera.cpp | c67afd9941bc5d11fdd42c65505a0d51fd39e5cd | [] | no_license | DanielZajkowski/OpenGLapp | 27cc36e7f5f75ca158313421cbe2d191bb83f3e3 | 929afea3163a6f23fd41100d75176305e0d1f657 | refs/heads/master | 2023-06-11T10:54:20.458542 | 2021-06-25T06:41:03 | 2021-06-25T06:41:03 | 369,150,721 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,810 | cpp | #include "Camera.h"
Camera::Camera()
{
position = glm::vec3(0.0f, 0.0f, 0.0f);
front = glm::vec3(0.0f, 0.0f, 0.0f);
up = glm::vec3(0.0f, 0.0f, 0.0f);
right = glm::vec3(0.0f, 0.0f, 0.0f);
worldUp = glm::vec3(0.0f, 0.0f, 0.0f);
yaw = 0.0f;
pitch = 0.0f;
moveSpeed = 0.0f;
turnSpeed = 0.0f;
}
Camera::Camera(glm::vec3 startPosition, glm::vec3 startUp, GLfloat startYaw, GLfloat startPitch, GLfloat startMoveSpeed, GLfloat startTurnSpeed)
{
position = startPosition;
worldUp = startUp;
yaw = startYaw;
pitch = startPitch;
front = glm::vec3(0.0f, 0.0f, 0.0f);
moveSpeed = startMoveSpeed;
turnSpeed = startTurnSpeed;
Update();
}
Camera::~Camera()
{
}
void Camera::KeyControl(bool* keys, GLfloat deltaTime)
{
GLfloat velocity = moveSpeed * deltaTime;
if (keys[GLFW_KEY_W])
{
position += front * velocity;
}
if (keys[GLFW_KEY_S])
{
position -= front * velocity;
}
if (keys[GLFW_KEY_A])
{
position -= right * velocity;
}
if (keys[GLFW_KEY_D])
{
position += right * velocity;
}
}
void Camera::MouseControl(GLfloat xChange, GLfloat yChange)
{
xChange *= turnSpeed;
yChange *= turnSpeed;
yaw += xChange;
pitch += yChange;
if (pitch > 89.0f)
pitch = 89.0f;
if (pitch < -89.0f)
pitch = -89.0f;
Update();
}
glm::mat4 Camera::CalculateViewMatrix()
{
return glm::lookAt(position, position + front, up);
}
glm::vec3 Camera::GetCameraPosition()
{
return position;
}
glm::vec3 Camera::GetCameraDirection()
{
return glm::normalize(front);
}
void Camera::Update()
{
front.x = cos(glm::radians(yaw)) * cos(glm::radians(pitch));
front.y = sin(glm::radians(pitch));
front.z = sin(glm::radians(yaw)) * cos(glm::radians(pitch));
front = glm::normalize(front);
right = glm::normalize(glm::cross(front, worldUp));
up = glm::normalize(glm::cross(right, front));
}
| [
"zajkowskidaniel@gmail.com"
] | zajkowskidaniel@gmail.com |
0a3a1c6dbd19ac72e2ba1e8ca171ddb585286076 | d67f9b68fc07313507a1fa16ee5583657af00d6f | /src/FloatUtil.hpp | def6491cd430e6f49ec5510a0f0d536e14b74dd5 | [
"MIT"
] | permissive | kerwin79/volumeray | 685cfe68ea73560acde998ec3356358da353ed10 | cf900199ffb792ad94cf05503014b70fc0464b0c | refs/heads/master | 2020-04-11T20:54:23.160260 | 2017-10-12T20:56:00 | 2017-10-12T20:56:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,090 | hpp | //==============================================================================
// Author: Tim Thirion
//
// This file is: FloatUtil.h
// Created on: July 18, 2004
// Modified on: July 18, 2004
//
// Description:
// Floating point constants and utility functions are defined in
// this file. It should be noted that the class FloatUtil should
// only use floating-point inherent C++ types as its sole template
// argument. Some routines would work with integers, but don't
// count on it.
//
// Revisions:
// 1. July 17, 2004
// FloatUtil.h created and added to the system. Constants
// PI, DEG_TO_RAD, RAD_TO_DEG, EPSILON, and INFINITY added.
// The methods Abs, IsZero, Compare, ToDegrees, ToRadians,
// Sqrt, and RSqrt also added. The implementation for
// FloatUtil<float>::RSqrt is a hack taken from the Quake III
// source code. It is efficient although the code looks quite
// "magical." There has been some study of it; more information
// to follow.
//
// Added Min, Max, Pow.
// Changed Lerp and changed IsZero to "NearlyZero".
//
//==============================================================================
#ifndef __FloatUtil_h__
#define __FloatUtil_h__
#include <cmath>
//==============================================================================
// class template FloatUtil
//==============================================================================
template<typename Real>
struct FloatUtil
{
//==========================================================================
// Public Constants
//==========================================================================
static const Real PI;
static const Real DEG_TO_RAD;
static const Real RAD_TO_DEG;
static const Real EPSILON;
static const Real INFINITY;
//==========================================================================
// Public Methods
//==========================================================================
static Real Abs(const Real);
static Real Min(const Real, const Real);
static Real Max(const Real, const Real);
static bool NearlyZero(const Real);
static bool NearlyEqual(const Real, const Real);
static Real ToDegrees(const Real);
static Real ToRadians(const Real);
static Real Pow(const Real, const Real);
static Real Sqrt(const Real);
static Real InverseSqrt(Real);
static void Lerp(Real&, const Real, const Real, const Real);
static Real Exp(const Real);
static Real Ln(const Real);
static Real Sin(const Real);
static Real Cos(const Real);
static Real Tan(const Real);
static Real ArcSin(const Real);
static Real ArcCos(const Real);
static Real ArcTan(const Real);
static Real ArcTan2(const Real, const Real);
};
//==============================================================================
// Type Definitions
//==============================================================================
typedef FloatUtil<float> FloatUtilf;
typedef FloatUtil<double> FloatUtild;
//==============================================================================
// Constants
//==============================================================================
const float FloatUtil<float>::PI = 3.141592653589793238462643383279f;
const float FloatUtil<float>::DEG_TO_RAD = 0.017453292519943295769236907685f;
const float FloatUtil<float>::RAD_TO_DEG = 57.29577951308232087679815481411f;
const float FloatUtil<float>::EPSILON = 1e-3f;
const float FloatUtil<float>::INFINITY = 1e10f;
const double FloatUtil<double>::PI = 3.141592653589793238462643383279;
const double FloatUtil<double>::DEG_TO_RAD = 0.017453292519943295769236907685;
const double FloatUtil<double>::RAD_TO_DEG = 57.29577951308232087679815481411;
const double FloatUtil<double>::EPSILON = 1e-3;
const double FloatUtil<double>::INFINITY = 1e10;
//------------------------------------------------------------------------------
// FloatUtil::Abs
//------------------------------------------------------------------------------
template<typename Real>
inline Real
FloatUtil<Real>::Abs(const Real x)
{
return x < Real(0) ? -x : x;
}
//------------------------------------------------------------------------------
// FloatUtil::Min
//------------------------------------------------------------------------------
template<typename Real>
inline Real
FloatUtil<Real>::Min(const Real a, const Real b)
{
return a < b ? a : b;
}
//------------------------------------------------------------------------------
// FloatUtil::Max
//------------------------------------------------------------------------------
template<typename Real>
inline Real
FloatUtil<Real>::Max(const Real a, const Real b)
{
return a < b ? b : a;
}
//------------------------------------------------------------------------------
// FloatUtil::NearlyZero
//------------------------------------------------------------------------------
template<typename Real>
inline bool
FloatUtil<Real>::NearlyZero(const Real x)
{
return Abs(x) < EPSILON;
}
//------------------------------------------------------------------------------
// FloatUtil::NearlyEqual
//------------------------------------------------------------------------------
template<typename Real>
inline bool
FloatUtil<Real>::NearlyEqual(const Real x, const Real y)
{
return Abs(x - y) < EPSILON;
}
//------------------------------------------------------------------------------
// FloatUtil::ToDegrees
//------------------------------------------------------------------------------
template<typename Real>
inline Real
FloatUtil<Real>::ToDegrees(const Real radians)
{
return RAD_TO_DEG * radians;
}
//------------------------------------------------------------------------------
// FloatUtil::ToRadians
//------------------------------------------------------------------------------
template<typename Real>
inline Real
FloatUtil<Real>::ToRadians(const Real degrees)
{
return DEG_TO_RAD * degrees;
}
//------------------------------------------------------------------------------
// FloatUtil::Pow
//------------------------------------------------------------------------------
inline float
FloatUtil<float>::Pow(const float x, const float y)
{
return ::powf(x, y);
}
//------------------------------------------------------------------------------
// FloatUtil::Pow
//------------------------------------------------------------------------------
inline double
FloatUtil<double>::Pow(const double x, const double y)
{
return ::pow(x, y);
}
//------------------------------------------------------------------------------
// FloatUtil::Sqrt
//------------------------------------------------------------------------------
inline float
FloatUtil<float>::Sqrt(const float x)
{
return ::sqrtf(x);
}
//------------------------------------------------------------------------------
// FloatUtil::Sqrt
//------------------------------------------------------------------------------
inline double
FloatUtil<double>::Sqrt(const double x)
{
return ::sqrt(x);
}
//------------------------------------------------------------------------------
// FloatUtil::InverseSqrt
//------------------------------------------------------------------------------
inline float
FloatUtil<float>::InverseSqrt(float x)
{
float halfX = 0.5f * x;
int i = *(int*)&x;
i = 0x5f3759df - (i >> 1);
x = *(float*)&i;
x = x * (1.5f - halfX * x * x);
return x;
}
//------------------------------------------------------------------------------
// FloatUtil::InverseSqrt
//------------------------------------------------------------------------------
inline double
FloatUtil<double>::InverseSqrt(double x)
{
return 1.0 / ::sqrt(x);
}
//------------------------------------------------------------------------------
// FloatUtil::Lerp
//------------------------------------------------------------------------------
template<typename Real>
inline void
FloatUtil<Real>::Lerp(Real& r, const Real a, const Real b, const Real s)
{
r = a + s * (b - a);
}
//------------------------------------------------------------------------------
// FloatUtil::Exp
//------------------------------------------------------------------------------
inline float
FloatUtil<float>::Exp(const float x)
{
return ::expf(x);
}
//------------------------------------------------------------------------------
// FloatUtil::Exp
//------------------------------------------------------------------------------
inline double
FloatUtil<double>::Exp(const double x)
{
return ::exp(x);
}
//------------------------------------------------------------------------------
// FloatUtil::Ln
//------------------------------------------------------------------------------
inline float
FloatUtil<float>::Ln(const float x)
{
return ::logf(x);
}
//------------------------------------------------------------------------------
// FloatUtil::Ln
//------------------------------------------------------------------------------
inline double
FloatUtil<double>::Ln(const double x)
{
return ::log(x);
}
//------------------------------------------------------------------------------
// FloatUtil::Sin
//------------------------------------------------------------------------------
inline float
FloatUtil<float>::Sin(const float radians)
{
return ::sinf(radians);
}
//------------------------------------------------------------------------------
// FloatUtil::Sin
//------------------------------------------------------------------------------
inline double
FloatUtil<double>::Sin(const double radians)
{
return ::sin(radians);
}
//------------------------------------------------------------------------------
// FloatUtil::Cos
//------------------------------------------------------------------------------
inline float
FloatUtil<float>::Cos(const float radians)
{
return ::cosf(radians);
}
//------------------------------------------------------------------------------
// FloatUtil::Cos
//------------------------------------------------------------------------------
inline double
FloatUtil<double>::Cos(const double radians)
{
return ::cos(radians);
}
//------------------------------------------------------------------------------
// FloatUtil::Tan
//------------------------------------------------------------------------------
inline float
FloatUtil<float>::Tan(const float radians)
{
return ::tanf(radians);
}
//------------------------------------------------------------------------------
// FloatUtil::Tan
//------------------------------------------------------------------------------
inline double
FloatUtil<double>::Tan(const double radians)
{
return ::tan(radians);
}
//------------------------------------------------------------------------------
// FloatUtil::ArcSin
//------------------------------------------------------------------------------
inline float
FloatUtil<float>::ArcSin(const float x)
{
return ::asinf(x);
}
//------------------------------------------------------------------------------
// FloatUtil::ArcSin
//------------------------------------------------------------------------------
inline double
FloatUtil<double>::ArcSin(const double x)
{
return ::asin(x);
}
//------------------------------------------------------------------------------
// FloatUtil::ArcCos
//------------------------------------------------------------------------------
inline float
FloatUtil<float>::ArcCos(const float x)
{
return ::acosf(x);
}
//------------------------------------------------------------------------------
// FloatUtil::ArcCos
//------------------------------------------------------------------------------
inline double
FloatUtil<double>::ArcCos(const double x)
{
return ::acos(x);
}
//------------------------------------------------------------------------------
// FloatUtil::ArcTan
//------------------------------------------------------------------------------
inline float
FloatUtil<float>::ArcTan(const float x)
{
return ::atanf(x);
}
//------------------------------------------------------------------------------
// FloatUtil::ArcTan
//------------------------------------------------------------------------------
inline double
FloatUtil<double>::ArcTan(const double x)
{
return ::atan(x);
}
//------------------------------------------------------------------------------
// FloatUtil::ArcTan2
//------------------------------------------------------------------------------
inline float
FloatUtil<float>::ArcTan2(const float x, const float y)
{
return ::atan2f(x, y);
}
//------------------------------------------------------------------------------
// FloatUtil::ArcTan2
//------------------------------------------------------------------------------
inline double
FloatUtil<double>::ArcTan2(const double x, const double y)
{
return ::atan2(x, y);
}
#endif | [
"t.a.thirion@gmail.com"
] | t.a.thirion@gmail.com |
27886c3359c853065e619ce263e20c78e81a8a5f | 8151b7d6d2847e2bc5e516c2bde456b972e6c7c6 | /game_controller.cpp | ef7232a16c8c292e1cf905cef7d275f870efe9bb | [] | no_license | martiserra46/puzzles | 3a2c76768bb07b0fd99eafad90956184e95150df | f951c4150043061ad74bd56a617d031b7725c3c6 | refs/heads/main | 2023-06-15T13:37:17.035835 | 2021-07-16T16:55:04 | 2021-07-16T16:55:04 | 386,348,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | cpp | #include "game_controller.h"
#include "drawing_generator.h"
#include <iostream>
#include "system_utils.h"
#include "input_action.h"
void GameController::play(Puzzle puzzle)
{
while (puzzle.get_not_placed_figures().size() > 0)
{
InputActionInsertRemoveFigure input_action(&puzzle);
input_action.do_input_action();
}
InputActionPlayAgain input_action(&puzzle);
input_action.do_input_action();
} | [
"martiserramolina@MacBook-MacBook-Pro-de-Marti.local"
] | martiserramolina@MacBook-MacBook-Pro-de-Marti.local |
5f0cc1133daf1dfd8e404778b4362049dbeda8bc | 22302e25808e77968b1e875ef82b47f8e47ff395 | /src/cpp/actionqueue.h | e38702717b35325b4fd8006c9af781ca46f1c9b4 | [
"libtiff",
"IJG",
"LicenseRef-scancode-warranty-disclaimer",
"Libpng",
"LicenseRef-scancode-unknown-license-reference",
"Zlib",
"BSD-3-Clause"
] | permissive | kotrenn/twiztor | 9c03542ff0047c16108235fda6b8a1fce6450d54 | fbd42506f9e534269df2ab870e17446bbc7cb6c3 | refs/heads/master | 2021-03-27T09:15:17.843312 | 2017-09-09T07:20:57 | 2017-09-09T07:20:57 | 78,242,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241 | h | #ifndef __ACTION_QUEUE_H_
#define __ACTION_QUEUE_H_
#include "common.h"
#include "puzzleaction.h"
class ActionQueue
{
public:
ActionQueue();
void add(PuzzleAction *puzzleAction);
private:
list<PuzzleAction *> m_actionList;
};
#endif
| [
"kotrenn@gmail.com"
] | kotrenn@gmail.com |
ff544f09220ec7a6ecf6842e52b8ca969ddc0096 | a68b9ac017f1f3a8bf5f0a0242dd61f2db6b391e | /GeneticSolver/HLS_output/verilator_beh/verilator_obj/Vmain_tb__Syms.h | 6b3fcf57b93664c23a28739b504b71bed4346338 | [] | no_license | vanika/GAA-HLS | 8939191c56aee70f0336df5239fa2ff1876bd0b7 | bda9f47f2968f7c53c944242a106523dd695287f | refs/heads/main | 2023-07-13T20:55:26.042352 | 2021-08-24T16:39:27 | 2021-08-24T16:39:27 | 399,170,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | h | // Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Symbol table internal header
//
// Internal details; most calling programs do not need this header
#ifndef _Vmain_tb__Syms_H_
#define _Vmain_tb__Syms_H_
#include "verilated_heavy.h"
// INCLUDE MODULE CLASSES
#include "Vmain_tb.h"
// SYMS CLASS
class Vmain_tb__Syms : public VerilatedSyms {
public:
// LOCAL STATE
const char* __Vm_namep;
bool __Vm_didInit;
// SUBCELL STATE
Vmain_tb* TOPp;
// CREATORS
Vmain_tb__Syms(Vmain_tb* topp, const char* namep);
~Vmain_tb__Syms() {}
// METHODS
inline const char* name() { return __Vm_namep; }
} VL_ATTR_ALIGNED(64);
#endif // guard
| [
"renebwanika@gmail.com"
] | renebwanika@gmail.com |
b1d771f911a5699f3853af619a40e5ce9624f6d4 | b6bfea9e379f3657b598745773996fdf7d5be20b | /MGRRenderer/Sources/loader/ObjLoader.cpp | 5dbb840bf0423a8238e713e57c69482f172f464f | [] | no_license | monguri/MGRRenderer | 7572c51afa072be5d2f7a5108871f7ca9f214eda | 3ef8e1bf9cb08c3cbfd1217ac35a3fd7b58c8bed | refs/heads/master | 2021-01-23T20:23:58.488368 | 2017-09-30T10:50:06 | 2017-09-30T10:50:06 | 44,105,653 | 12 | 0 | null | 2016-02-07T12:25:54 | 2015-10-12T12:20:46 | C++ | SHIFT_JIS | C++ | false | false | 19,681 | cpp | #include "ObjLoader.h"
#include <sstream>
namespace mgrrenderer
{
namespace ObjLoader
{
static const size_t SSCANF_BUFFER_SIZE = 4096;
struct VertexIndex {
size_t vIdx;
size_t vtIdx;
size_t vnIdx;
VertexIndex() {};
VertexIndex(size_t idx) : vIdx(idx), vtIdx(idx), vnIdx(idx) {};
VertexIndex(size_t vIdxVal, size_t vtIdxVal, size_t vnIdxVal) : vIdx(vIdxVal), vtIdx(vtIdxVal), vnIdx(vnIdxVal) {};
// std::mapのテンプレートで指定する型はoperator<の定義が必要
bool operator<(const VertexIndex& another) const
{
// vIdx, vnIdx, vtIdxの順に比較する
if (vIdx != another.vIdx)
{
return vIdx < another.vIdx;
}
else if (vnIdx != another.vnIdx)
{
return vnIdx < another.vnIdx;
}
else if (vtIdx != another.vtIdx)
{
return vtIdx < another.vtIdx;
}
return false;
}
};
static bool isSpace(const char c) { return (c == ' ' || c == '\t'); };
static bool isNewLine(const char c) { return (c == '\r' || c == '\n' || c == '\0'); };
static float parseFloat(const char*& token)
{
token += strspn(token, " \t");
//const char* end = token + strcspn(token, " \t\r");
// TODO:なぜcocosはatofを使わない」?+3.1417e+2みたいな記述を許してるから?
// TODO:monguri:→たぶんそう。これはatofを使う形に修正しよう
// http://www.orchid.co.jp/computer/cschool/CREF/atof.html
//double val = parseDouble(token, end);
//token = end;
//return static_cast<float>(val);
// TODO:cocosでは自前でdoubleをパースしてたがなぜだ?
size_t len = strcspn(token, " \t\r");
std::string floatStr(token, len);
token += len;
float ret = static_cast<float>(atof(floatStr.c_str()));
return ret;
}
static Vec2 parseVec2(const char*& token)
{
float x = parseFloat(token);
float y = parseFloat(token);
return Vec2(x, y);
}
static Vec3 parseVec3(const char*& token)
{
float x = parseFloat(token);
float y = parseFloat(token);
float z = parseFloat(token);
return Vec3(x, y, z);
}
static std::string parseString(const char*& token)
{
std::string ret;
token += strspn(token, " \t");
size_t len = strcspn(token, " \t\r");
ret = std::string(token, &token[len]); //TODO:これ、token[len - 1]じゃないの?だって、token[len]って" \t\r"のどれかじゃないの?
token += len;
return ret;
}
// Make index zero-base, and also support relative index.
static size_t fixIndexForArray(int idx, int size)
{
if (idx > 0)
{
return static_cast<size_t>(idx - 1);
}
else if (idx == 0)
{
return 0;
}
else // idx < 0
{
Logger::logAssert(size + idx >= 0, "objファイルでサイズより大きな負の値が代入された。");
return static_cast<size_t>(size + idx); // relative idx
}
}
// Parse triples: i, i/j/k, i//k, i/j
static VertexIndex parseVertexIndex(const char*& token, int vsize, int vnsize, int vtsize)
{
VertexIndex ret;
ret.vIdx = fixIndexForArray(atoi(token), vsize);
token += strcspn(token, "/ \t\r");
if (token[0] != '/')
{
return ret;
}
token++;
// i//k
if (token[0] == '/')
{
token++;
ret.vnIdx = fixIndexForArray(atoi(token), vnsize);
token += strcspn(token, "/ \t\r");
return ret;
}
// i/j/k or i/j
ret.vtIdx = fixIndexForArray(atoi(token), vtsize);
token += strcspn(token, "/ \t\r");
if (token[0] != '/')
{
return ret;
}
// i/j/k
token++; // skip '/'
ret.vnIdx = fixIndexForArray(atoi(token), vnsize);
token += strcspn(token, "/ \t\r");
return ret;
}
// 戻り値は、MeshData.positionsに入れた要素のインデックス。ただし、VertexIndex次第でnormalsとtexcoordには要素が入らない。
// キャッシュにすでに入っていたらMeshDataには追加せず、そのインデックスを返す。
static unsigned int addOneVetexDataToMeshData(
std::map<VertexIndex, unsigned int> &vertexIndexPositionArrayIndexMap,
MeshData& mesh,
const std::vector<Vec3>& allPositions,
const std::vector<Vec3>& allNormals,
const std::vector<Vec2>& allTexCoords,
const VertexIndex& vi
) // staticメソッドにしてクラス的に扱わないと、副作用はないけどどうしても引数が増えるんだよな。。
{
const std::map<VertexIndex, unsigned int>::iterator& it = vertexIndexPositionArrayIndexMap.find(vi);
if (it != vertexIndexPositionArrayIndexMap.end())
{
// キャッシュにヒットしたらそのインデックスを返す。これによって、インデックス形式にしている。
return it->second;
}
Logger::logAssert(allPositions.size() > vi.vIdx, "インデックスの値が配列数を超えた。");
Logger::logAssert(allNormals.size() > vi.vnIdx, "インデックスの値が配列数を超えた。");
Logger::logAssert(allTexCoords.size() > vi.vtIdx, "インデックスの値が配列数を超えた。");
Position3DNormalTextureCoordinates vertex;
vertex.position = allPositions[vi.vIdx];
if (vi.vnIdx >= 0) // faceにnormalは必ずあるとは限らない
{
vertex.normal = allNormals[vi.vnIdx];
}
else
{
Logger::logAssert(false, "現状、vnインデックスの省略には未対応");
}
Logger::logAssert(vi.vtIdx >= 0, "現状、vtインデックスの省略には未対応");
vertex.textureCoordinate = allTexCoords[vi.vtIdx];
mesh.vertices.push_back(vertex);
unsigned int idxOfPositions = mesh.vertices.size() - 1;
// キャッシュに入れておく
vertexIndexPositionArrayIndexMap[vi] = idxOfPositions;
return idxOfPositions;
}
static bool createMeshDataFromFaceGroup(
MeshData& mesh,
std::map<VertexIndex, unsigned int> vertexIndexPositionsArrayIndexMap,
const std::vector<Vec3>& allPositions,
const std::vector<Vec3>& allNormals,
const std::vector<Vec2>& allTexCoords,
const std::vector<std::vector<VertexIndex>>& faceGroup,
const int materialIndex,
const std::string& name,
bool clearCache
)
{
if (faceGroup.empty())
{
return false;
}
// インデックス圧縮されたデータを伸長してMeshDataを作る
for (const std::vector<VertexIndex>& face : faceGroup)
{
// ポリゴンをTRIANGLE_FAN形式で3角形に分割していき、MeshDataのPNTの配列に入れていく
// でも毎回vi0入れてるから、データの持ち方としてはTRIANGLESと同じで重複して頂点持ってるな
// 次のループのための初期値
VertexIndex vi0 = face[0];
VertexIndex vi1;
VertexIndex vi2 = face[1];
size_t numPolys = face.size();
for (size_t i = 2; i < numPolys; i++)
{
vi1 = vi2;
vi2 = face[i];
unsigned int idx0 = addOneVetexDataToMeshData(
vertexIndexPositionsArrayIndexMap,
mesh,
allPositions,
allNormals,
allTexCoords,
vi0
);
mesh.indices.push_back(static_cast<unsigned short>(idx0));
unsigned int idx1 = addOneVetexDataToMeshData(
vertexIndexPositionsArrayIndexMap,
mesh,
allPositions,
allNormals,
allTexCoords,
vi1
);
mesh.indices.push_back(static_cast<unsigned short>(idx1));
unsigned int idx2 = addOneVetexDataToMeshData(
vertexIndexPositionsArrayIndexMap,
mesh,
allPositions,
allNormals,
allTexCoords,
vi2
);
mesh.indices.push_back(static_cast<unsigned short>(idx2));
mesh.materialIndices.push_back(materialIndex); // 各頂点ごとにマテリアルIDも持たせる
// TODO:これ、複数配列に持たすよりまとめてmapなりなんなりのグループに持たせてもいいのでは。まあ必ずしもPNTすべてデータがあると限らないからメモリ容量的には無駄だけど。。
}
}
mesh.name = name;
mesh.numMaterialIndex = mesh.materialIndices.size();
if (clearCache)
{
vertexIndexPositionsArrayIndexMap.clear();
}
return true;
}
std::string loadMtl(const std::string& fileName, std::vector<MaterialData>& materials, std::map<std::string, int>& materialNameMaterialArrayIndexMap, const std::string& mtlBasePath)
{
std::string filePath;
if (mtlBasePath.empty())
{
filePath = fileName;
}
else
{
filePath = mtlBasePath + fileName;
}
std::stringstream err;
std::istringstream fstream(FileUtility::getInstance()->getStringFromFile(filePath));
if (!fstream) //TODO: istringstremaは何型なんだ?
{
err << "Cannot open material file [" << filePath << "]" << std::endl;
return err.str();
}
// Create a default material anyway.
MaterialData material;
int MAX_CHARS = 8192;
std::vector<char> buf(MAX_CHARS);
while (fstream.peek() != -1)
{
fstream.getline(&buf[0], MAX_CHARS);
std::string lineBuf(&buf[0]);
// Trim newline '\r\n' or '\n'
size_t size = lineBuf.size();
if (size > 0)
{
if (lineBuf[size - 1] == '\n')
{
lineBuf.erase(size - 1);
}
}
size = lineBuf.size();
if (size > 0)
{
if (lineBuf[size - 1] == '\r')
{
lineBuf.erase(size - 1);
}
}
// Skip if empty line.
if (lineBuf.empty())
{
continue;
}
// Skip leading space.
const char* token = lineBuf.c_str();
token += strspn(token, " \t");
Logger::logAssert(token != nullptr, "トークンの取得失敗");
if (token[0] == '\0')
{
continue; // empty line
}
if (token[0] == '#')
{
continue; // comment line
}
// new mtl
if (strncmp(token, "newmtl", 6) == 0 && isSpace(token[6]))
{
// ここでもobjのfのように、前回パースしたものを次回で書き込む newmtlの後にくるデータを先に格納してから、それをマテリアル名と結び付け、配列に格納したい
if (!material.name.empty())
{
materialNameMaterialArrayIndexMap.insert(std::pair<std::string, int>(material.name, materials.size()));
materials.push_back(material);
}
char nameBuf[SSCANF_BUFFER_SIZE];
token += 7;
sscanf_s(token, "%s", nameBuf, _countof(nameBuf));
material = MaterialData();
material.name = nameBuf;
}
// ambient
else if (token[0] == 'K' && token[1] == 'a' && isSpace(token[2]))
{
token += 2;
material.ambient = parseVec3(token);
}
// diffuse
else if (token[0] == 'K' && token[1] == 'd' && isSpace(token[2]))
{
token += 2;
material.diffuse = parseVec3(token);
}
// specular
else if (token[0] == 'K' && token[1] == 's' && isSpace(token[2]))
{
token += 2;
material.specular = parseVec3(token);
}
// transmittance
else if (token[0] == 'K' && token[1] == 't' && isSpace(token[2]))
{
token += 2;
material.transmittance = parseVec3(token);
}
// index of refraction
else if (token[0] == 'N' && token[1] == 'i' && isSpace(token[2]))
{
token += 2;
material.indexOfRefraction = parseFloat(token);
}
// emission
else if (token[0] == 'K' && token[1] == 'e' && isSpace(token[2]))
{
token += 2;
material.emission = parseVec3(token);
}
// shinness
else if (token[0] == 'N' && token[1] == 's' && isSpace(token[2]))
{
token += 2;
material.shinness = parseFloat(token);
}
// illumination model
else if (strncmp(token, "illum", 5) == 0 && isSpace(token[5]))
{
token += 6;
material.illumination = parseFloat(token);
}
// dissolve
else if (token[0] == 'T' && token[1] == 'r' && isSpace(token[2]))
{
token += 2;
material.dissolve = 1.0f - parseFloat(token);
}
// ambient texture
else if (strncmp(token, "map_Ka", 6) == 0 && isSpace(token[6]))
{
token += 7;
material.ambientTextureName = FileUtility::convertPathFormatToUnixStyle(token);
}
// diffuse texture
else if (strncmp(token, "map_Kd", 6) == 0 && isSpace(token[6]))
{
token += 7;
material.diffuseTextureName = FileUtility::convertPathFormatToUnixStyle(token);
}
// specular texture
else if (strncmp(token, "map_Kd", 6) == 0 && isSpace(token[6]))
{
token += 7;
material.specularTextureName = FileUtility::convertPathFormatToUnixStyle(token);
}
// normal texture
else if (strncmp(token, "map_Ns", 6) == 0 && isSpace(token[6]))
{
token += 7;
material.normalTextureName = FileUtility::convertPathFormatToUnixStyle(token);
}
// unknown parameter
// TODO:monguri:loadObjではunknownには対応してなかったのになぜloadMtlだけ?
else
{
const char* space = strchr(token, ' ');
if (space == nullptr)
{
space = strchr(token, '\t');
}
if (space != nullptr)
{
std::ptrdiff_t len = space - token;
std::string key(token, len);
std::string value = space + 1;
material.unknownParameter.insert(std::pair<std::string, std::string>(key, value));
}
}
}
materialNameMaterialArrayIndexMap.insert(std::pair<std::string, int>(material.name, materials.size()));
materials.push_back(material);
return err.str();
}
std::string loadObj(const std::string& fileName, std::vector<MeshData>& outMeshArray, std::vector<MaterialData>& outMaterialArray)
{
outMeshArray.clear();
outMaterialArray.clear();
std::stringstream err;
std::istringstream fstream(FileUtility::getInstance()->getStringFromFile(fileName));
if (!fstream) //TODO: istringstremaは何型なんだ?
{
err << "Cannot open file [" << fileName << "]" << std::endl;
return err.str();
}
const std::string& fullPath = FileUtility::getInstance()->getFullPathForFileName(fileName);
const std::string& mtlBasePath = fullPath.substr(0, fullPath.find_last_of("\\/") + 1);
std::vector<Vec3> vertexArray;
std::vector<Vec2> textureCoordinateArray;
std::vector<Vec3> normalVertexArray;
std::vector<std::vector<VertexIndex>> faceGroup;
std::string name;
// material
std::map<std::string, int> materialNameMaterialArrayIndexMap;
std::map<VertexIndex, unsigned int> vertexIndexPositionsArrayIndexMap;
int materialIndex = -1;
MeshData mesh;
int MAX_CHARS = 8192;
std::vector<char> buf(MAX_CHARS);
while (fstream.peek() != -1)
{
fstream.getline(&buf[0], MAX_CHARS);
std::string lineBuf(&buf[0]);
// Trim newline '\r\n' or '\n'
size_t size = lineBuf.size();
if (size > 0)
{
if (lineBuf[size - 1] == '\n')
{
lineBuf.erase(size - 1);
}
}
size = lineBuf.size();
if (size > 0)
{
if (lineBuf[size - 1] == '\r')
{
lineBuf.erase(size - 1);
}
}
// Skip if empty line.
if (lineBuf.empty())
{
continue;
}
// Skip leading space.
const char* token = lineBuf.c_str();
token += strspn(token, " \t");
Logger::logAssert(token != nullptr, "スペースだけの行は本来はないはず");
if (token[0] == '\0')
{
continue; // empty line
}
if (token[0] == '#')
{
continue; // comment line
}
// vertex
if (token[0] == 'v' && isSpace(token[1]))
{
token += 2;
const Vec3& vec = parseVec3(token);
vertexArray.push_back(vec);
}
// normal
else if (token[0] == 'v' && token[1] == 'n' && isSpace(token[2]))
{
token += 3;
const Vec3& vec = parseVec3(token);
normalVertexArray.push_back(vec);
}
// texture coordinate
else if (token[0] == 'v' && token[1] == 't' && isSpace(token[2]))
{
token += 3;
const Vec2& vec = parseVec2(token);
textureCoordinateArray.push_back(vec);
}
// face
else if (token[0] == 'f' && isSpace(token[1]))
{
token += 2;
token += strspn(token, " \t");
// fの場合はn角形ポリゴンの場合n個並んでいるのでループですべてとる
std::vector<VertexIndex> face;
while (!isNewLine(token[0]))
{
VertexIndex vi = parseVertexIndex(token, vertexArray.size(), textureCoordinateArray.size(), normalVertexArray.size());
face.push_back(vi);
token += strspn(token, " \t\r");
}
faceGroup.push_back(face);
}
// use mtl
else if (strncmp(token, "usemtl", 6) == 0 && isSpace(token[6]))
{
char nameBuf[SSCANF_BUFFER_SIZE];
token += 7;
sscanf_s(token, "%s", nameBuf, _countof(nameBuf));
bool ret = createMeshDataFromFaceGroup(
mesh,
vertexIndexPositionsArrayIndexMap,
vertexArray,
normalVertexArray,
textureCoordinateArray,
faceGroup,
materialIndex,
name,
true
);
if (ret)
{
outMeshArray.push_back(mesh);
}
mesh = MeshData(); // 空のMeshDataを変数用に作り直す
faceGroup.clear();
if (materialNameMaterialArrayIndexMap.find(nameBuf) != materialNameMaterialArrayIndexMap.end())
{
materialIndex = materialNameMaterialArrayIndexMap[nameBuf];
}
else
{
// { error!! material not found }
materialIndex = -1;
}
}
// load mtl
else if (strncmp(token, "mtllib", 6) == 0 && isSpace(token[6]))
{
char fileNameBuf[SSCANF_BUFFER_SIZE];
token += 7;
sscanf_s(token, "%s", fileNameBuf, _countof(fileNameBuf));
std::string errMtl = loadMtl(fileNameBuf, outMaterialArray, materialNameMaterialArrayIndexMap, mtlBasePath);
if (!errMtl.empty())
{
faceGroup.clear();
return errMtl;
}
}
// group name
else if (token[0] == 'g' && isSpace(token[1]))
{
// tinyobjloaderだとここでtokenを進めてない。g自身もnames[0]として入れるらしい
token += 2;
// flush previous face group.
bool ret = createMeshDataFromFaceGroup(
mesh,
vertexIndexPositionsArrayIndexMap,
vertexArray,
normalVertexArray,
textureCoordinateArray,
faceGroup,
materialIndex,
name,
true
);
if (ret)
{
outMeshArray.push_back(mesh);
}
mesh = MeshData(); // 空のMeshDataを変数用に作り直す
faceGroup.clear();
std::vector<std::string> names;
while (!isNewLine(token[0]))
{
std::string str = parseString(token);
names.push_back(str);
token += strspn(token, " \t\r");
}
Logger::logAssert(names.size() > 0, "objのgのフォーマットがおかしい");
name = names[0];
}
// object name
else if (token[0] == 'o' && isSpace(token[1]))
{
// flush previous face group.
bool ret = createMeshDataFromFaceGroup(
mesh,
vertexIndexPositionsArrayIndexMap,
vertexArray,
normalVertexArray,
textureCoordinateArray,
faceGroup,
materialIndex,
name,
true
);
if (ret)
{
outMeshArray.push_back(mesh);
}
mesh = MeshData(); // 空のMeshDataを変数用に作り直す
faceGroup.clear();
char fileNameBuf[SSCANF_BUFFER_SIZE];
token += 2;
sscanf_s(token, "%s", fileNameBuf, _countof(fileNameBuf));
name = std::string(fileNameBuf);
}
// Ignore unknown command.
}
bool ret = createMeshDataFromFaceGroup(
mesh,
vertexIndexPositionsArrayIndexMap,
vertexArray,
normalVertexArray,
textureCoordinateArray,
faceGroup,
materialIndex,
name,
true
);
if (ret)
{
outMeshArray.push_back(mesh);
}
// マテリアルごとにサブメッシュに分割する
std::map<int, std::vector<unsigned short>> subMeshMap;
for (MeshData& meshData : outMeshArray)
{
for (size_t i = 0; i < meshData.numMaterialIndex; i++)
{
int materialId = meshData.materialIndices[i];
size_t index = i * 3;
meshData.subMeshMap[materialId].push_back(meshData.indices[index]);
meshData.subMeshMap[materialId].push_back(meshData.indices[index + 1]);
meshData.subMeshMap[materialId].push_back(meshData.indices[index + 2]);
}
}
faceGroup.clear();
return err.str();
}
} // namespace ObjLoader
} // namespace mgrrenderer
| [
"mongry@gmail.com"
] | mongry@gmail.com |
d62e196b4a3e529b480f6fba52d5bdc7cf76990e | b83719917ebd5c8fc3782706c3ef9777a3c81dcb | /R4.5/headers/be/interface/TextControl.h | d567a919785f16b23d44388de83bf1f2bd61db61 | [] | no_license | jscipione/r5headers | d2641852d350aeb5d7c4620e1b92a0bf575f8215 | aa8f4508e413e922b0f9a7fca5d6d4cfb3068f6f | refs/heads/master | 2023-04-29T08:50:56.258558 | 2023-04-21T20:58:10 | 2023-04-21T20:58:10 | 108,314,115 | 7 | 2 | null | 2023-03-27T17:12:01 | 2017-10-25T19:08:36 | C++ | UTF-8 | C++ | false | false | 3,580 | h | /*******************************************************************************
/
/ File: TextControl.h
/
/ Description: BTextControl displays text that can act like a control.
/
/ Copyright 1996-98, Be Incorporated, All Rights Reserved
/
*******************************************************************************/
#ifndef _TEXT_CONTROL_H
#define _TEXT_CONTROL_H
#include <BeBuild.h>
#include <Control.h>
#include <TextView.h>
class _BTextInput_;
/*----------------------------------------------------------------*/
/*----- BTextControl class ---------------------------------------*/
class BTextControl : public BControl {
public:
BTextControl(BRect frame,
const char *name,
const char *label,
const char *initial_text,
BMessage *message,
uint32 rmask = B_FOLLOW_LEFT | B_FOLLOW_TOP,
uint32 flags = B_WILL_DRAW | B_NAVIGABLE);
virtual ~BTextControl();
BTextControl(BMessage *data);
static BArchivable *Instantiate(BMessage *data);
virtual status_t Archive(BMessage *data, bool deep = true) const;
virtual void SetText(const char *text);
const char *Text() const;
virtual void SetValue(int32 value);
virtual status_t Invoke(BMessage *msg = NULL);
BTextView *TextView() const;
virtual void SetModificationMessage(BMessage *message);
BMessage *ModificationMessage() const;
virtual void SetAlignment(alignment label, alignment text);
void GetAlignment(alignment *label, alignment *text) const;
virtual void SetDivider(float dividing_line);
float Divider() const;
virtual void Draw(BRect updateRect);
virtual void MouseDown(BPoint where);
virtual void AttachedToWindow();
virtual void MakeFocus(bool focusState = true);
virtual void SetEnabled(bool state);
virtual void FrameMoved(BPoint new_position);
virtual void FrameResized(float new_width, float new_height);
virtual void WindowActivated(bool active);
virtual void GetPreferredSize(float *width, float *height);
virtual void ResizeToPreferred();
virtual void MessageReceived(BMessage *msg);
virtual BHandler *ResolveSpecifier(BMessage *msg,
int32 index,
BMessage *specifier,
int32 form,
const char *property);
virtual void MouseUp(BPoint pt);
virtual void MouseMoved(BPoint pt, uint32 code, const BMessage *msg);
virtual void DetachedFromWindow();
virtual void AllAttached();
virtual void AllDetached();
virtual status_t GetSupportedSuites(BMessage *data);
virtual void SetFlags(uint32 flags);
/*----- Private or reserved -----------------------------------------*/
virtual status_t Perform(perform_code d, void *arg);
private:
friend class _BTextInput_;
virtual void _ReservedTextControl1();
virtual void _ReservedTextControl2();
virtual void _ReservedTextControl3();
virtual void _ReservedTextControl4();
BTextControl &operator=(const BTextControl &);
void CommitValue();
void InitData(const char *label,
const char *initial_text,
BMessage *data = NULL);
_BTextInput_ *fText;
char *fLabel;
BMessage *fModificationMessage;
alignment fLabelAlign;
float fDivider;
uint16 fPrevWidth;
uint16 fPrevHeight;
uint32 _reserved[3]; /* was 4 */
#if !_PR3_COMPATIBLE_
uint32 _more_reserved[4];
#endif
bool fClean;
bool fSkipSetFlags;
bool fUnusedBool1;
bool fUnusedBool2;
};
/*-------------------------------------------------------------*/
/*-------------------------------------------------------------*/
#endif /* _TEXT_CONTROL_H */
| [
"jscipione@gmail.com"
] | jscipione@gmail.com |
ba925be4074de8ceb524b186cbed770f7fb06d8d | c824d97cc1208744e4453bac916dcc24dc77a377 | /libcaf_core/caf/detail/functor_attachable.hpp | 4a913ceb372d9438fe2c39878391770f3f12e93e | [
"BSL-1.0"
] | permissive | DePizzottri/actor-framework | 1a033440660c4ea507b743b0d46a46de7fd30df6 | bdbd19541b1e1e6ec0abe16bcf7db90d73c649d2 | refs/heads/master | 2021-01-24T00:23:18.672012 | 2018-04-28T13:04:21 | 2018-04-28T13:04:21 | 59,172,681 | 0 | 0 | null | 2017-03-07T04:22:26 | 2016-05-19T04:04:18 | C++ | UTF-8 | C++ | false | false | 2,447 | hpp | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
* | |___ / ___ \| _| Framework *
* \____/_/ \_|_| *
* *
* Copyright (C) 2011 - 2016 *
* Dominik Charousset <dominik.charousset (at) haw-hamburg.de> *
* *
* Distributed under the terms and conditions of the BSD 3-Clause License or *
* (at your option) under the terms and conditions of the Boost Software *
* License 1.0. See accompanying files LICENSE and LICENCE_ALTERNATIVE. *
* *
* If you did not receive a copy of the license files, see *
* http://opensource.org/licenses/BSD-3-Clause and *
* http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/
#ifndef CAF_FUNCTOR_ATTACHABLE_HPP
#define CAF_FUNCTOR_ATTACHABLE_HPP
#include "caf/attachable.hpp"
#include "caf/detail/type_list.hpp"
#include "caf/detail/type_traits.hpp"
namespace caf {
namespace detail {
template <class F,
int Args = tl_size<typename get_callable_trait<F>::arg_types>::value>
struct functor_attachable : attachable {
static_assert(Args == 1, "Only 0 or 1 arguments for F are supported");
F functor_;
functor_attachable(F arg) : functor_(std::move(arg)) {
// nop
}
void actor_exited(const error& fail_state, execution_unit*) override {
functor_(fail_state);
}
static constexpr size_t token_type = attachable::token::anonymous;
};
template <class F>
struct functor_attachable<F, 0> : attachable {
F functor_;
functor_attachable(F arg) : functor_(std::move(arg)) {
// nop
}
void actor_exited(const error&, execution_unit*) override {
functor_();
}
};
} // namespace detail
} // namespace caf
#endif // CAF_FUNCTOR_ATTACHABLE_HPP
| [
"dominik.charousset@haw-hamburg.de"
] | dominik.charousset@haw-hamburg.de |
648eca13f2fff852b949c91b6d41f61adfdd84e3 | a7229e3a167a0d678f6e4ec46f69b3452d440612 | /CppProjects/Examples/boost/test_2/main.cpp | 494cfddc8ef1ed67335ee66ce1cd028bee4fd30b | [] | no_license | Eduzc07/Maxim | 32dc20706084bc55290ca69db5fff376cb88af7d | 3b31752e7ace71bd06f93cac1f28d4a878b68eca | refs/heads/master | 2022-12-11T20:41:47.149260 | 2022-08-10T16:50:03 | 2022-08-10T16:50:03 | 135,848,886 | 0 | 1 | null | 2021-06-02T01:49:23 | 2018-06-02T20:10:16 | C++ | UTF-8 | C++ | false | false | 3,013 | cpp | #include <stdio.h>
#include <opencv2/opencv.hpp>
//Boost
//
// Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#include <string>
#include <boost/asio.hpp>
#include <opencv2/core.hpp>
#include <boost/serialization/split_free.hpp>
#include <boost/serialization/vector.hpp>
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/binary_iarchive.hpp>
#include <boost/archive/binary_oarchive.hpp>
#include <cassert>
#include <vector>
#include <iostream>
using namespace cv;
//using namespace std;
BOOST_SERIALIZATION_SPLIT_FREE( cv::Mat )
namespace boost {
namespace serialization {
template <class Archive>
void save( Archive & ar, const cv::Mat & m, const unsigned int version )
{
size_t elemSize = m.elemSize();
size_t elemType = m.type();
ar & m.cols;
ar & m.rows;
ar & elemSize;
ar & elemType;
const size_t dataSize = m.cols * m.rows * m.elemSize();
for ( size_t i = 0; i < dataSize; ++i )
ar & m.data[ i ];
}
template <class Archive>
void load( Archive & ar, cv::Mat& m, const unsigned int version )
{
int cols, rows;
size_t elemSize, elemType;
ar & cols;
ar & rows;
ar & elemSize;
ar & elemType;
m.create( rows, cols, static_cast< int >( elemType ) );
const size_t dataSize = m.cols * m.rows * elemSize;
for (size_t i = 0; i < dataSize; ++i)
ar & m.data[ i ];
}
} // namespace serialization
} // namespace boost
std::string save( const cv::Mat & mat )
{
std::ostringstream oss;
boost::archive::text_oarchive toa( oss );
toa << mat;
return oss.str();
}
void load( cv::Mat & mat, const char * data_str )
{
std::stringstream ss;
ss << data_str;
boost::archive::text_iarchive tia( ss );
tia >> mat;
}
int main(int argc, char** argv )
{
if ( argc != 2 )
{
printf("usage: DisplayImage.out <Image_Path>\n");
return -1;
}
Mat image;
image = imread( argv[1], 1 );
if ( !image.data )
{
printf("No image data \n");
return -1;
}
// namedWindow("Display Image", WINDOW_AUTOSIZE );
// imshow("Display Image", image);
Mat dst = image.clone();
for (int i=1;i<5;i=i+2){
/// Applying Gaussian blur
GaussianBlur(image, dst, Size(i,i), 0, 0 );
printf("wait...\n");
imshow("dst", dst);
waitKey(200);
}
printf("finish...\n");
imwrite( "New_Image.jpg", dst );
waitKey(0);
destroyWindow("dst");
waitKey(500);
//bost
std::string serialized = save( dst );
std::cout << "serialized = " << serialized << std::endl;
cv::Mat deserialized;
load( deserialized, serialized.c_str() );
std::cout << "deserialized = \n\n" << deserialized << std::endl;
imshow("deserialized", deserialized);
waitKey(0);
destroyAllWindows();
return 0;
}
| [
"edu.zc07@gmail.com"
] | edu.zc07@gmail.com |
c91dde22327f3d9021ada26d356970b0c9166998 | 151d413f0d4b821f0f5c7f8f78b4ef5b9005de44 | /src/common/wal_engine.h | 1158d24ef3738d03c51090622293a401ed443af8 | [
"BSD-3-Clause"
] | permissive | snalli/nstore | 8c6f21dbdfc6f2e1bb66fee9ef1bae76beac5a8b | 0959cba2c68cddab490fd9ded3a92a6baa0cd6fa | refs/heads/placement_new_on_psegments | 2021-05-01T01:15:57.496184 | 2018-12-20T18:52:23 | 2018-12-20T18:52:23 | 60,381,413 | 23 | 10 | BSD-3-Clause | 2020-07-18T23:28:41 | 2016-06-03T22:29:41 | C++ | UTF-8 | C++ | false | false | 1,046 | h | #pragma once
#include <string>
#include <sstream>
#include <atomic>
#include <thread>
#include <fstream>
#include "engine_api.h"
#include "config.h"
#include "transaction.h"
#include "record.h"
#include "utils.h"
#include "database.h"
#include "pthread.h"
#include "logger.h"
#include "timer.h"
#include "serializer.h"
namespace storage {
class wal_engine : public engine_api {
public:
wal_engine(const config& _conf, database* _db, bool _read_only, unsigned int _tid);
~wal_engine();
std::string select(const statement& st);
int update(const statement& st);
int insert(const statement& t);
int remove(const statement& t);
void load(const statement& t);
void group_commit();
void txn_begin();
void txn_end(bool commit);
void recovery();
//private:
const config& conf;
database* db;
logger fs_log;
std::hash<std::string> hash_fn;
std::stringstream entry_stream;
std::string entry_str;
std::thread gc;
std::atomic_bool ready;
bool read_only = false;
unsigned int tid;
serializer sr;
};
}
| [
"jarulraj@cs.cmu.edu"
] | jarulraj@cs.cmu.edu |
8b214b12b27bee417b056925ec85ca568e3f9db8 | a765e0ffe72ea7f3ea340dbfb9dbc52f82259b8a | /Proyecto1_Leyenda/Source/Proyecto1_Leyenda/BatteryMan_GameMode.cpp | 97e2876a73822f3620be6e81a1c911f4bb5abd7f | [] | no_license | TheoLeyenda/TSDVJ_Unreal_Practica | e345013927bcc8262aae6fc144202e09728e21b3 | b8bf148b09905933e038b33f531bb115ed7321da | refs/heads/master | 2022-08-02T06:11:50.652383 | 2020-05-26T00:38:58 | 2020-05-26T00:38:58 | 258,636,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,257 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "BatteryMan_GameMode.h"
#include "Engine/World.h"
#include "GameFramework/Actor.h" // incluyo la clase del Forward Declaration para que el .cpp lo conozca.
ABatteryMan_GameMode::ABatteryMan_GameMode()
{
PrimaryActorTick.bCanEverTick = true;
}
void ABatteryMan_GameMode::Tick(float DeltaTime)
{
Super::Tick(DeltaTime);
}
void ABatteryMan_GameMode::BeginPlay()
{
Super::BeginPlay();
GenerateRecharge();
//Corrutina cada cierto tiempo llama a la funcion
FTimerHandle UnsedHandle;
GetWorldTimerManager().SetTimer(UnsedHandle, this, &ABatteryMan_GameMode::GenerateRecharge, FMath::RandRange(minTimeGenerator, maxTimeGenerator), true);
}
void ABatteryMan_GameMode::GenerateRecharge()
{
float x = FMath::RandRange(minCoord_X, maxCoord_X);
float y = FMath::RandRange(minCoord_Y, maxCoord_Y);
FVector spawnPosition = FVector(x, y, coord_Z);
FRotator spawnRotation = FRotator(0.0f, 0.0f, 0.0f);
//Asi se hace un Tranform.
//FTransform spawnTransform(spawnRotation, spawnPosition, FVector::OneVector);
//------------------------------------
instanceRechargeBatteryManClass = GetWorld()->SpawnActor(RechargeBatteryMan, &spawnPosition, &spawnRotation);
}
| [
"theofritaku@gmail.com"
] | theofritaku@gmail.com |
71a1aa749c1004180fb972f98f772c49dee8be68 | c558d89bfc256ae07cc6824074d38b50e7b5b3fa | /01_BinaryGap.cpp | 7bdfcb3e44472e294d26c8e1ae97ff393266984b | [] | no_license | inmyprime/Codility | 8bc0e7c25e27abd6186794ef76e30da84f08e0a0 | c8bc57f97bcdcb722a140d3dbefe64a31e4a8764 | refs/heads/master | 2021-01-12T06:00:22.101524 | 2016-12-24T06:45:06 | 2016-12-24T06:45:06 | 77,269,253 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | int solution(int N)
{
// write your code in C++11 (g++ 4.8.2)
int countZero = 0, maxZero = 0;
bool isStarted = false;
bool bit;
do
{
bit = N % 2;
if(bit)
{
if (isStarted)
{
maxZero = max(maxZero, countZero);
}
countZero = 0;
isStarted = true;
}
else
{
countZero++;
}
N = N / 2;
}
while (N != 0);
return maxZero;
} | [
"uwereright@gmail.com"
] | uwereright@gmail.com |
fe9ceaad0769d89decfe2acf102f82c6cf991b71 | c3f4f6adb53381483658fde5671c84cd4a15975c | /Ex10.3/Usedll/stdafx.cpp | 64a45ff71c4216cbcc8d0cd6b1eb2f555cdaae06 | [] | no_license | LTS123456/LTS01 | 40fadc08ceb392b34b3f039943f684783f17f796 | 2b6129d9a5751736a84ff9b8042b874bcf035631 | refs/heads/master | 2021-03-26T02:21:16.817381 | 2020-05-25T15:31:48 | 2020-05-25T15:31:48 | 247,664,137 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 161 | cpp |
// stdafx.cpp : 只包括标准包含文件的源文件
// Usedll.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
| [
"1216859581@qq.com"
] | 1216859581@qq.com |
5d668043da572b3ee8bde262dff4a8cfd616a2e7 | abbd671b1db3b39de5ac74f9bf43c09f9ea60176 | /src/main.h | c3dde82378164a60d8bc725bc302f7923dcfa8d2 | [] | no_license | shamohamin/backtracking_alogorithm_placingQueen | c730bbedd31dde9062b3c6456d6865cfefaa65d8 | 6ae5e2a232315af308d92678f87adae2705d5dcd | refs/heads/master | 2020-06-27T00:44:23.814078 | 2020-01-07T20:49:47 | 2020-01-07T20:49:47 | 199,802,403 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 198 | h | //
// Created by Amin on 2019-07-31.
//
#ifndef BACKTRACKING_ALOGORITHM_QUEEN_MAIN_H
#define BACKTRACKING_ALOGORITHM_QUEEN_MAIN_H
class main {
};
#endif //BACKTRACKING_ALOGORITHM_QUEEN_MAIN_H
| [
"mohamd@mohamds-MacBook-Pro.local"
] | mohamd@mohamds-MacBook-Pro.local |
7c95934d9d8dc2677b83e31eaab7b31098bb69f2 | 08e9c56b520d4490425bf2149b2e1fbcd42c7f4f | /T3000/BacnetProgramEdit.h | 4885e71c36f308d55c92e19cda2dacd0d261ebeb | [] | no_license | nonedead/T3000_Building_Automation_System | 3b3134e589260499acb68401f5af29d8365b12c4 | a6c2598a1ea5e6197497d16da6f15e1d8e5a770a | refs/heads/master | 2020-05-20T17:56:18.630313 | 2014-02-21T09:00:02 | 2014-02-21T09:00:02 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,291 | h | #pragma once
#include "afxwin.h"
#include "CM5\CStatic\staticex.h"
const int KEY_F2 = 1002;
const int KEY_F3 = 1003;
const int KEY_F7 = 1007;
const int KEY_F6 = 1006;
const int KEY_F8 = 1008;
// CBacnetProgramEdit dialog
class CBacnetProgramEdit : public CDialogEx
{
DECLARE_DYNAMIC(CBacnetProgramEdit)
public:
CBacnetProgramEdit(CWnd* pParent = NULL); // standard constructor
virtual ~CBacnetProgramEdit();
// Dialog Data
enum { IDD = IDD_DIALOG_BACNET_PROGRAM_EDIT };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
afx_msg LRESULT OnHotKey(WPARAM wParam,LPARAM lParam);//ÊÖ¶¯¼ÓÈë.
DECLARE_MESSAGE_MAP()
bool Run_once_mutex;
public:
virtual BOOL OnInitDialog();
virtual void OnOK();
LRESULT ProgramResumeMessageCallBack(WPARAM wParam, LPARAM lParam);
LRESULT Fresh_Program_RichEdit(WPARAM wParam,LPARAM lParam);
// afx_msg void OnBnClickedButtonProgramSend();
afx_msg void OnSend();
afx_msg void OnClose();
afx_msg void OnClear();
afx_msg void OnLoadfile();
afx_msg void OnSavefile();
virtual void OnCancel();
afx_msg void OnEnSetfocusRichedit2Program();
void Initial_static();
CListBox m_information_window;
CStaticEx m_pool_size;
CStaticEx m_program_size;
CStaticEx m_free_memory;
afx_msg void OnRefresh();
};
| [
"fandu@temcocontrols.com"
] | fandu@temcocontrols.com |
0dbe4da772d67759081bae92c6770d987b98b260 | 30c42bd6494395b5cb613eeda30b64c551b26569 | /uniform_initialization.h | b613e18868acbb2892fd2af5600ca8d463fb454f | [] | no_license | Littlehhh/Cpp0x11 | 2eb0fc311922d449c6d9e7658b0968cbde17ae3b | 1e65753b55c6a6baa83baaaf47e6c9d1efdbf9db | refs/heads/master | 2020-09-08T21:37:12.746672 | 2019-12-05T02:45:06 | 2019-12-05T02:45:06 | 221,249,089 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | h | //
// Created by HuiWang on 2019/11/8.
//
#ifndef CPP0X11_UNIFORM_INITIALIZATION_H
#define CPP0X11_UNIFORM_INITIALIZATION_H
#include <initializer_list>
#include <array>
// Initialization could happen with parentheses, braces, or assignment operators
// use braces !!!!
int values[] = {1,2,3};
// backend
std::initializer_list<int> temp;
#endif //CPP0X11_UNIFORM_INITIALIZATION_H
| [
"wang0x20hui@gmail.com"
] | wang0x20hui@gmail.com |
b0a404ce6bca18f9e1bfa90529374e7d87220221 | 49734b09f7c010ba5ea06dc0ee5c3d14f052897e | /c++_solutions/92.cpp | 36a09d50d301f01067a3f6f6ce8047725b784487 | [] | no_license | Yashwant-Tailor/LeetCodeSolution | d66772aed75bd4e3d7e1ffcdc61726410c840570 | e41b4b80729b788abd5b9b8cdb256cd25107673b | refs/heads/main | 2023-08-31T15:26:26.852650 | 2023-08-25T21:03:55 | 2023-08-25T21:03:55 | 375,398,526 | 2 | 0 | null | 2023-09-03T18:34:00 | 2021-06-09T15:11:50 | Python | UTF-8 | C++ | false | false | 1,767 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode() : val(0), next(nullptr) {}
* ListNode(int x) : val(x), next(nullptr) {}
* ListNode(int x, ListNode *next) : val(x), next(next) {}
* };
*/
class Solution {
public:
ListNode* reverseBetween(ListNode* head, int left, int right) {
ListNode * tail1 = nullptr , * head1 = nullptr , * start = nullptr , *end = nullptr , *curr= head , *previous = nullptr ;
int index = 0 ;
while(curr != nullptr){
index++ ;
if(index == left ){
tail1 = previous ;
if(tail1 != nullptr){
tail1->next = nullptr ;
}
start = curr ;
curr = curr->next ;
start->next = nullptr ;
end = start ;
head1 = curr ;
}
else if(index > left && index < right){
ListNode * node = curr ;
curr = curr->next ;
node->next = end ;
end = node ;
head1 = curr ;
}
else if(index == right){
ListNode * node = curr ;
curr = curr->next ;
node->next = end ;
end = node ;
head1 = curr ;
}
else{
previous = curr ;
curr = curr->next ;
}
}
if(tail1 == nullptr){
start->next = head1 ;
return end ;
}
else{
cout<<"ok\n" ;
tail1->next = end ;
start->next = head1 ;
return head ;
}
}
};
| [
"yasht88101@gmail.com"
] | yasht88101@gmail.com |
46e06bd89d3412175c4f284679fdac2593c38397 | fb586cce1060cd36ea4ae765353f2350f372d19c | /cores/arduino/main.cpp | 74cc80e2b89e36eeafa5d6de4af0de308afea912 | [] | no_license | tonykwon100/blueinno01 | 86dde07a573dbea099b958796c76240738ab1435 | e871052681e404e44e0b98205c5fdef032137ee7 | refs/heads/master | 2021-01-10T01:56:37.633932 | 2016-03-30T04:31:29 | 2016-03-30T04:31:29 | 55,027,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,271 | cpp | /*
Copyright (c) 2013 OpenSourceRF.com. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/*
Copyright (c) 2011 Arduino. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#define ARDUINO_MAIN
#include "Arduino.h"
// add 2015.6.4
//#include "RFduinoBLE.h"
/*
* \brief Main entry point of Arduino application
*/
int main( void )
{
init();
setup();
for (;;)
{
loop();
}
return 0;
}
| [
"tonykwon100@gmail.com"
] | tonykwon100@gmail.com |
4b0c75a554d067cb2c0ad97473e94a6a9ec38b58 | e3c49316bc7b165d4bc40285ca23aad7673753e4 | /tests/hom/test_hom_simple_expression.cc | be18e0c308a1b2d53b2e2c3861fd69c3a8131539 | [
"BSD-2-Clause"
] | permissive | ahamez/proto-dd | 557005b851f4adf0dd19d40e271a85befa1f63da | 835535d8e8b53284b6228ef5679baa839e3134b3 | refs/heads/master | 2016-09-06T09:01:04.654079 | 2014-04-04T20:30:26 | 2014-04-04T20:30:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,190 | cc | #include "gtest/gtest.h"
#include "sdd/hom/context.hh"
#include "sdd/hom/definition.hh"
#include "sdd/hom/rewrite.hh"
#include "sdd/manager.hh"
#include "sdd/order/order.hh"
#include "tests/configuration.hh"
#include "tests/hom/common.hh"
#include "tests/hom/common_inductives.hh"
#include "tests/hom/expression.hh"
/*------------------------------------------------------------------------------------------------*/
TYPED_TEST(hom_expression_test, simple_construction)
{
{
const auto l = {"a", "b"};
order o(order_builder {"a", "b"});
const auto h1 = expression(o, evaluator<conf>(ast1), l.begin(), l.end(), "a");
const auto h2 = expression(o, evaluator<conf>(ast1), l.begin(), l.end(), "a");
ASSERT_EQ(h1, h2);
}
{
const auto l = {"a", "b"};
order o(order_builder {"a", "b"});
ASSERT_EQ(expression(o, evaluator<conf>(ast1), l.begin(), l.begin(), "a"), id);
}
}
/*------------------------------------------------------------------------------------------------*/
TYPED_TEST(hom_expression_test, simple_flat_one_path)
{
const auto _ = 42; // don't care value
{
const auto l = {"a", "b"};
order o(order_builder {"a", "b", "c"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
SDD s0(2, {1}, SDD(1, {1}, SDD(0, {_}, one)));
SDD s1(2, {1}, SDD(1, {1}, SDD(0, {2}, one)));
ASSERT_EQ(s1, h(o, s0));
}
{
const auto l = {"a", "b"};
order o(order_builder {"a", "b", "c"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
SDD s0(2, {1,2}, SDD(1, {2,3}, SDD(0, {_} , one)));
SDD s1(2, {1,2}, SDD(1, {2,3}, SDD(0, {3,4,5}, one)));
ASSERT_EQ(s1, h(o, s0));
}
{
const auto l = {"a", "b"};
order o(order_builder {"b", "a", "c"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
SDD s0(2, {1}, SDD(1, {1}, SDD(0, {_}, one)));
SDD s1(2, {1}, SDD(1, {1}, SDD(0, {2}, one)));
ASSERT_EQ(s1, h(o, s0));
}
{
const auto l = {"a", "b"};
order o(order_builder {"a", "b", "c", "y"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
SDD s0(3, {1}, SDD(2, {1}, SDD(1, {_}, SDD(0, {_}, one))));
SDD s1(3, {1}, SDD(2, {1}, SDD(1, {2}, SDD(0, {_}, one))));
ASSERT_EQ(s1, h(o, s0));
}
{
const auto l = {"a", "b"};
order o(order_builder {"a", "b", "x", "y", "c"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
SDD s0(4, {1}, SDD(3, {1}, SDD(2, {_}, SDD(1, {_}, SDD(0, {_}, one)))));
SDD s1(4, {1}, SDD(3, {1}, SDD(2, {_}, SDD(1, {_}, SDD(0, {2}, one)))));
ASSERT_EQ(s1, h(o, s0));
}
// Order changes (identifiers), but not variables. We must reset the homomorphism cache.
this->m.reset_hom_cache();
{
const auto l = {"a", "b"};
order o(order_builder {"a", "b", "x", "c", "y"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
SDD s0(4, {1}, SDD(3, {1}, SDD(2, {_}, SDD(1, {_}, SDD(0, {_}, one)))));
SDD s1(4, {1}, SDD(3, {1}, SDD(2, {_}, SDD(1, {2}, SDD(0, {_}, one)))));
ASSERT_EQ(s1, h(o, s0));
}
this->m.reset_hom_cache();
{
const auto l = {"a", "b"};
order o(order_builder {"z", "a", "b", "x", "c", "y"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
SDD s0(5, {_}, SDD(4, {1}, SDD(3, {1}, SDD(2, {_}, SDD(1, {_}, SDD(0, {_}, one))))));
SDD s1(5, {_}, SDD(4, {1}, SDD(3, {1}, SDD(2, {_}, SDD(1, {2}, SDD(0, {_}, one))))));
ASSERT_EQ(s1, h(o, s0));
}
}
/*------------------------------------------------------------------------------------------------*/
TYPED_TEST(hom_expression_test, simple_flat_one_path_self)
{
const auto _ = 42; // don't care value
{
const auto l = {"a", "b"};
order o(order_builder {"a", "b"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "b");
SDD s0(1, {1}, SDD(0, {1}, one));
SDD s1(1, {1}, SDD(0, {2}, one));
ASSERT_EQ(s1, h(o, s0));
}
{
const auto l = {"a", "b"};
order o(order_builder {"a", "b","y"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "b");
SDD s0(2, {1}, SDD(1, {2}, SDD(0, {_}, one)));
SDD s1(2, {1}, SDD(1, {3}, SDD(0, {_}, one)));
ASSERT_EQ(s1, h(o, s0));
}
{
const auto l = {"a", "b"};
order o(order_builder {"a", "x", "y", "b"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "b");
SDD s0(3, {1}, SDD(2, {_}, SDD(1, {_}, SDD(0, {7}, one))));
SDD s1(3, {1}, SDD(2, {_}, SDD(1, {_}, SDD(0, {8}, one))));
ASSERT_EQ(s1, h(o, s0));
}
// Order changes (identifiers), but not variables. We must reset the homomorphism cache.
this->m.reset_hom_cache();
{
const auto l = {"a", "b"};
order o(order_builder {"a", "x", "b", "y"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "b");
SDD s0(3, {1}, SDD(2, {_}, SDD(1, {4}, SDD(0, {_}, one))));
SDD s1(3, {1}, SDD(2, {_}, SDD(1, {5}, SDD(0, {_}, one))));
ASSERT_EQ(s1, h(o, s0));
}
{
const auto l = {"a", "b"};
order o(order_builder {"z", "a", "x", "b", "y"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "b");
SDD s0(4, {1}, SDD(3, {1}, SDD(2, {_}, SDD(1, {5}, SDD(0, {_}, one)))));
SDD s1(4, {1}, SDD(3, {1}, SDD(2, {_}, SDD(1, {6}, SDD(0, {_}, one)))));
ASSERT_EQ(s1, h(o, s0));
}
}
/*------------------------------------------------------------------------------------------------*/
TYPED_TEST(hom_expression_test, simple_flat)
{
const auto l = {"a", "b"};
const auto _ = 21; // don't care value
const auto xx = 42; // don't care value
const auto yy = 33; // don't care value
{
order o(order_builder {"a", "b", "c"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
const auto s0 = SDD(2, {1}, SDD(1, {1}, SDD(0, {xx}, one)))
+ SDD(2, {2}, SDD(1, {2}, SDD(0, {yy}, one)));
const auto s1 = SDD(2, {1}, SDD(1, {1}, SDD(0, {2}, one)))
+ SDD(2, {2}, SDD(1, {2}, SDD(0, {4}, one)));
ASSERT_EQ(s1, h(o, s0));
}
{
order o(order_builder {"a", "b", "c"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
const auto s0 = SDD(2, {1}, SDD(1, {2}, SDD(0, {xx}, one)))
+ SDD(2, {2}, SDD(1, {1}, SDD(0, {yy}, one)));
const auto s1 = SDD(2, {1}, SDD(1, {2}, SDD(0, {3}, one)))
+ SDD(2, {2}, SDD(1, {1}, SDD(0, {3}, one)));
ASSERT_EQ(s1, h(o, s0));
}
{
order o(order_builder {"a", "b", "c"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
const auto s0 = SDD(2, {1}, SDD(1, {2}, SDD(0, {_}, one)))
+ SDD(2, {2}, SDD(1, {1}, SDD(0, {_}, one)));
const auto s1 = SDD(2, {1}, SDD(1, {2}, SDD(0, {3}, one)))
+ SDD(2, {2}, SDD(1, {1}, SDD(0, {3}, one)));
ASSERT_EQ(s1, h(o, s0));
}
{
order o(order_builder {"a", "b", "c"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
const auto s0 = SDD(2, {1}, SDD(1, {1,2}, SDD(0, {_}, one)));
const auto s1 = SDD(2, {1}, SDD(1, {1,2}, SDD(0, {2,3}, one)));
ASSERT_EQ(s1, h(o, s0));
}
{
order o(order_builder {"a", "b", "c"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
const auto s0 = SDD(2, {1}, SDD(1, {1}, SDD(0, {_}, one)))
+ SDD(2, {2}, SDD(1, {2}, SDD(0, {_}, one)));
const auto s1 = SDD(2, {1}, SDD(1, {1}, SDD(0, {2}, one)))
+ SDD(2, {2}, SDD(1, {2}, SDD(0, {4}, one)));
ASSERT_EQ(s1, h(o, s0));
}
{
order o(order_builder {"a", "b", "c", "y"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
const auto s0 = SDD(3, {1}, SDD(2, {1}, SDD(1, {_}, SDD(0, {_}, one))))
+ SDD(3, {2}, SDD(2, {2}, SDD(1, {_}, SDD(0, {_}, one))));
const auto s1 = SDD(3, {1}, SDD(2, {1}, SDD(1, {2}, SDD(0, {_}, one))))
+ SDD(3, {2}, SDD(2, {2}, SDD(1, {4}, SDD(0, {_}, one))));
ASSERT_EQ(s1, h(o, s0));
}
{
order o(order_builder {"a", "b", "c", "y"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
const auto s0 = SDD(3, {1}, SDD(2, {1}, SDD(1, {xx}, SDD(0, {_}, one))))
+ SDD(3, {2}, SDD(2, {2}, SDD(1, {yy}, SDD(0, {_}, one))));
const auto s1 = SDD(3, {1}, SDD(2, {1}, SDD(1, {2}, SDD(0, {_}, one))))
+ SDD(3, {2}, SDD(2, {2}, SDD(1, {4}, SDD(0, {_}, one))));
ASSERT_EQ(s1, h(o, s0));
}
this->m.reset_hom_cache();
{
order o(order_builder {"a", "b", "y", "c"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
const auto s0 = SDD(3, {1}, SDD(2, {1}, SDD(1, {_}, SDD(0, {_}, one))))
+ SDD(3, {2}, SDD(2, {2}, SDD(1, {_}, SDD(0, {_}, one))));
const auto s1 = SDD(3, {1}, SDD(2, {1}, SDD(1, {_}, SDD(0, {2}, one))))
+ SDD(3, {2}, SDD(2, {2}, SDD(1, {_}, SDD(0, {4}, one))));
ASSERT_EQ(s1, h(o, s0));
}
this->m.reset_hom_cache();
{
order o(order_builder {"a", "b", "x", "c", "y"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
const auto s0 = SDD(4, {1}, SDD(3, {1}, SDD(2, {_}, SDD(1, {_}, SDD(0, {_}, one)))))
+ SDD(4, {2}, SDD(3, {2}, SDD(2, {_}, SDD(1, {_}, SDD(0, {_}, one)))));
const auto s1 = SDD(4, {1}, SDD(3, {1}, SDD(2, {_}, SDD(1, {2}, SDD(0, {_}, one)))))
+ SDD(4, {2}, SDD(3, {2}, SDD(2, {_}, SDD(1, {4}, SDD(0, {_}, one)))));
ASSERT_EQ(s1, h(o, s0));
}
this->m.reset_hom_cache();
{
order o(order_builder {"z", "a", "b", "x", "c", "y"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
const auto s0 = SDD(5,{_},SDD(4,{1},SDD(3, {1}, SDD(2, {_}, SDD(1, {_}, SDD(0, {_}, one))))))
+ SDD(5,{_},SDD(4,{2},SDD(3, {2}, SDD(2, {_}, SDD(1, {_}, SDD(0, {_}, one))))));
const auto s1 = SDD(5,{_},SDD(4,{1},SDD(3, {1}, SDD(2, {_}, SDD(1, {2}, SDD(0, {_}, one))))))
+ SDD(5,{_},SDD(4,{2},SDD(3, {2}, SDD(2, {_}, SDD(1, {4}, SDD(0, {_}, one))))));
ASSERT_EQ(s1, h(o, s0));
}
this->m.reset_hom_cache();
{
order o(order_builder {"a", "b", "c"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
const auto s0 = SDD(2, {0}, SDD(1, {0}, SDD(0, {0}, one)))
+ SDD(2, {0}, SDD(1, {1}, SDD(0, {1}, one)))
+ SDD(2, {2}, SDD(1, {2}, SDD(0, {1}, one)));
const auto s1 = SDD(2, {0}, SDD(1, {0}, SDD(0, {0}, one)))
+ SDD(2, {0}, SDD(1, {1}, SDD(0, {1}, one)))
+ SDD(2, {2}, SDD(1, {2}, SDD(0, {4}, one)));
ASSERT_EQ(s1, h(o, s0));
}
}
/*------------------------------------------------------------------------------------------------*/
TYPED_TEST(hom_expression_test, simple_flat_self)
{
const auto l = {"a", "b"};
const auto _ = 21; // don't care value
const auto xx = 42; // don't care value
const auto yy = 33; // don't care value
{
order o(order_builder {"a", "b"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "b");
const auto s0 = SDD(1, {1}, SDD(0, {1}, one))
+ SDD(1, {2}, SDD(0, {2}, one));
const auto s1 = SDD(1, {1}, SDD(0, {2}, one))
+ SDD(1, {2}, SDD(0, {4}, one));
ASSERT_EQ(s1, h(o, s0));
}
{
order o(order_builder {"a", "b", "y"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "b");
const auto s0 = SDD(2, {1}, SDD(1, {1}, SDD(0, {_}, one)))
+ SDD(2, {2}, SDD(1, {2}, SDD(0, {_}, one)));
const auto s1 = SDD(2, {1}, SDD(1, {2}, SDD(0, {_}, one)))
+ SDD(2, {2}, SDD(1, {4}, SDD(0, {_}, one)));
ASSERT_EQ(s1, h(o, s0));
}
{
order o(order_builder {"a", "b", "y"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "b");
const auto s0 = SDD(2, {1}, SDD(1, {1}, SDD(0, {xx}, one)))
+ SDD(2, {2}, SDD(1, {2}, SDD(0, {yy}, one)));
const auto s1 = SDD(2, {1}, SDD(1, {2}, SDD(0, {xx}, one)))
+ SDD(2, {2}, SDD(1, {4}, SDD(0, {yy}, one)));
ASSERT_EQ(s1, h(o, s0));
}
this->m.reset_hom_cache();
{
order o(order_builder {"a", "y", "b"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "b");
const auto s0 = SDD(2, {1}, SDD(1, {_}, SDD(0, {1}, one)))
+ SDD(2, {2}, SDD(1, {_}, SDD(0, {2}, one)));
const auto s1 = SDD(2, {1}, SDD(1, {_}, SDD(0, {2}, one)))
+ SDD(2, {2}, SDD(1, {_}, SDD(0, {4}, one)));
ASSERT_EQ(s1, h(o, s0));
}
{
order o(order_builder {"a", "x", "b", "y"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "b");
const auto s0 = SDD(3, {1}, SDD(2, {_}, SDD(1, {1}, SDD(0, {_}, one))))
+ SDD(3, {2}, SDD(2, {_}, SDD(1, {2}, SDD(0, {_}, one))));
const auto s1 = SDD(3, {1}, SDD(2, {_}, SDD(1, {2}, SDD(0, {_}, one))))
+ SDD(3, {2}, SDD(2, {_}, SDD(1, {4}, SDD(0, {_}, one))));
ASSERT_EQ(s1, h(o, s0));
}
{
order o(order_builder {"z", "a", "x", "b", "y"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "b");
const auto s0 = SDD(4, {xx}, SDD(3, {1}, SDD(2, {_}, SDD(1, {1}, SDD(0, {yy}, one)))))
+ SDD(4, {yy}, SDD(3, {2}, SDD(2, {_}, SDD(1, {2}, SDD(0, {xx}, one)))));
const auto s1 = SDD(4, {xx}, SDD(3, {1}, SDD(2, {_}, SDD(1, {2}, SDD(0, {yy}, one)))))
+ SDD(4, {yy}, SDD(3, {2}, SDD(2, {_}, SDD(1, {4}, SDD(0, {xx}, one)))));
ASSERT_EQ(s1, h(o, s0));
}
this->m.reset_hom_cache();
{
order o(order_builder {"a", "x", "b"});
const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "b");
const auto s0 = SDD(2, {0}, SDD(1, {0}, SDD(0, {0}, one)))
+ SDD(2, {0}, SDD(1, {1}, SDD(0, {1}, one)))
+ SDD(2, {2}, SDD(1, {2}, SDD(0, {1}, one)));
const auto s1 = SDD(2, {0}, SDD(1, {0}, SDD(0, {0}, one)))
+ SDD(2, {0}, SDD(1, {1}, SDD(0, {1}, one)))
+ SDD(2, {2}, SDD(1, {2}, SDD(0, {3}, one)));
ASSERT_EQ(s1, h(o, s0));
}
}
/*------------------------------------------------------------------------------------------------*/
//TYPED_TEST(hom_expression_test, simple_hierarchical_one_path)
//{
// const auto l = {"a", "b"};
// const auto _ = 21; // don't care value
// using ob = order_builder;
// {
// order o(ob("i", ob ({"a", "b", "c"})));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(0, SDD(2, {1}, SDD(1, {1}, SDD(0, {_}, one))), one);
// const auto s1 = SDD(0, SDD(2, {1}, SDD(1, {1}, SDD(0, {2}, one))), one);
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// order o(ob("z") << ob("i", ob ({"a", "b", "c"})));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(1, {_}, SDD(0, SDD(2, {1}, SDD(1, {1}, SDD(0, {_}, one))), one));
// const auto s1 = SDD(1, {_}, SDD(0, SDD(2, {1}, SDD(1, {1}, SDD(0, {2}, one))), one));
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// order o(ob("i", ob("z")) << ob("j", ob({"a", "b", "c"})));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(1, SDD(0,{_},one),SDD(0,SDD(2,{1},SDD(1, {1},SDD(0,{_},one))),one));
// const auto s1 = SDD(1, SDD(0,{_},one),SDD(0,SDD(2,{1},SDD(1, {1},SDD(0,{2},one))),one));
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// order o(order_builder().push("j", order_builder().push("i", order_builder {"a", "b", "c"})));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(0, SDD(0, SDD(2, {1}, SDD(1, {1}, SDD(0, {_}, one))), one), one);
// const auto s1 = SDD(0, SDD(0, SDD(2, {1}, SDD(1, {1}, SDD(0, {2}, one))), one), one);
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// const order o(ob("i", ob("a")) << ob("j", ob("b")) << ob("k", ob("c")));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(2, SDD(0, {1}, one)
// , SDD(1, SDD(0, {1}, one)
// , SDD(0, SDD(0, {_}, one)
// , one)));
// const auto s1 = SDD(2, SDD(0, {1}, one)
// , SDD(1, SDD(0, {1}, one)
// , SDD(0, SDD(0, {2}, one)
// , one)));
//
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// const order o(ob("i", ob("a")) << ob("j", ob("z")) << ob("k", ob("b")) << ob("l", ob("c")));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(3, SDD(0, {1}, one)
// , SDD(2, SDD(0, {_}, one)
// , SDD(1, SDD(0, {1}, one)
// , SDD(0, SDD(0, {_}, one)
// , one))));
// const auto s1 = SDD(3, SDD(0, {1}, one)
// , SDD(2, SDD(0, {_}, one)
// , SDD(1, SDD(0, {1}, one)
// , SDD(0, SDD(0, {2}, one)
// , one))));
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// const order o( ob("i", ob("j", ob("a")))
// << ob("k", ob("l", ob("m", ob("b"))))
// << ob("n", ob("c")));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(2, SDD(0,SDD(0, {1}, one),one),
// SDD(1, SDD(0, SDD(0, SDD(0, {2}, one),one),one),
// SDD(0, SDD(0, {_}, one), one)
// ));
// const auto s1 = SDD(2, SDD(0,SDD(0, {1}, one),one),
// SDD(1, SDD(0, SDD(0, SDD(0, {2}, one),one),one),
// SDD(0, SDD(0, {3}, one), one)
// ));
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// const order o(ob("i", ob("a")) << ob("b") << ob("k", ob("c")));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(2, SDD(0, {1}, one)
// , SDD(1, {1}
// , SDD(0, SDD(0, {_}, one)
// , one)));
// const auto s1 = SDD(2, SDD(0, {1}, one)
// , SDD(1, {1}
// , SDD(0, SDD(0, {2}, one)
// , one)));
//
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// const order o(ob("i", ob("a")) << ob("j", ob("b")) << ob("k", ob({"c", "x"})));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(2, SDD(0, {2}, one)
// , SDD(1, SDD(0, {1}, one)
// , SDD(0, SDD(1, {_}, SDD(0, {_}, one))
// , one)));
// const auto s1 = SDD(2, SDD(0, {2}, one)
// , SDD(1, SDD(0, {1}, one)
// , SDD(0, SDD(1, {3}, SDD(0, {_}, one))
// , one)));
//
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// const order o(ob("i", ob("a")) << ob("j", ob("b")) << ob("k", ob({"y", "c", "x"})));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(2, SDD(0, {2}, one)
// , SDD(1, SDD(0, {1}, one)
// , SDD(0, SDD(2, {_}, SDD(1, {_}, SDD(0, {_}, one)))
// , one)));
// const auto s1 = SDD(2, SDD(0, {2}, one)
// , SDD(1, SDD(0, {1}, one)
// , SDD(0, SDD(2, {_}, SDD(1, {3}, SDD(0, {_}, one)))
// , one)));
//
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// const order o(ob("i", ob("a")) << ob("j", ob({"b", "z"})) << ob("k", ob({"y", "c", "x"})));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(2, SDD(0, {2}, one)
// , SDD(1, SDD(1, {1}, SDD(0, {_}, one))
// , SDD(0, SDD(2, {_}, SDD(1, {_}, SDD(0, {_}, one)))
// , one)));
// const auto s1 = SDD(2, SDD(0, {2}, one)
// , SDD(1, SDD(1, {1}, SDD(0, {_}, one))
// , SDD(0, SDD(2, {_}, SDD(1, {3}, SDD(0, {_}, one)))
// , one)));
//
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// const order o(ob("i", ob("a")) << ob("j", ob("b")) << ob("c"));
//
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(2, SDD(0, {1}, one)
// , SDD(1, SDD(0, {1}, one)
// , SDD(0, {_}
// , one)));
// const auto s1 = SDD(2, SDD(0, {1}, one)
// , SDD(1, SDD(0, {1}, one)
// , SDD(0, {2}
// , one)));
//
// ASSERT_EQ(s1, h(o, s0));
// }
//}
/*------------------------------------------------------------------------------------------------*/
//TYPED_TEST(hom_expression_test, simple_hierarchical)
//{
// const auto l = {"a", "b"};
// const auto _ = 21; // don't care value
// const auto xx = 42;
// using ob = order_builder;
// {
// order o(ob("i", ob ({"a", "b", "c"})));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(0, SDD(2, {1}, SDD(1, {1}, SDD(0, {_}, one))), one)
// + SDD(0, SDD(2, {2}, SDD(1, {2}, SDD(0, {_}, one))), one);
// const auto s1 = SDD(0, SDD(2, {1}, SDD(1, {1}, SDD(0, {2}, one))), one)
// + SDD(0, SDD(2, {2}, SDD(1, {2}, SDD(0, {4}, one))), one);
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// order o(ob("z") << ob("i", ob ({"a", "b", "c"})));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(1, {_}, SDD(0, SDD(2, {1}, SDD(1, {1}, SDD(0, {_}, one))), one))
// + SDD(1, {_}, SDD(0, SDD(2, {2}, SDD(1, {2}, SDD(0, {_}, one))), one));
// const auto s1 = SDD(1, {_}, SDD(0, SDD(2, {1}, SDD(1, {1}, SDD(0, {2}, one))), one))
// + SDD(1, {_}, SDD(0, SDD(2, {2}, SDD(1, {2}, SDD(0, {4}, one))), one));
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// order o(ob("z") << ob("i", ob ({"a", "b", "c"})));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(1, {_}, SDD(0, SDD(2, {1}, SDD(1, {1}, SDD(0, {_}, one))), one))
// + SDD(1, {_}, SDD(0, SDD(2, {2}, SDD(1, {2}, SDD(0, {_}, one))), one))
// + SDD(1, {xx}, SDD(0, SDD(2, {3}, SDD(1, {2}, SDD(0, {_}, one))), one));
// const auto s1 = SDD(1, {_}, SDD(0, SDD(2, {1}, SDD(1, {1}, SDD(0, {2}, one))), one))
// + SDD(1, {_}, SDD(0, SDD(2, {2}, SDD(1, {2}, SDD(0, {4}, one))), one))
// + SDD(1, {xx}, SDD(0, SDD(2, {3}, SDD(1, {2}, SDD(0, {5}, one))), one));
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// order o(order_builder().push("j", order_builder().push("i", order_builder {"a", "b", "c"})));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(0, SDD(0, SDD(2, {1}, SDD(1, {1}, SDD(0, {_}, one))), one), one)
// + SDD(0, SDD(0, SDD(2, {2}, SDD(1, {2}, SDD(0, {_}, one))), one), one);
// const auto s1 = SDD(0, SDD(0, SDD(2, {1}, SDD(1, {1}, SDD(0, {2}, one))), one), one)
// + SDD(0, SDD(0, SDD(2, {2}, SDD(1, {2}, SDD(0, {4}, one))), one), one);
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// const order o(ob("i", ob("a")) << ob("j", ob("b")) << ob("k", ob("c")));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(2, SDD(0, {1}, one)
// , SDD(1, SDD(0, {1}, one)
// , SDD(0, SDD(0, {_}, one)
// , one)))
// + SDD(2, SDD(0, {2}, one)
// , SDD(1, SDD(0, {2}, one)
// , SDD(0, SDD(0, {_}, one)
// , one)));
// const auto s1 = SDD(2, SDD(0, {1}, one)
// , SDD(1, SDD(0, {1}, one)
// , SDD(0, SDD(0, {2}, one)
// , one)))
// + SDD(2, SDD(0, {2}, one)
// , SDD(1, SDD(0, {2}, one)
// , SDD(0, SDD(0, {4}, one)
// , one)));
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// const order o( ob("i", ob("j", ob("a")))
// << ob("k", ob("l", ob("m", ob("b"))))
// << ob("n", ob("c")));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(2, SDD(0,SDD(0, {1}, one),one),
// SDD(1, SDD(0, SDD(0, SDD(0, {2}, one),one),one),
// SDD(0, SDD(0, {_}, one), one)
// ))
// + SDD(2, SDD(0,SDD(0, {3}, one),one),
// SDD(1, SDD(0, SDD(0, SDD(0, {3}, one),one),one),
// SDD(0, SDD(0, {_}, one), one)
// ));
// const auto s1 = SDD(2, SDD(0,SDD(0, {1}, one),one),
// SDD(1, SDD(0, SDD(0, SDD(0, {2}, one),one),one),
// SDD(0, SDD(0, {3}, one), one)
// ))
// + SDD(2, SDD(0,SDD(0, {3}, one),one),
// SDD(1, SDD(0, SDD(0, SDD(0, {3}, one),one),one),
// SDD(0, SDD(0, {6}, one), one)
// ));
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// const order o(ob("i", ob("a")) << ob("j", ob({"b", "z"})) << ob("k", ob({"y", "c", "x"})));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(2, SDD(0, {2}, one)
// , SDD(1, SDD(1, {1}, SDD(0, {_}, one))
// , SDD(0, SDD(2, {_}, SDD(1, {_}, SDD(0, {_}, one)))
// , one)))
// + SDD(2, SDD(0, {3}, one)
// , SDD(1, SDD(1, {4}, SDD(0, {_}, one))
// , SDD(0, SDD(2, {_}, SDD(1, {_}, SDD(0, {_}, one)))
// , one)));
// const auto s1 = SDD(2, SDD(0, {2}, one)
// , SDD(1, SDD(1, {1}, SDD(0, {_}, one))
// , SDD(0, SDD(2, {_}, SDD(1, {3}, SDD(0, {_}, one)))
// , one)))
// + SDD(2, SDD(0, {3}, one)
// , SDD(1, SDD(1, {4}, SDD(0, {_}, one))
// , SDD(0, SDD(2, {_}, SDD(1, {7}, SDD(0, {_}, one)))
// , one)));
//
// ASSERT_EQ(s1, h(o, s0));
// }
// {
// const order o(ob("i", ob("a")) << ob("j", ob("z")) << ob("k", ob("b")) << ob("l", ob("c")));
// const auto h = expression<conf>(o, evaluator<conf>(ast1), l.begin(), l.end(), "c");
// const auto s0 = SDD(3, SDD(0, {1}, one)
// , SDD(2, SDD(0, {_}, one)
// , SDD(1, SDD(0, {1}, one)
// , SDD(0, SDD(0, {_}, one)
// , one))))
// + SDD(3, SDD(0, {2}, one)
// , SDD(2, SDD(0, {_}, one)
// , SDD(1, SDD(0, {3}, one)
// , SDD(0, SDD(0, {_}, one)
// , one))));
// const auto s1 = SDD(3, SDD(0, {1}, one)
// , SDD(2, SDD(0, {_}, one)
// , SDD(1, SDD(0, {1}, one)
// , SDD(0, SDD(0, {2}, one)
// , one))))
// + SDD(3, SDD(0, {2}, one)
// , SDD(2, SDD(0, {_}, one)
// , SDD(1, SDD(0, {3}, one)
// , SDD(0, SDD(0, {5}, one)
// , one))));
// ASSERT_EQ(s1, h(o, s0));
// }
//}
/*------------------------------------------------------------------------------------------------*/
| [
"alexandre.hamez@gmail.com"
] | alexandre.hamez@gmail.com |
6558496d97ef15b6929541cd5ee8d2a95c68a80d | a5a1a876cb0811420b327456b3111702aee19012 | /WTL/windows/controls/edit/EditUpdatedEvent.hpp | 5877d0f6555584de1ab3861f210c3f71cbbea5ad | [] | no_license | CyberSys/Win32-Template-Library | ab2f761bad0c19058bcadd50c00b31b495847480 | d53b1ad90b9414944f25179130d467edb29ad75d | refs/heads/master | 2022-02-15T12:45:32.005469 | 2016-02-28T22:02:39 | 2016-02-28T22:02:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,206 | hpp | //////////////////////////////////////////////////////////////////////////////////////////
//! \file wtl\windows\controls\edut\EditUpdatedEvent.hpp
//! \brief Encapsulates the WM_COMMAND notification sent when the text of an Edit control changes within the 'Updated' event
//! \date 25 February 2016
//! \author Nick Crowley
//! \copyright Nick Crowley. All rights reserved.
//////////////////////////////////////////////////////////////////////////////////////////
#ifndef WTL_EDIT_UPDATED_EVENT_HPP
#define WTL_EDIT_UPDATED_EVENT_HPP
#include <wtl/WTL.hpp>
#include <wtl/windows/ControlEventArgs.hpp> //!< ControlEventArgs
#include <wtl/windows/controls/edit/EditConstants.hpp> //!< EditNotification
//! \namespace wtl - Windows template library
namespace wtl
{
/////////////////////////////////////////////////////////////////////////////////////////
//! \alias EditUpdatedEventArgs - Defines arguments type for the Edit control 'Updated' Event
//!
//! \tparam ENC - Message character encoding
/////////////////////////////////////////////////////////////////////////////////////////
template <Encoding ENC>
using EditUpdatedEventArgs = ControlEventArgs<ENC,WindowMessage::Command,EditNotification,EditNotification::Update>;
/////////////////////////////////////////////////////////////////////////////////////////
//! \alias EditUpdatedEvent - Defines the signature of the Edit control 'Updated' event handler [Pass by value]
//!
//! \tparam ENC - Window character encoding
/////////////////////////////////////////////////////////////////////////////////////////
template <Encoding ENC>
using EditUpdatedEvent = Event<LResult, EditUpdatedEventArgs<ENC>>;
/////////////////////////////////////////////////////////////////////////////////////////
//! \alias EditUpdatedEventHandler - Defines the delegate type for the Edit control 'Updated' event
//!
//! \tparam ENC - Window character encoding
/////////////////////////////////////////////////////////////////////////////////////////
template <Encoding ENC>
using EditUpdatedEventHandler = handler_t<EditUpdatedEvent<ENC>>;
} // namespace wtl
#endif // WTL_EDIT_UPDATED_EVENT_HPP
| [
"nicholas.crowley@gmail.com"
] | nicholas.crowley@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.