code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
module Laser # Class that's just a name. Substitute for symbols, which can overlap # with user-code values. class PlaceholderObject def initialize(name) @name = name end def inspect @name end alias_method :to_s, :inspect end end
michaeledgar/laser
lib/laser/support/placeholder_object.rb
Ruby
agpl-3.0
269
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "S1AP-IEs" * found in "../support/s1ap-r16.4.0/36413-g40.asn" * `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER` */ #ifndef _S1AP_LastVisitedGERANCellInformation_H_ #define _S1AP_LastVisitedGERANCellInformation_H_ #include <asn_application.h> /* Including external dependencies */ #include <NULL.h> #include <constr_CHOICE.h> #ifdef __cplusplus extern "C" { #endif /* Dependencies */ typedef enum S1AP_LastVisitedGERANCellInformation_PR { S1AP_LastVisitedGERANCellInformation_PR_NOTHING, /* No components present */ S1AP_LastVisitedGERANCellInformation_PR_undefined /* Extensions may appear below */ } S1AP_LastVisitedGERANCellInformation_PR; /* S1AP_LastVisitedGERANCellInformation */ typedef struct S1AP_LastVisitedGERANCellInformation { S1AP_LastVisitedGERANCellInformation_PR present; union S1AP_LastVisitedGERANCellInformation_u { NULL_t undefined; /* * This type is extensible, * possible extensions are below. */ } choice; /* Context for parsing across buffer boundaries */ asn_struct_ctx_t _asn_ctx; } S1AP_LastVisitedGERANCellInformation_t; /* Implementation */ extern asn_TYPE_descriptor_t asn_DEF_S1AP_LastVisitedGERANCellInformation; extern asn_CHOICE_specifics_t asn_SPC_S1AP_LastVisitedGERANCellInformation_specs_1; extern asn_TYPE_member_t asn_MBR_S1AP_LastVisitedGERANCellInformation_1[1]; extern asn_per_constraints_t asn_PER_type_S1AP_LastVisitedGERANCellInformation_constr_1; #ifdef __cplusplus } #endif #endif /* _S1AP_LastVisitedGERANCellInformation_H_ */ #include <asn_internal.h>
acetcom/nextepc
lib/asn1c/s1ap/S1AP_LastVisitedGERANCellInformation.h
C
agpl-3.0
1,694
/** * Copyright (c) 2002-2011 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * 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 Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package org.neo4j.graphdb.index; import java.util.Iterator; import java.util.NoSuchElementException; import org.neo4j.graphdb.Node; import org.neo4j.graphdb.Relationship; import org.neo4j.graphdb.Transaction; /** * An {@link Iterator} with additional {@link #size()} and {@link #close()} * methods on it, used for iterating over index query results. It is first and * foremost an {@link Iterator}, but also an {@link Iterable} JUST so that it * can be used in a for-each loop. The <code>iterator()</code> method * <i>always</i> returns <code>this</code>. * * The size is calculated before-hand so that calling it is always fast. * * When you're done with the result and haven't reached the end of the * iteration {@link #close()} must be called. Results which are looped through * entirely closes automatically. Typical use: * * <pre> * IndexHits<Node> hits = index.get( "key", "value" ); * try * { * for ( Node node : hits ) * { * // do something with the hit * } * } * finally * { * hits.close(); * } * </pre> * * @param <T> the type of items in the Iterator. */ public interface IndexHits<T> extends Iterator<T>, Iterable<T> { /** * Returns the size of this iterable, in most scenarios this value is accurate * while in some scenarios near-accurate. * * There's no cost in calling this method. It's considered near-accurate if this * {@link IndexHits} object has been returned when inside a {@link Transaction} * which has index modifications, of a certain nature. Also entities * ({@link Node}s/{@link Relationship}s) which have been deleted from the graph, * but are still in the index will also affect the accuracy of the returned size. * * @return the near-accurate size if this iterable. */ int size(); /** * Closes the underlying search result. This method should be called * whenever you've got what you wanted from the result and won't use it * anymore. It's necessary to call it so that underlying indexes can dispose * of allocated resources for this search result. * * You can however skip to call this method if you loop through the whole * result, then close() will be called automatically. Even if you loop * through the entire result and then call this method it will silently * ignore any consequtive call (for convenience). */ void close(); /** * Returns the first and only item from the result iterator, or {@code null} * if there was none. If there were more than one item in the result a * {@link NoSuchElementException} will be thrown. This method must be called * first in the iteration and will grab the first item from the iteration, * so the result is considered broken after this call. * * @return the first and only item, or {@code null} if none. */ T getSingle(); /** * Returns the score of the most recently fetched item from this iterator * (from {@link #next()}). The range of the returned values is up to the * {@link Index} implementation to dictate. * @return the score of the most recently fetched item from this iterator. */ float currentScore(); }
neo4j-attic/graphdb
kernel/src/main/java/org/neo4j/graphdb/index/IndexHits.java
Java
agpl-3.0
4,080
import { createSlice, createEntityAdapter, Reducer, AnyAction, PayloadAction } from '@reduxjs/toolkit'; import { fetchAll, fetchDetails, install, uninstall, loadPluginDashboards, panelPluginLoaded } from './actions'; import { CatalogPlugin, PluginListDisplayMode, ReducerState, RequestStatus } from '../types'; import { STATE_PREFIX } from '../constants'; import { PanelPlugin } from '@grafana/data'; export const pluginsAdapter = createEntityAdapter<CatalogPlugin>(); const isPendingRequest = (action: AnyAction) => new RegExp(`${STATE_PREFIX}\/(.*)\/pending`).test(action.type); const isFulfilledRequest = (action: AnyAction) => new RegExp(`${STATE_PREFIX}\/(.*)\/fulfilled`).test(action.type); const isRejectedRequest = (action: AnyAction) => new RegExp(`${STATE_PREFIX}\/(.*)\/rejected`).test(action.type); // Extract the trailing '/pending', '/rejected', or '/fulfilled' const getOriginalActionType = (type: string) => { const separator = type.lastIndexOf('/'); return type.substring(0, separator); }; const slice = createSlice({ name: 'plugins', initialState: { items: pluginsAdapter.getInitialState(), requests: {}, settings: { displayMode: PluginListDisplayMode.Grid, }, // Backwards compatibility // (we need to have the following fields in the store as well to be backwards compatible with other parts of Grafana) // TODO<remove once the "plugin_admin_enabled" feature flag is removed> plugins: [], errors: [], searchQuery: '', hasFetched: false, dashboards: [], isLoadingPluginDashboards: false, panels: {}, } as ReducerState, reducers: { setDisplayMode(state, action: PayloadAction<PluginListDisplayMode>) { state.settings.displayMode = action.payload; }, }, extraReducers: (builder) => builder // Fetch All .addCase(fetchAll.fulfilled, (state, action) => { pluginsAdapter.upsertMany(state.items, action.payload); }) // Fetch Details .addCase(fetchDetails.fulfilled, (state, action) => { pluginsAdapter.updateOne(state.items, action.payload); }) // Install .addCase(install.fulfilled, (state, action) => { pluginsAdapter.updateOne(state.items, action.payload); }) // Uninstall .addCase(uninstall.fulfilled, (state, action) => { pluginsAdapter.updateOne(state.items, action.payload); }) // Load a panel plugin (backward-compatibility) // TODO<remove once the "plugin_admin_enabled" feature flag is removed> .addCase(panelPluginLoaded, (state, action: PayloadAction<PanelPlugin>) => { state.panels[action.payload.meta.id] = action.payload; }) // Start loading panel dashboards (backward-compatibility) // TODO<remove once the "plugin_admin_enabled" feature flag is removed> .addCase(loadPluginDashboards.pending, (state, action) => { state.isLoadingPluginDashboards = true; state.dashboards = []; }) // Load panel dashboards (backward-compatibility) // TODO<remove once the "plugin_admin_enabled" feature flag is removed> .addCase(loadPluginDashboards.fulfilled, (state, action) => { state.isLoadingPluginDashboards = false; state.dashboards = action.payload; }) .addMatcher(isPendingRequest, (state, action) => { state.requests[getOriginalActionType(action.type)] = { status: RequestStatus.Pending, }; }) .addMatcher(isFulfilledRequest, (state, action) => { state.requests[getOriginalActionType(action.type)] = { status: RequestStatus.Fulfilled, }; }) .addMatcher(isRejectedRequest, (state, action) => { state.requests[getOriginalActionType(action.type)] = { status: RequestStatus.Rejected, error: action.payload, }; }), }); export const { setDisplayMode } = slice.actions; export const reducer: Reducer<ReducerState, AnyAction> = slice.reducer;
grafana/grafana
public/app/features/plugins/admin/state/reducer.ts
TypeScript
agpl-3.0
4,001
# -*- coding: utf-8 -*- # # SPDX-FileCopyrightText: 2013-2021 Agora Voting SL <[email protected]> # # SPDX-License-Identifier: AGPL-3.0-only # import pickle import base64 import json import re from datetime import datetime from flask import Blueprint, request, make_response, abort from frestq.utils import loads, dumps from frestq.tasks import SimpleTask, TaskError from frestq.app import app, db from models import Election, Authority, QueryQueue from create_election.performer_jobs import check_election_data from taskqueue import queue_task, apply_task, dequeue_task public_api = Blueprint('public_api', __name__) def error(status, message=""): if message: data = json.dumps(dict(message=message)) else: data="" return make_response(data, status) @public_api.route('/dequeue', methods=['GET']) def dequeue(): try: dequeue_task() except Exception as e: return make_response(dumps(dict(status=e.message)), 202) return make_response(dumps(dict(status="ok")), 202) @public_api.route('/election', methods=['POST']) def post_election(): ''' POST /election Creates an election, with the given input data. This involves communicating with the different election authorities to generate the joint public key. Example request: POST /election { "id": 1110, "title": "Votación de candidatos", "description": "Selecciona los documentos polí­tico, ético y organizativo con los que Podemos", "director": "wadobo-auth1", "authorities": "openkratio-authority", "layout": "pcandidates-election", "presentation": { "share_text": "lo que sea", "theme": "foo", "urls": [ { "title": "", "url": "" } ], "theme_css": "whatever" }, "end_date": "2013-12-09T18:17:14.457000", "start_date": "2013-12-06T18:17:14.457000", "questions": [ { "description": "", "layout": "pcandidates-election", "max": 1, "min": 0, "num_winners": 1, "title": "Secretarí­a General", "randomize_answer_order": true, "tally_type": "plurality-at-large", "answer_total_votes_percentage": "over-total-valid-votes", "answers": [ { "id": 0, "category": "Equipo de Enfermeras", "details": "", "sort_order": 1, "urls": [ { "title": "", "url": "" } ], "text": "Fulanita de tal", } ] } ], "authorities": [ { "name": "Asociación Sugus GNU/Linux", "orchestra_url": "https://sugus.eii.us.es/orchestra", "ssl_cert": "-----BEGIN CERTIFICATE-----\nMIIFATCCA+mgAwIBAgIQAOli4NZQEWpKZeYX25jjwDANBgkqhkiG9w0BAQUFADBz\n8YOltJ6QfO7jNHU9jh/AxeiRf6MibZn6fvBHvFCrVBvDD43M0gdhMkVEDVNkPaak\nC7AHA/waXZ2EwW57Chr2hlZWAkwkFvsWxNt9BgJAJJt4CIVhN/iau/SaXD0l0t1N\nT0ye54QPYl38Eumvc439Yd1CeVS/HYbP0ISIfpNkkFA5TiQdoA==\n-----END CERTIFICATE-----" }, { "name": "Agora Ciudadana", "orchestra_url": "https://agoravoting.com:6874/orchestra", "ssl_cert": "-----BEGIN CERTIFICATE-----\nMIIFATCCA+mgAwIBAgIQAOli4NZQEWpKZeYX25jjwDANBgkqhkiG9w0BAQUFADBz\n8YOltJ6QfO7jNHU9jh/AxeiRf6MibZn6fvBHvFCrVBvDD43M0gdhMkVEDVNkPaak\nC7AHA/waXZ2EwW57Chr2hlZWAkwkFvsWxNt9BgJAJJt4CIVhN/iau/SaXD0l0t1N\nT0ye54QPYl38Eumvc439Yd1CeVS/HYbP0ISIfpNkkFA5TiQdoA==\n-----END CERTIFICATE-----" }, { "name": "Wadobo Labs", "orchestra_url": "https://wadobo.com:6874/orchestra", "ssl_cert": "-----BEGIN CERTIFICATE-----\nMIIFATCCA+mgAwIBAgIQAOli4NZQEWpKZeYX25jjwDANBgkqhkiG9w0BAQUFADBz\n8YOltJ6QfO7jNHU9jh/AxeiRf6MibZn6fvBHvFCrVBvDD43M0gdhMkVEDVNkPaak\nC7AHA/waXZ2EwW57Chr2hlZWAkwkFvsWxNt9BgJAJJt4CIVhN/iau/SaXD0l0t1N\nT0ye54QPYl38Eumvc439Yd1CeVS/HYbP0ISIfpNkkFA5TiQdoA==\n-----END CERTIFICATE-----" } ] } On success, response is empty with status 202 Accepted and returns something like: { "task_id": "ba83ee09-aa83-1901-bb11-e645b52fc558", } When the election finally gets processed, the callback_url is called with a POST containing the protInfo.xml file generated jointly by each authority, following this example response: { "status": "finished", "reference": { "election_id": "d9e5ee09-03fa-4890-aa83-2fc558e645b5", "action": "POST /election" }, "session_data": [{ "session_id": "deadbeef-03fa-4890-aa83-2fc558e645b5", "publickey": ["<pubkey codified in hexadecimal>"] }] } Note that this protInfo.xml will contain the election public key, but also some other information. In particular, it's worth noting that the http and hint servers' urls for each authority could change later, if election-orchestra needs it. If there was an error, then the callback will be called following this example format: { "status": "error", "reference": { "session_id": "d9e5ee09-03fa-4890-aa83-2fc558e645b5", "action": "POST /election" }, "data": { "message": "error message" } } ''' data = request.get_json(force=True, silent=True) d = base64.b64encode(pickle.dumps(data)).decode('utf-8') queueid = queue_task(task='election', data=d) return make_response(dumps(dict(queue_id=queueid)), 202) @public_api.route('/tally', methods=['POST']) def post_tally(): ''' POST /tally Tallies an election, with the given input data. This involves communicating with the different election authorities to do the tally. Example request: POST /tally { "election_id": 111, "callback_url": "https://127.0.0.1:5000/public_api/receive_tally", "votes_url": "https://127.0.0.1:5000/public_data/vota4/encrypted_ciphertexts", "votes_hash": "ni:///sha-256;f4OxZX_x_FO5LcGBSKHWXfwtSx-j1ncoSt3SABJtkGk" } On success, response is empty with status 202 Accepted and returns something like: { "task_id": "ba83ee09-aa83-1901-bb11-e645b52fc558", } When the election finally gets processed, the callback_url is called with POST similar to the following example: { "status": "finished", "reference": { "election_id": "d9e5ee09-03fa-4890-aa83-2fc558e645b5", "action": "POST /tally" }, "data": { "votes_url": "https://127.0.0.1:5000/public_data/vota4/tally.tar.bz2", "votes_hash": "ni:///sha-256;f4OxZX_x_FO5LcGBSKHWXfwtSx-j1ncoSt3SABJtkGk" } } If there was an error, then the callback will be called following this example format: { "status": "error", "reference": { "election_id": "d9e5ee09-03fa-4890-aa83-2fc558e645b5", "action": "POST /tally" }, "data": { "message": "error message" } } ''' # first of all, parse input data data = request.get_json(force=True, silent=True) d = base64.b64encode(pickle.dumps(data)).decode('utf-8') queueid = queue_task(task='tally', data=d) return make_response(dumps(dict(queue_id=queueid)), 202) @public_api.route('/receive_election', methods=['POST']) def receive_election(): ''' This is a test route to be able to test that callbacks are correctly sent ''' print("ATTENTION received election callback: ") print(request.get_json(force=True, silent=True)) return make_response("", 202) @public_api.route('/receive_tally', methods=['POST']) def receive_tally(): ''' This is a test route to be able to test that callbacks are correctly sent ''' print("ATTENTION received tally callback: ") print(request.get_json(force=True, silent=True)) return make_response("", 202)
agoravoting/election-orchestra
public_api.py
Python
agpl-3.0
8,209
class ReportsController < ApplicationController skip_load_and_authorize_resource def expenses @filter = params[:filter] if (@type = params[:by_type]) && (@group = params[:by_group]) @expenses = ExpenseReport.by(@type, @group).accessible_by(current_ability) if @filter @filter.each { |k,v| @expenses = @expenses.send(k, v) unless v.blank? } end @expenses = @expenses.order("sum_amount desc") respond_to do |format| format.html { init_form @expenses = @expenses.page(params[:page] || 1).per(20) } format.xlsx { render :xlsx => "expenses", :disposition => "attachment", :filename => "expenses.xlsx" } end else respond_to do |format| format.html { init_form } format.xlsx { redirect_to expenses_report_path(:format => :html) } end end end protected def init_form @by_type_options = %w(estimated approved total authorized) @by_group_options = ExpenseReport.groups.map(&:to_s) #@events = Event.order(:name) @request_states = Request.state_machines[:state].states.map {|s| [ s.value, s.human_name] } @reimbursement_states = Reimbursement.state_machines[:state].states.map {|s| [ s.value, s.human_name] } @countries = I18n.t(:countries).map {|k,v| [k.to_s,v]}.sort_by(&:last) end def set_breadcrumbs @breadcrumbs = [{:label => :breadcrumb_reports}] end end
karthiksenthil/travel-support-program
app/controllers/reports_controller.rb
Ruby
agpl-3.0
1,429
Network Firewall Setup Guide ============================ <!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> **Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)* - [Before you begin](#before-you-begin) - [Initial Setup](#initial-setup) - [Assign interfaces](#assign-interfaces) - [Initial configuration](#initial-configuration) - [Connect to the pfSense WebGUI](#connect-to-the-pfsense-webgui) - [Setup Wizard](#setup-wizard) - [Connect Interfaces and Test Connectivity](#connect-interfaces-and-test-connectivity) - [SecureDrop-specific Configuration](#securedrop-specific-configuration) - [Set up OPT1](#set-up-opt1) - [Disable DHCP on the LAN](#disable-dhcp-on-the-lan) - [Disabling DHCP](#disabling-dhcp) - [Assigning a static IP address to the Admin Workstation](#assigning-a-static-ip-address-to-the-admin-workstation) - [Set up the network firewall rules](#set-up-the-network-firewall-rules) - [Example Screenshots](#example-screenshots) <!-- END doctoc generated TOC please keep comment here to allow auto update --> Unfortunately, due to the wide variety of firewalls that may be used, we do not provide specific instructions to cover every type or variation in software or hardware. This guide will focus on pfSense, and assumes your firewall has at least three interfaces: WAN, LAN, and OPT1. These are the default interfaces on the recommended Netgate firewall, and it should be easy to configure any pfSense firewall with 3 or more NICs this way. To avoid duplication, this guide refers to sections of the [pfSense Guide](http://data.sfb.bg.ac.rs/sftp/bojan.radic/Knjige/Guide_pfsense.pdf), so you will want to have that handy. Before you begin ---------------- First, consider how the firewall will be connected to the Internet. You need to be able to provision two unique subnets for SecureDrop: the app subnet and the monitor subnet. There are a number of possible ways to configure this, and the best way will depend on the network that you are connecting to. Note that many firewalls, including the recommended Netgate pfSense, automatically set up the LAN interface on 192.168.1.1/24. This is a very common subnet choice for home routers. If you are connecting the firewall to a router with the same subnet (common in a small office, home, or testing environment), you will probably be unable to connect to the network at first. However, you will be able to connect from the LAN to the pfSense WebGUI configuration wizard, and from there you will be able to configure the network so it is working correctly. The app subnet will need at least three IP addresses: one for the gateway, one for the app server, and one for the admin workstation. The monitor subnet will need at least two IP addresses: one for the gateway and one for the monitor server. We assume that you have examined your network configuration and have selected two appropriate subnets. We will refer to your chosen subnets as "App Subnet" and "Monitor Subnet" throughout the rest of the documentation. For the examples in the documentation, we have chosen: * App Subnet: 10.20.1.0/24 * App Gateway: 10.20.1.1 * App Server: 10.20.1.2 * Admin Workstation: 10.20.1.3 * Monitor Subnet: 10.20.2.0/24 * Monitor Gateway: 10.20.2.1 * Monitor Server: 10.20.2.2 Initial Setup ------------- Unpack the firewall, connect power, and power on. ### Assign interfaces Section 3.2.3, "Assigning Interfaces", of the pfSense Guide. Some firewalls, like the Netgate recommended in the Hardware Guide, have this set up already, in which case you can skip this step. ### Initial configuration We will use the pfSense WebGUI to do the initial configuration of the network firewall. #### Connect to the pfSense WebGUI 1. Boot the Admin Workstation into Tails from the Admin Live USB. 2. Connect the Admin Workstation to the switch on the LAN. After a few seconds, you should see a pop up notification saying "Connection established" in the top right corner of the screen. 3. Launch the Tor Browser, *Applications → Internet → Tor Browser*. 1. If there is a conflict between your WAN and the default LAN, you will not be able to connect to Tor, and may see a dialog that says "Tor is not ready. Start Tor Browser anyway?". Click "Start Tor Browser" to continue. 4. Navigate to the pfSense GUI in the Tor Browser: https://192.168.1.1 5. The firewall uses a self-signed certificate, so you will see a "This Connection Is Untrusted" warning when you connect. This is expected (see Section 4.5.6 of the pfSense Guide). You can safely continue by clicking "I Understand the Risks", "Add Exception...", and "Confirm Security Exception." 6. You should see the login page for the pfSense GUI. Log in with the default username and password (admin / pfsense). #### Setup Wizard If you're setting up a brand new (or recently factory reset) router, pfSense will start you on the Setup Wizard. Click next, then next again. Don't sign up for a pfSense Gold subscription. On the "General Information" page, we recommend leaving your hostname as the default (pfSense). There is no relevant domain for SecureDrop, so we recommend setting this to "securedrop.local" or something similar. Use whatever DNS servers you wish. If you don't know what DNS servers to use, we recommend using Google's DNS servers: `8.8.8.8` and `8.8.4.4`. Click Next. Leave the defaults for "Time Server Information". Click Next. On "Configure WAN Interface", enter the appropriate configuration for your network. Consult your local sysadmin if you are unsure what to enter here. For many environments, the default of DHCP will work and the rest of the fields can be left blank. Click Next. For "Configure LAN Interface", set the IP address and subnet mask of the Application Subnet for the LAN interface. Click Next. Set a strong admin password. We recommend generating a random password with KeePassX, and saving it in the Tails Persistent folder using the provided KeePassX database template. Click Next. Click Reload. If you changed the LAN Interface settings, you will no longer be able to connect after reloading the firewall and the next request will probably time out. This is not a problem - the firewall has reloaded and is working correctly. To connect to the new LAN interface, unplug and reconnect your network cable to have a new network address assigned to you via DHCP. Note that if you used a subnet with fewer addresses than `/24`, the default DHCP configuration in pfSense may not work. In this case, you should assign the Admin Workstation a static IP address that is known to be in the subnet to continue. Now the WebGUI will be available on the App Gateway address. Navigate to `https://<App Gateway IP>` in the Tor Browser, and do the same dance as before to log in to the pfSense WebGUI and continue configuring the firewall. #### Connect Interfaces and Test Connectivity Now that the initial configuration is completed, you can connect the WAN port without potentially conflicting with the default LAN settings (as explained earlier). Connect the WAN port to the external network. You can watch the WAN entry in the Interfaces table on the pfSense WebGUI homepage to see as it changes from down (red arrow pointing down) to up (green arrow pointing up). The WAN's IP address will be shown once it comes up. Finally, test connectivity to make sure you are able to connect to the Internet through the WAN. The easiest way to do this is to use ping (Diagnostics → Ping in the WebGUI). SecureDrop-specific Configuration --------------------------------- SecureDrop uses the firewall to achieve two primary goals: 1. Isolating SecureDrop from the existing network, which may be compromised (especially if it is a venerable network in a large organization like a newsroom). 2. Isolating the app and the monitor servers from each other as much as possible, to reduce attack surface. In order to use the firewall to isolate the app and monitor servers from each other, we need to connect them to separate interfaces, and then set up firewall rules that allow them to communicate. ### Set up OPT1 We set up the LAN interface during the initial configuration. We now need to set up the OPT1 interface. Start by connecting the Monitor Server to the OPT1 port. Then use the WebGUI to configure the OPT1 interface. Go to `Interfaces → OPT1`, and check the box to "Enable Interface". Use these settings: - IPv4 Configuration Type: Static IPv4 - IPv4 Address: Monitor Gateway Leave everything else as the default. Save and Apply Changes. ### Disable DHCP on the LAN pfSense runs a DHCP server on the LAN interface by default. At this stage in the documentation, the Admin Workstation has an IP address assigned via that DHCP server. You can easily check your current IP address by *right-clicking* the networking icon (a blue cable going in to a white jack) in the top right of the menu bar, and choosing "Connection Information". ![Connection Information](images/firewall/connection_information.png) In order to tighten the firewall rules as much as possible, we recommend disabling the DHCP server and assigning a static IP address to the Admin Workstation instead. #### Disabling DHCP To disable DHCP, navigate to "Services → DHCP Server". Uncheck the box to "Enable DHCP servers on LAN interface", scroll down, and click the Save button. #### Assigning a static IP address to the Admin Workstation Now you will need to assign a static IP to the Admin Workstation. Use the *Admin Workstation IP* that you selected earlier, and make sure you use the same IP when setting up the firewall rules later. Start by *right-clicking* the networking icon in the top right of the menu bar, and choosing "Edit Connections...". ![Edit Connections](images/firewall/edit_connections.png) Select "Wired connection" from the list and click the "Edit..." button. ![Edit Wired Connection](images/firewall/edit_wired_connection.png) Change to the "IPv4 Settings" tab. Change "Method:" from "Automatic (DHCP)" to "Manual". Click the Add button and fill in the static networking information for the Admin Workstation. ![Editing Wired Connection](images/firewall/editing_wired_connection.png) Click "Save...". If the network does not come up within 15 seconds or so, try disconnecting and reconnecting your network cable to trigger the change. You will need you have succeeded in connecting with your new static IP when you see a pop-up notification that says "Tor is ready. You can now access the Internet". ### Set up the network firewall rules Since there are a variety of firewalls with different configuration interfaces and underlying sets of software, we cannot provide a set of network firewall rules to match every use case. Instead, we provide a firewall rules template in `install_files/network_firewall/rules`. This template is written in the iptables format, which you will need to manually translate for your firewall and preferred configuration method. For pfSense, see Section 6 of the pfSense Guide for information on setting up firewall rules through the WebGUI. Here are some tips on interpreting the rules template for pfSense: 1. Create aliases for the repeated values (IPs and ports). 2. pfSense is a stateful firewall, which means that you don't need corresponding rules for the iptables rules that allow incoming traffic in response to outgoing traffic (`--state ESTABLISHED,RELATED`). pfSense does this for you automatically. 3. You should create the rules on the interface where the traffic originates from. The easy way to do this is look at the sources (`-s`) of each of the iptables rules, and create that rule on the corresponding interface: * `-s APP_IP` → `LAN` * `-s MONITOR_IP` → `OPT1` 4. Make sure you delete the default "allow all" rule on the LAN interface. Leave the "Anti-Lockout" rule enabled. 5. Any traffic that is not explicitly passed is logged and dropped by default in pfSense, so you don't need to add explicit rules (`LOGNDROP`) for that. 6. Since some of the rules are almost identical except for whether they allow traffic from the App Server or the Monitor Server (`-s MONITOR_IP,APP_IP`), you can use the "add a new rule based on this one" button to save time creating a copy of the rule on the other interface. 7. If you are having trouble with connections, the firewall logs can be very helpful. You can find them in the WebGUI in *Status → System Logs → Firewall*. We recognize that this process is cumbersome and may be difficult for people inexperienced in managing networks to understand. We are working on automating much of this for the next SecureDrop release. #### Example Screenshots Here are some example screenshots of a working pfSense firewall configuration: ![Firewall IP Aliases](images/firewall/ip_aliases.png) ![Firewall Port Aliases](images/firewall/port_aliases.png) ![Firewall LAN Rules](images/firewall/lan_rules.png) ![Firewall OPT1 Rules](images/firewall/opt1_rules.png) Once you've set up the firewall, continue with the instructions in the [Install Guide](/docs/install.md#set-up-the-servers).
GabeIsman/securedrop
docs/network_firewall.md
Markdown
agpl-3.0
13,237
/* * Claudia Project * http://claudia.morfeo-project.org * * (C) Copyright 2010 Telefonica Investigacion y Desarrollo * S.A.Unipersonal (Telefonica I+D) * * See CREDITS file for info about members and contributors. * * This program is free software; you can redistribute it and/or modify * it under the terms of the Affero GNU General Public License (AGPL) as * published by the Free Software Foundation; either version 3 of the License, * or (at your option) any later version. * * 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 Affero 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. * * If you want to use this software an plan to distribute a * proprietary application in any way, and you are not licensing and * distributing your source code under AGPL, you probably need to * purchase a commercial license of the product. Please contact * [email protected] for more information. */ package com.telefonica.claudia.smi.deployment; import java.io.IOException; import java.io.StringReader; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import org.apache.log4j.Logger; import org.restlet.Context; import org.restlet.data.MediaType; import org.restlet.data.Request; import org.restlet.data.Response; import org.restlet.data.Status; import org.restlet.resource.DomRepresentation; import org.restlet.resource.Representation; import org.restlet.resource.Resource; import org.restlet.resource.ResourceException; import org.restlet.resource.Variant; import org.w3c.dom.Document; import org.xml.sax.InputSource; import org.xml.sax.SAXException; import com.telefonica.claudia.smi.Main; import com.telefonica.claudia.smi.URICreation; public class ServiceItemResource extends Resource { private static Logger log = Logger.getLogger("com.telefonica.claudia.smi.ServiceItemResource"); String vdcId; String vappId; String orgId; public ServiceItemResource(Context context, Request request, Response response) { super(context, request, response); this.vappId = (String) getRequest().getAttributes().get("vapp-id"); this.vdcId = (String) getRequest().getAttributes().get("vdc-id"); this.orgId = (String) getRequest().getAttributes().get("org-id"); // Get the item directly from the "persistence layer". if (this.orgId != null && this.vdcId!=null && this.vappId!=null) { // Define the supported variant. getVariants().add(new Variant(MediaType.TEXT_XML)); // By default a resource cannot be updated. setModifiable(true); } else { // This resource is not available. setAvailable(false); } } /** * Handle GETS */ @Override public Representation represent(Variant variant) throws ResourceException { // Generate the right representation according to its media type. if (MediaType.TEXT_XML.equals(variant.getMediaType())) { try { DeploymentDriver actualDriver= (DeploymentDriver) getContext().getAttributes().get(DeploymentApplication.ATTR_PLUGIN_DEPLOYMENT); String serviceInfo = actualDriver.getService(URICreation.getFQN(orgId, vdcId, vappId)); // Substitute the macros in the description serviceInfo = serviceInfo.replace("@HOSTNAME", "http://" + Main.serverHost + ":" + Main.serverPort); if (serviceInfo==null) { log.error("Null response from the SM."); getResponse().setStatus(Status.SERVER_ERROR_INTERNAL); return null; } DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); InputSource is = new InputSource(); is.setCharacterStream(new StringReader(serviceInfo)); Document doc = db.parse(is); DomRepresentation representation = new DomRepresentation( MediaType.TEXT_XML, doc); log.info("Data returned for service "+ URICreation.getFQN(orgId, vdcId, vappId) + ": \n\n" + serviceInfo); // Returns the XML representation of this document. return representation; } catch (IOException e) { log.error("Time out waiting for the Lifecycle Controller."); getResponse().setStatus(Status.SERVER_ERROR_INTERNAL); return null; } catch (SAXException e) { log.error("Retrieved data was not in XML format: " + e.getMessage()); getResponse().setStatus(Status.SERVER_ERROR_INTERNAL); return null; } catch (ParserConfigurationException e) { log.error("Error trying to configure parser."); getResponse().setStatus(Status.SERVER_ERROR_INTERNAL); return null; } } return null; } /** * Handle DELETE requests. */ @Override public void removeRepresentations() throws ResourceException { DeploymentDriver actualDriver= (DeploymentDriver) getContext().getAttributes().get(DeploymentApplication.ATTR_PLUGIN_DEPLOYMENT); try { actualDriver.undeploy(URICreation.getFQN(orgId, vdcId, vappId)); } catch (IOException e) { log.error("Time out waiting for the Lifecycle Controller."); getResponse().setStatus(Status.SERVER_ERROR_INTERNAL); return; } // Tells the client that the request has been successfully fulfilled. getResponse().setStatus(Status.SUCCESS_NO_CONTENT); } }
StratusLab/claudia
tcloud-server/src/main/java/com/telefonica/claudia/smi/deployment/ServiceItemResource.java
Java
agpl-3.0
6,138
--- layout: post title: "All Star Wars, all the time" date: 2013-04-15 00:00:00 +0900 categories: linux-foundation comics --- ![{{ page.title }}]({{ site.comicsurl }}69-all-star-wars-all-the-time.jpg) This comic originally appeared on [linux.com](https://www.linux.com) and was sponsored by [The Linux Foundation](https://www.linuxfoundation.org/). For those of you who have just come back from Antarctica and haven't seen the 6 Panel Star Wars yet, go take a look! It's almost worth having to sit through Jar Jar as you can just ignore that panel every time he comes on. Also, before any die hard fans point it out, we are aware that [Aqualish](http://starwars.wikia.com/wiki/Aqualish) only have 2 or 4 eyes, not 6, but 6 just fits the theme better.
danayel/danayel.github.io
_posts/2013-04-15-all-star-wars-all-the-time.markdown
Markdown
agpl-3.0
760
DELETE FROM `weenie` WHERE `class_Id` = 14289; INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`) VALUES (14289, 'portalvillalabar', 7, '2019-02-10 00:00:00') /* Portal */; INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`) VALUES (14289, 1, 65536) /* ItemType - Portal */ , (14289, 16, 32) /* ItemUseable - Remote */ , (14289, 93, 3084) /* PhysicsState - Ethereal, ReportCollisions, Gravity, LightingOn */ , (14289, 111, 1) /* PortalBitmask - Unrestricted */ , (14289, 133, 4) /* ShowableOnRadar - ShowAlways */ , (14289, 8007, 0) /* PCAPRecordedAutonomousMovement */; INSERT INTO `weenie_properties_bool` (`object_Id`, `type`, `value`) VALUES (14289, 1, True ) /* Stuck */; INSERT INTO `weenie_properties_float` (`object_Id`, `type`, `value`) VALUES (14289, 54, -0.1) /* UseRadius */; INSERT INTO `weenie_properties_string` (`object_Id`, `type`, `value`) VALUES (14289, 1, 'Villalabar Portal') /* Name */ , (14289, 8006, 'AAA9AAAAAAA=') /* PCAPRecordedCurrentMotionState */; INSERT INTO `weenie_properties_d_i_d` (`object_Id`, `type`, `value`) VALUES (14289, 1, 0x020001B3) /* Setup */ , (14289, 2, 0x09000003) /* MotionTable */ , (14289, 8, 0x0600106B) /* Icon */ , (14289, 8001, 8388656) /* PCAPRecordedWeenieHeader - Usable, UseRadius, RadarBehavior */ , (14289, 8003, 262164) /* PCAPRecordedObjectDesc - Stuck, Attackable, Portal */ , (14289, 8005, 98307) /* PCAPRecordedPhysicsDesc - CSetup, MTable, Position, Movement */; INSERT INTO `weenie_properties_position` (`object_Id`, `position_Type`, `obj_Cell_Id`, `origin_X`, `origin_Y`, `origin_Z`, `angles_W`, `angles_X`, `angles_Y`, `angles_Z`) VALUES (14289, 8040, 0x9521002F, 139.109, 166.067, 122.4202, 0.001375, 0, 0, -0.999999) /* PCAPRecordedLocation */ /* @teleloc 0x9521002F [139.109000 166.067000 122.420200] 0.001375 0.000000 0.000000 -0.999999 */; INSERT INTO `weenie_properties_i_i_d` (`object_Id`, `type`, `value`) VALUES (14289, 8000, 0x79521002) /* PCAPRecordedObjectIID */;
ACEmulator/ACE-World
Database/3-Core/9 WeenieDefaults/SQL/Portal/Portal/14289 Villalabar Portal.sql
SQL
agpl-3.0
2,123
// Copyright 2014 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package v4_test import ( "encoding/json" "net/http" "time" jc "github.com/juju/testing/checkers" "github.com/juju/testing/httptesting" "github.com/juju/utils/debugstatus" gc "gopkg.in/check.v1" "gopkg.in/juju/charm.v5" "gopkg.in/juju/charmstore.v4/internal/mongodoc" "gopkg.in/juju/charmstore.v4/internal/router" "gopkg.in/juju/charmstore.v4/params" ) var zeroTimeStr = time.Time{}.Format(time.RFC3339) func (s *APISuite) TestStatus(c *gc.C) { for _, id := range []*router.ResolvedURL{ newResolvedURL("cs:~charmers/precise/wordpress-2", 2), newResolvedURL("cs:~charmers/precise/wordpress-3", 3), newResolvedURL("cs:~foo/precise/arble-9", -1), newResolvedURL("cs:~bar/utopic/arble-10", -1), newResolvedURL("cs:~charmers/bundle/oflaughs-3", 3), newResolvedURL("cs:~bar/bundle/oflaughs-4", -1), } { if id.URL.Series == "bundle" { s.addPublicBundle(c, "wordpress-simple", id) } else { s.addPublicCharm(c, "wordpress", id) } } now := time.Now() s.PatchValue(&debugstatus.StartTime, now) start := now.Add(-2 * time.Hour) s.addLog(c, &mongodoc.Log{ Data: []byte(`"ingestion started"`), Level: mongodoc.InfoLevel, Type: mongodoc.IngestionType, Time: start, }) end := now.Add(-1 * time.Hour) s.addLog(c, &mongodoc.Log{ Data: []byte(`"ingestion completed"`), Level: mongodoc.InfoLevel, Type: mongodoc.IngestionType, Time: end, }) statisticsStart := now.Add(-1*time.Hour - 30*time.Minute) s.addLog(c, &mongodoc.Log{ Data: []byte(`"legacy statistics import started"`), Level: mongodoc.InfoLevel, Type: mongodoc.LegacyStatisticsType, Time: statisticsStart, }) statisticsEnd := now.Add(-30 * time.Minute) s.addLog(c, &mongodoc.Log{ Data: []byte(`"legacy statistics import completed"`), Level: mongodoc.InfoLevel, Type: mongodoc.LegacyStatisticsType, Time: statisticsEnd, }) s.AssertDebugStatus(c, true, map[string]params.DebugStatus{ "mongo_connected": { Name: "MongoDB is connected", Value: "Connected", Passed: true, }, "mongo_collections": { Name: "MongoDB collections", Value: "All required collections exist", Passed: true, }, "elasticsearch": { Name: "Elastic search is running", Value: "Elastic search is not configured", Passed: true, }, "entities": { Name: "Entities in charm store", Value: "4 charms; 2 bundles; 3 promulgated", Passed: true, }, "base_entities": { Name: "Base entities in charm store", Value: "count: 5", Passed: true, }, "server_started": { Name: "Server started", Value: now.String(), Passed: true, }, "ingestion": { Name: "Ingestion", Value: "started: " + start.Format(time.RFC3339) + ", completed: " + end.Format(time.RFC3339), Passed: true, }, "legacy_statistics": { Name: "Legacy Statistics Load", Value: "started: " + statisticsStart.Format(time.RFC3339) + ", completed: " + statisticsEnd.Format(time.RFC3339), Passed: true, }, }) } func (s *APISuite) TestStatusWithoutCorrectCollections(c *gc.C) { s.store.DB.Entities().DropCollection() s.AssertDebugStatus(c, false, map[string]params.DebugStatus{ "mongo_collections": { Name: "MongoDB collections", Value: "Missing collections: [" + s.store.DB.Entities().Name + "]", Passed: false, }, }) } func (s *APISuite) TestStatusWithoutIngestion(c *gc.C) { s.AssertDebugStatus(c, false, map[string]params.DebugStatus{ "ingestion": { Name: "Ingestion", Value: "started: " + zeroTimeStr + ", completed: " + zeroTimeStr, Passed: false, }, }) } func (s *APISuite) TestStatusIngestionStarted(c *gc.C) { now := time.Now() start := now.Add(-1 * time.Hour) s.addLog(c, &mongodoc.Log{ Data: []byte(`"ingestion started"`), Level: mongodoc.InfoLevel, Type: mongodoc.IngestionType, Time: start, }) s.AssertDebugStatus(c, false, map[string]params.DebugStatus{ "ingestion": { Name: "Ingestion", Value: "started: " + start.Format(time.RFC3339) + ", completed: " + zeroTimeStr, Passed: false, }, }) } func (s *APISuite) TestStatusWithoutLegacyStatistics(c *gc.C) { s.AssertDebugStatus(c, false, map[string]params.DebugStatus{ "legacy_statistics": { Name: "Legacy Statistics Load", Value: "started: " + zeroTimeStr + ", completed: " + zeroTimeStr, Passed: false, }, }) } func (s *APISuite) TestStatusLegacyStatisticsStarted(c *gc.C) { now := time.Now() statisticsStart := now.Add(-1*time.Hour - 30*time.Minute) s.addLog(c, &mongodoc.Log{ Data: []byte(`"legacy statistics import started"`), Level: mongodoc.InfoLevel, Type: mongodoc.LegacyStatisticsType, Time: statisticsStart, }) s.AssertDebugStatus(c, false, map[string]params.DebugStatus{ "legacy_statistics": { Name: "Legacy Statistics Load", Value: "started: " + statisticsStart.Format(time.RFC3339) + ", completed: " + zeroTimeStr, Passed: false, }, }) } func (s *APISuite) TestStatusLegacyStatisticsMultipleLogs(c *gc.C) { now := time.Now() statisticsStart := now.Add(-1*time.Hour - 30*time.Minute) s.addLog(c, &mongodoc.Log{ Data: []byte(`"legacy statistics import started"`), Level: mongodoc.InfoLevel, Type: mongodoc.LegacyStatisticsType, Time: statisticsStart.Add(-1 * time.Hour), }) s.addLog(c, &mongodoc.Log{ Data: []byte(`"legacy statistics import started"`), Level: mongodoc.InfoLevel, Type: mongodoc.LegacyStatisticsType, Time: statisticsStart, }) statisticsEnd := now.Add(-30 * time.Minute) s.addLog(c, &mongodoc.Log{ Data: []byte(`"legacy statistics import completed"`), Level: mongodoc.InfoLevel, Type: mongodoc.LegacyStatisticsType, Time: statisticsEnd.Add(-1 * time.Hour), }) s.addLog(c, &mongodoc.Log{ Data: []byte(`"legacy statistics import completed"`), Level: mongodoc.InfoLevel, Type: mongodoc.LegacyStatisticsType, Time: statisticsEnd, }) s.AssertDebugStatus(c, false, map[string]params.DebugStatus{ "legacy_statistics": { Name: "Legacy Statistics Load", Value: "started: " + statisticsStart.Format(time.RFC3339) + ", completed: " + statisticsEnd.Format(time.RFC3339), Passed: true, }, }) } func (s *APISuite) TestStatusBaseEntitiesError(c *gc.C) { // Add a base entity without any corresponding entities. entity := &mongodoc.BaseEntity{ URL: charm.MustParseReference("django"), Name: "django", } err := s.store.DB.BaseEntities().Insert(entity) c.Assert(err, gc.IsNil) s.AssertDebugStatus(c, false, map[string]params.DebugStatus{ "base_entities": { Name: "Base entities in charm store", Value: "count: 1", Passed: false, }, }) } // AssertDebugStatus asserts that the current /debug/status endpoint // matches the given status, ignoring status duration. // If complete is true, it fails if the results contain // keys not mentioned in status. func (s *APISuite) AssertDebugStatus(c *gc.C, complete bool, status map[string]params.DebugStatus) { rec := httptesting.DoRequest(c, httptesting.DoRequestParams{ Handler: s.srv, URL: storeURL("debug/status"), }) c.Assert(rec.Code, gc.Equals, http.StatusOK, gc.Commentf("body: %s", rec.Body.Bytes())) c.Assert(rec.Header().Get("Content-Type"), gc.Equals, "application/json") var gotStatus map[string]params.DebugStatus err := json.Unmarshal(rec.Body.Bytes(), &gotStatus) c.Assert(err, gc.IsNil) for key, r := range gotStatus { if _, found := status[key]; !complete && !found { delete(gotStatus, key) continue } r.Duration = 0 gotStatus[key] = r } c.Assert(gotStatus, jc.DeepEquals, status) } type statusWithElasticSearchSuite struct { commonSuite } var _ = gc.Suite(&statusWithElasticSearchSuite{}) func (s *statusWithElasticSearchSuite) SetUpSuite(c *gc.C) { s.enableES = true s.commonSuite.SetUpSuite(c) } func (s *statusWithElasticSearchSuite) TestStatusWithElasticSearch(c *gc.C) { rec := httptesting.DoRequest(c, httptesting.DoRequestParams{ Handler: s.srv, URL: storeURL("debug/status"), }) var results map[string]params.DebugStatus err := json.Unmarshal(rec.Body.Bytes(), &results) c.Assert(err, gc.IsNil) c.Assert(results["elasticsearch"].Name, gc.Equals, "Elastic search is running") c.Assert(results["elasticsearch"].Value, jc.Contains, "cluster_name:") }
urosj/charmstore-1
internal/v4/status_test.go
GO
agpl-3.0
8,337
// Copyright (c) 2012-present The upper.io/db authors. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // 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. package db import ( "reflect" "time" ) // Comparison defines methods for representing comparison operators in a // portable way across databases. type Comparison interface { Operator() ComparisonOperator Value() interface{} } // ComparisonOperator is a type we use to label comparison operators. type ComparisonOperator uint8 // Comparison operators const ( ComparisonOperatorNone ComparisonOperator = iota ComparisonOperatorEqual ComparisonOperatorNotEqual ComparisonOperatorLessThan ComparisonOperatorGreaterThan ComparisonOperatorLessThanOrEqualTo ComparisonOperatorGreaterThanOrEqualTo ComparisonOperatorBetween ComparisonOperatorNotBetween ComparisonOperatorIn ComparisonOperatorNotIn ComparisonOperatorIs ComparisonOperatorIsNot ComparisonOperatorLike ComparisonOperatorNotLike ComparisonOperatorRegExp ComparisonOperatorNotRegExp ComparisonOperatorAfter ComparisonOperatorBefore ComparisonOperatorOnOrAfter ComparisonOperatorOnOrBefore ) type dbComparisonOperator struct { t ComparisonOperator op string v interface{} } func (c *dbComparisonOperator) CustomOperator() string { return c.op } func (c *dbComparisonOperator) Operator() ComparisonOperator { return c.t } func (c *dbComparisonOperator) Value() interface{} { return c.v } // Gte indicates whether the reference is greater than or equal to the given // argument. func Gte(v interface{}) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorGreaterThanOrEqualTo, v: v, } } // Lte indicates whether the reference is less than or equal to the given // argument. func Lte(v interface{}) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorLessThanOrEqualTo, v: v, } } // Eq indicates whether the constraint is equal to the given argument. func Eq(v interface{}) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorEqual, v: v, } } // NotEq indicates whether the constraint is not equal to the given argument. func NotEq(v interface{}) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorNotEqual, v: v, } } // Gt indicates whether the constraint is greater than the given argument. func Gt(v interface{}) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorGreaterThan, v: v, } } // Lt indicates whether the constraint is less than the given argument. func Lt(v interface{}) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorLessThan, v: v, } } // In indicates whether the argument is part of the reference. func In(v interface{}) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorIn, v: toInterfaceArray(v), } } // NotIn indicates whether the argument is not part of the reference. func NotIn(v interface{}) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorNotIn, v: toInterfaceArray(v), } } // After indicates whether the reference is after the given time. func After(t time.Time) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorGreaterThan, v: t, } } // Before indicates whether the reference is before the given time. func Before(t time.Time) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorLessThan, v: t, } } // OnOrAfter indicater whether the reference is after or equal to the given // time value. func OnOrAfter(t time.Time) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorGreaterThanOrEqualTo, v: t, } } // OnOrBefore indicates whether the reference is before or equal to the given // time value. func OnOrBefore(t time.Time) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorLessThanOrEqualTo, v: t, } } // Between indicates whether the reference is contained between the two given // values. func Between(a interface{}, b interface{}) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorBetween, v: []interface{}{a, b}, } } // NotBetween indicates whether the reference is not contained between the two // given values. func NotBetween(a interface{}, b interface{}) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorNotBetween, v: []interface{}{a, b}, } } // Is indicates whether the reference is nil, true or false. func Is(v interface{}) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorIs, v: v, } } // IsNot indicates whether the reference is not nil, true nor false. func IsNot(v interface{}) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorIsNot, v: v, } } // IsNull indicates whether the reference is a NULL value. func IsNull() Comparison { return Is(nil) } // IsNotNull indicates whether the reference is a NULL value. func IsNotNull() Comparison { return IsNot(nil) } /* // IsDistinctFrom indicates whether the reference is different from // the given value, including NULL values. func IsDistinctFrom(v interface{}) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorIsDistinctFrom, v: v, } } // IsNotDistinctFrom indicates whether the reference is not different from the // given value, including NULL values. func IsNotDistinctFrom(v interface{}) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorIsNotDistinctFrom, v: v, } } */ // Like indicates whether the reference matches the wildcard value. func Like(v string) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorLike, v: v, } } // NotLike indicates whether the reference does not match the wildcard value. func NotLike(v string) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorNotLike, v: v, } } /* // ILike indicates whether the reference matches the wildcard value (case // insensitive). func ILike(v string) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorILike, v: v, } } // NotILike indicates whether the reference does not match the wildcard value // (case insensitive). func NotILike(v string) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorNotILike, v: v, } } */ // RegExp indicates whether the reference matches the regexp pattern. func RegExp(v string) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorRegExp, v: v, } } // NotRegExp indicates whether the reference does not match the regexp pattern. func NotRegExp(v string) Comparison { return &dbComparisonOperator{ t: ComparisonOperatorNotRegExp, v: v, } } // Op represents a custom comparison operator against the reference. func Op(customOperator string, v interface{}) Comparison { return &dbComparisonOperator{ op: customOperator, t: ComparisonOperatorNone, v: v, } } func toInterfaceArray(v interface{}) []interface{} { rv := reflect.ValueOf(v) switch rv.Type().Kind() { case reflect.Ptr: return toInterfaceArray(rv.Elem().Interface()) case reflect.Slice: elems := rv.Len() args := make([]interface{}, elems) for i := 0; i < elems; i++ { args[i] = rv.Index(i).Interface() } return args } return []interface{}{v} } var _ Comparison = &dbComparisonOperator{}
admpub/nging
vendor/github.com/webx-top/db/comparison.go
GO
agpl-3.0
8,541
<?php /** * plentymarkets shopware connector * Copyright © 2013-2014 plentymarkets GmbH * * According to our dual licensing model, this program can be used either * under the terms of the GNU Affero General Public License, version 3, * or under a proprietary license. * * The texts of the GNU Affero General Public License, supplemented by an additional * permission, and of our proprietary license can be found * in the LICENSE file you have received along with this program. * * 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 Affero General Public License for more details. * * "plentymarkets" is a registered trademark of plentymarkets GmbH. * "shopware" is a registered trademark of shopware AG. * The licensing of the program under the AGPLv3 does not imply a * trademark license. Therefore any rights, titles and interests in the * above trademarks remain entirely with the trademark owners. * * @copyright Copyright (c) 2014, plentymarkets GmbH (http://www.plentymarkets.com) * @author Daniel Bächtle <[email protected]> */ /** * I am a generated class and am required for communicating with plentymarkets. */ class PlentySoapObject_DeliveryRow { /** * @var int */ public $OrderRowID; /** * @var float */ public $Quantity; }
naturdrogerie/plentymarkets-shopware-connector
Components/Soap/Models/PlentySoapObject/DeliveryRow.php
PHP
agpl-3.0
1,450
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'UserProject.drive_auth' db.add_column(u'user_project', 'drive_auth', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False) def backwards(self, orm): # Deleting field 'UserProject.drive_auth' db.delete_column(u'user_project', 'drive_auth') models = { 'auth.group': { 'Meta': {'object_name': 'Group'}, 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) }, 'auth.permission': { 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) }, 'auth.user': { 'Meta': {'object_name': 'User'}, 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) }, 'contenttypes.contenttype': { 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) }, 'home.category': { 'Meta': {'object_name': 'Category', 'db_table': "u'category'"}, 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '150'}) }, 'projects.project': { 'Meta': {'object_name': 'Project', 'db_table': "u'project'"}, 'categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['home.Category']", 'null': 'True', 'blank': 'True'}), 'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 2, 27, 0, 0)', 'null': 'True', 'blank': 'True'}), 'description': ('django.db.models.fields.TextField', [], {}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'image_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'null': 'True', 'blank': 'True'}), 'image_original_name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'licence': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), 'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 2, 27, 0, 0)', 'null': 'True', 'blank': 'True'}), 'tags': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'title': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), 'type_field': ('django.db.models.fields.IntegerField', [], {'default': '1', 'null': 'True', 'db_column': "'type'", 'blank': 'True'}) }, 'projects.projectpart': { 'Meta': {'object_name': 'ProjectPart', 'db_table': "u'project_part'"}, 'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 2, 27, 0, 0)', 'null': 'True', 'blank': 'True'}), 'created_user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'projectpart_created_user'", 'to': "orm['auth.User']"}), 'drive_id': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 2, 27, 0, 0)', 'null': 'True', 'blank': 'True'}), 'modified_user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'projectpart_modified_user'", 'null': 'True', 'to': "orm['auth.User']"}), 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}), 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['projects.Project']"}), 'project_part': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['projects.ProjectPart']", 'null': 'True', 'blank': 'True'}), 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) }, 'projects.userproject': { 'Meta': {'object_name': 'UserProject', 'db_table': "u'user_project'"}, 'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 2, 27, 0, 0)', 'null': 'True', 'blank': 'True'}), 'created_user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'userproject_created_user'", 'to': "orm['auth.User']"}), 'drive_auth': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'modified': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), 'modified_user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'userproject_modified_user'", 'null': 'True', 'to': "orm['auth.User']"}), 'permission': ('django.db.models.fields.CharField', [], {'default': '0', 'max_length': '255'}), 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['projects.Project']", 'db_column': "'project_id'"}), 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) } } complete_apps = ['projects']
taikoa/wevolver-server
wevolve/projects/migrations/0006_auto__add_field_userproject_drive_auth.py
Python
agpl-3.0
8,173
ace.define("ace/mode/jsx", ["require", "exports", "module", "ace/lib/oop", "ace/mode/text", "ace/tokenizer", "ace/mode/jsx_highlight_rules", "ace/mode/matching_brace_outdent", "ace/mode/behaviour/cstyle", "ace/mode/folding/cstyle"], function (e, t, n) { function l() { this.HighlightRules = o, this.$outdent = new u, this.$behaviour = new a, this.foldingRules = new f } var r = e("../lib/oop"), i = e("./text").Mode, s = e("../tokenizer").Tokenizer, o = e("./jsx_highlight_rules").JsxHighlightRules, u = e("./matching_brace_outdent").MatchingBraceOutdent, a = e("./behaviour/cstyle").CstyleBehaviour, f = e("./folding/cstyle").FoldMode; r.inherits(l, i), function () { this.lineCommentStart = "//", this.blockComment = {start: "/*", end: "*/"}, this.getNextLineIndent = function (e, t, n) { var r = this.$getIndent(t), i = this.getTokenizer().getLineTokens(t, e), s = i.tokens; if (s.length && s[s.length - 1].type == "comment")return r; if (e == "start") { var o = t.match(/^.*[\{\(\[]\s*$/); o && (r += n) } return r }, this.checkOutdent = function (e, t, n) { return this.$outdent.checkOutdent(t, n) }, this.autoOutdent = function (e, t, n) { this.$outdent.autoOutdent(t, n) }, this.$id = "ace/mode/jsx" }.call(l.prototype), t.Mode = l }), ace.define("ace/mode/jsx_highlight_rules", ["require", "exports", "module", "ace/lib/oop", "ace/lib/lang", "ace/mode/doc_comment_highlight_rules", "ace/mode/text_highlight_rules"], function (e, t, n) { var r = e("../lib/oop"), i = e("../lib/lang"), s = e("./doc_comment_highlight_rules").DocCommentHighlightRules, o = e("./text_highlight_rules").TextHighlightRules, u = function () { var e = i.arrayToMap("break|do|instanceof|typeof|case|else|new|var|catch|finally|return|void|continue|for|switch|default|while|function|this|if|throw|delete|in|try|class|extends|super|import|from|into|implements|interface|static|mixin|override|abstract|final|number|int|string|boolean|variant|log|assert".split("|")), t = i.arrayToMap("null|true|false|NaN|Infinity|__FILE__|__LINE__|undefined".split("|")), n = i.arrayToMap("debugger|with|const|export|let|private|public|yield|protected|extern|native|as|operator|__fake__|__readonly__".split("|")), r = "[a-zA-Z_][a-zA-Z0-9_]*\\b"; this.$rules = {start: [ {token: "comment", regex: "\\/\\/.*$"}, s.getStartRule("doc-start"), {token: "comment", regex: "\\/\\*", next: "comment"}, {token: "string.regexp", regex: "[/](?:(?:\\[(?:\\\\]|[^\\]])+\\])|(?:\\\\/|[^\\]/]))*[/]\\w*\\s*(?=[).,;]|$)"}, {token: "string", regex: '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'}, {token: "string", regex: "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"}, {token: "constant.numeric", regex: "0[xX][0-9a-fA-F]+\\b"}, {token: "constant.numeric", regex: "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"}, {token: "constant.language.boolean", regex: "(?:true|false)\\b"}, {token: ["storage.type", "text", "entity.name.function"], regex: "(function)(\\s+)(" + r + ")"}, {token: function (r) { return r == "this" ? "variable.language" : r == "function" ? "storage.type" : e.hasOwnProperty(r) || n.hasOwnProperty(r) ? "keyword" : t.hasOwnProperty(r) ? "constant.language" : /^_?[A-Z][a-zA-Z0-9_]*$/.test(r) ? "language.support.class" : "identifier" }, regex: r}, {token: "keyword.operator", regex: "!|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|==|=|!=|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|\\b(?:in|instanceof|new|delete|typeof|void)"}, {token: "punctuation.operator", regex: "\\?|\\:|\\,|\\;|\\."}, {token: "paren.lparen", regex: "[[({<]"}, {token: "paren.rparen", regex: "[\\])}>]"}, {token: "text", regex: "\\s+"} ], comment: [ {token: "comment", regex: ".*?\\*\\/", next: "start"}, {token: "comment", regex: ".+"} ]}, this.embedRules(s, "doc-", [s.getEndRule("start")]) }; r.inherits(u, o), t.JsxHighlightRules = u }), ace.define("ace/mode/doc_comment_highlight_rules", ["require", "exports", "module", "ace/lib/oop", "ace/mode/text_highlight_rules"], function (e, t, n) { var r = e("../lib/oop"), i = e("./text_highlight_rules").TextHighlightRules, s = function () { this.$rules = {start: [ {token: "comment.doc.tag", regex: "@[\\w\\d_]+"}, {token: "comment.doc.tag", regex: "\\bTODO\\b"}, {defaultToken: "comment.doc"} ]} }; r.inherits(s, i), s.getStartRule = function (e) { return{token: "comment.doc", regex: "\\/\\*(?=\\*)", next: e} }, s.getEndRule = function (e) { return{token: "comment.doc", regex: "\\*\\/", next: e} }, t.DocCommentHighlightRules = s }), ace.define("ace/mode/matching_brace_outdent", ["require", "exports", "module", "ace/range"], function (e, t, n) { var r = e("../range").Range, i = function () { }; (function () { this.checkOutdent = function (e, t) { return/^\s+$/.test(e) ? /^\s*\}/.test(t) : !1 }, this.autoOutdent = function (e, t) { var n = e.getLine(t), i = n.match(/^(\s*\})/); if (!i)return 0; var s = i[1].length, o = e.findMatchingBracket({row: t, column: s}); if (!o || o.row == t)return 0; var u = this.$getIndent(e.getLine(o.row)); e.replace(new r(t, 0, t, s - 1), u) }, this.$getIndent = function (e) { return e.match(/^\s*/)[0] } }).call(i.prototype), t.MatchingBraceOutdent = i }), ace.define("ace/mode/behaviour/cstyle", ["require", "exports", "module", "ace/lib/oop", "ace/mode/behaviour", "ace/token_iterator", "ace/lib/lang"], function (e, t, n) { var r = e("../../lib/oop"), i = e("../behaviour").Behaviour, s = e("../../token_iterator").TokenIterator, o = e("../../lib/lang"), u = ["text", "paren.rparen", "punctuation.operator"], a = ["text", "paren.rparen", "punctuation.operator", "comment"], f, l = {}, c = function (e) { var t = -1; e.multiSelect && (t = e.selection.id, l.rangeCount != e.multiSelect.rangeCount && (l = {rangeCount: e.multiSelect.rangeCount})); if (l[t])return f = l[t]; f = l[t] = {autoInsertedBrackets: 0, autoInsertedRow: -1, autoInsertedLineEnd: "", maybeInsertedBrackets: 0, maybeInsertedRow: -1, maybeInsertedLineStart: "", maybeInsertedLineEnd: ""} }, h = function () { this.add("braces", "insertion", function (e, t, n, r, i) { var s = n.getCursorPosition(), u = r.doc.getLine(s.row); if (i == "{") { c(n); var a = n.getSelectionRange(), l = r.doc.getTextRange(a); if (l !== "" && l !== "{" && n.getWrapBehavioursEnabled())return{text: "{" + l + "}", selection: !1}; if (h.isSaneInsertion(n, r))return/[\]\}\)]/.test(u[s.column]) || n.inMultiSelectMode ? (h.recordAutoInsert(n, r, "}"), {text: "{}", selection: [1, 1]}) : (h.recordMaybeInsert(n, r, "{"), {text: "{", selection: [1, 1]}) } else if (i == "}") { c(n); var p = u.substring(s.column, s.column + 1); if (p == "}") { var d = r.$findOpeningBracket("}", {column: s.column + 1, row: s.row}); if (d !== null && h.isAutoInsertedClosing(s, u, i))return h.popAutoInsertedClosing(), {text: "", selection: [1, 1]} } } else { if (i == "\n" || i == "\r\n") { c(n); var v = ""; h.isMaybeInsertedClosing(s, u) && (v = o.stringRepeat("}", f.maybeInsertedBrackets), h.clearMaybeInsertedClosing()); var p = u.substring(s.column, s.column + 1); if (p === "}") { var m = r.findMatchingBracket({row: s.row, column: s.column + 1}, "}"); if (!m)return null; var g = this.$getIndent(r.getLine(m.row)) } else { if (!v) { h.clearMaybeInsertedClosing(); return } var g = this.$getIndent(u) } var y = g + r.getTabString(); return{text: "\n" + y + "\n" + g + v, selection: [1, y.length, 1, y.length]} } h.clearMaybeInsertedClosing() } }), this.add("braces", "deletion", function (e, t, n, r, i) { var s = r.doc.getTextRange(i); if (!i.isMultiLine() && s == "{") { c(n); var o = r.doc.getLine(i.start.row), u = o.substring(i.end.column, i.end.column + 1); if (u == "}")return i.end.column++, i; f.maybeInsertedBrackets-- } }), this.add("parens", "insertion", function (e, t, n, r, i) { if (i == "(") { c(n); var s = n.getSelectionRange(), o = r.doc.getTextRange(s); if (o !== "" && n.getWrapBehavioursEnabled())return{text: "(" + o + ")", selection: !1}; if (h.isSaneInsertion(n, r))return h.recordAutoInsert(n, r, ")"), {text: "()", selection: [1, 1]} } else if (i == ")") { c(n); var u = n.getCursorPosition(), a = r.doc.getLine(u.row), f = a.substring(u.column, u.column + 1); if (f == ")") { var l = r.$findOpeningBracket(")", {column: u.column + 1, row: u.row}); if (l !== null && h.isAutoInsertedClosing(u, a, i))return h.popAutoInsertedClosing(), {text: "", selection: [1, 1]} } } }), this.add("parens", "deletion", function (e, t, n, r, i) { var s = r.doc.getTextRange(i); if (!i.isMultiLine() && s == "(") { c(n); var o = r.doc.getLine(i.start.row), u = o.substring(i.start.column + 1, i.start.column + 2); if (u == ")")return i.end.column++, i } }), this.add("brackets", "insertion", function (e, t, n, r, i) { if (i == "[") { c(n); var s = n.getSelectionRange(), o = r.doc.getTextRange(s); if (o !== "" && n.getWrapBehavioursEnabled())return{text: "[" + o + "]", selection: !1}; if (h.isSaneInsertion(n, r))return h.recordAutoInsert(n, r, "]"), {text: "[]", selection: [1, 1]} } else if (i == "]") { c(n); var u = n.getCursorPosition(), a = r.doc.getLine(u.row), f = a.substring(u.column, u.column + 1); if (f == "]") { var l = r.$findOpeningBracket("]", {column: u.column + 1, row: u.row}); if (l !== null && h.isAutoInsertedClosing(u, a, i))return h.popAutoInsertedClosing(), {text: "", selection: [1, 1]} } } }), this.add("brackets", "deletion", function (e, t, n, r, i) { var s = r.doc.getTextRange(i); if (!i.isMultiLine() && s == "[") { c(n); var o = r.doc.getLine(i.start.row), u = o.substring(i.start.column + 1, i.start.column + 2); if (u == "]")return i.end.column++, i } }), this.add("string_dquotes", "insertion", function (e, t, n, r, i) { if (i == '"' || i == "'") { c(n); var s = i, o = n.getSelectionRange(), u = r.doc.getTextRange(o); if (u !== "" && u !== "'" && u != '"' && n.getWrapBehavioursEnabled())return{text: s + u + s, selection: !1}; var a = n.getCursorPosition(), f = r.doc.getLine(a.row), l = f.substring(a.column - 1, a.column); if (l == "\\")return null; var p = r.getTokens(o.start.row), d = 0, v, m = -1; for (var g = 0; g < p.length; g++) { v = p[g], v.type == "string" ? m = -1 : m < 0 && (m = v.value.indexOf(s)); if (v.value.length + d > o.start.column)break; d += p[g].value.length } if (!v || m < 0 && v.type !== "comment" && (v.type !== "string" || o.start.column !== v.value.length + d - 1 && v.value.lastIndexOf(s) === v.value.length - 1)) { if (!h.isSaneInsertion(n, r))return; return{text: s + s, selection: [1, 1]} } if (v && v.type === "string") { var y = f.substring(a.column, a.column + 1); if (y == s)return{text: "", selection: [1, 1]} } } }), this.add("string_dquotes", "deletion", function (e, t, n, r, i) { var s = r.doc.getTextRange(i); if (!i.isMultiLine() && (s == '"' || s == "'")) { c(n); var o = r.doc.getLine(i.start.row), u = o.substring(i.start.column + 1, i.start.column + 2); if (u == s)return i.end.column++, i } }) }; h.isSaneInsertion = function (e, t) { var n = e.getCursorPosition(), r = new s(t, n.row, n.column); if (!this.$matchTokenType(r.getCurrentToken() || "text", u)) { var i = new s(t, n.row, n.column + 1); if (!this.$matchTokenType(i.getCurrentToken() || "text", u))return!1 } return r.stepForward(), r.getCurrentTokenRow() !== n.row || this.$matchTokenType(r.getCurrentToken() || "text", a) }, h.$matchTokenType = function (e, t) { return t.indexOf(e.type || e) > -1 }, h.recordAutoInsert = function (e, t, n) { var r = e.getCursorPosition(), i = t.doc.getLine(r.row); this.isAutoInsertedClosing(r, i, f.autoInsertedLineEnd[0]) || (f.autoInsertedBrackets = 0), f.autoInsertedRow = r.row, f.autoInsertedLineEnd = n + i.substr(r.column), f.autoInsertedBrackets++ }, h.recordMaybeInsert = function (e, t, n) { var r = e.getCursorPosition(), i = t.doc.getLine(r.row); this.isMaybeInsertedClosing(r, i) || (f.maybeInsertedBrackets = 0), f.maybeInsertedRow = r.row, f.maybeInsertedLineStart = i.substr(0, r.column) + n, f.maybeInsertedLineEnd = i.substr(r.column), f.maybeInsertedBrackets++ }, h.isAutoInsertedClosing = function (e, t, n) { return f.autoInsertedBrackets > 0 && e.row === f.autoInsertedRow && n === f.autoInsertedLineEnd[0] && t.substr(e.column) === f.autoInsertedLineEnd }, h.isMaybeInsertedClosing = function (e, t) { return f.maybeInsertedBrackets > 0 && e.row === f.maybeInsertedRow && t.substr(e.column) === f.maybeInsertedLineEnd && t.substr(0, e.column) == f.maybeInsertedLineStart }, h.popAutoInsertedClosing = function () { f.autoInsertedLineEnd = f.autoInsertedLineEnd.substr(1), f.autoInsertedBrackets-- }, h.clearMaybeInsertedClosing = function () { f && (f.maybeInsertedBrackets = 0, f.maybeInsertedRow = -1) }, r.inherits(h, i), t.CstyleBehaviour = h }), ace.define("ace/mode/folding/cstyle", ["require", "exports", "module", "ace/lib/oop", "ace/range", "ace/mode/folding/fold_mode"], function (e, t, n) { var r = e("../../lib/oop"), i = e("../../range").Range, s = e("./fold_mode").FoldMode, o = t.FoldMode = function (e) { e && (this.foldingStartMarker = new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/, "|" + e.start)), this.foldingStopMarker = new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/, "|" + e.end))) }; r.inherits(o, s), function () { this.foldingStartMarker = /(\{|\[)[^\}\]]*$|^\s*(\/\*)/, this.foldingStopMarker = /^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/, this.getFoldWidgetRange = function (e, t, n, r) { var i = e.getLine(n), s = i.match(this.foldingStartMarker); if (s) { var o = s.index; if (s[1])return this.openingBracketBlock(e, s[1], n, o); var u = e.getCommentFoldRange(n, o + s[0].length, 1); return u && !u.isMultiLine() && (r ? u = this.getSectionRange(e, n) : t != "all" && (u = null)), u } if (t === "markbegin")return; var s = i.match(this.foldingStopMarker); if (s) { var o = s.index + s[0].length; return s[1] ? this.closingBracketBlock(e, s[1], n, o) : e.getCommentFoldRange(n, o, -1) } }, this.getSectionRange = function (e, t) { var n = e.getLine(t), r = n.search(/\S/), s = t, o = n.length; t += 1; var u = t, a = e.getLength(); while (++t < a) { n = e.getLine(t); var f = n.search(/\S/); if (f === -1)continue; if (r > f)break; var l = this.getFoldWidgetRange(e, "all", t); if (l) { if (l.start.row <= s)break; if (l.isMultiLine())t = l.end.row; else if (r == f)break } u = t } return new i(s, o, u, e.getLine(u).length) } }.call(o.prototype) })
ahammer/MySaasa
server/src/main/webapp/ace/src-min-noconflict/mode-jsx.js
JavaScript
agpl-3.0
17,411
<?php class TreeNode { public $text = ""; public $id = ""; public $iconCls = ""; public $leaf = true; public $draggable = false; public $href = "#"; public $hrefTarget = ""; function __construct($id,$text,$iconCls,$leaf,$draggable,$href,$hrefTarget) { $this->id = $id; $this->text = $text; $this->iconCls = $iconCls; $this->leaf = $leaf; $this->draggable = $draggable; $this->href = $href; $this->hrefTarget = $hrefTarget; } function toJson() { return G::json_encode($this); } } class ExtJsTreeNode extends TreeNode { public $children = array(); function add($object) { $this->children[] = $object; } function toJson() { return G::json_encode($this); } } G::LoadClass('case'); $o = new Cases(); $PRO_UID = $_SESSION['PROCESS']; $treeArray = array(); //if (isset($_GET['action'])&&$_GET['action']=='test'){ echo "["; // dynaforms assemble $extTreeDynaforms = new ExtJsTreeNode("node-dynaforms", G::loadtranslation('ID_DYNAFORMS'), "", false, false, "", ""); $i = 0; $APP_UID = $_GET['APP_UID']; $DEL_INDEX = $_GET['DEL_INDEX']; $steps = $o->getAllDynaformsStepsToRevise($_GET['APP_UID']); $steps->next(); while ($step = $steps->getRow()) { require_once 'classes/model/Dynaform.php'; $od = new Dynaform(); $dynaformF = $od->Load($step['STEP_UID_OBJ']); $n = $step['STEP_POSITION']; $TITLE = " - ".$dynaformF['DYN_TITLE']; $DYN_UID = $dynaformF['DYN_UID']; $href = "cases_StepToRevise?type=DYNAFORM&ex=$i&PRO_UID=$PRO_UID&DYN_UID=$DYN_UID&APP_UID=$APP_UID&position=".$step['STEP_POSITION']."&DEL_INDEX=$DEL_INDEX"; $extTreeDynaforms->add(new TreeNode($DYN_UID,$TITLE,"datasource",true,false,$href,"openCaseFrame")); $i++; $steps->next(); } echo $extTreeDynaforms->toJson(); // end the dynaforms tree menu echo ","; // assembling the input documents tree menu $extTreeInputDocs = new ExtJsTreeNode("node-input-documents", G::loadtranslation('ID_REQUEST_DOCUMENTS'), "", false, false, "", ""); $i = 0; $APP_UID = $_GET['APP_UID']; $DEL_INDEX = $_GET['DEL_INDEX']; $steps = $o->getAllInputsStepsToRevise($_GET['APP_UID']); $steps->next(); while ($step = $steps->getRow()) { require_once 'classes/model/InputDocument.php'; $od = new InputDocument(); $IDF = $od->Load($step['STEP_UID_OBJ']); $n = $step['STEP_POSITION']; $TITLE = " - ".$IDF['INP_DOC_TITLE']; $INP_DOC_UID = $IDF['INP_DOC_UID']; $href = "cases_StepToReviseInputs?type=INPUT_DOCUMENT&ex=$i&PRO_UID=$PRO_UID&INP_DOC_UID=$INP_DOC_UID&APP_UID=$APP_UID&position=".$step['STEP_POSITION']."&DEL_INDEX=$DEL_INDEX"; $extTreeInputDocs->add(new TreeNode($INP_DOC_UID,$TITLE,"datasource",true,false,$href,"openCaseFrame")); $i++; $steps->next(); } echo $extTreeInputDocs->toJson(); echo "]";
carbonadona/pm
workflow/engine/methods/cases/casesToReviseTreeContent.php
PHP
agpl-3.0
2,947
# Northerner Cyril # Welcome to the Northerner! This is the reference implementation for a server-client, token-based online architecture of the game Carcassonne. You may want to look into our [Wiki][] or jump to the [Protocol][] [Wiki]: https://github.com/BenWiederhake/northerner-cyril/wiki [Protocol]: https://github.com/BenWiederhake/northerner-cyril/wiki/Protocol
BenWiederhake/northerner-cyril
README.md
Markdown
agpl-3.0
374
<?php namespace CloudDataService\NHSNumberValidation\Test; use CloudDataService\NHSNumberValidation\Test\TestCase; use CloudDataService\NHSNumberValidation\Validator; class ValidatorTest extends TestCase { public function testInit() { $validator = new Validator; $this->assertTrue(is_object($validator)); } public function testHasFunction() { $validator = new Validator; $this->assertTrue( method_exists($validator, 'validate'), 'Class does not have method validate' ); } public function testValidateNoNumber() { $validator = new Validator; $this->assertTrue(is_object($validator)); try { $valid = $validator->validate(); } catch (\CloudDataService\NHSNumberValidation\InvalidNumberException $e) { return; } } public function testValidateNumberTooShort() { $validator = new Validator; $this->assertTrue(is_object($validator)); try { $valid = $validator->validate(0123); } catch (\CloudDataService\NHSNumberValidation\InvalidNumberException $e) { return; } } public function testValidateNumberTooLong() { $validator = new Validator; $this->assertTrue(is_object($validator)); try { $valid = $validator->validate('01234567890'); } catch (\CloudDataService\NHSNumberValidation\InvalidNumberException $e) { return; } } public function testValidNumber() { $validator = new Validator; $this->assertTrue(is_object($validator)); try { $valid = $validator->validate(4010232137); } catch (\CloudDataService\NHSNumberValidation\InvalidNumberException $e) { return false; } $this->assertEquals(4010232137, $valid); } public function testValidNumberWithBadChecksum() { $validator = new Validator; $this->assertTrue(is_object($validator)); try { $valid = $validator->validate(4010232138); } catch (\CloudDataService\NHSNumberValidation\InvalidNumberException $e) { return false; } } public function testValidNumberWithBadChecksumEqualsTen() { $validator = new Validator; $this->assertTrue(is_object($validator)); try { $valid = $validator->validate(1000000010); } catch (\CloudDataService\NHSNumberValidation\InvalidNumberException $e) { return false; } } public function testValidNumberWithBadChecksumEqualsEleven() { $validator = new Validator; $this->assertTrue(is_object($validator)); try { $valid = $validator->validate(1000000060); } catch (\CloudDataService\NHSNumberValidation\InvalidNumberException $e) { return false; } } public function testValidNumberWithSpaces() { $validator = new Validator; $this->assertTrue(is_object($validator)); try { $valid = $validator->validate("401 023 2137"); } catch (\CloudDataService\NHSNumberValidation\InvalidNumberException $e) { return false; } $this->assertEquals(4010232137, $valid); } public function testValidNumberWithNonAlphaNumeric() { $validator = new Validator; $this->assertTrue(is_object($validator)); try { $valid = $validator->validate("401-023-2137"); } catch (\CloudDataService\NHSNumberValidation\InvalidNumberException $e) { return false; } $this->assertEquals(4010232137, $valid); } }
CloudDataService/nhs-number-validation
tests/ValidatorTest.php
PHP
agpl-3.0
3,767
# Copyright (C) 2021 OpenMotics BV # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # 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 Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. """ apartment controller manages the apartment objects that are known in the system """ import logging from gateway.events import EsafeEvent, EventError from gateway.exceptions import ItemDoesNotExistException, StateException from gateway.models import Apartment, Database from gateway.mappers import ApartmentMapper from gateway.dto import ApartmentDTO from gateway.pubsub import PubSub from ioc import INJECTED, Inject, Injectable, Singleton if False: # MyPy from typing import List, Optional, Dict, Any from esafe.rebus import RebusController logger = logging.getLogger(__name__) @Injectable.named('apartment_controller') @Singleton class ApartmentController(object): def __init__(self): self.rebus_controller = None # type: Optional[RebusController] def set_rebus_controller(self, rebus_controller): self.rebus_controller = rebus_controller @staticmethod @Inject def send_config_change_event(msg, error=EventError.ErrorTypes.NO_ERROR, pubsub=INJECTED): # type: (str, Dict[str, Any], PubSub) -> None event = EsafeEvent(EsafeEvent.Types.CONFIG_CHANGE, {'type': 'apartment', 'msg': msg}, error=error) pubsub.publish_esafe_event(PubSub.EsafeTopics.CONFIG, event) @staticmethod def load_apartment(apartment_id): # type: (int) -> Optional[ApartmentDTO] apartment_orm = Apartment.select().where(Apartment.id == apartment_id).first() if apartment_orm is None: return None apartment_dto = ApartmentMapper.orm_to_dto(apartment_orm) return apartment_dto @staticmethod def load_apartment_by_mailbox_id(mailbox_id): # type: (int) -> Optional[ApartmentDTO] apartment_orm = Apartment.select().where(Apartment.mailbox_rebus_id == mailbox_id).first() if apartment_orm is None: return None apartment_dto = ApartmentMapper.orm_to_dto(apartment_orm) return apartment_dto @staticmethod def load_apartment_by_doorbell_id(doorbell_id): # type: (int) -> Optional[ApartmentDTO] apartment_orm = Apartment.select().where(Apartment.doorbell_rebus_id == doorbell_id).first() if apartment_orm is None: return None apartment_dto = ApartmentMapper.orm_to_dto(apartment_orm) return apartment_dto @staticmethod def load_apartments(): # type: () -> List[ApartmentDTO] apartments = [] for apartment_orm in Apartment.select(): apartment_dto = ApartmentMapper.orm_to_dto(apartment_orm) apartments.append(apartment_dto) return apartments @staticmethod def get_apartment_count(): # type: () -> int return Apartment.select().count() @staticmethod def apartment_id_exists(apartment_id): # type: (int) -> bool apartments = ApartmentController.load_apartments() ids = (x.id for x in apartments) return apartment_id in ids def _check_rebus_ids(self, apartment_dto): if self.rebus_controller is None: raise StateException("Cannot save apartment: Rebus Controller is None") if 'doorbell_rebus_id' in apartment_dto.loaded_fields and \ not self.rebus_controller.verify_device_exists(apartment_dto.doorbell_rebus_id): raise ItemDoesNotExistException("Cannot save apartment: doorbell ({}) does not exists".format(apartment_dto.doorbell_rebus_id)) if 'mailbox_rebus_id' in apartment_dto.loaded_fields and \ not self.rebus_controller.verify_device_exists(apartment_dto.mailbox_rebus_id): raise ItemDoesNotExistException("Cannot save apartment: mailbox ({}) does not exists".format(apartment_dto.mailbox_rebus_id)) def save_apartment(self, apartment_dto, send_event=True): # type: (ApartmentDTO, bool) -> ApartmentDTO self._check_rebus_ids(apartment_dto) apartment_orm = ApartmentMapper.dto_to_orm(apartment_dto) apartment_orm.save() if send_event: ApartmentController.send_config_change_event('save') return ApartmentMapper.orm_to_dto(apartment_orm) def save_apartments(self, apartments_dto): apartments_dtos = [] for apartment in apartments_dto: apartment_saved = self.save_apartment(apartment, send_event=False) apartments_dtos.append(apartment_saved) self.send_config_change_event('save') return apartments_dtos def update_apartment(self, apartment_dto, send_event=True): # type: (ApartmentDTO, bool) -> ApartmentDTO self._check_rebus_ids(apartment_dto) if 'id' not in apartment_dto.loaded_fields or apartment_dto.id is None: raise RuntimeError('cannot update an apartment without the id being set') try: apartment_orm = Apartment.get_by_id(apartment_dto.id) loaded_apartment_dto = ApartmentMapper.orm_to_dto(apartment_orm) for field in apartment_dto.loaded_fields: if field == 'id': continue if hasattr(apartment_dto, field): setattr(loaded_apartment_dto, field, getattr(apartment_dto, field)) apartment_orm = ApartmentMapper.dto_to_orm(loaded_apartment_dto) apartment_orm.save() if send_event: ApartmentController.send_config_change_event('update') return ApartmentMapper.orm_to_dto(apartment_orm) except Exception as e: raise RuntimeError('Could not update the user: {}'.format(e)) def update_apartments(self, apartment_dtos): # type: (List[ApartmentDTO]) -> Optional[List[ApartmentDTO]] apartments = [] with Database.get_db().transaction() as transaction: try: # First clear all the rebus fields in order to be able to swap 2 fields for apartment in apartment_dtos: apartment_orm = Apartment.get_by_id(apartment.id) # type: Apartment if 'mailbox_rebus_id' in apartment.loaded_fields: apartment_orm.mailbox_rebus_id = None if 'doorbell_rebus_id' in apartment.loaded_fields: apartment_orm.doorbell_rebus_id = None apartment_orm.save() # Then check if there is already an apartment with an mailbox or doorbell rebus id that is passed # This is needed for when an doorbell or mailbox gets assigned to another apartment. Then the first assignment needs to be deleted. for apartment_orm in Apartment.select(): for apartment_dto in apartment_dtos: if apartment_orm.mailbox_rebus_id == apartment_dto.mailbox_rebus_id and apartment_orm.mailbox_rebus_id is not None: apartment_orm.mailbox_rebus_id = None apartment_orm.save() if apartment_orm.doorbell_rebus_id == apartment_dto.doorbell_rebus_id and apartment_orm.doorbell_rebus_id is not None: apartment_orm.doorbell_rebus_id = None apartment_orm.save() for apartment in apartment_dtos: updated = self.update_apartment(apartment, send_event=False) if updated is not None: apartments.append(updated) self.send_config_change_event('update') except Exception as ex: logger.error('Could not update apartments: {}: {}'.format(type(ex).__name__, ex)) transaction.rollback() return None return apartments @staticmethod def delete_apartment(apartment_dto): # type: (ApartmentDTO) -> None if "id" in apartment_dto.loaded_fields and apartment_dto.id is not None: Apartment.delete_by_id(apartment_dto.id) elif "name" in apartment_dto.loaded_fields: # First check if there is only one: if Apartment.select().where(Apartment.name == apartment_dto.name).count() <= 1: Apartment.delete().where(Apartment.name == apartment_dto.name).execute() ApartmentController.send_config_change_event('delete') else: raise RuntimeError('More than one apartment with the given name: {}'.format(apartment_dto.name)) else: raise RuntimeError('Could not find an apartment with the name {} to delete'.format(apartment_dto.name))
openmotics/gateway
src/gateway/apartment_controller.py
Python
agpl-3.0
9,287
<?php /** * BaseContact class * * @author Carlos Palma <[email protected]> */ abstract class BaseContact extends ContentDataObject { // ------------------------------------------------------- // Access methods // ------------------------------------------------------- /** * Return value of 'id' field * * @access public * @param void * @return integer */ function getObjectId() { return $this->getColumnValue('object_id'); } // getObjectId() /** * Set value of 'id' field * * @access public * @param integer $value * @return boolean */ function setObjectId($value) { return $this->setColumnValue('object_id', $value); } // setObjectId() /** * Return value of 'first_name' field * * @access public * @param void * @return string */ function getFirstName() { return $this->getColumnValue('first_name'); } // getFirstName() /** * Set value of 'first_name' field * * @access public * @param string $value * @return boolean */ function setFirstName($value) { return $this->setColumnValue('first_name', $value); } // setFirstName() /** * Return value of 'surname' field * * @access public * @param void * @return string */ function getSurname() { return $this->getColumnValue('surname'); } // getSurname() /** * Set value of 'surname' field * * @access public * @param string $value * @return boolean */ function setSurname($value) { return $this->setColumnValue('surname', $value); } // setSurname() /** * Return value of 'company_id' field * * @access public * @param void * @return integer */ function getCompanyId() { return $this->getColumnValue('company_id'); } // getCompanyId() /** * Set value of 'company_id' field * * @access public * @param integer $value * @return boolean */ function setCompanyId($value) { return $this->setColumnValue('company_id', $value); } // setCompanyId() /** * Return value of 'is_company' field * * @access public * @param void * @return boolean */ function getIsCompany() { return $this->getColumnValue('is_company'); } // getIsCompany() /** * Set value of 'is_company' field * * @access public * @param boolean $value * @return boolean */ function setIsCompany($value) { return $this->setColumnValue('is_company', $value); } // setIsCompany() /** * Return value of 'user_type' field * * @access public * @param void * @return boolean */ function getUserType() { return $this->getColumnValue('user_type'); } // getUserType() /** * Set value of 'user_type' field * * @access public * @param boolean $value * @return boolean */ function setUserType($value) { return $this->setColumnValue('user_type', $value); } // setUserType() /** * Return value of 'birthday' field * * @access public * @param void * @return datetimevalue */ function getBirthday() { return $this->getColumnValue('birthday'); } // getBirthday() /** * Set value of 'birthday' field * * @access public * @param datetimevalue $value * @return boolean */ function setBirthday($value) { return $this->setColumnValue('birthday', $value); } // setBirthday() /** * Return value of 'department' field * * @access public * @param void * @return string */ function getDepartment() { return $this->getColumnValue('department'); } // getDepartment() /** * Set value of 'department' field * * @access public * @param string $value * @return boolean */ function setDepartment($value) { return $this->setColumnValue('department', $value); } // setDepartment() /** * Return value of 'job_title' field * * @access public * @param void * @return string */ function getJobTitle() { return $this->getColumnValue('job_title'); } // getJobTitle() /** * Set value of 'job_title' field * * @access public * @param string $value * @return boolean */ function setJobTitle($value) { return $this->setColumnValue('job_title', $value); } // setJobTitle() /** * Return value of 'timezone' field * * @access public * @param void * @return float */ function getTimezone() { return $this->getColumnValue('timezone'); } // getTimezone() /** * Set value of 'timezone' field * * @access public * @param float $value * @return boolean */ function setTimezone($value) { return $this->setColumnValue('timezone', $value); } // setTimezone() /** * Return value of 'is_active_user' field * * @access public * @param void * @return boolean */ function getIsActiveUser() { return $this->getColumnValue('is_active_user'); } // getIsActiveUser() /** * Set value of 'is_active_user' field * * @access public * @param boolean $value * @return boolean */ function setIsActiveUser($value) { return $this->setColumnValue('is_active_user', $value); } // setIsActiveUser() /** * Return value of 'token' field * * @access public * @param void * @return string */ function getToken() { return $this->getColumnValue('token'); } // getToken() /** * Set value of 'token' field * * @access public * @param string $value * @return boolean */ function setToken($value) { return $this->setColumnValue('token', $value); } // setToken() /** * Return value of 'salt' field * * @access public * @param void * @return string */ function getSalt() { return $this->getColumnValue('salt'); } // getSalt() /** * Set value of 'salt' field * * @access public * @param string $value * @return boolean */ function setSalt($value) { return $this->setColumnValue('salt', $value); } // setSalt() /** * Return value of 'twister' field * * @access public * @param void * @return string */ function getTwister() { return $this->getColumnValue('twister'); } // getTwister() /** * Set value of 'twister' field * * @access public * @param string $value * @return boolean */ function setTwister($value) { return $this->setColumnValue('twister', $value); } // setTwister() /** * Return value of 'display_name' field * * @access public * @param void * @return string */ function getDisplayName() { return $this->getColumnValue('display_name'); } // getDisplayName() /** * Set value of 'display_name' field * * @access public * @param string $value * @return boolean */ function setDisplayName($value) { return $this->setColumnValue('display_name', $value); } // setDisplayName() /** * Return value of 'permission_group_id' field * * @access public * @param void * @return integer */ function getPermissionGroupId() { return $this->getColumnValue('permission_group_id'); } // getPermissionGroupId() /** * Set value of 'permission_group_id' field * * @access public * @param integer $value * @return boolean */ function setPermissionGroupId($value) { return $this->setColumnValue('permission_group_id', $value); } // setPermissionGroupId() /** * Return value of 'username' field * * @access public * @param void * @return string */ function getUsername() { return $this->getColumnValue('username'); } // getUsername() /** * Set value of 'username' field * * @access public * @param string $value * @return boolean */ function setUsername($value) { return $this->setColumnValue('username', $value); } // setUsername() /** * Return value of 'contact_passwords_id' field * * @access public * @param void * @return string */ function getContactPasswordsId() { return $this->getColumnValue('contact_passwords_id'); } // getContactPasswordsId() /** * Set value of 'contact_passwords_id' field * * @access public * @param string $value * @return boolean */ function setContactPasswordsId($value) { return $this->setColumnValue('contact_passwords_id', $value); } // setContactPasswordsId() /** * Return value of 'comments' field * * @access public * @param void * @return string */ function getCommentsField() { return $this->getColumnValue('comments'); } // getCommentsField() /** * Set value of 'comments' field * * @access public * @param string $value * @return boolean */ function setCommentsField($value) { return $this->setColumnValue('comments', $value); } // setCommentsField() /** * Return value of 'picture_file' field * * @access public * @param void * @return string */ function getPictureFile() { return $this->getColumnValue('picture_file'); } // getPictureFile() /** * Set value of 'picture_file' field * * @access public * @param string $value * @return boolean */ function setPictureFile($value) { return $this->setColumnValue('picture_file', $value); } // setPictureFile() function getPictureFileSmall() { return $this->getColumnValue('picture_file_small'); } function setPictureFileSmall($value) { return $this->setColumnValue('picture_file_small', $value); } function getPictureFileMedium() { return $this->getColumnValue('picture_file_medium'); } function setPictureFileMedium($value) { return $this->setColumnValue('picture_file_medium', $value); } /** * Return value of 'avatar_file' field * * @access public * @param void * @return string */ function getAvatarFile() { return $this->getColumnValue('avatar_file'); } // getAvatarFile() /** * Set value of 'avatar_file' field * * @access public * @param string $value * @return boolean */ function setAvatarFile($value) { return $this->setColumnValue('avatar_file', $value); } // setAvatarFile() /** * Return value of 'last_login' field * * @access public * @param void * @return DateTimeValue */ function getLastLogin() { return $this->getColumnValue('last_login'); } // getLastLogin() /** * Set value of 'last_login' field * * @access public * @param DateTimeValue $value * @return boolean */ function setLastLogin(DateTimeValue $value) { return $this->setColumnValue('last_login', $value); } // setLastLogin() /** * Return value of 'last_visit' field * * @access public * @param void * @return DateTimeValue */ function getLastVisit() { return $this->getColumnValue('last_visit'); } // getLastVisit() /** * Set value of 'last_visit' field * * @access public * @param DateTimeValue $value * @return boolean */ function setLastVisit($value) { return $this->setColumnValue('last_visit', $value); } // setLastVisit() /** * Return value of 'last_activity' field * * @access public * @param void * @return DateTimeValue */ function getLastActivity() { return $this->getColumnValue('last_activity'); } // getLastActivity() /** * Set value of 'last_activity' field * * @access public * @param DateTimeValue $value * @return boolean */ function setLastActivity($value) { return $this->setColumnValue('last_activity', $value); } // setLastActivity() /** * Return value of 'personal_member_id' field * * @access public * @param void * @return integer */ function getPersonalMemberId() { return $this->getColumnValue('personal_member_id'); } // getPersonalMemberId() /** * Set value of 'personal_member_id' field * * @access public * @param integer $value * @return boolean */ function setPersonalMemberId($value) { return $this->setColumnValue('personal_member_id', $value); } // setPersonalMemberId() /** * Return value of 'disabled' field * * @access public * @param void * @return integer */ function getDisabled() { return $this->getColumnValue('disabled'); } // getDisabled() /** * Set value of 'disabled' field * * @access public * @param integer $value * @return boolean */ function setDisabled($value) { return $this->setColumnValue('disabled', $value); } // setDisabled() /** * Return value of 'token_disabled' field * * @access public * @param void * @return string */ function getTokenDisabled() { return $this->getColumnValue('token_disabled'); } // getTokenDisabled() /** * Set value of 'token_disabled' field * * @access public * @param string $value * @return boolean */ function setTokenDisabled($value) { return $this->setColumnValue('token_disabled', $value); } // setTokenDisabled() /** * Return value of 'default_billing_id' field * * @access public * @param void * @return integer */ function getDefaultBillingId() { return $this->getColumnValue('default_billing_id'); } // getDefaultBillingId() /** * Set value of 'default_billing_id' field * * @access public * @param integer $value * @return boolean */ function setDefaultBillingId($value) { return $this->setColumnValue('default_billing_id', $value); } // setDefaultBillingId() function getUserTimezoneId() { return $this->getColumnValue('user_timezone_id'); } function setUserTimezoneId($value) { return $this->setColumnValue('user_timezone_id', $value); } /** * Return manager instance * * @access protected * @param void * @return Contacts */ function manager() { if(!($this->manager instanceof Contacts)) $this->manager = Contacts::instance(); return $this->manager; } // manager } // BaseContact ?>
fengoffice/fengoffice
application/models/contacts/base/BaseContact.class.php
PHP
agpl-3.0
15,547
<?php /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by the * Free Software Foundation with the addition of the following permission added * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS. * * 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 Affero General Public License for more * details. * * You should have received a copy of the GNU Affero General Public License along with * this program; if not, see http://www.gnu.org/licenses or write to the Free * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301 USA. * * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, * SW2-130, Cupertino, CA 95014, USA. or at email address [email protected]. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the "Powered by * SugarCRM" logo. If the display of the logo is not reasonably feasible for * technical reasons, the Appropriate Legal Notices must display the words * "Powered by SugarCRM". ********************************************************************************/ require_once('data/SugarBean.php'); require_once('modules/Contacts/Contact.php'); require_once('include/SubPanel/SubPanelDefinitions.php'); class Bug41738Test extends Sugar_PHPUnit_Framework_TestCase { protected $bean; public function setUp() { global $moduleList, $beanList, $beanFiles; require('include/modules.php'); $GLOBALS['current_user'] = SugarTestUserUtilities::createAnonymousUser(); $GLOBALS['modListHeader'] = query_module_access_list($GLOBALS['current_user']); $GLOBALS['modules_exempt_from_availability_check']['Calls']='Calls'; $GLOBALS['modules_exempt_from_availability_check']['Meetings']='Meetings'; $this->bean = new Opportunity(); } public function tearDown() { SugarTestUserUtilities::removeAllCreatedAnonymousUsers(); unset($GLOBALS['current_user']); } public function testSubpanelCollectionWithSpecificQuery() { $subpanel = array( 'order' => 20, 'sort_order' => 'desc', 'sort_by' => 'date_entered', 'type' => 'collection', 'subpanel_name' => 'history', //this values is not associated with a physical file. 'top_buttons' => array(), 'collection_list' => array( 'meetings' => array( 'module' => 'Meetings', 'subpanel_name' => 'ForHistory', 'get_subpanel_data' => 'function:subpanelCollectionWithSpecificQueryMeetings', 'generate_select'=>false, 'function_parameters' => array( 'bean_id'=>$this->bean->id, 'import_function_file' => __FILE__ ), ), 'tasks' => array( 'module' => 'Tasks', 'subpanel_name' => 'ForHistory', 'get_subpanel_data' => 'function:subpanelCollectionWithSpecificQueryTasks', 'generate_select'=>false, 'function_parameters' => array( 'bean_id'=>$this->bean->id, 'import_function_file' => __FILE__ ), ), ) ); $subpanel_def = new aSubPanel("testpanel", $subpanel, $this->bean); $query = $this->bean->get_union_related_list($this->bean, "", '', "", 0, 5, -1, 0, $subpanel_def); $result = $this->bean->db->query($query["query"]); $this->assertTrue($result != false, "Bad query: {$query['query']}"); } } function subpanelCollectionWithSpecificQueryMeetings($params) { $query = "SELECT meetings.id , meetings.name , meetings.status , 0 reply_to_status , ' ' contact_name , ' ' contact_id , ' ' contact_name_owner , ' ' contact_name_mod , meetings.parent_id , meetings.parent_type , meetings.date_modified , jt1.user_name assigned_user_name , jt1.created_by assigned_user_name_owner , 'Users' assigned_user_name_mod, ' ' filename , meetings.assigned_user_id , 'meetings' panel_name FROM meetings LEFT JOIN users jt1 ON jt1.id= meetings.assigned_user_id AND jt1.deleted=0 AND jt1.deleted=0 WHERE ( meetings.parent_type = 'Opportunities' AND meetings.deleted=0 AND (meetings.status='Held' OR meetings.status='Not Held') AND meetings.parent_id IN( SELECT o.id FROM opportunities o INNER JOIN opportunities_contacts oc on o.id = oc.opportunity_id AND oc.contact_id = '".$params['bean_id']."') )"; return $query ; } function subpanelCollectionWithSpecificQueryTasks($params) { $query = "SELECT tasks.id , tasks.name , tasks.status , 0 reply_to_status , ' ' contact_name , ' ' contact_id , ' ' contact_name_owner , ' ' contact_name_mod , tasks.parent_id , tasks.parent_type , tasks.date_modified , jt1.user_name assigned_user_name , jt1.created_by assigned_user_name_owner , 'Users' assigned_user_name_mod, ' ' filename , tasks.assigned_user_id , 'tasks' panel_name FROM tasks LEFT JOIN users jt1 ON jt1.id= tasks.assigned_user_id AND jt1.deleted=0 AND jt1.deleted=0 WHERE ( tasks.parent_type = 'Opportunities' AND tasks.deleted=0 AND (tasks.status='Completed' OR tasks.status='Deferred') AND tasks.parent_id IN( SELECT o.id FROM opportunities o INNER JOIN opportunities_contacts oc on o.id = oc.opportunity_id AND oc.contact_id = '".$params['bean_id']."') )"; return $query ; }
firstmoversadvantage/sugarcrm
tests/include/SubPanel/Bug41738Test.php
PHP
agpl-3.0
6,370
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="es"> <head> <!-- Generated by javadoc (1.8.0_122-ea) on Thu Jan 19 17:37:21 CET 2017 --> <title>Uses of Class me.Bn32w.Bn32wEngine.entity.collision.CollisionBox</title> <meta name="date" content="2017-01-19"> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class me.Bn32w.Bn32wEngine.entity.collision.CollisionBox"; } } catch(err) { } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../../me/Bn32w/Bn32wEngine/entity/collision/CollisionBox.html" title="class in me.Bn32w.Bn32wEngine.entity.collision">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../package-tree.html">Tree</a></li> <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../../index-files/index-1.html">Index</a></li> <li><a href="../../../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../index.html?me/Bn32w/Bn32wEngine/entity/collision/class-use/CollisionBox.html" target="_top">Frames</a></li> <li><a href="CollisionBox.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> <h2 title="Uses of Class me.Bn32w.Bn32wEngine.entity.collision.CollisionBox" class="title">Uses of Class<br>me.Bn32w.Bn32wEngine.entity.collision.CollisionBox</h2> </div> <div class="classUseContainer"> <ul class="blockList"> <li class="blockList"> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> <caption><span>Packages that use <a href="../../../../../../me/Bn32w/Bn32wEngine/entity/collision/CollisionBox.html" title="class in me.Bn32w.Bn32wEngine.entity.collision">CollisionBox</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Package</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="#me.Bn32w.Bn32wEngine.entity">me.Bn32w.Bn32wEngine.entity</a></td> <td class="colLast">&nbsp;</td> </tr> </tbody> </table> </li> <li class="blockList"> <ul class="blockList"> <li class="blockList"><a name="me.Bn32w.Bn32wEngine.entity"> <!-- --> </a> <h3>Uses of <a href="../../../../../../me/Bn32w/Bn32wEngine/entity/collision/CollisionBox.html" title="class in me.Bn32w.Bn32wEngine.entity.collision">CollisionBox</a> in <a href="../../../../../../me/Bn32w/Bn32wEngine/entity/package-summary.html">me.Bn32w.Bn32wEngine.entity</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> <caption><span>Constructors in <a href="../../../../../../me/Bn32w/Bn32wEngine/entity/package-summary.html">me.Bn32w.Bn32wEngine.entity</a> with parameters of type <a href="../../../../../../me/Bn32w/Bn32wEngine/entity/collision/CollisionBox.html" title="class in me.Bn32w.Bn32wEngine.entity.collision">CollisionBox</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../me/Bn32w/Bn32wEngine/entity/Entity.html#Entity-me.Bn32w.Bn32wEngine.entity.collision.CollisionBox-java.lang.String-me.Bn32w.Bn32wEngine.states.State-boolean-">Entity</a></span>(<a href="../../../../../../me/Bn32w/Bn32wEngine/entity/collision/CollisionBox.html" title="class in me.Bn32w.Bn32wEngine.entity.collision">CollisionBox</a>&nbsp;pCollisionBox, java.lang.String&nbsp;identifier, <a href="../../../../../../me/Bn32w/Bn32wEngine/states/State.html" title="class in me.Bn32w.Bn32wEngine.states">State</a>&nbsp;state, boolean&nbsp;solid)</code> <div class="block">Creates a new entity, initializing all the bounds data by the information given in the parameter, the speed and acceleration is 0.</div> </td> </tr> </tbody> </table> </li> </ul> </li> </ul> </div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../../me/Bn32w/Bn32wEngine/entity/collision/CollisionBox.html" title="class in me.Bn32w.Bn32wEngine.entity.collision">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../package-tree.html">Tree</a></li> <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../../index-files/index-1.html">Index</a></li> <li><a href="../../../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../index.html?me/Bn32w/Bn32wEngine/entity/collision/class-use/CollisionBox.html" target="_top">Frames</a></li> <li><a href="CollisionBox.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>
Bn32w/Bn32wEngine
doc/me/Bn32w/Bn32wEngine/entity/collision/class-use/CollisionBox.html
HTML
agpl-3.0
7,104
<div class="split-content"> <div class="header"> <h2 translate>Templates</h2> <div class="pull-right"> <div class="sortbar pull-left"> <span class="lab" translate>Filter:</span> <div class="dropdown" dropdown sd-dropdown-position> <button id="order_button" class="dropdown-toggle" dropdown-toggle>{{ filters[activeFilter].label | translate }} <b class="caret"></b> </button> <ul class="dropdown-menu left-submenu" id="order_selector"> <li ng-repeat="f in filters track by $index" ng-class="{active: activeFilter === $index}"> <a href="" ng-click="filterBy($index)">{{ f.label | translate }}</a> </li> </ul> </div> </div> <button class="btn btn-info" ng-click="edit()"> <i class="icon-plus-sign icon-white"></i> <span translate>Add New Template</span> </button> </div> </div> <div class="content"> <div class="flex-grid box wrap-items small-2 medium-4 large-6"> <div class="flex-item card-box template-card" ng-repeat="template in content_templates._items | templatesBy:filters[activeFilter]" ng-if="desks"> <div class="card-box__header" ng-class="{'card-box__header--dark': !template.is_public}" > <div class="dropdown" dropdown> <button class="dropdown-toggle" dropdown-toggle> <i class="icon-dots-vertical"></i> </button> <ul class="dropdown-menu more-activity-menu pull-right"> <li><div class="menu-label" translate>Actions</div></li> <li class="divider"></li> <li><button ng-click="edit(template)" title="{{:: 'Edit Template' | translate }}"><i class="icon-pencil"></i>{{:: 'Edit'| translate}}</button></li> <li ng-if="template.template_type !== 'kill'"><button ng-click="remove(template)" title="{{:: 'Remove Template' | translate }}"><i class="icon-trash"></i>{{:: 'Remove'| translate}}</button></li> </ul> </div> <div class="card-box__heading">{{ template.template_name }}</div> </div> <div class="card-box__content"> <ul class="card-box__content-list"> <li> <h4 class="with-value">{{ :: 'Template type' | translate }} <span class="value-label">{{ template.template_type }}</span></h4> </li> <li ng-if="getTemplateDesk(template).name"> <h4>{{ :: 'Desk / Stage' | translate }}</h4> <span>{{getTemplateDesk(template).name}} / {{getTemplateStage(template).name}}</span> </li> <li ng-if="template.schedule.is_active"> <h4>{{ :: 'Automated item creation' | translate }}</h4> <span ng-repeat="day in template.schedule.day_of_week"> {{ :: weekdays[day] }} <span ng-if="$index < template.schedule.day_of_week.length-1">, </span> </span> <span class="creation-time"> <i class="icon-time"></i> at {{ template.schedule.create_at | time }}<span> </li> </ul> </div> </div> </div> </div> </div> <div sd-modal data-model="template" class="modal-responsive"> <div class="modal-header template-header"> <a href="" class="close" ng-click="cancel()"><i class="icon-close-small"></i></a> <h3 ng-show="template._id"><span translate>Edit Template</span><span>"{{ origTemplate.template_name }}"</span></h3> <h3 translate ng-hide="template._id" translate>Add New Template</h3> </div> <div class="modal-body"> <form name="templateForm"> <div class="main-article"> <div class="fieldset"> <div class="field"> <label for="template-name" translate>Template Name</label> <input id="template-name" required ng-model="template.template_name"> </div> <div class="field"> <label for="template-type" translate>Template Type</label> <select id="template-type" required ng-model="template.template_type" ng-options="type._id as type.label for type in types | filter:templatesFilter"></select> </div> <div class="field"> <label for="template-is-private" translate>Desk Template</label> <div class="control"> <span sd-switch ng-model="template.is_public"></span> </div> </div> <div class="field" ng-if="template.template_type !== 'kill' && content_types.length"> <label for="template-profile" translate>Content Profile</label> <div class="control"> <select id="template-profile" ng-model="item.profile" ng-options="type._id as type.label for type in content_types"></select> </div> </div> <div class="field" ng-if="template.template_type !== 'kill' && !content_types.length"> <label for="template-profile" translate>Content Profile</label> <div class="control"> <input type="text" id="template-profile" ng-model="item.profile"> </div> </div> <div class="field" ng-if="template.template_type !== 'kill' && template.is_public"> <label for="template-desk" translate>Desk</label> <div class="control"> <select id="template-desk" ng-model="template.template_desk" ng-change="updateStages(template.template_desk)"> <option value="" translate>None</option> <option ng-repeat="desk in desks._items track by desk._id" value="{{ desk._id }}" ng-selected="desk._id === template.template_desk">{{ :: desk.name }}</option> </select> </div> </div> <div class="field" ng-if="template.template_desk && stages && template.template_type !== 'kill' && template.is_public"> <label for="template-stage" translate>Stage</label> <div class="control"> <select id="template-stage" ng-model="template.template_stage"> <option ng-repeat="stage in stages track by stage._id" value="{{ stage._id }}" ng-selected="stage._id === template.template_stage">{{ :: stage.name }}</option> </select> </div> </div> <div class="field" ng-if="template.template_desk && template.template_type !== 'kill' && template.is_public"> <label for="schedule-toggle" translate>Automatically create item</label> <div class="control"> <span sd-switch ng-model="template.schedule.is_active"></span> </div> </div> <div class="field" ng-if="template.schedule.is_active && template.template_type !== 'kill'"> <label translate>On</label> <div class="day-filter-box clearfix" sd-weekday-picker data-model="template.schedule.day_of_week"></div> </div> <div class="field" ng-if="template.schedule.is_active && template.template_type !== 'kill'"> <label translate>At</label> <span sd-timepicker ng-model="template.schedule.create_at"></span> <div sd-timezone data-timezone="template.schedule.time_zone"></div> </div> </div> <div class="fieldset" sd-article-edit></div> </div> </form> </div> <div class="modal-footer"> <button class="btn btn-default" ng-click="cancel()" translate>Cancel</button> <button class="btn btn-primary" ng-click="save()" ng-disabled="templateForm.$invalid || (!templateForm.$invalid && !validSchedule())" translate>Save</button> </div> </div>
vladnicoara/superdesk-client-core
scripts/superdesk-templates/views/templates.html
HTML
agpl-3.0
8,009
<?php class MetadataPlugin extends KalturaPlugin { const PLUGIN_NAME = 'metadata'; const METADATA_FLOW_MANAGER_CLASS = 'kMetadataFlowManager'; const METADATA_COPY_HANDLER_CLASS = 'kMetadataObjectCopiedHandler'; const METADATA_DELETE_HANDLER_CLASS = 'kMetadataObjectDeletedHandler'; const BULK_UPLOAD_COLUMN_PROFILE_ID = 'metadataProfileId'; const BULK_UPLOAD_COLUMN_XML = 'metadataXml'; const BULK_UPLOAD_COLUMN_URL = 'metadataUrl'; const BULK_UPLOAD_COLUMN_FIELD_PREFIX = 'metadataField_'; const BULK_UPLOAD_MULTI_VALUES_DELIMITER = '|,|'; const BULK_UPLOAD_DATE_FORMAT = '%Y-%m-%dT%H:%i:%s'; /** * @return array<string,string> in the form array[serviceName] = serviceClass */ public static function getServicesMap() { $map = array( 'metadata' => 'MetadataService', 'metadataProfile' => 'MetadataProfileService', 'metadataBatch' => 'MetadataBatchService', ); return $map; } /** * @return string - the path to services.ct */ public static function getServiceConfig() { return realpath(dirname(__FILE__).'/config/metadata.ct'); } /** * @return array */ public static function getEventConsumers() { return array( self::METADATA_FLOW_MANAGER_CLASS, self::METADATA_COPY_HANDLER_CLASS, self::METADATA_DELETE_HANDLER_CLASS, ); } /** * @param KalturaPluginManager::OBJECT_TYPE $objectType * @param string $enumValue * @param array $constructorArgs * @return object */ public static function loadObject($objectType, $enumValue, array $constructorArgs = null) { if($objectType != KalturaPluginManager::OBJECT_TYPE_SYNCABLE) return null; if(!isset($constructorArgs['objectId'])) return null; $objectId = $constructorArgs['objectId']; switch($enumValue) { case FileSync::FILE_SYNC_OBJECT_TYPE_METADATA: MetadataPeer::setUseCriteriaFilter ( false ); $object = MetadataPeer::retrieveByPK( $objectId ); MetadataPeer::setUseCriteriaFilter ( true ); return $object; case FileSync::FILE_SYNC_OBJECT_TYPE_METADATA_PROFILE: MetadataProfilePeer::setUseCriteriaFilter ( false ); $object = MetadataProfilePeer::retrieveByPK( $objectId ); MetadataProfilePeer::setUseCriteriaFilter ( true ); return $object; } return null; } /** * @param array $fields * @return string */ private static function getDateFormatRegex(&$fields = null) { $replace = array( '%Y' => '([1-2][0-9]{3})', '%m' => '([0-1][0-9])', '%d' => '([0-3][0-9])', '%H' => '([0-2][0-9])', '%i' => '([0-5][0-9])', '%s' => '([0-5][0-9])', // '%T' => '([A-Z]{3})', ); $fields = array(); $arr = null; // if(!preg_match_all('/%([YmdTHis])/', self::BULK_UPLOAD_DATE_FORMAT, $arr)) if(!preg_match_all('/%([YmdHis])/', self::BULK_UPLOAD_DATE_FORMAT, $arr)) return false; $fields = $arr[1]; return '/' . str_replace(array_keys($replace), $replace, self::BULK_UPLOAD_DATE_FORMAT) . '/'; } /** * @param string $str * @return int */ private static function parseFormatedDate($str) { KalturaLog::debug("parseFormatedDate($str)"); if(function_exists('strptime')) { $ret = strptime($str, self::BULK_UPLOAD_DATE_FORMAT); if($ret) { KalturaLog::debug("Formated Date [$ret] " . date('Y-m-d\TH:i:s', $ret)); return $ret; } } $fields = null; $regex = self::getDateFormatRegex($fields); $values = null; if(!preg_match($regex, $str, $values)) return null; $hour = 0; $minute = 0; $second = 0; $month = 0; $day = 0; $year = 0; $is_dst = 0; foreach($fields as $index => $field) { $value = $values[$index + 1]; switch($field) { case 'Y': $year = intval($value); break; case 'm': $month = intval($value); break; case 'd': $day = intval($value); break; case 'H': $hour = intval($value); break; case 'i': $minute = intval($value); break; case 's': $second = intval($value); break; // case 'T': // $date = date_parse($value); // $hour -= ($date['zone'] / 60); // break; } } KalturaLog::debug("gmmktime($hour, $minute, $second, $month, $day, $year)"); $ret = gmmktime($hour, $minute, $second, $month, $day, $year); if($ret) { KalturaLog::debug("Formated Date [$ret] " . date('Y-m-d\TH:i:s', $ret)); return $ret; } KalturaLog::debug("Formated Date [null]"); return null; } /** * @param string $entryId the new created entry * @param array $data key => value pairs */ public static function handleBulkUploadData($entryId, array $data) { KalturaLog::debug("Handle metadata bulk upload data:\n" . print_r($data, true)); if(!isset($data[self::BULK_UPLOAD_COLUMN_PROFILE_ID])) return; $metadataProfileId = $data[self::BULK_UPLOAD_COLUMN_PROFILE_ID]; $xmlData = null; $entry = entryPeer::retrieveByPK($entryId); if(!$entry) return; $metadataProfile = MetadataProfilePeer::retrieveById($metadataProfileId); if(!$metadataProfile) { KalturaLog::info("Metadata profile [$metadataProfileId] not found"); return; } if(isset($data[self::BULK_UPLOAD_COLUMN_URL])) { try{ $xmlData = file_get_contents($data[self::BULK_UPLOAD_COLUMN_URL]); KalturaLog::debug("Metadata downloaded [" . $data[self::BULK_UPLOAD_COLUMN_URL] . "]"); } catch(Exception $e) { KalturaLog::err("Download metadata[" . $data[self::BULK_UPLOAD_COLUMN_URL] . "] error: " . $e->getMessage()); $xmlData = null; } } elseif(isset($data[self::BULK_UPLOAD_COLUMN_XML])) { $xmlData = $data[self::BULK_UPLOAD_COLUMN_XML]; } else { $metadataProfileFields = array(); MetadataProfileFieldPeer::setUseCriteriaFilter(false); $tmpMetadataProfileFields = MetadataProfileFieldPeer::retrieveByMetadataProfileId($metadataProfileId); MetadataProfileFieldPeer::setUseCriteriaFilter(true); foreach($tmpMetadataProfileFields as $metadataProfileField) $metadataProfileFields[$metadataProfileField->getKey()] = $metadataProfileField; KalturaLog::debug("Found fields [" . count($metadataProfileFields) . "] for metadata profile [$metadataProfileId]"); $xml = new DOMDocument(); $dataFound = false; foreach($data as $key => $value) { if(!$value || !strlen($value)) continue; if(!preg_match('/^' . self::BULK_UPLOAD_COLUMN_FIELD_PREFIX . '(.+)$/', $key, $matches)) continue; $key = $matches[1]; if(!isset($metadataProfileFields[$key])) { KalturaLog::debug("No field found for key[$key]"); continue; } $metadataProfileField = $metadataProfileFields[$key]; KalturaLog::debug("Found field [" . $metadataProfileField->getXpath() . "] for value [$value]"); if($metadataProfileField->getType() == MetadataSearchFilter::KMC_FIELD_TYPE_DATE && !is_numeric($value)) { $value = self::parseFormatedDate($value); if(!$value || !strlen($value)) continue; } $fieldValues = explode(self::BULK_UPLOAD_MULTI_VALUES_DELIMITER, $value); foreach($fieldValues as $fieldValue) self::addXpath($xml, $metadataProfileField->getXpath(), $fieldValue); $dataFound = true; } if($dataFound) { $xmlData = $xml->saveXML($xml->firstChild); $xmlData = trim($xmlData, " \n\r\t"); } } if(!$xmlData) return; $dbMetadata = new Metadata(); $dbMetadata->setPartnerId($entry->getPartnerId()); $dbMetadata->setMetadataProfileId($metadataProfileId); $dbMetadata->setMetadataProfileVersion($metadataProfile->getVersion()); $dbMetadata->setObjectType(Metadata::TYPE_ENTRY); $dbMetadata->setObjectId($entryId); $dbMetadata->setStatus(Metadata::STATUS_INVALID); $dbMetadata->save(); KalturaLog::debug("Metadata [" . $dbMetadata->getId() . "] saved [$xmlData]"); $key = $dbMetadata->getSyncKey(Metadata::FILE_SYNC_METADATA_DATA); kFileSyncUtils::file_put_contents($key, $xmlData); $errorMessage = ''; $status = kMetadataManager::validateMetadata($dbMetadata, $errorMessage); if($status == Metadata::STATUS_VALID) { kMetadataManager::updateSearchIndex($dbMetadata); } else { $bulkUploadResult = BulkUploadResultPeer::retrieveByEntryId($entryId, $entry->getBulkUploadId()); if($bulkUploadResult) { $msg = $bulkUploadResult->getDescription(); if($msg) $msg .= "\n"; $msg .= $errorMessage; $bulkUploadResult->setDescription($msg); $bulkUploadResult->save(); } } } protected static function addXpath(DOMDocument &$xml, $xPath, $value) { KalturaLog::debug("add value [$value] to xPath [$xPath]"); $xPaths = explode('/', $xPath); $currentNode = $xml; $currentXPath = ''; foreach($xPaths as $index => $xPath) { if(!strlen($xPath)) { KalturaLog::debug("xPath [/] already exists"); continue; } $currentXPath .= "/$xPath"; $domXPath = new DOMXPath($xml); $nodeList = $domXPath->query($currentXPath); if($nodeList && $nodeList->length) { $currentNode = $nodeList->item(0); KalturaLog::debug("xPath [$xPath] already exists"); continue; } if(!preg_match('/\*\[\s*local-name\(\)\s*=\s*\'([^\']+)\'\s*\]/', $xPath, $matches)) { KalturaLog::err("Xpath [$xPath] doesn't match"); return false; } $nodeName = $matches[1]; if($index + 1 == count($xPaths)) { KalturaLog::debug("Creating node [$nodeName] xPath [$xPath] with value [$value]"); $valueNode = $xml->createElement($nodeName, $value); } else { KalturaLog::debug("Creating node [$nodeName] xPath [$xPath]"); $valueNode = $xml->createElement($nodeName); } KalturaLog::debug("Appending node [$nodeName] to current node [$currentNode->localName]"); $currentNode->appendChild($valueNode); $currentNode = $valueNode; } } // /** // * @return array<KalturaAdminConsolePlugin> // */ // public static function getAdminConsolePages() // { // $metadata = new MetadataProfilesAction('Metadata', 'metadata'); // $metadataProfiles = new MetadataProfilesAction('Profiles Management', 'profiles', 'Metadata'); // $metadataObjects = new MetadataObjectsAction('Objects Management', 'objects', 'Metadata'); // return array($metadata, $metadataProfiles, $metadataObjects); // } }
MimocomMedia/kaltura
package/app/app/plugins/metadata/MetadataPlugin.php
PHP
agpl-3.0
10,744
import React from 'react'; import PropTypes from 'prop-types'; import ManaUsageGraph from './ManaUsageGraph'; class HealingDoneGraph extends React.PureComponent { static propTypes = { start: PropTypes.number.isRequired, end: PropTypes.number.isRequired, offset: PropTypes.number.isRequired, healingBySecond: PropTypes.object.isRequired, manaUpdates: PropTypes.array.isRequired, }; groupHealingBySeconds(healingBySecond, interval) { return Object.keys(healingBySecond) .reduce((obj, second) => { const healing = healingBySecond[second]; const index = Math.floor(second / interval); if (obj[index]) { obj[index] = obj[index].add(healing.regular, healing.absorbed, healing.overheal); } else { obj[index] = healing; } return obj; }, {}); } render() { const { start, end, offset, healingBySecond, manaUpdates } = this.props; // TODO: move this to vega-lite window transform // e.g. { window: [{op: 'mean', field: 'hps', as: 'hps'}], frame: [-2, 2] } const interval = 5; const healingPerFrame = this.groupHealingBySeconds(healingBySecond, interval); let max = 0; Object.keys(healingPerFrame) .map(k => healingPerFrame[k]) .forEach((healingDone) => { const current = healingDone.effective; if (current > max) { max = current; } }); max /= interval; const manaUsagePerFrame = { 0: 0, }; const manaLevelPerFrame = { 0: 1, }; manaUpdates.forEach((item) => { const frame = Math.floor((item.timestamp - start) / 1000 / interval); manaUsagePerFrame[frame] = (manaUsagePerFrame[frame] || 0) + item.used / item.max; manaLevelPerFrame[frame] = item.current / item.max; // use the lowest value of the frame; likely to be more accurate }); const fightDurationSec = Math.ceil((end - start) / 1000); const labels = []; for (let i = 0; i <= fightDurationSec / interval; i += 1) { labels.push(Math.ceil(offset/1000) + i * interval); healingPerFrame[i] = healingPerFrame[i] !== undefined ? healingPerFrame[i].effective : 0; manaUsagePerFrame[i] = manaUsagePerFrame[i] !== undefined ? manaUsagePerFrame[i] : 0; manaLevelPerFrame[i] = manaLevelPerFrame[i] !== undefined ? manaLevelPerFrame[i] : null; } let lastKnown = null; const mana = Object.values(manaLevelPerFrame).map((value, i) => { if (value !== null) { lastKnown = value; } return { x: labels[i], y: lastKnown * max, }; }); const healing = Object.values(healingPerFrame).map((value, i) => ({ x: labels[i], y: value / interval })); const manaUsed = Object.values(manaUsagePerFrame).map((value, i) => ({ x: labels[i], y: value * max })); return ( <div className="graph-container" style={{ marginBottom: 20 }}> <ManaUsageGraph mana={mana} healing={healing} manaUsed={manaUsed} /> </div> ); } } export default HealingDoneGraph;
yajinni/WoWAnalyzer
src/parser/shared/modules/resources/mana/ManaUsageChartComponent.js
JavaScript
agpl-3.0
3,101
<!doctype html> <html lang="en" class="no-js"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <link rel="shortcut icon" href="../../../../assets/images/dasch-favicon.ico"> <meta name="generator" content="mkdocs-1.1.2, mkdocs-material-6.2.8"> <title>API v2 Design Overview - Knora Documentation</title> <link rel="stylesheet" href="../../../../assets/stylesheets/main.cb6bc1d0.min.css"> <link rel="stylesheet" href="../../../../assets/stylesheets/palette.39b8e14a.min.css"> <meta name="theme-color" content="#7e56c2"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700%7CRoboto+Mono&display=fallback"> <style>body,input{font-family:"Roboto",-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"Roboto Mono",SFMono-Regular,Consolas,Menlo,monospace}</style> <link rel="stylesheet" href="../../../../assets/style/theme.css"> </head> <body dir="ltr" data-md-color-scheme="" data-md-color-primary="deep-purple" data-md-color-accent="deep-purple"> <input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off"> <input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off"> <label class="md-overlay" for="__drawer"></label> <div data-md-component="skip"> <a href="#api-v2-design-overview" class="md-skip"> Skip to content </a> </div> <div data-md-component="announce"> </div> <header class="md-header" data-md-component="header"> <nav class="md-header-nav md-grid" aria-label="Header"> <a href="../../../.." title="Knora Documentation" class="md-header-nav__button md-logo" aria-label="Knora Documentation"> <img src="../../../../assets/images/dasch-icon-white.svg" alt="logo"> </a> <label class="md-header-nav__button md-icon" for="__drawer"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2z"/></svg> </label> <div class="md-header-nav__title" data-md-component="header-title"> <div class="md-header-nav__ellipsis"> <div class="md-header-nav__topic"> <span class="md-ellipsis"> Knora Documentation </span> </div> <div class="md-header-nav__topic"> <span class="md-ellipsis"> API v2 Design Overview </span> </div> </div> </div> <label class="md-header-nav__button md-icon" for="__search"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg> </label> <div class="md-search" data-md-component="search" role="dialog"> <label class="md-search__overlay" for="__search"></label> <div class="md-search__inner" role="search"> <form class="md-search__form" name="search"> <input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" data-md-state="active" required> <label class="md-search__icon md-icon" for="__search"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg> </label> <button type="reset" class="md-search__icon md-icon" aria-label="Clear" data-md-component="search-reset" tabindex="-1"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg> </button> </form> <div class="md-search__output"> <div class="md-search__scrollwrap" data-md-scrollfix> <div class="md-search-result" data-md-component="search-result"> <div class="md-search-result__meta"> Initializing search </div> <ol class="md-search-result__list"></ol> </div> </div> </div> </div> </div> </nav> </header> <div class="md-container" data-md-component="container"> <nav class="md-tabs" aria-label="Tabs" data-md-component="tabs"> <div class="md-tabs__inner md-grid"> <ul class="md-tabs__list"> <li class="md-tabs__item"> <a href="../../../.." class="md-tabs__link"> Home </a> </li> <li class="md-tabs__item"> <a href="../../../../01-introduction/" class="md-tabs__link"> Introduction </a> </li> <li class="md-tabs__item"> <a href="../../../../02-knora-ontologies/" class="md-tabs__link"> Knora Ontologies </a> </li> <li class="md-tabs__item"> <a href="../../../../03-apis/" class="md-tabs__link"> APIs </a> </li> <li class="md-tabs__item"> <a href="../../../../04-publishing-deployment/" class="md-tabs__link"> Publishing and Deployment </a> </li> <li class="md-tabs__item"> <a href="../../principles/" class="md-tabs__link md-tabs__link--active"> Knora Internals </a> </li> <li class="md-tabs__item"> <a href="../../../../06-salsah/index.md" class="md-tabs__link"> Salsah </a> </li> <li class="md-tabs__item"> <a href="../../../../07-sipi/" class="md-tabs__link"> SIPI </a> </li> <li class="md-tabs__item"> <a href="../../../../08-lucene/" class="md-tabs__link"> Lucene </a> </li> <li class="md-tabs__item"> <a href="../../../../faq/" class="md-tabs__link"> Frequently Asked Questions </a> </li> <li class="md-tabs__item"> <a href="../../../../00-release-notes/" class="md-tabs__link"> Release Notes </a> </li> </ul> </div> </nav> <main class="md-main" data-md-component="main"> <div class="md-main__inner md-grid"> <div class="md-sidebar md-sidebar--primary" data-md-component="navigation" > <div class="md-sidebar__scrollwrap"> <div class="md-sidebar__inner"> <nav class="md-nav md-nav--primary md-nav--lifted" aria-label="Navigation" data-md-level="0"> <label class="md-nav__title" for="__drawer"> <a href="../../../.." title="Knora Documentation" class="md-nav__button md-logo" aria-label="Knora Documentation"> <img src="../../../../assets/images/dasch-icon-white.svg" alt="logo"> </a> Knora Documentation </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../../.." class="md-nav__link"> Home </a> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-2" type="checkbox" id="nav-2" > <label class="md-nav__link" for="nav-2"> Introduction <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="Introduction" data-md-level="1"> <label class="md-nav__title" for="nav-2"> <span class="md-nav__icon md-icon"></span> Introduction </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../../../01-introduction/" class="md-nav__link"> Index </a> </li> <li class="md-nav__item"> <a href="../../../../01-introduction/what-is-knora/" class="md-nav__link"> What is Knora? </a> </li> <li class="md-nav__item"> <a href="../../../../01-introduction/data-formats/" class="md-nav__link"> Data Formats in Knora </a> </li> <li class="md-nav__item"> <a href="../../../../01-introduction/standoff-rdf/" class="md-nav__link"> Standoff/RDF Text Markup </a> </li> <li class="md-nav__item"> <a href="../../../../01-introduction/example-project/" class="md-nav__link"> An Example Project </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-3" type="checkbox" id="nav-3" > <label class="md-nav__link" for="nav-3"> Knora Ontologies <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="Knora Ontologies" data-md-level="1"> <label class="md-nav__title" for="nav-3"> <span class="md-nav__icon md-icon"></span> Knora Ontologies </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../../../02-knora-ontologies/" class="md-nav__link"> Index </a> </li> <li class="md-nav__item"> <a href="../../../../02-knora-ontologies/introduction/" class="md-nav__link"> Introduction </a> </li> <li class="md-nav__item"> <a href="../../../../02-knora-ontologies/knora-base/" class="md-nav__link"> The Knora Base Ontology </a> </li> <li class="md-nav__item"> <a href="../../../../02-knora-ontologies/salsah-gui/" class="md-nav__link"> The SALSAH GUI Ontology </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-4" type="checkbox" id="nav-4" > <label class="md-nav__link" for="nav-4"> APIs <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="APIs" data-md-level="1"> <label class="md-nav__title" for="nav-4"> <span class="md-nav__icon md-icon"></span> APIs </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-4-1" type="checkbox" id="nav-4-1" > <label class="md-nav__link" for="nav-4-1"> The Knora APIs <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="The Knora APIs" data-md-level="2"> <label class="md-nav__title" for="nav-4-1"> <span class="md-nav__icon md-icon"></span> The Knora APIs </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../../../03-apis/" class="md-nav__link"> Index </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/feature-toggles/" class="md-nav__link"> Feature Toggles </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-4-2" type="checkbox" id="nav-4-2" > <label class="md-nav__link" for="nav-4-2"> API V1 <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="API V1" data-md-level="2"> <label class="md-nav__title" for="nav-4-2"> <span class="md-nav__icon md-icon"></span> API V1 </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../../../03-apis/api-v1/" class="md-nav__link"> Index </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v1/introduction/" class="md-nav__link"> Introduction </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v1/authentication/" class="md-nav__link"> Authentication </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v1/reading-and-searching-resources/" class="md-nav__link"> Reading and Searching Resources </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v1/xml-to-standoff-mapping/" class="md-nav__link"> XML to Standoff Mapping </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v1/adding-resources/" class="md-nav__link"> Adding Resources </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v1/reading-and-searching-resources/" class="md-nav__link"> Reading and Searching Resources </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v1/reading-values/" class="md-nav__link"> Reading Values </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v1/adding-values/" class="md-nav__link"> Adding Values </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v1/changing-values/" class="md-nav__link"> Changing Values </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v1/delete-resources-and-values/" class="md-nav__link"> Deleting Resources and Values </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-4-3" type="checkbox" id="nav-4-3" > <label class="md-nav__link" for="nav-4-3"> API V2 <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="API V2" data-md-level="2"> <label class="md-nav__title" for="nav-4-3"> <span class="md-nav__icon md-icon"></span> API V2 </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../../../03-apis/api-v2/" class="md-nav__link"> Index </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v2/introduction/" class="md-nav__link"> Introduction </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v2/authentication/" class="md-nav__link"> Authentication </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v2/knora-iris/" class="md-nav__link"> Knora IRIs </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v2/metadata/" class="md-nav__link"> Metadata </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v2/reading-and-searching-resources/" class="md-nav__link"> Reading and Searching Resources </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v2/reading-user-permissions/" class="md-nav__link"> Reading the User's Permissions on Resources and Values </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v2/getting-lists/" class="md-nav__link"> Getting Lists </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v2/xml-to-standoff-mapping/" class="md-nav__link"> XML to Standoff Mapping </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v2/query-language/" class="md-nav__link"> Gravsearch - Virtual Graph Search </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v2/editing-resources/" class="md-nav__link"> Editing Resources </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v2/editing-values/" class="md-nav__link"> Editing Values </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v2/ontology-information/" class="md-nav__link"> Querying, Creating, and Updating Ontologies </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v2/tei-xml/" class="md-nav__link"> TEI/XML </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-v2/permalinks/" class="md-nav__link"> Permalinks </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-4-4" type="checkbox" id="nav-4-4" > <label class="md-nav__link" for="nav-4-4"> Admin API <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="Admin API" data-md-level="2"> <label class="md-nav__title" for="nav-4-4"> <span class="md-nav__icon md-icon"></span> Admin API </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../../../03-apis/api-admin/" class="md-nav__link"> Index </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-admin/introduction/" class="md-nav__link"> Introduction </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-admin/overview/" class="md-nav__link"> Overview </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-admin/users/" class="md-nav__link"> Users Endpoint </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-admin/projects/" class="md-nav__link"> Projects Endpoint </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-admin/groups/" class="md-nav__link"> Groups Endpoint </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-admin/lists/" class="md-nav__link"> Lists Endpoint </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-admin/lists_new-list-admin-routes_v1/" class="md-nav__link"> New Lists Endpoint </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-admin/permissions/" class="md-nav__link"> Permissions Endpoint </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-admin/stores/" class="md-nav__link"> Stores Endpoint </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-4-5" type="checkbox" id="nav-4-5" > <label class="md-nav__link" for="nav-4-5"> Util API <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="Util API" data-md-level="2"> <label class="md-nav__title" for="nav-4-5"> <span class="md-nav__icon md-icon"></span> Util API </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../../../03-apis/api-util/" class="md-nav__link"> Index </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-util/health/" class="md-nav__link"> Health </a> </li> <li class="md-nav__item"> <a href="../../../../03-apis/api-util/version/" class="md-nav__link"> Version </a> </li> </ul> </nav> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-5" type="checkbox" id="nav-5" > <label class="md-nav__link" for="nav-5"> Publishing and Deployment <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="Publishing and Deployment" data-md-level="1"> <label class="md-nav__title" for="nav-5"> <span class="md-nav__icon md-icon"></span> Publishing and Deployment </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../../../04-publishing-deployment/" class="md-nav__link"> Index </a> </li> <li class="md-nav__item"> <a href="../../../../04-publishing-deployment/publishing/" class="md-nav__link"> Publishing </a> </li> <li class="md-nav__item"> <a href="../../../../04-publishing-deployment/getting-started/" class="md-nav__link"> Getting Started with Knora </a> </li> <li class="md-nav__item"> <a href="../../../../04-publishing-deployment/configuration/" class="md-nav__link"> Configuration </a> </li> <li class="md-nav__item"> <a href="../../../../04-publishing-deployment/updates/" class="md-nav__link"> Updating Repositories when Upgrading Knora </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--active md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-6" type="checkbox" id="nav-6" checked> <label class="md-nav__link" for="nav-6"> Knora Internals <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="Knora Internals" data-md-level="1"> <label class="md-nav__title" for="nav-6"> <span class="md-nav__icon md-icon"></span> Knora Internals </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item md-nav__item--active md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-6-1" type="checkbox" id="nav-6-1" checked> <label class="md-nav__link" for="nav-6-1"> Design <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="Design" data-md-level="2"> <label class="md-nav__title" for="nav-6-1"> <span class="md-nav__icon md-icon"></span> Design </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-6-1-1" type="checkbox" id="nav-6-1-1" > <label class="md-nav__link" for="nav-6-1-1"> Knora Design Principles <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="Knora Design Principles" data-md-level="3"> <label class="md-nav__title" for="nav-6-1-1"> <span class="md-nav__icon md-icon"></span> Knora Design Principles </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../principles/" class="md-nav__link"> Index </a> </li> <li class="md-nav__item"> <a href="../../principles/design-overview/" class="md-nav__link"> Design Overview </a> </li> <li class="md-nav__item"> <a href="../../principles/futures-with-akka/" class="md-nav__link"> Futures with Akka </a> </li> <li class="md-nav__item"> <a href="../../principles/http-module/" class="md-nav__link"> HTTP Module </a> </li> <li class="md-nav__item"> <a href="../../principles/store-module/" class="md-nav__link"> Store Module </a> </li> <li class="md-nav__item"> <a href="../../principles/triplestore-updates/" class="md-nav__link"> Triplestore Updates </a> </li> <li class="md-nav__item"> <a href="../../principles/consistency-checking/" class="md-nav__link"> Consistency Checking </a> </li> <li class="md-nav__item"> <a href="../../principles/authentication/" class="md-nav__link"> Authentication </a> </li> <li class="md-nav__item"> <a href="../../principles/feature-toggles/" class="md-nav__link"> Feature Toggles </a> </li> <li class="md-nav__item"> <a href="../../principles/rdf-api/" class="md-nav__link"> RDF Processing API </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-6-1-2" type="checkbox" id="nav-6-1-2" > <label class="md-nav__link" for="nav-6-1-2"> API V1 Design <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="API V1 Design" data-md-level="3"> <label class="md-nav__title" for="nav-6-1-2"> <span class="md-nav__icon md-icon"></span> API V1 Design </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../api-v1/" class="md-nav__link"> Index </a> </li> <li class="md-nav__item"> <a href="../../api-v1/how-to-add-a-route/" class="md-nav__link"> How to Add an API v1 Route </a> </li> <li class="md-nav__item"> <a href="../../api-v1/json/" class="md-nav__link"> JSON in API v1 </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--active md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-6-1-3" type="checkbox" id="nav-6-1-3" checked> <label class="md-nav__link" for="nav-6-1-3"> API V2 Design <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="API V2 Design" data-md-level="3"> <label class="md-nav__title" for="nav-6-1-3"> <span class="md-nav__icon md-icon"></span> API V2 Design </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../" class="md-nav__link"> Index </a> </li> <li class="md-nav__item md-nav__item--active"> <input class="md-nav__toggle md-toggle" data-md-toggle="toc" type="checkbox" id="__toc"> <label class="md-nav__link md-nav__link--active" for="__toc"> API v2 Design Overview <span class="md-nav__icon md-icon"></span> </label> <a href="./" class="md-nav__link md-nav__link--active"> API v2 Design Overview </a> <nav class="md-nav md-nav--secondary" aria-label="Table of contents"> <label class="md-nav__title" for="__toc"> <span class="md-nav__icon md-icon"></span> Table of contents </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="#general-principles" class="md-nav__link"> General Principles </a> </li> <li class="md-nav__item"> <a href="#api-schemas" class="md-nav__link"> API Schemas </a> </li> <li class="md-nav__item"> <a href="#implementation" class="md-nav__link"> Implementation </a> <nav class="md-nav" aria-label="Implementation"> <ul class="md-nav__list"> <li class="md-nav__item"> <a href="#json-ld-parsing-and-formatting" class="md-nav__link"> JSON-LD Parsing and Formatting </a> </li> <li class="md-nav__item"> <a href="#generation-of-other-rdf-formats" class="md-nav__link"> Generation of Other RDF Formats </a> </li> <li class="md-nav__item"> <a href="#operation-wrappers" class="md-nav__link"> Operation Wrappers </a> </li> <li class="md-nav__item"> <a href="#smart-iris" class="md-nav__link"> Smart IRIs </a> <nav class="md-nav" aria-label="Smart IRIs"> <ul class="md-nav__list"> <li class="md-nav__item"> <a href="#usage" class="md-nav__link"> Usage </a> </li> <li class="md-nav__item"> <a href="#implementation_1" class="md-nav__link"> Implementation </a> </li> </ul> </nav> </li> </ul> </nav> </li> </ul> </nav> </li> <li class="md-nav__item"> <a href="../ontology-schemas/" class="md-nav__link"> Ontology Schemas </a> </li> <li class="md-nav__item"> <a href="../smart-iris/" class="md-nav__link"> Smart IRIs </a> </li> <li class="md-nav__item"> <a href="../content-wrappers/" class="md-nav__link"> Content Wrappers </a> </li> <li class="md-nav__item"> <a href="../how-to-add-a-route/" class="md-nav__link"> How to Add an API v2 Route </a> </li> <li class="md-nav__item"> <a href="../json-ld/" class="md-nav__link"> JSON-LD Parsing and Formatting </a> </li> <li class="md-nav__item"> <a href="../ontology-management/" class="md-nav__link"> Ontology Management </a> </li> <li class="md-nav__item"> <a href="../sipi/" class="md-nav__link"> Knora and Sipi </a> </li> <li class="md-nav__item"> <a href="../gravsearch/" class="md-nav__link"> Gravsearch Design </a> </li> <li class="md-nav__item"> <a href="../standoff/" class="md-nav__link"> Standoff Markup </a> </li> <li class="md-nav__item"> <a href="../ark/" class="md-nav__link"> Archival Resource Key (ARK) Identifiers </a> </li> <li class="md-nav__item"> <a href="../query-design/" class="md-nav__link"> SPARQL Query Design </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-6-1-4" type="checkbox" id="nav-6-1-4" > <label class="md-nav__link" for="nav-6-1-4"> Admin API Design <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="Admin API Design" data-md-level="3"> <label class="md-nav__title" for="nav-6-1-4"> <span class="md-nav__icon md-icon"></span> Admin API Design </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../api-admin/" class="md-nav__link"> Index </a> </li> <li class="md-nav__item"> <a href="../../api-admin/administration/" class="md-nav__link"> Administration </a> </li> </ul> </nav> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-6-2" type="checkbox" id="nav-6-2" > <label class="md-nav__link" for="nav-6-2"> Development <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="Development" data-md-level="2"> <label class="md-nav__title" for="nav-6-2"> <span class="md-nav__icon md-icon"></span> Development </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../../development/" class="md-nav__link"> Index </a> </li> <li class="md-nav__item"> <a href="../../../development/overview/" class="md-nav__link"> Overview </a> </li> <li class="md-nav__item"> <a href="../../../development/building-and-running/" class="md-nav__link"> Build and Running </a> </li> <li class="md-nav__item"> <a href="../../../development/intellij-config/" class="md-nav__link"> Setup IntelliJ for development of Knora </a> </li> <li class="md-nav__item"> <a href="../../../development/bazel/" class="md-nav__link"> Bazel Notes </a> </li> <li class="md-nav__item"> <a href="../../../development/testing/" class="md-nav__link"> Testing </a> </li> <li class="md-nav__item"> <a href="../../../development/docker-cheat-sheet/" class="md-nav__link"> Docker Cheat Sheet </a> </li> <li class="md-nav__item"> <a href="../../../development/monitoring/" class="md-nav__link"> Monitoring Knora </a> </li> <li class="md-nav__item"> <a href="../../../development/profiling/" class="md-nav__link"> Profiling Knora </a> </li> <li class="md-nav__item"> <a href="../../../development/docker-compose/" class="md-nav__link"> Starting the Knora-Stack inside Docker Container </a> </li> <li class="md-nav__item"> <a href="../../../development/updating-repositories/" class="md-nav__link"> Updating Repositories </a> </li> <li class="md-nav__item"> <a href="../../../development/generating-client-test-data/" class="md-nav__link"> Generating Client Test Data </a> </li> <li class="md-nav__item"> <a href="../../../development/graphdb/" class="md-nav__link"> Starting GraphDB </a> </li> <li class="md-nav__item"> <a href="../../../development/third-party/" class="md-nav__link"> Third-Party Dependencies </a> </li> </ul> </nav> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-7" type="checkbox" id="nav-7" > <label class="md-nav__link" for="nav-7"> Salsah <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="Salsah" data-md-level="1"> <label class="md-nav__title" for="nav-7"> <span class="md-nav__icon md-icon"></span> Salsah </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../../../06-salsah/index.md" class="md-nav__link"> Index </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-8" type="checkbox" id="nav-8" > <label class="md-nav__link" for="nav-8"> SIPI <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="SIPI" data-md-level="1"> <label class="md-nav__title" for="nav-8"> <span class="md-nav__icon md-icon"></span> SIPI </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../../../07-sipi/" class="md-nav__link"> Index </a> </li> <li class="md-nav__item"> <a href="../../../../07-sipi/setup-sipi-for-knora/" class="md-nav__link"> Setting Up Sipi for Knora </a> </li> <li class="md-nav__item"> <a href="../../../../07-sipi/sipi-and-knora/" class="md-nav__link"> Interaction between Sipi and Knora </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-9" type="checkbox" id="nav-9" > <label class="md-nav__link" for="nav-9"> Lucene <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="Lucene" data-md-level="1"> <label class="md-nav__title" for="nav-9"> <span class="md-nav__icon md-icon"></span> Lucene </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../../../08-lucene/" class="md-nav__link"> Overview </a> </li> <li class="md-nav__item"> <a href="../../../../08-lucene/lucene-query-parser-syntax/" class="md-nav__link"> Lucene Query Parser Syntax </a> </li> </ul> </nav> </li> <li class="md-nav__item"> <a href="../../../../faq/" class="md-nav__link"> Frequently Asked Questions </a> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle" data-md-toggle="nav-11" type="checkbox" id="nav-11" > <label class="md-nav__link" for="nav-11"> Release Notes <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" aria-label="Release Notes" data-md-level="1"> <label class="md-nav__title" for="nav-11"> <span class="md-nav__icon md-icon"></span> Release Notes </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../../../00-release-notes/" class="md-nav__link"> Overview </a> </li> <li class="md-nav__item"> <a href="../../../../00-release-notes/migration/" class="md-nav__link"> Migration Notes </a> </li> <li class="md-nav__item"> <a href="../../../../00-release-notes/next/" class="md-nav__link"> Next Release </a> </li> <li class="md-nav__item"> <a href="../../../../00-release-notes/v1.1.0/" class="md-nav__link"> v1.1.0 </a> </li> <li class="md-nav__item"> <a href="../../../../00-release-notes/v1.2.0/" class="md-nav__link"> v1.2.0 </a> </li> <li class="md-nav__item"> <a href="../../../../00-release-notes/v1.3.0/" class="md-nav__link"> v1.3.0 </a> </li> <li class="md-nav__item"> <a href="../../../../00-release-notes/v1.4.0/" class="md-nav__link"> v1.4.0 </a> </li> <li class="md-nav__item"> <a href="../../../../00-release-notes/v1.5.0/" class="md-nav__link"> v1.5.0 </a> </li> <li class="md-nav__item"> <a href="../../../../00-release-notes/v1.6.0/" class="md-nav__link"> v1.6.0 </a> </li> <li class="md-nav__item"> <a href="../../../../00-release-notes/v1.7.0/" class="md-nav__link"> v1.7.0 </a> </li> <li class="md-nav__item"> <a href="../../../../00-release-notes/v2.x.x/" class="md-nav__link"> v2.x.x </a> </li> <li class="md-nav__item"> <a href="../../../../00-release-notes/v3.x.x/" class="md-nav__link"> v3.x.x </a> </li> <li class="md-nav__item"> <a href="../../../../00-release-notes/v4.x.x/" class="md-nav__link"> v4.x.x </a> </li> <li class="md-nav__item"> <a href="../../../../00-release-notes/v5.x.x/" class="md-nav__link"> v5.x.x </a> </li> <li class="md-nav__item"> <a href="../../../../00-release-notes/v6.x.x/" class="md-nav__link"> v6.x.x </a> </li> </ul> </nav> </li> </ul> </nav> </div> </div> </div> <div class="md-sidebar md-sidebar--secondary" data-md-component="toc" > <div class="md-sidebar__scrollwrap"> <div class="md-sidebar__inner"> <nav class="md-nav md-nav--secondary" aria-label="Table of contents"> <label class="md-nav__title" for="__toc"> <span class="md-nav__icon md-icon"></span> Table of contents </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="#general-principles" class="md-nav__link"> General Principles </a> </li> <li class="md-nav__item"> <a href="#api-schemas" class="md-nav__link"> API Schemas </a> </li> <li class="md-nav__item"> <a href="#implementation" class="md-nav__link"> Implementation </a> <nav class="md-nav" aria-label="Implementation"> <ul class="md-nav__list"> <li class="md-nav__item"> <a href="#json-ld-parsing-and-formatting" class="md-nav__link"> JSON-LD Parsing and Formatting </a> </li> <li class="md-nav__item"> <a href="#generation-of-other-rdf-formats" class="md-nav__link"> Generation of Other RDF Formats </a> </li> <li class="md-nav__item"> <a href="#operation-wrappers" class="md-nav__link"> Operation Wrappers </a> </li> <li class="md-nav__item"> <a href="#smart-iris" class="md-nav__link"> Smart IRIs </a> <nav class="md-nav" aria-label="Smart IRIs"> <ul class="md-nav__list"> <li class="md-nav__item"> <a href="#usage" class="md-nav__link"> Usage </a> </li> <li class="md-nav__item"> <a href="#implementation_1" class="md-nav__link"> Implementation </a> </li> </ul> </nav> </li> </ul> </nav> </li> </ul> </nav> </div> </div> </div> <div class="md-content"> <article class="md-content__inner md-typeset"> <!--- Copyright © 2015-2021 the contributors (see Contributors.md). This file is part of Knora. Knora is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Knora 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 Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with Knora. If not, see <http://www.gnu.org/licenses/>. --> <h1 id="api-v2-design-overview">API v2 Design Overview</h1> <h2 id="general-principles">General Principles</h2> <ul> <li>Knora API v2 requests and responses are RDF documents. Any API v2 response can be returned as <a href="https://json-ld.org/spec/latest/json-ld/">JSON-LD</a>, <a href="https://www.w3.org/TR/turtle/">Turtle</a>, or <a href="https://www.w3.org/TR/rdf-syntax-grammar/">RDF/XML</a>.</li> <li>Each class or property used in a request or response has a definition in an ontology, which Knora can serve.</li> <li>Response formats are reused for different requests whenever possible, to minimise the number of different response formats a client has to handle. For example, any request for one or more resources (such as a search result, or a request for one specific resource) returns a response in the same format.</li> <li>Response size is limited by design. Large amounts of data must be retrieved by requesting small pages of data, one after the other.</li> <li>Responses that provide data are distinct from responses that provide definitions (i.e. ontology entities). Data responses indicate which types are used, and the client can request information about these types separately.</li> </ul> <h2 id="api-schemas">API Schemas</h2> <p>The types used in the triplestore are not exposed directly in the API. Instead, they are mapped onto API 'schemas'. Two schemas are currently provided.</p> <ul> <li>A complex schema, which is suitable both for reading and for editing data. The complex schema represents values primarily as complex objects.</li> <li>A simple schema, which is suitable for reading data but not for editing it. The simple schema facilitates interoperability between Knora ontologies and non-Knora ontologies, since it represents values primarily as literals.</li> </ul> <p>Each schema has its own type IRIs, which are derived from the ones used in the triplestore. For details of these different IRI formats, see <a href="../../../../03-apis/api-v2/knora-iris/">Knora IRIs</a>.</p> <h2 id="implementation">Implementation</h2> <h3 id="json-ld-parsing-and-formatting">JSON-LD Parsing and Formatting</h3> <p>Each API response is represented by a class that extends <code>KnoraResponseV2</code>, which has a method <code>toJsonLDDocument</code> that specifies the target schema. It is currently up to each route to determine what the appropriate response schema should be. Some routes will support only one response schema. Others will allow the client to choose, and there will be one or more standard ways for the client to specify the desired response schema.</p> <p>A route calls <code>RouteUtilV2.runRdfRoute</code>, passing a request message and a response schema. When <code>RouteUtilV2</code> gets the response message from the responder, it calls <code>toJsonLDDocument</code> on it, specifying that schema. The response message returns a <code>JsonLDDocument</code>, which is a simple data structure that is then converted to Java objects and passed to the JSON-LD Java library for formatting. In general, <code>toJsonLDDocument</code> is implemented in two stages: first the object converts itself to the target schema, and then the resulting object is converted to a <code>JsonLDDocument</code>.</p> <p>A route that receives JSON-LD requests should use <code>JsonLDUtil.parseJsonLD</code> to convert each request to a <code>JsonLDDocument</code>.</p> <h3 id="generation-of-other-rdf-formats">Generation of Other RDF Formats</h3> <p><code>RouteUtilV2.runRdfRoute</code> implements <a href="https://tools.ietf.org/html/rfc7231#section-5.3.2">HTTP content negotiation</a>, and converts JSON-LD responses into <a href="https://www.w3.org/TR/turtle/">Turtle</a> or <a href="https://www.w3.org/TR/rdf-syntax-grammar/">RDF/XML</a> as appropriate.</p> <h3 id="operation-wrappers">Operation Wrappers</h3> <p>Whenever possible, the same data structures are used for input and output. Often more data is available in output than in input. For example, when a value is read from the triplestore, its IRI is available, but when it is being created, it does not yet have an IRI. In such cases, there is a class like <code>ValueContentV2</code>, which represents the data that is used both for input and for output. When a value is read, a <code>ValueContentV2</code> is wrapped in a <code>ReadValueV2</code>, which additionally contains the value's IRI. When a value is created, it is wrapped in a <code>CreateValueV2</code>, which has the resource IRI and the property IRI, but not the value IRI.</p> <p>A <code>Read*</code> wrapper can be wrapped in another <code>Read*</code> wrapper; for example, a <code>ReadResourceV2</code> contains <code>ReadValueV2</code> objects.</p> <p>Each <code>*Content*</code> class should extend <code>KnoraContentV2</code> and thus have a <code>toOntologySchema</code> method or converting itself between internal and external schemas, in either direction.</p> <p>Each <code>Read*</code> wrapper class should have a method for converting itself to JSON-LD in a particular external schema. If the <code>Read*</code> wrapper is a <code>KnoraResponseV2</code>, this method is <code>toJsonLDDocument</code>.</p> <h3 id="smart-iris">Smart IRIs</h3> <h4 id="usage">Usage</h4> <p>The <code>SmartIri</code> trait can be used to parse and validate IRIs, and in particular for converting Knora type IRIs between internal and external schemas. It validates each IRI it parses. To use it, import the following:</p> <pre><code class="language-scala">import org.knora.webapi.messages.{SmartIri, StringFormatter} import org.knora.webapi.messages.IriConversions._ </code></pre> <p>Ensure that an implicit instance of <code>StringFormatter</code> is in scope:</p> <pre><code class="language-scala">implicit val stringFormatter: StringFormatter = StringFormatter.getGeneralInstance </code></pre> <p>Then, if <code>iriStr</code> is a string representing an IRI, you can can convert it to a <code>SmartIri</code> like this:</p> <pre><code class="language-scala">val iri: SmartIri = iriStr.toSmartIri </code></pre> <p>If the IRI came from a request, use this method to throw a specific exception if the IRI is invalid:</p> <pre><code class="language-scala">val iri: SmartIri = iriStr.toSmartIriWithErr( () =&gt; throw BadRequestException(s&quot;Invalid IRI: $iriStr&quot;) ) </code></pre> <p>You can then use methods such as <code>SmartIri.isKnoraApiV2EntityIri</code> and <code>SmartIri.getProjectCode</code> to obtain information about the IRI. To convert it to another schema, call <code>SmartIri.toOntologySchema</code>. Converting a non-Knora IRI returns the same IRI.</p> <p>If the IRI represents a Knora internal value class such as <code>knora-base:TextValue</code>, converting it to the <code>ApiV2Simple</code> schema will return the corresponding simplified type, such as <code>xsd:string</code>. But this conversion is not performed in the other direction (external to internal), since this would require knowledge of the context in which the IRI is being used.</p> <p>The performance penalty for using a <code>SmartIri</code> instead of a string is very small. Instances are automatically cached once they are constructed. Parsing and caching a <code>SmartIri</code> instance takes about 10-20 µs, and retrieving a cached <code>SmartIri</code> takes about 1 µs.</p> <p>There is no advantage to using <code>SmartIri</code> for data IRIs, since they are not schema-specific (and are not cached). If a data IRI has been received from a client request, it is better just to validate it using <code>StringFormatter.validateAndEscapeIri</code>.</p> <h4 id="implementation_1">Implementation</h4> <p>The smart IRI implementation, <code>SmartIriImpl</code>, is nested in the <code>StringFormatter</code> class, because it uses Knora's hostname, which isn't available until the Akka ActorSystem has started. However, this means that the type of a <code>SmartIriImpl</code> instance is dependent on the instance of <code>StringFormatter</code> that constructed it. Therefore, instances of <code>SmartIriImpl</code> created by different instances of <code>StringFormatter</code> can't be compared directly.</p> <p>There are in fact two instances of <code>StringFormatter</code>:</p> <ul> <li>one returned by <code>StringFormatter.getGeneralInstance</code> which is available after Akka has started and has the API server's hostname (and can therefore provide <code>SmartIri</code> instances capable of parsing IRIs containing that hostname). This instance is used throughout the Knora API server.</li> <li>one returned by <code>StringFormatter.getInstanceForConstantOntologies</code>, which is available before Akka has started, and is used only by the hard-coded constant <code>knora-api</code> ontologies.</li> </ul> <p>This is the reason for the existence of the <code>SmartIri</code> trait, which is a top-level definition and has its own <code>equals</code> and <code>hashCode</code> methods. Instances of <code>SmartIri</code> can thus be compared (e.g. to use them as unique keys in collections), regardless of which instance of <code>StringFormatter</code> created them.</p> </article> </div> </div> </main> <footer class="md-footer"> <div class="md-footer-nav"> <nav class="md-footer-nav__inner md-grid" aria-label="Footer"> <a href="../" class="md-footer-nav__link md-footer-nav__link--prev" rel="prev"> <div class="md-footer-nav__button md-icon"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg> </div> <div class="md-footer-nav__title"> <div class="md-ellipsis"> <span class="md-footer-nav__direction"> Previous </span> Index </div> </div> </a> <a href="../ontology-schemas/" class="md-footer-nav__link md-footer-nav__link--next" rel="next"> <div class="md-footer-nav__title"> <div class="md-ellipsis"> <span class="md-footer-nav__direction"> Next </span> Ontology Schemas </div> </div> <div class="md-footer-nav__button md-icon"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 11v2h12l-5.5 5.5 1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5 16 11H4z"/></svg> </div> </a> </nav> </div> <div class="md-footer-meta md-typeset"> <div class="md-footer-meta__inner md-grid"> <div class="md-footer-copyright"> Made with <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener"> Material for MkDocs </a> </div> </div> </div> </footer> </div> <script src="../../../../assets/javascripts/vendor.18f0862e.min.js"></script> <script src="../../../../assets/javascripts/bundle.994580cf.min.js"></script><script id="__lang" type="application/json">{"clipboard.copy": "Copy to clipboard", "clipboard.copied": "Copied to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.placeholder": "Type to start searching", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.term.missing": "Missing"}</script> <script> app = initialize({ base: "../../../..", features: ['navigation.tabs'], search: Object.assign({ worker: "../../../../assets/javascripts/worker/search.9c0e82ba.min.js" }, typeof search !== "undefined" && search) }) </script> </body> </html>
dhlab-basel/Knora
05-internals/design/api-v2/overview/index.html
HTML
agpl-3.0
61,615
/* * Copyright (c) 2015 - 2016 Memorial Sloan-Kettering Cancer Center. * * 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. The software and documentation provided hereunder * is on an "as is" basis, and Memorial Sloan-Kettering Cancer Center has no * obligations to provide maintenance, support, updates, enhancements or * modifications. In no event shall Memorial Sloan-Kettering Cancer Center be * liable to any party for direct, indirect, special, incidental or * consequential damages, including lost profits, arising out of the use of this * software and its documentation, even if Memorial Sloan-Kettering Cancer * Center has been advised of the possibility of such damage. */ /* * This file is part of cBioPortal. * * cBioPortal is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License. * * 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 Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package org.mskcc.cbio.portal.util; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import org.cbioportal.persistence.GenePanelRepository; import org.cbioportal.model.GenePanel; import org.mskcc.cbio.portal.model.GeneticAlterationType; import org.mskcc.cbio.portal.model.GeneticProfile; /** * Genetic Profile Util Class. * */ public class GeneticProfileUtil { /** * Gets the GeneticProfile with the Specified GeneticProfile ID. * @param profileId GeneticProfile ID. * @param profileList List of Genetic Profiles. * @return GeneticProfile or null. */ public static GeneticProfile getProfile(String profileId, ArrayList<GeneticProfile> profileList) { for (GeneticProfile profile : profileList) { if (profile.getStableId().equals(profileId)) { return profile; } } return null; } /** * Returns true if Any of the Profiles Selected by the User Refer to mRNA Expression * outlier profiles. * * @param geneticProfileIdSet Set of Chosen Profiles IDs. * @param profileList List of Genetic Profiles. * @return true or false. */ public static boolean outlierExpressionSelected(HashSet<String> geneticProfileIdSet, ArrayList<GeneticProfile> profileList) { Iterator<String> geneticProfileIdIterator = geneticProfileIdSet.iterator(); while (geneticProfileIdIterator.hasNext()) { String geneticProfileId = geneticProfileIdIterator.next(); GeneticProfile geneticProfile = getProfile (geneticProfileId, profileList); if (geneticProfile != null && geneticProfile.getGeneticAlterationType() == GeneticAlterationType.MRNA_EXPRESSION) { String profileName = geneticProfile.getProfileName(); if (profileName != null) { if (profileName.toLowerCase().contains("outlier")) { return true; } } } } return false; } public static int getGenePanelId(String panelId) { GenePanelRepository genePanelRepository = SpringUtil.getGenePanelRepository(); GenePanel genePanel = genePanelRepository.getGenePanelByStableId(panelId).get(0); return genePanel.getInternalId(); } }
bihealth/cbioportal
core/src/main/java/org/mskcc/cbio/portal/util/GeneticProfileUtil.java
Java
agpl-3.0
3,897
odoo.define('web_editor.field_html_tests', function (require) { "use strict"; var ajax = require('web.ajax'); var FormView = require('web.FormView'); var testUtils = require('web.test_utils'); var weTestUtils = require('web_editor.test_utils'); var core = require('web.core'); var Wysiwyg = require('web_editor.wysiwyg'); var MediaDialog = require('wysiwyg.widgets.MediaDialog'); var _t = core._t; QUnit.module('web_editor', {}, function () { QUnit.module('field html', { beforeEach: function () { this.data = weTestUtils.wysiwygData({ 'note.note': { fields: { display_name: { string: "Displayed name", type: "char" }, header: { string: "Header", type: "html", required: true, }, body: { string: "Message", type: "html" }, }, records: [{ id: 1, display_name: "first record", header: "<p> &nbsp;&nbsp; <br> </p>", body: "<p>toto toto toto</p><p>tata</p>", }], }, 'mass.mailing': { fields: { display_name: { string: "Displayed name", type: "char" }, body_html: { string: "Message Body inline (to send)", type: "html" }, body_arch: { string: "Message Body for edition", type: "html" }, }, records: [{ id: 1, display_name: "first record", body_html: "<div class='field_body' style='background-color: red;'>yep</div>", body_arch: "<div class='field_body'>yep</div>", }], }, "ir.translation": { fields: { lang_code: {type: "char"}, value: {type: "char"}, res_id: {type: "integer"} }, records: [{ id: 99, res_id: 12, value: '', lang_code: 'en_US' }] }, }); testUtils.mock.patch(ajax, { loadAsset: function (xmlId) { if (xmlId === 'template.assets') { return Promise.resolve({ cssLibs: [], cssContents: ['body {background-color: red;}'] }); } if (xmlId === 'template.assets_all_style') { return Promise.resolve({ cssLibs: $('link[href]:not([type="image/x-icon"])').map(function () { return $(this).attr('href'); }).get(), cssContents: ['body {background-color: red;}'] }); } throw 'Wrong template'; }, }); }, afterEach: function () { testUtils.mock.unpatch(ajax); }, }, function () { QUnit.module('basic'); QUnit.test('simple rendering', async function (assert) { assert.expect(3); var form = await testUtils.createView({ View: FormView, model: 'note.note', data: this.data, arch: '<form>' + '<field name="body" widget="html" style="height: 100px"/>' + '</form>', res_id: 1, }); var $field = form.$('.oe_form_field[name="body"]'); assert.strictEqual($field.children('.o_readonly').html(), '<p>toto toto toto</p><p>tata</p>', "should have rendered a div with correct content in readonly"); assert.strictEqual($field.attr('style'), 'height: 100px', "should have applied the style correctly"); await testUtils.form.clickEdit(form); await testUtils.nextTick(); $field = form.$('.oe_form_field[name="body"]'); assert.strictEqual($field.find('.note-editable').html(), '<p>toto toto toto</p><p>tata</p>', "should have rendered the field correctly in edit"); form.destroy(); }); QUnit.test('check if required field is set', async function (assert) { assert.expect(1); var form = await testUtils.createView({ View: FormView, model: 'note.note', data: this.data, arch: '<form>' + '<field name="header" widget="html" style="height: 100px" />' + '</form>', res_id: 1, }); testUtils.mock.intercept(form, 'call_service', function (ev) { if (ev.data.service === 'notification') { assert.deepEqual(ev.data.args[0], { "className": undefined, "message": "<ul><li>Header</li></ul>", "sticky": undefined, "title": "Invalid fields:", "type": "danger" }); } }, true); await testUtils.form.clickEdit(form); await testUtils.nextTick(); await testUtils.dom.click(form.$('.o_form_button_save')); form.destroy(); }); QUnit.test('colorpicker', async function (assert) { assert.expect(6); var form = await testUtils.createView({ View: FormView, model: 'note.note', data: this.data, arch: '<form>' + '<field name="body" widget="html" style="height: 100px"/>' + '</form>', res_id: 1, }); // Summernote needs a RootWidget to set as parent of the ColorPaletteWidget. In the // tests, there is no RootWidget, so we set it here to the parent of the form view, which // can act as RootWidget, as it will honor rpc requests correctly (to the MockServer). const rootWidget = odoo.__DEBUG__.services['root.widget']; odoo.__DEBUG__.services['root.widget'] = form.getParent(); await testUtils.form.clickEdit(form); var $field = form.$('.oe_form_field[name="body"]'); // select the text var pText = $field.find('.note-editable p').first().contents()[0]; Wysiwyg.setRange(pText, 1, pText, 10); // text is selected var range = Wysiwyg.getRange($field[0]); assert.strictEqual(range.sc, pText, "should select the text"); async function openColorpicker(selector) { const $colorpicker = $field.find(selector); const openingProm = new Promise(resolve => { $colorpicker.one('shown.bs.dropdown', () => resolve()); }); await testUtils.dom.click($colorpicker.find('button:first')); return openingProm; } await openColorpicker('.note-toolbar .note-back-color-preview'); assert.ok($field.find('.note-back-color-preview').hasClass('show'), "should display the color picker"); await testUtils.dom.click($field.find('.note-toolbar .note-back-color-preview .o_we_color_btn[style="background-color:#00FFFF;"]')); assert.ok(!$field.find('.note-back-color-preview').hasClass('show'), "should close the color picker"); assert.strictEqual($field.find('.note-editable').html(), '<p>t<font style="background-color: rgb(0, 255, 255);">oto toto&nbsp;</font>toto</p><p>tata</p>', "should have rendered the field correctly in edit"); var fontContent = $field.find('.note-editable font').contents()[0]; var rangeControl = { sc: fontContent, so: 0, ec: fontContent, eo: fontContent.length, }; range = Wysiwyg.getRange($field[0]); assert.deepEqual(_.pick(range, 'sc', 'so', 'ec', 'eo'), rangeControl, "should select the text after color change"); // select the text pText = $field.find('.note-editable p').first().contents()[2]; Wysiwyg.setRange(fontContent, 5, pText, 2); // text is selected await openColorpicker('.note-toolbar .note-back-color-preview'); await testUtils.dom.click($field.find('.note-toolbar .note-back-color-preview .o_we_color_btn.bg-o-color-3')); assert.strictEqual($field.find('.note-editable').html(), '<p>t<font style="background-color: rgb(0, 255, 255);">oto t</font><font style="" class="bg-o-color-3">oto&nbsp;</font><font class="bg-o-color-3" style="">to</font>to</p><p>tata</p>', "should have rendered the field correctly in edit"); odoo.__DEBUG__.services['root.widget'] = rootWidget; form.destroy(); }); QUnit.test('media dialog: image', async function (assert) { assert.expect(1); var form = await testUtils.createView({ View: FormView, model: 'note.note', data: this.data, arch: '<form>' + '<field name="body" widget="html" style="height: 100px"/>' + '</form>', res_id: 1, mockRPC: function (route, args) { if (args.model === 'ir.attachment') { if (args.method === "generate_access_token") { return Promise.resolve(); } } if (route.indexOf('/web/image/123/transparent.png') === 0) { return Promise.resolve(); } if (route.indexOf('/web_unsplash/fetch_images') === 0) { return Promise.resolve(); } if (route.indexOf('/web_editor/media_library_search') === 0) { return Promise.resolve(); } return this._super(route, args); }, }); await testUtils.form.clickEdit(form); var $field = form.$('.oe_form_field[name="body"]'); // the dialog load some xml assets var defMediaDialog = testUtils.makeTestPromise(); testUtils.mock.patch(MediaDialog, { init: function () { this._super.apply(this, arguments); this.opened(defMediaDialog.resolve.bind(defMediaDialog)); } }); var pText = $field.find('.note-editable p').first().contents()[0]; Wysiwyg.setRange(pText, 1); await testUtils.dom.click($field.find('.note-toolbar .note-insert button:has(.fa-file-image-o)')); // load static xml file (dialog, media dialog, unsplash image widget) await defMediaDialog; await testUtils.dom.click($('.modal #editor-media-image .o_existing_attachment_cell:first').removeClass('d-none')); var $editable = form.$('.oe_form_field[name="body"] .note-editable'); assert.ok($editable.find('img')[0].dataset.src.includes('/web/image/123/transparent.png'), "should have the image in the dom"); testUtils.mock.unpatch(MediaDialog); form.destroy(); }); QUnit.test('media dialog: icon', async function (assert) { assert.expect(1); var form = await testUtils.createView({ View: FormView, model: 'note.note', data: this.data, arch: '<form>' + '<field name="body" widget="html" style="height: 100px"/>' + '</form>', res_id: 1, mockRPC: function (route, args) { if (args.model === 'ir.attachment') { return Promise.resolve([]); } if (route.indexOf('/web_unsplash/fetch_images') === 0) { return Promise.resolve(); } return this._super(route, args); }, }); await testUtils.form.clickEdit(form); var $field = form.$('.oe_form_field[name="body"]'); // the dialog load some xml assets var defMediaDialog = testUtils.makeTestPromise(); testUtils.mock.patch(MediaDialog, { init: function () { this._super.apply(this, arguments); this.opened(defMediaDialog.resolve.bind(defMediaDialog)); } }); var pText = $field.find('.note-editable p').first().contents()[0]; Wysiwyg.setRange(pText, 1); await testUtils.dom.click($field.find('.note-toolbar .note-insert button:has(.fa-file-image-o)')); // load static xml file (dialog, media dialog, unsplash image widget) await defMediaDialog; $('.modal .tab-content .tab-pane').removeClass('fade'); // to be sync in test await testUtils.dom.click($('.modal a[aria-controls="editor-media-icon"]')); await testUtils.dom.click($('.modal #editor-media-icon .font-icons-icon.fa-glass')); var $editable = form.$('.oe_form_field[name="body"] .note-editable'); assert.strictEqual($editable.data('wysiwyg').getValue(), '<p>t<span class="fa fa-glass"></span>oto toto toto</p><p>tata</p>', "should have the image in the dom"); testUtils.mock.unpatch(MediaDialog); form.destroy(); }); QUnit.test('save', async function (assert) { assert.expect(1); var form = await testUtils.createView({ View: FormView, model: 'note.note', data: this.data, arch: '<form>' + '<field name="body" widget="html" style="height: 100px"/>' + '</form>', res_id: 1, mockRPC: function (route, args) { if (args.method === "write") { assert.strictEqual(args.args[1].body, '<p>t<font class="bg-o-color-3">oto toto&nbsp;</font>toto</p><p>tata</p>', "should save the content"); } return this._super.apply(this, arguments); }, }); await testUtils.form.clickEdit(form); var $field = form.$('.oe_form_field[name="body"]'); // select the text var pText = $field.find('.note-editable p').first().contents()[0]; Wysiwyg.setRange(pText, 1, pText, 10); // text is selected async function openColorpicker(selector) { const $colorpicker = $field.find(selector); const openingProm = new Promise(resolve => { $colorpicker.one('shown.bs.dropdown', () => resolve()); }); await testUtils.dom.click($colorpicker.find('button:first')); return openingProm; } await openColorpicker('.note-toolbar .note-back-color-preview'); await testUtils.dom.click($field.find('.note-toolbar .note-back-color-preview .o_we_color_btn.bg-o-color-3')); await testUtils.form.clickSave(form); form.destroy(); }); QUnit.module('cssReadonly'); QUnit.test('rendering with iframe for readonly mode', async function (assert) { assert.expect(3); var form = await testUtils.createView({ View: FormView, model: 'note.note', data: this.data, arch: '<form>' + '<field name="body" widget="html" style="height: 100px" options="{\'cssReadonly\': \'template.assets\'}"/>' + '</form>', res_id: 1, }); var $field = form.$('.oe_form_field[name="body"]'); var $iframe = $field.find('iframe.o_readonly'); await $iframe.data('loadDef'); var doc = $iframe.contents()[0]; assert.strictEqual($(doc).find('#iframe_target').html(), '<p>toto toto toto</p><p>tata</p>', "should have rendered a div with correct content in readonly"); assert.strictEqual(doc.defaultView.getComputedStyle(doc.body).backgroundColor, 'rgb(255, 0, 0)', "should load the asset css"); await testUtils.form.clickEdit(form); $field = form.$('.oe_form_field[name="body"]'); assert.strictEqual($field.find('.note-editable').html(), '<p>toto toto toto</p><p>tata</p>', "should have rendered the field correctly in edit"); form.destroy(); }); QUnit.module('translation'); QUnit.test('field html translatable', async function (assert) { assert.expect(4); var multiLang = _t.database.multi_lang; _t.database.multi_lang = true; this.data['note.note'].fields.body.translate = true; var form = await testUtils.createView({ View: FormView, model: 'note.note', data: this.data, arch: '<form string="Partners">' + '<field name="body" widget="html"/>' + '</form>', res_id: 1, mockRPC: function (route, args) { if (route === '/web/dataset/call_button' && args.method === 'translate_fields') { assert.deepEqual(args.args, ['note.note', 1, 'body'], "should call 'call_button' route"); return Promise.resolve({ domain: [], context: {search_default_name: 'partnes,foo'}, }); } if (route === "/web/dataset/call_kw/res.lang/get_installed") { return Promise.resolve([["en_US"], ["fr_BE"]]); } return this._super.apply(this, arguments); }, }); assert.strictEqual(form.$('.oe_form_field_html .o_field_translate').length, 0, "should not have a translate button in readonly mode"); await testUtils.form.clickEdit(form); var $button = form.$('.oe_form_field_html .o_field_translate'); assert.strictEqual($button.length, 1, "should have a translate button"); await testUtils.dom.click($button); assert.containsOnce($(document), '.o_translation_dialog', 'should have a modal to translate'); form.destroy(); _t.database.multi_lang = multiLang; }); }); }); });
rven/odoo
addons/web_editor/static/tests/field_html_tests.js
JavaScript
agpl-3.0
20,217
"use strict"; require("./setup"); var exchange = require("../src/exchange"), assert = require("assert"), config = require("config"), async = require("async"); describe("Exchange", function () { describe("rounding", function () { it("should round as expected", function() { assert.equal( exchange.round("USD", 33.38 + 10.74), 44.12); }); }); describe("Load and keep fresh the exchange rates", function () { it("should be using test path", function () { // check it is faked out for tests var stubbedPath = "config/initial_exchange_rates.json"; assert.equal( exchange.pathToLatestJSON(), stubbedPath); // check it is normally correct exchange.pathToLatestJSON.restore(); assert.notEqual( exchange.pathToLatestJSON(), stubbedPath); }); it("fx object should convert correctly", function () { assert.equal(exchange.convert(100, "GBP", "USD"), 153.85 ); // 2 dp assert.equal(exchange.convert(100, "GBP", "JPY"), 15083 ); // 0 dp assert.equal(exchange.convert(100, "GBP", "LYD"), 195.385 ); // 3 dp assert.equal(exchange.convert(100, "GBP", "XAG"), 6.15 ); // null dp }); it("should reload exchange rates periodically", function (done) { var fx = exchange.fx; var clock = this.sandbox.clock; // change one of the exchange rates to test for the reload var originalGBP = fx.rates.GBP; fx.rates.GBP = 123.456; // start the delayAndReload exchange.initiateDelayAndReload(); // work out how long to wait var delay = exchange.calculateDelayUntilNextReload(); // go almost to the roll over and check no change clock.tick( delay-10 ); assert.equal(fx.rates.GBP, 123.456); async.series([ function (cb) { // go past rollover and check for change exchange.hub.once("reloaded", function () { assert.equal(fx.rates.GBP, originalGBP); cb(); }); clock.tick( 20 ); }, function (cb) { // reset it again and go ahead another interval and check for change fx.rates.GBP = 123.456; exchange.hub.once("reloaded", function () { assert.equal(fx.rates.GBP, originalGBP); cb(); }); clock.tick( config.exchangeReloadIntervalSeconds * 1000 ); } ], done); }); it.skip("should handle bad exchange rates JSON"); }); });
OpenBookPrices/openbookprices-api
test/exchange.js
JavaScript
agpl-3.0
2,486
<?php require_once __BASE__.'/model/Storable.php'; class AccountSMTP extends Storable { public $id = MYSQL_PRIMARY_KEY; public $code = ''; public $created = MYSQL_DATETIME; public $last_edit = MYSQL_DATETIME; public $name = ''; public $host = ''; public $port = ''; public $connection = ''; public $username = ''; public $password = ''; public $sender_name = ''; public $sender_mail = ''; public $replyTo = ''; public $max_mail = 0; public $ever = ['day', 'week', 'month', 'year', 'onetime']; public $max_mail_day = 0; public $send = 0; public $last_send = MYSQL_DATETIME; public $perc = 0.0; public $total_send = 0; public $active = 1; ## public static function findServer() { $servers = self::query( [ 'active' => 1, ]); $perc = 110; foreach ($servers as $server) { if ($server->perc < $perc) { //trova quello più saturo $use = $server; } if ($server->perc == 0) { return $use; } } return $use; } ## public static function getMaxMail($account = 'all') { $append = $account != 'all' ? ' WHERE id = "'.$account.'"' : ' '; $sql = 'SELECT SUM(max_mail_day) AS maxmail FROM '.self::table().$append; $res = schemadb::execute('row', $sql); return $res['maxmail']; } ## public static function getSenderMail($account = 'all') { $append = $account != 'all' ? ' WHERE id = "'.$account.'"' : ' '; $sql = 'SELECT SUM(total_send) AS mailtotali FROM '.self::table().$append; $res = schemadb::execute('row', $sql); return $res['mailtotali']; } ## public static function getInviateMail($account = 'all') { $append = $account != 'all' ? ' WHERE id = "'.$account.'"' : ' '; $sql = 'SELECT SUM(send) AS inviate FROM '.self::table().$append; $res = schemadb::execute('row', $sql); return $res['inviate']; } ## public static function getRemainMail($account = 'all') { $remain = self::getMaxMail() - self::getInviateMail(); return $remain; } } AccountSMTP::schemadb_update();
ctlr/MailCtlr
module/config/model/AccountSMTP.php
PHP
agpl-3.0
2,329
# frozen_string_literal: true require "spec_helper" describe "Edit initiative", type: :system do let(:organization) { create(:organization) } let(:user) { create(:user, :confirmed, organization: organization) } let(:initiative_title) { translated(initiative.title) } let(:new_title) { "This is my initiative new title" } let!(:initiative_type) { create(:initiatives_type, :online_signature_enabled, organization: organization) } let!(:scoped_type) { create(:initiatives_type_scope, type: initiative_type) } let!(:other_initiative_type) { create(:initiatives_type, organization: organization) } let!(:other_scoped_type) { create(:initiatives_type_scope, type: initiative_type) } let(:initiative_path) { decidim_initiatives.initiative_path(initiative) } let(:edit_initiative_path) { decidim_initiatives.edit_initiative_path(initiative) } shared_examples "manage update" do it "can be updated" do visit initiative_path click_link("Edit", href: edit_initiative_path) expect(page).to have_content "EDIT INITIATIVE" within "form.edit_initiative" do fill_in :initiative_title, with: new_title click_button "Update" end expect(page).to have_content(new_title) end end before do switch_to_host(organization.host) login_as user, scope: :user end describe "when user is initiative author" do let(:initiative) { create(:initiative, :created, author: user, scoped_type: scoped_type, organization: organization) } it_behaves_like "manage update" context "when initiative is published" do let(:initiative) { create(:initiative, author: user, scoped_type: scoped_type, organization: organization) } it "can't be updated" do visit decidim_initiatives.initiative_path(initiative) expect(page).not_to have_content "Edit initiative" visit edit_initiative_path expect(page).to have_content("not authorized") end end end describe "when author is a committee member" do let(:initiative) { create(:initiative, :created, scoped_type: scoped_type, organization: organization) } before do create(:initiatives_committee_member, user: user, initiative: initiative) end it_behaves_like "manage update" end describe "when user is admin" do let(:user) { create(:user, :confirmed, :admin, organization: organization) } let(:initiative) { create(:initiative, :created, scoped_type: scoped_type, organization: organization) } it_behaves_like "manage update" end describe "when author is not a committee member" do let(:initiative) { create(:initiative, :created, scoped_type: scoped_type, organization: organization) } it "renders an error" do visit decidim_initiatives.initiative_path(initiative) expect(page).to have_no_content("Edit initiative") visit edit_initiative_path expect(page).to have_content("not authorized") end end end
decidim/decidim
decidim-initiatives/spec/system/edit_initiative_spec.rb
Ruby
agpl-3.0
2,976
from odoo import fields, models class Job(models.Model): _inherit = "crm.team" survey_id = fields.Many2one( 'survey.survey', "Interview Form", help="Choose an interview form") def action_print_survey(self): return self.survey_id.action_print_survey()
ingadhoc/sale
crm_survey/models/crm_job.py
Python
agpl-3.0
291
package com.alessiodp.parties.bukkit.addons.external.skript.expressions; import ch.njol.skript.classes.Changer; import ch.njol.skript.doc.Description; import ch.njol.skript.doc.Examples; import ch.njol.skript.doc.Name; import ch.njol.skript.doc.Since; import ch.njol.skript.expressions.base.SimplePropertyExpression; import ch.njol.util.coll.CollectionUtils; import com.alessiodp.parties.api.interfaces.Party; import org.bukkit.event.Event; @Name("Party Name") @Description("Get the name of the given party.") @Examples({"send \"%name of party with name \"test\"%\"", "send \"%name of event-party%\""}) @Since("3.0.0") public class ExprPartyName extends SimplePropertyExpression<Party, String> { static { register(ExprPartyName.class, String.class, "name", "party"); } @Override public Class<? extends String> getReturnType() { return String.class; } @Override protected String getPropertyName() { return "name"; } @Override public String convert(Party party) { return party.getName(); } @Override public void change(Event e, Object[] delta, Changer.ChangeMode mode){ if (delta != null) { Party party = getExpr().getSingle(e); String newName = (String) delta[0]; switch (mode) { case SET: party.rename(newName); break; case DELETE: party.rename(null); break; default: break; } } } @Override public Class<?>[] acceptChange(final Changer.ChangeMode mode) { return (mode == Changer.ChangeMode.SET || mode == Changer.ChangeMode.DELETE) ? CollectionUtils.array(String.class) : null; } }
AlessioDP/Parties
bukkit/src/main/java/com/alessiodp/parties/bukkit/addons/external/skript/expressions/ExprPartyName.java
Java
agpl-3.0
1,576
//Copyright (c) 2018 Ultimaker B.V. //CuraEngine is released under the terms of the AGPLv3 or higher. #ifndef INFILL_SUBDIVCUBE_H #define INFILL_SUBDIVCUBE_H #include "../settings/types/Ratio.h" #include "../utils/IntPoint.h" #include "../utils/Point3.h" namespace cura { struct LayerIndex; class Polygons; class SliceMeshStorage; class SubDivCube { public: /*! * Constructor for SubDivCube. Recursively calls itself eight times to flesh out the octree. * \param mesh contains infill layer data and settings * \param my_center the center of the cube * \param depth the recursion depth of the cube (0 is most recursed) */ SubDivCube(SliceMeshStorage& mesh, Point3& center, size_t depth); ~SubDivCube(); //!< destructor (also destroys children) /*! * Precompute the octree of subdivided cubes * \param mesh contains infill layer data and settings */ static void precomputeOctree(SliceMeshStorage& mesh, const Point& infill_origin); /*! * Generates the lines of subdivision of the specific cube at the specific layer. It recursively calls itself, so it ends up drawing all the subdivision lines of sub-cubes too. * \param z the specified layer height * \param result (output) The resulting lines */ void generateSubdivisionLines(const coord_t z, Polygons& result); private: /*! * Generates the lines of subdivision of the specific cube at the specific layer. It recursively calls itself, so it ends up drawing all the subdivision lines of sub-cubes too. * \param z the specified layer height * \param result (output) The resulting lines * \param directional_line_groups Array of 3 times a polylines. Used to keep track of line segments that are all pointing the same direction for line segment combining */ void generateSubdivisionLines(const coord_t z, Polygons (&directional_line_groups)[3]); struct CubeProperties { coord_t side_length; //!< side length of cubes coord_t height; //!< height of cubes based. This is the distance from one point of a cube to its 3d opposite. coord_t square_height; //!< square cut across lengths. This is the diagonal distance across a face of the cube. coord_t max_draw_z_diff; //!< maximum draw z differences. This is the maximum difference in z at which lines need to be drawn. coord_t max_line_offset; //!< maximum line offsets. This is the maximum distance at which subdivision lines should be drawn from the 2d cube center. }; /*! * Rotates a point 120 degrees about the origin. * \param target the point to rotate. */ static void rotatePoint120(Point& target); /*! * Rotates a point to align it with the orientation of the infill. * \param target the point to rotate. */ static void rotatePointInitial(Point& target); /*! * Determines if a described theoretical cube should be subdivided based on if a sphere that encloses the cube touches the infill mesh. * \param mesh contains infill layer data and settings * \param center the center of the described cube * \param radius the radius of the enclosing sphere * \return the described cube should be subdivided */ static bool isValidSubdivision(SliceMeshStorage& mesh, Point3& center, coord_t radius); /*! * Finds the distance to the infill border at the specified layer from the specified point. * \param mesh contains infill layer data and settings * \param layer_nr the number of the specified layer * \param location the location of the specified point * \param[out] distance2 the squared distance to the infill border * \return Code 0: outside, 1: inside, 2: boundary does not exist at specified layer */ static coord_t distanceFromPointToMesh(SliceMeshStorage& mesh, const LayerIndex layer_nr, Point& location, coord_t* distance2); /*! * Adds the defined line to the specified polygons. It assumes that the specified polygons are all parallel lines. Combines line segments with touching ends closer than epsilon. * \param[out] group the polygons to add the line to * \param from the first endpoint of the line * \param to the second endpoint of the line */ void addLineAndCombine(Polygons& group, Point from, Point to); size_t depth; //!< the recursion depth of the cube (0 is most recursed) Point3 center; //!< center location of the cube in absolute coordinates SubDivCube* children[8] = {nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr}; //!< pointers to this cube's eight octree children static std::vector<CubeProperties> cube_properties_per_recursion_step; //!< precomputed array of basic properties of cubes based on recursion depth. static Ratio radius_multiplier; //!< multiplier for the bounding radius when determining if a cube should be subdivided static Point3Matrix rotation_matrix; //!< The rotation matrix to get from axis aligned cubes to cubes standing on a corner point aligned with the infill_angle static PointMatrix infill_rotation_matrix; //!< Horizontal rotation applied to infill static coord_t radius_addition; //!< addition to the bounding radius when determining if a cube should be subdivided }; } #endif //INFILL_SUBDIVCUBE_H
Ultimaker/CuraEngine
src/infill/SubDivCube.h
C
agpl-3.0
5,355
class CreateColorMappings < ActiveRecord::Migration def self.up create_table :color_mappings do |t| t.references :collage t.references :tag t.string :hex t.timestamps end end def self.down drop_table :color_mappings end end
emmalemma/h2o
db/migrate/20121005144035_create_color_mappings.rb
Ruby
agpl-3.0
269
############################################################################## # For copyright and license notices, see __manifest__.py file in module root # directory ############################################################################## from . import account_move from . import account_move_line from . import account_master_port
ingadhoc/multi-company
account_multic_fix/models/__init__.py
Python
agpl-3.0
340
/** * Copyright (C) 2001-2020 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by the Free Software Foundation, either version 3 * of the License, or (at your option) any later version. * * 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 * Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License along with this program. * If not, see http://www.gnu.org/licenses/. */ package com.rapidminer.gui.new_plotter.configuration; import com.rapidminer.gui.new_plotter.listener.events.LineFormatChangeEvent; import com.rapidminer.gui.new_plotter.utility.DataStructureUtils; import com.rapidminer.tools.I18N; import java.awt.BasicStroke; import java.awt.Color; import java.lang.ref.WeakReference; import java.util.Iterator; import java.util.LinkedList; import java.util.List; /** * @author Marius Helf * @deprecated since 9.2.0 */ @Deprecated public class LineFormat implements Cloneable { private static class StrokeFactory { static public BasicStroke getSolidStroke() { return new BasicStroke(1, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND); } static public BasicStroke getDottedStroke() { return new BasicStroke(1, BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND, 10.0f, new float[] { 1f, 1f }, 0.0f); } static public BasicStroke getShortDashedStroke() { return new BasicStroke(1, BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND, 10.0f, new float[] { 4f, 2f }, 0.0f); } static public BasicStroke getLongDashedStroke() { return new BasicStroke(1, BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND, 10.0f, new float[] { 7f, 3f }, 0.0f); } static public BasicStroke getDashDotStroke() { return new BasicStroke(1, BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND, 10.0f, new float[] { 6f, 2f, 1f, 2f }, 0.0f); } static public BasicStroke getStripedStroke() { return new BasicStroke(1, BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND, 10.0f, new float[] { 0.2f, 0.2f }, 0.0f); } } public enum LineStyle { NONE(null, I18N.getGUILabel("plotter.linestyle.NONE.label")), SOLID(StrokeFactory.getSolidStroke(), I18N .getGUILabel("plotter.linestyle.SOLID.label")), DOTS(StrokeFactory.getDottedStroke(), I18N .getGUILabel("plotter.linestyle.DOTS.label")), SHORT_DASHES(StrokeFactory.getShortDashedStroke(), I18N .getGUILabel("plotter.linestyle.SHORT_DASHES.label")), LONG_DASHES(StrokeFactory.getLongDashedStroke(), I18N .getGUILabel("plotter.linestyle.LONG_DASHES.label")), DASH_DOT(StrokeFactory.getDashDotStroke(), I18N .getGUILabel("plotter.linestyle.DASH_DOT.label")), STRIPES(StrokeFactory.getStripedStroke(), I18N .getGUILabel("plotter.linestyle.STRIPES.label")); private final BasicStroke stroke; private final String name; public BasicStroke getStroke() { return stroke; } public String getName() { return name; } private LineStyle(BasicStroke stroke, String name) { this.stroke = stroke; this.name = name; } } private List<WeakReference<LineFormatListener>> listeners = new LinkedList<WeakReference<LineFormatListener>>(); private LineStyle style = LineStyle.NONE; // dashed, solid... private Color color = Color.GRAY; private float width = 1.0f; public LineStyle getStyle() { return style; } public void setStyle(LineStyle style) { if (style != this.style) { this.style = style; fireStyleChanged(); } } public Color getColor() { return color; } public void setColor(Color color) { if (color == null ? this.color != null : !color.equals(this.color)) { this.color = color; fireColorChanged(); } } public float getWidth() { return width; } public void setWidth(float width) { if (width != this.width) { this.width = width; fireWidthChanged(); } } private void fireWidthChanged() { fireLineFormatChanged(new LineFormatChangeEvent(this, width)); } private void fireColorChanged() { fireLineFormatChanged(new LineFormatChangeEvent(this, color)); } private void fireStyleChanged() { fireLineFormatChanged(new LineFormatChangeEvent(this, style)); } private void fireLineFormatChanged(LineFormatChangeEvent e) { Iterator<WeakReference<LineFormatListener>> it = listeners.iterator(); while (it.hasNext()) { LineFormatListener l = it.next().get(); if (l != null) { l.lineFormatChanged(e); } else { it.remove(); } } } @Override public LineFormat clone() { LineFormat clone = new LineFormat(); clone.color = new Color(color.getRGB(), true); clone.style = style; clone.width = width; return clone; } public BasicStroke getStroke() { BasicStroke stroke = style.getStroke(); if (stroke != null) { float[] scaledDashArray = getScaledDashArray(); BasicStroke scaledStroke = new BasicStroke(this.getWidth(), stroke.getEndCap(), stroke.getLineJoin(), stroke.getMiterLimit(), scaledDashArray, stroke.getDashPhase()); return scaledStroke; } else { return null; } } float[] getScaledDashArray() { BasicStroke stroke = getStyle().getStroke(); if (stroke == null) { return null; } float[] dashArray = stroke.getDashArray(); float[] scaledDashArray; if (dashArray != null) { float scalingFactor = getWidth(); if (scalingFactor <= 0) { scalingFactor = 1; } if (scalingFactor != 1) { scaledDashArray = DataStructureUtils.cloneAndMultiplyArray(dashArray, scalingFactor); } else { scaledDashArray = dashArray; } } else { scaledDashArray = dashArray; } return scaledDashArray; } public void addLineFormatListener(LineFormatListener l) { listeners.add(new WeakReference<LineFormatListener>(l)); } public void removeLineFormatListener(LineFormatListener l) { Iterator<WeakReference<LineFormatListener>> it = listeners.iterator(); while (it.hasNext()) { LineFormatListener listener = it.next().get(); if (l != null) { if (listener != null && listener.equals(l)) { it.remove(); } } else { it.remove(); } } } }
rapidminer/rapidminer-studio
src/main/java/com/rapidminer/gui/new_plotter/configuration/LineFormat.java
Java
agpl-3.0
6,597
package com.nexusplay.containers; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.math.BigInteger; import java.sql.SQLException; import org.apache.commons.io.IOUtils; import com.nexusplay.db.SubtitlesDatabase; import com.nexusplay.security.RandomContainer; /** * Contains a proposed change (to a subtitle). * @author alex * */ public class Change { private String targetID, changedContent, id, originalContent, votes; private int nrVotes; /** * Constructor for creating new objects, prior to storing them in the database. * @param changedContent The change's original data * @param originalContent The change's new data * @param targetID The object targeted by the change * @param votes The user IDs that voted this change */ public Change(String changedContent, String originalContent, String targetID, String votes){ this.changedContent = changedContent; this.originalContent = originalContent; this.targetID = targetID; this.votes = votes; nrVotes = votes.length() - votes.replace(";", "").length(); generateId(); } /** * This constructor should only be used for recreating a stored object. * @param changedContent The change's original data * @param originalContent The change's new data * @param targetID The object targeted by the change * @param votes The user IDs that voted this change * @param id The change's unique ID */ public Change(String changedContent, String originalContent, String targetID, String votes, String id){ this.changedContent = changedContent; this.originalContent = originalContent; this.targetID = targetID; this.votes = votes; nrVotes = votes.length() - votes.replace(";", "").length(); this.id = id; } /** * Commits a change to disk. * @throws SQLException Thrown if the database is not accessible to us for whatever reason * @throws FileNotFoundException Thrown if we're denied access to the subtitle file * @throws IOException Thrown if an error appears while writing the file */ public void commitChange() throws SQLException, FileNotFoundException, IOException{ Subtitle sub = SubtitlesDatabase.getSubtitleByID(targetID); FileInputStream input = new FileInputStream(SettingsContainer.getAbsoluteSubtitlePath() + File.separator + sub.getId() + ".vtt"); String content = IOUtils.toString(input, "UTF-8"); content = content.replaceAll(originalContent, changedContent); content = content.replaceAll(originalContent.replaceAll("\n", "\r\n"), changedContent.replaceAll("\n", "\r\n")); FileOutputStream output = new FileOutputStream(SettingsContainer.getAbsoluteSubtitlePath() + File.separator + sub.getId() + ".vtt"); IOUtils.write(content, output, "UTF-8"); output.close(); input.close(); } /** * Generates a new unique ID for the item */ public void generateId() { id = (new BigInteger(130, RandomContainer.getRandom())).toString(32); } /** * @return The ID of the Media element associated to this object */ public String getTargetID() { return targetID; } /** * @param targetID The new ID of the Media element associated to this object */ public void setTargetID(String targetID) { this.targetID = targetID; } /** * @return The change itself */ public String getChangedContent() { return changedContent; } /** * @param content The new data to change */ public void setChangedContent(String content) { this.changedContent = content; } /** * @return The change's unique ID */ public String getId() { return id; } /** * @param id The change's new unique ID */ public void setId(String id) { this.id = id; } /** * @return The user IDs who voted for this change */ public String getVotes() { return votes; } /** * @param votes The new user IDs who voted for this change */ public void setVotes(String votes) { this.votes = votes; nrVotes = votes.length() - votes.replace(";", "").length(); } /** * @return The original content prior to changing */ public String getOriginalContent() { return originalContent; } /** * @param originalContent The new original content prior to changing */ public void setOriginalContent(String originalContent) { this.originalContent = originalContent; } /** * @return the nrVotes */ public int getNrVotes() { return nrVotes; } /** * @param nrVotes the nrVotes to set */ public void setNrVotes(int nrVotes) { this.nrVotes = nrVotes; } }
AlexCristian/NexusPlay
src/com/nexusplay/containers/Change.java
Java
agpl-3.0
4,573
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_20) on Tue May 04 10:00:19 CEST 2010 --> <TITLE> Uses of Class mx.database.table.Query </TITLE> <META NAME="date" CONTENT="2010-05-04"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class mx.database.table.Query"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../mx/database/table/Query.html" title="class in mx.database.table"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?mx/database/table/\class-useQuery.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="Query.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Class<br>mx.database.table.Query</B></H2> </CENTER> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Packages that use <A HREF="../../../../mx/database/table/Query.html" title="class in mx.database.table">Query</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#mx.database.navigator"><B>mx.database.navigator</B></A></TD> <TD>&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#mx.database.table.test"><B>mx.database.table.test</B></A></TD> <TD>&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp; <P> <A NAME="mx.database.navigator"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Uses of <A HREF="../../../../mx/database/table/Query.html" title="class in mx.database.table">Query</A> in <A HREF="../../../../mx/database/navigator/package-summary.html">mx.database.navigator</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../mx/database/table/Query.html" title="class in mx.database.table">Query</A> in <A HREF="../../../../mx/database/navigator/package-summary.html">mx.database.navigator</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../mx/database/navigator/QueryNavigator.html" title="class in mx.database.navigator">QueryNavigator</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Questa classe viene utilizzata per la gestione della navigazione delle tabelle</TD> </TR> </TABLE> &nbsp; <P> <A NAME="mx.database.table.test"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Uses of <A HREF="../../../../mx/database/table/Query.html" title="class in mx.database.table">Query</A> in <A HREF="../../../../mx/database/table/test/package-summary.html">mx.database.table.test</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../mx/database/table/Query.html" title="class in mx.database.table">Query</A> in <A HREF="../../../../mx/database/table/test/package-summary.html">mx.database.table.test</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../mx/database/table/test/CalcID.html" title="class in mx.database.table.test">CalcID</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Fields in <A HREF="../../../../mx/database/table/test/package-summary.html">mx.database.table.test</A> declared as <A HREF="../../../../mx/database/table/Query.html" title="class in mx.database.table">Query</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>private &nbsp;<A HREF="../../../../mx/database/table/Query.html" title="class in mx.database.table">Query</A></CODE></FONT></TD> <TD><CODE><B>QueryTest.</B><B><A HREF="../../../../mx/database/table/test/QueryTest.html#query">query</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp; <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../mx/database/table/Query.html" title="class in mx.database.table"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?mx/database/table/\class-useQuery.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="Query.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>
TecaDigitale/Gestione-Connessioni-DataBase
Gestione Connessioni DataBase/doc/mx/database/table/class-use/Query.html
HTML
agpl-3.0
9,871
from ctypes import * import ctypes.util import threading import os import sys from warnings import warn from functools import partial import collections import re import traceback # vim: ts=4 sw=4 et if os.name == 'nt': backend = CDLL('mpv-1.dll') fs_enc = 'utf-8' else: import locale lc, enc = locale.getlocale(locale.LC_NUMERIC) # libmpv requires LC_NUMERIC to be set to "C". Since messing with global variables everyone else relies upon is # still better than segfaulting, we are setting LC_NUMERIC to "C". locale.setlocale(locale.LC_NUMERIC, 'C') sofile = ctypes.util.find_library('mpv') if sofile is None: raise OSError("Cannot find libmpv in the usual places. Depending on your distro, you may try installing an " "mpv-devel or mpv-libs package. If you have libmpv around but this script can't find it, maybe consult " "the documentation for ctypes.util.find_library which this script uses to look up the library " "filename.") backend = CDLL(sofile) fs_enc = sys.getfilesystemencoding() class MpvHandle(c_void_p): pass class MpvOpenGLCbContext(c_void_p): pass class PropertyUnavailableError(AttributeError): pass class ErrorCode(object): """ For documentation on these, see mpv's libmpv/client.h """ SUCCESS = 0 EVENT_QUEUE_FULL = -1 NOMEM = -2 UNINITIALIZED = -3 INVALID_PARAMETER = -4 OPTION_NOT_FOUND = -5 OPTION_FORMAT = -6 OPTION_ERROR = -7 PROPERTY_NOT_FOUND = -8 PROPERTY_FORMAT = -9 PROPERTY_UNAVAILABLE = -10 PROPERTY_ERROR = -11 COMMAND = -12 EXCEPTION_DICT = { 0: None, -1: lambda *a: MemoryError('mpv event queue full', *a), -2: lambda *a: MemoryError('mpv cannot allocate memory', *a), -3: lambda *a: ValueError('Uninitialized mpv handle used', *a), -4: lambda *a: ValueError('Invalid value for mpv parameter', *a), -5: lambda *a: AttributeError('mpv option does not exist', *a), -6: lambda *a: TypeError('Tried to set mpv option using wrong format', *a), -7: lambda *a: ValueError('Invalid value for mpv option', *a), -8: lambda *a: AttributeError('mpv property does not exist', *a), # Currently (mpv 0.18.1) there is a bug causing a PROPERTY_FORMAT error to be returned instead of # INVALID_PARAMETER when setting a property-mapped option to an invalid value. -9: lambda *a: TypeError('Tried to get/set mpv property using wrong format, or passed invalid value', *a), -10: lambda *a: PropertyUnavailableError('mpv property is not available', *a), -11: lambda *a: RuntimeError('Generic error getting or setting mpv property', *a), -12: lambda *a: SystemError('Error running mpv command', *a) } @staticmethod def default_error_handler(ec, *args): return ValueError(_mpv_error_string(ec).decode('utf-8'), ec, *args) @classmethod def raise_for_ec(kls, ec, func, *args): ec = 0 if ec > 0 else ec ex = kls.EXCEPTION_DICT.get(ec , kls.default_error_handler) if ex: raise ex(ec, *args) class MpvFormat(c_int): NONE = 0 STRING = 1 OSD_STRING = 2 FLAG = 3 INT64 = 4 DOUBLE = 5 NODE = 6 NODE_ARRAY = 7 NODE_MAP = 8 BYTE_ARRAY = 9 def __eq__(self, other): return self is other or self.value == other or self.value == int(other) def __repr__(self): return ['NONE', 'STRING', 'OSD_STRING', 'FLAG', 'INT64', 'DOUBLE', 'NODE', 'NODE_ARRAY', 'NODE_MAP', 'BYTE_ARRAY'][self.value] class MpvEventID(c_int): NONE = 0 SHUTDOWN = 1 LOG_MESSAGE = 2 GET_PROPERTY_REPLY = 3 SET_PROPERTY_REPLY = 4 COMMAND_REPLY = 5 START_FILE = 6 END_FILE = 7 FILE_LOADED = 8 TRACKS_CHANGED = 9 TRACK_SWITCHED = 10 IDLE = 11 PAUSE = 12 UNPAUSE = 13 TICK = 14 SCRIPT_INPUT_DISPATCH = 15 CLIENT_MESSAGE = 16 VIDEO_RECONFIG = 17 AUDIO_RECONFIG = 18 METADATA_UPDATE = 19 SEEK = 20 PLAYBACK_RESTART = 21 PROPERTY_CHANGE = 22 CHAPTER_CHANGE = 23 ANY = ( SHUTDOWN, LOG_MESSAGE, GET_PROPERTY_REPLY, SET_PROPERTY_REPLY, COMMAND_REPLY, START_FILE, END_FILE, FILE_LOADED, TRACKS_CHANGED, TRACK_SWITCHED, IDLE, PAUSE, UNPAUSE, TICK, SCRIPT_INPUT_DISPATCH, CLIENT_MESSAGE, VIDEO_RECONFIG, AUDIO_RECONFIG, METADATA_UPDATE, SEEK, PLAYBACK_RESTART, PROPERTY_CHANGE, CHAPTER_CHANGE ) def __repr__(self): return ['NONE', 'SHUTDOWN', 'LOG_MESSAGE', 'GET_PROPERTY_REPLY', 'SET_PROPERTY_REPLY', 'COMMAND_REPLY', 'START_FILE', 'END_FILE', 'FILE_LOADED', 'TRACKS_CHANGED', 'TRACK_SWITCHED', 'IDLE', 'PAUSE', 'UNPAUSE', 'TICK', 'SCRIPT_INPUT_DISPATCH', 'CLIENT_MESSAGE', 'VIDEO_RECONFIG', 'AUDIO_RECONFIG', 'METADATA_UPDATE', 'SEEK', 'PLAYBACK_RESTART', 'PROPERTY_CHANGE', 'CHAPTER_CHANGE'][self.value] class MpvNodeList(Structure): def array_value(self, decode_str=False): return [ self.values[i].node_value(decode_str) for i in range(self.num) ] def dict_value(self, decode_str=False): return { self.keys[i].decode('utf-8'): self.values[i].node_value(decode_str) for i in range(self.num) } class MpvNode(Structure): _fields_ = [('val', c_longlong), ('format', MpvFormat)] def node_value(self, decode_str=False): return MpvNode.node_cast_value(byref(c_void_p(self.val)), self.format.value, decode_str) @staticmethod def node_cast_value(v, fmt, decode_str=False): dwrap = lambda s: s.decode('utf-8') if decode_str else s return { MpvFormat.NONE: lambda v: None, MpvFormat.STRING: lambda v: dwrap(cast(v, POINTER(c_char_p)).contents.value), MpvFormat.OSD_STRING: lambda v: cast(v, POINTER(c_char_p)).contents.value.decode('utf-8'), MpvFormat.FLAG: lambda v: bool(cast(v, POINTER(c_int)).contents.value), MpvFormat.INT64: lambda v: cast(v, POINTER(c_longlong)).contents.value, MpvFormat.DOUBLE: lambda v: cast(v, POINTER(c_double)).contents.value, MpvFormat.NODE: lambda v: cast(v, POINTER(MpvNode)).contents.node_value(decode_str), MpvFormat.NODE_ARRAY: lambda v: cast(v, POINTER(POINTER(MpvNodeList))).contents.contents.array_value(decode_str), MpvFormat.NODE_MAP: lambda v: cast(v, POINTER(POINTER(MpvNodeList))).contents.contents.dict_value(decode_str), MpvFormat.BYTE_ARRAY: lambda v: cast(v, POINTER(c_char_p)).contents.value, }[fmt](v) MpvNodeList._fields_ = [('num', c_int), ('values', POINTER(MpvNode)), ('keys', POINTER(c_char_p))] class MpvSubApi(c_int): MPV_SUB_API_OPENGL_CB = 1 class MpvEvent(Structure): _fields_ = [('event_id', MpvEventID), ('error', c_int), ('reply_userdata', c_ulonglong), ('data', c_void_p)] def as_dict(self): dtype = {MpvEventID.END_FILE: MpvEventEndFile, MpvEventID.PROPERTY_CHANGE: MpvEventProperty, MpvEventID.GET_PROPERTY_REPLY: MpvEventProperty, MpvEventID.LOG_MESSAGE: MpvEventLogMessage, MpvEventID.SCRIPT_INPUT_DISPATCH: MpvEventScriptInputDispatch, MpvEventID.CLIENT_MESSAGE: MpvEventClientMessage }.get(self.event_id.value, None) return {'event_id': self.event_id.value, 'error': self.error, 'reply_userdata': self.reply_userdata, 'event': cast(self.data, POINTER(dtype)).contents.as_dict() if dtype else None} class MpvEventProperty(Structure): _fields_ = [('name', c_char_p), ('format', MpvFormat), ('data', c_void_p)] def as_dict(self): if self.format.value == MpvFormat.STRING: proptype, _access = ALL_PROPERTIES.get(self.name, (str, None)) return {'name': self.name.decode('utf-8'), 'format': self.format, 'data': self.data, 'value': proptype(cast(self.data, POINTER(c_char_p)).contents.value.decode('utf-8'))} else: return {'name': self.name.decode('utf-8'), 'format': self.format, 'data': self.data} class MpvEventLogMessage(Structure): _fields_ = [('prefix', c_char_p), ('level', c_char_p), ('text', c_char_p)] def as_dict(self): return { 'prefix': self.prefix.decode('utf-8'), 'level': self.level.decode('utf-8'), 'text': self.text.decode('utf-8').rstrip() } class MpvEventEndFile(c_int): EOF_OR_INIT_FAILURE = 0 RESTARTED = 1 ABORTED = 2 QUIT = 3 def as_dict(self): return {'reason': self.value} class MpvEventScriptInputDispatch(Structure): _fields_ = [('arg0', c_int), ('type', c_char_p)] def as_dict(self): pass # TODO class MpvEventClientMessage(Structure): _fields_ = [('num_args', c_int), ('args', POINTER(c_char_p))] def as_dict(self): return { 'args': [ self.args[i].decode('utf-8') for i in range(self.num_args) ] } WakeupCallback = CFUNCTYPE(None, c_void_p) OpenGlCbUpdateFn = CFUNCTYPE(None, c_void_p) OpenGlCbGetProcAddrFn = CFUNCTYPE(None, c_void_p, c_char_p) def _handle_func(name, args, restype, errcheck, ctx=MpvHandle): func = getattr(backend, name) func.argtypes = [ctx] + args if ctx else args if restype is not None: func.restype = restype if errcheck is not None: func.errcheck = errcheck globals()['_'+name] = func def bytes_free_errcheck(res, func, *args): notnull_errcheck(res, func, *args) rv = cast(res, c_void_p).value _mpv_free(res) return rv def notnull_errcheck(res, func, *args): if res is None: raise RuntimeError('Underspecified error in MPV when calling {} with args {!r}: NULL pointer returned.'\ 'Please consult your local debugger.'.format(func.__name__, args)) return res ec_errcheck = ErrorCode.raise_for_ec def _handle_gl_func(name, args=[], restype=None): _handle_func(name, args, restype, errcheck=None, ctx=MpvOpenGLCbContext) backend.mpv_client_api_version.restype = c_ulong def _mpv_client_api_version(): ver = backend.mpv_client_api_version() return ver>>16, ver&0xFFFF backend.mpv_free.argtypes = [c_void_p] _mpv_free = backend.mpv_free backend.mpv_free_node_contents.argtypes = [c_void_p] _mpv_free_node_contents = backend.mpv_free_node_contents backend.mpv_create.restype = MpvHandle _mpv_create = backend.mpv_create _handle_func('mpv_create_client', [c_char_p], MpvHandle, notnull_errcheck) _handle_func('mpv_client_name', [], c_char_p, errcheck=None) _handle_func('mpv_initialize', [], c_int, ec_errcheck) _handle_func('mpv_detach_destroy', [], None, errcheck=None) _handle_func('mpv_terminate_destroy', [], None, errcheck=None) _handle_func('mpv_load_config_file', [c_char_p], c_int, ec_errcheck) _handle_func('mpv_suspend', [], None, errcheck=None) _handle_func('mpv_resume', [], None, errcheck=None) _handle_func('mpv_get_time_us', [], c_ulonglong, errcheck=None) _handle_func('mpv_set_option', [c_char_p, MpvFormat, c_void_p], c_int, ec_errcheck) _handle_func('mpv_set_option_string', [c_char_p, c_char_p], c_int, ec_errcheck) _handle_func('mpv_command', [POINTER(c_char_p)], c_int, ec_errcheck) _handle_func('mpv_command_string', [c_char_p, c_char_p], c_int, ec_errcheck) _handle_func('mpv_command_async', [c_ulonglong, POINTER(c_char_p)], c_int, ec_errcheck) _handle_func('mpv_set_property', [c_char_p, MpvFormat, c_void_p], c_int, ec_errcheck) _handle_func('mpv_set_property_string', [c_char_p, c_char_p], c_int, ec_errcheck) _handle_func('mpv_set_property_async', [c_ulonglong, c_char_p, MpvFormat,c_void_p],c_int, ec_errcheck) _handle_func('mpv_get_property', [c_char_p, MpvFormat, c_void_p], c_int, ec_errcheck) _handle_func('mpv_get_property_string', [c_char_p], c_void_p, bytes_free_errcheck) _handle_func('mpv_get_property_osd_string', [c_char_p], c_void_p, bytes_free_errcheck) _handle_func('mpv_get_property_async', [c_ulonglong, c_char_p, MpvFormat], c_int, ec_errcheck) _handle_func('mpv_observe_property', [c_ulonglong, c_char_p, MpvFormat], c_int, ec_errcheck) _handle_func('mpv_unobserve_property', [c_ulonglong], c_int, ec_errcheck) _handle_func('mpv_event_name', [c_int], c_char_p, errcheck=None, ctx=None) _handle_func('mpv_error_string', [c_int], c_char_p, errcheck=None, ctx=None) _handle_func('mpv_request_event', [MpvEventID, c_int], c_int, ec_errcheck) _handle_func('mpv_request_log_messages', [c_char_p], c_int, ec_errcheck) _handle_func('mpv_wait_event', [c_double], POINTER(MpvEvent), errcheck=None) _handle_func('mpv_wakeup', [], None, errcheck=None) _handle_func('mpv_set_wakeup_callback', [WakeupCallback, c_void_p], None, errcheck=None) _handle_func('mpv_get_wakeup_pipe', [], c_int, errcheck=None) _handle_func('mpv_get_sub_api', [MpvSubApi], c_void_p, notnull_errcheck) _handle_gl_func('mpv_opengl_cb_set_update_callback', [OpenGlCbUpdateFn, c_void_p]) _handle_gl_func('mpv_opengl_cb_init_gl', [c_char_p, OpenGlCbGetProcAddrFn, c_void_p], c_int) _handle_gl_func('mpv_opengl_cb_draw', [c_int, c_int, c_int], c_int) _handle_gl_func('mpv_opengl_cb_render', [c_int, c_int], c_int) _handle_gl_func('mpv_opengl_cb_report_flip', [c_ulonglong], c_int) _handle_gl_func('mpv_opengl_cb_uninit_gl', [], c_int) def _ensure_encoding(possibly_bytes): return possibly_bytes.decode('utf-8') if type(possibly_bytes) is bytes else possibly_bytes def _event_generator(handle): while True: event = _mpv_wait_event(handle, -1).contents if event.event_id.value == MpvEventID.NONE: raise StopIteration() yield event def load_lua(): """ Use this function if you intend to use mpv's built-in lua interpreter. This is e.g. needed for playback of youtube urls. """ CDLL('liblua.so', mode=RTLD_GLOBAL) def _event_loop(event_handle, playback_cond, event_callbacks, message_handlers, property_handlers, log_handler): for event in _event_generator(event_handle): try: devent = event.as_dict() # copy data from ctypes eid = devent['event_id'] for callback in event_callbacks: callback(devent) if eid in (MpvEventID.SHUTDOWN, MpvEventID.END_FILE): with playback_cond: playback_cond.notify_all() if eid == MpvEventID.PROPERTY_CHANGE: pc = devent['event'] name = pc['name'] if 'value' in pc: proptype, _access = ALL_PROPERTIES[name] if proptype is bytes: args = (pc['value'],) else: args = (proptype(_ensure_encoding(pc['value'])),) elif pc['format'] == MpvFormat.NONE: args = (None,) else: args = (pc['data'], pc['format']) for handler in property_handlers[name]: handler(*args) if eid == MpvEventID.LOG_MESSAGE and log_handler is not None: ev = devent['event'] log_handler(ev['level'], ev['prefix'], ev['text']) if eid == MpvEventID.CLIENT_MESSAGE: # {'event': {'args': ['key-binding', 'foo', 'u-', 'g']}, 'reply_userdata': 0, 'error': 0, 'event_id': 16} target, *args = devent['event']['args'] if target in message_handlers: message_handlers[target](*args) if eid == MpvEventID.SHUTDOWN: _mpv_detach_destroy(event_handle) return except Exception as e: traceback.print_exc() class MPV(object): """ See man mpv(1) for the details of the implemented commands. """ def __init__(self, *extra_mpv_flags, log_handler=None, start_event_thread=True, **extra_mpv_opts): """ Create an MPV instance. Extra arguments and extra keyword arguments will be passed to mpv as options. """ self._event_thread = None self.handle = _mpv_create() _mpv_set_option_string(self.handle, b'audio-display', b'no') istr = lambda o: ('yes' if o else 'no') if type(o) is bool else str(o) try: for flag in extra_mpv_flags: _mpv_set_option_string(self.handle, flag.encode('utf-8'), b'') for k,v in extra_mpv_opts.items(): _mpv_set_option_string(self.handle, k.replace('_', '-').encode('utf-8'), istr(v).encode('utf-8')) except AttributeError as e: _mpv_initialize(self.handle) raise e _mpv_initialize(self.handle) self._event_callbacks = [] self._property_handlers = collections.defaultdict(lambda: []) self._message_handlers = {} self._key_binding_handlers = {} self._playback_cond = threading.Condition() self._event_handle = _mpv_create_client(self.handle, b'py_event_handler') self._loop = partial(_event_loop, self._event_handle, self._playback_cond, self._event_callbacks, self._message_handlers, self._property_handlers, log_handler) if start_event_thread: self._event_thread = threading.Thread(target=self._loop, name='MPVEventHandlerThread') self._event_thread.setDaemon(True) self._event_thread.start() else: self._event_thread = None if log_handler is not None: self.set_loglevel('terminal-default') def wait_for_playback(self): """ Waits until playback of the current title is paused or done """ with self._playback_cond: self._playback_cond.wait() def wait_for_property(self, name, cond=lambda val: val, level_sensitive=True): sema = threading.Semaphore(value=0) def observer(val): if cond(val): sema.release() self.observe_property(name, observer) if not level_sensitive or not cond(getattr(self, name.replace('-', '_'))): sema.acquire() self.unobserve_property(name, observer) def __del__(self): if self.handle: self.terminate() def terminate(self): self.handle, handle = None, self.handle if threading.current_thread() is self._event_thread: # Handle special case to allow event handle to be detached. # This is necessary since otherwise the event thread would deadlock itself. grim_reaper = threading.Thread(target=lambda: _mpv_terminate_destroy(handle)) grim_reaper.start() else: _mpv_terminate_destroy(handle) if self._event_thread: self._event_thread.join() def set_loglevel(self, level): _mpv_request_log_messages(self._event_handle, level.encode('utf-8')) def command(self, name, *args): """ Execute a raw command """ args = [name.encode('utf-8')] + [ (arg if type(arg) is bytes else str(arg).encode('utf-8')) for arg in args if arg is not None ] + [None] _mpv_command(self.handle, (c_char_p*len(args))(*args)) def seek(self, amount, reference="relative", precision="default-precise"): self.command('seek', amount, reference, precision) def revert_seek(self): self.command('revert_seek'); def frame_step(self): self.command('frame_step') def frame_back_step(self): self.command('frame_back_step') def _add_property(self, name, value=None): self.command('add_property', name, value) def _cycle_property(self, name, direction='up'): self.command('cycle_property', name, direction) def _multiply_property(self, name, factor): self.command('multiply_property', name, factor) def screenshot(self, includes='subtitles', mode='single'): self.command('screenshot', includes, mode) def screenshot_to_file(self, filename, includes='subtitles'): self.command('screenshot_to_file', filename.encode(fs_enc), includes) def playlist_next(self, mode='weak'): self.command('playlist_next', mode) def playlist_prev(self, mode='weak'): self.command('playlist_prev', mode) @staticmethod def _encode_options(options): return ','.join('{}={}'.format(str(key), str(val)) for key, val in options.items()) def loadfile(self, filename, mode='replace', **options): self.command('loadfile', filename.encode(fs_enc), mode, MPV._encode_options(options)) def loadlist(self, playlist, mode='replace'): self.command('loadlist', playlist.encode(fs_enc), mode) def playlist_clear(self): self.command('playlist_clear') def playlist_remove(self, index='current'): self.command('playlist_remove', index) def playlist_move(self, index1, index2): self.command('playlist_move', index1, index2) def run(self, command, *args): self.command('run', command, *args) def quit(self, code=None): self.command('quit', code) def quit_watch_later(self, code=None): self.command('quit_watch_later', code) def sub_add(self, filename): self.command('sub_add', filename.encode(fs_enc)) def sub_remove(self, sub_id=None): self.command('sub_remove', sub_id) def sub_reload(self, sub_id=None): self.command('sub_reload', sub_id) def sub_step(self, skip): self.command('sub_step', skip) def sub_seek(self, skip): self.command('sub_seek', skip) def toggle_osd(self): self.command('osd') def show_text(self, string, duration='-', level=None): self.command('show_text', string, duration, level) def show_progress(self): self.command('show_progress') def discnav(self, command): self.command('discnav', command) def write_watch_later_config(self): self.command('write_watch_later_config') def overlay_add(self, overlay_id, x, y, file_or_fd, offset, fmt, w, h, stride): self.command('overlay_add', overlay_id, x, y, file_or_fd, offset, fmt, w, h, stride) def overlay_remove(self, overlay_id): self.command('overlay_remove', overlay_id) def script_message(self, *args): self.command('script_message', *args) def script_message_to(self, target, *args): self.command('script_message_to', target, *args) def observe_property(self, name, handler): self._property_handlers[name].append(handler) _mpv_observe_property(self._event_handle, hash(name)&0xffffffffffffffff, name.encode('utf-8'), MpvFormat.STRING) def unobserve_property(self, name, handler): handlers = self._property_handlers[name] handlers.remove(handler) if not handlers: _mpv_unobserve_property(self._event_handle, hash(name)&0xffffffffffffffff) def register_message_handler(self, target, handler): self._message_handlers[target] = handler def unregister_message_handler(self, target): del self._message_handlers[target] def register_event_callback(self, callback): self._event_callbacks.append(callback) def unregister_event_callback(self, callback): self._event_callbacks.remove(callback) @staticmethod def _binding_name(callback_or_cmd): return 'py_kb_{:016x}'.format(hash(callback_or_cmd)&0xffffffffffffffff) def register_key_binding(self, keydef, callback_or_cmd, mode='force'): """ BIG FAT WARNING: mpv's key binding mechanism is pretty powerful. This means, you essentially get arbitrary code exectution through key bindings. This interface makes some limited effort to sanitize the keydef given in the first parameter, but YOU SHOULD NOT RELY ON THIS IN FOR SECURITY. If your input comes from config files, this is completely fine--but, if you are about to pass untrusted input into this parameter, better double-check whether this is secure in your case. """ if not re.match(r'(Shift+)?(Ctrl+)?(Alt+)?(Meta+)?(.|\w+)', keydef): raise ValueError('Invalid keydef. Expected format: [Shift+][Ctrl+][Alt+][Meta+]<key>\n' '<key> is either the literal character the key produces (ASCII or Unicode character), or a ' 'symbolic name (as printed by --input-keylist') binding_name = MPV._binding_name(keydef) if callable(callback_or_cmd): self._key_binding_handlers[binding_name] = callback_or_cmd self.register_message_handler('key-binding', self._handle_key_binding_message) self.command('define-section', binding_name, '{} script-binding py_event_handler/{}'.format(keydef, binding_name), mode) elif isinstance(callback_or_cmd, str): self.command('define-section', binding_name, '{} {}'.format(keydef, callback_or_cmd), mode) else: raise TypeError('register_key_binding expects either an str with an mpv command or a python callable.') self.command('enable-section', binding_name) def _handle_key_binding_message(self, binding_name, key_state, key_name): self._key_binding_handlers[binding_name](key_state, key_name) def unregister_key_binding(self, keydef): binding_name = MPV._binding_name(keydef) self.command('disable-section', binding_name) self.command('define-section', binding_name, '') if callable(callback): del self._key_binding_handlers[binding_name] if not self._key_binding_handlers: self.unregister_message_handler('key-binding') # Convenience functions def play(self, filename): self.loadfile(filename) # Property accessors def _get_property(self, name, proptype=str, decode_str=False): fmt = {int: MpvFormat.INT64, float: MpvFormat.DOUBLE, bool: MpvFormat.FLAG, str: MpvFormat.STRING, bytes: MpvFormat.STRING, commalist: MpvFormat.STRING, MpvFormat.NODE: MpvFormat.NODE}[proptype] out = cast(create_string_buffer(sizeof(c_void_p)), c_void_p) outptr = byref(out) try: cval = _mpv_get_property(self.handle, name.encode('utf-8'), fmt, outptr) rv = MpvNode.node_cast_value(outptr, fmt, decode_str or proptype in (str, commalist)) if proptype is commalist: rv = proptype(rv) if proptype is str: _mpv_free(out) elif proptype is MpvFormat.NODE: _mpv_free_node_contents(outptr) return rv except PropertyUnavailableError as ex: return None def _set_property(self, name, value, proptype=str): ename = name.encode('utf-8') if type(value) is bytes: _mpv_set_property_string(self.handle, ename, value) elif type(value) is bool: _mpv_set_property_string(self.handle, ename, b'yes' if value else b'no') elif proptype in (str, int, float): _mpv_set_property_string(self.handle, ename, str(proptype(value)).encode('utf-8')) else: raise TypeError('Cannot set {} property {} to value of type {}'.format(proptype, name, type(value))) # Dict-like option access def __getitem__(self, name, file_local=False): """ Get an option value """ prefix = 'file-local-options/' if file_local else 'options/' return self._get_property(prefix+name) def __setitem__(self, name, value, file_local=False): """ Get an option value """ prefix = 'file-local-options/' if file_local else 'options/' return self._set_property(prefix+name, value) def __iter__(self): return iter(self.options) def option_info(self, name): return self._get_property('option-info/'+name) def commalist(propval=''): return str(propval).split(',') node = MpvFormat.NODE ALL_PROPERTIES = { 'osd-level': (int, 'rw'), 'osd-scale': (float, 'rw'), 'loop': (str, 'rw'), 'loop-file': (str, 'rw'), 'speed': (float, 'rw'), 'filename': (bytes, 'r'), 'file-size': (int, 'r'), 'path': (bytes, 'r'), 'media-title': (bytes, 'r'), 'stream-pos': (int, 'rw'), 'stream-end': (int, 'r'), 'length': (float, 'r'), # deprecated for ages now 'duration': (float, 'r'), 'avsync': (float, 'r'), 'total-avsync-change': (float, 'r'), 'drop-frame-count': (int, 'r'), 'percent-pos': (float, 'rw'), # 'ratio-pos': (float, 'rw'), 'time-pos': (float, 'rw'), 'time-start': (float, 'r'), 'time-remaining': (float, 'r'), 'playtime-remaining': (float, 'r'), 'chapter': (int, 'rw'), 'edition': (int, 'rw'), 'disc-titles': (int, 'r'), 'disc-title': (str, 'rw'), # 'disc-menu-active': (bool, 'r'), 'chapters': (int, 'r'), 'editions': (int, 'r'), 'angle': (int, 'rw'), 'pause': (bool, 'rw'), 'core-idle': (bool, 'r'), 'cache': (int, 'r'), 'cache-size': (int, 'rw'), 'cache-free': (int, 'r'), 'cache-used': (int, 'r'), 'cache-speed': (int, 'r'), 'cache-idle': (bool, 'r'), 'cache-buffering-state': (int, 'r'), 'paused-for-cache': (bool, 'r'), # 'pause-for-cache': (bool, 'r'), 'eof-reached': (bool, 'r'), # 'pts-association-mode': (str, 'rw'), 'hr-seek': (str, 'rw'), 'volume': (float, 'rw'), 'volume-max': (int, 'rw'), 'ao-volume': (float, 'rw'), 'mute': (bool, 'rw'), 'ao-mute': (bool, 'rw'), 'audio-speed-correction': (float, 'r'), 'audio-delay': (float, 'rw'), 'audio-format': (str, 'r'), 'audio-codec': (str, 'r'), 'audio-codec-name': (str, 'r'), 'audio-bitrate': (float, 'r'), 'packet-audio-bitrate': (float, 'r'), 'audio-samplerate': (int, 'r'), 'audio-channels': (str, 'r'), 'aid': (str, 'rw'), 'audio': (str, 'rw'), # alias for aid 'balance': (int, 'rw'), 'fullscreen': (bool, 'rw'), 'deinterlace': (str, 'rw'), 'colormatrix': (str, 'rw'), 'colormatrix-input-range': (str, 'rw'), # 'colormatrix-output-range': (str, 'rw'), 'colormatrix-primaries': (str, 'rw'), 'ontop': (bool, 'rw'), 'border': (bool, 'rw'), 'framedrop': (str, 'rw'), 'gamma': (float, 'rw'), 'brightness': (int, 'rw'), 'contrast': (int, 'rw'), 'saturation': (int, 'rw'), 'hue': (int, 'rw'), 'hwdec': (str, 'rw'), 'panscan': (float, 'rw'), 'video-format': (str, 'r'), 'video-codec': (str, 'r'), 'video-bitrate': (float, 'r'), 'packet-video-bitrate': (float, 'r'), 'width': (int, 'r'), 'height': (int, 'r'), 'dwidth': (int, 'r'), 'dheight': (int, 'r'), 'fps': (float, 'r'), 'estimated-vf-fps': (float, 'r'), 'window-scale': (float, 'rw'), 'video-aspect': (str, 'rw'), 'osd-width': (int, 'r'), 'osd-height': (int, 'r'), 'osd-par': (float, 'r'), 'vid': (str, 'rw'), 'video': (str, 'rw'), # alias for vid 'video-align-x': (float, 'rw'), 'video-align-y': (float, 'rw'), 'video-pan-x': (float, 'rw'), 'video-pan-y': (float, 'rw'), 'video-zoom': (float, 'rw'), 'video-unscaled': (bool, 'w'), 'video-speed-correction': (float, 'r'), 'program': (int, 'w'), 'sid': (str, 'rw'), 'sub': (str, 'rw'), # alias for sid 'secondary-sid': (str, 'rw'), 'sub-delay': (float, 'rw'), 'sub-pos': (int, 'rw'), 'sub-visibility': (bool, 'rw'), 'sub-forced-only': (bool, 'rw'), 'sub-scale': (float, 'rw'), 'sub-bitrate': (float, 'r'), 'packet-sub-bitrate': (float, 'r'), # 'ass-use-margins': (bool, 'rw'), 'ass-vsfilter-aspect-compat': (bool, 'rw'), 'ass-style-override': (bool, 'rw'), 'stream-capture': (str, 'rw'), 'tv-brightness': (int, 'rw'), 'tv-contrast': (int, 'rw'), 'tv-saturation': (int, 'rw'), 'tv-hue': (int, 'rw'), 'playlist-pos': (int, 'rw'), 'playlist-pos-1': (int, 'rw'), # ugh. 'playlist-count': (int, 'r'), # 'quvi-format': (str, 'rw'), 'seekable': (bool, 'r'), 'seeking': (bool, 'r'), 'partially-seekable': (bool, 'r'), 'playback-abort': (bool, 'r'), 'cursor-autohide': (str, 'rw'), 'audio-device': (str, 'rw'), 'current-vo': (str, 'r'), 'current-ao': (str, 'r'), 'audio-out-detected-device': (str, 'r'), 'protocol-list': (str, 'r'), 'mpv-version': (str, 'r'), 'mpv-configuration': (str, 'r'), 'ffmpeg-version': (str, 'r'), 'display-sync-active': (bool, 'r'), 'stream-open-filename': (bytes, 'rw'), # Undocumented 'file-format': (commalist,'r'), # Be careful with this one. 'mistimed-frame-count': (int, 'r'), 'vsync-ratio': (float, 'r'), 'vo-drop-frame-count': (int, 'r'), 'vo-delayed-frame-count': (int, 'r'), 'playback-time': (float, 'rw'), 'demuxer-cache-duration': (float, 'r'), 'demuxer-cache-time': (float, 'r'), 'demuxer-cache-idle': (bool, 'r'), 'idle': (bool, 'r'), 'disc-title-list': (commalist,'r'), 'field-dominance': (str, 'rw'), 'taskbar-progress': (bool, 'rw'), 'on-all-workspaces': (bool, 'rw'), 'video-output-levels': (str, 'r'), 'vo-configured': (bool, 'r'), 'hwdec-current': (str, 'r'), 'hwdec-interop': (str, 'r'), 'estimated-frame-count': (int, 'r'), 'estimated-frame-number': (int, 'r'), 'sub-use-margins': (bool, 'rw'), 'ass-force-margins': (bool, 'rw'), 'video-rotate': (str, 'rw'), 'video-stereo-mode': (str, 'rw'), 'ab-loop-a': (str, 'r'), # What a mess... 'ab-loop-b': (str, 'r'), 'dvb-channel': (str, 'w'), 'dvb-channel-name': (str, 'rw'), 'window-minimized': (bool, 'r'), 'display-names': (commalist, 'r'), 'display-fps': (float, 'r'), # access apparently misdocumented in the manpage 'estimated-display-fps': (float, 'r'), 'vsync-jitter': (float, 'r'), 'video-params': (node, 'r', True), 'video-out-params': (node, 'r', True), 'track-list': (node, 'r', False), 'playlist': (node, 'r', False), 'chapter-list': (node, 'r', False), 'vo-performance': (node, 'r', True), 'filtered-metadata': (node, 'r', False), 'metadata': (node, 'r', False), 'chapter-metadata': (node, 'r', False), 'vf-metadata': (node, 'r', False), 'af-metadata': (node, 'r', False), 'edition-list': (node, 'r', False), 'disc-titles': (node, 'r', False), 'audio-params': (node, 'r', True), 'audio-out-params': (node, 'r', True), 'audio-device-list': (node, 'r', True), 'video-frame-info': (node, 'r', True), 'decoder-list': (node, 'r', True), 'encoder-list': (node, 'r', True), 'vf': (node, 'r', True), 'af': (node, 'r', True), 'options': (node, 'r', True), 'file-local-options': (node, 'r', True), 'property-list': (commalist,'r')} def bindproperty(MPV, name, proptype, access, decode_str=False): getter = lambda self: self._get_property(name, proptype, decode_str) setter = lambda self, value: self._set_property(name, value, proptype) def barf(*args): raise NotImplementedError('Access denied') setattr(MPV, name.replace('-', '_'), property(getter if 'r' in access else barf, setter if 'w' in access else barf)) for name, (proptype, access, *args) in ALL_PROPERTIES.items(): bindproperty(MPV, name, proptype, access, *args)
Frechdachs/python-mpv
mpv.py
Python
agpl-3.0
42,232
/* * The Kuali Financial System, a comprehensive financial management system for higher education. * * Copyright 2005-2017 Kuali, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * 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 Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package org.kuali.kfs.module.purap.document.validation.impl; import org.kuali.kfs.coreservice.framework.parameter.ParameterService; import org.kuali.kfs.module.purap.PurapConstants; import org.kuali.kfs.module.purap.PurapParameterConstants; import org.kuali.kfs.module.purap.PurapRuleConstants; import org.kuali.kfs.module.purap.document.RequisitionDocument; import org.kuali.kfs.sys.context.SpringContext; import org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent; public class RequisitionNewIndividualItemValidation extends PurchasingNewIndividualItemValidation { public boolean validate(AttributedDocumentEvent event) { return super.validate(event); } @Override protected boolean commodityCodeIsRequired() { //if the ENABLE_COMMODITY_CODE_IND parameter is N then we don't //need to check for the ITEMS_REQUIRE_COMMODITY_CODE_IND parameter anymore, just return false. boolean enableCommodityCode = SpringContext.getBean(ParameterService.class).getParameterValueAsBoolean(PurapConstants.PURAP_NAMESPACE, "Document", PurapParameterConstants.ENABLE_COMMODITY_CODE_IND); if (!enableCommodityCode) { return false; } else { return super.getParameterService().getParameterValueAsBoolean(RequisitionDocument.class, PurapRuleConstants.ITEMS_REQUIRE_COMMODITY_CODE_IND); } } }
quikkian-ua-devops/will-financials
kfs-purap/src/main/java/org/kuali/kfs/module/purap/document/validation/impl/RequisitionNewIndividualItemValidation.java
Java
agpl-3.0
2,205
// License: MIT #pragma once //\brief: TypeFlags, mostly used to define updatePackets. //\note: check out class inheritance. it is not true that every unit is "just" a creature. /* object - unit - - player - - creature - - - pet <- probably wrong inheritance from summon not from creature - - - totem <- probably wrong inheritance from summon not from creature - - - vehicle - - - summon (pets and totems are always summons) - - - - pet - - - - totem - gameobject - dynamicobject - corpse - item - - container */ enum TYPE { TYPE_OBJECT = 1, TYPE_ITEM = 2, TYPE_CONTAINER = 4, TYPE_UNIT = 8, TYPE_PLAYER = 16, TYPE_GAMEOBJECT = 32, TYPE_DYNAMICOBJECT = 64, TYPE_CORPSE = 128, //TYPE_AIGROUP = 256, not used //TYPE_AREATRIGGER = 512, not used //TYPE_IN_GUILD = 1024 not used }; //\todo: remove these typeIds and use flags instead. No reason to use two different enums to define a object type. enum TYPEID { TYPEID_OBJECT = 0, TYPEID_ITEM = 1, TYPEID_CONTAINER = 2, TYPEID_UNIT = 3, TYPEID_PLAYER = 4, TYPEID_GAMEOBJECT = 5, TYPEID_DYNAMICOBJECT = 6, TYPEID_CORPSE = 7, //TYPEID_AIGROUP = 8, not used //TYPEID_AREATRIGGER = 9 not used (WoWTrigger is a thing on Cata) }; #ifdef AE_CATA enum OBJECT_UPDATE_TYPE { UPDATETYPE_VALUES = 0, UPDATETYPE_CREATE_OBJECT = 1, UPDATETYPE_CREATE_OBJECT2 = 2, UPDATETYPE_OUT_OF_RANGE_OBJECTS = 3 }; #else enum OBJECT_UPDATE_TYPE { UPDATETYPE_VALUES = 0, UPDATETYPE_MOVEMENT = 1, UPDATETYPE_CREATE_OBJECT = 2, UPDATETYPE_CREATE_YOURSELF = 3, UPDATETYPE_OUT_OF_RANGE_OBJECTS = 4 }; #endif enum PHASECOMMANDS { PHASE_SET = 0, /// overwrites the phase value with the supplied one PHASE_ADD = 1, /// adds the new bits to the current phase value PHASE_DEL = 2, /// removes the given bits from the current phase value PHASE_RESET = 3 /// sets the default phase of 1, same as PHASE_SET with 1 as the new value };
master312/AscEmu
src/world/Objects/ObjectDefines.h
C
agpl-3.0
2,026
<?php declare(strict_types=1); /** * @copyright Copyright (c) 2020, Morris Jobke <[email protected]> * * @author Morris Jobke <[email protected]> * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * 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 Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ namespace OC\Files\Mount; use OC\Files\ObjectStore\AppdataPreviewObjectStoreStorage; use OC\Files\ObjectStore\ObjectStoreStorage; use OC\Files\Storage\Wrapper\Jail; use OCP\Files\Config\IRootMountProvider; use OCP\Files\Storage\IStorageFactory; use OCP\IConfig; use OCP\ILogger; /** * Mount provider for object store app data folder for previews */ class ObjectStorePreviewCacheMountProvider implements IRootMountProvider { /** @var ILogger */ private $logger; /** @var IConfig */ private $config; public function __construct(ILogger $logger, IConfig $config) { $this->logger = $logger; $this->config = $config; } /** * @return MountPoint[] * @throws \Exception */ public function getRootMounts(IStorageFactory $loader): array { if (!is_array($this->config->getSystemValue('objectstore_multibucket'))) { return []; } if ($this->config->getSystemValue('objectstore.multibucket.preview-distribution', false) !== true) { return []; } $instanceId = $this->config->getSystemValueString('instanceid', ''); $mountPoints = []; $directoryRange = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f']; $i = 0; foreach ($directoryRange as $parent) { foreach ($directoryRange as $child) { $mountPoints[] = new MountPoint( AppdataPreviewObjectStoreStorage::class, '/appdata_' . $instanceId . '/preview/' . $parent . '/' . $child, $this->getMultiBucketObjectStore($i), $loader ); $i++; } } $rootStorageArguments = $this->getMultiBucketObjectStoreForRoot(); $fakeRootStorage = new ObjectStoreStorage($rootStorageArguments); $fakeRootStorageJail = new Jail([ 'storage' => $fakeRootStorage, 'root' => '/appdata_' . $instanceId . '/preview', ]); // add a fallback location to be able to fetch existing previews from the old bucket $mountPoints[] = new MountPoint( $fakeRootStorageJail, '/appdata_' . $instanceId . '/preview/old-multibucket', null, $loader ); return $mountPoints; } protected function getMultiBucketObjectStore(int $number): array { $config = $this->config->getSystemValue('objectstore_multibucket'); // sanity checks if (empty($config['class'])) { $this->logger->error('No class given for objectstore', ['app' => 'files']); } if (!isset($config['arguments'])) { $config['arguments'] = []; } /* * Use any provided bucket argument as prefix * and add the mapping from parent/child => bucket */ if (!isset($config['arguments']['bucket'])) { $config['arguments']['bucket'] = ''; } $config['arguments']['bucket'] .= "-preview-$number"; // instantiate object store implementation $config['arguments']['objectstore'] = new $config['class']($config['arguments']); $config['arguments']['internal-id'] = $number; return $config['arguments']; } protected function getMultiBucketObjectStoreForRoot(): array { $config = $this->config->getSystemValue('objectstore_multibucket'); // sanity checks if (empty($config['class'])) { $this->logger->error('No class given for objectstore', ['app' => 'files']); } if (!isset($config['arguments'])) { $config['arguments'] = []; } /* * Use any provided bucket argument as prefix * and add the mapping from parent/child => bucket */ if (!isset($config['arguments']['bucket'])) { $config['arguments']['bucket'] = ''; } $config['arguments']['bucket'] .= '0'; // instantiate object store implementation $config['arguments']['objectstore'] = new $config['class']($config['arguments']); return $config['arguments']; } }
andreas-p/nextcloud-server
lib/private/Files/Mount/ObjectStorePreviewCacheMountProvider.php
PHP
agpl-3.0
4,483
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <link rel="SHORTCUT ICON" href="../../../../../../../img/clover.ico" /> <link rel="stylesheet" href="../../../../../../../aui/css/aui.min.css" media="all"/> <link rel="stylesheet" href="../../../../../../../aui/css/aui-experimental.min.css" media="all"/> <!--[if IE 9]><link rel="stylesheet" href="../../../../../../../aui/css/aui-ie9.min.css" media="all"/><![endif]--> <style type="text/css" media="all"> @import url('../../../../../../../style.css'); @import url('../../../../../../../tree.css'); </style> <script src="../../../../../../../jquery-1.8.3.min.js" type="text/javascript"></script> <script src="../../../../../../../aui/js/aui.min.js" type="text/javascript"></script> <script src="../../../../../../../aui/js/aui-experimental.min.js" type="text/javascript"></script> <script src="../../../../../../../aui/js/aui-soy.min.js" type="text/javascript"></script> <script src="../../../../../../../package-nodes-tree.js" type="text/javascript"></script> <script src="../../../../../../../clover-tree.js" type="text/javascript"></script> <script src="../../../../../../../clover.js" type="text/javascript"></script> <script src="../../../../../../../clover-descriptions.js" type="text/javascript"></script> <script src="../../../../../../../cloud.js" type="text/javascript"></script> <title>rapidminer-studio-core 转换结果 </title> </head> <body > <div id="page"> <header id="header" role="banner"> <nav class="aui-header aui-dropdown2-trigger-group" role="navigation"> <div class="aui-header-inner"> <div class="aui-header-primary"> <h1 id="logo" class="aui-header-logo aui-header-logo-clover"> <a href="http://www.atlassian.com/clover" title="Open Atlassian Clover home page"><span class="aui-header-logo-device">Clover</span></a> </h1> </div> <div class="aui-header-secondary"> <ul class="aui-nav"> <li id="system-help-menu"> <a class="aui-nav-link" title="Open online Clover documentation" target="_blank" href="https://confluence.atlassian.com/display/CLOVER/Clover+Documentation+Home"> <span class="aui-icon aui-icon-small aui-iconfont-help">&#160;Help</span> </a> </li> </ul> </div> </div> </nav> </header> <div class="aui-page-panel"> <div class="aui-page-panel-inner"> <div class="aui-page-panel-nav aui-page-panel-nav-clover"> <div class="aui-page-header-inner" style="margin-bottom: 20px;"> <div class="aui-page-header-image"> <div class="aui-avatar aui-avatar-large aui-avatar-project"> <div class="aui-avatar-inner"> <img src="../../../../../../../img/clover_logo_large.png" alt="Clover icon"/> </div> </div> </div> <div class="aui-page-header-main" > <h1> rapidminer-studio-core 转换结果 </h1> </div> </div> <nav class="aui-navgroup aui-navgroup-vertical"> <div class="aui-navgroup-inner"> <ul class="aui-nav"> <li class=""> <a href="../../../../../../../dashboard.html">Project overview</a> </li> </ul> <div class="aui-nav-heading packages-nav-heading"> <strong>Packages</strong> </div> <div class="aui-nav project-packages"> <form method="get" action="#" class="aui package-filter-container"> <input type="text" autocomplete="off" class="package-filter text" placeholder="Type to filter packages..." name="package-filter" id="package-filter" title="Start typing package name (or part of the name) to search through the tree. Use arrow keys and the Enter key to navigate."/> </form> <p class="package-filter-no-results-message hidden"> <small>No results found.</small> </p> <div class="packages-tree-wrapper" data-root-relative="../../../../../../../" data-package-name="com.rapidminer.tools.expression.internal.function.bitwise"> <div class="packages-tree-container"></div> <div class="clover-packages-lozenges"></div> </div> </div> </div> </nav> </div> <section class="aui-page-panel-content"> <div class="aui-page-panel-content-clover"> <ol class="aui-nav aui-nav-breadcrumbs"> <li><a href="../../../../../../../dashboard.html">Project Clover database 星期二 九月 5 2017 16:40:29 CST</a></li> </ol> <h1 class="aui-h2-clover"> Package com.rapidminer.tools.expression.internal.function.bitwise </h1> <div class="aui-tabs horizontal-tabs"> <ul class="tabs-menu"> <li class="menu-item "> <a href="pkg-summary.html"><strong>Application code</strong></a> </li> <li class="menu-item active-tab"> <a href="top-risks.html"><strong>Top risks</strong></a> </li> <li class="menu-item "> <a href="quick-wins.html"><strong>Quick wins</strong></a> </li> </ul> <div class="tabs-pane active-pane" id="tabs-first"> <div>&#160;</div> <div class="aui-message aui-message-warning"> <p class="title"> <strong>Evaluation License</strong> </p> <p> This report was generated with an evaluation server license. <a href="http://www.atlassian.com/software/clover">Purchase Clover</a> or <a href="http://confluence.atlassian.com/x/JAgQCQ">configure your license.</a> </p> </div> <div style="text-align: right; margin-bottom: 10px"> <button class="aui-button aui-button-subtle" id="popupHelp"> <span class="aui-icon aui-icon-small aui-iconfont-help"></span>&#160;How to read this chart </button> <script> AJS.InlineDialog(AJS.$("#popupHelp"), "helpDialog", function (content, trigger, showPopup) { var description = topRisksDescription(); var title = 'Top Risks'; content.css({"padding": "20px"}).html( '<h2>' + title + '</h2>' + description); showPopup(); return false; }, { width: 600 } ); </script> </div> <div style="padding: 20px; border: 1px solid #cccccc; background-color: #f5f5f5; border-radius: 3px"> <div id="shallowPackageCloud" > </div> </div> </div> <!-- tabs-pane active-pane --> </div> <!-- aui-tabs horizontal-tabs --> </div> <!-- class="aui-page-panel-content-clover" --> <footer id="footer" role="contentinfo"> <section class="footer-body"> <ul> <li> Report generated by <a target="_new" href="http://www.atlassian.com/software/clover">Atlassian Clover</a> v 4.1.2 on 星期二 九月 5 2017 17:24:16 CST using coverage data from 星期四 一月 1 1970 08:00:00 CST. </li> </ul> <ul> <li>Clover Evaluation License registered to Clover Plugin. You have 29 day(s) before your license expires.</li> </ul> <div id="footer-logo"> <a target="_blank" href="http://www.atlassian.com/"> Atlassian </a> </div> </section> </footer> </section> <!-- class="aui-page-panel-content" --> </div> <!-- class="aui-page-panel-inner" --> </div> <!-- class="aui-page-panel" --> </div> <!-- id="page" --> </body> </html>
cm-is-dog/rapidminer-studio-core
report/html/com/rapidminer/tools/expression/internal/function/bitwise/top-risks.html
HTML
agpl-3.0
8,599
# -- # Kernel/GenericInterface/Operation/Session/SessionCreate.pm - GenericInterface SessionCreate operation backend # Copyright (C) 2001-2014 OTRS AG, http://otrs.com/ # -- # This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (AGPL). If you # did not receive this file, see http://www.gnu.org/licenses/agpl.txt. # -- package Kernel::GenericInterface::Operation::Session::SessionCreate; use strict; use warnings; use Kernel::GenericInterface::Operation::Common; use Kernel::GenericInterface::Operation::Session::Common; use Kernel::System::VariableCheck qw(IsStringWithData IsHashRefWithData); use vars qw(@ISA); =head1 NAME Kernel::GenericInterface::Operation::Ticket::SessionCreate - GenericInterface Session Create Operation backend =head1 SYNOPSIS =head1 PUBLIC INTERFACE =over 4 =cut =item new() usually, you want to create an instance of this by using Kernel::GenericInterface::Operation->new(); =cut sub new { my ( $Type, %Param ) = @_; my $Self = {}; bless( $Self, $Type ); # check needed objects for my $Needed ( qw(DebuggerObject ConfigObject MainObject LogObject TimeObject DBObject EncodeObject WebserviceID) ) { if ( !$Param{$Needed} ) { return { Success => 0, ErrorMessage => "Got no $Needed!" }; } $Self->{$Needed} = $Param{$Needed}; } # create additional objects $Self->{CommonObject} = Kernel::GenericInterface::Operation::Common->new( %{$Self} ); $Self->{SessionCommonObject} = Kernel::GenericInterface::Operation::Session::Common->new( %{$Self} ); return $Self; } =item Run() Retrieve a new session id value. my $Result = $OperationObject->Run( Data => { UserLogin => 'Agent1', CustomerUserLogin => 'Customer1', # optional, provide UserLogin or CustomerUserLogin Password => 'some password', # plain text password }, ); $Result = { Success => 1, # 0 or 1 ErrorMessage => '', # In case of an error Data => { SessionID => $SessionID, }, }; =cut sub Run { my ( $Self, %Param ) = @_; # check needed stuff if ( !IsHashRefWithData( $Param{Data} ) ) { return $Self->{CommonObject}->ReturnError( ErrorCode => 'SessionCreate.MissingParameter', ErrorMessage => "SessionCreate: The request is empty!", ); } for my $Needed (qw( Password )) { if ( !$Param{Data}->{$Needed} ) { return $Self->{CommonObject}->ReturnError( ErrorCode => 'SessionCreate.MissingParameter', ErrorMessage => "SessionCreate: $Needed parameter is missing!", ); } } my $SessionID = $Self->{SessionCommonObject}->CreateSessionID( %Param, ); if ( !$SessionID ) { return $Self->{CommonObject}->ReturnError( ErrorCode => 'SessionCreate.AuthFail', ErrorMessage => "SessionCreate: Authorization failing!", ); } return { Success => 1, Data => { SessionID => $SessionID, }, }; } 1; =back =head1 TERMS AND CONDITIONS This software is part of the OTRS project (L<http://otrs.org/>). This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (AGPL). If you did not receive this file, see L<http://www.gnu.org/licenses/agpl.txt>. =cut
rahulvador/CoreHD
Kernel/GenericInterface/Operation/Session/SessionCreate.pm
Perl
agpl-3.0
3,682
<?php /** * plentymarkets shopware connector * Copyright © 2013 plentymarkets GmbH * * According to our dual licensing model, this program can be used either * under the terms of the GNU Affero General Public License, version 3, * or under a proprietary license. * * The texts of the GNU Affero General Public License, supplemented by an additional * permission, and of our proprietary license can be found * in the LICENSE file you have received along with this program. * * 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 Affero General Public License for more details. * * "plentymarkets" is a registered trademark of plentymarkets GmbH. * "shopware" is a registered trademark of shopware AG. * The licensing of the program under the AGPLv3 does not imply a * trademark license. Therefore any rights, titles and interests in the * above trademarks remain entirely with the trademark owners. * * @copyright Copyright (c) 2013, plentymarkets GmbH (http://www.plentymarkets.com) * @author Daniel Bächtle <[email protected]> */ /** * I am a generated class and am required for communicating with plentymarkets. */ class PlentySoapObject_ItemBase { /** * @var ArrayOfPlentysoapobject_itemattributevalueset */ public $AttributeValueSets; /** * @var PlentySoapObject_ItemAvailability */ public $Availability; /** * @var string */ public $BundleType; /** * @var ArrayOfPlentysoapobject_itemcategory */ public $Categories; /** * @var int */ public $Condition; /** * @var string */ public $CustomsTariffNumber; /** * @var string */ public $DeepLink; /** * @var string */ public $EAN1; /** * @var string */ public $EAN2; /** * @var string */ public $EAN3; /** * @var string */ public $EAN4; /** * @var string */ public $ExternalItemID; /** * @var int */ public $FSK; /** * @var PlentySoapObject_ItemFreeTextFields */ public $FreeTextFields; /** * @var int */ public $HasAttributes; /** * @var string */ public $ISBN; /** * @var int */ public $Inserted; /** * @var ArrayOfPlentysoapobject_itemattributemarkup */ public $ItemAttributeMarkup; /** * @var int */ public $ItemID; /** * @var string */ public $ItemNo; /** * @var ArrayOfPlentysoapobject_itemproperty */ public $ItemProperties; /** * @var ArrayOfPlentysoapobject_itemsupplier */ public $ItemSuppliers; /** * @var string */ public $ItemURL; /** * @var int */ public $LastUpdate; /** * @var int */ public $Marking1ID; /** * @var int */ public $Marking2ID; /** * @var string */ public $Model; /** * @var PlentySoapObject_ItemOthers */ public $Others; /** * @var ArrayOfPlentysoapobject_integer */ public $ParcelServicePresetIDs; /** * @var string */ public $Position; /** * @var PlentySoapObject_ItemPriceSet */ public $PriceSet; /** * @var int */ public $ProducerID; /** * @var string */ public $ProducerName; /** * @var int */ public $ProducingCountryID; /** * @var int */ public $Published; /** * @var PlentySoapObject_ItemStock */ public $Stock; /** * @var int */ public $StorageLocation; /** * @var PlentySoapObject_ItemTexts */ public $Texts; /** * @var int */ public $Type; /** * @var int */ public $VATInternalID; /** * @var string */ public $WebShopSpecial; }
k-30/plentymarkets-shopware-connector
Components/Soap/Models/PlentySoapObject/ItemBase.php
PHP
agpl-3.0
3,646
<div id="detail_{{ object.id }}" class="detail box ui-draggable ui-droppable expanded expanded-padding"> <div class="box-header"> <div class="box-name ui-draggable-handle"> <i class="fa fa-fw fa-search"></i> <span>Details of subscription {{ object.name }}</span> </div> <div class="box-icons"> <a class="collapse-link"> <i class="fa fa-chevron-up"></i> </a> <a class="expand-link"> <i class="fa fa-expand"></i> </a> <a class="close-link"> <i class="fa fa-times"></i> </a> </div> <div class="no-move"></div> </div> <div class="box-content"> <div id="details-content"> <div class="container-fluid"> <div class="row"> <div class="col-sm-8"> <div class="panel panel-primary"> <div class="panel-heading">Your subscription</div> <div class="panel-body"> <h4 class="page-header">Your subscription</h4> <div class="form-group"> <label class="col-sm-3 control-label">Subscription category</label> <div class="col-sm-9 value">{{ subscription.category.label.capitalize }}</div> </div> {% if subscription.referrer %} <div class="form-group"> <label class="col-sm-3 control-label">Referrer</label> <div class="col-sm-9 value">{{ subscription.referrer }}</div> </div> {% endif %} </div> <table class="table"> <caption><h4 class="page-header">Modules selected</h4></caption> <thead> <tr> <th>Name</th> <th>Monthly cost</th> <th>Yearly cost</th> </tr> </thead> <tbody> {% for module in subscription.modules.all %} {% if module.monthly_price > 0 %} <tr> <td>{{ label }}</td> <td>{{ module.monthly_price }} €</td> <td>{{ module.yearly_price }} €</td> </tr> {% endif %} {% endfor %} </tbody> </table> <div class="panel-footer"> To change details of your subscription, please contact us. last modified, et tout çà. </div> </div> </div> <div class="col-sm-4"> <div class="panel panel-primary"> <div class="panel-heading">Assigned users</div> <div class="panel-body"> <h4 class="page-header">Subscription owner</h4> <div class="form-group"> <label class="col-sm-5 control-label">First name</label> <div class="col-sm-7 value"> {{ subscription.owner.first_name }} </div> </div> <div class="form-group"> <label class="col-sm-5 control-label">Last name</label> <div class="col-sm-7 value"> {{ subscription.owner.last_name }} </div> </div> <div class="form-group"> <label class="col-sm-5 control-label">Email</label> <div class="col-sm-7 value"> {{ subscription.owner.email }} </div> </div> {% if subscription.company_name %} <div class="form-group"> <label class="col-sm-5 control-label">On behalf of company</label> <div class="col-sm-7 value">{{ subscription.company_name }}</div> </div> {% endif %} </div> <table class="table"> <caption><h4 class="page-header">Access accounts</h4></caption> <thead> <tr> <th>Name</th> <th>Email</th> <th>Role</th> <th>Status</th> </tr> </thead> <tbody> {% for account in subscription.saas_access_account_set.all %} <tr> <td>{{ account.user.profile.label }}</td> <td>{{ account.user.username }}</td> <td>{{ account.role.label }}</td> <td>{% if account.status.label == "created" %} <button type="button" class="btn btn-primary btn-label-left"><span><i class="fa fa-fw fa-sign-in"></i></span>Created</button> {% elif account.status.label == "activated" %} <button type="button" class="btn btn-info btn-label-left"><span><i class="fa fa-fw fa-asterisk"></i></span>Activated</button> {% elif account.status.label == "ongoing" %} <button type="button" class="btn btn-success btn-label-left"><span><i class="fa fa-fw fa-thumbs-o-up"></i></span>Ongoing</button> {% elif account.status.label == "suspended" %} <button type="button" class="btn btn-info btn-label-left"><span><i class="fa fa-fw fa-asterisk"></i></span>Suspended</button> {% elif account.status.label == "terminated" %} <button type="button" class="btn btn-danger btn-label-left"><span><i class="fa fa-fw fa-question"></i></span>Terminated</button> {% else %} <button type="button" class="btn btn-default btn-label-left"><span><i class="fa fa-fw fa-question"></i></span>{{ account.status }}</button> {% endif %} </td> </tr> {% endfor %} </tbody> </table> <div class="panel-footer"> <form method="post" class="form-inline add_access_account" role="form" action="{% url 'saas:send_invitation' %}""> {% csrf_token %} <input type="hidden" name="invitation-subscription" value="{{ subscription.pk }}" /> <div class="form-group"> <label for="invitation-email">Email</label> <input type="email" class="form-control" id="invitation-email" name="invitation-email" placeholder="Guest email"> </div> <button type="submit" class="btn btn-primary btn-label-left"><span><i class="fa fa-fw fa-send"></i></span>Send invitation</button> </form> </div> </div> </div> </div> </div> </div> </div> </div>
inspyration/django-gluon
gluon/saas/templates/subscription.html
HTML
agpl-3.0
9,056
/********************************************************************* * Portions COPYRIGHT 2016 STMicroelectronics * * Portions SEGGER Microcontroller GmbH & Co. KG * * Solutions for real time microcontroller applications * ********************************************************************** * * * (c) 1996 - 2015 SEGGER Microcontroller GmbH & Co. KG * * * * Internet: www.segger.com Support: [email protected] * * * ********************************************************************** ** emWin V5.28 - Graphical user interface for embedded applications ** All Intellectual Property rights in the Software belongs to SEGGER. emWin is protected by international copyright laws. Knowledge of the source code may not be used to write a similar product. This file may only be used in accordance with the following terms: The software has been licensed to STMicroelectronics International N.V. a Dutch company with a Swiss branch and its headquarters in Plan- les-Ouates, Geneva, 39 Chemin du Champ des Filles, Switzerland for the purposes of creating libraries for ARM Cortex-M-based 32-bit microcon_ troller products commercialized by Licensee only, sublicensed and dis_ tributed under the terms and conditions of the End User License Agree_ ment supplied by STMicroelectronics International N.V. Full source code is available at: www.segger.com We appreciate your understanding and fairness. ---------------------------------------------------------------------- File : GUIDEMO_Resource.c Purpose : Contains fonts and bitmaps used in the demo. ---------------------------END-OF-HEADER------------------------------ */ /** ****************************************************************************** * @file GUIDEMO_Resource.c * @author MCD Application Team * @version V1.2.3 * @date 29-January-2016 * @brief Contains fonts and bitmaps used in the demo. ****************************************************************************** * @attention * * Licensed under MCD-ST Liberty SW License Agreement V2, (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.st.com/software_license_agreement_liberty_v2 * * 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 "GUIDEMO.h" #ifndef GUI_CONST_STORAGE #define GUI_CONST_STORAGE const #endif /********************************************************************* * * * Fonts * * * ********************************************************************** */ /********************************************************************* * * * GUI_FontD6x8 * * * * Used in GUIDEMO.c (PROGBAR) * * * ********************************************************************** */ static GUI_CONST_STORAGE unsigned char acFontD6x8[16][8] = { { _XXX____, X___X___, X___X___, X___X___, X___X___, X___X___, X___X___, _XXX____, },{ __X_____, _XX_____, __X_____, __X_____, __X_____, __X_____, __X_____, _XXX____, },{ _XXX____, X___X___, ____X___, ___X____, __X_____, _X______, X_______, XXXXX___, },{ _XXX____, X___X___, ____X___, ___X____, ___X____, ____X___, X___X___, _XXX____, },{ ___X____, __XX____, _X_X____, X__X____, XXXXX___, ___X____, ___X____, ___X____, },{ XXXXX___, X_______, X_______, XXXX____, ____X___, ____X___, X___X___, _XXX____, },{ __XX____, _X______, X_______, XXXX____, X___X___, X___X___, X___X___, _XXX____, },{ XXXXX___, ____X___, ____X___, ___X____, __X_____, _X______, _X______, _X______, },{ _XXX____, X___X___, X___X___, _XXX____, X___X___, X___X___, X___X___, _XXX____, },{ _XXX____, X___X___, X___X___, _XXXX___, ____X___, ____X___, ___X____, _XX_____, },{ ________, ________, __X_____, __X_____, XXXXX___, __X_____, __X_____, ________, },{ ________, ________, ________, ________, XXXXX___, ________, ________, ________, },{ ________, ________, ________, ________, ________, ________, ________, ________, },{ ________, ________, ________, ________, ________, ________, _XX_____, _XX_____, },{ ________, ________, _XX_____, _XX_____, ________, _XX_____, _XX_____, ________ },{ ________, _XX___X_, _XX__X__, ____X___, ___X____, __X__XX_, _X___XX_, ________} }; static GUI_CONST_STORAGE GUI_CHARINFO GUI_FontD6x8_CharInfo[16] = { { 6, 6, 1, acFontD6x8[12] } /* code 0020 ' ' */ ,{ 6, 6, 1, acFontD6x8[15] } /* code 0025 '%' */ ,{ 6, 6, 1, acFontD6x8[10] } /* code 002B '+' */ ,{ 6, 6, 1, acFontD6x8[11] } /* code 002D '-' */ ,{ 6, 6, 1, acFontD6x8[13] } /* code 002E '.' */ ,{ 6, 6, 1, acFontD6x8[0] } /* code 0030 '0' */ ,{ 6, 6, 1, acFontD6x8[1] } /* code 0031 '1' */ ,{ 6, 6, 1, acFontD6x8[2] } /* code 0032 '2' */ ,{ 6, 6, 1, acFontD6x8[3] } /* code 0033 '3' */ ,{ 6, 6, 1, acFontD6x8[4] } /* code 0034 '4' */ ,{ 6, 6, 1, acFontD6x8[5] } /* code 0035 '5' */ ,{ 6, 6, 1, acFontD6x8[6] } /* code 0036 '6' */ ,{ 6, 6, 1, acFontD6x8[7] } /* code 0037 '7' */ ,{ 6, 6, 1, acFontD6x8[8] } /* code 0038 '8' */ ,{ 6, 6, 1, acFontD6x8[9] } /* code 0039 '9' */ ,{ 6, 6, 1, acFontD6x8[14] } /* code 003A ':' */ }; static GUI_CONST_STORAGE GUI_FONT_PROP GUI_FontD6x8_Prop5 = { 0x0030 /* first character */ ,0x003A /* last character */ ,&GUI_FontD6x8_CharInfo[ 5] /* address of first character */ ,(GUI_CONST_STORAGE GUI_FONT_PROP*)0 /* pointer to next GUI_FONT_PROP */ }; static GUI_CONST_STORAGE GUI_FONT_PROP GUI_FontD6x8_Prop4 = { 0x002D /* first character */ ,0x002E /* last character */ ,&GUI_FontD6x8_CharInfo[ 3] /* address of first character */ ,&GUI_FontD6x8_Prop5 /* pointer to next GUI_FONT_PROP */ }; static GUI_CONST_STORAGE GUI_FONT_PROP GUI_FontD6x8_Prop3 = { 0x002B /* first character */ ,0x002B /* last character */ ,&GUI_FontD6x8_CharInfo[ 2] /* address of first character */ ,&GUI_FontD6x8_Prop4 /* pointer to next GUI_FONT_PROP */ }; static GUI_CONST_STORAGE GUI_FONT_PROP GUI_FontD6x8_Prop2 = { 0x0025 /* first character */ ,0x0025 /* last character */ ,&GUI_FontD6x8_CharInfo[ 1] /* address of first character */ ,&GUI_FontD6x8_Prop3 /* pointer to next GUI_FONT_PROP */ }; static GUI_CONST_STORAGE GUI_FONT_PROP GUI_FontD6x8_Prop1 = { 0x0020 /* first character */ ,0x0020 /* last character */ ,&GUI_FontD6x8_CharInfo[ 0] /* address of first character */ ,&GUI_FontD6x8_Prop2 /* pointer to next GUI_FONT_PROP */ }; GUI_CONST_STORAGE GUI_FONT GUI_FontD6x8 = { GUI_FONTTYPE_PROP /* type of font */ ,8 /* height of font */ ,8 /* space of font y */ ,1 /* magnification x */ ,1 /* magnification y */ ,{&GUI_FontD6x8_Prop1} ,8 /* Baseline */ ,0 /* LHeight */ ,8 /* CHeight */ }; /********************************************************************* * * * GUI_FontRounded16 * * * * Used in * * - GUIDEMO_Automotive.c * * - GUIDEMO_Cursor.c * * - GUIDEMO_Speedometer.c * * * ********************************************************************** */ GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0020[ 1] = { /* code 0020, SPACE */ 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0021[ 22] = { /* code 0021, EXCLAMATION MARK */ 0x56, 0x00, 0xFF, 0x10, 0xFF, 0x20, 0xEF, 0x10, 0xCE, 0x00, 0xAC, 0x00, 0x89, 0x00, 0x01, 0x00, 0xCD, 0x10, 0xCE, 0x10, 0x01, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0022[ 15] = { /* code 0022, QUOTATION MARK */ 0x36, 0x07, 0x30, 0x9F, 0x3F, 0x90, 0x9F, 0x4F, 0x90, 0x9F, 0x3F, 0x90, 0x24, 0x05, 0x20 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0023[ 44] = { /* code 0023, NUMBER SIGN */ 0x00, 0x03, 0x02, 0x10, 0x00, 0x5E, 0x0D, 0x60, 0x00, 0x8C, 0x0F, 0x40, 0x07, 0xDE, 0xAF, 0xA1, 0x09, 0xFD, 0xDF, 0xB2, 0x00, 0xE6, 0x7D, 0x00, 0x3B, 0xFC, 0xDE, 0x90, 0x19, 0xF8, 0xDC, 0x50, 0x05, 0xF0, 0xD7, 0x00, 0x07, 0xC0, 0xF4, 0x00, 0x00, 0x10, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0024[ 48] = { /* code 0024, DOLLAR SIGN */ 0x00, 0x17, 0x71, 0x00, 0x08, 0xFF, 0xFF, 0x91, 0x4F, 0x87, 0x79, 0xF7, 0x7F, 0x36, 0x60, 0x62, 0x3F, 0xEC, 0x92, 0x00, 0x05, 0xCF, 0xFF, 0xB1, 0x00, 0x06, 0x9B, 0xF7, 0x9E, 0x06, 0x60, 0xF9, 0x7F, 0x97, 0x78, 0xF6, 0x09, 0xFF, 0xFF, 0x80, 0x00, 0x17, 0x70, 0x00, 0x00, 0x02, 0x20, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0025[ 66] = { /* code 0025, PERCENT SIGN */ 0x02, 0x30, 0x00, 0x04, 0x30, 0x00, 0x6F, 0xDC, 0x00, 0x1E, 0x30, 0x00, 0xD8, 0x2F, 0x50, 0x79, 0x00, 0x00, 0xF7, 0x0F, 0x61, 0xE2, 0x00, 0x00, 0xBB, 0x7F, 0x28, 0x90, 0x00, 0x00, 0x19, 0xB5, 0x2E, 0x16, 0xBA, 0x20, 0x00, 0x00, 0x98, 0x3F, 0x6B, 0xB0, 0x00, 0x02, 0xE1, 0x6F, 0x07, 0xF0, 0x00, 0x0A, 0x70, 0x4F, 0x28, 0xD0, 0x00, 0x3E, 0x00, 0x0B, 0xEF, 0x60, 0x00, 0x24, 0x00, 0x00, 0x21, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0026[ 55] = { /* code 0026, AMPERSAND */ 0x00, 0x05, 0x74, 0x00, 0x00, 0x00, 0xCF, 0xEF, 0x80, 0x00, 0x03, 0xF8, 0x0B, 0xF0, 0x00, 0x02, 0xFB, 0x2D, 0xD0, 0x00, 0x00, 0xAF, 0xFE, 0x40, 0x00, 0x08, 0xFF, 0xFB, 0x07, 0x50, 0x3F, 0xD2, 0xBF, 0xBF, 0x90, 0x6F, 0x70, 0x1D, 0xFE, 0x20, 0x3F, 0xD6, 0x7E, 0xFF, 0x50, 0x08, 0xFF, 0xFB, 0x4E, 0x90, 0x00, 0x12, 0x10, 0x01, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0027[ 5] = { /* code 0027, APOSTROPHE */ 0x45, 0xBD, 0xBD, 0xBD, 0x33 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0028[ 26] = { /* code 0028, LEFT PARENTHESIS */ 0x00, 0x37, 0x00, 0xCB, 0x04, 0xF7, 0x09, 0xF2, 0x0D, 0xD0, 0x1F, 0xB0, 0x2F, 0xB0, 0x1F, 0xB0, 0x0D, 0xD0, 0x09, 0xF2, 0x04, 0xF6, 0x00, 0xCB, 0x00, 0x37 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0029[ 26] = { /* code 0029, RIGHT PARENTHESIS */ 0x36, 0x00, 0x6F, 0x20, 0x2F, 0x90, 0x0C, 0xE0, 0x08, 0xF3, 0x06, 0xF6, 0x06, 0xF7, 0x06, 0xF6, 0x08, 0xF3, 0x0C, 0xE0, 0x2F, 0x90, 0x6F, 0x30, 0x47, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_002A[ 18] = { /* code 002A, ASTERISK */ 0x00, 0x33, 0x00, 0x12, 0x79, 0x21, 0x4F, 0xEE, 0xF5, 0x02, 0xFE, 0x30, 0x0A, 0x98, 0xA0, 0x01, 0x00, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_002B[ 32] = { /* code 002B, PLUS SIGN */ 0x00, 0x03, 0x20, 0x00, 0x00, 0x0D, 0xA0, 0x00, 0x00, 0x0D, 0xB0, 0x00, 0x37, 0x7E, 0xD7, 0x72, 0xAF, 0xFF, 0xFF, 0xF7, 0x02, 0x2D, 0xC2, 0x20, 0x00, 0x0D, 0xB0, 0x00, 0x00, 0x0B, 0x80, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_002C[ 8] = { /* code 002C, COMMA */ 0x0D, 0xD0, 0x0E, 0xF3, 0x01, 0xD1, 0x0B, 0x50 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_002D[ 9] = { /* code 002D, HYPHEN-MINUS */ 0x17, 0x77, 0x30, 0x7F, 0xFF, 0xB0, 0x04, 0x65, 0x20 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_002E[ 6] = { /* code 002E, FULL STOP */ 0x0D, 0xD0, 0x0D, 0xD0, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_002F[ 33] = { /* code 002F, SOLIDUS */ 0x00, 0x04, 0x50, 0x00, 0x0D, 0x90, 0x00, 0x4F, 0x30, 0x00, 0xAD, 0x00, 0x01, 0xF7, 0x00, 0x06, 0xF2, 0x00, 0x0C, 0xB0, 0x00, 0x3F, 0x50, 0x00, 0x8E, 0x00, 0x00, 0xD9, 0x00, 0x00, 0x20, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0030[ 44] = { /* code 0030, DIGIT ZERO */ 0x00, 0x03, 0x30, 0x00, 0x03, 0xDF, 0xFD, 0x30, 0x0D, 0xF7, 0x7F, 0xD0, 0x4F, 0xA0, 0x0B, 0xF4, 0x7F, 0x70, 0x07, 0xF6, 0x7F, 0x60, 0x07, 0xF7, 0x6F, 0x70, 0x07, 0xF6, 0x4F, 0xA0, 0x0B, 0xF3, 0x0D, 0xF7, 0x8F, 0xC0, 0x02, 0xDF, 0xFC, 0x20, 0x00, 0x02, 0x20, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0031[ 33] = { /* code 0031, DIGIT ONE */ 0x00, 0x00, 0x30, 0x00, 0x07, 0xF3, 0x04, 0x8F, 0xF4, 0x1F, 0xFF, 0xF4, 0x01, 0x2C, 0xF4, 0x00, 0x0B, 0xF4, 0x00, 0x0B, 0xF4, 0x00, 0x0B, 0xF4, 0x00, 0x0B, 0xF4, 0x00, 0x0A, 0xF2, 0x00, 0x00, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0032[ 40] = { /* code 0032, DIGIT TWO */ 0x00, 0x13, 0x30, 0x00, 0x06, 0xEF, 0xFE, 0x50, 0x4F, 0xD6, 0x7F, 0xF1, 0x7F, 0x50, 0x0B, 0xF4, 0x25, 0x00, 0x1E, 0xF1, 0x00, 0x05, 0xEF, 0x70, 0x01, 0xBF, 0xC4, 0x00, 0x1D, 0xF7, 0x00, 0x00, 0x7F, 0xD9, 0x99, 0x92, 0x6F, 0xFF, 0xFF, 0xF3 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0033[ 44] = { /* code 0033, DIGIT THREE */ 0x00, 0x13, 0x30, 0x00, 0x08, 0xFF, 0xFD, 0x20, 0x4F, 0xC6, 0x8F, 0xB0, 0x3B, 0x20, 0x0F, 0xC0, 0x00, 0x07, 0xAF, 0x60, 0x00, 0x1E, 0xFF, 0x70, 0x00, 0x00, 0x3F, 0xF1, 0x7E, 0x20, 0x0E, 0xF1, 0x7F, 0xC6, 0xAF, 0xC0, 0x09, 0xFF, 0xFB, 0x20, 0x00, 0x12, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0034[ 44] = { /* code 0034, DIGIT FOUR */ 0x00, 0x00, 0x13, 0x00, 0x00, 0x01, 0xCF, 0x30, 0x00, 0x0A, 0xFF, 0x40, 0x00, 0x7E, 0xBF, 0x40, 0x03, 0xF5, 0x9F, 0x40, 0x1E, 0x90, 0x9F, 0x40, 0xAF, 0xA9, 0xDF, 0xB4, 0x9D, 0xDD, 0xEF, 0xE7, 0x00, 0x00, 0x9F, 0x40, 0x00, 0x00, 0x8F, 0x30, 0x00, 0x00, 0x02, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0035[ 44] = { /* code 0035, DIGIT FIVE */ 0x00, 0x22, 0x22, 0x00, 0x0C, 0xFF, 0xFF, 0x90, 0x1F, 0xC9, 0x99, 0x40, 0x3F, 0x50, 0x00, 0x00, 0x6F, 0xCF, 0xFB, 0x10, 0x5F, 0xA6, 0xBF, 0xB0, 0x00, 0x00, 0x0E, 0xF1, 0x37, 0x00, 0x0E, 0xF0, 0x8F, 0xB6, 0xAF, 0xB0, 0x1B, 0xFF, 0xFA, 0x10, 0x00, 0x12, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0036[ 44] = { /* code 0036, DIGIT SIX */ 0x00, 0x03, 0x41, 0x00, 0x02, 0xCF, 0xFF, 0x80, 0x0C, 0xF5, 0x3D, 0xF0, 0x3F, 0x90, 0x01, 0x30, 0x6F, 0x9B, 0xDB, 0x40, 0x7F, 0xF9, 0x8E, 0xE2, 0x7F, 0x90, 0x08, 0xF6, 0x5F, 0x90, 0x08, 0xF6, 0x0D, 0xE7, 0x6E, 0xF2, 0x03, 0xDF, 0xFE, 0x50, 0x00, 0x02, 0x20, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0037[ 44] = { /* code 0037, DIGIT SEVEN */ 0x02, 0x22, 0x22, 0x10, 0xCF, 0xFF, 0xFF, 0xF1, 0x59, 0x99, 0xAF, 0xD0, 0x00, 0x00, 0xAE, 0x20, 0x00, 0x05, 0xF6, 0x00, 0x00, 0x0D, 0xD0, 0x00, 0x00, 0x6F, 0x70, 0x00, 0x00, 0xCF, 0x20, 0x00, 0x02, 0xFD, 0x00, 0x00, 0x03, 0xF9, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0038[ 44] = { /* code 0038, DIGIT EIGHT */ 0x00, 0x13, 0x31, 0x00, 0x06, 0xFF, 0xFE, 0x60, 0x2F, 0xD3, 0x4D, 0xF1, 0x3F, 0xA0, 0x0A, 0xF2, 0x0B, 0xE8, 0x8F, 0xB0, 0x09, 0xFD, 0xDF, 0x90, 0x6F, 0xA0, 0x0B, 0xF5, 0x7F, 0x60, 0x08, 0xF7, 0x3F, 0xE6, 0x6E, 0xF3, 0x06, 0xEF, 0xFE, 0x60, 0x00, 0x02, 0x20, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0039[ 44] = { /* code 0039, DIGIT NINE */ 0x00, 0x13, 0x30, 0x00, 0x06, 0xFF, 0xFD, 0x30, 0x3F, 0xD5, 0x5E, 0xD0, 0x7F, 0x70, 0x0A, 0xF4, 0x7F, 0x80, 0x0B, 0xF7, 0x2E, 0xF9, 0xAF, 0xF7, 0x03, 0xBD, 0xAA, 0xF5, 0x04, 0x10, 0x0A, 0xF2, 0x0F, 0xD4, 0x7F, 0xB0, 0x07, 0xFF, 0xFB, 0x10, 0x00, 0x12, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_003A[ 16] = { /* code 003A, COLON */ 0x09, 0x90, 0x1F, 0xF0, 0x03, 0x30, 0x00, 0x00, 0x00, 0x00, 0x0D, 0xD0, 0x0D, 0xD0, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_003B[ 18] = { /* code 003B, SEMICOLON */ 0x09, 0x90, 0x1F, 0xF0, 0x03, 0x30, 0x00, 0x00, 0x00, 0x00, 0x0D, 0xD0, 0x0E, 0xF3, 0x01, 0xD1, 0x0B, 0x50 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_003C[ 28] = { /* code 003C, LESS-THAN SIGN */ 0x00, 0x00, 0x28, 0xF6, 0x00, 0x3A, 0xFF, 0xA2, 0x3B, 0xFE, 0x82, 0x00, 0x9F, 0xF5, 0x00, 0x00, 0x06, 0xDF, 0xD7, 0x10, 0x00, 0x05, 0xCF, 0xE4, 0x00, 0x00, 0x03, 0x94 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_003D[ 20] = { /* code 003D, EQUALS SIGN */ 0xAF, 0xFF, 0xFF, 0xF7, 0x49, 0x99, 0x99, 0x93, 0x00, 0x00, 0x00, 0x00, 0x8D, 0xDD, 0xDD, 0xD6, 0x59, 0x99, 0x99, 0x93 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_003E[ 28] = { /* code 003E, GREATER-THAN SIGN */ 0x9E, 0x71, 0x00, 0x00, 0x3B, 0xFF, 0x82, 0x00, 0x00, 0x39, 0xFF, 0xA2, 0x00, 0x00, 0x8F, 0xF7, 0x02, 0x8E, 0xFB, 0x50, 0x7F, 0xFA, 0x30, 0x00, 0x58, 0x20, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_003F[ 44] = { /* code 003F, QUESTION MARK */ 0x00, 0x57, 0x72, 0x00, 0x0B, 0xFF, 0xFF, 0x50, 0x5F, 0x90, 0x4F, 0xC0, 0x39, 0x10, 0x3F, 0xD0, 0x00, 0x03, 0xEF, 0x50, 0x00, 0x2E, 0xE4, 0x00, 0x00, 0x4F, 0x50, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x5F, 0x60, 0x00, 0x00, 0x5F, 0x70, 0x00, 0x00, 0x01, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0040[ 55] = { /* code 0040, COMMERCIAL AT */ 0x00, 0x03, 0x79, 0x73, 0x00, 0x01, 0xBF, 0xB9, 0xBF, 0x90, 0x0B, 0xE3, 0x13, 0x03, 0xE7, 0x3F, 0x46, 0xFF, 0xCE, 0x6E, 0x8E, 0x1F, 0x94, 0xDC, 0x2F, 0x9C, 0x5F, 0x20, 0xAA, 0x3D, 0x7E, 0x4F, 0x75, 0xE9, 0xB7, 0x2F, 0x7B, 0xFD, 0xFF, 0x80, 0x06, 0xF7, 0x30, 0x27, 0x80, 0x00, 0x5D, 0xFF, 0xFC, 0x30, 0x00, 0x00, 0x24, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0041[ 55] = { /* code 0041, LATIN CAPITAL LETTER A */ 0x00, 0x05, 0x73, 0x00, 0x00, 0x00, 0x1F, 0xFD, 0x00, 0x00, 0x00, 0x7F, 0xFF, 0x30, 0x00, 0x00, 0xCF, 0x7F, 0x90, 0x00, 0x03, 0xFB, 0x1F, 0xE0, 0x00, 0x09, 0xF7, 0x0B, 0xF4, 0x00, 0x0E, 0xF9, 0x7B, 0xFA, 0x00, 0x5F, 0xFF, 0xFF, 0xFF, 0x10, 0xBF, 0x70, 0x00, 0xCF, 0x60, 0xCF, 0x10, 0x00, 0x6F, 0x70, 0x11, 0x00, 0x00, 0x02, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0042[ 40] = { /* code 0042, LATIN CAPITAL LETTER B */ 0x36, 0x66, 0x63, 0x00, 0xFF, 0xFF, 0xFF, 0xC1, 0xFF, 0x54, 0x5E, 0xF6, 0xFF, 0x20, 0x0A, 0xF6, 0xFF, 0x87, 0x9F, 0xC1, 0xFF, 0xDD, 0xEF, 0xD3, 0xFF, 0x20, 0x08, 0xFB, 0xFF, 0x20, 0x06, 0xFB, 0xFF, 0xA9, 0xAF, 0xF7, 0xCF, 0xFF, 0xFD, 0x80 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0043[ 55] = { /* code 0043, LATIN CAPITAL LETTER C */ 0x00, 0x04, 0x89, 0x61, 0x00, 0x01, 0xBF, 0xFF, 0xFE, 0x50, 0x09, 0xFD, 0x42, 0x8F, 0xE0, 0x1F, 0xF3, 0x00, 0x09, 0xA0, 0x3F, 0xE0, 0x00, 0x00, 0x00, 0x4F, 0xD0, 0x00, 0x00, 0x00, 0x3F, 0xE0, 0x00, 0x02, 0x20, 0x0E, 0xF6, 0x00, 0x1E, 0xF0, 0x07, 0xFF, 0xA8, 0xDF, 0xB0, 0x00, 0x7E, 0xFF, 0xFA, 0x10, 0x00, 0x00, 0x33, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0044[ 50] = { /* code 0044, LATIN CAPITAL LETTER D */ 0x36, 0x66, 0x52, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xB1, 0x00, 0xFF, 0x76, 0x7D, 0xFA, 0x00, 0xFF, 0x20, 0x03, 0xFF, 0x10, 0xFF, 0x20, 0x00, 0xEF, 0x40, 0xFF, 0x20, 0x00, 0xDF, 0x40, 0xFF, 0x20, 0x00, 0xFF, 0x30, 0xFF, 0x20, 0x07, 0xFE, 0x00, 0xFF, 0xCB, 0xCF, 0xF5, 0x00, 0xCF, 0xFF, 0xFB, 0x40, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0045[ 40] = { /* code 0045, LATIN CAPITAL LETTER E */ 0x26, 0x66, 0x66, 0x51, 0xEF, 0xFF, 0xFF, 0xF5, 0xFF, 0x76, 0x66, 0x50, 0xFF, 0x20, 0x00, 0x00, 0xFF, 0xA9, 0x99, 0x50, 0xFF, 0xFF, 0xFF, 0xA0, 0xFF, 0x20, 0x00, 0x00, 0xFF, 0x20, 0x00, 0x00, 0xFF, 0xCB, 0xBB, 0xB3, 0xBF, 0xFF, 0xFF, 0xF5 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0046[ 44] = { /* code 0046, LATIN CAPITAL LETTER F */ 0x26, 0x66, 0x66, 0x40, 0xEF, 0xFF, 0xFF, 0xF0, 0xFF, 0x76, 0x66, 0x40, 0xFF, 0x20, 0x00, 0x00, 0xFF, 0x87, 0x77, 0x10, 0xFF, 0xFF, 0xFF, 0x50, 0xFF, 0x32, 0x22, 0x00, 0xFF, 0x20, 0x00, 0x00, 0xFF, 0x20, 0x00, 0x00, 0xDF, 0x10, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0047[ 55] = { /* code 0047, LATIN CAPITAL LETTER G */ 0x00, 0x03, 0x79, 0x73, 0x00, 0x01, 0xBF, 0xFF, 0xFF, 0x80, 0x09, 0xFD, 0x52, 0x5E, 0xF2, 0x1F, 0xF3, 0x00, 0x04, 0x80, 0x4F, 0xE0, 0x00, 0x00, 0x00, 0x4F, 0xD0, 0x08, 0xFF, 0xF8, 0x3F, 0xE0, 0x04, 0x9B, 0xF9, 0x0E, 0xF6, 0x00, 0x09, 0xF9, 0x07, 0xFF, 0x96, 0xAF, 0xF9, 0x00, 0x7E, 0xFF, 0xF7, 0xC9, 0x00, 0x00, 0x33, 0x10, 0x11 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0048[ 55] = { /* code 0048, LATIN CAPITAL LETTER H */ 0x56, 0x00, 0x00, 0x56, 0x00, 0xFF, 0x20, 0x00, 0xFF, 0x20, 0xFF, 0x20, 0x00, 0xFF, 0x20, 0xFF, 0x20, 0x00, 0xFF, 0x20, 0xFF, 0xDD, 0xDD, 0xFF, 0x20, 0xFF, 0xFF, 0xFF, 0xFF, 0x20, 0xFF, 0x20, 0x00, 0xFF, 0x20, 0xFF, 0x20, 0x00, 0xFF, 0x20, 0xFF, 0x20, 0x00, 0xFF, 0x20, 0xDE, 0x10, 0x00, 0xDE, 0x10, 0x11, 0x00, 0x00, 0x11, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0049[ 22] = { /* code 0049, LATIN CAPITAL LETTER I */ 0x56, 0x00, 0xFF, 0x20, 0xFF, 0x20, 0xFF, 0x20, 0xFF, 0x20, 0xFF, 0x20, 0xFF, 0x20, 0xFF, 0x20, 0xFF, 0x20, 0xDE, 0x10, 0x11, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_004A[ 44] = { /* code 004A, LATIN CAPITAL LETTER J */ 0x00, 0x00, 0x27, 0x10, 0x00, 0x00, 0x9F, 0x70, 0x00, 0x00, 0x9F, 0x70, 0x00, 0x00, 0x9F, 0x70, 0x00, 0x00, 0x9F, 0x70, 0x00, 0x00, 0x9F, 0x70, 0x4A, 0x00, 0x9F, 0x70, 0xBF, 0x30, 0xAF, 0x70, 0x9F, 0xB7, 0xFF, 0x30, 0x1C, 0xFF, 0xF8, 0x00, 0x00, 0x33, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_004B[ 44] = { /* code 004B, LATIN CAPITAL LETTER K */ 0x56, 0x00, 0x02, 0x71, 0xFF, 0x20, 0x2E, 0xF4, 0xFF, 0x21, 0xDF, 0x80, 0xFF, 0x3C, 0xF9, 0x00, 0xFF, 0xDF, 0xE1, 0x00, 0xFF, 0xFF, 0xF8, 0x00, 0xFF, 0x84, 0xFF, 0x30, 0xFF, 0x20, 0x9F, 0xD0, 0xFF, 0x20, 0x1D, 0xF8, 0xDE, 0x10, 0x05, 0xFA, 0x11, 0x00, 0x00, 0x20 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_004C[ 40] = { /* code 004C, LATIN CAPITAL LETTER L */ 0x56, 0x00, 0x00, 0x00, 0xFF, 0x20, 0x00, 0x00, 0xFF, 0x20, 0x00, 0x00, 0xFF, 0x20, 0x00, 0x00, 0xFF, 0x20, 0x00, 0x00, 0xFF, 0x20, 0x00, 0x00, 0xFF, 0x20, 0x00, 0x00, 0xFF, 0x20, 0x00, 0x00, 0xFF, 0xCB, 0xBB, 0x70, 0xCF, 0xFF, 0xFF, 0x90 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_004D[ 55] = { /* code 004D, LATIN CAPITAL LETTER M */ 0x67, 0x40, 0x00, 0x07, 0x72, 0xFF, 0xE0, 0x00, 0x5F, 0xF9, 0xFF, 0xF4, 0x00, 0xAF, 0xF9, 0xFE, 0xF8, 0x00, 0xED, 0xF9, 0xFD, 0xBD, 0x04, 0xF8, 0xF9, 0xFD, 0x7F, 0x39, 0xE4, 0xF9, 0xFD, 0x2F, 0x7D, 0xA4, 0xF9, 0xFD, 0x0C, 0xEF, 0x54, 0xF9, 0xFD, 0x07, 0xFF, 0x14, 0xF9, 0xEB, 0x02, 0xFA, 0x03, 0xF8, 0x11, 0x00, 0x10, 0x00, 0x20 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_004E[ 55] = { /* code 004E, LATIN CAPITAL LETTER N */ 0x57, 0x10, 0x00, 0x57, 0x00, 0xFF, 0xA0, 0x00, 0xDF, 0x20, 0xFF, 0xF4, 0x00, 0xDF, 0x20, 0xFF, 0xFD, 0x00, 0xDF, 0x20, 0xFF, 0x7F, 0x70, 0xDF, 0x20, 0xFF, 0x0D, 0xF2, 0xDF, 0x20, 0xFF, 0x03, 0xFB, 0xDF, 0x20, 0xFF, 0x00, 0x9F, 0xFF, 0x20, 0xFF, 0x00, 0x1D, 0xFF, 0x20, 0xEE, 0x00, 0x05, 0xFE, 0x10, 0x11, 0x00, 0x00, 0x11, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_004F[ 55] = { /* code 004F, LATIN CAPITAL LETTER O */ 0x00, 0x04, 0x89, 0x72, 0x00, 0x01, 0xCF, 0xFF, 0xFF, 0x80, 0x0B, 0xFC, 0x42, 0x6E, 0xF5, 0x3F, 0xF1, 0x00, 0x07, 0xFB, 0x6F, 0xB0, 0x00, 0x02, 0xFF, 0x6F, 0xB0, 0x00, 0x02, 0xFF, 0x5F, 0xD0, 0x00, 0x04, 0xFD, 0x1F, 0xF4, 0x00, 0x0A, 0xF9, 0x07, 0xFF, 0x97, 0xCF, 0xE2, 0x00, 0x7E, 0xFF, 0xFB, 0x20, 0x00, 0x00, 0x33, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0050[ 44] = { /* code 0050, LATIN CAPITAL LETTER P */ 0x36, 0x66, 0x63, 0x00, 0xFF, 0xFF, 0xFF, 0xC1, 0xFF, 0x54, 0x5D, 0xF8, 0xFF, 0x20, 0x06, 0xFB, 0xFF, 0x32, 0x2B, 0xF9, 0xFF, 0xFF, 0xFF, 0xE2, 0xFF, 0xA9, 0x87, 0x10, 0xFF, 0x20, 0x00, 0x00, 0xFF, 0x20, 0x00, 0x00, 0xDE, 0x10, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0051[ 55] = { /* code 0051, LATIN CAPITAL LETTER Q */ 0x00, 0x04, 0x89, 0x72, 0x00, 0x01, 0xCF, 0xFF, 0xFF, 0x80, 0x0B, 0xFC, 0x42, 0x6E, 0xF5, 0x3F, 0xF1, 0x00, 0x07, 0xFB, 0x6F, 0xB0, 0x00, 0x02, 0xFF, 0x6F, 0xB0, 0x00, 0x02, 0xFF, 0x5F, 0xD0, 0x03, 0x34, 0xFE, 0x1F, 0xF4, 0x09, 0xFC, 0xF9, 0x07, 0xFF, 0x98, 0xFF, 0xE2, 0x00, 0x7E, 0xFF, 0xFD, 0xF6, 0x00, 0x00, 0x33, 0x10, 0x76 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0052[ 44] = { /* code 0052, LATIN CAPITAL LETTER R */ 0x36, 0x66, 0x65, 0x10, 0xFF, 0xFF, 0xFF, 0xF5, 0xFF, 0x54, 0x4A, 0xFD, 0xFF, 0x20, 0x02, 0xFF, 0xFF, 0x54, 0x49, 0xFA, 0xFF, 0xFF, 0xFF, 0xD1, 0xFF, 0x76, 0x6D, 0xF8, 0xFF, 0x20, 0x06, 0xFA, 0xFF, 0x20, 0x05, 0xFC, 0xDE, 0x10, 0x02, 0xFD, 0x11, 0x00, 0x00, 0x11 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0053[ 55] = { /* code 0053, LATIN CAPITAL LETTER S */ 0x00, 0x48, 0x97, 0x10, 0x00, 0x0A, 0xFF, 0xFF, 0xF6, 0x00, 0x4F, 0xD3, 0x26, 0xFE, 0x00, 0x6F, 0xC0, 0x00, 0x44, 0x00, 0x2F, 0xFE, 0xB8, 0x30, 0x00, 0x03, 0xBF, 0xFF, 0xFA, 0x00, 0x00, 0x00, 0x48, 0xFF, 0x30, 0x4F, 0x50, 0x00, 0xCF, 0x50, 0x3F, 0xF8, 0x69, 0xFE, 0x10, 0x06, 0xEF, 0xFF, 0xD4, 0x00, 0x00, 0x02, 0x42, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0054[ 55] = { /* code 0054, LATIN CAPITAL LETTER T */ 0x26, 0x66, 0x66, 0x65, 0x10, 0xCF, 0xFF, 0xFF, 0xFF, 0x70, 0x37, 0x7D, 0xFA, 0x76, 0x10, 0x00, 0x0B, 0xF6, 0x00, 0x00, 0x00, 0x0B, 0xF6, 0x00, 0x00, 0x00, 0x0B, 0xF6, 0x00, 0x00, 0x00, 0x0B, 0xF6, 0x00, 0x00, 0x00, 0x0B, 0xF6, 0x00, 0x00, 0x00, 0x0B, 0xF6, 0x00, 0x00, 0x00, 0x09, 0xF4, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0055[ 55] = { /* code 0055, LATIN CAPITAL LETTER U */ 0x56, 0x00, 0x00, 0x56, 0x00, 0xFF, 0x20, 0x00, 0xFF, 0x20, 0xFF, 0x20, 0x00, 0xFF, 0x20, 0xFF, 0x20, 0x00, 0xFF, 0x20, 0xFF, 0x20, 0x00, 0xFF, 0x20, 0xFF, 0x20, 0x00, 0xFF, 0x20, 0xFF, 0x20, 0x00, 0xFF, 0x20, 0xEF, 0x40, 0x02, 0xFF, 0x10, 0x8F, 0xE8, 0x8D, 0xFA, 0x00, 0x09, 0xFF, 0xFF, 0xA1, 0x00, 0x00, 0x13, 0x31, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0056[ 55] = { /* code 0056, LATIN CAPITAL LETTER V */ 0x57, 0x00, 0x00, 0x37, 0x10, 0xDF, 0x50, 0x00, 0xCF, 0x40, 0x9F, 0x90, 0x02, 0xFE, 0x10, 0x3F, 0xE0, 0x07, 0xFA, 0x00, 0x0D, 0xF3, 0x0B, 0xF4, 0x00, 0x08, 0xF8, 0x1F, 0xD0, 0x00, 0x02, 0xFC, 0x6F, 0x80, 0x00, 0x00, 0xCF, 0xCF, 0x30, 0x00, 0x00, 0x7F, 0xFC, 0x00, 0x00, 0x00, 0x2E, 0xF6, 0x00, 0x00, 0x00, 0x01, 0x20, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0057[ 66] = { /* code 0057, LATIN CAPITAL LETTER W */ 0x46, 0x00, 0x06, 0x70, 0x00, 0x64, 0xDF, 0x20, 0x2F, 0xF3, 0x01, 0xFD, 0xAF, 0x60, 0x6F, 0xF7, 0x05, 0xFA, 0x6F, 0x90, 0x9E, 0xEA, 0x08, 0xF7, 0x2F, 0xC0, 0xDB, 0xAE, 0x0B, 0xF3, 0x0E, 0xF2, 0xF7, 0x7F, 0x2E, 0xE0, 0x09, 0xF7, 0xF4, 0x3F, 0x7F, 0xA0, 0x06, 0xFE, 0xF0, 0x0E, 0xEF, 0x60, 0x02, 0xFF, 0xB0, 0x0B, 0xFF, 0x20, 0x00, 0xCF, 0x70, 0x06, 0xFD, 0x00, 0x00, 0x12, 0x00, 0x00, 0x21, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0058[ 44] = { /* code 0058, LATIN CAPITAL LETTER X */ 0x27, 0x10, 0x02, 0x71, 0x8F, 0xA0, 0x0B, 0xF6, 0x2F, 0xF3, 0x6F, 0xD1, 0x07, 0xFC, 0xEF, 0x30, 0x00, 0xCF, 0xF8, 0x00, 0x00, 0x8F, 0xF5, 0x00, 0x04, 0xFF, 0xFD, 0x10, 0x1D, 0xF6, 0xBF, 0x90, 0x9F, 0xC0, 0x2F, 0xF4, 0xBF, 0x30, 0x08, 0xF7, 0x11, 0x00, 0x00, 0x20 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0059[ 44] = { /* code 0059, LATIN CAPITAL LETTER Y */ 0x47, 0x00, 0x00, 0x74, 0xDF, 0x60, 0x06, 0xFC, 0x6F, 0xD0, 0x0D, 0xF5, 0x0C, 0xF7, 0x7F, 0xB0, 0x03, 0xFE, 0xEF, 0x30, 0x00, 0x9F, 0xF8, 0x00, 0x00, 0x2F, 0xF1, 0x00, 0x00, 0x2F, 0xF0, 0x00, 0x00, 0x2F, 0xF0, 0x00, 0x00, 0x1E, 0xE0, 0x00, 0x00, 0x01, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_005A[ 50] = { /* code 005A, LATIN CAPITAL LETTER Z */ 0x04, 0x66, 0x66, 0x65, 0x10, 0x3F, 0xFF, 0xFF, 0xFF, 0x60, 0x05, 0x77, 0x7D, 0xFE, 0x20, 0x00, 0x00, 0x5F, 0xF3, 0x00, 0x00, 0x03, 0xFF, 0x60, 0x00, 0x00, 0x2E, 0xF8, 0x00, 0x00, 0x01, 0xDF, 0xA0, 0x00, 0x00, 0x0B, 0xFC, 0x10, 0x00, 0x00, 0x7F, 0xFC, 0xBB, 0xBB, 0x40, 0x7F, 0xFF, 0xFF, 0xFF, 0x50 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_005B[ 26] = { /* code 005B, LEFT SQUARE BRACKET */ 0x36, 0x62, 0xDF, 0xF7, 0xDD, 0x00, 0xDD, 0x00, 0xDD, 0x00, 0xDD, 0x00, 0xDD, 0x00, 0xDD, 0x00, 0xDD, 0x00, 0xDD, 0x00, 0xDD, 0x00, 0xDF, 0xF7, 0x36, 0x62 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_005C[ 33] = { /* code 005C, REVERSE SOLIDUS */ 0x73, 0x00, 0x00, 0xCB, 0x00, 0x00, 0x6F, 0x20, 0x00, 0x1F, 0x70, 0x00, 0x0A, 0xD0, 0x00, 0x04, 0xF3, 0x00, 0x00, 0xD9, 0x00, 0x00, 0x8E, 0x00, 0x00, 0x2F, 0x60, 0x00, 0x0B, 0xA0, 0x00, 0x01, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_005D[ 26] = { /* code 005D, RIGHT SQUARE BRACKET */ 0x46, 0x51, 0xEF, 0xF6, 0x04, 0xF7, 0x04, 0xF7, 0x04, 0xF7, 0x04, 0xF7, 0x04, 0xF7, 0x04, 0xF7, 0x04, 0xF7, 0x04, 0xF7, 0x04, 0xF7, 0xEF, 0xF6, 0x46, 0x51 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_005E[ 28] = { /* code 005E, CIRCUMFLEX ACCENT */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x1D, 0xB0, 0x00, 0x00, 0x7F, 0xF5, 0x00, 0x01, 0xF9, 0xCD, 0x00, 0x09, 0xF1, 0x4F, 0x60, 0x1F, 0x70, 0x0A, 0xD0, 0x02, 0x00, 0x00, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_005F[ 4] = { /* code 005F, LOW LINE */ 0x39, 0x99, 0x99, 0x98 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0060[ 6] = { /* code 0060, GRAVE ACCENT */ 0xC7, 0x00, 0x8F, 0xA0, 0x03, 0x60 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0061[ 32] = { /* code 0061, LATIN SMALL LETTER A */ 0x03, 0xBE, 0xEC, 0x40, 0x0E, 0xE8, 0x8F, 0xE0, 0x06, 0x20, 0x2E, 0xF2, 0x07, 0xCF, 0xFF, 0xF2, 0x5F, 0xB3, 0x1D, 0xF2, 0x7F, 0xA2, 0x6F, 0xF2, 0x1C, 0xFF, 0xAA, 0xF3, 0x00, 0x21, 0x00, 0x20 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0062[ 44] = { /* code 0062, LATIN SMALL LETTER B */ 0x07, 0x30, 0x00, 0x00, 0x4F, 0x90, 0x00, 0x00, 0x4F, 0x90, 0x00, 0x00, 0x4F, 0xBB, 0xFC, 0x30, 0x4F, 0xFA, 0x9F, 0xE1, 0x4F, 0xB0, 0x09, 0xF5, 0x4F, 0x80, 0x06, 0xF7, 0x4F, 0xA0, 0x08, 0xF6, 0x4F, 0xF7, 0x7E, 0xF2, 0x3F, 0xAE, 0xFE, 0x50, 0x02, 0x00, 0x20, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0063[ 32] = { /* code 0063, LATIN SMALL LETTER C */ 0x03, 0xBE, 0xE9, 0x10, 0x1E, 0xF9, 0xAF, 0xA0, 0x7F, 0x80, 0x07, 0x50, 0x9F, 0x40, 0x00, 0x00, 0x8F, 0x60, 0x05, 0x40, 0x3F, 0xE6, 0x7F, 0xA0, 0x06, 0xEF, 0xFC, 0x20, 0x00, 0x02, 0x20, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0064[ 44] = { /* code 0064, LATIN SMALL LETTER D */ 0x00, 0x00, 0x03, 0x70, 0x00, 0x00, 0x0B, 0xF3, 0x00, 0x00, 0x0B, 0xF4, 0x04, 0xCF, 0xAC, 0xF4, 0x1E, 0xF9, 0xAF, 0xF4, 0x6F, 0x90, 0x0C, 0xF4, 0x7F, 0x60, 0x09, 0xF4, 0x7F, 0x70, 0x0B, 0xF4, 0x2F, 0xE7, 0x7F, 0xF4, 0x06, 0xFF, 0xEA, 0xF2, 0x00, 0x12, 0x00, 0x20 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0065[ 32] = { /* code 0065, LATIN SMALL LETTER E */ 0x02, 0xAE, 0xEB, 0x20, 0x0D, 0xE7, 0x7E, 0xE1, 0x6F, 0x82, 0x28, 0xF6, 0x7F, 0xFF, 0xFF, 0xF6, 0x7F, 0x70, 0x00, 0x30, 0x2E, 0xE7, 0x6C, 0xF1, 0x04, 0xDF, 0xFE, 0x70, 0x00, 0x02, 0x20, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0066[ 33] = { /* code 0066, LATIN SMALL LETTER F */ 0x00, 0x69, 0x30, 0x07, 0xFF, 0x90, 0x09, 0xF4, 0x00, 0x9E, 0xFC, 0x70, 0x4C, 0xF9, 0x30, 0x09, 0xF4, 0x00, 0x09, 0xF4, 0x00, 0x09, 0xF4, 0x00, 0x09, 0xF4, 0x00, 0x08, 0xF3, 0x00, 0x00, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0067[ 40] = { /* code 0067, LATIN SMALL LETTER G */ 0x03, 0xCF, 0xB7, 0xE1, 0x1E, 0xF9, 0xAF, 0xF4, 0x6F, 0x80, 0x0C, 0xF4, 0x7F, 0x60, 0x09, 0xF4, 0x7F, 0x80, 0x0C, 0xF4, 0x1E, 0xFA, 0xBF, 0xF4, 0x03, 0xAB, 0x8A, 0xF3, 0x08, 0x30, 0x0C, 0xF1, 0x0E, 0xFA, 0xCF, 0x90, 0x02, 0x9B, 0xB7, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0068[ 44] = { /* code 0068, LATIN SMALL LETTER H */ 0x07, 0x30, 0x00, 0x00, 0x4F, 0x90, 0x00, 0x00, 0x4F, 0x90, 0x00, 0x00, 0x4F, 0xAA, 0xED, 0x50, 0x4F, 0xFB, 0xAF, 0xF1, 0x4F, 0xC0, 0x0C, 0xF3, 0x4F, 0x90, 0x0B, 0xF4, 0x4F, 0x90, 0x0B, 0xF4, 0x4F, 0x90, 0x0B, 0xF4, 0x3F, 0x90, 0x0A, 0xF2, 0x02, 0x00, 0x00, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0069[ 22] = { /* code 0069, LATIN SMALL LETTER I */ 0x07, 0x40, 0x2F, 0xB0, 0x04, 0x20, 0x1E, 0x80, 0x2F, 0xB0, 0x2F, 0xB0, 0x2F, 0xB0, 0x2F, 0xB0, 0x2F, 0xB0, 0x1F, 0xA0, 0x01, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_006A[ 26] = { /* code 006A, LATIN SMALL LETTER J */ 0x00, 0x74, 0x02, 0xFB, 0x00, 0x42, 0x01, 0xE8, 0x02, 0xFB, 0x02, 0xFB, 0x02, 0xFB, 0x02, 0xFB, 0x02, 0xFB, 0x02, 0xFB, 0x02, 0xFB, 0x2C, 0xFA, 0x19, 0x92 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_006B[ 44] = { /* code 006B, LATIN SMALL LETTER K */ 0x07, 0x30, 0x00, 0x00, 0x4F, 0x90, 0x00, 0x00, 0x4F, 0x90, 0x00, 0x00, 0x4F, 0x90, 0x5E, 0x30, 0x4F, 0x94, 0xFE, 0x20, 0x4F, 0xCE, 0xE3, 0x00, 0x4F, 0xFF, 0xE2, 0x00, 0x4F, 0xD8, 0xFC, 0x00, 0x4F, 0x90, 0xBF, 0x80, 0x3F, 0x90, 0x2E, 0xB0, 0x01, 0x00, 0x01, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_006C[ 22] = { /* code 006C, LATIN SMALL LETTER L */ 0x07, 0x40, 0x2F, 0xB0, 0x2F, 0xB0, 0x2F, 0xB0, 0x2F, 0xB0, 0x2F, 0xB0, 0x2F, 0xB0, 0x2F, 0xB0, 0x2F, 0xB0, 0x1F, 0xA0, 0x01, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_006D[ 48] = { /* code 006D, LATIN SMALL LETTER M */ 0x2E, 0x69, 0xED, 0x38, 0xEE, 0x70, 0x4F, 0xEB, 0xBF, 0xED, 0xAF, 0xF3, 0x4F, 0xC0, 0x0F, 0xF2, 0x0A, 0xF4, 0x4F, 0x90, 0x0F, 0xF0, 0x09, 0xF4, 0x4F, 0x90, 0x0F, 0xF0, 0x09, 0xF4, 0x4F, 0x90, 0x0F, 0xF0, 0x09, 0xF4, 0x3F, 0x90, 0x0D, 0xE0, 0x08, 0xF3, 0x02, 0x00, 0x01, 0x10, 0x00, 0x20 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_006E[ 32] = { /* code 006E, LATIN SMALL LETTER N */ 0x2E, 0x6A, 0xED, 0x50, 0x4F, 0xFB, 0xAF, 0xF1, 0x4F, 0xC0, 0x0C, 0xF3, 0x4F, 0x90, 0x0B, 0xF4, 0x4F, 0x90, 0x0B, 0xF4, 0x4F, 0x90, 0x0B, 0xF4, 0x3F, 0x90, 0x0A, 0xF2, 0x02, 0x00, 0x00, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_006F[ 32] = { /* code 006F, LATIN SMALL LETTER O */ 0x02, 0xBE, 0xEA, 0x20, 0x1D, 0xF8, 0x8F, 0xD0, 0x6F, 0x80, 0x09, 0xF5, 0x7F, 0x60, 0x06, 0xF7, 0x7F, 0x70, 0x08, 0xF6, 0x2F, 0xE5, 0x5E, 0xF2, 0x05, 0xEF, 0xFE, 0x40, 0x00, 0x02, 0x20, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0070[ 40] = { /* code 0070, LATIN SMALL LETTER P */ 0x2E, 0x7B, 0xFC, 0x30, 0x4F, 0xFA, 0x9F, 0xE1, 0x4F, 0xB0, 0x0A, 0xF5, 0x4F, 0x80, 0x06, 0xF7, 0x4F, 0xA0, 0x08, 0xF6, 0x4F, 0xF7, 0x7E, 0xF2, 0x4F, 0xBD, 0xFF, 0x50, 0x4F, 0x90, 0x21, 0x00, 0x4F, 0x90, 0x00, 0x00, 0x19, 0x40, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0071[ 40] = { /* code 0071, LATIN SMALL LETTER Q */ 0x03, 0xCF, 0xB7, 0xE1, 0x1E, 0xF9, 0xAF, 0xF4, 0x6F, 0x90, 0x0C, 0xF4, 0x7F, 0x60, 0x09, 0xF4, 0x7F, 0x70, 0x0B, 0xF4, 0x3F, 0xE6, 0x7F, 0xF4, 0x06, 0xFF, 0xDD, 0xF4, 0x00, 0x12, 0x0B, 0xF4, 0x00, 0x00, 0x0B, 0xF3, 0x00, 0x00, 0x05, 0x90 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0072[ 24] = { /* code 0072, LATIN SMALL LETTER R */ 0x1E, 0x7B, 0xE1, 0x2F, 0xEE, 0xC1, 0x2F, 0xE1, 0x00, 0x2F, 0xB0, 0x00, 0x2F, 0xB0, 0x00, 0x2F, 0xB0, 0x00, 0x1F, 0xA0, 0x00, 0x01, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0073[ 32] = { /* code 0073, LATIN SMALL LETTER S */ 0x08, 0xDF, 0xC7, 0x00, 0x6F, 0xB7, 0xCF, 0x20, 0x7F, 0xB4, 0x13, 0x00, 0x2C, 0xFF, 0xFA, 0x10, 0x13, 0x36, 0xCF, 0x70, 0x7F, 0x72, 0x9F, 0x60, 0x1B, 0xFF, 0xFA, 0x00, 0x00, 0x12, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0074[ 30] = { /* code 0074, LATIN SMALL LETTER T */ 0x08, 0xC1, 0x00, 0x0B, 0xF2, 0x00, 0x9E, 0xFC, 0x60, 0x4D, 0xF8, 0x30, 0x0B, 0xF2, 0x00, 0x0B, 0xF2, 0x00, 0x0B, 0xF2, 0x00, 0x0B, 0xF7, 0x20, 0x07, 0xFF, 0x70, 0x00, 0x12, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0075[ 32] = { /* code 0075, LATIN SMALL LETTER U */ 0x2E, 0x70, 0x08, 0xE1, 0x4F, 0x90, 0x0B, 0xF4, 0x4F, 0x90, 0x0B, 0xF4, 0x4F, 0x90, 0x0B, 0xF4, 0x4F, 0xA0, 0x0C, 0xF4, 0x2F, 0xF7, 0x9F, 0xF4, 0x08, 0xFF, 0xC8, 0xF2, 0x00, 0x12, 0x00, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0076[ 32] = { /* code 0076, LATIN SMALL LETTER V */ 0xBB, 0x00, 0x4E, 0x30, 0xCF, 0x20, 0xAF, 0x40, 0x7F, 0x70, 0xEE, 0x00, 0x1F, 0xB4, 0xF9, 0x00, 0x0B, 0xF9, 0xF3, 0x00, 0x05, 0xFF, 0xD0, 0x00, 0x01, 0xEF, 0x70, 0x00, 0x00, 0x12, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0077[ 40] = { /* code 0077, LATIN SMALL LETTER W */ 0x9C, 0x00, 0xCD, 0x10, 0xBB, 0xBF, 0x23, 0xFF, 0x51, 0xFC, 0x7F, 0x66, 0xFE, 0x84, 0xF8, 0x2F, 0xA9, 0xCA, 0xC7, 0xF3, 0x0C, 0xDC, 0x87, 0xFB, 0xE0, 0x08, 0xFF, 0x43, 0xFF, 0x90, 0x03, 0xFE, 0x10, 0xDF, 0x40, 0x00, 0x11, 0x00, 0x12, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0078[ 24] = { /* code 0078, LATIN SMALL LETTER X */ 0x6E, 0x20, 0xAC, 0x6F, 0xB5, 0xFB, 0x0B, 0xFE, 0xE2, 0x03, 0xFF, 0x80, 0x0B, 0xFF, 0xE2, 0x6F, 0xA7, 0xFB, 0xBE, 0x20, 0xCE, 0x01, 0x00, 0x11 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_0079[ 40] = { /* code 0079, LATIN SMALL LETTER Y */ 0xAC, 0x00, 0x5E, 0x30, 0xBF, 0x40, 0xBF, 0x30, 0x6F, 0x80, 0xED, 0x00, 0x1F, 0xC4, 0xF7, 0x00, 0x0A, 0xF9, 0xF2, 0x00, 0x05, 0xFF, 0xC0, 0x00, 0x00, 0xEF, 0x70, 0x00, 0x00, 0xBF, 0x10, 0x00, 0x4F, 0xFA, 0x00, 0x00, 0x19, 0x81, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_007A[ 28] = { /* code 007A, LATIN SMALL LETTER Z */ 0x2B, 0xBB, 0xBB, 0x70, 0x2A, 0xBB, 0xFF, 0x90, 0x00, 0x08, 0xFA, 0x00, 0x00, 0x7F, 0xB1, 0x00, 0x06, 0xFD, 0x10, 0x00, 0x4F, 0xF9, 0x77, 0x50, 0x7F, 0xFF, 0xFF, 0xB0 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_007B[ 39] = { /* code 007B, LEFT CURLY BRACKET */ 0x00, 0x46, 0x20, 0x08, 0xFE, 0x50, 0x0B, 0xF0, 0x00, 0x0B, 0xF0, 0x00, 0x0B, 0xF0, 0x00, 0x1C, 0xF0, 0x00, 0xEF, 0x70, 0x00, 0x1C, 0xF0, 0x00, 0x0B, 0xF0, 0x00, 0x0B, 0xF0, 0x00, 0x0B, 0xF0, 0x00, 0x08, 0xFC, 0x50, 0x00, 0x56, 0x20 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_007C[ 22] = { /* code 007C, VERTICAL LINE */ 0x18, 0x00, 0x6F, 0x40, 0x6F, 0x40, 0x6F, 0x40, 0x6F, 0x40, 0x6F, 0x40, 0x6F, 0x40, 0x6F, 0x40, 0x6F, 0x40, 0x5F, 0x30, 0x03, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_007D[ 39] = { /* code 007D, RIGHT CURLY BRACKET */ 0x46, 0x30, 0x00, 0xBE, 0xF2, 0x00, 0x08, 0xF4, 0x00, 0x07, 0xF4, 0x00, 0x07, 0xF4, 0x00, 0x06, 0xF6, 0x00, 0x00, 0xCF, 0x70, 0x06, 0xF7, 0x00, 0x07, 0xF4, 0x00, 0x07, 0xF4, 0x00, 0x07, 0xF4, 0x00, 0xAE, 0xF2, 0x00, 0x56, 0x30, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded16_007E[ 12] = { /* code 007E, TILDE */ 0x0A, 0xDA, 0x41, 0xA2, 0x6F, 0xAE, 0xFF, 0xE2, 0x23, 0x00, 0x67, 0x30 }; GUI_CONST_STORAGE GUI_CHARINFO_EXT GUI_FontRounded16_CharInfo[95] = { { 1, 1, 0, 13, 4, acGUI_FontRounded16_0020 } /* code 0020, SPACE */ ,{ 3, 11, 1, 3, 4, acGUI_FontRounded16_0021 } /* code 0021, EXCLAMATION MARK */ ,{ 5, 5, 1, 3, 7, acGUI_FontRounded16_0022 } /* code 0022, QUOTATION MARK */ ,{ 8, 11, 0, 3, 8, acGUI_FontRounded16_0023 } /* code 0023, NUMBER SIGN */ ,{ 8, 12, 0, 3, 8, acGUI_FontRounded16_0024 } /* code 0024, DOLLAR SIGN */ ,{ 11, 11, 1, 3, 13, acGUI_FontRounded16_0025 } /* code 0025, PERCENT SIGN */ ,{ 9, 11, 0, 3, 9, acGUI_FontRounded16_0026 } /* code 0026, AMPERSAND */ ,{ 2, 5, 1, 3, 4, acGUI_FontRounded16_0027 } /* code 0027, APOSTROPHE */ ,{ 4, 13, 0, 3, 4, acGUI_FontRounded16_0028 } /* code 0028, LEFT PARENTHESIS */ ,{ 4, 13, 0, 3, 4, acGUI_FontRounded16_0029 } /* code 0029, RIGHT PARENTHESIS */ ,{ 6, 6, 0, 3, 6, acGUI_FontRounded16_002A } /* code 002A, ASTERISK */ ,{ 8, 8, 0, 5, 8, acGUI_FontRounded16_002B } /* code 002B, PLUS SIGN */ ,{ 4, 4, 0, 11, 4, acGUI_FontRounded16_002C } /* code 002C, COMMA */ ,{ 5, 3, 0, 8, 5, acGUI_FontRounded16_002D } /* code 002D, HYPHEN-MINUS */ ,{ 4, 3, 0, 11, 4, acGUI_FontRounded16_002E } /* code 002E, FULL STOP */ ,{ 5, 11, 0, 3, 5, acGUI_FontRounded16_002F } /* code 002F, SOLIDUS */ ,{ 8, 11, 0, 3, 8, acGUI_FontRounded16_0030 } /* code 0030, DIGIT ZERO */ ,{ 6, 11, -1, 3, 5, acGUI_FontRounded16_0031 } /* code 0031, DIGIT ONE */ ,{ 8, 10, 0, 3, 8, acGUI_FontRounded16_0032 } /* code 0032, DIGIT TWO */ ,{ 8, 11, 0, 3, 8, acGUI_FontRounded16_0033 } /* code 0033, DIGIT THREE */ ,{ 8, 11, 0, 3, 8, acGUI_FontRounded16_0034 } /* code 0034, DIGIT FOUR */ ,{ 8, 11, 0, 3, 8, acGUI_FontRounded16_0035 } /* code 0035, DIGIT FIVE */ ,{ 8, 11, 0, 3, 8, acGUI_FontRounded16_0036 } /* code 0036, DIGIT SIX */ ,{ 8, 11, 0, 3, 7, acGUI_FontRounded16_0037 } /* code 0037, DIGIT SEVEN */ ,{ 8, 11, 0, 3, 8, acGUI_FontRounded16_0038 } /* code 0038, DIGIT EIGHT */ ,{ 8, 11, 0, 3, 8, acGUI_FontRounded16_0039 } /* code 0039, DIGIT NINE */ ,{ 4, 8, 0, 6, 4, acGUI_FontRounded16_003A } /* code 003A, COLON */ ,{ 4, 9, 0, 6, 4, acGUI_FontRounded16_003B } /* code 003B, SEMICOLON */ ,{ 8, 7, 0, 6, 8, acGUI_FontRounded16_003C } /* code 003C, LESS-THAN SIGN */ ,{ 8, 5, 0, 7, 8, acGUI_FontRounded16_003D } /* code 003D, EQUALS SIGN */ ,{ 8, 7, 0, 6, 8, acGUI_FontRounded16_003E } /* code 003E, GREATER-THAN SIGN */ ,{ 7, 11, 0, 3, 7, acGUI_FontRounded16_003F } /* code 003F, QUESTION MARK */ ,{ 10, 11, 0, 3, 10, acGUI_FontRounded16_0040 } /* code 0040, COMMERCIAL AT */ ,{ 9, 11, 0, 3, 9, acGUI_FontRounded16_0041 } /* code 0041, LATIN CAPITAL LETTER A */ ,{ 8, 10, 1, 3, 9, acGUI_FontRounded16_0042 } /* code 0042, LATIN CAPITAL LETTER B */ ,{ 9, 11, 0, 3, 9, acGUI_FontRounded16_0043 } /* code 0043, LATIN CAPITAL LETTER C */ ,{ 9, 10, 1, 3, 10, acGUI_FontRounded16_0044 } /* code 0044, LATIN CAPITAL LETTER D */ ,{ 8, 10, 1, 3, 9, acGUI_FontRounded16_0045 } /* code 0045, LATIN CAPITAL LETTER E */ ,{ 8, 11, 1, 3, 8, acGUI_FontRounded16_0046 } /* code 0046, LATIN CAPITAL LETTER F */ ,{ 10, 11, 0, 3, 11, acGUI_FontRounded16_0047 } /* code 0047, LATIN CAPITAL LETTER G */ ,{ 9, 11, 1, 3, 10, acGUI_FontRounded16_0048 } /* code 0048, LATIN CAPITAL LETTER H */ ,{ 3, 11, 1, 3, 4, acGUI_FontRounded16_0049 } /* code 0049, LATIN CAPITAL LETTER I */ ,{ 7, 11, 0, 3, 7, acGUI_FontRounded16_004A } /* code 004A, LATIN CAPITAL LETTER J */ ,{ 8, 11, 1, 3, 9, acGUI_FontRounded16_004B } /* code 004B, LATIN CAPITAL LETTER K */ ,{ 7, 10, 1, 3, 8, acGUI_FontRounded16_004C } /* code 004C, LATIN CAPITAL LETTER L */ ,{ 10, 11, 1, 3, 12, acGUI_FontRounded16_004D } /* code 004D, LATIN CAPITAL LETTER M */ ,{ 9, 11, 1, 3, 10, acGUI_FontRounded16_004E } /* code 004E, LATIN CAPITAL LETTER N */ ,{ 10, 11, 0, 3, 11, acGUI_FontRounded16_004F } /* code 004F, LATIN CAPITAL LETTER O */ ,{ 8, 11, 1, 3, 9, acGUI_FontRounded16_0050 } /* code 0050, LATIN CAPITAL LETTER P */ ,{ 10, 11, 0, 3, 11, acGUI_FontRounded16_0051 } /* code 0051, LATIN CAPITAL LETTER Q */ ,{ 8, 11, 1, 3, 10, acGUI_FontRounded16_0052 } /* code 0052, LATIN CAPITAL LETTER R */ ,{ 9, 11, 0, 3, 9, acGUI_FontRounded16_0053 } /* code 0053, LATIN CAPITAL LETTER S */ ,{ 9, 11, 0, 3, 9, acGUI_FontRounded16_0054 } /* code 0054, LATIN CAPITAL LETTER T */ ,{ 9, 11, 1, 3, 10, acGUI_FontRounded16_0055 } /* code 0055, LATIN CAPITAL LETTER U */ ,{ 9, 11, 0, 3, 8, acGUI_FontRounded16_0056 } /* code 0056, LATIN CAPITAL LETTER V */ ,{ 12, 11, 0, 3, 12, acGUI_FontRounded16_0057 } /* code 0057, LATIN CAPITAL LETTER W */ ,{ 8, 11, 0, 3, 8, acGUI_FontRounded16_0058 } /* code 0058, LATIN CAPITAL LETTER X */ ,{ 8, 11, 0, 3, 8, acGUI_FontRounded16_0059 } /* code 0059, LATIN CAPITAL LETTER Y */ ,{ 9, 10, 0, 3, 9, acGUI_FontRounded16_005A } /* code 005A, LATIN CAPITAL LETTER Z */ ,{ 4, 13, 1, 3, 5, acGUI_FontRounded16_005B } /* code 005B, LEFT SQUARE BRACKET */ ,{ 5, 11, 0, 3, 5, acGUI_FontRounded16_005C } /* code 005C, REVERSE SOLIDUS */ ,{ 4, 13, 0, 3, 5, acGUI_FontRounded16_005D } /* code 005D, RIGHT SQUARE BRACKET */ ,{ 7, 7, 0, 3, 8, acGUI_FontRounded16_005E } /* code 005E, CIRCUMFLEX ACCENT */ ,{ 8, 1, -1, 14, 7, acGUI_FontRounded16_005F } /* code 005F, LOW LINE */ ,{ 3, 3, 0, 3, 4, acGUI_FontRounded16_0060 } /* code 0060, GRAVE ACCENT */ ,{ 8, 8, 0, 6, 8, acGUI_FontRounded16_0061 } /* code 0061, LATIN SMALL LETTER A */ ,{ 8, 11, 0, 3, 8, acGUI_FontRounded16_0062 } /* code 0062, LATIN SMALL LETTER B */ ,{ 7, 8, 0, 6, 7, acGUI_FontRounded16_0063 } /* code 0063, LATIN SMALL LETTER C */ ,{ 8, 11, 0, 3, 8, acGUI_FontRounded16_0064 } /* code 0064, LATIN SMALL LETTER D */ ,{ 8, 8, 0, 6, 8, acGUI_FontRounded16_0065 } /* code 0065, LATIN SMALL LETTER E */ ,{ 5, 11, 0, 3, 5, acGUI_FontRounded16_0066 } /* code 0066, LATIN SMALL LETTER F */ ,{ 8, 10, 0, 6, 8, acGUI_FontRounded16_0067 } /* code 0067, LATIN SMALL LETTER G */ ,{ 8, 11, 0, 3, 8, acGUI_FontRounded16_0068 } /* code 0068, LATIN SMALL LETTER H */ ,{ 3, 11, 0, 3, 4, acGUI_FontRounded16_0069 } /* code 0069, LATIN SMALL LETTER I */ ,{ 4, 13, -1, 3, 4, acGUI_FontRounded16_006A } /* code 006A, LATIN SMALL LETTER J */ ,{ 7, 11, 0, 3, 7, acGUI_FontRounded16_006B } /* code 006B, LATIN SMALL LETTER K */ ,{ 3, 11, 0, 3, 4, acGUI_FontRounded16_006C } /* code 006C, LATIN SMALL LETTER L */ ,{ 12, 8, 0, 6, 12, acGUI_FontRounded16_006D } /* code 006D, LATIN SMALL LETTER M */ ,{ 8, 8, 0, 6, 8, acGUI_FontRounded16_006E } /* code 006E, LATIN SMALL LETTER N */ ,{ 8, 8, 0, 6, 8, acGUI_FontRounded16_006F } /* code 006F, LATIN SMALL LETTER O */ ,{ 8, 10, 0, 6, 8, acGUI_FontRounded16_0070 } /* code 0070, LATIN SMALL LETTER P */ ,{ 8, 10, 0, 6, 8, acGUI_FontRounded16_0071 } /* code 0071, LATIN SMALL LETTER Q */ ,{ 6, 8, 0, 6, 5, acGUI_FontRounded16_0072 } /* code 0072, LATIN SMALL LETTER R */ ,{ 7, 8, 0, 6, 7, acGUI_FontRounded16_0073 } /* code 0073, LATIN SMALL LETTER S */ ,{ 5, 10, 0, 4, 5, acGUI_FontRounded16_0074 } /* code 0074, LATIN SMALL LETTER T */ ,{ 8, 8, 0, 6, 8, acGUI_FontRounded16_0075 } /* code 0075, LATIN SMALL LETTER U */ ,{ 7, 8, 0, 6, 7, acGUI_FontRounded16_0076 } /* code 0076, LATIN SMALL LETTER V */ ,{ 10, 8, 0, 6, 10, acGUI_FontRounded16_0077 } /* code 0077, LATIN SMALL LETTER W */ ,{ 6, 8, 0, 6, 6, acGUI_FontRounded16_0078 } /* code 0078, LATIN SMALL LETTER X */ ,{ 7, 10, 0, 6, 7, acGUI_FontRounded16_0079 } /* code 0079, LATIN SMALL LETTER Y */ ,{ 7, 7, 0, 6, 7, acGUI_FontRounded16_007A } /* code 007A, LATIN SMALL LETTER Z */ ,{ 5, 13, 0, 3, 5, acGUI_FontRounded16_007B } /* code 007B, LEFT CURLY BRACKET */ ,{ 3, 11, 0, 3, 3, acGUI_FontRounded16_007C } /* code 007C, VERTICAL LINE */ ,{ 5, 13, 0, 3, 5, acGUI_FontRounded16_007D } /* code 007D, RIGHT CURLY BRACKET */ ,{ 8, 3, 0, 8, 8, acGUI_FontRounded16_007E } /* code 007E, TILDE */ }; GUI_CONST_STORAGE GUI_FONT_PROP_EXT GUI_FontRounded16_Prop1 = { 0x0020 /* first character */ ,0x007E /* last character */ ,&GUI_FontRounded16_CharInfo[ 0] /* address of first character */ ,(GUI_CONST_STORAGE GUI_FONT_PROP_EXT *)0 /* pointer to next GUI_FONT_PROP_EXT */ }; GUI_CONST_STORAGE GUI_FONT GUI_FontRounded16 = { GUI_FONTTYPE_PROP_AA4_EXT /* type of font */ ,16 /* height of font */ ,16 /* space of font y */ ,1 /* magnification x */ ,1 /* magnification y */ ,{&GUI_FontRounded16_Prop1} ,16 /* Baseline */ ,8 /* Height of lowercase characters */ ,11 /* Height of capital characters */ }; /********************************************************************* * * * GUI_FontRounded22 * * * * Used in * * - GUIDEMO.c * * - GUIDEMO_AntiAliasedText.c * * - GUIDEMO_Automotive.c * * - GUIDEMO_Bargraph.c * * - GUIDEMO_ColorBar.c * * - GUIDEMO_IconView.c * * - GUIDEMO_ImageFlow.c * * - GUIDEMO_Intro.c * * * ********************************************************************** */ GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0020[ 1] = { /* code 0020, SPACE */ 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0021[ 30] = { /* code 0021, EXCLAMATION MARK */ 0x02, 0x10, 0x6F, 0xE2, 0x9F, 0xF4, 0x9F, 0xF4, 0x9F, 0xF4, 0x7F, 0xF2, 0x5F, 0xF0, 0x3F, 0xD0, 0x1F, 0xB0, 0x0D, 0x80, 0x00, 0x00, 0x2B, 0xA0, 0x9F, 0xF4, 0x5F, 0xE1, 0x01, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0022[ 28] = { /* code 0022, QUOTATION MARK */ 0x01, 0x10, 0x02, 0x00, 0x0E, 0xF2, 0x7F, 0x90, 0x2F, 0xF4, 0x9F, 0xB0, 0x2F, 0xF4, 0x9F, 0xB0, 0x2F, 0xF4, 0x9F, 0xB0, 0x1E, 0xF2, 0x8F, 0xA0, 0x02, 0x20, 0x03, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0023[ 84] = { /* code 0023, NUMBER SIGN */ 0x00, 0x02, 0xB4, 0x08, 0x90, 0x00, 0x00, 0x06, 0xF7, 0x0F, 0xD0, 0x00, 0x00, 0x08, 0xF5, 0x2F, 0xB0, 0x00, 0x00, 0x2B, 0xF4, 0x5F, 0xA1, 0x00, 0x07, 0xFF, 0xFF, 0xFF, 0xFE, 0x10, 0x03, 0x9F, 0xE9, 0xDF, 0xB8, 0x00, 0x00, 0x1F, 0xB0, 0xAF, 0x30, 0x00, 0x02, 0x6F, 0xB4, 0xDF, 0x40, 0x00, 0x0F, 0xFF, 0xFF, 0xFF, 0xF7, 0x00, 0x06, 0xBF, 0x98, 0xFD, 0x72, 0x00, 0x00, 0xAF, 0x33, 0xF9, 0x00, 0x00, 0x00, 0xCF, 0x15, 0xF7, 0x00, 0x00, 0x00, 0xDD, 0x07, 0xF4, 0x00, 0x00, 0x00, 0x22, 0x00, 0x30, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0024[ 96] = { /* code 0024, DOLLAR SIGN */ 0x00, 0x00, 0x0B, 0x10, 0x00, 0x00, 0x00, 0x28, 0xBF, 0xC8, 0x30, 0x00, 0x05, 0xFF, 0xFF, 0xFF, 0xF9, 0x00, 0x1E, 0xF9, 0x2F, 0x39, 0xFF, 0x50, 0x3F, 0xF0, 0x0F, 0x20, 0x9E, 0x30, 0x3F, 0xF6, 0x0F, 0x20, 0x00, 0x00, 0x0D, 0xFF, 0xDF, 0x73, 0x00, 0x00, 0x02, 0xCF, 0xFF, 0xFF, 0xC3, 0x00, 0x00, 0x04, 0x8F, 0xEF, 0xFE, 0x10, 0x03, 0x00, 0x0F, 0x25, 0xFF, 0x70, 0x7F, 0xA0, 0x0F, 0x20, 0xBF, 0x80, 0x7F, 0xF3, 0x0F, 0x21, 0xEF, 0x60, 0x1D, 0xFE, 0xAF, 0xBE, 0xFD, 0x10, 0x01, 0xAF, 0xFF, 0xFF, 0xA2, 0x00, 0x00, 0x01, 0x3F, 0x41, 0x00, 0x00, 0x00, 0x00, 0x0D, 0x10, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0025[120] = { /* code 0025, PERCENT SIGN */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x03, 0xAB, 0xA2, 0x00, 0x00, 0x7F, 0x00, 0x00, 0x2E, 0xEA, 0xFE, 0x10, 0x01, 0xE8, 0x00, 0x00, 0x7F, 0x70, 0x9F, 0x50, 0x08, 0xE1, 0x00, 0x00, 0x9F, 0x60, 0x7F, 0x70, 0x2F, 0x70, 0x00, 0x00, 0x7F, 0x60, 0x8F, 0x60, 0x9E, 0x10, 0x00, 0x00, 0x3F, 0xD6, 0xEF, 0x22, 0xF7, 0x00, 0x00, 0x00, 0x07, 0xEF, 0xE6, 0x0A, 0xE0, 0x17, 0x98, 0x20, 0x00, 0x01, 0x00, 0x3F, 0x60, 0xCF, 0xCF, 0xE1, 0x00, 0x00, 0x00, 0xBD, 0x04, 0xFA, 0x09, 0xF6, 0x00, 0x00, 0x04, 0xF5, 0x07, 0xF7, 0x06, 0xF9, 0x00, 0x00, 0x0C, 0xC0, 0x06, 0xF8, 0x06, 0xF8, 0x00, 0x00, 0x5F, 0x40, 0x03, 0xFC, 0x3B, 0xF4, 0x00, 0x00, 0xCB, 0x00, 0x00, 0x8F, 0xFF, 0x90, 0x00, 0x00, 0x93, 0x00, 0x00, 0x01, 0x42, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0026[105] = { /* code 0026, AMPERSAND */ 0x00, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x00, 0x04, 0xDF, 0xFD, 0x50, 0x00, 0x00, 0x00, 0x3F, 0xFD, 0xCF, 0xF4, 0x00, 0x00, 0x00, 0x9F, 0xD0, 0x0B, 0xFA, 0x00, 0x00, 0x00, 0x9F, 0xD0, 0x0B, 0xFA, 0x00, 0x00, 0x00, 0x4F, 0xF9, 0x8F, 0xF5, 0x00, 0x00, 0x00, 0x0A, 0xFF, 0xFF, 0x80, 0x00, 0x00, 0x00, 0x9F, 0xFF, 0xFB, 0x00, 0x54, 0x00, 0x09, 0xFF, 0xBA, 0xFF, 0x74, 0xFF, 0x00, 0x1F, 0xFB, 0x00, 0xBF, 0xFE, 0xFC, 0x00, 0x3F, 0xF7, 0x00, 0x1D, 0xFF, 0xE3, 0x00, 0x1F, 0xFB, 0x00, 0x2C, 0xFF, 0xE3, 0x00, 0x0A, 0xFF, 0xED, 0xFF, 0xEE, 0xFD, 0x00, 0x01, 0xAF, 0xFF, 0xFB, 0x24, 0xFD, 0x00, 0x00, 0x01, 0x43, 0x10, 0x00, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0027[ 14] = { /* code 0027, APOSTROPHE */ 0x01, 0x10, 0x3F, 0xD0, 0x6F, 0xF0, 0x6F, 0xF0, 0x6F, 0xF0, 0x3F, 0xE0, 0x03, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0028[ 54] = { /* code 0028, LEFT PARENTHESIS */ 0x00, 0x03, 0x00, 0x00, 0x9F, 0x40, 0x02, 0xFF, 0x20, 0x08, 0xFB, 0x00, 0x0E, 0xF7, 0x00, 0x4F, 0xF3, 0x00, 0x7F, 0xE0, 0x00, 0xAF, 0xC0, 0x00, 0xBF, 0xB0, 0x00, 0xBF, 0xB0, 0x00, 0xBF, 0xB0, 0x00, 0x8F, 0xE0, 0x00, 0x5F, 0xF2, 0x00, 0x1F, 0xF5, 0x00, 0x0A, 0xFA, 0x00, 0x04, 0xFE, 0x10, 0x00, 0xCF, 0x50, 0x00, 0x29, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0029[ 54] = { /* code 0029, RIGHT PARENTHESIS */ 0x03, 0x00, 0x00, 0x5F, 0x90, 0x00, 0x2F, 0xF2, 0x00, 0x0B, 0xF8, 0x00, 0x07, 0xFE, 0x00, 0x03, 0xFF, 0x30, 0x00, 0xFF, 0x70, 0x00, 0xCF, 0xA0, 0x00, 0xBF, 0xB0, 0x00, 0xBF, 0xB0, 0x00, 0xCF, 0xB0, 0x00, 0xEF, 0x80, 0x02, 0xFF, 0x50, 0x05, 0xFF, 0x10, 0x0A, 0xFA, 0x00, 0x1E, 0xF4, 0x00, 0x5F, 0xC0, 0x00, 0x19, 0x20, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_002A[ 32] = { /* code 002A, ASTERISK */ 0x00, 0x00, 0x10, 0x00, 0x00, 0x08, 0xE0, 0x00, 0x05, 0x29, 0xF0, 0x51, 0x2F, 0xFE, 0xFE, 0xF7, 0x02, 0x7F, 0xFB, 0x40, 0x00, 0xAF, 0xCE, 0x20, 0x03, 0xF7, 0x2F, 0x90, 0x00, 0x30, 0x03, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_002B[ 66] = { /* code 002B, PLUS SIGN */ 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8F, 0x50, 0x00, 0x00, 0x00, 0x00, 0xBF, 0x70, 0x00, 0x00, 0x00, 0x00, 0xBF, 0x70, 0x00, 0x00, 0x02, 0x22, 0xCF, 0x82, 0x22, 0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0xFF, 0x60, 0x6F, 0xFF, 0xFF, 0xFF, 0xFE, 0x40, 0x00, 0x00, 0xBF, 0x70, 0x00, 0x00, 0x00, 0x00, 0xBF, 0x70, 0x00, 0x00, 0x00, 0x00, 0xBF, 0x70, 0x00, 0x00, 0x00, 0x00, 0x7F, 0x40, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_002C[ 12] = { /* code 002C, COMMA */ 0x3C, 0x90, 0xBF, 0xF5, 0x6F, 0xF7, 0x01, 0xE5, 0x4C, 0xC0, 0x67, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_002D[ 16] = { /* code 002D, HYPHEN-MINUS */ 0x01, 0x44, 0x42, 0x00, 0x2F, 0xFF, 0xFF, 0x70, 0x3F, 0xFF, 0xFF, 0x80, 0x02, 0x44, 0x43, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_002E[ 8] = { /* code 002E, FULL STOP */ 0x3C, 0x90, 0xBF, 0xF3, 0x6F, 0xD1, 0x01, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_002F[ 60] = { /* code 002F, SOLIDUS */ 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x6F, 0x70, 0x00, 0x00, 0xCF, 0x40, 0x00, 0x03, 0xFD, 0x00, 0x00, 0x08, 0xF8, 0x00, 0x00, 0x0E, 0xF2, 0x00, 0x00, 0x5F, 0xB0, 0x00, 0x00, 0xBF, 0x60, 0x00, 0x01, 0xFE, 0x10, 0x00, 0x07, 0xF9, 0x00, 0x00, 0x0D, 0xF3, 0x00, 0x00, 0x3F, 0xD0, 0x00, 0x00, 0x9F, 0x70, 0x00, 0x00, 0xCF, 0x20, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0030[ 84] = { /* code 0030, DIGIT ZERO */ 0x00, 0x05, 0xBB, 0xB6, 0x00, 0x00, 0x00, 0xAF, 0xFF, 0xFF, 0xA0, 0x00, 0x06, 0xFF, 0xA6, 0xAF, 0xF7, 0x00, 0x0D, 0xFC, 0x00, 0x0C, 0xFD, 0x00, 0x2F, 0xF8, 0x00, 0x08, 0xFF, 0x20, 0x4F, 0xF6, 0x00, 0x06, 0xFF, 0x40, 0x4F, 0xF6, 0x00, 0x06, 0xFF, 0x40, 0x4F, 0xF6, 0x00, 0x06, 0xFF, 0x40, 0x2F, 0xF7, 0x00, 0x06, 0xFF, 0x30, 0x0E, 0xFA, 0x00, 0x0A, 0xFE, 0x00, 0x09, 0xFF, 0x40, 0x4F, 0xF9, 0x00, 0x02, 0xEF, 0xFE, 0xFF, 0xE2, 0x00, 0x00, 0x3C, 0xFF, 0xFC, 0x30, 0x00, 0x00, 0x00, 0x24, 0x20, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0031[ 56] = { /* code 0031, DIGIT ONE */ 0x00, 0x00, 0x2B, 0x70, 0x00, 0x00, 0xAF, 0xC0, 0x01, 0x49, 0xFF, 0xD0, 0x1E, 0xFF, 0xFF, 0xD0, 0x1B, 0xDD, 0xFF, 0xD0, 0x00, 0x00, 0xDF, 0xD0, 0x00, 0x00, 0xDF, 0xD0, 0x00, 0x00, 0xDF, 0xD0, 0x00, 0x00, 0xDF, 0xD0, 0x00, 0x00, 0xDF, 0xD0, 0x00, 0x00, 0xDF, 0xD0, 0x00, 0x00, 0xDF, 0xC0, 0x00, 0x00, 0xBF, 0xA0, 0x00, 0x00, 0x13, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0032[ 78] = { /* code 0032, DIGIT TWO */ 0x00, 0x17, 0xBB, 0xB6, 0x00, 0x00, 0x03, 0xEF, 0xFF, 0xFF, 0xD1, 0x00, 0x0D, 0xFE, 0x86, 0xAF, 0xFB, 0x00, 0x5F, 0xF6, 0x00, 0x0D, 0xFF, 0x00, 0x4F, 0xE1, 0x00, 0x0B, 0xFF, 0x00, 0x03, 0x20, 0x00, 0x3F, 0xFB, 0x00, 0x00, 0x00, 0x07, 0xEF, 0xF3, 0x00, 0x00, 0x03, 0xCF, 0xFD, 0x30, 0x00, 0x00, 0x6F, 0xFE, 0x70, 0x00, 0x00, 0x06, 0xFF, 0xA2, 0x00, 0x00, 0x00, 0x2F, 0xFC, 0x44, 0x44, 0x42, 0x00, 0x6F, 0xFF, 0xFF, 0xFF, 0xFF, 0x10, 0x3E, 0xFF, 0xFF, 0xFF, 0xFD, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0033[ 70] = { /* code 0033, DIGIT THREE */ 0x00, 0x28, 0xBB, 0xA5, 0x00, 0x05, 0xFF, 0xFF, 0xFF, 0xA0, 0x1F, 0xFE, 0x76, 0xCF, 0xF4, 0x2F, 0xF4, 0x00, 0x2F, 0xF7, 0x04, 0x40, 0x00, 0x2F, 0xF5, 0x00, 0x00, 0x5A, 0xEF, 0xB0, 0x00, 0x00, 0xFF, 0xFF, 0x90, 0x00, 0x00, 0x38, 0xCF, 0xF8, 0x01, 0x00, 0x00, 0x1E, 0xFC, 0x3F, 0xC0, 0x00, 0x0E, 0xFD, 0x5F, 0xF8, 0x00, 0x7F, 0xF9, 0x1D, 0xFF, 0xFE, 0xFF, 0xE2, 0x02, 0xBF, 0xFF, 0xFB, 0x30, 0x00, 0x01, 0x33, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0034[ 84] = { /* code 0034, DIGIT FOUR */ 0x00, 0x00, 0x00, 0x9B, 0x40, 0x00, 0x00, 0x00, 0x07, 0xFF, 0x90, 0x00, 0x00, 0x00, 0x4F, 0xFF, 0x90, 0x00, 0x00, 0x02, 0xEE, 0xEF, 0x90, 0x00, 0x00, 0x0C, 0xF4, 0xDF, 0x90, 0x00, 0x00, 0x9F, 0x80, 0xDF, 0x90, 0x00, 0x06, 0xFB, 0x00, 0xDF, 0x90, 0x00, 0x3F, 0xE2, 0x00, 0xDF, 0x90, 0x00, 0xBF, 0xFF, 0xFF, 0xFF, 0xFE, 0x50, 0x8F, 0xFF, 0xFF, 0xFF, 0xFF, 0x60, 0x02, 0x22, 0x22, 0xDF, 0xA2, 0x00, 0x00, 0x00, 0x00, 0xDF, 0x90, 0x00, 0x00, 0x00, 0x00, 0xBF, 0x80, 0x00, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0035[ 70] = { /* code 0035, DIGIT FIVE */ 0x01, 0x89, 0x99, 0x99, 0x70, 0x07, 0xFF, 0xFF, 0xFF, 0xF3, 0x0A, 0xFD, 0xBB, 0xBB, 0x90, 0x0C, 0xF5, 0x00, 0x00, 0x00, 0x0F, 0xF3, 0x46, 0x51, 0x00, 0x3F, 0xFD, 0xFF, 0xFE, 0x60, 0x3F, 0xFE, 0xAB, 0xFF, 0xF3, 0x06, 0x60, 0x00, 0x4F, 0xFA, 0x00, 0x00, 0x00, 0x0D, 0xFB, 0x17, 0x40, 0x00, 0x0E, 0xFB, 0x5F, 0xF4, 0x00, 0x8F, 0xF7, 0x3F, 0xFF, 0xDE, 0xFF, 0xD1, 0x04, 0xCF, 0xFF, 0xFA, 0x10, 0x00, 0x02, 0x43, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0036[ 84] = { /* code 0036, DIGIT SIX */ 0x00, 0x04, 0x9B, 0xB9, 0x30, 0x00, 0x00, 0x8F, 0xFF, 0xFF, 0xF4, 0x00, 0x04, 0xFF, 0x93, 0x4E, 0xFB, 0x00, 0x0B, 0xFC, 0x00, 0x02, 0x93, 0x00, 0x1F, 0xF7, 0x02, 0x31, 0x00, 0x00, 0x3F, 0xF9, 0xDF, 0xFF, 0x91, 0x00, 0x4F, 0xFF, 0xEB, 0xDF, 0xFA, 0x00, 0x4F, 0xFD, 0x10, 0x0B, 0xFF, 0x20, 0x3F, 0xF8, 0x00, 0x06, 0xFF, 0x40, 0x1F, 0xF8, 0x00, 0x06, 0xFF, 0x40, 0x0B, 0xFE, 0x20, 0x1C, 0xFF, 0x10, 0x03, 0xEF, 0xFD, 0xEF, 0xF7, 0x00, 0x00, 0x3C, 0xFF, 0xFE, 0x70, 0x00, 0x00, 0x00, 0x24, 0x30, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0037[ 70] = { /* code 0037, DIGIT SEVEN */ 0x49, 0x99, 0x99, 0x99, 0x94, 0xBF, 0xFF, 0xFF, 0xFF, 0xFD, 0x5B, 0xBB, 0xBB, 0xBF, 0xF9, 0x00, 0x00, 0x00, 0x9F, 0xC0, 0x00, 0x00, 0x05, 0xFE, 0x20, 0x00, 0x00, 0x1E, 0xF6, 0x00, 0x00, 0x00, 0x9F, 0xD0, 0x00, 0x00, 0x02, 0xFF, 0x70, 0x00, 0x00, 0x08, 0xFF, 0x10, 0x00, 0x00, 0x0E, 0xFB, 0x00, 0x00, 0x00, 0x4F, 0xF7, 0x00, 0x00, 0x00, 0x7F, 0xF3, 0x00, 0x00, 0x00, 0x6F, 0xD0, 0x00, 0x00, 0x00, 0x03, 0x10, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0038[ 84] = { /* code 0038, DIGIT EIGHT */ 0x00, 0x17, 0xBB, 0xB8, 0x10, 0x00, 0x02, 0xEF, 0xFF, 0xFF, 0xE3, 0x00, 0x0B, 0xFE, 0x62, 0x6E, 0xFB, 0x00, 0x0D, 0xFA, 0x00, 0x0A, 0xFF, 0x00, 0x0C, 0xFB, 0x00, 0x0B, 0xFC, 0x00, 0x04, 0xFF, 0xB8, 0xBF, 0xF4, 0x00, 0x02, 0xBF, 0xFF, 0xFF, 0xB2, 0x00, 0x0C, 0xFE, 0x64, 0x6E, 0xFD, 0x00, 0x3F, 0xF7, 0x00, 0x07, 0xFF, 0x30, 0x4F, 0xF6, 0x00, 0x06, 0xFF, 0x40, 0x2F, 0xFC, 0x10, 0x1B, 0xFF, 0x20, 0x09, 0xFF, 0xED, 0xEF, 0xF9, 0x00, 0x00, 0x7E, 0xFF, 0xFE, 0x80, 0x00, 0x00, 0x00, 0x24, 0x30, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0039[ 84] = { /* code 0039, DIGIT NINE */ 0x00, 0x17, 0xBB, 0xB6, 0x00, 0x00, 0x03, 0xEF, 0xFF, 0xFF, 0xB0, 0x00, 0x0C, 0xFE, 0x74, 0x8F, 0xF8, 0x00, 0x3F, 0xF8, 0x00, 0x0A, 0xFE, 0x00, 0x4F, 0xF6, 0x00, 0x07, 0xFF, 0x30, 0x3F, 0xF7, 0x00, 0x0A, 0xFF, 0x40, 0x0D, 0xFF, 0x74, 0x9F, 0xFF, 0x40, 0x03, 0xEF, 0xFF, 0xFD, 0xFF, 0x40, 0x00, 0x17, 0x99, 0x56, 0xFF, 0x20, 0x00, 0x30, 0x00, 0x09, 0xFD, 0x00, 0x09, 0xFA, 0x00, 0x3F, 0xF8, 0x00, 0x08, 0xFF, 0xDB, 0xFF, 0xD1, 0x00, 0x01, 0x9F, 0xFF, 0xFA, 0x20, 0x00, 0x00, 0x01, 0x33, 0x10, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_003A[ 22] = { /* code 003A, COLON */ 0x05, 0x30, 0x9F, 0xF2, 0x9F, 0xF2, 0x17, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3C, 0x90, 0xBF, 0xF3, 0x6F, 0xD1, 0x01, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_003B[ 26] = { /* code 003B, SEMICOLON */ 0x05, 0x30, 0x9F, 0xF2, 0x9F, 0xF2, 0x17, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3C, 0x90, 0xBF, 0xF5, 0x6F, 0xF7, 0x01, 0xE5, 0x4C, 0xC0, 0x67, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_003C[ 60] = { /* code 003C, LESS-THAN SIGN */ 0x00, 0x00, 0x00, 0x01, 0x8B, 0x20, 0x00, 0x00, 0x02, 0x9F, 0xFF, 0x50, 0x00, 0x03, 0xAF, 0xFF, 0xC6, 0x00, 0x05, 0xCF, 0xFF, 0xB4, 0x00, 0x00, 0x7F, 0xFF, 0x92, 0x00, 0x00, 0x00, 0x5F, 0xFF, 0xB5, 0x00, 0x00, 0x00, 0x02, 0x9F, 0xFF, 0xD7, 0x10, 0x00, 0x00, 0x01, 0x7E, 0xFF, 0xF8, 0x10, 0x00, 0x00, 0x00, 0x7D, 0xFF, 0x50, 0x00, 0x00, 0x00, 0x00, 0x57, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_003D[ 48] = { /* code 003D, EQUALS SIGN */ 0x04, 0x44, 0x44, 0x44, 0x43, 0x00, 0x9F, 0xFF, 0xFF, 0xFF, 0xFF, 0x70, 0x5D, 0xDD, 0xDD, 0xDD, 0xDC, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0x50, 0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0x50, 0x02, 0x22, 0x22, 0x22, 0x21, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_003E[ 60] = { /* code 003E, GREATER-THAN SIGN */ 0x4B, 0x70, 0x00, 0x00, 0x00, 0x00, 0x8F, 0xFE, 0x81, 0x00, 0x00, 0x00, 0x17, 0xEF, 0xFF, 0x92, 0x00, 0x00, 0x00, 0x05, 0xCF, 0xFF, 0xA3, 0x00, 0x00, 0x00, 0x03, 0xAF, 0xFF, 0x40, 0x00, 0x00, 0x06, 0xDF, 0xFE, 0x30, 0x00, 0x28, 0xEF, 0xFE, 0x71, 0x00, 0x1A, 0xFF, 0xFD, 0x60, 0x00, 0x00, 0x9F, 0xFC, 0x50, 0x00, 0x00, 0x00, 0x27, 0x30, 0x00, 0x00, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_003F[ 75] = { /* code 003F, QUESTION MARK */ 0x00, 0x00, 0x22, 0x00, 0x00, 0x00, 0x7E, 0xFF, 0xFA, 0x20, 0x09, 0xFF, 0xEE, 0xFF, 0xE1, 0x2F, 0xFA, 0x00, 0x7F, 0xF7, 0x2F, 0xE2, 0x00, 0x3F, 0xF7, 0x02, 0x20, 0x00, 0xAF, 0xF5, 0x00, 0x00, 0x1B, 0xFF, 0xA0, 0x00, 0x00, 0xCF, 0xF7, 0x00, 0x00, 0x05, 0xFF, 0x50, 0x00, 0x00, 0x02, 0xEC, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xBA, 0x10, 0x00, 0x00, 0x08, 0xFF, 0x50, 0x00, 0x00, 0x04, 0xFE, 0x20, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0040[105] = { /* code 0040, COMMERCIAL AT */ 0x00, 0x00, 0x00, 0x34, 0x31, 0x00, 0x00, 0x00, 0x02, 0x9E, 0xFF, 0xFF, 0xA2, 0x00, 0x00, 0x3E, 0xFB, 0x76, 0x7A, 0xFE, 0x50, 0x02, 0xEF, 0x50, 0x00, 0x00, 0x3E, 0xE2, 0x0B, 0xF6, 0x07, 0xEE, 0x96, 0xB5, 0xF8, 0x2F, 0xD0, 0x7F, 0xFF, 0xFF, 0xF0, 0xEC, 0x5F, 0x91, 0xEF, 0x40, 0x8F, 0xC0, 0xBD, 0x7F, 0x74, 0xFA, 0x00, 0x4F, 0x90, 0xCB, 0x6F, 0x85, 0xFB, 0x00, 0x6F, 0x71, 0xF7, 0x3F, 0xC2, 0xFF, 0x98, 0xEF, 0xAC, 0xD1, 0x0C, 0xF4, 0x9F, 0xFF, 0xEF, 0xFB, 0x20, 0x03, 0xFE, 0x45, 0x73, 0x37, 0x57, 0x00, 0x00, 0x5E, 0xFB, 0x66, 0x69, 0xEE, 0x10, 0x00, 0x02, 0x9F, 0xFF, 0xFF, 0xA2, 0x00, 0x00, 0x00, 0x01, 0x34, 0x31, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0041[ 90] = { /* code 0041, LATIN CAPITAL LETTER A */ 0x00, 0x00, 0x02, 0x30, 0x00, 0x00, 0x00, 0x00, 0x9F, 0xFB, 0x00, 0x00, 0x00, 0x01, 0xFF, 0xFF, 0x30, 0x00, 0x00, 0x06, 0xFF, 0xFF, 0x80, 0x00, 0x00, 0x0C, 0xFD, 0xCF, 0xE0, 0x00, 0x00, 0x3F, 0xF8, 0x7F, 0xF4, 0x00, 0x00, 0x8F, 0xF3, 0x2F, 0xFA, 0x00, 0x00, 0xEF, 0xD0, 0x0D, 0xFF, 0x10, 0x04, 0xFF, 0x80, 0x08, 0xFF, 0x60, 0x0A, 0xFF, 0xCB, 0xBC, 0xFF, 0xB0, 0x1F, 0xFF, 0xFF, 0xFF, 0xFF, 0xF2, 0x7F, 0xF9, 0x44, 0x44, 0x9F, 0xF7, 0xCF, 0xF3, 0x00, 0x00, 0x3F, 0xFC, 0xAF, 0xC0, 0x00, 0x00, 0x0C, 0xFA, 0x03, 0x10, 0x00, 0x00, 0x01, 0x30 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0042[ 78] = { /* code 0042, LATIN CAPITAL LETTER B */ 0x3D, 0xFF, 0xFF, 0xED, 0xA3, 0x00, 0x9F, 0xFF, 0xFF, 0xFF, 0xFF, 0x30, 0x9F, 0xF8, 0x44, 0x4C, 0xFF, 0xA0, 0x9F, 0xF6, 0x00, 0x04, 0xFF, 0xB0, 0x9F, 0xF6, 0x00, 0x06, 0xFF, 0x70, 0x9F, 0xFB, 0x99, 0xBF, 0xFB, 0x10, 0x9F, 0xFF, 0xFF, 0xFF, 0xFB, 0x20, 0x9F, 0xF8, 0x44, 0x4A, 0xFF, 0xD0, 0x9F, 0xF6, 0x00, 0x00, 0xCF, 0xF2, 0x9F, 0xF6, 0x00, 0x00, 0xCF, 0xF3, 0x9F, 0xF8, 0x44, 0x5A, 0xFF, 0xE0, 0x9F, 0xFF, 0xFF, 0xFF, 0xFF, 0x60, 0x4E, 0xFF, 0xFF, 0xFE, 0xB4, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0043[ 90] = { /* code 0043, LATIN CAPITAL LETTER C */ 0x00, 0x00, 0x13, 0x43, 0x00, 0x00, 0x00, 0x2A, 0xFF, 0xFF, 0xE7, 0x00, 0x03, 0xEF, 0xFF, 0xFF, 0xFF, 0xB0, 0x1E, 0xFF, 0xB3, 0x25, 0xEF, 0xF6, 0x7F, 0xFB, 0x00, 0x00, 0x4F, 0xF7, 0xCF, 0xF3, 0x00, 0x00, 0x03, 0x61, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xD0, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xDF, 0xF3, 0x00, 0x00, 0x05, 0x71, 0x9F, 0xFA, 0x00, 0x00, 0x4F, 0xF7, 0x3F, 0xFF, 0x93, 0x25, 0xEF, 0xF5, 0x06, 0xFF, 0xFF, 0xFF, 0xFF, 0xA0, 0x00, 0x4C, 0xFF, 0xFF, 0xE7, 0x00, 0x00, 0x00, 0x24, 0x43, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0044[ 78] = { /* code 0044, LATIN CAPITAL LETTER D */ 0x3D, 0xFF, 0xFF, 0xEC, 0x71, 0x00, 0x9F, 0xFF, 0xFF, 0xFF, 0xFE, 0x30, 0x9F, 0xF9, 0x66, 0x7D, 0xFF, 0xD0, 0x9F, 0xF6, 0x00, 0x01, 0xCF, 0xF6, 0x9F, 0xF6, 0x00, 0x00, 0x5F, 0xFA, 0x9F, 0xF6, 0x00, 0x00, 0x2F, 0xFD, 0x9F, 0xF6, 0x00, 0x00, 0x2F, 0xFD, 0x9F, 0xF6, 0x00, 0x00, 0x2F, 0xFC, 0x9F, 0xF6, 0x00, 0x00, 0x6F, 0xFA, 0x9F, 0xF6, 0x00, 0x01, 0xDF, 0xF5, 0x9F, 0xF9, 0x66, 0x7D, 0xFF, 0xC0, 0x9F, 0xFF, 0xFF, 0xFF, 0xFD, 0x20, 0x4E, 0xFF, 0xFF, 0xFC, 0x71, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0045[ 78] = { /* code 0045, LATIN CAPITAL LETTER E */ 0x3D, 0xFF, 0xFF, 0xFF, 0xFE, 0x50, 0x8F, 0xFF, 0xFF, 0xFF, 0xFF, 0x80, 0x9F, 0xF9, 0x66, 0x66, 0x65, 0x10, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x00, 0x9F, 0xFD, 0xBB, 0xBB, 0xB6, 0x00, 0x9F, 0xFF, 0xFF, 0xFF, 0xFB, 0x00, 0x9F, 0xFA, 0x77, 0x77, 0x73, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x00, 0x9F, 0xF9, 0x66, 0x66, 0x65, 0x10, 0x8F, 0xFF, 0xFF, 0xFF, 0xFF, 0xA0, 0x3D, 0xFF, 0xFF, 0xFF, 0xFF, 0x70 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0046[ 84] = { /* code 0046, LATIN CAPITAL LETTER F */ 0x3D, 0xFF, 0xFF, 0xFF, 0xFB, 0x10, 0x8F, 0xFF, 0xFF, 0xFF, 0xFF, 0x10, 0x9F, 0xF9, 0x66, 0x66, 0x64, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x00, 0x9F, 0xFB, 0x99, 0x99, 0x70, 0x00, 0x9F, 0xFF, 0xFF, 0xFF, 0xF3, 0x00, 0x9F, 0xFD, 0xBB, 0xBB, 0x90, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x00, 0x5F, 0xF3, 0x00, 0x00, 0x00, 0x00, 0x03, 0x20, 0x00, 0x00, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0047[105] = { /* code 0047, LATIN CAPITAL LETTER G */ 0x00, 0x00, 0x03, 0x43, 0x10, 0x00, 0x00, 0x00, 0x2A, 0xFF, 0xFF, 0xFA, 0x20, 0x00, 0x03, 0xEF, 0xFF, 0xFF, 0xFF, 0xE2, 0x00, 0x1E, 0xFF, 0xB4, 0x23, 0xAF, 0xFA, 0x00, 0x8F, 0xFB, 0x00, 0x00, 0x0B, 0xF8, 0x00, 0xCF, 0xF3, 0x00, 0x00, 0x00, 0x20, 0x00, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xD0, 0x00, 0x5D, 0xDD, 0xDD, 0x30, 0xFF, 0xE0, 0x00, 0x8F, 0xFF, 0xFF, 0x60, 0xDF, 0xF2, 0x00, 0x15, 0x69, 0xFF, 0x60, 0x9F, 0xF9, 0x00, 0x00, 0x0B, 0xFF, 0x60, 0x2F, 0xFF, 0x82, 0x02, 0x9F, 0xFF, 0x60, 0x06, 0xFF, 0xFF, 0xFF, 0xFE, 0xEF, 0x60, 0x00, 0x4C, 0xFF, 0xFF, 0xD3, 0x9F, 0x50, 0x00, 0x00, 0x24, 0x43, 0x00, 0x03, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0048[ 90] = { /* code 0048, LATIN CAPITAL LETTER H */ 0x02, 0x10, 0x00, 0x00, 0x01, 0x20, 0x6F, 0xE2, 0x00, 0x00, 0x2E, 0xF6, 0x9F, 0xF5, 0x00, 0x00, 0x5F, 0xF9, 0x9F, 0xF6, 0x00, 0x00, 0x6F, 0xF9, 0x9F, 0xF6, 0x00, 0x00, 0x6F, 0xF9, 0x9F, 0xF6, 0x00, 0x00, 0x6F, 0xF9, 0x9F, 0xFF, 0xFF, 0xFF, 0xFF, 0xF9, 0x9F, 0xFF, 0xFF, 0xFF, 0xFF, 0xF9, 0x9F, 0xFA, 0x77, 0x77, 0xAF, 0xF9, 0x9F, 0xF6, 0x00, 0x00, 0x6F, 0xF9, 0x9F, 0xF6, 0x00, 0x00, 0x6F, 0xF9, 0x9F, 0xF6, 0x00, 0x00, 0x6F, 0xF9, 0x9F, 0xF5, 0x00, 0x00, 0x5F, 0xF9, 0x6F, 0xE2, 0x00, 0x00, 0x2E, 0xF7, 0x03, 0x20, 0x00, 0x00, 0x02, 0x30 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0049[ 30] = { /* code 0049, LATIN CAPITAL LETTER I */ 0x02, 0x10, 0x6F, 0xE2, 0x9F, 0xF5, 0x9F, 0xF6, 0x9F, 0xF6, 0x9F, 0xF6, 0x9F, 0xF6, 0x9F, 0xF6, 0x9F, 0xF6, 0x9F, 0xF6, 0x9F, 0xF6, 0x9F, 0xF6, 0x9F, 0xF5, 0x6F, 0xE2, 0x03, 0x20 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_004A[ 75] = { /* code 004A, LATIN CAPITAL LETTER J */ 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0xBF, 0xB0, 0x00, 0x00, 0x00, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0xFF, 0xF0, 0x01, 0x00, 0x00, 0xFF, 0xF0, 0x5F, 0xC0, 0x00, 0xFF, 0xF0, 0x9F, 0xF1, 0x00, 0xFF, 0xE0, 0x9F, 0xF6, 0x07, 0xFF, 0xB0, 0x3F, 0xFF, 0xFF, 0xFF, 0x50, 0x05, 0xEF, 0xFF, 0xF7, 0x00, 0x00, 0x03, 0x43, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_004B[ 90] = { /* code 004B, LATIN CAPITAL LETTER K */ 0x02, 0x10, 0x00, 0x00, 0x11, 0x00, 0x6F, 0xE2, 0x00, 0x02, 0xEF, 0x50, 0x9F, 0xF5, 0x00, 0x1D, 0xFF, 0x60, 0x9F, 0xF6, 0x01, 0xDF, 0xF8, 0x00, 0x9F, 0xF6, 0x1B, 0xFF, 0x90, 0x00, 0x9F, 0xF6, 0xAF, 0xFA, 0x00, 0x00, 0x9F, 0xFE, 0xFF, 0xF4, 0x00, 0x00, 0x9F, 0xFF, 0xFF, 0xFD, 0x00, 0x00, 0x9F, 0xFF, 0xAD, 0xFF, 0x80, 0x00, 0x9F, 0xFA, 0x03, 0xFF, 0xF3, 0x00, 0x9F, 0xF6, 0x00, 0x9F, 0xFD, 0x00, 0x9F, 0xF6, 0x00, 0x1D, 0xFF, 0x70, 0x9F, 0xF5, 0x00, 0x04, 0xFF, 0xF1, 0x6F, 0xE2, 0x00, 0x00, 0x9F, 0xE1, 0x03, 0x20, 0x00, 0x00, 0x03, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_004C[ 70] = { /* code 004C, LATIN CAPITAL LETTER L */ 0x02, 0x10, 0x00, 0x00, 0x00, 0x6F, 0xE2, 0x00, 0x00, 0x00, 0x9F, 0xF5, 0x00, 0x00, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x9F, 0xFA, 0x77, 0x77, 0x72, 0x9F, 0xFF, 0xFF, 0xFF, 0xFB, 0x4E, 0xFF, 0xFF, 0xFF, 0xF7 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_004D[105] = { /* code 004D, LATIN CAPITAL LETTER M */ 0x02, 0x31, 0x00, 0x00, 0x00, 0x13, 0x20, 0x7F, 0xFE, 0x30, 0x00, 0x02, 0xEF, 0xF7, 0xBF, 0xFF, 0x80, 0x00, 0x08, 0xFF, 0xF9, 0xBF, 0xFF, 0xD0, 0x00, 0x0C, 0xFF, 0xF9, 0xBF, 0xFF, 0xF2, 0x00, 0x2F, 0xFF, 0xF9, 0xBF, 0xFB, 0xF7, 0x00, 0x7F, 0xBF, 0xF9, 0xBF, 0xF7, 0xFC, 0x00, 0xBF, 0x7F, 0xF9, 0xBF, 0xF2, 0xFF, 0x21, 0xFF, 0x2F, 0xF9, 0xBF, 0xF0, 0xCF, 0x65, 0xFC, 0x0F, 0xF9, 0xBF, 0xF0, 0x8F, 0xBA, 0xF7, 0x0F, 0xF9, 0xBF, 0xF0, 0x3F, 0xFE, 0xF3, 0x0F, 0xF9, 0xBF, 0xF0, 0x0D, 0xFF, 0xD0, 0x0F, 0xF9, 0xBF, 0xF0, 0x08, 0xFF, 0x80, 0x0F, 0xF9, 0x8F, 0xB0, 0x03, 0xFF, 0x30, 0x0B, 0xF7, 0x03, 0x10, 0x00, 0x22, 0x00, 0x01, 0x30 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_004E[ 90] = { /* code 004E, LATIN CAPITAL LETTER N */ 0x01, 0x20, 0x00, 0x00, 0x01, 0x20, 0x6F, 0xF8, 0x00, 0x00, 0x1E, 0xF8, 0xAF, 0xFF, 0x30, 0x00, 0x2F, 0xFB, 0xBF, 0xFF, 0xC0, 0x00, 0x2F, 0xFB, 0xBF, 0xFF, 0xF7, 0x00, 0x2F, 0xFB, 0xBF, 0xFC, 0xFE, 0x20, 0x2F, 0xFB, 0xBF, 0xF4, 0xEF, 0xB0, 0x2F, 0xFB, 0xBF, 0xF2, 0x7F, 0xF5, 0x2F, 0xFB, 0xBF, 0xF2, 0x0C, 0xFD, 0x3F, 0xFB, 0xBF, 0xF2, 0x03, 0xFF, 0xAF, 0xFB, 0xBF, 0xF2, 0x00, 0x8F, 0xFF, 0xFB, 0xBF, 0xF2, 0x00, 0x0D, 0xFF, 0xFB, 0xBF, 0xF2, 0x00, 0x04, 0xFF, 0xFA, 0x8F, 0xE1, 0x00, 0x00, 0x9F, 0xF6, 0x03, 0x10, 0x00, 0x00, 0x03, 0x30 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_004F[105] = { /* code 004F, LATIN CAPITAL LETTER O */ 0x00, 0x00, 0x01, 0x34, 0x30, 0x00, 0x00, 0x00, 0x03, 0xBF, 0xFF, 0xFE, 0x91, 0x00, 0x00, 0x6F, 0xFF, 0xFF, 0xFF, 0xFE, 0x20, 0x03, 0xFF, 0xF9, 0x32, 0x4B, 0xFF, 0xD0, 0x0B, 0xFF, 0x80, 0x00, 0x00, 0xCF, 0xF6, 0x0F, 0xFF, 0x10, 0x00, 0x00, 0x5F, 0xFA, 0x2F, 0xFC, 0x00, 0x00, 0x00, 0x2F, 0xFD, 0x4F, 0xFB, 0x00, 0x00, 0x00, 0x2F, 0xFD, 0x2F, 0xFC, 0x00, 0x00, 0x00, 0x2F, 0xFC, 0x0F, 0xFF, 0x10, 0x00, 0x00, 0x5F, 0xF9, 0x0A, 0xFF, 0x70, 0x00, 0x00, 0xCF, 0xF4, 0x03, 0xFF, 0xF8, 0x22, 0x3B, 0xFF, 0xC0, 0x00, 0x7F, 0xFF, 0xFF, 0xFF, 0xFD, 0x20, 0x00, 0x05, 0xDF, 0xFF, 0xFF, 0x91, 0x00, 0x00, 0x00, 0x02, 0x44, 0x31, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0050[ 84] = { /* code 0050, LATIN CAPITAL LETTER P */ 0x3D, 0xFF, 0xFF, 0xFD, 0xA3, 0x00, 0x9F, 0xFF, 0xFF, 0xFF, 0xFF, 0x40, 0x9F, 0xF9, 0x66, 0x6B, 0xFF, 0xC0, 0x9F, 0xF6, 0x00, 0x00, 0xEF, 0xF1, 0x9F, 0xF6, 0x00, 0x00, 0xEF, 0xF1, 0x9F, 0xF6, 0x00, 0x18, 0xFF, 0xD0, 0x9F, 0xFF, 0xFF, 0xFF, 0xFF, 0x60, 0x9F, 0xFF, 0xFF, 0xFF, 0xE6, 0x00, 0x9F, 0xF8, 0x44, 0x43, 0x00, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x00, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x00, 0x9F, 0xF5, 0x00, 0x00, 0x00, 0x00, 0x6F, 0xE2, 0x00, 0x00, 0x00, 0x00, 0x03, 0x20, 0x00, 0x00, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0051[105] = { /* code 0051, LATIN CAPITAL LETTER Q */ 0x00, 0x00, 0x01, 0x34, 0x30, 0x00, 0x00, 0x00, 0x03, 0xBF, 0xFF, 0xFE, 0x91, 0x00, 0x00, 0x6F, 0xFF, 0xFF, 0xFF, 0xFE, 0x20, 0x03, 0xFF, 0xF9, 0x32, 0x4B, 0xFF, 0xD0, 0x0B, 0xFF, 0x80, 0x00, 0x00, 0xCF, 0xF6, 0x0F, 0xFF, 0x10, 0x00, 0x00, 0x5F, 0xFA, 0x2F, 0xFC, 0x00, 0x00, 0x00, 0x2F, 0xFD, 0x4F, 0xFB, 0x00, 0x00, 0x00, 0x2F, 0xFD, 0x2F, 0xFC, 0x00, 0x00, 0x00, 0x2F, 0xFC, 0x0F, 0xFF, 0x10, 0x04, 0xB2, 0x5F, 0xF9, 0x0A, 0xFF, 0x70, 0x09, 0xFE, 0xCF, 0xF4, 0x03, 0xFF, 0xF8, 0x23, 0xCF, 0xFF, 0xC0, 0x00, 0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0x60, 0x00, 0x05, 0xDF, 0xFF, 0xFF, 0xBF, 0xF4, 0x00, 0x00, 0x02, 0x44, 0x30, 0x08, 0xF4 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0052[ 84] = { /* code 0052, LATIN CAPITAL LETTER R */ 0x3D, 0xFF, 0xFF, 0xFE, 0xC7, 0x10, 0x9F, 0xFF, 0xFF, 0xFF, 0xFF, 0xB0, 0x9F, 0xF9, 0x66, 0x67, 0xEF, 0xF4, 0x9F, 0xF6, 0x00, 0x00, 0x9F, 0xF7, 0x9F, 0xF6, 0x00, 0x00, 0x8F, 0xF5, 0x9F, 0xF8, 0x44, 0x46, 0xEF, 0xD0, 0x9F, 0xFF, 0xFF, 0xFF, 0xFC, 0x20, 0x9F, 0xFF, 0xFF, 0xFF, 0xFF, 0x70, 0x9F, 0xF6, 0x00, 0x06, 0xFF, 0xE0, 0x9F, 0xF6, 0x00, 0x00, 0xDF, 0xF0, 0x9F, 0xF6, 0x00, 0x00, 0xBF, 0xF1, 0x9F, 0xF5, 0x00, 0x00, 0xBF, 0xF5, 0x6F, 0xE2, 0x00, 0x00, 0x5F, 0xF4, 0x03, 0x20, 0x00, 0x00, 0x03, 0x20 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0053[ 90] = { /* code 0053, LATIN CAPITAL LETTER S */ 0x00, 0x00, 0x24, 0x41, 0x00, 0x00, 0x00, 0x5D, 0xFF, 0xFF, 0xC4, 0x00, 0x07, 0xFF, 0xFF, 0xFF, 0xFF, 0x70, 0x0E, 0xFE, 0x40, 0x16, 0xEF, 0xF0, 0x2F, 0xFA, 0x00, 0x00, 0x4D, 0x90, 0x1F, 0xFF, 0x72, 0x00, 0x00, 0x00, 0x0B, 0xFF, 0xFF, 0xDA, 0x61, 0x00, 0x01, 0xAF, 0xFF, 0xFF, 0xFE, 0x50, 0x00, 0x01, 0x69, 0xDF, 0xFF, 0xF2, 0x01, 0x10, 0x00, 0x02, 0xCF, 0xF7, 0x2E, 0xF4, 0x00, 0x00, 0x6F, 0xF7, 0x2F, 0xFE, 0x40, 0x02, 0xDF, 0xF5, 0x09, 0xFF, 0xFE, 0xDF, 0xFF, 0xC0, 0x00, 0x6D, 0xFF, 0xFF, 0xF9, 0x10, 0x00, 0x00, 0x34, 0x43, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0054[ 84] = { /* code 0054, LATIN CAPITAL LETTER T */ 0x6E, 0xFF, 0xFF, 0xFF, 0xFF, 0xE7, 0xBF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFB, 0x27, 0x77, 0xBF, 0xFB, 0x77, 0x72, 0x00, 0x00, 0x7F, 0xF7, 0x00, 0x00, 0x00, 0x00, 0x7F, 0xF7, 0x00, 0x00, 0x00, 0x00, 0x7F, 0xF7, 0x00, 0x00, 0x00, 0x00, 0x7F, 0xF7, 0x00, 0x00, 0x00, 0x00, 0x7F, 0xF7, 0x00, 0x00, 0x00, 0x00, 0x7F, 0xF7, 0x00, 0x00, 0x00, 0x00, 0x7F, 0xF7, 0x00, 0x00, 0x00, 0x00, 0x7F, 0xF7, 0x00, 0x00, 0x00, 0x00, 0x7F, 0xF7, 0x00, 0x00, 0x00, 0x00, 0x4F, 0xF4, 0x00, 0x00, 0x00, 0x00, 0x02, 0x20, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0055[ 90] = { /* code 0055, LATIN CAPITAL LETTER U */ 0x02, 0x10, 0x00, 0x00, 0x01, 0x20, 0x6F, 0xE2, 0x00, 0x00, 0x2E, 0xF6, 0x9F, 0xF5, 0x00, 0x00, 0x5F, 0xF9, 0x9F, 0xF6, 0x00, 0x00, 0x6F, 0xF9, 0x9F, 0xF6, 0x00, 0x00, 0x6F, 0xF9, 0x9F, 0xF6, 0x00, 0x00, 0x6F, 0xF9, 0x9F, 0xF6, 0x00, 0x00, 0x6F, 0xF9, 0x9F, 0xF6, 0x00, 0x00, 0x6F, 0xF9, 0x9F, 0xF6, 0x00, 0x00, 0x6F, 0xF9, 0x9F, 0xF6, 0x00, 0x00, 0x6F, 0xF9, 0x7F, 0xF7, 0x00, 0x00, 0x7F, 0xF8, 0x3F, 0xFE, 0x62, 0x26, 0xEF, 0xF3, 0x0A, 0xFF, 0xFF, 0xFF, 0xFF, 0xA0, 0x00, 0x7E, 0xFF, 0xFF, 0xE7, 0x00, 0x00, 0x00, 0x34, 0x43, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0056[ 90] = { /* code 0056, LATIN CAPITAL LETTER V */ 0x02, 0x00, 0x00, 0x00, 0x01, 0x10, 0xAF, 0xC0, 0x00, 0x00, 0x2E, 0xF5, 0xCF, 0xF4, 0x00, 0x00, 0x7F, 0xF7, 0x7F, 0xF9, 0x00, 0x00, 0xCF, 0xF2, 0x2F, 0xFD, 0x00, 0x02, 0xFF, 0xB0, 0x0B, 0xFF, 0x30, 0x07, 0xFF, 0x60, 0x06, 0xFF, 0x70, 0x0B, 0xFF, 0x10, 0x01, 0xFF, 0xB0, 0x1F, 0xFA, 0x00, 0x00, 0xAF, 0xF1, 0x6F, 0xF5, 0x00, 0x00, 0x5F, 0xF6, 0xBF, 0xE0, 0x00, 0x00, 0x0E, 0xFB, 0xFF, 0x80, 0x00, 0x00, 0x09, 0xFF, 0xFF, 0x30, 0x00, 0x00, 0x04, 0xFF, 0xFD, 0x00, 0x00, 0x00, 0x00, 0xCF, 0xF6, 0x00, 0x00, 0x00, 0x00, 0x03, 0x20, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0057[135] = { /* code 0057, LATIN CAPITAL LETTER W */ 0x02, 0x00, 0x00, 0x01, 0x20, 0x00, 0x00, 0x11, 0x00, 0xAF, 0xC0, 0x00, 0x2E, 0xFB, 0x00, 0x01, 0xEF, 0x50, 0xCF, 0xF1, 0x00, 0x6F, 0xFF, 0x10, 0x05, 0xFF, 0x70, 0x8F, 0xF4, 0x00, 0x9F, 0xFF, 0x40, 0x08, 0xFF, 0x30, 0x4F, 0xF7, 0x00, 0xCF, 0xFF, 0x80, 0x0B, 0xFE, 0x00, 0x1F, 0xFA, 0x01, 0xFF, 0xAF, 0xB0, 0x0E, 0xFB, 0x00, 0x0C, 0xFD, 0x05, 0xFE, 0x4F, 0xF0, 0x3F, 0xF7, 0x00, 0x08, 0xFF, 0x18, 0xFA, 0x0F, 0xF3, 0x6F, 0xF3, 0x00, 0x04, 0xFF, 0x4B, 0xF7, 0x0B, 0xF7, 0x9F, 0xE0, 0x00, 0x00, 0xFF, 0x8F, 0xF3, 0x08, 0xFA, 0xCF, 0xA0, 0x00, 0x00, 0xBF, 0xDF, 0xE0, 0x04, 0xFE, 0xFF, 0x70, 0x00, 0x00, 0x7F, 0xFF, 0xA0, 0x01, 0xFF, 0xFF, 0x20, 0x00, 0x00, 0x4F, 0xFF, 0x70, 0x00, 0xCF, 0xFE, 0x00, 0x00, 0x00, 0x0C, 0xFE, 0x20, 0x00, 0x6F, 0xF8, 0x00, 0x00, 0x00, 0x01, 0x41, 0x00, 0x00, 0x03, 0x30, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0058[ 90] = { /* code 0058, LATIN CAPITAL LETTER X */ 0x01, 0x10, 0x00, 0x00, 0x11, 0x00, 0x3F, 0xF3, 0x00, 0x04, 0xFF, 0x20, 0x5F, 0xFC, 0x00, 0x0D, 0xFF, 0x30, 0x0D, 0xFF, 0x60, 0x8F, 0xFA, 0x00, 0x03, 0xFF, 0xE3, 0xFF, 0xD1, 0x00, 0x00, 0x8F, 0xFF, 0xFF, 0x40, 0x00, 0x00, 0x0D, 0xFF, 0xF9, 0x00, 0x00, 0x00, 0x07, 0xFF, 0xF3, 0x00, 0x00, 0x00, 0x2F, 0xFF, 0xFC, 0x00, 0x00, 0x00, 0xCF, 0xFD, 0xFF, 0x70, 0x00, 0x07, 0xFF, 0xB2, 0xFF, 0xF3, 0x00, 0x3F, 0xFF, 0x20, 0x8F, 0xFC, 0x00, 0xAF, 0xF7, 0x00, 0x0D, 0xFF, 0x60, 0xAF, 0xC0, 0x00, 0x05, 0xFF, 0x40, 0x03, 0x10, 0x00, 0x00, 0x32, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0059[ 90] = { /* code 0059, LATIN CAPITAL LETTER Y */ 0x02, 0x10, 0x00, 0x00, 0x02, 0x00, 0x9F, 0xC0, 0x00, 0x00, 0xBF, 0x90, 0xBF, 0xF7, 0x00, 0x05, 0xFF, 0xC0, 0x4F, 0xFE, 0x10, 0x0D, 0xFF, 0x40, 0x0A, 0xFF, 0x80, 0x6F, 0xFA, 0x00, 0x01, 0xEF, 0xF2, 0xEF, 0xE2, 0x00, 0x00, 0x7F, 0xFE, 0xFF, 0x70, 0x00, 0x00, 0x0C, 0xFF, 0xFD, 0x00, 0x00, 0x00, 0x03, 0xFF, 0xF4, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xCF, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_005A[ 78] = { /* code 005A, LATIN CAPITAL LETTER Z */ 0x09, 0xFF, 0xFF, 0xFF, 0xFF, 0xE6, 0x0E, 0xFF, 0xFF, 0xFF, 0xFF, 0xFA, 0x03, 0x77, 0x77, 0x7B, 0xFF, 0xF4, 0x00, 0x00, 0x00, 0x3E, 0xFF, 0x60, 0x00, 0x00, 0x01, 0xDF, 0xF8, 0x00, 0x00, 0x00, 0x0C, 0xFF, 0xB0, 0x00, 0x00, 0x00, 0xAF, 0xFC, 0x10, 0x00, 0x00, 0x07, 0xFF, 0xE2, 0x00, 0x00, 0x00, 0x5F, 0xFF, 0x30, 0x00, 0x00, 0x03, 0xFF, 0xF5, 0x00, 0x00, 0x00, 0x2E, 0xFF, 0xD7, 0x77, 0x77, 0x72, 0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFB, 0x3D, 0xFF, 0xFF, 0xFF, 0xFF, 0xF7 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_005B[ 51] = { /* code 005B, LEFT SQUARE BRACKET */ 0x3D, 0xFF, 0xE2, 0x7F, 0xFF, 0xE2, 0x7F, 0xF0, 0x00, 0x7F, 0xF0, 0x00, 0x7F, 0xF0, 0x00, 0x7F, 0xF0, 0x00, 0x7F, 0xF0, 0x00, 0x7F, 0xF0, 0x00, 0x7F, 0xF0, 0x00, 0x7F, 0xF0, 0x00, 0x7F, 0xF0, 0x00, 0x7F, 0xF0, 0x00, 0x7F, 0xF0, 0x00, 0x7F, 0xF0, 0x00, 0x7F, 0xF9, 0x91, 0x4F, 0xFF, 0xF3, 0x03, 0x66, 0x40 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_005C[ 60] = { /* code 005C, REVERSE SOLIDUS */ 0x12, 0x00, 0x00, 0x00, 0xCF, 0x10, 0x00, 0x00, 0x9F, 0x70, 0x00, 0x00, 0x4F, 0xC0, 0x00, 0x00, 0x0D, 0xF3, 0x00, 0x00, 0x07, 0xF9, 0x00, 0x00, 0x02, 0xFE, 0x00, 0x00, 0x00, 0xBF, 0x50, 0x00, 0x00, 0x5F, 0xB0, 0x00, 0x00, 0x0E, 0xF2, 0x00, 0x00, 0x09, 0xF7, 0x00, 0x00, 0x03, 0xFD, 0x00, 0x00, 0x00, 0xCF, 0x40, 0x00, 0x00, 0x6F, 0x70, 0x00, 0x00, 0x04, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_005D[ 51] = { /* code 005D, RIGHT SQUARE BRACKET */ 0xBF, 0xFE, 0x60, 0xCF, 0xFF, 0xB0, 0x00, 0x9F, 0xB0, 0x00, 0x9F, 0xB0, 0x00, 0x9F, 0xB0, 0x00, 0x9F, 0xB0, 0x00, 0x9F, 0xB0, 0x00, 0x9F, 0xB0, 0x00, 0x9F, 0xB0, 0x00, 0x9F, 0xB0, 0x00, 0x9F, 0xB0, 0x00, 0x9F, 0xB0, 0x00, 0x9F, 0xB0, 0x00, 0x9F, 0xB0, 0x79, 0xDF, 0xB0, 0xEF, 0xFF, 0x90, 0x25, 0x64, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_005E[ 40] = { /* code 005E, CIRCUMFLEX ACCENT */ 0x00, 0x03, 0x72, 0x00, 0x00, 0x00, 0x0E, 0xFB, 0x00, 0x00, 0x00, 0x7F, 0xFF, 0x50, 0x00, 0x01, 0xEF, 0xAF, 0xD0, 0x00, 0x09, 0xFB, 0x0D, 0xF6, 0x00, 0x2F, 0xF3, 0x06, 0xFE, 0x10, 0xAF, 0x90, 0x00, 0xCF, 0x70, 0x69, 0x10, 0x00, 0x39, 0x50 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_005F[ 12] = { /* code 005F, LOW LINE */ 0x49, 0x99, 0x99, 0x99, 0x99, 0x40, 0x14, 0x44, 0x44, 0x44, 0x44, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0060[ 8] = { /* code 0060, GRAVE ACCENT */ 0x78, 0x00, 0xEF, 0xC2, 0x3C, 0xFE, 0x00, 0x78 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0061[ 55] = { /* code 0061, LATIN SMALL LETTER A */ 0x00, 0x05, 0x99, 0x96, 0x10, 0x02, 0xDF, 0xFF, 0xFF, 0xE3, 0x09, 0xFE, 0x74, 0x8F, 0xFB, 0x04, 0xB3, 0x00, 0x0E, 0xFB, 0x00, 0x15, 0x79, 0xCF, 0xFB, 0x06, 0xFF, 0xFF, 0xDE, 0xFB, 0x2F, 0xFC, 0x41, 0x0D, 0xFB, 0x4F, 0xF6, 0x00, 0x3F, 0xFB, 0x2F, 0xFE, 0x89, 0xEE, 0xFD, 0x05, 0xEF, 0xFE, 0x67, 0xFE, 0x00, 0x13, 0x30, 0x00, 0x31 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0062[ 75] = { /* code 0062, LATIN SMALL LETTER B */ 0x02, 0x00, 0x00, 0x00, 0x00, 0xCF, 0x80, 0x00, 0x00, 0x00, 0xFF, 0x90, 0x00, 0x00, 0x00, 0xFF, 0x90, 0x00, 0x00, 0x00, 0xFF, 0x92, 0x89, 0x71, 0x00, 0xFF, 0xCE, 0xFF, 0xFE, 0x20, 0xFF, 0xFB, 0x69, 0xFF, 0xB0, 0xFF, 0xE0, 0x00, 0xAF, 0xF2, 0xFF, 0x90, 0x00, 0x5F, 0xF4, 0xFF, 0x80, 0x00, 0x4F, 0xF6, 0xFF, 0xB0, 0x00, 0x7F, 0xF3, 0xFF, 0xF3, 0x02, 0xDF, 0xE0, 0xFF, 0xEF, 0xDF, 0xFF, 0x70, 0xDF, 0x6C, 0xFF, 0xF7, 0x00, 0x13, 0x00, 0x33, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0063[ 55] = { /* code 0063, LATIN SMALL LETTER C */ 0x00, 0x05, 0x99, 0x83, 0x00, 0x01, 0xCF, 0xFF, 0xFF, 0xA0, 0x0B, 0xFF, 0xA6, 0xBF, 0xF3, 0x3F, 0xF9, 0x00, 0x0B, 0xD2, 0x6F, 0xF4, 0x00, 0x00, 0x00, 0x7F, 0xF2, 0x00, 0x00, 0x00, 0x5F, 0xF4, 0x00, 0x04, 0x70, 0x2F, 0xFC, 0x10, 0x3F, 0xF4, 0x09, 0xFF, 0xED, 0xFF, 0xE1, 0x00, 0x8E, 0xFF, 0xFC, 0x30, 0x00, 0x00, 0x34, 0x20, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0064[ 75] = { /* code 0064, LATIN SMALL LETTER D */ 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x08, 0xFC, 0x00, 0x00, 0x00, 0x09, 0xFF, 0x00, 0x00, 0x00, 0x09, 0xFF, 0x00, 0x17, 0x98, 0x29, 0xFF, 0x02, 0xEF, 0xFF, 0xEC, 0xFF, 0x0B, 0xFF, 0x96, 0xBF, 0xFF, 0x2F, 0xFA, 0x00, 0x0E, 0xFF, 0x5F, 0xF5, 0x00, 0x09, 0xFF, 0x6F, 0xF4, 0x00, 0x08, 0xFF, 0x4F, 0xF7, 0x00, 0x0B, 0xFF, 0x1E, 0xFD, 0x20, 0x3F, 0xFF, 0x07, 0xFF, 0xFD, 0xFE, 0xFF, 0x00, 0x7F, 0xFF, 0xC6, 0xFD, 0x00, 0x01, 0x32, 0x00, 0x31 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0065[ 66] = { /* code 0065, LATIN SMALL LETTER E */ 0x00, 0x03, 0x89, 0x95, 0x00, 0x00, 0x00, 0xAF, 0xFF, 0xFF, 0xC1, 0x00, 0x09, 0xFF, 0x74, 0x6E, 0xFB, 0x00, 0x1F, 0xF8, 0x00, 0x05, 0xFF, 0x30, 0x4F, 0xFC, 0xBB, 0xBC, 0xFF, 0x60, 0x6F, 0xFC, 0xBB, 0xBB, 0xBB, 0x30, 0x4F, 0xF6, 0x00, 0x00, 0x10, 0x00, 0x0E, 0xFD, 0x20, 0x06, 0xFA, 0x00, 0x05, 0xFF, 0xFD, 0xEF, 0xFA, 0x00, 0x00, 0x5D, 0xFF, 0xFE, 0x91, 0x00, 0x00, 0x00, 0x24, 0x30, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0066[ 60] = { /* code 0066, LATIN SMALL LETTER F */ 0x00, 0x01, 0x42, 0x00, 0x00, 0x6F, 0xFF, 0x50, 0x01, 0xFF, 0xFD, 0x40, 0x02, 0xFF, 0x80, 0x00, 0x37, 0xFF, 0xA6, 0x10, 0xBF, 0xFF, 0xFF, 0x70, 0x26, 0xFF, 0xA4, 0x10, 0x02, 0xFF, 0x70, 0x00, 0x02, 0xFF, 0x70, 0x00, 0x02, 0xFF, 0x70, 0x00, 0x02, 0xFF, 0x70, 0x00, 0x02, 0xFF, 0x70, 0x00, 0x02, 0xFF, 0x70, 0x00, 0x01, 0xEF, 0x60, 0x00, 0x00, 0x13, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0067[ 70] = { /* code 0067, LATIN SMALL LETTER G */ 0x00, 0x16, 0x98, 0x31, 0x96, 0x02, 0xDF, 0xFF, 0xFA, 0xFE, 0x0B, 0xFF, 0xA6, 0xBF, 0xFF, 0x2F, 0xF9, 0x00, 0x0C, 0xFF, 0x5F, 0xF5, 0x00, 0x09, 0xFF, 0x6F, 0xF4, 0x00, 0x09, 0xFF, 0x3F, 0xF8, 0x00, 0x0C, 0xFF, 0x0E, 0xFF, 0x64, 0x8F, 0xFF, 0x04, 0xFF, 0xFF, 0xFE, 0xFF, 0x00, 0x38, 0xBA, 0x49, 0xFF, 0x01, 0x61, 0x00, 0x0B, 0xFC, 0x09, 0xFD, 0x32, 0x6F, 0xF7, 0x05, 0xFF, 0xFF, 0xFF, 0xB1, 0x00, 0x39, 0xCD, 0xB7, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0068[ 75] = { /* code 0068, LATIN SMALL LETTER H */ 0x02, 0x00, 0x00, 0x00, 0x00, 0xCF, 0x80, 0x00, 0x00, 0x00, 0xFF, 0x90, 0x00, 0x00, 0x00, 0xFF, 0x90, 0x00, 0x00, 0x00, 0xFF, 0x91, 0x79, 0x83, 0x00, 0xFF, 0xBE, 0xFF, 0xFF, 0x40, 0xFF, 0xFD, 0x8B, 0xFF, 0xB0, 0xFF, 0xE1, 0x00, 0xDF, 0xE0, 0xFF, 0xA0, 0x00, 0x9F, 0xF0, 0xFF, 0x90, 0x00, 0x9F, 0xF0, 0xFF, 0x90, 0x00, 0x9F, 0xF0, 0xFF, 0x90, 0x00, 0x9F, 0xF0, 0xFF, 0x90, 0x00, 0x9F, 0xF0, 0xCF, 0x80, 0x00, 0x8F, 0xC0, 0x13, 0x00, 0x00, 0x03, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0069[ 30] = { /* code 0069, LATIN SMALL LETTER I */ 0x04, 0x00, 0xAF, 0xB0, 0xCF, 0xC0, 0x27, 0x20, 0x49, 0x40, 0xCF, 0xC0, 0xDF, 0xD0, 0xDF, 0xD0, 0xDF, 0xD0, 0xDF, 0xD0, 0xDF, 0xD0, 0xDF, 0xD0, 0xDF, 0xD0, 0xAF, 0xA0, 0x04, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_006A[ 54] = { /* code 006A, LATIN SMALL LETTER J */ 0x00, 0x04, 0x00, 0x00, 0xAF, 0xB0, 0x00, 0xCF, 0xC0, 0x00, 0x27, 0x20, 0x00, 0x49, 0x40, 0x00, 0xCF, 0xC0, 0x00, 0xDF, 0xD0, 0x00, 0xDF, 0xD0, 0x00, 0xDF, 0xD0, 0x00, 0xDF, 0xD0, 0x00, 0xDF, 0xD0, 0x00, 0xDF, 0xD0, 0x00, 0xDF, 0xD0, 0x00, 0xDF, 0xD0, 0x00, 0xDF, 0xD0, 0x05, 0xEF, 0xB0, 0x4F, 0xFF, 0x80, 0x1A, 0xB7, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_006B[ 75] = { /* code 006B, LATIN SMALL LETTER K */ 0x02, 0x00, 0x00, 0x00, 0x00, 0xCF, 0x80, 0x00, 0x00, 0x00, 0xFF, 0x90, 0x00, 0x00, 0x00, 0xFF, 0x90, 0x00, 0x00, 0x00, 0xFF, 0x90, 0x02, 0x93, 0x00, 0xFF, 0x90, 0x1D, 0xFC, 0x00, 0xFF, 0x91, 0xDF, 0xF5, 0x00, 0xFF, 0xAB, 0xFF, 0x60, 0x00, 0xFF, 0xFF, 0xFB, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0x40, 0x00, 0xFF, 0xE6, 0xFF, 0xE2, 0x00, 0xFF, 0x90, 0x6F, 0xFB, 0x00, 0xFF, 0x90, 0x0B, 0xFF, 0x60, 0xCF, 0x80, 0x01, 0xEF, 0x50, 0x13, 0x00, 0x00, 0x13, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_006C[ 30] = { /* code 006C, LATIN SMALL LETTER L */ 0x02, 0x00, 0xAF, 0xA0, 0xDF, 0xD0, 0xDF, 0xD0, 0xDF, 0xD0, 0xDF, 0xD0, 0xDF, 0xD0, 0xDF, 0xD0, 0xDF, 0xD0, 0xDF, 0xD0, 0xDF, 0xD0, 0xDF, 0xD0, 0xDF, 0xD0, 0xAF, 0xA0, 0x03, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_006D[ 88] = { /* code 006D, LATIN SMALL LETTER M */ 0x59, 0x11, 0x79, 0x82, 0x03, 0x89, 0x72, 0x00, 0xEF, 0x9D, 0xFF, 0xFE, 0x6F, 0xFF, 0xFE, 0x20, 0xFF, 0xFC, 0x8C, 0xFF, 0xFC, 0x8C, 0xFF, 0x70, 0xFF, 0xE1, 0x02, 0xFF, 0xD1, 0x02, 0xFF, 0x90, 0xFF, 0xA0, 0x00, 0xFF, 0xA0, 0x00, 0xFF, 0x90, 0xFF, 0x90, 0x00, 0xFF, 0x90, 0x00, 0xFF, 0x90, 0xFF, 0x90, 0x00, 0xFF, 0x90, 0x00, 0xFF, 0x90, 0xFF, 0x90, 0x00, 0xFF, 0x90, 0x00, 0xFF, 0x90, 0xFF, 0x90, 0x00, 0xFF, 0x90, 0x00, 0xFF, 0x90, 0xCF, 0x80, 0x00, 0xDF, 0x80, 0x00, 0xDF, 0x70, 0x13, 0x00, 0x00, 0x13, 0x00, 0x00, 0x13, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_006E[ 55] = { /* code 006E, LATIN SMALL LETTER N */ 0x59, 0x11, 0x79, 0x83, 0x00, 0xEF, 0x8E, 0xFF, 0xFF, 0x40, 0xFF, 0xFD, 0x8B, 0xFF, 0xB0, 0xFF, 0xE1, 0x00, 0xDF, 0xE0, 0xFF, 0xA0, 0x00, 0x9F, 0xF0, 0xFF, 0x90, 0x00, 0x9F, 0xF0, 0xFF, 0x90, 0x00, 0x9F, 0xF0, 0xFF, 0x90, 0x00, 0x9F, 0xF0, 0xFF, 0x90, 0x00, 0x9F, 0xF0, 0xCF, 0x80, 0x00, 0x8F, 0xC0, 0x13, 0x00, 0x00, 0x03, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_006F[ 66] = { /* code 006F, LATIN SMALL LETTER O */ 0x00, 0x04, 0x89, 0x84, 0x00, 0x00, 0x01, 0xBF, 0xFF, 0xFF, 0xB1, 0x00, 0x0A, 0xFF, 0x95, 0x8F, 0xFA, 0x00, 0x1F, 0xFA, 0x00, 0x0A, 0xFF, 0x20, 0x5F, 0xF5, 0x00, 0x05, 0xFF, 0x50, 0x6F, 0xF4, 0x00, 0x04, 0xFF, 0x60, 0x4F, 0xF7, 0x00, 0x06, 0xFF, 0x40, 0x0E, 0xFD, 0x10, 0x1D, 0xFE, 0x10, 0x07, 0xFF, 0xEB, 0xEF, 0xF7, 0x00, 0x00, 0x6E, 0xFF, 0xFE, 0x60, 0x00, 0x00, 0x00, 0x34, 0x30, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0070[ 70] = { /* code 0070, LATIN SMALL LETTER P */ 0x69, 0x13, 0x99, 0x61, 0x00, 0xEF, 0xAF, 0xFF, 0xFD, 0x20, 0xFF, 0xFB, 0x6A, 0xFF, 0xB0, 0xFF, 0xD0, 0x00, 0xAF, 0xF2, 0xFF, 0x90, 0x00, 0x5F, 0xF4, 0xFF, 0x80, 0x00, 0x4F, 0xF6, 0xFF, 0xB0, 0x00, 0x7F, 0xF3, 0xFF, 0xF3, 0x01, 0xDF, 0xE1, 0xFF, 0xFF, 0xDE, 0xFF, 0x80, 0xFF, 0xAB, 0xFF, 0xF9, 0x00, 0xFF, 0x90, 0x24, 0x10, 0x00, 0xFF, 0x90, 0x00, 0x00, 0x00, 0xEF, 0x90, 0x00, 0x00, 0x00, 0x6B, 0x30, 0x00, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0071[ 70] = { /* code 0071, LATIN SMALL LETTER Q */ 0x00, 0x16, 0x99, 0x31, 0x96, 0x02, 0xDF, 0xFF, 0xFA, 0xFE, 0x0B, 0xFF, 0xA6, 0xBF, 0xFF, 0x2F, 0xFA, 0x00, 0x0D, 0xFF, 0x5F, 0xF5, 0x00, 0x09, 0xFF, 0x6F, 0xF4, 0x00, 0x08, 0xFF, 0x4F, 0xF7, 0x00, 0x0B, 0xFF, 0x1F, 0xFD, 0x10, 0x3F, 0xFF, 0x08, 0xFF, 0xED, 0xFF, 0xFF, 0x00, 0x9F, 0xFF, 0xBA, 0xFF, 0x00, 0x01, 0x42, 0x09, 0xFF, 0x00, 0x00, 0x00, 0x09, 0xFF, 0x00, 0x00, 0x00, 0x09, 0xFE, 0x00, 0x00, 0x00, 0x03, 0xB6 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0072[ 44] = { /* code 0072, LATIN SMALL LETTER R */ 0x49, 0x22, 0x97, 0x00, 0xCF, 0x9E, 0xFF, 0x30, 0xDF, 0xFF, 0xFB, 0x10, 0xDF, 0xF5, 0x00, 0x00, 0xDF, 0xE0, 0x00, 0x00, 0xDF, 0xD0, 0x00, 0x00, 0xDF, 0xD0, 0x00, 0x00, 0xDF, 0xD0, 0x00, 0x00, 0xDF, 0xD0, 0x00, 0x00, 0xAF, 0xA0, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0073[ 55] = { /* code 0073, LATIN SMALL LETTER S */ 0x00, 0x48, 0x99, 0x61, 0x00, 0x0A, 0xFF, 0xFF, 0xFE, 0x30, 0x4F, 0xFA, 0x46, 0xEF, 0x80, 0x6F, 0xF7, 0x00, 0x27, 0x10, 0x2F, 0xFF, 0xFB, 0x82, 0x00, 0x04, 0xCF, 0xFF, 0xFF, 0x50, 0x03, 0x01, 0x59, 0xEF, 0xE0, 0x4F, 0xC1, 0x00, 0xAF, 0xF0, 0x3F, 0xFE, 0xAB, 0xFF, 0xA0, 0x04, 0xCF, 0xFF, 0xF9, 0x10, 0x00, 0x01, 0x33, 0x10, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0074[ 56] = { /* code 0074, LATIN SMALL LETTER T */ 0x00, 0x33, 0x00, 0x00, 0x02, 0xFF, 0x40, 0x00, 0x04, 0xFF, 0x60, 0x00, 0x38, 0xFF, 0x95, 0x10, 0xBF, 0xFF, 0xFF, 0x50, 0x27, 0xFF, 0x94, 0x00, 0x04, 0xFF, 0x60, 0x00, 0x04, 0xFF, 0x60, 0x00, 0x04, 0xFF, 0x60, 0x00, 0x04, 0xFF, 0x60, 0x00, 0x04, 0xFF, 0x60, 0x00, 0x03, 0xFF, 0xEC, 0x30, 0x00, 0xBF, 0xFF, 0x30, 0x00, 0x02, 0x41, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0075[ 55] = { /* code 0075, LATIN SMALL LETTER U */ 0x59, 0x30, 0x00, 0x39, 0x50, 0xEF, 0x90, 0x00, 0x9F, 0xE0, 0xFF, 0x90, 0x00, 0x9F, 0xF0, 0xFF, 0x90, 0x00, 0x9F, 0xF0, 0xFF, 0x90, 0x00, 0x9F, 0xF0, 0xFF, 0x90, 0x00, 0x9F, 0xF0, 0xFF, 0xA0, 0x00, 0xBF, 0xF0, 0xEF, 0xE2, 0x06, 0xFF, 0xF0, 0x9F, 0xFF, 0xEF, 0xEF, 0xF0, 0x1C, 0xFF, 0xF9, 0x5F, 0xD0, 0x00, 0x24, 0x10, 0x03, 0x10 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0076[ 55] = { /* code 0076, LATIN SMALL LETTER V */ 0x49, 0x20, 0x00, 0x29, 0x40, 0xDF, 0xB0, 0x00, 0xBF, 0xD0, 0xAF, 0xF1, 0x01, 0xFF, 0xA0, 0x5F, 0xF5, 0x05, 0xFF, 0x50, 0x0E, 0xF9, 0x09, 0xFE, 0x00, 0x09, 0xFE, 0x0E, 0xF9, 0x00, 0x03, 0xFF, 0x7F, 0xF3, 0x00, 0x00, 0xDF, 0xEF, 0xD0, 0x00, 0x00, 0x8F, 0xFF, 0x80, 0x00, 0x00, 0x2F, 0xFF, 0x20, 0x00, 0x00, 0x02, 0x42, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0077[ 77] = { /* code 0077, LATIN SMALL LETTER W */ 0x39, 0x40, 0x01, 0x89, 0x10, 0x04, 0x93, 0xBF, 0xB0, 0x07, 0xFF, 0x80, 0x0B, 0xFB, 0x9F, 0xF1, 0x0B, 0xFF, 0xC0, 0x0F, 0xF9, 0x4F, 0xF4, 0x0E, 0xFF, 0xF1, 0x3F, 0xF4, 0x0E, 0xF7, 0x2F, 0xCC, 0xF3, 0x7F, 0xE0, 0x0A, 0xFB, 0x5F, 0x88, 0xF7, 0xAF, 0xA0, 0x06, 0xFE, 0x9F, 0x44, 0xFA, 0xDF, 0x60, 0x01, 0xFF, 0xEF, 0x11, 0xFE, 0xFF, 0x10, 0x00, 0xBF, 0xFC, 0x00, 0xCF, 0xFB, 0x00, 0x00, 0x6F, 0xF7, 0x00, 0x7F, 0xF6, 0x00, 0x00, 0x03, 0x30, 0x00, 0x03, 0x30, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0078[ 55] = { /* code 0078, LATIN SMALL LETTER X */ 0x18, 0x70, 0x00, 0x78, 0x00, 0x7F, 0xF4, 0x05, 0xFF, 0x30, 0x2F, 0xFD, 0x1E, 0xFD, 0x00, 0x07, 0xFF, 0xDF, 0xF3, 0x00, 0x00, 0xCF, 0xFF, 0x80, 0x00, 0x00, 0x8F, 0xFF, 0x50, 0x00, 0x04, 0xFF, 0xFF, 0xD1, 0x00, 0x1D, 0xFE, 0x6F, 0xF9, 0x00, 0x8F, 0xF5, 0x0B, 0xFF, 0x30, 0x8F, 0xB0, 0x02, 0xEF, 0x30, 0x03, 0x00, 0x00, 0x22, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_0079[ 70] = { /* code 0079, LATIN SMALL LETTER Y */ 0x39, 0x40, 0x00, 0x39, 0x30, 0xBF, 0xD0, 0x00, 0xCF, 0xB0, 0x8F, 0xF2, 0x01, 0xFF, 0x80, 0x3F, 0xF7, 0x05, 0xFF, 0x30, 0x0D, 0xFB, 0x09, 0xFD, 0x00, 0x08, 0xFE, 0x0D, 0xF7, 0x00, 0x03, 0xFF, 0x6F, 0xF2, 0x00, 0x00, 0xCF, 0xEF, 0xB0, 0x00, 0x00, 0x7F, 0xFF, 0x70, 0x00, 0x00, 0x2F, 0xFF, 0x10, 0x00, 0x00, 0x0C, 0xFB, 0x00, 0x00, 0x06, 0x8F, 0xF5, 0x00, 0x00, 0x1F, 0xFF, 0xC0, 0x00, 0x00, 0x07, 0xB8, 0x10, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_007A[ 50] = { /* code 007A, LATIN SMALL LETTER Z */ 0x03, 0x66, 0x66, 0x66, 0x50, 0x0F, 0xFF, 0xFF, 0xFF, 0xF5, 0x07, 0x99, 0x9B, 0xFF, 0xE1, 0x00, 0x00, 0x1D, 0xFE, 0x30, 0x00, 0x01, 0xDF, 0xF4, 0x00, 0x00, 0x1B, 0xFF, 0x50, 0x00, 0x00, 0xBF, 0xF7, 0x00, 0x00, 0x0A, 0xFF, 0x80, 0x00, 0x00, 0x5F, 0xFF, 0xFF, 0xFF, 0xF5, 0x4F, 0xFF, 0xFF, 0xFF, 0xF4 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_007B[ 68] = { /* code 007B, LEFT CURLY BRACKET */ 0x00, 0x6D, 0xFE, 0x30, 0x01, 0xFF, 0xC9, 0x20, 0x03, 0xFF, 0x40, 0x00, 0x04, 0xFF, 0x40, 0x00, 0x04, 0xFF, 0x40, 0x00, 0x04, 0xFF, 0x40, 0x00, 0x04, 0xFF, 0x30, 0x00, 0x8D, 0xFB, 0x00, 0x00, 0xDF, 0xE7, 0x00, 0x00, 0x06, 0xFF, 0x10, 0x00, 0x04, 0xFF, 0x40, 0x00, 0x04, 0xFF, 0x40, 0x00, 0x04, 0xFF, 0x40, 0x00, 0x03, 0xFF, 0x40, 0x00, 0x02, 0xFF, 0x95, 0x00, 0x00, 0xBF, 0xFF, 0x40, 0x00, 0x03, 0x55, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_007C[ 30] = { /* code 007C, VERTICAL LINE */ 0x02, 0x20, 0x1E, 0xE1, 0x2F, 0xF2, 0x2F, 0xF2, 0x2F, 0xF2, 0x2F, 0xF2, 0x2F, 0xF2, 0x2F, 0xF2, 0x2F, 0xF2, 0x2F, 0xF2, 0x2F, 0xF2, 0x2F, 0xF2, 0x2F, 0xF2, 0x1F, 0xF1, 0x02, 0x20 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_007D[ 68] = { /* code 007D, RIGHT CURLY BRACKET */ 0xCF, 0xEA, 0x00, 0x00, 0x8B, 0xFF, 0x60, 0x00, 0x00, 0xDF, 0x70, 0x00, 0x00, 0xDF, 0x70, 0x00, 0x00, 0xDF, 0x70, 0x00, 0x00, 0xDF, 0x70, 0x00, 0x00, 0xDF, 0x80, 0x00, 0x00, 0x7F, 0xEA, 0x10, 0x00, 0x3C, 0xFF, 0x30, 0x00, 0xCF, 0xA0, 0x00, 0x00, 0xDF, 0x70, 0x00, 0x00, 0xDF, 0x70, 0x00, 0x00, 0xDF, 0x70, 0x00, 0x00, 0xDF, 0x70, 0x00, 0x36, 0xFF, 0x70, 0x00, 0xEF, 0xFE, 0x20, 0x00, 0x36, 0x41, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontRounded22_007E[ 24] = { /* code 007E, TILDE */ 0x02, 0xAB, 0x83, 0x00, 0x38, 0x00, 0x0D, 0xFF, 0xFF, 0xBA, 0xFF, 0x00, 0x4F, 0xC6, 0xAF, 0xFF, 0xF9, 0x00, 0x06, 0x10, 0x01, 0x79, 0x50, 0x00 }; GUI_CONST_STORAGE GUI_CHARINFO_EXT GUI_FontRounded22_CharInfo[95] = { { 1, 1, 0, 18, 6, acGUI_FontRounded22_0020 } /* code 0020, SPACE */ ,{ 4, 15, 1, 4, 6, acGUI_FontRounded22_0021 } /* code 0021, EXCLAMATION MARK */ ,{ 7, 7, 1, 4, 10, acGUI_FontRounded22_0022 } /* code 0022, QUOTATION MARK */ ,{ 11, 14, 0, 5, 11, acGUI_FontRounded22_0023 } /* code 0023, NUMBER SIGN */ ,{ 11, 16, 0, 4, 11, acGUI_FontRounded22_0024 } /* code 0024, DOLLAR SIGN */ ,{ 16, 15, 1, 4, 18, acGUI_FontRounded22_0025 } /* code 0025, PERCENT SIGN */ ,{ 13, 15, 0, 4, 13, acGUI_FontRounded22_0026 } /* code 0026, AMPERSAND */ ,{ 3, 7, 1, 4, 6, acGUI_FontRounded22_0027 } /* code 0027, APOSTROPHE */ ,{ 5, 18, 1, 4, 6, acGUI_FontRounded22_0028 } /* code 0028, LEFT PARENTHESIS */ ,{ 5, 18, 0, 4, 6, acGUI_FontRounded22_0029 } /* code 0029, RIGHT PARENTHESIS */ ,{ 8, 8, 0, 4, 8, acGUI_FontRounded22_002A } /* code 002A, ASTERISK */ ,{ 11, 11, 0, 7, 11, acGUI_FontRounded22_002B } /* code 002B, PLUS SIGN */ ,{ 4, 6, 1, 15, 6, acGUI_FontRounded22_002C } /* code 002C, COMMA */ ,{ 7, 4, 0, 11, 7, acGUI_FontRounded22_002D } /* code 002D, HYPHEN-MINUS */ ,{ 4, 4, 1, 15, 6, acGUI_FontRounded22_002E } /* code 002E, FULL STOP */ ,{ 7, 15, 0, 4, 7, acGUI_FontRounded22_002F } /* code 002F, SOLIDUS */ ,{ 11, 14, 0, 5, 11, acGUI_FontRounded22_0030 } /* code 0030, DIGIT ZERO */ ,{ 7, 14, -1, 5, 7, acGUI_FontRounded22_0031 } /* code 0031, DIGIT ONE */ ,{ 11, 13, 0, 5, 11, acGUI_FontRounded22_0032 } /* code 0032, DIGIT TWO */ ,{ 10, 14, 0, 5, 11, acGUI_FontRounded22_0033 } /* code 0033, DIGIT THREE */ ,{ 11, 14, 0, 5, 11, acGUI_FontRounded22_0034 } /* code 0034, DIGIT FOUR */ ,{ 10, 14, 0, 5, 11, acGUI_FontRounded22_0035 } /* code 0035, DIGIT FIVE */ ,{ 11, 14, 0, 5, 11, acGUI_FontRounded22_0036 } /* code 0036, DIGIT SIX */ ,{ 10, 14, 0, 5, 10, acGUI_FontRounded22_0037 } /* code 0037, DIGIT SEVEN */ ,{ 11, 14, 0, 5, 11, acGUI_FontRounded22_0038 } /* code 0038, DIGIT EIGHT */ ,{ 11, 14, 0, 5, 11, acGUI_FontRounded22_0039 } /* code 0039, DIGIT NINE */ ,{ 4, 11, 1, 8, 6, acGUI_FontRounded22_003A } /* code 003A, COLON */ ,{ 4, 13, 1, 8, 6, acGUI_FontRounded22_003B } /* code 003B, SEMICOLON */ ,{ 11, 10, 0, 8, 11, acGUI_FontRounded22_003C } /* code 003C, LESS-THAN SIGN */ ,{ 11, 8, 0, 9, 11, acGUI_FontRounded22_003D } /* code 003D, EQUALS SIGN */ ,{ 11, 10, 0, 8, 11, acGUI_FontRounded22_003E } /* code 003E, GREATER-THAN SIGN */ ,{ 10, 15, 0, 4, 10, acGUI_FontRounded22_003F } /* code 003F, QUESTION MARK */ ,{ 14, 15, 0, 4, 14, acGUI_FontRounded22_0040 } /* code 0040, COMMERCIAL AT */ ,{ 12, 15, 0, 4, 12, acGUI_FontRounded22_0041 } /* code 0041, LATIN CAPITAL LETTER A */ ,{ 12, 13, 1, 5, 13, acGUI_FontRounded22_0042 } /* code 0042, LATIN CAPITAL LETTER B */ ,{ 12, 15, 1, 4, 13, acGUI_FontRounded22_0043 } /* code 0043, LATIN CAPITAL LETTER C */ ,{ 12, 13, 1, 5, 14, acGUI_FontRounded22_0044 } /* code 0044, LATIN CAPITAL LETTER D */ ,{ 11, 13, 1, 5, 12, acGUI_FontRounded22_0045 } /* code 0045, LATIN CAPITAL LETTER E */ ,{ 11, 14, 1, 5, 11, acGUI_FontRounded22_0046 } /* code 0046, LATIN CAPITAL LETTER F */ ,{ 13, 15, 1, 4, 15, acGUI_FontRounded22_0047 } /* code 0047, LATIN CAPITAL LETTER G */ ,{ 12, 15, 1, 4, 14, acGUI_FontRounded22_0048 } /* code 0048, LATIN CAPITAL LETTER H */ ,{ 4, 15, 1, 4, 6, acGUI_FontRounded22_0049 } /* code 0049, LATIN CAPITAL LETTER I */ ,{ 9, 15, 0, 4, 10, acGUI_FontRounded22_004A } /* code 004A, LATIN CAPITAL LETTER J */ ,{ 12, 15, 1, 4, 12, acGUI_FontRounded22_004B } /* code 004B, LATIN CAPITAL LETTER K */ ,{ 10, 14, 1, 4, 11, acGUI_FontRounded22_004C } /* code 004C, LATIN CAPITAL LETTER L */ ,{ 14, 15, 1, 4, 16, acGUI_FontRounded22_004D } /* code 004D, LATIN CAPITAL LETTER M */ ,{ 12, 15, 1, 4, 14, acGUI_FontRounded22_004E } /* code 004E, LATIN CAPITAL LETTER N */ ,{ 14, 15, 0, 4, 15, acGUI_FontRounded22_004F } /* code 004F, LATIN CAPITAL LETTER O */ ,{ 12, 14, 1, 5, 13, acGUI_FontRounded22_0050 } /* code 0050, LATIN CAPITAL LETTER P */ ,{ 14, 15, 0, 4, 15, acGUI_FontRounded22_0051 } /* code 0051, LATIN CAPITAL LETTER Q */ ,{ 12, 14, 1, 5, 13, acGUI_FontRounded22_0052 } /* code 0052, LATIN CAPITAL LETTER R */ ,{ 12, 15, 0, 4, 12, acGUI_FontRounded22_0053 } /* code 0053, LATIN CAPITAL LETTER S */ ,{ 12, 14, 0, 5, 12, acGUI_FontRounded22_0054 } /* code 0054, LATIN CAPITAL LETTER T */ ,{ 12, 15, 1, 4, 14, acGUI_FontRounded22_0055 } /* code 0055, LATIN CAPITAL LETTER U */ ,{ 12, 15, 0, 4, 12, acGUI_FontRounded22_0056 } /* code 0056, LATIN CAPITAL LETTER V */ ,{ 17, 15, 0, 4, 17, acGUI_FontRounded22_0057 } /* code 0057, LATIN CAPITAL LETTER W */ ,{ 11, 15, 0, 4, 11, acGUI_FontRounded22_0058 } /* code 0058, LATIN CAPITAL LETTER X */ ,{ 11, 15, 0, 4, 11, acGUI_FontRounded22_0059 } /* code 0059, LATIN CAPITAL LETTER Y */ ,{ 12, 13, 0, 5, 12, acGUI_FontRounded22_005A } /* code 005A, LATIN CAPITAL LETTER Z */ ,{ 6, 17, 1, 5, 6, acGUI_FontRounded22_005B } /* code 005B, LEFT SQUARE BRACKET */ ,{ 7, 15, 0, 4, 7, acGUI_FontRounded22_005C } /* code 005C, REVERSE SOLIDUS */ ,{ 5, 17, 0, 5, 6, acGUI_FontRounded22_005D } /* code 005D, RIGHT SQUARE BRACKET */ ,{ 9, 8, 1, 5, 11, acGUI_FontRounded22_005E } /* code 005E, CIRCUMFLEX ACCENT */ ,{ 11, 2, -1, 19, 9, acGUI_FontRounded22_005F } /* code 005F, LOW LINE */ ,{ 4, 4, 0, 4, 5, acGUI_FontRounded22_0060 } /* code 0060, GRAVE ACCENT */ ,{ 10, 11, 0, 8, 11, acGUI_FontRounded22_0061 } /* code 0061, LATIN SMALL LETTER A */ ,{ 10, 15, 1, 4, 11, acGUI_FontRounded22_0062 } /* code 0062, LATIN SMALL LETTER B */ ,{ 10, 11, 0, 8, 10, acGUI_FontRounded22_0063 } /* code 0063, LATIN SMALL LETTER C */ ,{ 10, 15, 0, 4, 11, acGUI_FontRounded22_0064 } /* code 0064, LATIN SMALL LETTER D */ ,{ 11, 11, 0, 8, 11, acGUI_FontRounded22_0065 } /* code 0065, LATIN SMALL LETTER E */ ,{ 7, 15, 0, 4, 7, acGUI_FontRounded22_0066 } /* code 0066, LATIN SMALL LETTER F */ ,{ 10, 14, 0, 8, 11, acGUI_FontRounded22_0067 } /* code 0067, LATIN SMALL LETTER G */ ,{ 9, 15, 1, 4, 11, acGUI_FontRounded22_0068 } /* code 0068, LATIN SMALL LETTER H */ ,{ 3, 15, 1, 4, 5, acGUI_FontRounded22_0069 } /* code 0069, LATIN SMALL LETTER I */ ,{ 5, 18, -1, 4, 5, acGUI_FontRounded22_006A } /* code 006A, LATIN SMALL LETTER J */ ,{ 9, 15, 1, 4, 10, acGUI_FontRounded22_006B } /* code 006B, LATIN SMALL LETTER K */ ,{ 3, 15, 1, 4, 5, acGUI_FontRounded22_006C } /* code 006C, LATIN SMALL LETTER L */ ,{ 15, 11, 1, 8, 17, acGUI_FontRounded22_006D } /* code 006D, LATIN SMALL LETTER M */ ,{ 9, 11, 1, 8, 11, acGUI_FontRounded22_006E } /* code 006E, LATIN SMALL LETTER N */ ,{ 11, 11, 0, 8, 11, acGUI_FontRounded22_006F } /* code 006F, LATIN SMALL LETTER O */ ,{ 10, 14, 1, 8, 11, acGUI_FontRounded22_0070 } /* code 0070, LATIN SMALL LETTER P */ ,{ 10, 14, 0, 8, 11, acGUI_FontRounded22_0071 } /* code 0071, LATIN SMALL LETTER Q */ ,{ 7, 11, 1, 8, 7, acGUI_FontRounded22_0072 } /* code 0072, LATIN SMALL LETTER R */ ,{ 9, 11, 0, 8, 10, acGUI_FontRounded22_0073 } /* code 0073, LATIN SMALL LETTER S */ ,{ 7, 14, 0, 5, 7, acGUI_FontRounded22_0074 } /* code 0074, LATIN SMALL LETTER T */ ,{ 9, 11, 1, 8, 11, acGUI_FontRounded22_0075 } /* code 0075, LATIN SMALL LETTER U */ ,{ 9, 11, 0, 8, 9, acGUI_FontRounded22_0076 } /* code 0076, LATIN SMALL LETTER V */ ,{ 14, 11, 0, 8, 14, acGUI_FontRounded22_0077 } /* code 0077, LATIN SMALL LETTER W */ ,{ 9, 11, 0, 8, 9, acGUI_FontRounded22_0078 } /* code 0078, LATIN SMALL LETTER X */ ,{ 9, 14, 0, 8, 9, acGUI_FontRounded22_0079 } /* code 0079, LATIN SMALL LETTER Y */ ,{ 10, 10, 0, 8, 10, acGUI_FontRounded22_007A } /* code 007A, LATIN SMALL LETTER Z */ ,{ 7, 17, 0, 5, 6, acGUI_FontRounded22_007B } /* code 007B, LEFT CURLY BRACKET */ ,{ 4, 15, 0, 4, 4, acGUI_FontRounded22_007C } /* code 007C, VERTICAL LINE */ ,{ 7, 17, 0, 5, 6, acGUI_FontRounded22_007D } /* code 007D, RIGHT CURLY BRACKET */ ,{ 11, 4, 0, 11, 11, acGUI_FontRounded22_007E } /* code 007E, TILDE */ }; GUI_CONST_STORAGE GUI_FONT_PROP_EXT GUI_FontRounded22_Prop1 = { 0x0020 /* first character */ ,0x007E /* last character */ ,&GUI_FontRounded22_CharInfo[ 0] /* address of first character */ ,(GUI_CONST_STORAGE GUI_FONT_PROP_EXT *)0 /* pointer to next GUI_FONT_PROP_EXT */ }; GUI_CONST_STORAGE GUI_FONT GUI_FontRounded22 = { GUI_FONTTYPE_PROP_AA4_EXT /* type of font */ ,22 /* height of font */ ,22 /* space of font y */ ,1 /* magnification x */ ,1 /* magnification y */ ,{&GUI_FontRounded22_Prop1} ,22 /* Baseline */ ,11 /* Height of lowercase characters */ ,15 /* Height of capital characters */ }; /********************************************************************* * * * GUI_FontSouvenir18 * * * * Used in * * - GUIDEMO.c * * - GUIDEMO_ColorBar.c * * - GUIDEMO_Intro.c * * * ********************************************************************** */ GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0020[ 1] = { /* code 0020, SPACE */ 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0021[ 11] = { /* code 0021, EXCLAMATION MARK */ 0xCB, 0xED, 0xDC, 0xBB, 0xA9, 0x97, 0x76, 0x54, 0x00, 0xCC, 0xCC }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0022[ 8] = { /* code 0022, QUOTATION MARK */ 0xE0, 0xE0, 0xC0, 0xC0, 0x80, 0x80, 0x50, 0x50 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0023[ 55] = { /* code 0023, NUMBER SIGN */ 0x00, 0x00, 0x3B, 0x02, 0xC0, 0x00, 0x00, 0x87, 0x07, 0x80, 0x00, 0x00, 0xC2, 0x0B, 0x30, 0x00, 0x02, 0xC0, 0x1D, 0x00, 0x0E, 0xFF, 0xFF, 0xFF, 0xFD, 0x00, 0x0C, 0x30, 0xA4, 0x00, 0x00, 0x2C, 0x01, 0xD0, 0x00, 0xDF, 0xFF, 0xFF, 0xFF, 0xE0, 0x00, 0xC2, 0x0C, 0x30, 0x00, 0x03, 0xB0, 0x3C, 0x00, 0x00, 0x0A, 0x50, 0x96, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0024[ 60] = { /* code 0024, DOLLAR SIGN */ 0x00, 0x01, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x03, 0xDF, 0xE7, 0x00, 0x0C, 0x5F, 0x1C, 0x30, 0x0F, 0x0F, 0x05, 0x30, 0x0E, 0x3F, 0x00, 0x00, 0x07, 0xEF, 0x30, 0x00, 0x00, 0x6F, 0xFA, 0x10, 0x00, 0x0F, 0x4C, 0xA0, 0x00, 0x0F, 0x02, 0xF0, 0xD0, 0x0F, 0x01, 0xE0, 0x99, 0x1F, 0x2A, 0x70, 0x08, 0xEF, 0xC6, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0025[ 78] = { /* code 0025, PERCENT SIGN */ 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x2C, 0xFC, 0x61, 0x06, 0xC0, 0x00, 0xC6, 0x06, 0xEE, 0xED, 0x40, 0x00, 0xF0, 0x00, 0xF0, 0x19, 0x00, 0x00, 0xC6, 0x06, 0xD0, 0x82, 0x00, 0x00, 0x3C, 0xFC, 0x33, 0x70, 0x00, 0x00, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x74, 0x2C, 0xFC, 0x20, 0x00, 0x02, 0x90, 0xC6, 0x06, 0xC0, 0x00, 0x0A, 0x20, 0xF0, 0x00, 0xF0, 0x00, 0x57, 0x00, 0xC6, 0x06, 0xC0, 0x00, 0xA0, 0x00, 0x2C, 0xFC, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0026[ 66] = { /* code 0026, AMPERSAND */ 0x01, 0xBF, 0xD3, 0x00, 0x00, 0x00, 0x0B, 0x70, 0x6D, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0D, 0x40, 0x79, 0x00, 0x00, 0x00, 0x08, 0xCA, 0xA0, 0x00, 0x00, 0x00, 0x05, 0xFA, 0x00, 0x8F, 0xFC, 0x20, 0x5B, 0x7F, 0x40, 0x09, 0x90, 0x00, 0xD2, 0x08, 0xE2, 0x2B, 0x00, 0x00, 0xF1, 0x00, 0x9E, 0xC1, 0x00, 0x00, 0xB9, 0x11, 0x7D, 0xF9, 0x32, 0x30, 0x1B, 0xFE, 0x80, 0x4A, 0xDC, 0x80 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0027[ 4] = { /* code 0027, APOSTROPHE */ 0xE0, 0xC0, 0x80, 0x50 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0028[ 26] = { /* code 0028, LEFT PARENTHESIS */ 0x02, 0xC0, 0x0A, 0x40, 0x3C, 0x00, 0x87, 0x00, 0xC3, 0x00, 0xE1, 0x00, 0xF0, 0x00, 0xE1, 0x00, 0xC3, 0x00, 0x87, 0x00, 0x3C, 0x00, 0x0A, 0x40, 0x02, 0xB0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0029[ 26] = { /* code 0029, RIGHT PARENTHESIS */ 0xC2, 0x00, 0x5A, 0x00, 0x0C, 0x30, 0x07, 0x80, 0x03, 0xC0, 0x01, 0xE0, 0x00, 0xF0, 0x01, 0xE0, 0x03, 0xC0, 0x07, 0x80, 0x0C, 0x30, 0x5A, 0x00, 0xB2, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_002A[ 18] = { /* code 002A, ASTERISK */ 0x00, 0xE0, 0x00, 0xB3, 0x93, 0xB0, 0x68, 0x77, 0x60, 0x68, 0x78, 0x60, 0xB3, 0x93, 0xB0, 0x00, 0xE0, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_002B[ 45] = { /* code 002B, PLUS SIGN */ 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_002C[ 4] = { /* code 002C, COMMA */ 0xCB, 0xDF, 0x07, 0x52 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_002D[ 2] = { /* code 002D, HYPHEN-MINUS */ 0xFF, 0xFF }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_002E[ 2] = { /* code 002E, FULL STOP */ 0xCC, 0xCC }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_002F[ 24] = { /* code 002F, SOLIDUS */ 0x00, 0x09, 0x00, 0x09, 0x00, 0x45, 0x00, 0x81, 0x00, 0x90, 0x03, 0x70, 0x07, 0x20, 0x09, 0x00, 0x18, 0x00, 0x54, 0x00, 0x90, 0x00, 0x90, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0030[ 44] = { /* code 0030, DIGIT ZERO */ 0x04, 0xCF, 0xC4, 0x00, 0x2D, 0x30, 0x3D, 0x20, 0x95, 0x00, 0x05, 0x90, 0xC2, 0x00, 0x02, 0xC0, 0xF0, 0x00, 0x00, 0xF0, 0xF0, 0x00, 0x00, 0xF0, 0xF0, 0x00, 0x00, 0xF0, 0xC2, 0x00, 0x02, 0xC0, 0x95, 0x00, 0x05, 0x90, 0x2D, 0x30, 0x3D, 0x20, 0x04, 0xCF, 0xC4, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0031[ 33] = { /* code 0031, DIGIT ONE */ 0x14, 0xC0, 0x00, 0xEE, 0xF0, 0x00, 0x01, 0xF0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xF0, 0x00, 0x03, 0xF4, 0x00, 0xAF, 0xFF, 0xD0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0032[ 44] = { /* code 0032, DIGIT TWO */ 0x00, 0x6D, 0xFE, 0x91, 0x09, 0xA2, 0x02, 0x9A, 0x0F, 0x10, 0x00, 0x0F, 0x0C, 0x60, 0x00, 0x2E, 0x00, 0x00, 0x00, 0xB7, 0x00, 0x00, 0x2C, 0x80, 0x00, 0x04, 0xE6, 0x00, 0x00, 0x5D, 0x30, 0x00, 0x03, 0xD2, 0x00, 0x00, 0x0D, 0x30, 0x00, 0x2D, 0x5F, 0xFF, 0xFF, 0xFB }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0033[ 44] = { /* code 0033, DIGIT THREE */ 0x02, 0xAF, 0xFA, 0x10, 0x0C, 0x60, 0x19, 0xA0, 0x0E, 0x10, 0x01, 0xF0, 0x00, 0x00, 0x01, 0xE0, 0x00, 0x00, 0x1A, 0x60, 0x00, 0x6D, 0xF7, 0x00, 0x00, 0x00, 0x2A, 0x80, 0x00, 0x00, 0x01, 0xE0, 0xD0, 0x00, 0x01, 0xE0, 0xD7, 0x10, 0x3B, 0x80, 0x2B, 0xFF, 0xC7, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0034[ 44] = { /* code 0034, DIGIT FOUR */ 0x00, 0x00, 0x8E, 0x00, 0x00, 0x08, 0xBF, 0x00, 0x00, 0x6C, 0x1F, 0x00, 0x02, 0xD2, 0x0F, 0x00, 0x0B, 0x50, 0x0F, 0x00, 0x4C, 0x00, 0x0F, 0x00, 0xA5, 0x00, 0x0F, 0x00, 0xEF, 0xFF, 0xFF, 0xFE, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x10, 0x00, 0x00, 0xCF, 0xE0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0035[ 44] = { /* code 0035, DIGIT FIVE */ 0x0F, 0xFF, 0xD9, 0x00, 0x0E, 0x00, 0x00, 0x00, 0x0D, 0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0x0C, 0xBF, 0xE8, 0x00, 0x0B, 0x50, 0x1A, 0x90, 0x00, 0x00, 0x02, 0xE0, 0x00, 0x00, 0x00, 0xF0, 0xD0, 0x00, 0x04, 0xC0, 0xC6, 0x00, 0x4E, 0x50, 0x2B, 0xFF, 0xC5, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0036[ 44] = { /* code 0036, DIGIT SIX */ 0x00, 0x06, 0xBF, 0x50, 0x01, 0xCB, 0x41, 0x00, 0x0C, 0x70, 0x00, 0x00, 0x6A, 0x00, 0x00, 0x00, 0xB6, 0xBF, 0xE9, 0x00, 0xE9, 0x20, 0x2B, 0x80, 0xF0, 0x00, 0x02, 0xE0, 0xE1, 0x00, 0x00, 0xF0, 0xB5, 0x00, 0x03, 0xD0, 0x4E, 0x40, 0x2B, 0x60, 0x05, 0xDF, 0xD6, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0037[ 44] = { /* code 0037, DIGIT SEVEN */ 0xEF, 0xFF, 0xFF, 0xE0, 0xE1, 0x00, 0x07, 0x80, 0x30, 0x00, 0x0D, 0x20, 0x00, 0x00, 0x5B, 0x00, 0x00, 0x00, 0xC4, 0x00, 0x00, 0x04, 0xD0, 0x00, 0x00, 0x0B, 0x80, 0x00, 0x00, 0x2F, 0x30, 0x00, 0x00, 0x9C, 0x00, 0x00, 0x00, 0xE8, 0x00, 0x00, 0x03, 0xF3, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0038[ 44] = { /* code 0038, DIGIT EIGHT */ 0x19, 0xDF, 0xEB, 0x20, 0xB8, 0x20, 0x18, 0xD0, 0xF1, 0x00, 0x01, 0xE0, 0x9C, 0x51, 0x3A, 0x30, 0x07, 0xFF, 0xF5, 0x00, 0x1B, 0x43, 0xAF, 0x50, 0xA6, 0x00, 0x07, 0xD0, 0xF0, 0x00, 0x00, 0xF0, 0xE2, 0x00, 0x02, 0xD0, 0x9B, 0x20, 0x3C, 0x60, 0x08, 0xEF, 0xC6, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0039[ 44] = { /* code 0039, DIGIT NINE */ 0x06, 0xDF, 0xD5, 0x00, 0x6B, 0x20, 0x4E, 0x40, 0xD3, 0x00, 0x05, 0xB0, 0xF0, 0x00, 0x01, 0xE0, 0xE2, 0x00, 0x00, 0xF0, 0x8B, 0x20, 0x29, 0xE0, 0x09, 0xEF, 0xB6, 0xB0, 0x00, 0x00, 0x09, 0x60, 0x00, 0x00, 0x7B, 0x00, 0x01, 0x4B, 0xB1, 0x00, 0x5F, 0xB6, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_003A[ 7] = { /* code 003A, COLON */ 0xCC, 0xCC, 0x00, 0x00, 0x00, 0xCC, 0xCC }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_003B[ 9] = { /* code 003B, SEMICOLON */ 0xCC, 0xCC, 0x00, 0x00, 0x00, 0xCB, 0xDF, 0x05, 0x42 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_003C[ 40] = { /* code 003C, LESS-THAN SIGN */ 0x00, 0x00, 0x00, 0x16, 0xC0, 0x00, 0x00, 0x39, 0xD8, 0x20, 0x01, 0x6C, 0xB5, 0x00, 0x00, 0x9D, 0x82, 0x00, 0x00, 0x00, 0x9D, 0x82, 0x00, 0x00, 0x00, 0x01, 0x6C, 0xB5, 0x00, 0x00, 0x00, 0x00, 0x39, 0xD9, 0x30, 0x00, 0x00, 0x00, 0x16, 0xC0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_003D[ 20] = { /* code 003D, EQUALS SIGN */ 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_003E[ 40] = { /* code 003E, GREATER-THAN SIGN */ 0xC6, 0x10, 0x00, 0x00, 0x00, 0x28, 0xD9, 0x30, 0x00, 0x00, 0x00, 0x05, 0xBC, 0x61, 0x00, 0x00, 0x00, 0x02, 0x8D, 0x90, 0x00, 0x00, 0x02, 0x8D, 0x90, 0x00, 0x05, 0xBC, 0x61, 0x00, 0x39, 0xD9, 0x30, 0x00, 0x00, 0xC6, 0x10, 0x00, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_003F[ 33] = { /* code 003F, QUESTION MARK */ 0x2A, 0xFF, 0xA1, 0xCE, 0x21, 0x9B, 0xDD, 0x00, 0x1F, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x78, 0x00, 0x4A, 0x90, 0x00, 0xF2, 0x00, 0x00, 0xE0, 0x00, 0x00, 0x00, 0x00, 0x00, 0xCC, 0x00, 0x00, 0xCC, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0040[ 91] = { /* code 0040, COMMERCIAL AT */ 0x00, 0x01, 0x8C, 0xFF, 0xEA, 0x40, 0x00, 0x00, 0x5D, 0x83, 0x00, 0x27, 0xE8, 0x00, 0x05, 0xC2, 0x00, 0x00, 0x00, 0x2D, 0x50, 0x2D, 0x20, 0x2B, 0xF8, 0x55, 0x05, 0xB0, 0x88, 0x01, 0xE7, 0x07, 0xC4, 0x01, 0xF0, 0xD3, 0x09, 0xB0, 0x03, 0xE0, 0x00, 0xF0, 0xF0, 0x0E, 0x40, 0x06, 0xB0, 0x03, 0xC0, 0xF0, 0x0F, 0x00, 0x0D, 0x60, 0x0B, 0x70, 0xC3, 0x0C, 0x41, 0x9B, 0x41, 0xAC, 0x00, 0x7A, 0x03, 0xEE, 0x33, 0xDE, 0x91, 0x00, 0x0C, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xCB, 0x51, 0x00, 0x26, 0x50, 0x00, 0x00, 0x06, 0xBE, 0xFE, 0xA4, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0041[ 55] = { /* code 0041, LATIN CAPITAL LETTER A */ 0x00, 0x00, 0x87, 0x00, 0x00, 0x00, 0x02, 0xEF, 0x10, 0x00, 0x00, 0x09, 0x4C, 0x80, 0x00, 0x00, 0x1B, 0x05, 0xF1, 0x00, 0x00, 0x75, 0x00, 0xD7, 0x00, 0x00, 0xC0, 0x00, 0x7D, 0x00, 0x04, 0xFF, 0xFF, 0xFF, 0x30, 0x0A, 0x40, 0x00, 0x0B, 0x80, 0x1E, 0x00, 0x00, 0x07, 0xD0, 0x5C, 0x00, 0x00, 0x03, 0xF3, 0xDF, 0x50, 0x00, 0x0B, 0xFC }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0042[ 55] = { /* code 0042, LATIN CAPITAL LETTER B */ 0xBF, 0xFF, 0xFF, 0xC3, 0x00, 0x0F, 0x20, 0x02, 0x8D, 0x00, 0x0F, 0x00, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x00, 0x79, 0x00, 0x0F, 0x14, 0x7D, 0x90, 0x00, 0x0F, 0xDA, 0x66, 0xBB, 0x10, 0x0F, 0x00, 0x00, 0x07, 0xA0, 0x0F, 0x00, 0x00, 0x00, 0xF0, 0x0F, 0x00, 0x00, 0x02, 0xE0, 0x0F, 0x30, 0x01, 0x5D, 0x80, 0xCF, 0xFF, 0xFF, 0xD8, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0043[ 55] = { /* code 0043, LATIN CAPITAL LETTER C */ 0x00, 0x3A, 0xEF, 0xEB, 0x40, 0x07, 0xC4, 0x00, 0x4C, 0xE0, 0x3D, 0x10, 0x00, 0x01, 0xC0, 0xA6, 0x00, 0x00, 0x00, 0x00, 0xE1, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xE1, 0x00, 0x00, 0x00, 0x00, 0xB5, 0x00, 0x00, 0x00, 0x00, 0x5C, 0x10, 0x00, 0x00, 0x85, 0x09, 0xC4, 0x00, 0x3A, 0xC1, 0x00, 0x6C, 0xFF, 0xC7, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0044[ 55] = { /* code 0044, LATIN CAPITAL LETTER D */ 0xCF, 0xFF, 0xFD, 0x93, 0x00, 0x1F, 0x30, 0x03, 0x7E, 0x60, 0x0F, 0x00, 0x00, 0x02, 0xD3, 0x0F, 0x00, 0x00, 0x00, 0x6A, 0x0F, 0x00, 0x00, 0x00, 0x1E, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x0F, 0x00, 0x00, 0x00, 0x1E, 0x0F, 0x00, 0x00, 0x00, 0x6A, 0x0F, 0x00, 0x00, 0x02, 0xE3, 0x1F, 0x40, 0x03, 0x8E, 0x60, 0xCF, 0xFF, 0xFD, 0x93, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0045[ 55] = { /* code 0045, LATIN CAPITAL LETTER E */ 0xBF, 0xFF, 0xFF, 0xFF, 0x40, 0x0F, 0x20, 0x00, 0x39, 0x50, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x01, 0xB0, 0x00, 0x0F, 0xFF, 0xFF, 0xF0, 0x00, 0x0F, 0x00, 0x01, 0xB0, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x20, 0x00, 0x16, 0xD0, 0xBF, 0xFF, 0xFF, 0xFF, 0xB0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0046[ 44] = { /* code 0046, LATIN CAPITAL LETTER F */ 0xBF, 0xFF, 0xFF, 0xFC, 0x0F, 0x20, 0x02, 0x5D, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x01, 0xA0, 0x0F, 0xFF, 0xFF, 0xF0, 0x0F, 0x00, 0x02, 0xA0, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0xCF, 0xB0, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0047[ 66] = { /* code 0047, LATIN CAPITAL LETTER G */ 0x00, 0x28, 0xDF, 0xFC, 0x81, 0x00, 0x03, 0xE7, 0x20, 0x14, 0xC8, 0x00, 0x2E, 0x30, 0x00, 0x00, 0x19, 0x00, 0x98, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD2, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x7F, 0xFE, 0x00, 0xE1, 0x00, 0x00, 0x00, 0x3F, 0x00, 0xB6, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x4E, 0x20, 0x00, 0x00, 0x1F, 0x10, 0x07, 0xE7, 0x30, 0x03, 0xBC, 0x10, 0x00, 0x4B, 0xEF, 0xEB, 0x60, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0048[ 66] = { /* code 0048, LATIN CAPITAL LETTER H */ 0xCF, 0xC0, 0x00, 0x00, 0xCF, 0xC0, 0x1F, 0x10, 0x00, 0x00, 0x0F, 0x10, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x0F, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x1F, 0x00, 0xCF, 0xB0, 0x00, 0x00, 0xCF, 0xB0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0049[ 22] = { /* code 0049, LATIN CAPITAL LETTER I */ 0xBF, 0xC0, 0x0F, 0x10, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x1F, 0x00, 0xCF, 0xB0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_004A[ 44] = { /* code 004A, LATIN CAPITAL LETTER J */ 0x00, 0x00, 0xEF, 0xC0, 0x00, 0x00, 0x2F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x6E, 0x90, 0x0F, 0x00, 0xF3, 0x00, 0x0F, 0x00, 0xD6, 0x01, 0x8B, 0x00, 0x3B, 0xFF, 0xB1, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_004B[ 55] = { /* code 004B, LATIN CAPITAL LETTER K */ 0xBF, 0xC0, 0x05, 0xFF, 0x40, 0x0F, 0x10, 0x01, 0xE4, 0x00, 0x0F, 0x00, 0x0B, 0x70, 0x00, 0x0F, 0x00, 0xA9, 0x00, 0x00, 0x0F, 0x09, 0xE1, 0x00, 0x00, 0x0F, 0xAA, 0xDB, 0x00, 0x00, 0x0F, 0x80, 0x2E, 0x60, 0x00, 0x0F, 0x00, 0x06, 0xE1, 0x00, 0x0F, 0x00, 0x00, 0xC9, 0x00, 0x1F, 0x00, 0x00, 0x5F, 0x20, 0xCF, 0xB0, 0x00, 0xAF, 0xC0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_004C[ 44] = { /* code 004C, LATIN CAPITAL LETTER L */ 0xBF, 0xC0, 0x00, 0x00, 0x0F, 0x10, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x20, 0x01, 0x5D, 0xBF, 0xFF, 0xFF, 0xFC }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_004D[ 66] = { /* code 004D, LATIN CAPITAL LETTER M */ 0xAF, 0xE1, 0x00, 0x00, 0x09, 0xFC, 0x0C, 0xF7, 0x00, 0x00, 0x1F, 0xE0, 0x0C, 0xAD, 0x00, 0x00, 0x7C, 0xD0, 0x0D, 0x4F, 0x50, 0x00, 0xD6, 0xF0, 0x0D, 0x2A, 0xB0, 0x06, 0xC2, 0xF0, 0x0D, 0x23, 0xF3, 0x0D, 0x50, 0xF0, 0x0E, 0x00, 0xBA, 0x6C, 0x00, 0xF0, 0x0F, 0x00, 0x4F, 0xE5, 0x00, 0xF0, 0x0F, 0x00, 0x0B, 0xC0, 0x00, 0xF0, 0x1F, 0x00, 0x02, 0x20, 0x00, 0xF1, 0xCF, 0xC0, 0x00, 0x00, 0x0B, 0xFB }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_004E[ 60] = { /* code 004E, LATIN CAPITAL LETTER N */ 0xEF, 0xB0, 0x00, 0x0B, 0xFB, 0x1F, 0xF8, 0x00, 0x00, 0xF0, 0x0F, 0x5F, 0x40, 0x00, 0xF0, 0x0F, 0x08, 0xE2, 0x00, 0xF0, 0x0F, 0x00, 0xCB, 0x00, 0xF0, 0x0F, 0x00, 0x2E, 0x60, 0xF0, 0x0F, 0x00, 0x06, 0xE2, 0xF0, 0x0F, 0x00, 0x00, 0xBA, 0xF0, 0x0F, 0x00, 0x00, 0x2F, 0xF0, 0x1F, 0x10, 0x00, 0x07, 0xF0, 0xCF, 0xD0, 0x00, 0x00, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_004F[ 55] = { /* code 004F, LATIN CAPITAL LETTER O */ 0x00, 0x5B, 0xFF, 0xB5, 0x00, 0x08, 0xC3, 0x00, 0x3C, 0x80, 0x4C, 0x10, 0x00, 0x01, 0xC4, 0xB5, 0x00, 0x00, 0x00, 0x5B, 0xE1, 0x00, 0x00, 0x00, 0x1E, 0xF0, 0x00, 0x00, 0x00, 0x0F, 0xE1, 0x00, 0x00, 0x00, 0x1E, 0xB5, 0x00, 0x00, 0x00, 0x5B, 0x4C, 0x10, 0x00, 0x01, 0xC4, 0x08, 0xC3, 0x00, 0x3C, 0x80, 0x00, 0x5B, 0xFF, 0xB5, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0050[ 55] = { /* code 0050, LATIN CAPITAL LETTER P */ 0xCF, 0xFF, 0xFE, 0xB6, 0x00, 0x1F, 0x50, 0x02, 0x5D, 0x80, 0x0F, 0x00, 0x00, 0x02, 0xE0, 0x0F, 0x00, 0x00, 0x01, 0xE0, 0x0F, 0x00, 0x00, 0x09, 0x90, 0x0F, 0x01, 0x37, 0xCB, 0x10, 0x0F, 0xFE, 0xC9, 0x30, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x10, 0x00, 0x00, 0x00, 0xBF, 0xE0, 0x00, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0051[ 65] = { /* code 0051, LATIN CAPITAL LETTER Q */ 0x00, 0x5B, 0xFF, 0xB5, 0x00, 0x08, 0xC3, 0x00, 0x3C, 0x80, 0x4C, 0x10, 0x00, 0x01, 0xC4, 0xB5, 0x00, 0x00, 0x00, 0x5B, 0xE1, 0x00, 0x00, 0x00, 0x1E, 0xF0, 0x00, 0x00, 0x00, 0x0F, 0xE1, 0x00, 0x00, 0x00, 0x1E, 0xB5, 0x00, 0x00, 0x00, 0x5B, 0x4C, 0x10, 0x38, 0x01, 0xC4, 0x08, 0xC3, 0x1C, 0x4C, 0x80, 0x00, 0x5B, 0xFF, 0xE5, 0x00, 0x00, 0x00, 0x01, 0xC6, 0x00, 0x00, 0x00, 0x00, 0x19, 0xFC }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0052[ 55] = { /* code 0052, LATIN CAPITAL LETTER R */ 0xBF, 0xFF, 0xFF, 0xDA, 0x20, 0x0F, 0x20, 0x01, 0x3A, 0xD0, 0x0F, 0x00, 0x00, 0x00, 0xF0, 0x0F, 0x00, 0x00, 0x07, 0xB0, 0x0F, 0x02, 0x47, 0xCB, 0x10, 0x0F, 0xEC, 0xAE, 0xE1, 0x00, 0x0F, 0x00, 0x03, 0xE9, 0x00, 0x0F, 0x00, 0x00, 0x5F, 0x20, 0x0F, 0x00, 0x00, 0x0B, 0x90, 0x1F, 0x20, 0x00, 0x04, 0xE1, 0xCF, 0xE0, 0x00, 0x2D, 0xFC }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0053[ 55] = { /* code 0053, LATIN CAPITAL LETTER S */ 0x00, 0x5B, 0xFF, 0xDA, 0x30, 0x07, 0xA2, 0x03, 0xAF, 0xE0, 0x0E, 0x10, 0x00, 0x05, 0xE0, 0x0F, 0x20, 0x00, 0x00, 0x00, 0x0A, 0xD7, 0x30, 0x00, 0x00, 0x01, 0x8D, 0xFF, 0xC7, 0x00, 0x00, 0x00, 0x24, 0x8E, 0xA0, 0x00, 0x00, 0x00, 0x02, 0xF0, 0xE5, 0x00, 0x00, 0x02, 0xD0, 0x6F, 0x82, 0x01, 0x4C, 0x60, 0x04, 0xBE, 0xFE, 0xB4, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0054[ 55] = { /* code 0054, LATIN CAPITAL LETTER T */ 0xCF, 0xFF, 0xFF, 0xFF, 0xC0, 0xF7, 0x11, 0xF1, 0x17, 0xF0, 0x20, 0x00, 0xF0, 0x00, 0x20, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x0D, 0xFB, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0055[ 66] = { /* code 0055, LATIN CAPITAL LETTER U */ 0xCF, 0xD0, 0x00, 0x00, 0xCF, 0xA0, 0x0D, 0x40, 0x00, 0x00, 0x3C, 0x00, 0x0D, 0x20, 0x00, 0x00, 0x2D, 0x00, 0x0E, 0x10, 0x00, 0x00, 0x0E, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x0E, 0x20, 0x00, 0x00, 0x2D, 0x00, 0x0A, 0x70, 0x00, 0x00, 0x7A, 0x00, 0x03, 0xF7, 0x10, 0x27, 0xE2, 0x00, 0x00, 0x3B, 0xEF, 0xEA, 0x20, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0056[ 55] = { /* code 0056, LATIN CAPITAL LETTER V */ 0xDF, 0xC0, 0x00, 0x07, 0xFD, 0x6F, 0x30, 0x00, 0x00, 0xD5, 0x2F, 0x30, 0x00, 0x01, 0xF1, 0x0C, 0x70, 0x00, 0x05, 0xB0, 0x08, 0xC0, 0x00, 0x0A, 0x60, 0x02, 0xF2, 0x00, 0x1E, 0x10, 0x00, 0xB8, 0x00, 0x6A, 0x00, 0x00, 0x5F, 0x10, 0xD3, 0x00, 0x00, 0x0D, 0x96, 0xB0, 0x00, 0x00, 0x05, 0xFE, 0x30, 0x00, 0x00, 0x00, 0xA8, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0057[ 77] = { /* code 0057, LATIN CAPITAL LETTER W */ 0xCF, 0xB0, 0x02, 0xEF, 0x70, 0x07, 0xFC, 0x5F, 0x10, 0x00, 0x7C, 0x00, 0x00, 0xB4, 0x1F, 0x30, 0x00, 0xAC, 0x00, 0x00, 0xC1, 0x0D, 0x60, 0x00, 0xDF, 0x10, 0x01, 0xC0, 0x0A, 0x90, 0x03, 0xCE, 0x50, 0x04, 0x90, 0x06, 0xE0, 0x07, 0x7A, 0xB0, 0x08, 0x50, 0x02, 0xF3, 0x0D, 0x24, 0xF1, 0x0D, 0x10, 0x00, 0xD8, 0x4C, 0x00, 0xD8, 0x3B, 0x00, 0x00, 0x8D, 0xB6, 0x00, 0x7E, 0xA7, 0x00, 0x00, 0x3F, 0xE1, 0x00, 0x1F, 0xF1, 0x00, 0x00, 0x0B, 0x60, 0x00, 0x07, 0x90, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0058[ 55] = { /* code 0058, LATIN CAPITAL LETTER X */ 0xBF, 0xD1, 0x00, 0x6F, 0xF3, 0x1D, 0xA0, 0x00, 0x0E, 0x60, 0x04, 0xF4, 0x00, 0x79, 0x00, 0x00, 0x9E, 0x14, 0xC1, 0x00, 0x00, 0x0C, 0xCC, 0x20, 0x00, 0x00, 0x03, 0xFB, 0x00, 0x00, 0x00, 0x0B, 0x6D, 0x90, 0x00, 0x00, 0x79, 0x02, 0xE6, 0x00, 0x02, 0xD1, 0x00, 0x3E, 0x20, 0x0C, 0x70, 0x00, 0x0B, 0xC0, 0xBF, 0xB0, 0x00, 0x1F, 0xFB }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0059[ 55] = { /* code 0059, LATIN CAPITAL LETTER Y */ 0xDF, 0xE3, 0x00, 0x05, 0xFC, 0x1D, 0xD0, 0x00, 0x00, 0xC2, 0x04, 0xF6, 0x00, 0x02, 0x80, 0x00, 0x8E, 0x20, 0x09, 0x10, 0x00, 0x0B, 0xB0, 0x64, 0x00, 0x00, 0x01, 0xD9, 0xA0, 0x00, 0x00, 0x00, 0x3F, 0x10, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x00, 0xCF, 0xB0, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_005A[ 44] = { /* code 005A, LATIN CAPITAL LETTER Z */ 0x3F, 0xFF, 0xFF, 0xFB, 0x6B, 0x30, 0x00, 0xD7, 0x10, 0x00, 0x08, 0xD1, 0x00, 0x00, 0x4F, 0x40, 0x00, 0x02, 0xE8, 0x00, 0x00, 0x0C, 0xB0, 0x00, 0x00, 0x9D, 0x10, 0x00, 0x06, 0xF3, 0x00, 0x00, 0x2E, 0x70, 0x00, 0x02, 0xAD, 0x00, 0x02, 0x7E, 0xEF, 0xFF, 0xFF, 0xFC }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_005B[ 26] = { /* code 005B, LEFT SQUARE BRACKET */ 0xFF, 0xF0, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xFF, 0xF0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_005C[ 24] = { /* code 005C, REVERSE SOLIDUS */ 0x90, 0x00, 0x90, 0x00, 0x63, 0x00, 0x18, 0x00, 0x09, 0x00, 0x07, 0x20, 0x03, 0x60, 0x00, 0xA0, 0x00, 0x91, 0x00, 0x55, 0x00, 0x19, 0x00, 0x09 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_005D[ 26] = { /* code 005D, RIGHT SQUARE BRACKET */ 0xFF, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0xFF, 0xF0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_005E[ 20] = { /* code 005E, CIRCUMFLEX ACCENT */ 0x00, 0x0A, 0xFA, 0x00, 0x00, 0x00, 0x8B, 0x1B, 0x80, 0x00, 0x08, 0x80, 0x00, 0x88, 0x00, 0x85, 0x00, 0x00, 0x05, 0x80 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_005F[ 4] = { /* code 005F, LOW LINE */ 0xFF, 0xFF, 0xFF, 0xFF }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0060[ 6] = { /* code 0060, GRAVE ACCENT */ 0xD2, 0x00, 0x5C, 0x10, 0x03, 0x70 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0061[ 28] = { /* code 0061, LATIN SMALL LETTER A */ 0xBE, 0xFE, 0x80, 0x00, 0x00, 0x03, 0xD7, 0x00, 0x00, 0x00, 0x4C, 0x00, 0x18, 0xCF, 0xFF, 0x00, 0xC8, 0x31, 0x0F, 0x00, 0xF3, 0x01, 0x7F, 0x00, 0x6E, 0xFC, 0x4B, 0x90 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0062[ 44] = { /* code 0062, LATIN SMALL LETTER B */ 0x8E, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x4C, 0xFE, 0x80, 0x0F, 0x92, 0x03, 0xB8, 0x0F, 0x00, 0x00, 0x2E, 0x0F, 0x00, 0x00, 0x0F, 0x0F, 0x10, 0x00, 0x3C, 0x0B, 0xA1, 0x03, 0xD5, 0x02, 0xBF, 0xFC, 0x50 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0063[ 28] = { /* code 0063, LATIN SMALL LETTER C */ 0x05, 0xCF, 0xD6, 0x00, 0x5C, 0x20, 0x8D, 0x00, 0xC3, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0xE2, 0x00, 0x00, 0x00, 0x8B, 0x20, 0x3C, 0x20, 0x08, 0xEF, 0xC4, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0064[ 44] = { /* code 0064, LATIN SMALL LETTER D */ 0x00, 0x00, 0x09, 0xE0, 0x00, 0x00, 0x01, 0xF0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0xF0, 0x05, 0xCF, 0xE8, 0xF0, 0x5D, 0x40, 0x16, 0xF0, 0xC3, 0x00, 0x00, 0xF0, 0xF0, 0x00, 0x00, 0xF0, 0xE2, 0x00, 0x00, 0xF0, 0x7C, 0x30, 0x15, 0xF0, 0x07, 0xDF, 0xD7, 0xBB }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0065[ 28] = { /* code 0065, LATIN SMALL LETTER E */ 0x04, 0xCF, 0xD5, 0x00, 0x4E, 0x30, 0x4E, 0x00, 0xC4, 0x00, 0x2E, 0x00, 0xF1, 0x37, 0xD6, 0x00, 0xEE, 0xC8, 0x30, 0x00, 0x88, 0x10, 0x4B, 0x00, 0x08, 0xEF, 0xB3, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0066[ 33] = { /* code 0066, LATIN SMALL LETTER F */ 0x00, 0x3E, 0xC0, 0x00, 0xB6, 0xD0, 0x00, 0xE1, 0x00, 0x00, 0xF0, 0x00, 0x2F, 0xFF, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xF0, 0x00, 0x0D, 0xFB, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0067[ 40] = { /* code 0067, LATIN SMALL LETTER G */ 0x09, 0xFF, 0xFF, 0x20, 0x8A, 0x11, 0xA6, 0x00, 0xE2, 0x00, 0x2D, 0x00, 0xF0, 0x00, 0x0F, 0x00, 0xD2, 0x00, 0x2D, 0x00, 0x8A, 0x11, 0xA7, 0x00, 0x09, 0xEE, 0xE6, 0x00, 0x00, 0x00, 0x2E, 0x00, 0xC2, 0x01, 0x6D, 0x00, 0x8E, 0xFE, 0xB2, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0068[ 44] = { /* code 0068, LATIN SMALL LETTER H */ 0x5E, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x5D, 0xFC, 0x30, 0x0F, 0x81, 0x08, 0xB0, 0x0F, 0x00, 0x01, 0xF0, 0x0F, 0x00, 0x00, 0xF0, 0x0F, 0x00, 0x00, 0xF0, 0x0F, 0x00, 0x00, 0xF0, 0xAF, 0xC0, 0x0A, 0xFC }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0069[ 20] = { /* code 0069, LATIN SMALL LETTER I */ 0x0C, 0x00, 0x0C, 0x00, 0x00, 0x00, 0x8E, 0x00, 0x1F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0xBF, 0xC0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_006A[ 26] = { /* code 006A, LATIN SMALL LETTER J */ 0x00, 0xC0, 0x00, 0xC0, 0x00, 0x00, 0x09, 0xE0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xF0, 0x00, 0xE0, 0x04, 0xB0, 0xDE, 0x30 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_006B[ 44] = { /* code 006B, LATIN SMALL LETTER K */ 0x8E, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x5F, 0xB0, 0x0F, 0x00, 0x7B, 0x00, 0x0F, 0x09, 0xB0, 0x00, 0x0F, 0xCA, 0xE2, 0x00, 0x0F, 0x20, 0x6B, 0x00, 0x0F, 0x00, 0x0B, 0x40, 0x9F, 0xC0, 0x0C, 0xD0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_006C[ 22] = { /* code 006C, LATIN SMALL LETTER L */ 0x9E, 0x00, 0x1F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0xBF, 0xC0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_006D[ 42] = { /* code 006D, LATIN SMALL LETTER M */ 0x9B, 0x9E, 0xE6, 0x8E, 0xE5, 0x00, 0x0F, 0x60, 0x4F, 0x60, 0x4E, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0xBF, 0xC0, 0xBF, 0xC0, 0xBF, 0xC0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_006E[ 28] = { /* code 006E, LATIN SMALL LETTER N */ 0xAA, 0x7D, 0xFC, 0x30, 0x1F, 0x71, 0x07, 0xC0, 0x0F, 0x00, 0x00, 0xF0, 0x0F, 0x00, 0x00, 0xF0, 0x0F, 0x00, 0x00, 0xF0, 0x0F, 0x00, 0x00, 0xF0, 0xBF, 0xC0, 0x0B, 0xFC }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_006F[ 28] = { /* code 006F, LATIN SMALL LETTER O */ 0x06, 0xDF, 0xD7, 0x00, 0x6D, 0x30, 0x3D, 0x70, 0xD3, 0x00, 0x03, 0xD0, 0xF0, 0x00, 0x00, 0xF0, 0xD3, 0x00, 0x03, 0xD0, 0x7C, 0x30, 0x3C, 0x70, 0x07, 0xDF, 0xD7, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0070[ 40] = { /* code 0070, LATIN SMALL LETTER P */ 0xBB, 0x6D, 0xFD, 0x70, 0x1F, 0x71, 0x03, 0xC7, 0x0F, 0x00, 0x00, 0x2D, 0x0F, 0x00, 0x00, 0x0F, 0x0F, 0x00, 0x00, 0x3D, 0x0F, 0x22, 0x03, 0xD6, 0x0F, 0x6E, 0xFC, 0x60, 0x0F, 0x00, 0x00, 0x00, 0x1F, 0x10, 0x00, 0x00, 0xDF, 0xC0, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0071[ 40] = { /* code 0071, LATIN SMALL LETTER Q */ 0x05, 0xCF, 0xE7, 0xB0, 0x5D, 0x30, 0x2A, 0xF0, 0xC3, 0x00, 0x01, 0xF0, 0xF0, 0x00, 0x00, 0xF0, 0xE2, 0x00, 0x00, 0xF0, 0x8B, 0x30, 0x29, 0xF0, 0x08, 0xEF, 0xC5, 0xF0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x0D, 0xFC }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0072[ 21] = { /* code 0072, LATIN SMALL LETTER R */ 0xB8, 0x5D, 0xD0, 0x2E, 0xA0, 0x00, 0x0F, 0x20, 0x00, 0x0F, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x0F, 0x00, 0x00, 0xCF, 0xB0, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0073[ 21] = { /* code 0073, LATIN SMALL LETTER S */ 0x3C, 0xFE, 0x80, 0xE4, 0x04, 0xD0, 0xE6, 0x10, 0x00, 0x4C, 0xFD, 0x50, 0x00, 0x16, 0xE0, 0xD4, 0x04, 0xD0, 0x4C, 0xFC, 0x30 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0074[ 20] = { /* code 0074, LATIN SMALL LETTER T */ 0x09, 0x00, 0x0B, 0x00, 0x0E, 0x00, 0xDF, 0xFE, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x00, 0x0F, 0x10, 0x0E, 0xEB }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0075[ 28] = { /* code 0075, LATIN SMALL LETTER U */ 0xBE, 0x00, 0x0B, 0xE0, 0x1F, 0x00, 0x01, 0xF0, 0x0F, 0x00, 0x00, 0xF0, 0x0F, 0x00, 0x00, 0xF0, 0x0F, 0x10, 0x00, 0xF0, 0x0B, 0x80, 0x18, 0xF2, 0x03, 0xCF, 0xD5, 0xBB }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0076[ 28] = { /* code 0076, LATIN SMALL LETTER V */ 0xCF, 0x30, 0x0F, 0xD0, 0x4C, 0x00, 0x08, 0x60, 0x1E, 0x10, 0x0A, 0x20, 0x0A, 0x60, 0x1B, 0x00, 0x03, 0xC0, 0x75, 0x00, 0x00, 0xB8, 0xC0, 0x00, 0x00, 0x2E, 0x30, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0077[ 42] = { /* code 0077, LATIN SMALL LETTER W */ 0xCF, 0x40, 0x4F, 0x80, 0x0B, 0xD0, 0x6B, 0x00, 0x0D, 0x40, 0x04, 0x80, 0x3D, 0x00, 0x1F, 0x70, 0x07, 0x40, 0x0D, 0x30, 0x6C, 0xD0, 0x0C, 0x10, 0x08, 0x90, 0xC2, 0xE5, 0x59, 0x00, 0x02, 0xFA, 0x70, 0x7D, 0xC2, 0x00, 0x00, 0x7B, 0x00, 0x0C, 0x70, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0078[ 28] = { /* code 0078, LATIN SMALL LETTER X */ 0xBF, 0x40, 0x7F, 0x30, 0x0C, 0x60, 0x86, 0x00, 0x02, 0xE7, 0xA0, 0x00, 0x00, 0x7F, 0x30, 0x00, 0x02, 0xB6, 0xE2, 0x00, 0x0B, 0x20, 0x8C, 0x10, 0xBF, 0x30, 0x6F, 0xC0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_0079[ 40] = { /* code 0079, LATIN SMALL LETTER Y */ 0xCF, 0x40, 0x0C, 0xD0, 0x6C, 0x00, 0x06, 0x80, 0x4B, 0x00, 0x06, 0x60, 0x2E, 0x00, 0x09, 0x30, 0x0D, 0x40, 0x0C, 0x00, 0x07, 0xC1, 0x68, 0x00, 0x00, 0xBF, 0xE1, 0x00, 0x00, 0x05, 0x70, 0x00, 0x00, 0x5A, 0x00, 0x00, 0x9E, 0x80, 0x00, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_007A[ 21] = { /* code 007A, LATIN SMALL LETTER Z */ 0x7F, 0xFF, 0xD0, 0x82, 0x08, 0x80, 0x00, 0x4C, 0x00, 0x01, 0xD3, 0x00, 0x0B, 0x60, 0x00, 0x79, 0x02, 0xB0, 0xEF, 0xFF, 0xC0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_007B[ 39] = { /* code 007B, LEFT CURLY BRACKET */ 0x00, 0x4C, 0xF0, 0x00, 0xD6, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xE0, 0x00, 0x17, 0xA0, 0x00, 0xFB, 0x10, 0x00, 0x17, 0xA0, 0x00, 0x00, 0xE0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xD6, 0x00, 0x00, 0x4C, 0xF0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_007C[ 15] = { /* code 007C, VERTICAL LINE */ 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_007D[ 39] = { /* code 007D, RIGHT CURLY BRACKET */ 0xFC, 0x40, 0x00, 0x06, 0xD0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xE0, 0x00, 0x00, 0xA7, 0x10, 0x00, 0x1B, 0xF0, 0x00, 0xA7, 0x10, 0x00, 0xE0, 0x00, 0x00, 0xF0, 0x00, 0x00, 0xF0, 0x00, 0x06, 0xD0, 0x00, 0xFC, 0x40, 0x00 }; GUI_CONST_STORAGE unsigned char acGUI_FontSouvenir18_007E[ 15] = { /* code 007E, TILDE */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x4C, 0xFD, 0x83, 0x03, 0xC0, 0xA3, 0x02, 0x7D, 0xFC, 0x40 }; GUI_CONST_STORAGE GUI_CHARINFO_EXT GUI_FontSouvenir18_CharInfo[95] = { { 1, 1, 0, 14, 4, acGUI_FontSouvenir18_0020 } /* code 0020, SPACE */ ,{ 2, 11, 1, 3, 4, acGUI_FontSouvenir18_0021 } /* code 0021, EXCLAMATION MARK */ ,{ 3, 4, 1, 3, 5, acGUI_FontSouvenir18_0022 } /* code 0022, QUOTATION MARK */ ,{ 10, 11, 1, 3, 11, acGUI_FontSouvenir18_0023 } /* code 0023, NUMBER SIGN */ ,{ 7, 15, 0, 1, 8, acGUI_FontSouvenir18_0024 } /* code 0024, DOLLAR SIGN */ ,{ 11, 13, 1, 2, 13, acGUI_FontSouvenir18_0025 } /* code 0025, PERCENT SIGN */ ,{ 11, 11, 1, 3, 11, acGUI_FontSouvenir18_0026 } /* code 0026, AMPERSAND */ ,{ 1, 4, 1, 3, 3, acGUI_FontSouvenir18_0027 } /* code 0027, APOSTROPHE */ ,{ 3, 13, 1, 3, 5, acGUI_FontSouvenir18_0028 } /* code 0028, LEFT PARENTHESIS */ ,{ 3, 13, 1, 3, 5, acGUI_FontSouvenir18_0029 } /* code 0029, RIGHT PARENTHESIS */ ,{ 5, 6, 1, 3, 7, acGUI_FontSouvenir18_002A } /* code 002A, ASTERISK */ ,{ 9, 9, 2, 5, 12, acGUI_FontSouvenir18_002B } /* code 002B, PLUS SIGN */ ,{ 2, 4, 1, 12, 4, acGUI_FontSouvenir18_002C } /* code 002C, COMMA */ ,{ 4, 1, 1, 10, 5, acGUI_FontSouvenir18_002D } /* code 002D, HYPHEN-MINUS */ ,{ 2, 2, 1, 12, 4, acGUI_FontSouvenir18_002E } /* code 002E, FULL STOP */ ,{ 4, 12, 0, 3, 4, acGUI_FontSouvenir18_002F } /* code 002F, SOLIDUS */ ,{ 7, 11, 0, 3, 8, acGUI_FontSouvenir18_0030 } /* code 0030, DIGIT ZERO */ ,{ 5, 11, 2, 3, 8, acGUI_FontSouvenir18_0031 } /* code 0031, DIGIT ONE */ ,{ 8, 11, -1, 3, 8, acGUI_FontSouvenir18_0032 } /* code 0032, DIGIT TWO */ ,{ 7, 11, 0, 3, 8, acGUI_FontSouvenir18_0033 } /* code 0033, DIGIT THREE */ ,{ 8, 11, 0, 3, 8, acGUI_FontSouvenir18_0034 } /* code 0034, DIGIT FOUR */ ,{ 7, 11, 0, 3, 8, acGUI_FontSouvenir18_0035 } /* code 0035, DIGIT FIVE */ ,{ 7, 11, 0, 3, 8, acGUI_FontSouvenir18_0036 } /* code 0036, DIGIT SIX */ ,{ 7, 11, 1, 3, 8, acGUI_FontSouvenir18_0037 } /* code 0037, DIGIT SEVEN */ ,{ 7, 11, 0, 3, 8, acGUI_FontSouvenir18_0038 } /* code 0038, DIGIT EIGHT */ ,{ 7, 11, 0, 3, 8, acGUI_FontSouvenir18_0039 } /* code 0039, DIGIT NINE */ ,{ 2, 7, 1, 7, 4, acGUI_FontSouvenir18_003A } /* code 003A, COLON */ ,{ 2, 9, 1, 7, 4, acGUI_FontSouvenir18_003B } /* code 003B, SEMICOLON */ ,{ 9, 8, 2, 5, 12, acGUI_FontSouvenir18_003C } /* code 003C, LESS-THAN SIGN */ ,{ 9, 4, 2, 7, 12, acGUI_FontSouvenir18_003D } /* code 003D, EQUALS SIGN */ ,{ 9, 8, 2, 5, 12, acGUI_FontSouvenir18_003E } /* code 003E, GREATER-THAN SIGN */ ,{ 6, 11, 1, 3, 7, acGUI_FontSouvenir18_003F } /* code 003F, QUESTION MARK */ ,{ 13, 13, 1, 3, 15, acGUI_FontSouvenir18_0040 } /* code 0040, COMMERCIAL AT */ ,{ 10, 11, 0, 3, 10, acGUI_FontSouvenir18_0041 } /* code 0041, LATIN CAPITAL LETTER A */ ,{ 9, 11, 0, 3, 10, acGUI_FontSouvenir18_0042 } /* code 0042, LATIN CAPITAL LETTER B */ ,{ 10, 11, 1, 3, 10, acGUI_FontSouvenir18_0043 } /* code 0043, LATIN CAPITAL LETTER C */ ,{ 10, 11, 0, 3, 11, acGUI_FontSouvenir18_0044 } /* code 0044, LATIN CAPITAL LETTER D */ ,{ 9, 11, 0, 3, 9, acGUI_FontSouvenir18_0045 } /* code 0045, LATIN CAPITAL LETTER E */ ,{ 8, 11, 0, 3, 8, acGUI_FontSouvenir18_0046 } /* code 0046, LATIN CAPITAL LETTER F */ ,{ 11, 11, 1, 3, 12, acGUI_FontSouvenir18_0047 } /* code 0047, LATIN CAPITAL LETTER G */ ,{ 11, 11, 0, 3, 12, acGUI_FontSouvenir18_0048 } /* code 0048, LATIN CAPITAL LETTER H */ ,{ 3, 11, 0, 3, 4, acGUI_FontSouvenir18_0049 } /* code 0049, LATIN CAPITAL LETTER I */ ,{ 7, 11, 0, 3, 7, acGUI_FontSouvenir18_004A } /* code 004A, LATIN CAPITAL LETTER J */ ,{ 9, 11, 0, 3, 9, acGUI_FontSouvenir18_004B } /* code 004B, LATIN CAPITAL LETTER K */ ,{ 8, 11, 0, 3, 9, acGUI_FontSouvenir18_004C } /* code 004C, LATIN CAPITAL LETTER L */ ,{ 12, 11, 0, 3, 12, acGUI_FontSouvenir18_004D } /* code 004D, LATIN CAPITAL LETTER M */ ,{ 10, 12, 0, 3, 11, acGUI_FontSouvenir18_004E } /* code 004E, LATIN CAPITAL LETTER N */ ,{ 10, 11, 1, 3, 11, acGUI_FontSouvenir18_004F } /* code 004F, LATIN CAPITAL LETTER O */ ,{ 9, 11, 0, 3, 9, acGUI_FontSouvenir18_0050 } /* code 0050, LATIN CAPITAL LETTER P */ ,{ 10, 13, 1, 3, 11, acGUI_FontSouvenir18_0051 } /* code 0051, LATIN CAPITAL LETTER Q */ ,{ 10, 11, 0, 3, 10, acGUI_FontSouvenir18_0052 } /* code 0052, LATIN CAPITAL LETTER R */ ,{ 9, 11, 0, 3, 9, acGUI_FontSouvenir18_0053 } /* code 0053, LATIN CAPITAL LETTER S */ ,{ 9, 11, 0, 3, 9, acGUI_FontSouvenir18_0054 } /* code 0054, LATIN CAPITAL LETTER T */ ,{ 11, 11, 0, 3, 11, acGUI_FontSouvenir18_0055 } /* code 0055, LATIN CAPITAL LETTER U */ ,{ 10, 11, 0, 3, 10, acGUI_FontSouvenir18_0056 } /* code 0056, LATIN CAPITAL LETTER V */ ,{ 14, 11, 0, 3, 14, acGUI_FontSouvenir18_0057 } /* code 0057, LATIN CAPITAL LETTER W */ ,{ 10, 11, 0, 3, 10, acGUI_FontSouvenir18_0058 } /* code 0058, LATIN CAPITAL LETTER X */ ,{ 10, 11, 0, 3, 10, acGUI_FontSouvenir18_0059 } /* code 0059, LATIN CAPITAL LETTER Y */ ,{ 8, 11, 0, 3, 8, acGUI_FontSouvenir18_005A } /* code 005A, LATIN CAPITAL LETTER Z */ ,{ 3, 13, 1, 3, 5, acGUI_FontSouvenir18_005B } /* code 005B, LEFT SQUARE BRACKET */ ,{ 4, 12, 0, 3, 4, acGUI_FontSouvenir18_005C } /* code 005C, REVERSE SOLIDUS */ ,{ 3, 13, 0, 3, 5, acGUI_FontSouvenir18_005D } /* code 005D, RIGHT SQUARE BRACKET */ ,{ 9, 4, 3, 3, 15, acGUI_FontSouvenir18_005E } /* code 005E, CIRCUMFLEX ACCENT */ ,{ 8, 1, 0, 17, 7, acGUI_FontSouvenir18_005F } /* code 005F, LOW LINE */ ,{ 3, 3, 2, 3, 7, acGUI_FontSouvenir18_0060 } /* code 0060, GRAVE ACCENT */ ,{ 7, 7, 0, 7, 8, acGUI_FontSouvenir18_0061 } /* code 0061, LATIN SMALL LETTER A */ ,{ 8, 11, 0, 3, 8, acGUI_FontSouvenir18_0062 } /* code 0062, LATIN SMALL LETTER B */ ,{ 7, 7, 0, 7, 7, acGUI_FontSouvenir18_0063 } /* code 0063, LATIN SMALL LETTER C */ ,{ 8, 11, 0, 3, 8, acGUI_FontSouvenir18_0064 } /* code 0064, LATIN SMALL LETTER D */ ,{ 7, 7, 0, 7, 7, acGUI_FontSouvenir18_0065 } /* code 0065, LATIN SMALL LETTER E */ ,{ 5, 11, -1, 3, 4, acGUI_FontSouvenir18_0066 } /* code 0066, LATIN SMALL LETTER F */ ,{ 7, 10, 0, 7, 7, acGUI_FontSouvenir18_0067 } /* code 0067, LATIN SMALL LETTER G */ ,{ 8, 11, 0, 3, 8, acGUI_FontSouvenir18_0068 } /* code 0068, LATIN SMALL LETTER H */ ,{ 3, 10, 0, 4, 4, acGUI_FontSouvenir18_0069 } /* code 0069, LATIN SMALL LETTER I */ ,{ 3, 13, -1, 4, 4, acGUI_FontSouvenir18_006A } /* code 006A, LATIN SMALL LETTER J */ ,{ 7, 11, 0, 3, 7, acGUI_FontSouvenir18_006B } /* code 006B, LATIN SMALL LETTER K */ ,{ 3, 11, 0, 3, 3, acGUI_FontSouvenir18_006C } /* code 006C, LATIN SMALL LETTER L */ ,{ 11, 7, 0, 7, 12, acGUI_FontSouvenir18_006D } /* code 006D, LATIN SMALL LETTER M */ ,{ 8, 7, 0, 7, 8, acGUI_FontSouvenir18_006E } /* code 006E, LATIN SMALL LETTER N */ ,{ 7, 7, 0, 7, 8, acGUI_FontSouvenir18_006F } /* code 006F, LATIN SMALL LETTER O */ ,{ 8, 10, 0, 7, 8, acGUI_FontSouvenir18_0070 } /* code 0070, LATIN SMALL LETTER P */ ,{ 8, 10, 0, 7, 8, acGUI_FontSouvenir18_0071 } /* code 0071, LATIN SMALL LETTER Q */ ,{ 5, 7, 0, 7, 5, acGUI_FontSouvenir18_0072 } /* code 0072, LATIN SMALL LETTER R */ ,{ 5, 7, 0, 7, 6, acGUI_FontSouvenir18_0073 } /* code 0073, LATIN SMALL LETTER S */ ,{ 4, 10, 0, 4, 4, acGUI_FontSouvenir18_0074 } /* code 0074, LATIN SMALL LETTER T */ ,{ 8, 7, 0, 7, 8, acGUI_FontSouvenir18_0075 } /* code 0075, LATIN SMALL LETTER U */ ,{ 7, 7, 0, 7, 7, acGUI_FontSouvenir18_0076 } /* code 0076, LATIN SMALL LETTER V */ ,{ 11, 7, 0, 7, 11, acGUI_FontSouvenir18_0077 } /* code 0077, LATIN SMALL LETTER W */ ,{ 7, 7, 0, 7, 7, acGUI_FontSouvenir18_0078 } /* code 0078, LATIN SMALL LETTER X */ ,{ 7, 10, 0, 7, 7, acGUI_FontSouvenir18_0079 } /* code 0079, LATIN SMALL LETTER Y */ ,{ 5, 7, 0, 7, 6, acGUI_FontSouvenir18_007A } /* code 007A, LATIN SMALL LETTER Z */ ,{ 5, 13, 1, 3, 7, acGUI_FontSouvenir18_007B } /* code 007B, LEFT CURLY BRACKET */ ,{ 1, 15, 3, 3, 7, acGUI_FontSouvenir18_007C } /* code 007C, VERTICAL LINE */ ,{ 5, 13, 1, 3, 7, acGUI_FontSouvenir18_007D } /* code 007D, RIGHT CURLY BRACKET */ ,{ 9, 3, 1, 7, 12, acGUI_FontSouvenir18_007E } /* code 007E, TILDE */ }; GUI_CONST_STORAGE GUI_FONT_PROP_EXT GUI_FontSouvenir18_Prop1 = { 0x0020 /* first character */ ,0x007E /* last character */ ,&GUI_FontSouvenir18_CharInfo[ 0] /* address of first character */ ,(GUI_CONST_STORAGE GUI_FONT_PROP_EXT *)0 /* pointer to next GUI_FONT_PROP_EXT */ }; GUI_CONST_STORAGE GUI_FONT GUI_FontSouvenir18 = { GUI_FONTTYPE_PROP_AA4_EXT /* type of font */ ,18 /* height of font */ ,18 /* space of font y */ ,1 /* magnification x */ ,1 /* magnification y */ ,{&GUI_FontSouvenir18_Prop1} ,18 /* Baseline */ ,7 /* Height of lowercase characters */ ,11 /* Height of capital characters */ }; /********************************************************************* * * * GUI_FontAA4_32 * * * * Used in * * - GUIDEMO_AntiAliasedText.c * * * ********************************************************************** */ static GUI_CONST_STORAGE unsigned char acGUI_FontAA4_32_0041[180] = { /* code 0041, LATIN CAPITAL LETTER A */ 0x00, 0x00, 0x00, 0x3F, 0xFF, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8F, 0xFF, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xEF, 0xFF, 0xD0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0xFF, 0xFF, 0xF3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0xFF, 0xEF, 0xF8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0E, 0xFF, 0x6F, 0xFD, 0x00, 0x00, 0x00, 0x00, 0x00, 0x5F, 0xFD, 0x0D, 0xFF, 0x40, 0x00, 0x00, 0x00, 0x00, 0xAF, 0xF7, 0x07, 0xFF, 0x90, 0x00, 0x00, 0x00, 0x01, 0xEF, 0xF2, 0x02, 0xFF, 0xE0, 0x00, 0x00, 0x00, 0x05, 0xFF, 0xC0, 0x00, 0xCF, 0xF5, 0x00, 0x00, 0x00, 0x0A, 0xFF, 0x70, 0x00, 0x7F, 0xFA, 0x00, 0x00, 0x00, 0x1F, 0xFF, 0x20, 0x00, 0x1F, 0xFF, 0x10, 0x00, 0x00, 0x6F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x50, 0x00, 0x00, 0xBF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xB0, 0x00, 0x02, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF1, 0x00, 0x07, 0xFF, 0xB0, 0x00, 0x00, 0x00, 0xAF, 0xF6, 0x00, 0x0B, 0xFF, 0x50, 0x00, 0x00, 0x00, 0x5F, 0xFB, 0x00, 0x2F, 0xFF, 0x10, 0x00, 0x00, 0x00, 0x0E, 0xFF, 0x20, 0x7F, 0xFA, 0x00, 0x00, 0x00, 0x00, 0x0A, 0xFF, 0x70, 0xCF, 0xF5, 0x00, 0x00, 0x00, 0x00, 0x04, 0xFF, 0xC0 }; static GUI_CONST_STORAGE unsigned char acGUI_FontAA4_32_0042[140] = { /* code 0042, LATIN CAPITAL LETTER B */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFD, 0xB6, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x90, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF5, 0xFF, 0xF0, 0x00, 0x00, 0x13, 0xCF, 0xFC, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x2F, 0xFF, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x0F, 0xFF, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x3F, 0xFC, 0xFF, 0xF0, 0x00, 0x00, 0x14, 0xDF, 0xF7, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xB0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x50, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF2, 0xFF, 0xF0, 0x00, 0x00, 0x26, 0xEF, 0xF9, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x5F, 0xFD, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x0F, 0xFF, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x0F, 0xFF, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x4F, 0xFD, 0xFF, 0xF0, 0x00, 0x00, 0x14, 0xEF, 0xFA, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF3, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x60, 0xFF, 0xFF, 0xFF, 0xFF, 0xFD, 0xB4, 0x00 }; static GUI_CONST_STORAGE unsigned char acGUI_FontAA4_32_0043[140] = { /* code 0043, LATIN CAPITAL LETTER C */ 0x00, 0x00, 0x5B, 0xEF, 0xEB, 0x60, 0x00, 0x00, 0x1B, 0xFF, 0xFF, 0xFF, 0xFC, 0x10, 0x00, 0xBF, 0xFF, 0xFF, 0xFF, 0xFF, 0xC0, 0x07, 0xFF, 0xF7, 0x10, 0x3A, 0xFF, 0xF7, 0x0E, 0xFF, 0x50, 0x00, 0x00, 0xAF, 0xFD, 0x5F, 0xFB, 0x00, 0x00, 0x00, 0x2D, 0x83, 0x9F, 0xF6, 0x00, 0x00, 0x00, 0x00, 0x00, 0xCF, 0xF3, 0x00, 0x00, 0x00, 0x00, 0x00, 0xEF, 0xF1, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0xEF, 0xF1, 0x00, 0x00, 0x00, 0x00, 0x00, 0xDF, 0xF3, 0x00, 0x00, 0x00, 0x00, 0x00, 0xAF, 0xF6, 0x00, 0x00, 0x00, 0x2D, 0x83, 0x6F, 0xFB, 0x00, 0x00, 0x00, 0x7F, 0xFD, 0x1F, 0xFF, 0x40, 0x00, 0x01, 0xEF, 0xF8, 0x08, 0xFF, 0xE7, 0x10, 0x4D, 0xFF, 0xF2, 0x00, 0xCF, 0xFF, 0xFF, 0xFF, 0xFF, 0x80, 0x00, 0x1C, 0xFF, 0xFF, 0xFF, 0xF9, 0x00, 0x00, 0x00, 0x6B, 0xEF, 0xEA, 0x40, 0x00 }; static GUI_CONST_STORAGE GUI_CHARINFO_EXT GUI_FontAA4_32_CharInfo[3] = { { 17, 20, 0, 6, 17, acGUI_FontAA4_32_0041 } /* code 0041, LATIN CAPITAL LETTER A */ ,{ 14, 20, 2, 6, 17, acGUI_FontAA4_32_0042 } /* code 0042, LATIN CAPITAL LETTER B */ ,{ 14, 20, 1, 6, 17, acGUI_FontAA4_32_0043 } /* code 0043, LATIN CAPITAL LETTER C */ }; static GUI_CONST_STORAGE GUI_FONT_PROP_EXT GUI_FontAA4_32_Prop1 = { 0x0041 /* first character */ ,0x0043 /* last character */ ,&GUI_FontAA4_32_CharInfo[ 0] /* address of first character */ ,(GUI_CONST_STORAGE GUI_FONT_PROP_EXT *)0 /* pointer to next GUI_FONT_PROP_EXT */ }; GUI_CONST_STORAGE GUI_FONT GUI_FontAA4_32 = { GUI_FONTTYPE_PROP_AA4_EXT /* type of font */ ,33 /* height of font */ ,33 /* space of font y */ ,1 /* magnification x */ ,1 /* magnification y */ ,{&GUI_FontAA4_32_Prop1} ,33 /* Baseline */ ,15 /* Height of lowercase characters */ ,20 /* Height of capital characters */ }; /********************************************************************* * * * GUI_FontAA2_32 * * * * Used in * * - GUIDEMO_AntiAliasedText.c * * * ********************************************************************** */ static GUI_CONST_STORAGE unsigned char acGUI_FontAA2_32_0041[100] = { /* code 0041, LATIN CAPITAL LETTER A */ 0x00, 0x03, 0xF0, 0x00, 0x00, 0x00, 0x0B, 0xF4, 0x00, 0x00, 0x00, 0x0F, 0xFC, 0x00, 0x00, 0x00, 0x1F, 0xFC, 0x00, 0x00, 0x00, 0x2F, 0xFE, 0x00, 0x00, 0x00, 0x3F, 0x7F, 0x00, 0x00, 0x00, 0x7F, 0x3F, 0x40, 0x00, 0x00, 0xBD, 0x1F, 0x80, 0x00, 0x00, 0xFC, 0x0F, 0xC0, 0x00, 0x01, 0xFC, 0x0F, 0xD0, 0x00, 0x02, 0xF4, 0x07, 0xE0, 0x00, 0x03, 0xF0, 0x03, 0xF0, 0x00, 0x07, 0xFF, 0xFF, 0xF4, 0x00, 0x0B, 0xFF, 0xFF, 0xF8, 0x00, 0x0F, 0xFF, 0xFF, 0xFC, 0x00, 0x1F, 0x80, 0x00, 0xBD, 0x00, 0x3F, 0x40, 0x00, 0x7F, 0x00, 0x3F, 0x00, 0x00, 0x3F, 0x00, 0x7E, 0x00, 0x00, 0x2F, 0x40, 0xFD, 0x00, 0x00, 0x1F, 0xC0 }; static GUI_CONST_STORAGE unsigned char acGUI_FontAA2_32_0042[ 80] = { /* code 0042, LATIN CAPITAL LETTER B */ 0xFF, 0xFF, 0xF9, 0x00, 0xFF, 0xFF, 0xFF, 0x80, 0xFF, 0xFF, 0xFF, 0xD0, 0xFC, 0x00, 0x0F, 0xF0, 0xFC, 0x00, 0x03, 0xF0, 0xFC, 0x00, 0x03, 0xF0, 0xFC, 0x00, 0x03, 0xF0, 0xFC, 0x00, 0x1F, 0xD0, 0xFF, 0xFF, 0xFF, 0xC0, 0xFF, 0xFF, 0xFF, 0x40, 0xFF, 0xFF, 0xFF, 0xC0, 0xFC, 0x00, 0x1F, 0xE0, 0xFC, 0x00, 0x07, 0xF0, 0xFC, 0x00, 0x03, 0xF0, 0xFC, 0x00, 0x03, 0xF0, 0xFC, 0x00, 0x07, 0xF0, 0xFC, 0x00, 0x1F, 0xE0, 0xFF, 0xFF, 0xFF, 0xC0, 0xFF, 0xFF, 0xFF, 0x40, 0xFF, 0xFF, 0xF9, 0x00 }; static GUI_CONST_STORAGE unsigned char acGUI_FontAA2_32_0043[ 80] = { /* code 0043, LATIN CAPITAL LETTER C */ 0x00, 0x6F, 0xE4, 0x00, 0x02, 0xFF, 0xFF, 0x00, 0x0F, 0xFF, 0xFF, 0xC0, 0x1F, 0xD0, 0x2F, 0xD0, 0x3F, 0x40, 0x0B, 0xF0, 0x7E, 0x00, 0x03, 0x80, 0xBD, 0x00, 0x00, 0x00, 0xFC, 0x00, 0x00, 0x00, 0xFC, 0x00, 0x00, 0x00, 0xFC, 0x00, 0x00, 0x00, 0xFC, 0x00, 0x00, 0x00, 0xFC, 0x00, 0x00, 0x00, 0xFC, 0x00, 0x00, 0x00, 0xBD, 0x00, 0x03, 0x80, 0x7E, 0x00, 0x07, 0xF0, 0x3F, 0x40, 0x0F, 0xE0, 0x2F, 0xD0, 0x7F, 0xC0, 0x0F, 0xFF, 0xFF, 0x80, 0x03, 0xFF, 0xFE, 0x00, 0x00, 0x7F, 0xE0, 0x00 }; static GUI_CONST_STORAGE GUI_CHARINFO_EXT GUI_FontAA2_32_CharInfo[3] = { { 17, 20, 0, 6, 17, acGUI_FontAA2_32_0041 } /* code 0041, LATIN CAPITAL LETTER A */ ,{ 14, 20, 2, 6, 17, acGUI_FontAA2_32_0042 } /* code 0042, LATIN CAPITAL LETTER B */ ,{ 14, 20, 1, 6, 17, acGUI_FontAA2_32_0043 } /* code 0043, LATIN CAPITAL LETTER C */ }; static GUI_CONST_STORAGE GUI_FONT_PROP_EXT GUI_FontAA2_32_Prop1 = { 0x0041 /* first character */ ,0x0043 /* last character */ ,&GUI_FontAA2_32_CharInfo[ 0] /* address of first character */ ,(GUI_CONST_STORAGE GUI_FONT_PROP_EXT *)0 /* pointer to next GUI_FONT_PROP_EXT */ }; GUI_CONST_STORAGE GUI_FONT GUI_FontAA2_32 = { GUI_FONTTYPE_PROP_AA2_EXT /* type of font */ ,33 /* height of font */ ,33 /* space of font y */ ,1 /* magnification x */ ,1 /* magnification y */ ,{&GUI_FontAA2_32_Prop1} ,33 /* Baseline */ ,15 /* Height of lowercase characters */ ,20 /* Height of capital characters */ }; /********************************************************************* * * * Bitmaps * * * ********************************************************************** */ /********************************************************************* * * * bmSeggerLogo * * * * Used in * * - GUIDEMO_Intro.c * * * ********************************************************************** */ static GUI_CONST_STORAGE GUI_COLOR ColorsSeggerLogo[] = { 0x00FF00,0xFEFEFE,0x201F23,0xA02020 ,0xE6E6E6,0xBB6060,0xE2BCBC,0xDEDEDE ,0x000000,0xFAFAFA,0x212024,0xD3D3D4 ,0xD5D4D5,0xF1DEDE,0xE0E0E1,0xFCFCFC ,0xF1F1F1,0xFCF8F8,0xFEFCFC,0x424145 ,0xC3C3C4,0xA12222,0xC1C1C2,0x808082 ,0x444346,0x606062,0xA22626,0xEDEDED ,0xA73030,0x000000,0x252528,0x363539 ,0xB1B0B2,0xE4E4E4,0xF8EEEE,0xB24A4A ,0xB34C4C,0x88888A,0xCF8E8E,0xEAEAEA ,0xF6F6F6,0x18171A,0x18181B,0x2A292D ,0x39383C,0x6C6C6E,0xA22424,0xAA3636 ,0xCDCDCE,0xF2E0E0,0xF7ECEC,0xFDFAFA ,0x28272A,0x2E2D31,0x454448,0xA62E2E ,0xB95B5B,0xC47676,0x8E8E90,0xD09090 ,0xC7C7C8,0xCACACB,0xD9D9DA,0xE5C2C2 ,0xE6C4C4,0xF3E2E2,0x0D0C0E,0x1E1E21 ,0x1F1E22,0x222222,0x3C3B3E,0x404043 ,0x48474A,0x49484C,0xA52B2B,0xAC3B3B ,0xAC3D3D,0xBB5E5E,0xC67A7A,0x848385 ,0xA5A5A6,0xA7A6A8,0xE3BEBE,0xC5C4C5 ,0xDCDCDC,0xE4C0C0,0xEBD1D1,0xECD3D3 ,0xF0DCDC,0xF4E4E4,0xF6E9E9,0xF4F4F4 ,0xFBF6F6,0x242327,0x2C2B2E,0x2D2C2F ,0x323135,0x353436,0x555558,0x666568 ,0x6A6A6C,0x727174,0x7C7B7E,0x7D7C7F ,0xA83232,0xA83434,0xB14848,0xB44E4E ,0xBC6161,0xBE6767,0x8A8A8C,0x8D8C8F ,0x909092,0x949496,0xADACAE,0xAEAEAE ,0xB5B5B6,0xB7B7B8,0xBABABB,0xCD8A8A ,0xDEB2B2,0xE2BBBB,0xD2D1D2,0xD7D7D8 ,0xEACECE,0xF3E4E4,0x020202,0x191919 ,0x343336,0x38373A,0x4F4E51,0x525255 ,0x59585B,0x59585C,0x5E5D60,0x605F62 ,0x646467,0x7A7A7C,0xA32828,0xA42929 ,0xAB3939,0xAB3A3A,0xAF4444,0xB45050 ,0xB75656,0xB85858,0xBA5D5D,0xBF6868 ,0xC16E6E,0xC26F6F,0xC27070,0xC47373 ,0xC57878,0xC77C7C,0xC87E7E,0x7E7E80 ,0x848486,0x878688,0x8C8B8D,0x908F91 ,0x9A9A9C,0x9D9C9E,0x9F9EA0,0xA1A1A2 ,0xA4A3A5,0xA9A9AA,0xB4B3B5,0xBAB9BB ,0xC98080,0xCA8383,0xCE8C8C,0xD7A2A2 ,0xD9A5A5,0xD9A6A6,0xDAA9A9,0xDBABAB ,0xDCACAC,0xDDAFAF,0xE0B6B6,0xE1B9B9 ,0xE4BFBF,0xCFCFD0,0xE7C6C6,0xE8C8C8 ,0xEDD5D5,0xEED6D6,0xEFD9D9,0xEFDADA ,0xF4E6E6,0xF5E8E8,0xF7EBEB,0xF9F1F1 ,0xFAF3F3,0xFBF5F5,0xFCF7F7,0x0B0B0D ,0x0C0B0D,0x171717,0x252427,0x302F33 ,0x313033,0x4C4B4E,0x4D4C4F,0x545356 ,0x58575A,0x5C5C5F,0x636265,0x646366 ,0x6C6B6E,0x706F71,0x78787A,0xA52D2D ,0xA62D2D,0xB14747,0xB55252,0xB65353 ,0xB65454,0xB95C5C,0xBE6565,0xC47575 ,0x838284,0x888789,0x929294,0x949395 ,0x989799,0x98989A,0x9C9C9D,0x9E9D9F ,0xA3A2A4,0xABABAC,0xAFAEB0,0xB3B3B4 ,0xB8B7B9,0xB9B8BA,0xBBBBBC,0xBCBBBC ,0xBDBDBE,0xCB8686,0xCC8686,0xCD8989 ,0xD29595,0xD29696,0xD49B9B,0xD59C9C ,0xDEB0B0,0xC8C7C8,0xC9C8C9,0xCBCBCC ,0xD4D3D4,0xDBDBDC,0xEACDCD,0xE3E3E4 ,0xEBEBEC,0xEFEFF0,0xF3F3F4,0xFBFBFC }; static GUI_CONST_STORAGE GUI_LOGPALETTE PalSeggerLogo = { 256, /* number of entries */ 1, /* Has transparency */ &ColorsSeggerLogo[0] }; static GUI_CONST_STORAGE unsigned char acSeggerLogo[] = { 0x00, 0x00, 0x08, 0x42, 0x2A, 0x44, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x44, 0x2A, 0x42, /**/0x42, 0x00, 0x00, 0x00, 0x7E, 0x2A, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x34, 0x7F, 0x00, 0x08, 0x29, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x29, 0x08, 0xC3, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0xC4, 0x29, 0x02, 0x02, 0x02, 0x46, 0x3C, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x3C, 0x46, 0x02, 0x02, 0x02, 0x29, 0x43, 0x02, 0x02, 0x02, 0xA7, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x76, 0x02, 0x02, 0x02, 0x43, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0xB1, 0x4C, 0x23, 0x57, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x5A, 0x38, 0x2F, 0x26, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0xBF, 0x1A, 0x03, 0x03, 0x2F, 0x32, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x98, 0x03, 0x03, 0x03, 0xAB, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x32, 0x15, 0x03, 0x03, 0x03, 0x92, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x94, 0x03, 0x03, 0x03, 0x1A, 0x7C, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x9A, 0x03, 0x03, 0x03, 0x03, 0x3B, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xB9, 0x8A, 0x03, 0x03, 0x03, 0x8C, 0x32, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x11, 0x24, 0x03, 0x03, 0x03, 0x15, 0x40, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xAF, 0x03, 0x03, 0x03, 0x03, 0x38, 0x12, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x31, 0x37, 0x03, 0x03, 0x03, 0x2F, 0x5A, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x4E, 0x03, 0x03, 0x03, 0x03, 0x77, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0xB3, 0x03, 0x03, 0x03, 0x03, 0x91, 0x12, 0x01, 0x01, 0x01, 0x01, 0x01, 0x11, 0x6B, 0x03, 0x03, 0x03, 0x03, 0x79, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xA9, 0x03, 0x03, 0x03, 0x03, 0xAA, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x7D, 0x1C, 0x03, 0x03, 0x03, 0x37, 0x31, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x33, 0xD6, 0x03, 0x03, 0x03, 0x15, 0x55, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x55, 0x15, 0x03, 0x03, 0x03, 0x23, 0xC2, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x59, 0x1C, 0x03, 0x03, 0x03, 0x68, 0xBC, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x3B, 0x03, 0x03, 0x03, 0x03, 0x97, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x52, 0x15, 0x03, 0x03, 0x03, 0xD8, 0x33, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x6C, 0x03, 0x03, 0x03, 0x03, 0xAC, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xEF, 0x03, 0x03, 0x03, 0x03, 0xEE, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x22, 0x4C, 0x03, 0x03, 0x03, 0x1A, 0x56, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x12, 0x90, 0x03, 0x03, 0x03, 0x03, 0x06, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x57, 0x8A, 0x03, 0x03, 0x03, 0x4B, 0x22, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0xC0, 0x11, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xBD, 0x68, 0x03, 0x03, 0x03, 0x1C, 0x7D, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xAE, 0x03, 0x03, 0x03, 0x03, 0x4D, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x99, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x3F, 0x15, 0x03, 0x03, 0x03, 0x8F, 0x33, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x98, 0x03, 0x03, 0x03, 0x03, 0x26, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x78, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x26, 0x03, 0x03, 0x03, 0x03, 0xA8, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x11, 0x24, 0x03, 0x03, 0x03, 0x15, 0xB4, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x4A, 0x0D, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x38, 0x03, 0x03, 0x03, 0x03, 0xB2, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x41, 0x1C, 0x03, 0x03, 0x03, 0x1C, 0x41, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x03, 0x6A, 0xC2, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xBE, 0x2F, 0x03, 0x03, 0x03, 0xD4, 0x31, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x52, 0x15, 0x03, 0x03, 0x03, 0x24, 0x11, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x03, 0x03, 0x39, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xB7, 0x15, 0x03, 0x03, 0x03, 0x24, 0x11, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x26, 0x03, 0x03, 0x03, 0x03, 0x95, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x3F, 0x11, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x03, 0x03, 0x03, 0xB0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xF0, 0x03, 0x03, 0x03, 0x03, 0x99, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x4D, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x23, 0x11, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x03, 0x03, 0x03, 0x8B, 0xBA, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x05, 0x03, 0x03, 0x03, 0x03, 0x78, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x22, 0x4B, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0xB6, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x03, 0x03, 0x03, 0x03, 0x8E, 0xC1, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x22, 0x8D, 0x03, 0x03, 0x03, 0x4A, 0x0D, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x56, 0x1A, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x1A, 0x59, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x96, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xFA, 0x2E, 0x03, 0x03, 0x03, 0x6A, 0xC2, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x40, 0x93, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x6D, 0x3F, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0xAD, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xF2, 0x03, 0x03, 0x03, 0x03, 0x39, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x8A, 0xB8, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xDA, 0x03, 0x03, 0x03, 0x03, 0xBB, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x8A, 0xB8, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x6D, 0x03, 0x03, 0x03, 0x03, 0xBB, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0xAD, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xF3, 0x03, 0x03, 0x03, 0x03, 0xDB, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x96, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x7C, 0x1A, 0x03, 0x03, 0x03, 0xD5, 0x5C, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x40, 0x93, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x6D, 0x3F, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x03, 0x03, 0x03, 0x03, 0x8E, 0xC1, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x22, 0x8D, 0x03, 0x03, 0x03, 0x4A, 0x58, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x56, 0x1A, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x1A, 0x59, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x03, 0x03, 0x03, 0x8B, 0xBA, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x6C, 0x03, 0x03, 0x03, 0x03, 0xF4, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x22, 0x4B, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0xB6, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x03, 0x03, 0x03, 0xB0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xF1, 0x03, 0x03, 0x03, 0x03, 0x4E, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x4D, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x23, 0x11, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x03, 0x03, 0x39, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xB7, 0x15, 0x03, 0x03, 0x03, 0x23, 0x11, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x26, 0x03, 0x03, 0x03, 0x03, 0x95, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x3F, 0x11, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x03, 0x6A, 0xC2, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xBE, 0x2F, 0x03, 0x03, 0x03, 0xD3, 0x31, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x52, 0x15, 0x03, 0x03, 0x03, 0x24, 0x11, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x4A, 0x0D, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xD9, 0x03, 0x03, 0x03, 0x03, 0xB2, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x41, 0x1C, 0x03, 0x03, 0x03, 0x1C, 0x41, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x03, 0x78, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x3B, 0x03, 0x03, 0x03, 0x03, 0xA8, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x11, 0x24, 0x03, 0x03, 0x03, 0x15, 0xB4, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x0D, 0x99, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x40, 0x15, 0x03, 0x03, 0x03, 0x6B, 0x33, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x98, 0x03, 0x03, 0x03, 0x03, 0x26, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0xC0, 0x11, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xBD, 0x69, 0x03, 0x03, 0x03, 0x37, 0x41, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xAE, 0x03, 0x03, 0x03, 0x03, 0x4D, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x28, 0xEC, 0xE0, 0x25, 0x25, 0xA1, 0xF6, 0x0F, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x0E, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x3E, 0x0F, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x04, 0xE6, 0x9F, 0x9D, 0x70, 0x72, 0x0E, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x10, 0x75, 0x71, 0x9D, 0x6F, 0x51, 0x0C, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x3E, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x07, 0x01, 0x01, 0x01, 0x01, 0xFC, 0xF8, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x0C, 0x21, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x12, 0x90, 0x03, 0x03, 0x03, 0x03, 0x79, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x57, 0x8A, 0x03, 0x03, 0x03, 0x4B, 0x22, 0x01, 0x01, 0x01, 0x01, 0x01, 0x71, 0x5E, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x2C, 0x20, 0x01, 0x01, 0x01, 0x01, 0xDD, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x84, 0x01, 0x01, 0x01, 0x01, 0xFB, 0x63, 0x0A, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x83, 0x3D, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x10, 0x66, 0x1E, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x47, 0x20, 0x01, 0x01, 0x01, 0x01, 0x01, 0x87, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x17, 0x01, 0x01, 0x16, 0x5D, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0xC8, 0x4F, 0x28, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x77, 0x03, 0x03, 0x03, 0x03, 0xED, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x22, 0x4C, 0x03, 0x03, 0x03, 0x1A, 0x56, 0x01, 0x01, 0x01, 0x01, 0x01, 0x70, 0x02, 0x02, 0x02, 0x18, 0xCE, 0x85, 0x5E, 0x02, 0x02, 0x02, 0x72, 0x01, 0x01, 0x01, 0x48, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x19, 0x01, 0x01, 0x01, 0x30, 0x35, 0x02, 0x02, 0x02, 0x35, 0x36, 0x61, 0x02, 0x02, 0x02, 0x0A, 0xE7, 0x01, 0x01, 0x01, 0x01, 0x04, 0x47, 0x02, 0x02, 0x02, 0x34, 0x18, 0x46, 0x02, 0x02, 0x02, 0x02, 0x6E, 0x01, 0x01, 0x01, 0x01, 0x0A, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x25, 0x01, 0x01, 0x9C, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x88, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x52, 0x15, 0x03, 0x03, 0x03, 0xD7, 0x33, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x6C, 0x03, 0x03, 0x03, 0x03, 0xAC, 0x01, 0x01, 0x01, 0x01, 0x01, 0x0F, 0x5F, 0x02, 0x02, 0xA4, 0x01, 0x01, 0x01, 0x5B, 0x63, 0x02, 0x02, 0x84, 0x01, 0x01, 0x01, 0x18, 0x02, 0x02, 0x71, 0x0E, 0x0E, 0x0E, 0x0E, 0x0E, 0x0E, 0x04, 0x01, 0x01, 0x01, 0x1B, 0x80, 0x02, 0x02, 0x1F, 0xEB, 0x01, 0x01, 0x01, 0x3C, 0x2C, 0x02, 0x02, 0x36, 0x01, 0x01, 0x01, 0x01, 0x82, 0x02, 0x02, 0x34, 0xA4, 0x09, 0x01, 0x01, 0xF9, 0x82, 0x02, 0x02, 0x5D, 0x28, 0x01, 0x01, 0x09, 0x02, 0x02, 0x02, 0x74, 0x0E, 0x0E, 0x0E, 0x0E, 0x0E, 0x0E, 0xFC, 0x01, 0x01, 0x01, 0x17, 0x02, 0x02, 0x85, 0x04, 0x04, 0x04, 0x21, 0x7A, 0x63, 0x02, 0x02, 0x02, 0xFB, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x59, 0x1C, 0x03, 0x03, 0x03, 0x68, 0xBC, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x3B, 0x03, 0x03, 0x03, 0x03, 0x97, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x1B, 0x02, 0x02, 0x02, 0xF9, 0x01, 0x01, 0x01, 0x01, 0x09, 0x3A, 0x19, 0x14, 0x01, 0x01, 0x01, 0x18, 0x02, 0x02, 0x51, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x6E, 0x02, 0x02, 0x1E, 0x3E, 0x01, 0x01, 0x01, 0x01, 0x01, 0xFB, 0xC9, 0x0A, 0x25, 0x01, 0x01, 0x01, 0xA6, 0x02, 0x02, 0x02, 0xA6, 0x01, 0x01, 0x01, 0x01, 0x01, 0xFE, 0xCF, 0x0A, 0x19, 0x01, 0x01, 0x01, 0x09, 0x02, 0x02, 0x02, 0x30, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x17, 0x02, 0x02, 0x19, 0x01, 0x01, 0x01, 0x01, 0x01, 0x1B, 0x02, 0x02, 0x02, 0x3C, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x33, 0xD6, 0x03, 0x03, 0x03, 0x15, 0x55, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x55, 0x15, 0x03, 0x03, 0x03, 0x23, 0xC2, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x0F, 0x5E, 0x02, 0x02, 0x2C, 0xA0, 0x3E, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x18, 0x02, 0x02, 0xA4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0F, 0x01, 0x01, 0x01, 0x01, 0x47, 0x02, 0x02, 0x65, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xFF, 0x01, 0x01, 0x01, 0x01, 0x64, 0x02, 0x02, 0x48, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xFF, 0x01, 0x01, 0x01, 0x01, 0x09, 0x02, 0x02, 0x02, 0x3D, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0x01, 0x01, 0x01, 0x01, 0x17, 0x02, 0x02, 0x19, 0x01, 0x01, 0x01, 0x01, 0x01, 0x0E, 0x02, 0x02, 0x02, 0x54, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xA9, 0x03, 0x03, 0x03, 0x03, 0xAA, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x7D, 0x1C, 0x03, 0x03, 0x03, 0x37, 0x31, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x70, 0x02, 0x02, 0x02, 0x02, 0x02, 0x5E, 0xCC, 0x6E, 0x53, 0x0F, 0x01, 0x01, 0x01, 0x01, 0x18, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x36, 0xFD, 0x01, 0x09, 0x0A, 0x02, 0x02, 0xA5, 0x01, 0x01, 0x01, 0x01, 0x01, 0x10, 0x10, 0x10, 0x10, 0xFF, 0x01, 0x01, 0x01, 0x18, 0x02, 0x02, 0x67, 0x01, 0x01, 0x01, 0x01, 0x01, 0xFE, 0x10, 0x10, 0x10, 0x09, 0x01, 0x01, 0x01, 0x09, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x0A, 0x86, 0x01, 0x01, 0x01, 0x17, 0x02, 0x02, 0x49, 0x20, 0x20, 0x20, 0x20, 0xE3, 0x18, 0x02, 0x02, 0xCD, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0xB3, 0x03, 0x03, 0x03, 0x03, 0x91, 0x12, 0x01, 0x01, 0x01, 0x01, 0x01, 0x11, 0x6B, 0x03, 0x03, 0x03, 0x03, 0x79, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x73, 0x49, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x2C, 0x76, 0x01, 0x01, 0x01, 0x18, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x1E, 0x21, 0x01, 0x1B, 0x02, 0x02, 0x02, 0x75, 0x01, 0x01, 0x01, 0x10, 0x2C, 0x02, 0x02, 0x02, 0x02, 0xC6, 0xE4, 0x01, 0x01, 0x81, 0x02, 0x02, 0x9E, 0x01, 0x01, 0x01, 0x01, 0x62, 0x02, 0x02, 0x02, 0x02, 0x0A, 0x66, 0x01, 0x01, 0x09, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x1F, 0x01, 0x01, 0x01, 0x17, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x0A, 0x89, 0x5B, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x31, 0x37, 0x03, 0x03, 0x03, 0x69, 0x5A, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x4E, 0x03, 0x03, 0x03, 0x03, 0x77, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x0E, 0xE5, 0x9B, 0xCA, 0x0A, 0x02, 0x02, 0x02, 0x5D, 0x7A, 0x01, 0x01, 0x18, 0x02, 0x02, 0xDC, 0x16, 0x16, 0x16, 0x16, 0x16, 0x14, 0x04, 0x01, 0x01, 0x09, 0x0A, 0x02, 0x02, 0x50, 0x01, 0x01, 0x01, 0xFC, 0x2B, 0x02, 0x02, 0x02, 0x02, 0x02, 0x2D, 0x01, 0x01, 0x18, 0x02, 0x02, 0x89, 0x01, 0x01, 0x01, 0x01, 0x13, 0x02, 0x02, 0x02, 0x02, 0x02, 0x18, 0x01, 0x01, 0x09, 0x02, 0x02, 0x02, 0xE3, 0x16, 0x16, 0x16, 0x16, 0x16, 0x53, 0xFD, 0x01, 0x01, 0x01, 0x17, 0x02, 0x02, 0x0A, 0x1E, 0x1E, 0x1E, 0x0A, 0x02, 0x02, 0x02, 0x35, 0xB5, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x11, 0x24, 0x03, 0x03, 0x03, 0x15, 0x40, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xAF, 0x03, 0x03, 0x03, 0x03, 0x38, 0x12, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x28, 0x7B, 0x0F, 0x01, 0x01, 0x01, 0x01, 0x27, 0x9F, 0x5D, 0x02, 0x02, 0x9C, 0x01, 0x01, 0x18, 0x02, 0x02, 0x51, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x13, 0x02, 0x02, 0xD0, 0x01, 0x01, 0x01, 0x01, 0x27, 0x3D, 0x3D, 0x17, 0x02, 0x02, 0x2D, 0x01, 0x01, 0x2D, 0x02, 0x02, 0x13, 0x01, 0x01, 0x01, 0x01, 0xFE, 0xF7, 0x3D, 0xA3, 0x02, 0x02, 0x18, 0x01, 0x01, 0x09, 0x02, 0x02, 0x02, 0x30, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x17, 0x02, 0x02, 0x19, 0x01, 0x01, 0x01, 0x01, 0x7B, 0x1F, 0x02, 0x02, 0x19, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x9A, 0x03, 0x03, 0x03, 0x03, 0x3B, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xB9, 0x8A, 0x03, 0x03, 0x03, 0x8C, 0x32, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x36, 0x02, 0x83, 0x28, 0x01, 0x01, 0x01, 0x01, 0x01, 0xD1, 0x02, 0x02, 0xD2, 0x01, 0x01, 0x18, 0x02, 0x02, 0x51, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x3A, 0x02, 0x02, 0x5D, 0x30, 0x01, 0x01, 0x01, 0x01, 0x01, 0x09, 0x48, 0x02, 0x02, 0x2D, 0x01, 0x01, 0xE8, 0x02, 0x02, 0x02, 0x50, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xD0, 0x02, 0x02, 0x18, 0x01, 0x01, 0x09, 0x02, 0x02, 0x02, 0x30, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x17, 0x02, 0x02, 0x19, 0x01, 0x01, 0x01, 0x01, 0x01, 0x67, 0x02, 0x02, 0x47, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x32, 0x15, 0x03, 0x03, 0x03, 0x92, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x94, 0x03, 0x03, 0x03, 0x1A, 0x7C, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xFF, 0x2B, 0x02, 0x02, 0x87, 0xFC, 0x01, 0x01, 0x01, 0x54, 0x81, 0x02, 0x02, 0xE4, 0x01, 0x01, 0x18, 0x02, 0x02, 0xDC, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x0E, 0x01, 0x01, 0x10, 0x81, 0x02, 0x02, 0x5F, 0x51, 0x28, 0x01, 0x01, 0x0C, 0xCC, 0x02, 0x02, 0x02, 0x2D, 0x01, 0x01, 0x01, 0xCB, 0x02, 0x02, 0x5D, 0x3A, 0x1B, 0x01, 0x01, 0xFB, 0x65, 0x02, 0x02, 0x02, 0x18, 0x01, 0x01, 0x09, 0x02, 0x02, 0x02, 0xA2, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x53, 0xFC, 0x01, 0x01, 0x17, 0x02, 0x02, 0x19, 0x01, 0x01, 0x01, 0x01, 0x01, 0xA0, 0x02, 0x02, 0x60, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0xBF, 0x1A, 0x03, 0x03, 0x2F, 0x32, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x98, 0x03, 0x03, 0x03, 0xAB, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xE1, 0x02, 0x02, 0x02, 0x5D, 0x49, 0x62, 0x18, 0x0A, 0x02, 0x02, 0x36, 0x28, 0x01, 0x01, 0x48, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x0A, 0xB5, 0x01, 0x01, 0x7A, 0xC7, 0x02, 0x02, 0x02, 0x5D, 0x81, 0x35, 0x02, 0x02, 0x5E, 0x2B, 0x02, 0x2D, 0x01, 0x01, 0x01, 0x27, 0x18, 0x02, 0x02, 0x02, 0x0A, 0x1F, 0x80, 0x02, 0x02, 0x0A, 0x60, 0x02, 0x18, 0x01, 0x01, 0x01, 0x0A, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x5E, 0xFD, 0x01, 0x17, 0x02, 0x02, 0x19, 0x01, 0x01, 0x01, 0x01, 0x01, 0x74, 0x02, 0x02, 0x02, 0x04, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0xB1, 0x4C, 0x23, 0x57, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x5A, 0x38, 0x2F, 0x26, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xA6, 0x47, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x0A, 0xD0, 0x1B, 0x01, 0x01, 0x01, 0x25, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x34, 0x7B, 0x01, 0x01, 0x01, 0xFB, 0x88, 0x0A, 0x02, 0x02, 0x02, 0x02, 0x02, 0x18, 0x0B, 0x86, 0x02, 0x65, 0x01, 0x01, 0x01, 0x01, 0x10, 0x66, 0x1E, 0x02, 0x02, 0x02, 0x02, 0x02, 0x80, 0xE9, 0x25, 0x02, 0x49, 0x01, 0x01, 0x01, 0x19, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x61, 0xFE, 0x01, 0xE2, 0x02, 0x02, 0x67, 0x01, 0x01, 0x01, 0x01, 0x01, 0xFC, 0x34, 0x02, 0x5D, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x30, 0xA2, 0x25, 0x4F, 0x3A, 0x72, 0x04, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xFB, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0xFD, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x21, 0xA5, 0x9E, 0x4F, 0xDF, 0x14, 0x0F, 0x01, 0x07, 0x9F, 0x54, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xFD, 0xE7, 0x9F, 0x4F, 0x3A, 0x75, 0x28, 0x01, 0xFD, 0xDE, 0xF5, 0x01, 0x01, 0x01, 0x01, 0x54, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x7B, 0x28, 0x01, 0x01, 0x01, 0x16, 0xEA, 0x09, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x20, 0x7B, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x43, 0x02, 0x02, 0x02, 0xA7, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x76, 0x02, 0x02, 0x02, 0x43, 0x81, 0x02, 0x02, 0x02, 0x46, 0x3C, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x3C, 0x46, 0x02, 0x02, 0x02, 0x81, 0x5F, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x5F, 0x45, 0x29, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x29, 0x45, 0x00, 0x7E, 0x2A, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x34, 0x7F, 0x00, 0x00, 0x00, 0x08, 0x42, 0x2A, 0x44, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x44, 0x2A, 0x42, /**/0x42, 0x00, 0x00 }; GUI_CONST_STORAGE GUI_BITMAP bmSeggerLogo = { 140, /* XSize */ 70, /* YSize */ 140, /* BytesPerLine */ 8, /* BitsPerPixel */ acSeggerLogo, /* Pointer to picture data (indices) */ &PalSeggerLogo /* Pointer to palette */ }; /********************************************************************* * * * bmSeggerLogo70x35 * * * * Used in * * - GUIDEMO.c * * - GUIDEMO_Automotive.c * * - GUIDEMO_BarGraph.c * * - GUIDEMO_Speed.c * * * ********************************************************************** */ static GUI_CONST_STORAGE GUI_COLOR ColorsSeggerLogo70x35[] = { 0x00FF00,0xFFFFFF,0x201F23,0xA02020 ,0xF3F3F3,0xC16E6E,0xDDAFAF,0xEFEFEF ,0xE0E0E0,0xF8EEEE,0xFDFDFD,0x7A797B ,0xEAEAEA,0xA22424,0xFAFAFA,0x212024 ,0xFDFAFA,0x262528,0x504F52,0x808082 ,0x88888A,0xA0A0A2,0xF6EAEA,0xF8F8F8 ,0xFEFEFE,0xFFFEFE,0x1E1D21,0x2A292D ,0xA42A2A,0xAFAFB0,0xD59D9D,0xDEB1B1 ,0xFDFBFB,0xFCFCFC,0xFEFCFC,0x222124 ,0x28272B,0x6A6A6D,0xAF4343,0xC57777 ,0xC87D7D,0x828183,0x9A999B,0xEFDADA ,0xF0DBDB,0xF6F6F6,0x111013,0x111113 ,0x1E1D20,0x29282C,0x2B2A2E,0x2C2B2E ,0x313034,0x3F3E42,0x403F43,0x414042 ,0x474649,0x48474A,0x57565A,0x69686B ,0x747476,0x7C7B7D,0xA02121,0xA12323 ,0xA22525,0xA52B2B,0xA52C2C,0xA62E2E ,0xA83434,0xA93535,0xAA3636,0xAA3838 ,0xAB3B3B,0xAD3E3E,0xAE4141,0xAF4444 ,0xB34C4C,0xB34D4D,0xB65353,0xB65555 ,0xB85959,0xBA5D5D,0xBC6262,0xBD6363 ,0xBF6A6A,0xC06B6B,0xC27070,0xC77C7C ,0x7F7F81,0x828284,0x8A8A8C,0x8D8D8F ,0x969597,0xA2A1A3,0xBABABB,0xCA8282 ,0xCA8383,0xCF8D8D,0xD19393,0xD39797 ,0xD59B9B,0xD8A3A3,0xDEB2B2,0xDFB3B3 ,0xDFB4B4,0xC4C4C5,0xC5C5C6,0xC8C8C9 ,0xD5D5D6,0xD7D7D8,0xE7C7C7,0xE8C9C9 ,0xE8CACA,0xE9CACA,0xEACECE,0xEACFCF ,0xECD3D3,0xF1DEDE,0xE1E1E2,0xE2E1E2 ,0xE8E8E8,0xEBEBEC,0xECECED,0xF5E8E8 ,0xF8EFEF,0xF4F4F4,0xF8F0F0,0xF9F0F0 ,0xF9F1F1,0xFAF3F3,0xFAF4F4,0xFCF7F7 ,0xFCF9F9,0xFEFDFD,0x010101,0x121212 ,0x232226,0x242327,0x252428,0x2E2D31 ,0x2F2E31,0x302F33,0x313033,0x323134 ,0x363539,0x373639,0x38373B,0x3B3A3E ,0x3C3B3F,0x3D3C3F,0x3F3E41,0x414043 ,0x434246,0x464548,0x47464A,0x4C4B4E ,0x4F4E52,0x515054,0x525154,0x525155 ,0x535256,0x545356,0x555457,0x565558 ,0x575659,0x58575A,0x5A595C,0x5D5C5F ,0x5E5D60,0x605F62,0x616163,0x646366 ,0x6D6D6F,0x6F6F71,0x727274,0x737375 ,0x767578,0x79787B,0x7A797C,0x7B7A7D ,0x7D7C7F,0xA32626,0xA32727,0xB14949 ,0xB24949,0xBE6767,0xBE6868,0xC57878 ,0x7E7E80,0x878789,0x8C8C8C,0x919092 ,0x929193,0x939393,0x969697,0x979698 ,0x989799,0x99989A,0x9B9A9C,0x9B9B9D ,0x9C9C9D,0x9C9C9E,0x9E9D9F,0x9E9EA0 ,0x9F9EA0,0x9F9FA1,0xA2A2A3,0xA3A2A4 ,0xA4A3A5,0xA5A4A6,0xA9A9AA,0xACACAD ,0xB0B0B1,0xB2B2B3,0xB3B3B4,0xB4B4B5 ,0xB9B9BA,0xBCBBBD,0xBDBDBE,0xC98080 ,0xC98181,0xDCAEAE,0xDDAEAE,0xE1B8B8 ,0xE1B9B9,0xC0C0C1,0xC4C3C5,0xC6C6C7 ,0xC7C6C7,0xC9C9CA,0xCAC9CA,0xCACACB ,0xCBCBCC,0xCCCCCD,0xCDCDCE,0xD1D1D1 ,0xD1D1D2,0xD4D3D4,0xD5D4D5,0xDADADB ,0xDBDBDB,0xDDDCDD,0xDEDEDF,0xDFDFE0 ,0xE3E3E4,0xE4E4E4,0xE4E4E5,0xE6E6E7 ,0xECECEC,0xEDEDED,0xF2E1E1,0xF2E2E2 ,0xEFEFF0,0xF1F1F1,0xF3F2F3,0xF8F7F8 }; static GUI_CONST_STORAGE GUI_LOGPALETTE PalSeggerLogo70x35 = { 256, /* number of entries */ 1, /* Has transparency */ &ColorsSeggerLogo70x35[0] }; static GUI_CONST_STORAGE unsigned char acSeggerLogo70x35[] = { 0x86, 0x2F, 0x1A, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x1A, 0x86, 0x86, 0x2E, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x2E, 0x30, 0x02, 0x1D, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x1D, 0x02, 0x30, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x20, 0x4C, 0x51, 0x10, 0x01, 0x01, 0x01, 0x27, 0x4A, 0x7B, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x10, 0x47, 0x03, 0x60, 0x01, 0x01, 0x01, 0x53, 0x03, 0x4E, 0x10, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x70, 0x0D, 0x3E, 0xE0, 0x01, 0x01, 0x16, 0x46, 0x03, 0xDC, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x63, 0x03, 0x43, 0xFB, 0x01, 0x01, 0x71, 0x0D, 0x03, 0x66, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x19, 0x52, 0x03, 0x4D, 0x84, 0x01, 0x01, 0x1E, 0x03, 0x1C, 0x2B, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x7C, 0x48, 0x03, 0x28, 0x01, 0x01, 0x01, 0x55, 0x03, 0x26, 0x81, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x22, 0x85, 0x01, 0x01, 0x72, 0x40, 0x03, 0x67, 0x01, 0x01, 0x82, 0x4B, 0x03, 0x54, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x09, 0x62, 0x01, 0x01, 0x01, 0x1E, 0x03, 0x42, 0x75, 0x01, 0x01, 0x2C, 0x41, 0x03, 0x64, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x09, 0x3F, 0x6E, 0x01, 0x01, 0x19, 0xB9, 0x03, 0xB8, 0x83, 0x01, 0x01, 0x68, 0x03, 0x0D, 0x6F, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x09, 0x03, 0x45, 0x16, 0x01, 0x01, 0x80, 0x49, 0x03, 0xBB, 0x01, 0x01, 0x01, 0x5F, 0x03, 0x44, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x56, 0x73, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x09, 0x03, 0x03, 0x50, 0x22, 0x01, 0x01, 0x74, 0xB5, 0x03, 0xDE, 0x01, 0x01, 0x20, 0x4F, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x57, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x09, 0x03, 0x03, 0x03, 0x61, 0x01, 0x01, 0x01, 0x65, 0x03, 0x1C, 0x2C, 0x01, 0x01, 0x7F, 0x1F, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x1F, 0x7E, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x09, 0x03, 0x03, 0x03, 0x0D, 0x16, 0x01, 0x01, 0x01, 0x26, 0x03, 0x28, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x09, 0x03, 0x03, 0x03, 0x61, 0x01, 0x01, 0x01, 0x65, 0x03, 0x1C, 0x2B, 0x01, 0x01, 0x7F, 0x1F, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x1F, 0x7E, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x09, 0x03, 0x03, 0x50, 0x22, 0x01, 0x01, 0x74, 0xB6, 0x03, 0xDD, 0x01, 0x01, 0x20, 0x4F, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x57, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x09, 0x03, 0x45, 0x16, 0x01, 0x01, 0x80, 0x49, 0x03, 0x27, 0x01, 0x01, 0x01, 0x5F, 0x03, 0x44, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x56, 0x73, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x09, 0x3F, 0x6E, 0x01, 0x01, 0x19, 0xBA, 0x03, 0xB7, 0x83, 0x01, 0x01, 0x68, 0x03, 0x0D, 0x6F, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x09, 0x62, 0x01, 0x01, 0x01, 0x1E, 0x03, 0x42, 0x75, 0x01, 0x01, 0x2C, 0x41, 0x03, 0x64, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x22, 0x85, 0x01, 0x01, 0x72, 0x40, 0x03, 0x67, 0x01, 0x01, 0x82, 0x4B, 0x03, 0x54, 0x19, 0x01, 0xF6, 0x58, 0xA5, 0xA6, 0xBD, 0x79, 0x01, 0x76, 0xB4, 0x0B, 0x0B, 0x0B, 0xB3, 0xEE, 0x01, 0x17, 0xC7, 0xA9, 0xA3, 0xAF, 0xE4, 0x01, 0x01, 0x01, 0xF0, 0x3D, 0xA4, 0xA7, 0x5B, 0xF8, 0x01, 0x01, 0x5C, 0x0B, 0x0B, 0x0B, 0x0B, 0xCD, 0x01, 0xD6, 0xB2, 0x0B, 0x0B, 0xBC, 0xD3, 0x0A, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x7C, 0x48, 0x03, 0x28, 0x01, 0x01, 0x01, 0x55, 0x03, 0x26, 0x81, 0x01, 0x18, 0x35, 0x97, 0xD2, 0xCB, 0x8F, 0x9E, 0x01, 0xCE, 0x02, 0xAC, 0x13, 0x13, 0x29, 0x6D, 0x0E, 0xA1, 0x11, 0x29, 0xCA, 0x12, 0x0F, 0xDA, 0x01, 0xE9, 0x24, 0x98, 0xC5, 0x5B, 0x33, 0x93, 0x0A, 0x0A, 0x0F, 0x99, 0x13, 0x13, 0x13, 0xD1, 0x01, 0x9D, 0x8B, 0x59, 0x59, 0xA8, 0x02, 0x2A, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x19, 0x52, 0x03, 0x4D, 0x84, 0x01, 0x01, 0x1E, 0x03, 0x1C, 0x2B, 0x01, 0x01, 0x0E, 0x88, 0xA2, 0xF1, 0x18, 0x77, 0x6B, 0x01, 0x15, 0x02, 0xEB, 0x0A, 0x0A, 0x18, 0x01, 0xD5, 0x02, 0xC9, 0x01, 0x01, 0x17, 0x2A, 0x77, 0x01, 0x3A, 0x1B, 0x7A, 0x01, 0x01, 0x6C, 0xCC, 0x01, 0x21, 0x02, 0xB0, 0x0A, 0x0A, 0x0A, 0x01, 0x01, 0x12, 0x36, 0x01, 0x01, 0x04, 0x02, 0xB1, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x63, 0x03, 0x43, 0xFA, 0x01, 0x01, 0x71, 0x0D, 0x03, 0x66, 0x01, 0x01, 0x01, 0x01, 0xC4, 0x1B, 0x02, 0x8E, 0xAB, 0xD9, 0x01, 0x15, 0x02, 0x02, 0x02, 0x02, 0x32, 0x7D, 0x14, 0x02, 0x6D, 0x01, 0xE6, 0x14, 0x14, 0xD4, 0x01, 0x8C, 0x9F, 0x01, 0x01, 0x2A, 0x14, 0x5A, 0xF2, 0x21, 0x02, 0x02, 0x02, 0x02, 0x02, 0xD0, 0x01, 0x12, 0x1B, 0x3B, 0x3B, 0x39, 0x91, 0xED, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x70, 0x0D, 0x3E, 0xDF, 0x01, 0x01, 0x16, 0x46, 0x03, 0xDB, 0x01, 0x01, 0x01, 0x01, 0x01, 0x04, 0xFF, 0xE7, 0xC2, 0x95, 0x0F, 0x6C, 0x15, 0x02, 0x5E, 0x08, 0x08, 0x0C, 0x01, 0xC3, 0x02, 0xE2, 0x01, 0xE1, 0x3C, 0x92, 0x38, 0x01, 0x94, 0x35, 0x01, 0x01, 0x14, 0x25, 0x02, 0x5D, 0x21, 0x02, 0x25, 0x08, 0x08, 0x76, 0x0E, 0x01, 0x12, 0x8D, 0xC0, 0xBF, 0xA0, 0x89, 0xE8, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x10, 0x47, 0x03, 0x60, 0x01, 0x01, 0x01, 0x53, 0x03, 0x4E, 0x10, 0x01, 0x01, 0x01, 0x01, 0x18, 0x33, 0xAE, 0x0E, 0x01, 0x15, 0x02, 0xE3, 0x15, 0x02, 0x5E, 0x76, 0x76, 0x76, 0xFF, 0xF3, 0x11, 0x9C, 0xF7, 0x01, 0x6B, 0x1B, 0x38, 0x01, 0x5A, 0x02, 0x5C, 0x0E, 0x17, 0x58, 0x02, 0x5D, 0x21, 0x02, 0x25, 0x76, 0x76, 0x76, 0x79, 0x01, 0x12, 0x36, 0x01, 0x01, 0x6A, 0x02, 0xC8, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x20, 0x4C, 0x51, 0x10, 0x01, 0x01, 0x01, 0x27, 0x4A, 0x7B, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xC6, 0x24, 0x32, 0x90, 0x0F, 0xAD, 0x0A, 0xD7, 0x02, 0x02, 0x02, 0x02, 0x02, 0x3D, 0x01, 0xD8, 0x34, 0x0F, 0x31, 0x31, 0xAA, 0x39, 0x01, 0x0E, 0x3C, 0x0F, 0x11, 0x8A, 0x9B, 0x96, 0xCF, 0x18, 0x34, 0x02, 0x02, 0x02, 0x02, 0x24, 0x17, 0x3A, 0x9A, 0x01, 0x01, 0x78, 0x23, 0x29, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xFE, 0xE5, 0x69, 0xF5, 0x01, 0x01, 0x01, 0xF9, 0x0C, 0x0C, 0x0C, 0x0C, 0x0E, 0x01, 0x01, 0x17, 0xEA, 0x6A, 0xFC, 0xFF, 0xEF, 0x01, 0x01, 0x01, 0x78, 0x69, 0xEC, 0x0A, 0x08, 0xFD, 0x01, 0x2D, 0x0C, 0x0C, 0x0C, 0x0C, 0x04, 0x01, 0x07, 0x7A, 0x01, 0x01, 0x01, 0xF4, 0x2D, 0x01, 0x01, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x07, 0x02, 0x02, 0x11, 0x02, 0x1D, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x1D, 0x02, 0x11, 0x23, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x23, 0x87, 0x2F, 0x1A, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x1A, 0x86, 0x86 }; GUI_CONST_STORAGE GUI_BITMAP bmSeggerLogo70x35 = { 70, /* XSize */ 35, /* YSize */ 70, /* BytesPerLine */ 8, /* BitsPerPixel */ acSeggerLogo70x35, /* Pointer to picture data (indices) */ &PalSeggerLogo70x35 /* Pointer to palette */ }; static GUI_CONST_STORAGE unsigned long acSTLogo[] = { 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF030303, 0xF63A3A3A, 0xD4656565, 0xAE919191, 0x94B3B3B3, 0x85B4B4B4, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B2, 0x7FB3B3B3, 0x7FB2B2B2, 0x7FB3B3B3, 0x7FB3B3B2, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B2, 0x7FB3B3B2, 0x7FB3B3B2, 0x7FB3B3B3, 0x7FB3B3B2, 0x7FB3B3B3, 0x7FB3B3B2, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B2, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B2, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B2, 0x7FB3B3B3, 0x7FB3B3B2, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB2B2B2, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B2, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B2, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB2B2B2, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x7FB3B3B3, 0x88B3B3B3, 0xD7777777, 0xFF030303, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF0C0C0C, 0xE1565656, 0x91ACACAC, 0x46F2F0EE, 0x10EAE3D7, 0x00D9CCB4, 0x00CDBB9A, 0x00C5AF88, 0x00C0A87C, 0x00BEA579, 0x00BEA679, 0x00BEA679, 0x00BFA679, 0x00BFA67A, 0x00BFA77A, 0x00C0A77A, 0x00C0A77A, 0x00C1A87B, 0x00C1A87A, 0x00C1A87A, 0x00C2A87A, 0x00C2A97B, 0x00C2A97B, 0x00C2A97B, 0x00C3A97C, 0x00C3AA7C, 0x00C3AA7D, 0x00C4AA7D, 0x00C4AA7D, 0x00C4AB7D, 0x00C5AB7E, 0x00C5AC7E, 0x00C5AC7E, 0x00C5AC7E, 0x00C5AD7F, 0x00C6AD7F, 0x00C6AD80, 0x00C6AE7F, 0x00C6AE80, 0x00C7AE81, 0x00C7AE81, 0x00C7AF81, 0x00C8AF81, 0x00C8B082, 0x00C8B082, 0x00C9B082, 0x00C9B083, 0x00C9B083, 0x00C9B083, 0x00C9B183, 0x00C9B183, 0x00CAB184, 0x00CAB184, 0x00CAB284, 0x00CAB284, 0x00CBB284, 0x00CBB284, 0x00CBB284, 0x00CBB284, 0x00CCB385, 0x00CBB384, 0x00CCB385, 0x00CCB384, 0x00CCB385, 0x00CCB385, 0x00CDB485, 0x00CDB485, 0x00CDB485, 0x00CDB485, 0x00CDB485, 0x00CEB485, 0x00CEB485, 0x00CEB485, 0x00CEB485, 0x00CEB585, 0x00CEB585, 0x00CFB586, 0x00CFB586, 0x00CFB586, 0x00CFB586, 0x00CFB586, 0x00CFB587, 0x00CFB687, 0x00D0B686, 0x00CFB687, 0x00CFB687, 0x00CFB687, 0x00D0B687, 0x00CFB687, 0x00D0B789, 0x00D8C39C, 0x17FCFBF9, 0xEE6E6E6E, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE0E0E0E, 0xCD737373, 0x57E5E4E3, 0x0AE4DCCF, 0x00BFAC89, 0x00A68955, 0x00A07E43, 0x00A17C3F, 0x00A27B3B, 0x00A27B39, 0x00A47B37, 0x00A57C39, 0x00A77D38, 0x00AA7E39, 0x00AB8039, 0x00AD823A, 0x00AE823A, 0x00B1843A, 0x00B3853A, 0x00B5863B, 0x00B6883A, 0x00B8893B, 0x00B9893B, 0x00BB8B3C, 0x00BB8C3D, 0x00BB8D40, 0x00BC8E42, 0x00BD8F44, 0x00BD9046, 0x00BE9148, 0x00BE9249, 0x00BF944B, 0x00BF954D, 0x00C09650, 0x00C09752, 0x00C19853, 0x00C29954, 0x00C29A56, 0x00C39B58, 0x00C39D5A, 0x00C49E5C, 0x00C49F5E, 0x00C5A05F, 0x00C5A160, 0x00C5A262, 0x00C6A364, 0x00C6A566, 0x00C7A568, 0x00C7A669, 0x00C7A66A, 0x00C8A76A, 0x00C7A76A, 0x00C7A66A, 0x00C7A669, 0x00C7A567, 0x00C7A466, 0x00C6A364, 0x00C6A262, 0x00C5A160, 0x00C4A05F, 0x00C59F5E, 0x00C49E5C, 0x00C39D5A, 0x00C39C58, 0x00C29A56, 0x00C29954, 0x00C19853, 0x00C19751, 0x00C09650, 0x00C0954D, 0x00BF934A, 0x00BE9249, 0x00BE9148, 0x00BD9046, 0x00BD8F44, 0x00BC8E42, 0x00BC8D3F, 0x00BC8C3D, 0x00BB8B3D, 0x00B98A3B, 0x00B8893C, 0x00B6873B, 0x00B4863B, 0x00B2853B, 0x00B0843A, 0x00AE833A, 0x00AD823A, 0x00AB803A, 0x00A97F39, 0x00A77D38, 0x00A57C38, 0x00B18F52, 0x00D1BD98, 0x3BFEFDFD, 0xF8343434, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xEF252525, 0x68DBDBDB, 0x07E1D9CC, 0x00A79068, 0x0094753E, 0x0099743A, 0x009B7536, 0x009D7635, 0x009F7736, 0x00A17836, 0x00A37A37, 0x00A47B36, 0x00A67C38, 0x00A87D37, 0x00AA7E38, 0x00AC8038, 0x00AD8139, 0x00AF8239, 0x00B18439, 0x00B38539, 0x00B5863B, 0x00B7873A, 0x00B8893B, 0x00BA8A3A, 0x00BB8B3B, 0x00BB8C3D, 0x00BC8D40, 0x00BD8E42, 0x00BD8F44, 0x00BD9047, 0x00BE9147, 0x00BF9349, 0x00BF944B, 0x00C0954E, 0x00C09650, 0x00C19752, 0x00C29853, 0x00C29A55, 0x00C39A57, 0x00C39C59, 0x00C49D5B, 0x00C49E5D, 0x00C49F5F, 0x00C5A05F, 0x00C6A261, 0x00C7A363, 0x00C7A465, 0x00C7A567, 0x00C7A669, 0x00C8A76A, 0x00C8A86B, 0x00C9A96D, 0x00C9A96D, 0x00C8A76B, 0x00C8A66A, 0x00C7A669, 0x00C7A567, 0x00C7A464, 0x00C6A363, 0x00C5A261, 0x00C5A05E, 0x00C49F5E, 0x00C49E5C, 0x00C39D5A, 0x00C39C58, 0x00C39A56, 0x00C29954, 0x00C19853, 0x00C19751, 0x00C09650, 0x00C0944D, 0x00BF934A, 0x00BF9248, 0x00BE9147, 0x00BD9046, 0x00BD8F43, 0x00BC8E41, 0x00BC8D3F, 0x00BC8C3C, 0x00BB8B3C, 0x00B98A3A, 0x00B8883B, 0x00B6873A, 0x00B4853A, 0x00B28439, 0x00B08439, 0x00AF8239, 0x00AD8139, 0x00AB8039, 0x00A97E38, 0x00A77D37, 0x00A57F3E, 0x00AF925F, 0x07F4F0E9, 0xC59B9B9B, 0xFF010101, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF010101, 0xD7616161, 0x2BEAE9E7, 0x00B4A387, 0x00886A37, 0x00937036, 0x00987237, 0x009A7336, 0x009B7536, 0x009D7636, 0x009F7736, 0x00A17836, 0x00A37A37, 0x00A47B36, 0x00A67C38, 0x00A87D37, 0x00AA7E39, 0x00AB8038, 0x00AD8139, 0x00AF8239, 0x00B18439, 0x00B38539, 0x00B5863A, 0x00B7883A, 0x00B8893B, 0x00BA8A3A, 0x00BB8B3C, 0x00BB8C3C, 0x00BC8D3F, 0x00BC8E42, 0x00BD9044, 0x00BD9046, 0x00BE9147, 0x00BF9349, 0x00BF944B, 0x00C0954E, 0x00C09650, 0x00C19752, 0x00C29853, 0x00C29955, 0x00C39A57, 0x00C39C58, 0x00C49D5B, 0x00C49F5D, 0x00C49F5E, 0x00C5A05F, 0x00C6A261, 0x00C6A363, 0x00C7A465, 0x00C7A567, 0x00C7A66A, 0x00C8A76A, 0x00C8A86C, 0x00C9A96D, 0x00C9A96D, 0x00C8A86B, 0x00C8A66A, 0x00C7A669, 0x00C6A566, 0x00C6A464, 0x00C6A362, 0x00C6A161, 0x00C5A05E, 0x00C49F5E, 0x00C49E5C, 0x00C39D59, 0x00C39C58, 0x00C29A56, 0x00C29954, 0x00C19753, 0x00C19751, 0x00C0964F, 0x00C0944D, 0x00BF934A, 0x00BF9248, 0x00BE9147, 0x00BD9046, 0x00BD8F43, 0x00BC8D41, 0x00BC8D3F, 0x00BC8C3C, 0x00BB8B3C, 0x00B98A3B, 0x00B8893B, 0x00B6873A, 0x00B4853A, 0x00B28539, 0x00B08439, 0x00AE8239, 0x00AD8139, 0x00AB8039, 0x00A97E38, 0x00A67D38, 0x009B7C43, 0x00D2C4AC, 0x69E9E9E9, 0xFE191919, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xD47E7E7E, 0x1BF5F3F1, 0x0097825F, 0x0082622F, 0x00946F36, 0x00977136, 0x00987237, 0x009A7337, 0x009C7536, 0x009D7635, 0x009F7736, 0x00A17836, 0x00A27A37, 0x00A47B36, 0x00A67C37, 0x00A87D37, 0x00A97E38, 0x00AB8038, 0x00AD8139, 0x00AE8239, 0x00B1843A, 0x00B3853A, 0x00B5863A, 0x00B7873A, 0x00B8893B, 0x00BA8A3A, 0x00BB8B3C, 0x00BB8C3D, 0x00BC8D40, 0x00BD8E42, 0x00BD8F44, 0x00BE9146, 0x00BE9147, 0x00BF9349, 0x00BF934B, 0x00C0954E, 0x00C09650, 0x00C19752, 0x00C29853, 0x00C39A55, 0x00C29A56, 0x00C39C59, 0x00C49E5B, 0x00C49E5D, 0x00C59F5E, 0x00C5A05F, 0x00C6A261, 0x00C6A363, 0x00C7A464, 0x00C7A567, 0x00C7A669, 0x00C7A66A, 0x00C8A76A, 0x00C8A76B, 0x00C8A76B, 0x00C8A76A, 0x00C7A66A, 0x00C7A568, 0x00C7A566, 0x00C6A364, 0x00C6A262, 0x00C5A160, 0x00C5A05E, 0x00C49F5E, 0x00C49E5B, 0x00C39D5A, 0x00C39B58, 0x00C29A56, 0x00C29954, 0x00C29853, 0x00C19751, 0x00C0964F, 0x00C0944D, 0x00BF934A, 0x00BE9248, 0x00BE9147, 0x00BD9045, 0x00BD8F43, 0x00BC8D41, 0x00BC8D3E, 0x00BB8C3C, 0x00BB8B3C, 0x00B9893B, 0x00B8883B, 0x00B6873A, 0x00B4853A, 0x00B2843A, 0x00B08339, 0x00AE8239, 0x00AD8138, 0x00AB7F39, 0x00A97E37, 0x00997639, 0x00A18A60, 0x1BFBFAF9, 0xE9515151, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xED494949, 0x2BF7F6F5, 0x009E8A68, 0x007F5F2C, 0x00936E35, 0x00957036, 0x00967136, 0x00987237, 0x00997337, 0x009B7436, 0x009D7636, 0x009F7736, 0x00A17836, 0x00A27A37, 0x00A47B36, 0x00A27937, 0x009A7333, 0x00916C30, 0x0089672D, 0x0084632C, 0x0081622D, 0x0081622E, 0x0081612F, 0x0081622E, 0x0082622E, 0x0082632F, 0x0082622F, 0x0082632F, 0x0082632F, 0x0082632F, 0x00826330, 0x00826430, 0x00826431, 0x00826431, 0x00836431, 0x00836432, 0x00836432, 0x00836533, 0x00836534, 0x00836534, 0x00836633, 0x00846634, 0x00846735, 0x00846735, 0x00846735, 0x00846736, 0x00846836, 0x00856837, 0x00856837, 0x00856838, 0x00856938, 0x00866939, 0x00866939, 0x00866A39, 0x00866A39, 0x00866A39, 0x00866A3A, 0x00866A39, 0x00876A39, 0x00876A39, 0x00876A39, 0x00876A39, 0x00876A38, 0x00876A39, 0x00876A39, 0x00886A38, 0x00886A38, 0x00886A38, 0x00886A38, 0x00886A38, 0x00886A37, 0x00886A38, 0x00896A37, 0x00896A37, 0x00896A37, 0x00896A37, 0x00896A37, 0x00896A36, 0x00896A35, 0x00896A36, 0x00896A36, 0x008A6B36, 0x008A6B35, 0x00896A35, 0x00896A36, 0x00896B36, 0x00896A36, 0x00896A36, 0x00896A36, 0x00896A37, 0x00896A36, 0x00886A36, 0x00886A37, 0x00876C3D, 0x01DFD8CC, 0x9FB1B1B1, 0xFF010101, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE0C0C0C, 0x72D9D9D9, 0x00C7B9A4, 0x007F602B, 0x00906C35, 0x00936E35, 0x00956F36, 0x00967036, 0x00987236, 0x00997237, 0x009B7436, 0x009D7635, 0x009F7736, 0x009F7736, 0x00946F32, 0x0086652C, 0x008A6E40, 0x00A79373, 0x00C3B6A0, 0x00D9D0C3, 0x00E8E2DB, 0x00F0ECE7, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F0ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F0ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F0ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F0ED, 0x00F3F0ED, 0x00F3F0ED, 0x00F3F0ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F0ED, 0x00F3F0ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F0ED, 0x00F3F1ED, 0x00F3F0ED, 0x00F3F1ED, 0x00F3F0ED, 0x00F3F0ED, 0x00F3F0ED, 0x00F3F0ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F0ED, 0x00F3F0ED, 0x00F3F0ED, 0x00F3F1ED, 0x00F3F0ED, 0x00F3F1ED, 0x00F3F0ED, 0x00F3F0ED, 0x00F3F0ED, 0x00F3F1ED, 0x00F3F0ED, 0x00F3F0ED, 0x00F3F0ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F0ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F1ED, 0x00F3F1EE, 0x00F3F1EE, 0x00F3F1EE, 0x00F3F1EE, 0x00F3F1EE, 0x00F4F1EE, 0x00F3F1EE, 0x00F3F1EE, 0x00F3F1EE, 0x00F7F5F2, 0x40FAFAFA, 0xFA202020, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xCB7A7A7A, 0x0AF0ECE6, 0x008D6F3E, 0x008B6932, 0x00916C35, 0x00936E35, 0x00956F36, 0x00967036, 0x00977236, 0x00997237, 0x009B7436, 0x009D7535, 0x00946F32, 0x00866630, 0x00AA9572, 0x00DDD5C8, 0x00FBFAF9, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x09FFFFFF, 0xCD777777, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF9262626, 0x3FF9F9F9, 0x00B49E7A, 0x00896830, 0x008E6B34, 0x00906C35, 0x00926D35, 0x00946F36, 0x00967036, 0x00977136, 0x00997237, 0x00997236, 0x008D6A30, 0x00A1875C, 0x00E7E0D6, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x72DADADA, 0xFF090909, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF070707, 0x9CBFBFBF, 0x01E1D7C6, 0x00916E32, 0x008C6A34, 0x008E6A35, 0x00906C35, 0x00926D35, 0x00946F35, 0x00957036, 0x00977136, 0x00977136, 0x00916D30, 0x00BBA683, 0x00FCFAF9, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x1FFAFAFA, 0xEE373737, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xE7727272, 0x19FAF8F6, 0x00AA8B56, 0x008F6C32, 0x008C6934, 0x008D6A35, 0x008F6C35, 0x00916D36, 0x00936E35, 0x00957036, 0x00977136, 0x00977131, 0x00BEA781, 0x00FDFDFC, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x02FFFFFF, 0xA78E8E8E, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE1A1A1A, 0x66ECECEC, 0x00D2BFA0, 0x009A7333, 0x008A6834, 0x008B6934, 0x008D6A35, 0x008F6B34, 0x00916C35, 0x00936E35, 0x00946F36, 0x00997334, 0x00AE8C55, 0x00F9F7F4, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x47E7E7E7, 0xFC0E0E0E, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF010101, 0xC5ABABAB, 0x04F3EDE4, 0x00AA8340, 0x008E6B33, 0x00896833, 0x008A6934, 0x008C6A34, 0x008E6B35, 0x00906C35, 0x00926D35, 0x00946F35, 0x00A37A34, 0x00DECFB7, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x0BFFFFFF, 0xD48F8F8F, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF9404040, 0x33FEFEFD, 0x00C8AA77, 0x009C7535, 0x00876634, 0x00896733, 0x008A6934, 0x008C6935, 0x008D6A35, 0x008F6C35, 0x00916D35, 0x00997235, 0x00B38A46, 0x00F9F5F1, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FAF8F6, 0x00E3D9C6, 0x00DACBB1, 0x00DACBB0, 0x00DBCCB1, 0x00DBCCB1, 0x00DBCCB1, 0x00DCCDB1, 0x00DCCDB2, 0x00DCCDB2, 0x00DCCEB2, 0x00DDCEB3, 0x00DDCFB3, 0x00DECFB3, 0x00DECFB4, 0x00DECFB4, 0x00DFD0B4, 0x00DFD0B5, 0x00DFD1B5, 0x00E0D1B5, 0x00E0D1B6, 0x00E0D2B6, 0x00E1D2B6, 0x00E2D3B6, 0x00E1D3B7, 0x00E2D3B7, 0x00E2D3B7, 0x00E3D3B7, 0x00E3D4B8, 0x00E3D4B8, 0x00E4D4B8, 0x00E3D4B8, 0x00E4D4B8, 0x00E4D5B8, 0x00E4D5B9, 0x00E4D5B8, 0x00E4D5B8, 0x00E4D5B9, 0x00E5D5B9, 0x00E5D5B9, 0x00E5D5B9, 0x00E7DAC1, 0x00FCFBF8, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FCFBFA, 0x00DDD3C2, 0x00CEC1A7, 0x00CFC0A7, 0x00D1C2A8, 0x00D3C4AA, 0x00D5C6AC, 0x00D7C7AD, 0x00D8C9AE, 0x00D9CAB0, 0x00DBCCB1, 0x00DDCEB3, 0x00DFD0B5, 0x00E1D2B6, 0x00E3D4B7, 0x00E4D5B8, 0x00EBE0CB, 0x00FEFEFD, 0x7CEBEBEB, 0xFF121212, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF010101, 0x91C7C7C7, 0x00E9DBC5, 0x00B1843A, 0x00886733, 0x00876634, 0x00886733, 0x00896834, 0x008B6934, 0x008C6A34, 0x008F6B35, 0x00906C35, 0x00A17837, 0x00C4A064, 0x00FFFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00F6F3EE, 0x00AE9668, 0x00A07E44, 0x00A07B3F, 0x00A17C3E, 0x00A37D3F, 0x00A47E3F, 0x00A58040, 0x00A6803F, 0x00A88140, 0x00A98241, 0x00AB8341, 0x00AD8442, 0x00AE8642, 0x00AF8743, 0x00B08743, 0x00B28943, 0x00B38944, 0x00B58B44, 0x00B68C44, 0x00B88D45, 0x00B88E45, 0x00BA8E45, 0x00BA8F46, 0x00BB9047, 0x00BB9149, 0x00BC914A, 0x00BC924B, 0x00BD934C, 0x00BD944E, 0x00BD954F, 0x00BE9550, 0x00BE9651, 0x00BF9751, 0x00C09852, 0x00C09753, 0x00C09853, 0x00C19954, 0x00C19955, 0x00C19956, 0x00C19956, 0x00BF9B5B, 0x00C4A874, 0x00F9F5F0, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFD, 0x00B4A281, 0x009F7E41, 0x00B28944, 0x00B38A43, 0x00B48A43, 0x00B48A42, 0x00B58A42, 0x00B68B42, 0x00B68B42, 0x00B68B43, 0x00B68C44, 0x00B68C44, 0x00B68C45, 0x00B68C46, 0x00B68C47, 0x00BD9A5B, 0x00D2BB8D, 0x27FDFCFB, 0xEF5E5E5E, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xE3535353, 0x11FCFAF6, 0x00C69E5D, 0x00987237, 0x00846433, 0x00866533, 0x00876633, 0x00896833, 0x008A6834, 0x008C6934, 0x008D6B34, 0x008F6C35, 0x00A47B3A, 0x00CCA970, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00E2DBD0, 0x008B6E3B, 0x00977137, 0x009A7336, 0x009C7536, 0x009E7736, 0x00A07836, 0x00A17936, 0x00A37A37, 0x00A47B36, 0x00A67C37, 0x00A87D37, 0x00AA7E38, 0x00AB8038, 0x00AD8139, 0x00AE8239, 0x00B08339, 0x00B28439, 0x00B3853A, 0x00B5863A, 0x00B7873A, 0x00B8883B, 0x00B9893B, 0x00BA8A3B, 0x00BB8B3C, 0x00BB8C3C, 0x00BC8C3E, 0x00BC8D40, 0x00BC8E42, 0x00BD8E43, 0x00BD8F44, 0x00BD9046, 0x00BD9147, 0x00BE9147, 0x00BE9248, 0x00BE9248, 0x00BE9249, 0x00BF9349, 0x00BF934A, 0x00BF934A, 0x00BD924A, 0x00A8884F, 0x00DACDB6, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00D8CFC1, 0x008D6F3A, 0x00B88B42, 0x00BC8D41, 0x00BC8D3F, 0x00BC8C3D, 0x00BB8B3C, 0x00BB8B3B, 0x00BA8A3B, 0x00B9893B, 0x00B7883A, 0x00B6873A, 0x00B4863A, 0x00B2843A, 0x00B1843A, 0x00B0863F, 0x00B99B63, 0x03EFE7DA, 0xAFB9B9B9, 0xFF040404, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE121212, 0x5BE5E5E5, 0x00DFC9A7, 0x00B08847, 0x00826333, 0x00836333, 0x00856433, 0x00866633, 0x00886733, 0x00896833, 0x008B6934, 0x008C6A35, 0x008F6B35, 0x00A17A3D, 0x00CAA76D, 0x00FEFDFD, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FDFCFC, 0x00B7A88F, 0x007C5F2F, 0x008C6931, 0x009B7436, 0x009D7636, 0x009F7736, 0x00A07836, 0x00A17937, 0x00A37A37, 0x00A47B37, 0x00A67C38, 0x00A87D37, 0x00AA7F38, 0x00AB8038, 0x00AD8139, 0x00AE8239, 0x00B08339, 0x00B1843A, 0x00B38539, 0x00B4863A, 0x00B6873A, 0x00B7883A, 0x00B8893B, 0x00BA8A3B, 0x00BB8A3C, 0x00BB8B3C, 0x00BB8C3C, 0x00BB8C3E, 0x00BC8D40, 0x00BC8E41, 0x00BD8E42, 0x00BD8F43, 0x00BD8F45, 0x00BD9046, 0x00BD9047, 0x00BE9047, 0x00BD9147, 0x00BE9147, 0x00BE9148, 0x00A37F41, 0x00A79169, 0x00FBFAF9, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00F7F5F3, 0x008F774E, 0x00A57D3A, 0x00BC8D3F, 0x00BB8C3D, 0x00BB8C3C, 0x00BB8B3C, 0x00BA8A3B, 0x00B9893B, 0x00B8893B, 0x00B7873A, 0x00B5873A, 0x00B4853A, 0x00B28439, 0x00B0843A, 0x00AF8239, 0x00AB894D, 0x00CFBD9C, 0x52F4F4F4, 0xFC222222, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xB98B8B8B, 0x04F5EFE6, 0x00C4A062, 0x008B6B39, 0x00826232, 0x00836333, 0x00846433, 0x00866533, 0x00876634, 0x00896733, 0x008A6834, 0x008C6934, 0x008D6A35, 0x0096723A, 0x00C4A060, 0x00F6F1E9, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00E0D9CF, 0x00907950, 0x0083622C, 0x00977234, 0x009D7636, 0x009F7736, 0x00A17836, 0x00A27937, 0x00A37A37, 0x00A57B37, 0x00A67C37, 0x00A87D37, 0x00AA7F38, 0x00AB8038, 0x00AD8139, 0x00AE8239, 0x00AF8339, 0x00B18439, 0x00B28439, 0x00B4853A, 0x00B5873A, 0x00B7873A, 0x00B8883B, 0x00B9893B, 0x00BA8A3B, 0x00BB8B3B, 0x00BB8B3C, 0x00BB8C3C, 0x00BC8C3E, 0x00BC8D3F, 0x00BC8D40, 0x00BC8E42, 0x00BD8E42, 0x00BD8F43, 0x00BD8F44, 0x00BD8F44, 0x00BD9045, 0x00B08640, 0x007E6333, 0x00E0DACF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00B6A890, 0x0086652D, 0x00BA8B3D, 0x00BB8C3C, 0x00BB8B3B, 0x00BA8A3B, 0x00B98A3B, 0x00B9893B, 0x00B7883A, 0x00B6873A, 0x00B4863A, 0x00B3853A, 0x00B2853A, 0x00B08339, 0x00AE8239, 0x00A8813F, 0x00AC9160, 0x11F6F3EE, 0xD8717171, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF2323232, 0x2EFBFAFA, 0x00D7C095, 0x00A5844F, 0x007F6032, 0x00816132, 0x00826333, 0x00836333, 0x00856433, 0x00866533, 0x00886733, 0x00896833, 0x008B6934, 0x008C6A35, 0x008F6B35, 0x00B69458, 0x00E2D0B1, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FAF9F8, 0x00C2B29A, 0x00896A36, 0x00926D32, 0x009D7635, 0x009F7736, 0x00A17836, 0x00A27937, 0x00A37A37, 0x00A57B37, 0x00A67C38, 0x00A87D37, 0x00A97F38, 0x00AB8039, 0x00AC8138, 0x00AD8239, 0x00AF8239, 0x00B08339, 0x00B2843A, 0x00B3853A, 0x00B4853A, 0x00B6873A, 0x00B7873A, 0x00B8883B, 0x00B9893B, 0x00BA893B, 0x00BB8A3B, 0x00BB8B3C, 0x00BB8C3C, 0x00BC8C3D, 0x00BC8D3E, 0x00BC8D3F, 0x00BC8D40, 0x00BC8D41, 0x00BC8D41, 0x00BB8D41, 0x008A682F, 0x00AD9C7F, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00E9E4DB, 0x00856735, 0x00AE8237, 0x00BB8B3B, 0x00BA8A3B, 0x00B9893A, 0x00B8893B, 0x00B8883A, 0x00B6873A, 0x00B5863A, 0x00B4853A, 0x00B28439, 0x00B18439, 0x00B08339, 0x00AE8239, 0x00AB803A, 0x00987A42, 0x01D7CBB8, 0x84D5D5D5, 0xFF070707, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF050505, 0x85C1C1C1, 0x01EBDFC9, 0x00BD9C61, 0x00816234, 0x007F5F32, 0x00806132, 0x00816233, 0x00836333, 0x00846433, 0x00856433, 0x00876634, 0x00886733, 0x008A6834, 0x008B6934, 0x008C6A34, 0x0099773F, 0x00C8A86F, 0x00F4EEE2, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00ECE7DF, 0x00AA9167, 0x00916C2F, 0x009B7434, 0x009F7736, 0x00A07836, 0x00A27937, 0x00A37A37, 0x00A47B37, 0x00A67C38, 0x00A77D37, 0x00A97E38, 0x00AB7F39, 0x00AC8038, 0x00AD8139, 0x00AE8239, 0x00AF8339, 0x00B18439, 0x00B28439, 0x00B3853A, 0x00B5863A, 0x00B6873A, 0x00B7873A, 0x00B8883A, 0x00B9893B, 0x00BA8A3B, 0x00BA8A3B, 0x00BB8B3B, 0x00BB8B3C, 0x00BB8B3C, 0x00BB8B3C, 0x00BB8C3D, 0x00BC8C3D, 0x00A87E37, 0x008F7142, 0x00F3F0EB, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FDFDFC, 0x00AE956B, 0x009F7733, 0x00BA8A3A, 0x00B9893B, 0x00B8893B, 0x00B7883A, 0x00B6873A, 0x00B5863A, 0x00B4853A, 0x00B3853A, 0x00B2843A, 0x00B08339, 0x00AF8239, 0x00AE8139, 0x00AC8039, 0x00987539, 0x00A9936D, 0x2EFAF9F8, 0xF13E3E3E, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xD8656565, 0x11FAF7F2, 0x00CAA86F, 0x0092713E, 0x007D5E30, 0x007E5F32, 0x007F6032, 0x00806133, 0x00826232, 0x00836333, 0x00846433, 0x00866533, 0x00876634, 0x00896833, 0x008A6934, 0x008B6934, 0x008D6A35, 0x00A48045, 0x00CCAB73, 0x00F7F2E9, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FDFDFC, 0x00D6C8B0, 0x00A07C41, 0x009B7433, 0x009F7736, 0x00A07836, 0x00A27936, 0x00A37A37, 0x00A47B37, 0x00A57C37, 0x00A77D37, 0x00A97E37, 0x00AA7F39, 0x00AB8038, 0x00AD8039, 0x00AD813A, 0x00AE8239, 0x00AF8339, 0x00B1843A, 0x00B2843A, 0x00B3853A, 0x00B4853A, 0x00B5863A, 0x00B6873A, 0x00B7883A, 0x00B8883B, 0x00B9893B, 0x00B9893B, 0x00BA8A3A, 0x00BA8A3B, 0x00BA8A3B, 0x00B8893A, 0x00926E2F, 0x00D2C5B0, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00DFD1BB, 0x009F7734, 0x00B5873A, 0x00B7883A, 0x00B7873A, 0x00B5873A, 0x00B5863A, 0x00B4853A, 0x00B2843A, 0x00B18439, 0x00B08339, 0x00AF8239, 0x00AE8139, 0x00AD8139, 0x00AC8038, 0x00A27937, 0x00866B3A, 0x05E6E0D6, 0xB7A2A2A2, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFB252525, 0x50F0F0F0, 0x00DBC39C, 0x00AA8346, 0x007A5C31, 0x007B5D30, 0x007D5E31, 0x007E5F32, 0x007F6032, 0x00816133, 0x00826233, 0x00836333, 0x00856433, 0x00866533, 0x00886733, 0x00896833, 0x008A6934, 0x008C6A34, 0x008D6A35, 0x00A27C40, 0x00C49F61, 0x00EBDEC9, 0x00FFFFFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00F6F2EC, 0x00C3A97D, 0x00A47B36, 0x00A17836, 0x00A07836, 0x00A17936, 0x00A27A37, 0x00A37A36, 0x00A57B37, 0x00A67C38, 0x00A77D37, 0x00A97E38, 0x00AA7F39, 0x00AB7F38, 0x00AC8039, 0x00AD8139, 0x00AE8239, 0x00AF8239, 0x00B08339, 0x00B1843A, 0x00B28539, 0x00B3853A, 0x00B4863A, 0x00B5863A, 0x00B6873A, 0x00B6873A, 0x00B7883A, 0x00B8883A, 0x00B8883B, 0x00A77D35, 0x00B29564, 0x00FDFCFB, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FAF7F2, 0x00B7904F, 0x00B18338, 0x00B5863B, 0x00B4863A, 0x00B4853A, 0x00B38539, 0x00B28439, 0x00B18439, 0x00B08339, 0x00AF8239, 0x00AD8239, 0x00AD8139, 0x00AC8039, 0x00AB7F39, 0x00A87D34, 0x007E5E27, 0x00B2A286, 0x5BDBDBDB, 0xFD141414, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF030303, 0xADADADAD, 0x04EFE4CE, 0x00B4851F, 0x00795922, 0x00735525, 0x0077582A, 0x007B5D2E, 0x007D5E31, 0x007F5F32, 0x00806032, 0x00816233, 0x00826233, 0x00846333, 0x00856433, 0x00876633, 0x00886733, 0x00896834, 0x008B6934, 0x008C6A35, 0x008D6A34, 0x00977238, 0x00B38844, 0x00D4B686, 0x00F8F3EC, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFE, 0x00E7DAC6, 0x00B99354, 0x00AA7F37, 0x00A17836, 0x00A17836, 0x00A27937, 0x00A37A37, 0x00A47B36, 0x00A57B37, 0x00A67C37, 0x00A77D37, 0x00A97E38, 0x00AA7F39, 0x00AB8038, 0x00AC8039, 0x00AD8139, 0x00AE8239, 0x00AF8239, 0x00B08339, 0x00B18339, 0x00B1843A, 0x00B28539, 0x00B3853A, 0x00B38539, 0x00B4853A, 0x00B4863A, 0x00B28439, 0x00A9803A, 0x00EDE5D9, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00DAC198, 0x00B8893C, 0x00B38539, 0x00B2843A, 0x00B2843A, 0x00B1843A, 0x00B08339, 0x00AF8239, 0x00AE8239, 0x00AD8139, 0x00AC8037, 0x00AA7E32, 0x00A77B2C, 0x00A47725, 0x00A0741E, 0x008A6417, 0x00796032, 0x14F4F1EE, 0xDF515151, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xED525252, 0x27FCFAF8, 0x00BF994E, 0x008A6215, 0x006A4C1A, 0x006C4D1A, 0x006D4F19, 0x006F5019, 0x0072531B, 0x00765620, 0x00795925, 0x007C5D2A, 0x0080602F, 0x00836232, 0x00846433, 0x00856533, 0x00876634, 0x00886733, 0x008A6834, 0x008B6934, 0x008C6935, 0x008E6A35, 0x00906B35, 0x00A27939, 0x00BC914C, 0x00E3D0B4, 0x00FDFDFC, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FBF8F4, 0x00D8BE95, 0x00B98C43, 0x00AA7F3A, 0x00A07836, 0x00A17936, 0x00A27A37, 0x00A37A36, 0x00A47B36, 0x00A57B37, 0x00A67C37, 0x00A77D38, 0x00A87E38, 0x00AA7F38, 0x00AB7F38, 0x00AC8038, 0x00AC8139, 0x00AD8139, 0x00AE8139, 0x00AF8239, 0x00AF8339, 0x00B08339, 0x00B18339, 0x00B1843A, 0x00B2843A, 0x00B38538, 0x00D4BB92, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00F4ECE0, 0x00C29854, 0x00B3863C, 0x00B08339, 0x00B08339, 0x00AF8239, 0x00AD8137, 0x00AC7F32, 0x00A97C2C, 0x00A77925, 0x00A4761F, 0x00A1741A, 0x00A07219, 0x009F7219, 0x009E711A, 0x009A6E19, 0x007B580F, 0x01CEC2AD, 0x8EB8B8B8, 0xFF020202, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE0D0D0D, 0x79D8D8D8, 0x00D5C4A3, 0x00916816, 0x006B4D1B, 0x00694C1A, 0x006B4D1A, 0x006C4E19, 0x006E4F19, 0x006F5018, 0x00715117, 0x00725217, 0x00735315, 0x00755415, 0x00775516, 0x007A581A, 0x007E5C1F, 0x00805E24, 0x00836129, 0x0087642E, 0x00896732, 0x008B6934, 0x008C6A35, 0x008D6A35, 0x008F6B35, 0x00946F35, 0x00A47A36, 0x00BFA06C, 0x00F1EAE0, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00F1E8DA, 0x00CEAC75, 0x00B78E4B, 0x00A27A39, 0x00A07836, 0x00A17936, 0x00A27A37, 0x00A37A37, 0x00A47B37, 0x00A57B37, 0x00A67C37, 0x00A77D38, 0x00A87D37, 0x00A97E38, 0x00AA7F39, 0x00AB8039, 0x00AC8038, 0x00AC8039, 0x00AD8139, 0x00AD8139, 0x00AE823A, 0x00AE8239, 0x00B4883E, 0x00C49C59, 0x00FAF7F2, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FEFDFD, 0x00D4B989, 0x00B78E43, 0x00AA7D2B, 0x00A87B25, 0x00A77920, 0x00A5771B, 0x00A37518, 0x00A27417, 0x00A17318, 0x00A07219, 0x009F7219, 0x009E711A, 0x009D711B, 0x009C6F1B, 0x009B6E1B, 0x00916811, 0x00A68A4E, 0x32F4F4F3, 0xF71F1F1F, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xD08D8D8D, 0x0CF2EDE6, 0x00927024, 0x00705118, 0x00674A1C, 0x00694B1B, 0x006A4C1A, 0x006C4D1A, 0x006D4E19, 0x006E4F19, 0x006F5118, 0x00715117, 0x00725216, 0x00745315, 0x00765415, 0x00775513, 0x00795612, 0x007A5712, 0x007B5812, 0x007C5913, 0x007E5A13, 0x00805C16, 0x00825E1B, 0x0085611F, 0x00876323, 0x008A6627, 0x008D682A, 0x00936D2D, 0x009C7736, 0x00CDBA9B, 0x00FBFAF8, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FDFBFA, 0x00DFCCA9, 0x00C19F61, 0x00A57E3E, 0x009F7736, 0x00A07836, 0x00A17936, 0x00A27A37, 0x00A37A37, 0x00A47B36, 0x00A57B37, 0x00A67C37, 0x00A67C38, 0x00A77D37, 0x00A87E37, 0x00A97E38, 0x00AA7F39, 0x00AA7F39, 0x00AB8039, 0x00AC8039, 0x00AE833C, 0x00C29A58, 0x00EADCC6, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00E8DABF, 0x00BD984A, 0x00A47619, 0x00A37417, 0x00A27418, 0x00A27418, 0x00A17318, 0x00A07319, 0x009F7219, 0x009E7219, 0x009E711A, 0x009D701B, 0x009C6F1B, 0x009A6E1B, 0x009A6E1B, 0x009A6E19, 0x009C721D, 0x03EDE6DA, 0xC2838383, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFA303030, 0x45F4F4F4, 0x00AB976E, 0x00715113, 0x0065491D, 0x00664A1C, 0x00674A1C, 0x00694B1B, 0x006A4C1A, 0x006C4D1A, 0x006D4E19, 0x006E5019, 0x00705118, 0x00715117, 0x00735316, 0x00745315, 0x00765415, 0x00775513, 0x00795612, 0x007A5712, 0x007B5812, 0x007C5913, 0x007D5A13, 0x007F5B14, 0x00805C14, 0x00815D14, 0x00825E15, 0x00845F15, 0x00856016, 0x00866116, 0x00845F0F, 0x00987A3D, 0x00E1D9CA, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFD, 0x00E3D2B4, 0x00BF9B58, 0x009F7833, 0x009C732F, 0x009D742F, 0x009E752E, 0x009E752F, 0x009F762F, 0x00A0762E, 0x00A0762D, 0x00A1772D, 0x00A1762D, 0x00A1762C, 0x00A2772A, 0x00A27629, 0x00A27727, 0x00A37725, 0x00A37624, 0x00B68F43, 0x00D4BB88, 0x00FEFDFC, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FAF7F0, 0x00C39D53, 0x00A97D26, 0x00A07219, 0x00A07219, 0x009F7219, 0x009E7219, 0x009E711A, 0x009D701B, 0x009D701B, 0x009C6F1B, 0x009B6F1B, 0x009A6E1B, 0x00996E1A, 0x00986D1A, 0x00986D19, 0x00A97811, 0x00D1B987, 0x62DCDCDC, 0xFE060606, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF0A0A0A, 0xA2D4D4D4, 0x02D9D2C5, 0x006C4F1B, 0x0066491B, 0x0065481D, 0x0065491D, 0x00664A1C, 0x00674A1C, 0x00694B1B, 0x006A4C1A, 0x006B4D1A, 0x006C4E19, 0x006E5019, 0x006F5118, 0x00715117, 0x00725216, 0x00745315, 0x00765414, 0x00775514, 0x00785612, 0x00795612, 0x007B5812, 0x007C5913, 0x007D5912, 0x007E5A13, 0x007F5B14, 0x00815C13, 0x00825E15, 0x00835E16, 0x00856016, 0x00866116, 0x00835E15, 0x00785816, 0x00AD9B7A, 0x00F6F4F1, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFDFC, 0x00D4B780, 0x00AE8229, 0x00926916, 0x00926916, 0x00936A17, 0x00946A18, 0x00956B19, 0x00966B19, 0x00976C19, 0x00986D1A, 0x00996D1A, 0x00996E1B, 0x009A6E1B, 0x009B6F1B, 0x009B6F1B, 0x009C6F1B, 0x00A47722, 0x00BF9747, 0x00F4EEE2, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00D5B982, 0x00B08327, 0x009D701A, 0x009D701B, 0x009C6F1B, 0x009C6F1B, 0x009B6F1B, 0x009B6E1B, 0x009A6E1B, 0x009A6E1B, 0x00986D1A, 0x00986D1A, 0x00976C19, 0x00966C19, 0x00956B19, 0x00A4771E, 0x00C09539, 0x14FBF8F4, 0xE7707070, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xEB727272, 0x1CF9F8F6, 0x008A7145, 0x00674A1A, 0x0065481D, 0x0065481D, 0x0065481D, 0x0065491D, 0x00674A1C, 0x00684B1C, 0x00694C1B, 0x006A4C1A, 0x006B4D1A, 0x006D4E19, 0x006E5019, 0x006F5118, 0x00715117, 0x00725217, 0x00745315, 0x00765415, 0x00775513, 0x00785612, 0x00795612, 0x007B5712, 0x007C5813, 0x007C5913, 0x007E5A13, 0x007F5B14, 0x00805C14, 0x00825D14, 0x00835E16, 0x00845F15, 0x00856015, 0x00866016, 0x00775515, 0x007C6235, 0x00D2C9BA, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00F8F3EA, 0x00BA8C28, 0x009A6E14, 0x00906715, 0x00916816, 0x00926917, 0x00936917, 0x00946A17, 0x00956A18, 0x00956B19, 0x00966B19, 0x00976C19, 0x00976C19, 0x00986D1A, 0x00996D1A, 0x009A6E1A, 0x00B1811C, 0x00DAC190, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00EDE2CD, 0x00B38315, 0x009E711B, 0x009A6E1B, 0x009A6E1B, 0x009A6E1B, 0x00996D1B, 0x00996D1A, 0x00986D1A, 0x00976C19, 0x00976C19, 0x00966B19, 0x00956B19, 0x00956A18, 0x00946A17, 0x00986E1C, 0x00B98F39, 0x00E9DCC1, 0x97D3D3D3, 0xFF020202, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF070707, 0x6CD1D1D1, 0x00C3B498, 0x00725315, 0x0065491C, 0x0065481D, 0x0065491D, 0x0065481D, 0x0065481D, 0x0065491D, 0x00674A1C, 0x00684B1C, 0x00694C1B, 0x006A4C1A, 0x006C4D1A, 0x006D4E19, 0x006E5019, 0x006F5018, 0x00715117, 0x00725216, 0x00735315, 0x00755415, 0x00765514, 0x00785612, 0x00795612, 0x007B5712, 0x007B5813, 0x007C5913, 0x007E5A12, 0x007F5B14, 0x00805C14, 0x00815D13, 0x00825E15, 0x00845F15, 0x00856015, 0x00866116, 0x00825E16, 0x00755416, 0x00A28E67, 0x00F1EEE8, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00C9B07F, 0x00976C14, 0x008E6617, 0x008F6716, 0x00906715, 0x00906816, 0x00916816, 0x00926917, 0x00936916, 0x00946A17, 0x00946A18, 0x00956B18, 0x00956B19, 0x00966B19, 0x009C6F17, 0x00B68C35, 0x00FBF8F2, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FCFAF8, 0x00B28F4B, 0x009D7017, 0x00986D1A, 0x00976C1A, 0x00976C19, 0x00976C19, 0x00976C19, 0x00966B19, 0x00966B19, 0x00956B18, 0x00956A17, 0x00946A16, 0x00936917, 0x00926916, 0x00916816, 0x00B08A3D, 0x00D4BA87, 0x39FEFDFD, 0xFA383838, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xC86C6C6C, 0x07F0EBE4, 0x0089692E, 0x006B4D1C, 0x0065481D, 0x0065491D, 0x0065481D, 0x0065481D, 0x0065481D, 0x0065481D, 0x0066491D, 0x00674A1C, 0x00684A1C, 0x00694B1B, 0x006A4C1A, 0x006B4D1A, 0x006D4E19, 0x006E4F19, 0x006F5018, 0x00715117, 0x00735217, 0x00735315, 0x00755415, 0x00765514, 0x00785513, 0x00795612, 0x007A5712, 0x007B5812, 0x007C5913, 0x007D5913, 0x007E5A13, 0x00805B14, 0x00815C13, 0x00825D14, 0x00835E15, 0x00845F15, 0x00856015, 0x00866116, 0x00805C15, 0x0086672B, 0x00DFD7C9, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00DACFB9, 0x00815D0C, 0x008B6417, 0x008C6517, 0x008D6517, 0x008E6617, 0x008F6617, 0x00906716, 0x00906715, 0x00916816, 0x00926816, 0x00926916, 0x00936916, 0x00916815, 0x008C6510, 0x00DCCFB6, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00CCBC9C, 0x008C650E, 0x00956B18, 0x00956B18, 0x00956B18, 0x00956A18, 0x00946A17, 0x00946A17, 0x00936A17, 0x00936916, 0x00926916, 0x00916815, 0x00916815, 0x00906715, 0x00906715, 0x009C7423, 0x00C3A057, 0x07F6F1E6, 0xC89E9E9E, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFA191919, 0x3AE8E8E8, 0x00AF976E, 0x0078571E, 0x0065491D, 0x0065481D, 0x0065481D, 0x0065481C, 0x0064481C, 0x0065481D, 0x0065481D, 0x0065481D, 0x0066491D, 0x00674A1C, 0x00684B1C, 0x00694B1B, 0x006A4C1A, 0x006C4D1A, 0x006C4E19, 0x006D4F19, 0x006F5118, 0x00715117, 0x00725216, 0x00735316, 0x00745415, 0x00765514, 0x00775513, 0x00785613, 0x00795612, 0x007B5712, 0x007C5813, 0x007D5913, 0x007E5A12, 0x007F5B14, 0x00805B14, 0x00815C14, 0x00825E14, 0x00835E16, 0x00845F15, 0x00856116, 0x0084611B, 0x00A28858, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00DFD9CF, 0x006B4E15, 0x00886216, 0x008A6317, 0x008B6417, 0x008B6417, 0x008C6517, 0x008D6517, 0x008D6517, 0x008E6616, 0x008F6716, 0x008F6716, 0x00906715, 0x007B5813, 0x009F885C, 0x00FDFDFD, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00EEEBE5, 0x00806227, 0x008C6414, 0x00936916, 0x00926916, 0x00926916, 0x00926816, 0x00916816, 0x00916816, 0x00916816, 0x00906715, 0x00906715, 0x008F6616, 0x008E6617, 0x008E6617, 0x008F6618, 0x00B28731, 0x00DFCAA3, 0x6AEDEDED, 0xFE1A1A1A, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x97A6A6A6, 0x01E6DFD4, 0x00866323, 0x007B5A1F, 0x0079581E, 0x0079581F, 0x0079581E, 0x0079581E, 0x0079581E, 0x0079581F, 0x0079581E, 0x0079581E, 0x0079581E, 0x0079581E, 0x007A591E, 0x007A591E, 0x007A591E, 0x007B591D, 0x007B5A1D, 0x007C5A1D, 0x007C5B1D, 0x007D5B1D, 0x007D5B1D, 0x007E5C1D, 0x007E5C1C, 0x007F5C1C, 0x007F5D1C, 0x007F5D1B, 0x00805D1B, 0x00805D1B, 0x00815E1B, 0x00815E1B, 0x00815E1B, 0x00825E1B, 0x00825E1B, 0x00825F1C, 0x00835F1C, 0x0083601C, 0x0084601D, 0x0084601D, 0x00896829, 0x00D0C2AB, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00D4CAB8, 0x00735314, 0x00866116, 0x00876216, 0x00886216, 0x00896216, 0x008A6316, 0x008A6317, 0x008B6417, 0x008B6417, 0x008C6517, 0x008D6517, 0x00856015, 0x00745823, 0x00E8E4DD, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFDFD, 0x00A29070, 0x00765415, 0x00906716, 0x00906715, 0x00906715, 0x008F6716, 0x008F6616, 0x008E6616, 0x008E6617, 0x008E6617, 0x008D6517, 0x008D6517, 0x008C6517, 0x008B6417, 0x008B6417, 0x009E7317, 0x00C49C4A, 0x1CFBF9F5, 0xE9696969, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xE55B5B5B, 0x15FEFEFE, 0x00FEFDFD, 0x00E4DCCF, 0x00E1D8CA, 0x00E1D8C9, 0x00E0D8C9, 0x00E0D8C9, 0x00E1D8C9, 0x00E0D8C9, 0x00E1D8CA, 0x00E1D8C9, 0x00E0D8C9, 0x00E0D8C9, 0x00E1D8C9, 0x00E0D8C9, 0x00E1D8C9, 0x00E0D8C9, 0x00E1D8CA, 0x00E1D8CA, 0x00E1D8C9, 0x00E1D8C9, 0x00E1D8C9, 0x00E1D8C9, 0x00E1D8C9, 0x00E0D8C9, 0x00E1D8C9, 0x00E1D8C9, 0x00E1D8C9, 0x00E0D8C9, 0x00E1D8C9, 0x00E0D8C9, 0x00E0D8C9, 0x00E0D8C9, 0x00E0D8C9, 0x00E0D8C9, 0x00E1D8C9, 0x00E1D8CA, 0x00E1D8C9, 0x00E1D8CA, 0x00E4DCCF, 0x00F8F6F3, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00B7A37F, 0x00815E1B, 0x00835E16, 0x00845F15, 0x00856015, 0x00866116, 0x00866116, 0x00876116, 0x00886217, 0x00896216, 0x008A6317, 0x008A6317, 0x00805E1A, 0x00C0B092, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00DCD3C4, 0x00785919, 0x00896316, 0x008D6517, 0x008C6516, 0x008C6517, 0x008C6517, 0x008C6417, 0x008B6417, 0x008B6417, 0x008B6417, 0x008A6317, 0x008A6317, 0x00896317, 0x00896216, 0x008C6516, 0x00AB7B15, 0x02E9DBBD, 0xA0B6B6B6, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE121212, 0x60E6E6E6, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00F4F0EB, 0x008F6F34, 0x00815D17, 0x00815C14, 0x00825D14, 0x00825E15, 0x00835E15, 0x00845F16, 0x00845F16, 0x00856016, 0x00856016, 0x00866116, 0x0086611B, 0x00997C48, 0x00F9F8F6, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00F9F8F6, 0x009B7F4D, 0x00856018, 0x008A6317, 0x008A6317, 0x008A6316, 0x008A6317, 0x008A6317, 0x008A6317, 0x00896217, 0x00886216, 0x00886216, 0x00876216, 0x00876116, 0x00866116, 0x00856016, 0x008E6611, 0x00C0A46E, 0x43F1F1F0, 0xFA1F1F1F, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xBF8F8F8F, 0x05FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFD, 0x00B8A37F, 0x00825F1C, 0x007E5A13, 0x007F5A13, 0x007F5B14, 0x00805C14, 0x00815C14, 0x00815D14, 0x00825D14, 0x00825E15, 0x00835E15, 0x00845F17, 0x00866323, 0x00DDD3C3, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FEFEFE, 0x00C8B89C, 0x0085621E, 0x00876116, 0x00876217, 0x00876116, 0x00876116, 0x00866116, 0x00866116, 0x00866116, 0x00866016, 0x00856015, 0x00856016, 0x00845F15, 0x00845F15, 0x00835E15, 0x007E5A11, 0x00997C3A, 0x16F5F2EC, 0xD6626262, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF6333333, 0x32FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00CFC2AA, 0x00856323, 0x007C5814, 0x007B5813, 0x007C5913, 0x007D5913, 0x007E5A12, 0x007E5A13, 0x007F5B13, 0x00805B14, 0x00805C14, 0x00815C14, 0x0083601C, 0x00AF986F, 0x00FEFEFE, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00EFEAE2, 0x008E6D32, 0x00846018, 0x00845F15, 0x00845F16, 0x00845F15, 0x00845F16, 0x00845F16, 0x00835E15, 0x00835E15, 0x00835E15, 0x00835E15, 0x00825E15, 0x00825E14, 0x00815D14, 0x00725215, 0x00886F41, 0x10EEEBE4, 0xBC8F8F8F, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF030303, 0x8CC3C3C3, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFD, 0x00CCBEA5, 0x00866425, 0x007A5715, 0x00795612, 0x00795712, 0x007A5712, 0x007B5712, 0x007B5812, 0x007C5813, 0x007D5913, 0x007D5913, 0x007E5A12, 0x00805C17, 0x008D6D31, 0x00F0ECE5, 0x00FEFEFE, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FEFDFD, 0x00AF986F, 0x0083601B, 0x00825D14, 0x00825D14, 0x00815D14, 0x00815D14, 0x00815D14, 0x00815D14, 0x00815D13, 0x00815C14, 0x00805C13, 0x00805C14, 0x00805B14, 0x007E5A15, 0x00775616, 0x00A59270, 0x22F2F0ED, 0xC8828282, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xDE777777, 0x12FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00F4F1ED, 0x00B29C75, 0x00826020, 0x00775516, 0x00755414, 0x00765514, 0x00775513, 0x00785513, 0x00785612, 0x00795612, 0x007A5712, 0x007A5712, 0x007B5812, 0x007C5813, 0x0083601F, 0x00C9BA9F, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00DCD2C0, 0x00856322, 0x007F5B15, 0x007F5B13, 0x007F5B14, 0x007F5A13, 0x007F5A13, 0x007F5B13, 0x007E5A13, 0x007E5A13, 0x007E5A12, 0x007E5A13, 0x00805C17, 0x0083601E, 0x00A08657, 0x07DFD6C7, 0x67DCDCDC, 0xEC3F3F3F, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE252525, 0x5CF2F2F2, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00F4F1ED, 0x00C5B497, 0x008E6E34, 0x007D5C1D, 0x00755518, 0x00755417, 0x00755517, 0x00765517, 0x00775616, 0x00785616, 0x00785616, 0x00795615, 0x00795715, 0x00795715, 0x007A5715, 0x00805D1A, 0x009F8452, 0x00FAF9F7, 0x00FEFEFE, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FEFEFE, 0x00FEFEFE, 0x00FEFEFE, 0x00FEFEFE, 0x00FEFEFE, 0x00FAF9F7, 0x00997B46, 0x00805D1A, 0x007E5A15, 0x007D5A15, 0x007E5A15, 0x007E5A15, 0x007E5A15, 0x007E5B16, 0x007F5C18, 0x00805D1A, 0x00846120, 0x00967842, 0x00BBA785, 0x10E6DFD4, 0x64D6D6D5, 0xD4686868, 0xFF0C0C0C, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE1E1E1E, 0x65F3F3F3, 0x01FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00E7E0D5, 0x00BCA987, 0x00B6A17C, 0x00B6A27D, 0x00B7A27D, 0x00B7A27D, 0x00B7A27D, 0x00B7A27D, 0x00B7A27D, 0x00B7A27D, 0x00B7A27D, 0x00B7A27D, 0x00B7A27D, 0x00B7A27D, 0x00B7A27D, 0x00B7A27D, 0x00C5B497, 0x00F3F0EB, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FEFEFE, 0x00FEFEFE, 0x00FEFEFE, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FAF9F7, 0x00BEAC8B, 0x00B7A27D, 0x00B7A27D, 0x00B7A27D, 0x00B7A27D, 0x00B6A17C, 0x00B7A37E, 0x00BDAA88, 0x01C9B99E, 0x0ADAD0BD, 0x29EDE8E1, 0x62CFCFCE, 0xA98D8D8D, 0xED383838, 0xFF020202, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFB232323, 0xC8767676, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB2808080, 0xB4808080, 0xC27E7E7E, 0xD6545454, 0xF0323232, 0xFE0A0A0A, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF53C2D0E, 0xC4684E19, 0xC4684F18, 0xEB49380F, 0xFF000000, 0xFF000000, 0xFE1E1407, 0xA1916D22, 0xE1523A13, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF030201, 0xEA493710, 0xBC694F18, 0xF0413615, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF030000, 0xDD220B04, 0xD8220B04, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF5100601, 0xC7240C04, 0xFA110401, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xE7634B18, 0x74BD8D2C, 0x16E2AA34, 0xA8A87725, 0xFF000000, 0xFF000000, 0xFE2F2009, 0x53D5A031, 0xC778571A, 0xFF000000, 0xFF000000, 0xFF000000, 0xB6936E22, 0x28E2AB34, 0x81A67D26, 0xEC4B3D16, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF090000, 0x6D501607, 0x55491909, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xD4240D03, 0x0F4F1B09, 0xE82E0802, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFB493010, 0x2EE3AA34, 0xA8A77725, 0xFF000000, 0xFD140F05, 0xCA564114, 0xC6574114, 0xE0483211, 0xFF000000, 0xFB221908, 0xC9564114, 0x4AD29E30, 0x5BD6A131, 0xCE574214, 0xFE0F0B04, 0xFF000000, 0xFF000000, 0xFD0F0B03, 0xDE4A3911, 0xC7564114, 0xD54D3912, 0xF71C1507, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFC070201, 0xD2210A05, 0xA82C0F05, 0xA22B0F05, 0xC4240B03, 0xF60C0301, 0xD91A0903, 0xDD1B0903, 0xFF000000, 0xF5100502, 0xC81F0A04, 0xFA060201, 0xFF000000, 0xFF000000, 0xFF000000, 0xFC060201, 0xCA1E0A03, 0xF1110602, 0xFF000000, 0xFF000000, 0xF90B0301, 0xCA1F0B03, 0xA32B0F05, 0xA72A0E05, 0xD6190903, 0xFC0B0201, 0xC91E0A04, 0xF00E0501, 0xFC0D0301, 0xC91E0A03, 0xE8190902, 0xBB230C04, 0xA22B0F05, 0xC3230C04, 0xF70C0401, 0xFE050101, 0xD81C0903, 0xA82B0E05, 0xAA2A0F05, 0xDC190903, 0xFE010000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFD080201, 0xD51E0A04, 0xA9290E04, 0xA52B0F05, 0xCB1E0A03, 0xFA070301, 0xFF000000, 0xFF000000, 0xFD080100, 0xC81E0A03, 0xEE150802, 0xC8210C04, 0xA22B0F05, 0xAD290D04, 0xDF180803, 0xFE020100, 0xFF000000, 0xED100401, 0xC6240A04, 0x554F1808, 0x434B1A08, 0xC61E0A04, 0xDA1D0A03, 0xFF000000, 0xFF000000, 0xF3090301, 0xBE240C04, 0xA02B0F05, 0xB0260D04, 0xE4160802, 0xFF010000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xEE0E0501, 0xBA260D04, 0xA12B0F05, 0xAF280D05, 0xE2160803, 0xD4250D03, 0x0F4F1B09, 0xE82E0802, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFB493010, 0x2EE3AA34, 0xA8A87725, 0xFF000000, 0xFB2D210C, 0x87BE8E2C, 0x31DFAA35, 0x78BB872B, 0xFF000000, 0xF54A3A10, 0x80BE8F2C, 0x2CDEA733, 0x3BDEA732, 0x8BC1912C, 0xFC231A08, 0xFF010100, 0xB980601E, 0x38DDA633, 0x55D29E30, 0x7ABF8E2C, 0x66CF9B2F, 0x35E4AC35, 0x84AD8428, 0xF9261C08, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xCF1E0A03, 0x38491908, 0x52491908, 0x91391206, 0x99341206, 0x68461808, 0x334D1A09, 0x2A4D1A09, 0x6A481808, 0xFF000000, 0xD52C1005, 0x0B4F1B09, 0xE8110602, 0xFF000000, 0xFF000000, 0xFF000000, 0xF10F0502, 0x144F1B09, 0xC42E1006, 0xFF020100, 0xB82B0F05, 0x314D1B09, 0x5F461808, 0x97361306, 0x92371106, 0x51491908, 0x4A4E1A09, 0x0B4E1A09, 0xC0270D04, 0xF2220A01, 0x0F4E1B09, 0x244F1B09, 0x79411507, 0x98351206, 0x66461808, 0x304D1A09, 0x53431707, 0x3F4B1A08, 0x92371306, 0x8E391406, 0x374F1B09, 0x6B451908, 0xFC060201, 0xFF000000, 0xD6170803, 0x3F4A1908, 0x52491908, 0x91361306, 0x95361305, 0x5F4B1A08, 0x344D1A09, 0xBE2A0E04, 0xFF020000, 0xF5140501, 0x0B4E1A09, 0x274F1B09, 0x65481908, 0x97351206, 0x833B1407, 0x2B4E1B09, 0x733F1507, 0xFB0B0401, 0xD5280803, 0x76431607, 0x334F1A08, 0x284D1A09, 0x76421507, 0xA7401507, 0xFD040100, 0x932F1005, 0x2D4F1B09, 0x75441706, 0x9A341206, 0x873C1407, 0x3C4E1B09, 0x60441607, 0xEE120502, 0xFF000000, 0xFA050201, 0x7F331206, 0x2D4F1B09, 0x77401607, 0x99341206, 0x883B1506, 0x3E4F1A09, 0x474C1A09, 0x0D4F1B09, 0xE82E0802, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFB493010, 0x2EE3AA34, 0xA8A87725, 0xFF000000, 0xFF000000, 0xFF000000, 0x64CCA437, 0x78BC872B, 0xFF000000, 0xFF000000, 0xFF000000, 0x5EC7962E, 0x7ECE982C, 0xFF000000, 0xFF000000, 0xC46A501B, 0x1DE1AA34, 0xD25A4414, 0xFF020100, 0xFF000000, 0xFF010100, 0xF43B2F0B, 0x57C89630, 0x74CB992F, 0xFE161005, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xEB190702, 0x194E1B09, 0xAA3E1107, 0xFF050201, 0xFF000000, 0xFF000000, 0xFF020100, 0xD52A0B04, 0x18501A09, 0x6A481809, 0xFF000000, 0xD52B0F05, 0x0B4F1B09, 0xE8110602, 0xFF000000, 0xFF000000, 0xFF000000, 0xF10F0502, 0x144F1B09, 0xC42E1005, 0xD0341204, 0x164F1B09, 0xC0290D05, 0xFF020100, 0xFF000000, 0xFF000000, 0xFE050200, 0x9F301105, 0x014E1B09, 0xC0270D04, 0xF2220901, 0x0F4E1A09, 0xA2361206, 0xFF010000, 0xFF000000, 0xFF020100, 0x6E3D1506, 0x1F4E1A09, 0xF5130301, 0xFF000000, 0xFF000000, 0xEA200B04, 0x124E1B09, 0xC1310F04, 0xED140601, 0x204E1B09, 0xA3401306, 0xFE110501, 0xFF090301, 0xFF090301, 0xFE0C0401, 0xC1351105, 0x1A4F1B08, 0xD62A1104, 0xF5140500, 0x0B4E1A08, 0x90371305, 0xFF010000, 0xFF000000, 0xFF000000, 0xE61A0902, 0x184E1B09, 0xB8411105, 0xFF000000, 0xFF090000, 0x6D501607, 0x55481909, 0xFF000000, 0xFF020000, 0x9D3C1106, 0x294F1B09, 0xE92A0E04, 0xFF0A0401, 0xFF090401, 0xFF090301, 0xFA1A0802, 0x66471708, 0x554C1708, 0xFC120300, 0x84391306, 0x384D1A09, 0xF0180802, 0xFF000000, 0xFF000000, 0xFF000000, 0xFC0B0301, 0x70451507, 0x0A4F1B09, 0xE82E0802, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFB493010, 0x2EE3AA34, 0xA8A87725, 0xFF000000, 0xFF000000, 0xFF000000, 0x64CCA53B, 0x78BC872A, 0xFF000000, 0xFF000000, 0xFF000000, 0x5EC7962E, 0x7ECE982C, 0xFF000000, 0xFF000000, 0x69B4872A, 0x25E4AC35, 0x5DDAA532, 0x5DDAA532, 0x5DDAA532, 0x5DDAA532, 0x5DDAA532, 0x4AE2AB35, 0x2DE4AC35, 0xF6523D13, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xB1280D05, 0x1C4F1B09, 0xFA170803, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF010000, 0x60461808, 0x6A481808, 0xFF000000, 0xD52C1005, 0x0B4F1B09, 0xE8110602, 0xFF000000, 0xFF000000, 0xFF000000, 0xF00F0502, 0x134F1B09, 0xC42E1006, 0x88471908, 0x3F481808, 0xFF030100, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFB0E0200, 0x174F1B09, 0xC0270D04, 0xF2220902, 0x114E1A09, 0xC72B0F04, 0xFF000000, 0xFF000000, 0xFF000000, 0x92301006, 0x37481809, 0xFF000000, 0xFF000000, 0xFF000000, 0xFC130500, 0x274E1A09, 0xA73B1306, 0xB7250D04, 0x064E1B09, 0x434F1B09, 0x45501B08, 0x454F1A08, 0x45501B09, 0x45501B09, 0x444F1B09, 0x1D4F1B09, 0x99491606, 0xF5140500, 0x0C4E1A08, 0xC7270D04, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF100000, 0x384F1808, 0x93421706, 0xFF000000, 0xFF090000, 0x6D501607, 0x55481909, 0xFF000000, 0xFE030100, 0x4B4F1A08, 0x1F4E1B08, 0x45501B09, 0x45501B09, 0x45501C09, 0x45501B08, 0x454F1B09, 0x394F1B09, 0x234F1B09, 0xE8260D03, 0x354E1A08, 0x96481606, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xDB250B03, 0x114F1B09, 0xE82E0802, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFB493010, 0x2EE3AA34, 0xA8A87725, 0xFF000000, 0xFF000000, 0xFF000000, 0x64CCA43B, 0x78BC872B, 0xFF000000, 0xFF000000, 0xFF000000, 0x5EC7962E, 0x7ECE982C, 0xFF000000, 0xFF000000, 0x8F9C7424, 0x3BD6A131, 0xF12D210A, 0xF5161105, 0xF5161105, 0xF5161105, 0xF5181205, 0xD7674D17, 0xDD6C5018, 0xFF120D03, 0xFF000000, 0xF244330E, 0xB17E5F1D, 0xCE654C17, 0xFE0B0803, 0xFF000000, 0xD81F0B03, 0x0E4F1A09, 0xD22D0E05, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF1120902, 0x304C1A08, 0x6A481908, 0xFF000000, 0xE02A0F04, 0x094F1B09, 0xD91C0A03, 0xFF000000, 0xFF000000, 0xFF000000, 0xDA240903, 0x0A4F1B09, 0xC42E0F05, 0xB23A1406, 0x1B4F1A09, 0xE31A0803, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xC8250C04, 0x044E1A09, 0xC0270D04, 0xF2220901, 0x114E1A08, 0xC72B0E05, 0xFF000000, 0xFF000000, 0xFF000000, 0x92301106, 0x37481808, 0xFF000000, 0xFF000000, 0xFF000000, 0xFC130500, 0x274E1A08, 0xA73B1306, 0xDA1D0903, 0x104F1B09, 0xC5331205, 0xF7080301, 0xF7080301, 0xF7080301, 0xF7080301, 0xDE200A03, 0x8E401806, 0xEB250B03, 0xF5140500, 0x0C4E1A08, 0xC9260C04, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF0F0000, 0x394F1908, 0x93421706, 0xFF000000, 0xFF090000, 0x6D501607, 0x55481809, 0xFF000000, 0xFF010000, 0x7A451507, 0x404E1B09, 0xF1180803, 0xF7080301, 0xF7080301, 0xF7080301, 0xF60B0401, 0xAF3A1306, 0xA7401706, 0xFD100401, 0x614A1607, 0x5B4C1A09, 0xFC0C0401, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF010000, 0xA2341206, 0x0C4F1B09, 0xE82E0802, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF0362B0A, 0xC283611B, 0x24E2AB34, 0x83BC8A29, 0xD94C3A11, 0xFC120D04, 0xC94D3A12, 0x4DD4A738, 0x5DC8952D, 0xCE4D3A12, 0xF9251C08, 0xC94D3A12, 0x48D09D30, 0x61D49F2F, 0xCD5D4912, 0xFD0E0A03, 0xF7171105, 0x59D39F30, 0x4CC9972E, 0xBC614917, 0xDF4C3912, 0xCF544014, 0x7DA67E26, 0x31E4AC35, 0xD083631C, 0xFF040300, 0xFF150F05, 0x60DDA533, 0x00E1A934, 0x09E3AB34, 0xD3684D19, 0xFF000000, 0xFF000000, 0x9F351005, 0x274D1A09, 0x91341105, 0xD11B0903, 0xD81A0903, 0xAB2D0F05, 0x40491908, 0x144E1B09, 0x6A481908, 0xFF000000, 0xFC0D0401, 0x5B4C1A09, 0x43481908, 0xC1210B04, 0xDF1A0903, 0xBB270D04, 0x3E4B1A08, 0x034F1A09, 0xC42E1005, 0xFC0C0401, 0x7B461709, 0x2E4E1B09, 0xA02E1005, 0xD61B0903, 0xD21B0903, 0x90341206, 0x2C4E1B09, 0x064E1B09, 0xC0270D04, 0xF2220A02, 0x114E1A09, 0xC72B0E05, 0xFF000000, 0xFF000000, 0xFF000000, 0x92301106, 0x37481808, 0xFF000000, 0xFF000000, 0xFF000000, 0xFC130500, 0x274F1A09, 0xA73B1306, 0xFF000000, 0xA0331105, 0x254D1A09, 0x8E341106, 0xD21C0903, 0xD61C0903, 0xA1321106, 0x314D1B09, 0x82421708, 0xFD0A0301, 0xF5140500, 0x0C4E1A08, 0xC9260C04, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF0F0000, 0x394F1908, 0x93421806, 0xFF000000, 0xFF090000, 0x6D501607, 0x55481908, 0xFF000000, 0xFF000000, 0xF1100601, 0x50451808, 0x464C1A08, 0xB5280E04, 0xDA1A0903, 0xC8200B04, 0x73431608, 0x304D1A09, 0xCF240D03, 0xFF000000, 0xE9150602, 0x434F1808, 0x55461808, 0xBB240D05, 0xDC1A0903, 0xCC210C03, 0x7B401407, 0x244F1B09, 0x0C4F1B09, 0xE82E0802, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xDE5D4616, 0x7FA37C26, 0x7FA27A26, 0x7FA37B26, 0xAD9F7925, 0xF9251C09, 0x87A27B25, 0x7FA27A26, 0x7FA27A26, 0x93A27A25, 0xF34C3A12, 0x88A27A26, 0x7FA27B25, 0x7FA27A26, 0x92A47C26, 0xFC1D1607, 0xFF000000, 0xFE211908, 0xC67A5C1C, 0x7EB48829, 0x62C7972E, 0x6FC0912C, 0xA7906C21, 0xF43E2D0E, 0xFF000000, 0xFF000000, 0xFF050301, 0xCA8A681D, 0x62C8972E, 0x84AF8429, 0xF72E220B, 0xFF000000, 0xFF000000, 0xFF000000, 0xE51B0803, 0x953A1205, 0x68451707, 0x61451808, 0x843C1407, 0xD2240C04, 0xAA331106, 0xB4331106, 0xFF000000, 0xFF000000, 0xFB0C0401, 0xB2311005, 0x6F431607, 0x5D451808, 0x77421507, 0xC9340F05, 0x8A381307, 0xE1200B04, 0xF2210A02, 0x8E391406, 0xB73D1306, 0x8A3C1406, 0x63451808, 0x67451707, 0x95391306, 0xCE321104, 0x084F1B09, 0xD6270A03, 0xF8180801, 0x87381306, 0xE21F0A04, 0xFF000000, 0xFF000000, 0xFF000000, 0xC8220C04, 0x9B341206, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE0E0500, 0x92381306, 0xD22A0D05, 0xFF000000, 0xFF000000, 0xE41C0903, 0x92391406, 0x66451707, 0x63451808, 0x883F1206, 0xD8200B04, 0xFE030100, 0xFF000000, 0xFA0E0500, 0x84381306, 0xE31B0803, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF0F0000, 0x9B3A1106, 0xC8301004, 0xFF000000, 0xFF090000, 0xB53D1005, 0xA9331106, 0xFF000000, 0xFF000000, 0xFF000000, 0xFD040100, 0xC1290D05, 0x7A3E1406, 0x5F451808, 0x6E421707, 0xA8311005, 0xF40E0502, 0xFF000000, 0xFF000000, 0xFF000000, 0xFB060201, 0xBB340D04, 0x78431407, 0x5F451808, 0x6D421607, 0xA6301006, 0xE02A0C04, 0x86381306, 0xF3270602, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE0B0401, 0x7D491707, 0x294C1909, 0xA8280E04, 0xE5140601, 0xEA150501, 0xBC240C05, 0x3A4A1908, 0x654D1909, 0xFE050200, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE0A0301, 0xCD1F0A03, 0x7C361206, 0x553F1507, 0x533F1507, 0x703B1306, 0xBD220C04, 0xFD0C0401, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000 }; GUI_CONST_STORAGE GUI_BITMAP bmSTLogo = { 140, /* XSize */ 70, /* YSize */ 560, /* BytesPerLine */ 32, /* BitsPerPixel */ (unsigned char *)acSTLogo, /* Pointer to picture data */ NULL /* Pointer to palette */ ,GUI_DRAW_BMP8888 }; static GUI_CONST_STORAGE unsigned long acSTLogo_70x35[] = { 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFD101010, 0xE03E3E3E, 0xC65A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A59, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xBF5A5A5A, 0xC25A5A5A, 0xF51F1F1F, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF040404, 0xC9595959, 0x5FAAA397, 0x16C9B798, 0x00BBA072, 0x00B3945D, 0x00B29259, 0x00B59359, 0x00B7955A, 0x00B9965A, 0x00BC985B, 0x00BE995B, 0x00BF9B5C, 0x00C09C5F, 0x00C09D61, 0x00C19E63, 0x00C2A065, 0x00C3A268, 0x00C4A36A, 0x00C5A46C, 0x00C5A66E, 0x00C6A770, 0x00C7A971, 0x00C7AA74, 0x00C8AB76, 0x00C9AC77, 0x00C8AC77, 0x00C9AC76, 0x00C9AB75, 0x00C9AA73, 0x00C8A972, 0x00C8A970, 0x00C8A76E, 0x00C7A66D, 0x00C7A66B, 0x00C7A469, 0x00C6A367, 0x00C6A265, 0x00C5A263, 0x00C6A162, 0x00C4A061, 0x00C29E61, 0x00C09E61, 0x00BF9D61, 0x00BD9B61, 0x00BB9A60, 0x00CBB284, 0x8FA7A7A7, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF5191919, 0x61A8A39C, 0x02A99169, 0x0098743A, 0x009C7636, 0x00A07836, 0x00A47B37, 0x00A77D38, 0x00AB7F39, 0x00AE8239, 0x00B28539, 0x00B6873B, 0x00B98A3B, 0x00BB8C3C, 0x00BD8E41, 0x00BD9046, 0x00BF9248, 0x00C0954D, 0x00C19751, 0x00C29954, 0x00C39B58, 0x00C49E5C, 0x00C5A05F, 0x00C7A362, 0x00C7A566, 0x00C8A76A, 0x00C9A96D, 0x00C9A96C, 0x00C8A66A, 0x00C7A566, 0x00C6A362, 0x00C5A05E, 0x00C49E5B, 0x00C39B57, 0x00C29954, 0x00C19751, 0x00C0944C, 0x00BF9248, 0x00BD9045, 0x00BC8E40, 0x00BC8C3C, 0x00B98A3B, 0x00B5863A, 0x00B18539, 0x00AE8239, 0x00AA7F39, 0x00A47E3D, 0x1DD8CCB8, 0xF12E2E2E, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFB131313, 0x47C3BDB4, 0x008B6D3C, 0x00967136, 0x00997337, 0x009D7636, 0x00A07836, 0x00A37B37, 0x00A37A36, 0x009C7534, 0x00997333, 0x009A7435, 0x009C7534, 0x009E7735, 0x009F7836, 0x00A07939, 0x00A07A3B, 0x00A17B3D, 0x00A27C40, 0x00A27E43, 0x00A38044, 0x00A48147, 0x00A48349, 0x00A5844B, 0x00A6864D, 0x00A6874F, 0x00A78852, 0x00A78952, 0x00A78953, 0x00A78851, 0x00A7874F, 0x00A7864D, 0x00A6854C, 0x00A6844A, 0x00A68348, 0x00A58246, 0x00A58144, 0x00A57F42, 0x00A47E40, 0x00A37D3D, 0x00A37C3B, 0x00A37C39, 0x00A17A39, 0x009F7938, 0x009D7738, 0x009C7638, 0x00997538, 0x01A89169, 0xA980807F, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x92949392, 0x00987D50, 0x00926D35, 0x00967036, 0x00997237, 0x009C7536, 0x00967134, 0x00A99066, 0x00CBBFAB, 0x00E7E1D9, 0x00F6F3F0, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F6, 0x00F9F8F7, 0x00F9F8F7, 0x00F9F8F7, 0x00FAF8F7, 0x00F9F8F6, 0x46DADAD9, 0xFE080808, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xE53B3B3B, 0x11C8B89B, 0x008D6A34, 0x00916D35, 0x00957036, 0x00987237, 0x009D7C47, 0x00E1D9CB, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x08FEFEFE, 0xD8474747, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF070707, 0x5ACBC6BD, 0x0098753C, 0x008D6A35, 0x00906D36, 0x00946F36, 0x009E793D, 0x00EDE7DD, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x7CA1A1A1, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xBC7B7B7B, 0x01C1A474, 0x008A6934, 0x008B6A35, 0x008F6C35, 0x00946F35, 0x00CCB389, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00F7F4EF, 0x00EDE5D8, 0x00EDE6D8, 0x00EEE6D8, 0x00EEE6D9, 0x00EEE7D9, 0x00EFE7D9, 0x00EFE7DA, 0x00EFE8DA, 0x00F0E8DA, 0x00F0E9DB, 0x00F1E9DB, 0x00F1E9DB, 0x00F1E9DB, 0x00F1EADC, 0x00F2EADC, 0x00F2EADC, 0x00F2EADC, 0x00F2EADC, 0x00F2EADC, 0x00F3ECDE, 0x00FEFEFD, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFEFE, 0x00EBE5DA, 0x00E8E0D4, 0x00EAE2D5, 0x00ECE4D7, 0x00EDE5D8, 0x00EFE7DA, 0x00F1E9DB, 0x00F4EDE1, 0x22FAFAFA, 0xF5292929, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF8161616, 0x29DDCFB8, 0x00967136, 0x00886734, 0x008A6934, 0x008E6B35, 0x009A7337, 0x00E4D2B5, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00F6F3F0, 0x009C7D48, 0x009E783B, 0x00A27B3B, 0x00A47D3C, 0x00A77F3C, 0x00AB813D, 0x00AE843E, 0x00B0863E, 0x00B4883F, 0x00B78A40, 0x00B98C40, 0x00BB8E42, 0x00BC8F44, 0x00BD9147, 0x00BD924A, 0x00BE944C, 0x00BF954D, 0x00BF954E, 0x00C09650, 0x00C09650, 0x00C2A776, 0x00FEFDFC, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00C6B89F, 0x00B28843, 0x00B88C41, 0x00B88B3F, 0x00B88B3F, 0x00B78A3F, 0x00B58940, 0x00B48942, 0x01CEB68A, 0xB1878686, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x869E9D9B, 0x00B89863, 0x00836333, 0x00866533, 0x00896834, 0x008C6A35, 0x00957139, 0x00E1CEAD, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00C5B8A3, 0x008F6F39, 0x009C7636, 0x00A17937, 0x00A47B37, 0x00A77D38, 0x00AA7F38, 0x00AD8239, 0x00B0843A, 0x00B3853A, 0x00B6873A, 0x00B9893B, 0x00BB8B3C, 0x00BB8C3D, 0x00BC8D3F, 0x00BD8E42, 0x00BD8F44, 0x00BE9046, 0x00BE9146, 0x00A47F40, 0x00E1DACC, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00EBE7E1, 0x009D793D, 0x00BC8D3D, 0x00BB8B3C, 0x00B98A3B, 0x00B7883B, 0x00B4863A, 0x00B0843A, 0x00AC884A, 0x4FCBC6BC, 0xFF090909, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xDE3E3E3E, 0x0CDFCEAF, 0x00896A3A, 0x00826233, 0x00846433, 0x00876634, 0x008A6934, 0x008D6B35, 0x00BFA16E, 0x00FDFBF8, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00EFEBE4, 0x00AD946C, 0x009A7434, 0x00A17937, 0x00A47B37, 0x00A67D38, 0x00A97F39, 0x00AD8139, 0x00AF8339, 0x00B2853A, 0x00B4863A, 0x00B7883B, 0x00B9893B, 0x00BB8B3C, 0x00BC8C3C, 0x00BC8C3E, 0x00BC8D3F, 0x00B7893E, 0x00AF9A77, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00AF966C, 0x00B8893A, 0x00B98A3B, 0x00B7883B, 0x00B5863A, 0x00B2853A, 0x00B08339, 0x00A87E3A, 0x0CC5B598, 0xDD474747, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE0A0A0A, 0x4FCBC4B9, 0x00A07F4A, 0x007D5F31, 0x00806133, 0x00836333, 0x00856533, 0x00886734, 0x008B6934, 0x00937039, 0x00CBAF80, 0x00FAF7F2, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00DBCEB8, 0x00A98448, 0x00A17936, 0x00A37B37, 0x00A57C37, 0x00A97E38, 0x00AB8039, 0x00AD813A, 0x00AF833A, 0x00B2843A, 0x00B4863A, 0x00B6873A, 0x00B8883B, 0x00B9893B, 0x00B9893B, 0x00A98341, 0x00F4F0EB, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00E4D6BF, 0x00AF8239, 0x00B6873A, 0x00B4863A, 0x00B2853A, 0x00B08339, 0x00AE8239, 0x00AC8038, 0x00967948, 0x859E9D9A, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xB0807F7F, 0x01BC9A55, 0x0071521F, 0x00745623, 0x00795A28, 0x007E5E2E, 0x00836232, 0x00866533, 0x00896834, 0x008C6A35, 0x00906C36, 0x00AF894E, 0x00E6D5BB, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00F9F6F1, 0x00CEB286, 0x00AA7F3B, 0x00A27A37, 0x00A47B37, 0x00A67C37, 0x00A97E39, 0x00AB8039, 0x00AD8139, 0x00AF8239, 0x00B0833A, 0x00B2843A, 0x00B3853A, 0x00B3853A, 0x00DAC8A9, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FDFBF8, 0x00C29A59, 0x00B2843A, 0x00B08339, 0x00AE8134, 0x00AA7D2E, 0x00A67928, 0x00A37622, 0x00906818, 0x29BDB3A2, 0xF7151515, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF4272727, 0x22CDBFA2, 0x0075551A, 0x006A4D1B, 0x006D4F1A, 0x00705119, 0x00735317, 0x00765516, 0x007A5818, 0x007F5C1D, 0x00836022, 0x00876427, 0x008A672B, 0x00946E30, 0x00B89C6C, 0x00F2EDE5, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00EFE4D3, 0x00BF9D64, 0x00A27A38, 0x00A27A37, 0x00A47B37, 0x00A67C38, 0x00A87D38, 0x00AA7F38, 0x00AB8039, 0x00AC8139, 0x00AE823B, 0x00C9A76E, 0x00FEFDFC, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00DECAA4, 0x00AB7E28, 0x00A5771E, 0x00A3751A, 0x00A17319, 0x009F721A, 0x009D701B, 0x009B6F1B, 0x01B19356, 0xBB666666, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF030303, 0x79B5B3B0, 0x007C602E, 0x00664A1D, 0x00684B1C, 0x006B4D1B, 0x006D4F1A, 0x00705119, 0x00735317, 0x00765515, 0x00795713, 0x007B5813, 0x007E5A14, 0x00805C14, 0x00835E15, 0x00856016, 0x008A671E, 0x00C2B397, 0x00FDFDFC, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00F8F3EC, 0x00B8944E, 0x00986F23, 0x00997024, 0x009B7124, 0x009D7224, 0x009D7224, 0x009F7323, 0x00A07321, 0x00B08535, 0x00F2EADA, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00F4ECDC, 0x00AF842F, 0x009F711A, 0x009E711A, 0x009D701B, 0x009B6F1B, 0x009A6E1B, 0x00986D1A, 0x00AA7D21, 0x58C7C0B2, 0xFF020202, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xD6535353, 0x07AF9D7B, 0x0066491D, 0x0065491D, 0x00664A1D, 0x00694C1C, 0x006B4D1B, 0x006E4F1A, 0x00705119, 0x00735317, 0x00765515, 0x00785613, 0x007B5813, 0x007D5A13, 0x00805C14, 0x00825E15, 0x00846015, 0x00835E16, 0x00927847, 0x00E5DFD4, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00DFCCA4, 0x00946A16, 0x00916817, 0x00936917, 0x00946A18, 0x00966B19, 0x00976C1A, 0x009A6E19, 0x00D0B275, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFEFE, 0x00BC9A51, 0x009A6F1B, 0x00996D1A, 0x00986D1A, 0x00976C1A, 0x00966B18, 0x00946A18, 0x009C7322, 0x0FDDC9A0, 0xE4444444, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE070707, 0x43BDB6AA, 0x00755622, 0x0065491D, 0x0065481D, 0x0065481D, 0x00674A1D, 0x00694B1C, 0x006B4D1B, 0x006D4F1A, 0x006F5119, 0x00735317, 0x00755516, 0x00785614, 0x007A5713, 0x007D5913, 0x007F5B14, 0x00815C14, 0x00835E15, 0x00856016, 0x0084621D, 0x00E0D7C8, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00EEEAE2, 0x00805D14, 0x008C6517, 0x008E6617, 0x008F6617, 0x00916816, 0x00926816, 0x008E6C26, 0x00F6F3ED, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00CFC3AA, 0x00916814, 0x00946A17, 0x00946917, 0x00936917, 0x00926816, 0x00906716, 0x00906717, 0x00BD9A54, 0x8EA7A6A3, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xA4808080, 0x01D4C7B1, 0x00AE9975, 0x00AD9874, 0x00AD9874, 0x00AD9875, 0x00AD9874, 0x00AE9974, 0x00AE9974, 0x00AE9974, 0x00AF9A73, 0x00AF9A73, 0x00B09A73, 0x00B09B73, 0x00B19B72, 0x00B19B72, 0x00B19B72, 0x00B19B72, 0x00B29C73, 0x00B39C74, 0x00BBA782, 0x00F4F0EA, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00E3DBCE, 0x00805C17, 0x00876116, 0x00886216, 0x008A6317, 0x008B6417, 0x00876218, 0x00C7BBA5, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00F7F4F0, 0x0087682E, 0x008F6617, 0x008E6617, 0x008E6517, 0x008D6517, 0x008C6417, 0x008B6417, 0x00996E17, 0x30D8CAAD, 0xFA1B1B1B, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xEF292929, 0x1AF9F9F9, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00B0996F, 0x00805C15, 0x00815D15, 0x00835E15, 0x00845F16, 0x00856016, 0x00A18553, 0x00FEFEFD, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00B9A580, 0x00886218, 0x00896217, 0x00886217, 0x00886217, 0x00876116, 0x00866116, 0x00845F15, 0x06B79E6A, 0xC55D5D5D, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF010101, 0x6DBDBDBD, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00C8B99D, 0x007E5B18, 0x007B5813, 0x007D5913, 0x007E5A13, 0x007F5B14, 0x0085621E, 0x00E7E0D5, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00E7E0D4, 0x0086631F, 0x00835E15, 0x00835E15, 0x00835E15, 0x00825D15, 0x00825D15, 0x007F5B15, 0x09A5916D, 0xA5807F7E, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xCE646464, 0x05FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00EEE9E1, 0x00AD966D, 0x0079581A, 0x00765516, 0x00785615, 0x00795614, 0x007A5714, 0x007D5916, 0x00BAA682, 0x00FFFFFF, 0x00FFFFFF, 0x00FEFEFE, 0x00FFFFFF, 0x00FEFEFD, 0x009F8451, 0x007F5B15, 0x007F5B15, 0x007F5B15, 0x007F5C16, 0x00866422, 0x04AA9164, 0x50B0A797, 0xD54A4A4A, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xD84E4E4E, 0x5FBDBDBD, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59C0C0C0, 0x59BAB8B5, 0x599D9381, 0x599C917F, 0x599C917F, 0x599C917F, 0x599C917F, 0x599C917F, 0x599C917F, 0x599F9685, 0x59BDBCBB, 0x59BFBFBF, 0x59C0C0C0, 0x59BFBFBF, 0x59C0C0C0, 0x59BFBEBE, 0x599E9482, 0x599C917F, 0x599C917F, 0x5E9D9381, 0x758B8479, 0xA372716F, 0xE5323232, 0xFF010101, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF7281F0A, 0x859C7625, 0xE53D2C0E, 0xFF140D05, 0xA78D6821, 0xFF000000, 0xED261C09, 0x948F6C21, 0xF7241D0B, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF040000, 0x9E381206, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF20D0502, 0xAF2D0D05, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x95966D22, 0xD4543C13, 0xD3564015, 0x948F6A22, 0xFC1B1506, 0x70B18629, 0x7CB48729, 0xFF0D0A03, 0xBC5C4516, 0x9E8D6A21, 0x9A886620, 0xDF35280C, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xC11C0A04, 0x98341206, 0x9A331106, 0x8C301006, 0xD2190903, 0xA82B0F05, 0xF9060201, 0xFF000000, 0xB3210B04, 0xED110602, 0xB9210C04, 0x99321206, 0x99311106, 0x87321006, 0xE81A0802, 0x7A361306, 0x9C311106, 0x94311106, 0x9A2C0F05, 0x9D321206, 0x9F2C1006, 0xFF020101, 0xC51B0904, 0x99321106, 0x99331206, 0xBB200B04, 0xFC080201, 0x7A351206, 0x9A331206, 0x8F331206, 0xDB130702, 0xC0280B04, 0x3D4E1A09, 0xB0301006, 0xE40D0502, 0x95311106, 0x9D311106, 0xA02B0F05, 0xFB050201, 0xDE0E0502, 0x93311106, 0x9D311106, 0x8F361306, 0x7C3F1206, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x95966D22, 0xD4543C13, 0xFF000000, 0x6EC49632, 0xFF000000, 0xAF644B17, 0xBF674C16, 0xCB483612, 0x5DBF902C, 0xAE6E5319, 0xAC7C5F1C, 0x51D7A233, 0xFD1A1407, 0xFF000000, 0xFF000000, 0xE7110602, 0x773D1407, 0xFF020101, 0xFF010100, 0x94311006, 0xB5240C05, 0x703E1607, 0xF4090301, 0xFF000000, 0x832F1006, 0xB8361306, 0x85311106, 0xFF010100, 0xFF020100, 0x6D371306, 0xD9250B03, 0x63401608, 0xFF010000, 0xC01C0A03, 0x932B0E05, 0xFF000000, 0x88341206, 0xC32A0E04, 0x444B1909, 0xA22F1005, 0xA22E1005, 0x50491908, 0xD7270D03, 0x5C3F1607, 0xFF010000, 0xF90B0301, 0x67491707, 0xFF050000, 0x614C1808, 0xFF020100, 0x4C4B1908, 0x9D351206, 0xA22D1005, 0x78401607, 0x98351105, 0x62471808, 0xFC060201, 0xFF000000, 0xD21E0903, 0x7B3F1206, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFC0E0B03, 0x84A57A25, 0xC16C4F18, 0xF1181206, 0x62C99A33, 0xF21D1607, 0x9C7A5C1C, 0xAB80601C, 0xE131240B, 0x75A87E27, 0xE237290D, 0xCE4A3911, 0xAE8F6C21, 0xFF0B0803, 0x81A07825, 0xAA6F531A, 0xF6080301, 0x6A401507, 0xD8140702, 0xE1120602, 0x5E3E1607, 0xB5240D04, 0x91351206, 0xB7220C04, 0xE6110602, 0x4A441608, 0xCE290E05, 0x6A401508, 0xDD130702, 0xD8140703, 0x40441708, 0xD9250C03, 0x6C3D1407, 0xFF000000, 0xC9180903, 0x9B240C04, 0xFF000000, 0x92311005, 0xCA250C04, 0x67411707, 0xD4180803, 0xDA180803, 0x883C1507, 0xF5160602, 0x6B3A1306, 0xFF000000, 0xFF080000, 0x66491907, 0xFF050000, 0x614C1808, 0xFF010000, 0x7F3B1407, 0xB9250D04, 0xE4130703, 0x93361207, 0xDD1D0B03, 0x7A3F1407, 0xC31E0B04, 0xEA0F0602, 0x91321106, 0x7A3F1206, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF7181206, 0xBF523E13, 0xCB513D13, 0xE032260C, 0xBF513D13, 0xE13C2D0E, 0xC2513E13, 0xC4523E13, 0xFF080602, 0xF1271E09, 0xB85F4816, 0xC5544014, 0xFD100C04, 0xFF020101, 0xCB554013, 0xDF382A0D, 0xFF000000, 0xF9070201, 0xBF200B03, 0xB9210B04, 0xDF160803, 0xED0D0502, 0xFE030101, 0xC81D0A03, 0xB5220C04, 0xD51B0903, 0xF5140702, 0x7B431607, 0x9F301005, 0xA92E0F05, 0x5E471808, 0xF3120501, 0xDA160803, 0xFF000000, 0xF2090301, 0xE60D0502, 0xFF000000, 0xE4120602, 0xF40B0402, 0xF9070301, 0xBE200B04, 0xBB210B04, 0xF5090301, 0xFE040200, 0xDA150703, 0xFF000000, 0xFF040000, 0xD91B0903, 0xFF030000, 0xD71C0903, 0xFF000000, 0xFF010100, 0xCF1A0903, 0xB3220C04, 0xE7100602, 0xFF000000, 0xFE020101, 0xCD1E0903, 0xB3220C04, 0xE1170703, 0xDE180702, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF30B0401, 0xB41E0A04, 0xB11F0A04, 0xEE0C0402, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000 }; GUI_CONST_STORAGE GUI_BITMAP bmSTLogo70x35 = { 70, /* XSize */ 35, /* YSize */ 280, /* BytesPerLine */ 32, /* BitsPerPixel */ (unsigned char *)acSTLogo_70x35, /* Pointer to picture data */ NULL /* Pointer to palette */ ,GUI_DRAW_BMP8888 }; /*************************** End of file ****************************/
mariobarbareschi/stm32-compiler-docker
STM32Cube_FW_F4_V1.11.0/Projects/STM32446E_EVAL/Applications/STemWin/STemWin_SampleDemo/Demo/GUIDEMO_Resource.c
C
agpl-3.0
405,068
# -*- coding: utf-8 -*- """ 2020-09-07 Cornelius Kölbel <[email protected]> Add exception 2017-04-26 Friedrich Weber <[email protected]> Make it possible to check for correct LDAPS/STARTTLS settings 2017-01-08 Cornelius Kölbel <[email protected]> Remove objectGUID. Since we stick with ldap3 version 2.1, the objectGUID is returned in a human readable format. 2016-12-05 Martin Wheldon <[email protected]> Fixed issue creating ldap entries with objectClasses defined Fix problem when searching for attribute values containing the space character. 2016-05-26 Martin Wheldon <[email protected]> Rewrite of search functionality to add recursive parsing of ldap search filters Fixed issue searching for attributes with multiple values Added ability to use ~= in searches Created unittests for mock 2016-02-19 Cornelius Kölbel <[email protected]> Add the possibility to check objectGUID 2015-01-31 Change responses.py to be able to run with SMTP Cornelius Kölbel <[email protected]> Original responses.py is: Copyright 2013 Dropbox, Inc. 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. """ from __future__ import ( absolute_import, division, unicode_literals ) from passlib.hash import ldap_salted_sha1 from ast import literal_eval import uuid from ldap3.utils.conv import escape_bytes import ldap3 import re import pyparsing from .smtpmock import get_wrapped from collections import namedtuple, Sequence, Sized from privacyidea.lib.utils import to_bytes, to_unicode DIRECTORY = "tests/testdata/tmp_directory" Call = namedtuple('Call', ['request', 'response']) _wrapper_template = """\ def wrapper%(signature)s: with ldap3mock: return func%(funcargs)s """ def _convert_objectGUID(item): item = uuid.UUID("{{{0!s}}}".format(item)).bytes_le item = escape_bytes(item) return item class CallList(Sequence, Sized): def __init__(self): self._calls = [] def __iter__(self): return iter(self._calls) def __len__(self): return len(self._calls) def __getitem__(self, idx): return self._calls[idx] def setdata(self, request, response): self._calls.append(Call(request, response)) def reset(self): self._calls = [] class Connection(object): class Extend(object): class Standard(object): def __init__(self, connection): self.connection = connection def paged_search(self, **kwargs): self.connection.search(search_base=kwargs.get("search_base"), search_scope=kwargs.get("search_scope"), search_filter=kwargs.get( "search_filter"), attributes=kwargs.get("attributes"), paged_size=kwargs.get("page_size"), size_limit=kwargs.get("size_limit"), paged_cookie=None) result = self.connection.response if kwargs.get("generator", False): # If ``generator=True`` is passed, ``paged_search`` should return an iterator. result = iter(result) return result def __init__(self, connection): self.standard = self.Standard(connection) def __init__(self, directory=None): if directory is None: directory = [] import copy self.directory = copy.deepcopy(directory) self.bound = False self.start_tls_called = False self.extend = self.Extend(self) self.operation = { "!" : self._search_not, "&" : self._search_and, "|" : self._search_or, } def set_directory(self, directory): self.directory = directory def _find_user(self, dn): return next(i for (i, d) in enumerate(self.directory) if d["dn"] == dn) @staticmethod def open(read_server_info=True): return def bind(self, read_server_info=True): return self.bound def start_tls(self, read_server_info=True): self.start_tls_called = True def add(self, dn, object_class=None, attributes=None): self.result = { 'dn' : '', 'referrals' : None, 'description' : 'success', 'result' : 0, 'message' : '', 'type' : 'addResponse'} # Check to see if the user exists in the directory try: index = self._find_user(dn) except StopIteration: # If we get here the user doesn't exist so continue # Create a entry object for the new user entry = {} entry['dn'] = dn entry['attributes'] = attributes if object_class != None: entry['attributes'].update( {'objectClass': object_class} ) else: # User already exists self.result["description"] = "failure" self.result["result"] = 68 self.result["message"] = \ "Error entryAlreadyExists for {0}".format(dn) return False # Add the user entry to the directory self.directory.append(entry) # Attempt to write changes to disk with open(DIRECTORY, 'w+') as f: f.write(str(self.directory)) return True def delete(self, dn, controls=None): self.result = { 'dn' : '', 'referrals' : None, 'description' : 'success', 'result' : 0, 'message' : '', 'type' : 'addResponse'} # Check to see if the user exists in the directory try: index = self._find_user(dn) except StopIteration: # If we get here the user doesn't exist so continue self.result["description"] = "failure" self.result["result"] = 32 self.result["message"] = "Error no such object: {0}".format(dn) return False # Delete the entry object for the user self.directory.pop(index) # Attempt to write changes to disk with open(DIRECTORY, 'w+') as f: f.write(str(self.directory)) return True def modify(self, dn, changes, controls=None): self.result = { 'dn' : '', 'referrals' : None, 'description' : 'success', 'result' : 0, 'message' : '', 'type' : 'modifyResponse'} # Check to see if the user exists in the directory try: index = self._find_user(dn) except StopIteration: # If we get here the user doesn't exist so continue self.result["description"] = "failure" self.result["result"] = 32 self.result["message"] = "Error no such object: {0!s}".format(dn) return False # extract the hash we are interested in entry = self.directory[index].get("attributes") # Loop over the changes hash and apply them for k, v in changes.items(): if v[0] == "MODIFY_DELETE": entry.pop(k) elif v[0] == "MODIFY_REPLACE" or v[0] == "MODIFY_ADD": entry[k] = v[1][0] else: self.result["result"] = 2 self.result["message"] = "Error bad/missing/not implemented" \ "modify operation: %s" % k[1] # Place the attributes back into the directory hash self.directory[index]["attributes"] = entry # Attempt to write changes to disk with open(DIRECTORY, 'w+') as f: f.write(str(self.directory)) return True @staticmethod def _match_greater_than_or_equal(search_base, attribute, value, candidates): matches = list() for entry in candidates: dn = entry.get("dn") if not dn.endswith(search_base): continue value_from_directory = entry.get("attributes").get(attribute) if str(value_from_directory) >= str(value): entry["type"] = "searchResEntry" matches.append(entry) return matches @staticmethod def _match_greater_than(search_base, attribute, value, candidates): matches = list() for entry in candidates: dn = entry.get("dn") if not dn.endswith(search_base): continue value_from_directory = entry.get("attributes").get(attribute) if str(value_from_directory) > str(value): entry["type"] = "searchResEntry" matches.append(entry) return matches @staticmethod def _match_less_than_or_equal(search_base, attribute, value, candidates): matches = list() for entry in candidates: dn = entry.get("dn") if not dn.endswith(search_base): continue value_from_directory = entry.get("attributes").get(attribute) if str(value_from_directory) <= str(value): entry["type"] = "searchResEntry" matches.append(entry) return matches @staticmethod def _match_less_than(search_base, attribute, value, candidates): matches = list() for entry in candidates: dn = entry.get("dn") if not dn.endswith(search_base): continue value_from_directory = entry.get("attributes").get(attribute) if str(value_from_directory) < str(value): entry["type"] = "searchResEntry" matches.append(entry) return matches @staticmethod def _match_equal_to(search_base, attribute, value, candidates): matches = list() match_using_regex = False if "*" in value: match_using_regex = True #regex = check_escape(value) regex = value.replace('*', '.*') regex = "^{0}$".format(regex) for entry in candidates: dn = to_unicode(entry.get("dn")) if attribute not in entry.get("attributes") or not dn.endswith(search_base): continue values_from_directory = entry.get("attributes").get(attribute) if isinstance(values_from_directory, list): for item in values_from_directory: if attribute == "objectGUID": item = _convert_objectGUID(item) if match_using_regex: m = re.match(regex, str(item), re.I) if m: entry["type"] = "searchResEntry" matches.append(entry) else: if item == value: entry["type"] = "searchResEntry" matches.append(entry) else: if attribute == "objectGUID": values_from_directory = _convert_objectGUID(values_from_directory) if match_using_regex: m = re.match(regex, str(values_from_directory), re.I) if m: entry["type"] = "searchResEntry" matches.append(entry) else: # The value, which we compare is unicode, so we convert # the values_from_directory to unicode rather than str. if isinstance(values_from_directory, bytes): values_from_directory = values_from_directory.decode( "utf-8") elif type(values_from_directory) == int: values_from_directory = u"{0!s}".format(values_from_directory) if value == values_from_directory: entry["type"] = "searchResEntry" matches.append(entry) return matches @staticmethod def _match_notequal_to(search_base, attribute, value, candidates): matches = list() match_using_regex = False if "*" in value: match_using_regex = True #regex = check_escape(value) regex = value.replace('*', '.*') regex = "^{0}$".format(regex) for entry in candidates: found = False dn = entry.get("dn") if not dn.endswith(search_base): continue values_from_directory = entry.get("attributes").get(attribute) if isinstance(values_from_directory, list): for item in values_from_directory: if attribute == "objectGUID": item = _convert_objectGUID(item) if match_using_regex: m = re.match(regex, str(item), re.I) if m: found = True else: if item == value: found = True if found is False: entry["type"] = "searchResEntry" matches.append(entry) else: if attribute == "objectGUID": values_from_directory = _convert_objectGUID(values_from_directory) if match_using_regex: m = re.match(regex, str(values_from_directory), re.I) if not m: entry["type"] = "searchResEntry" matches.append(entry) else: if str(value) != str(values_from_directory): entry["type"] = "searchResEntry" matches.append(entry) return matches @staticmethod def _parse_filter(): op = pyparsing.oneOf('! & |') lpar = pyparsing.Literal('(').suppress() rpar = pyparsing.Literal(')').suppress() k = pyparsing.Word(pyparsing.alphanums) # NOTE: We may need to expand on this list, but as this is not a real # LDAP server we should be OK. # Value to contain: # numbers, upper/lower case letters, astrisk, at symbol, minus, full # stop, backslash or a space v = pyparsing.Word(pyparsing.alphanums + "-*@.\\ äöü") rel = pyparsing.oneOf("= ~= >= <=") expr = pyparsing.Forward() atom = pyparsing.Group(lpar + op + expr + rpar) \ | pyparsing.Combine(lpar + k + rel + v + rpar) expr << atom + pyparsing.ZeroOrMore( expr ) return expr @staticmethod def _deDuplicate(results): found = dict() deDuped = list() for entry in results: dn = entry.get("dn") if not dn in found: found[dn] = 1 deDuped.append(entry) return deDuped def _invert_results(self, candidates): inverted_candidates = list(self.directory) for candidate in candidates: try: inverted_candidates.remove(candidate) except ValueError: pass return inverted_candidates def _search_not(self, base, search_filter, candidates=None): # Create empty candidates list as we need to use self.directory for # each search candidates = list() this_filter = list() index = 0 search_filter.remove("!") for condition in search_filter: if not isinstance(condition, list): this_filter.append(condition) index +=1 # Remove this_filter items from search_filter list for condition in this_filter: search_filter.remove(condition) try: search_filter = list(search_filter[0]) for sub_filter in search_filter: if not isinstance(sub_filter, list): candidates = self.operation.get(sub_filter)(base, search_filter, candidates) else: candidates = self.operation.get(sub_filter[0])(base, sub_filter, candidates) except IndexError: pass candidates = self._invert_results(candidates) for item in this_filter: if ">=" in item: k, v = item.split(">=") candidates = Connection._match_less_than(base, k, v, self.directory) elif "<=" in item: k, v = item.split("<=") candidates = Connection._match_greater_than(base, k, v, self.directory) # Emulate AD functionality, same as "=" elif "~=" in item: k, v = item.split("~=") candidates = Connection._match_notequal_to(base, k, v, self.directory) elif "=" in item: k, v = item.split("=") candidates = Connection._match_notequal_to(base, k, v, self.directory) return candidates def _search_and(self, base, search_filter, candidates=None): # Load the data from the directory, if we aren't passed any if candidates == [] or candidates is None: candidates = self.directory this_filter = list() index = 0 search_filter.remove("&") for condition in search_filter: if not isinstance(condition, list): this_filter.append(condition) index +=1 # Remove this_filter items from search_filter list for condition in this_filter: search_filter.remove(condition) try: search_filter = list(search_filter[0]) for sub_filter in search_filter: if not isinstance(sub_filter, list): candidates = self.operation.get(sub_filter)(base, search_filter, candidates) else: candidates = self.operation.get(sub_filter[0])(base, sub_filter, candidates) except IndexError: pass for item in this_filter: if ">=" in item: k, v = item.split(">=") candidates = Connection._match_greater_than_or_equal(base, k, v, candidates) elif "<=" in item: k, v = item.split("<=") candidates = Connection._match_less_than_or_equal(base, k, v, candidates) # Emulate AD functionality, same as "=" elif "~=" in item: k, v = item.split("~=") candidates = Connection._match_equal_to(base, k, v, candidates) elif "=" in item: k, v = item.split("=") candidates = Connection._match_equal_to(base, k, v, candidates) return candidates def _search_or(self, base, search_filter, candidates=None): # Create empty candidates list as we need to use self.directory for # each search candidates = list() this_filter = list() index = 0 search_filter.remove("|") for condition in search_filter: if not isinstance(condition, list): this_filter.append(condition) index +=1 # Remove this_filter items from search_filter list for condition in this_filter: search_filter.remove(condition) try: search_filter = list(search_filter[0]) for sub_filter in search_filter: if not isinstance(sub_filter, list): candidates += self.operation.get(sub_filter)(base, search_filter, candidates) else: candidates += self.operation.get(sub_filter[0])(base, sub_filter, candidates) except IndexError: pass for item in this_filter: if ">=" in item: k, v = item.split(">=") candidates += Connection._match_greater_than_or_equal(base, k, v, self.directory) elif "<=" in item: k, v = item.split("<=") candidates += Connection._match_less_than_or_equal(base, k, v, self.directory) # Emulate AD functionality, same as "=" elif "~=" in item: k, v = item.split("~=") candidates += Connection._match_equal_to(base, k, v, self.directory) elif "=" in item: k, v = item.split("=") candidates += Connection._match_equal_to(base, k, v, self.directory) return candidates def search(self, search_base=None, search_scope=None, search_filter=None, attributes=None, paged_size=5, size_limit=0, paged_cookie=None): s_filter = list() candidates = list() self.response = list() self.result = dict() try: if isinstance(search_filter, bytes): # We need to convert to unicode otherwise pyparsing will not # find the u"ö" search_filter = to_unicode(search_filter) expr = Connection._parse_filter() s_filter = expr.parseString(search_filter).asList()[0] except pyparsing.ParseBaseException as exx: # Just for debugging purposes s = "{!s}".format(exx) for item in s_filter: if item[0] in self.operation: candidates = self.operation.get(item[0])(search_base, s_filter) self.response = Connection._deDuplicate(candidates) return True def unbind(self): return True class Ldap3Mock(object): def __init__(self): self._calls = CallList() self._server_mock = None self.directory = [] self.exception = None self.reset() def reset(self): self._calls.reset() def setLDAPDirectory(self, directory=None): if directory is None: self.directory = [] else: try: with open(DIRECTORY, 'w+') as f: f.write(str(directory)) self.directory = directory except OSError as e: raise def set_exception(self, exc=True): self.exception = exc def _load_data(self, directory): try: with open(directory, 'r') as f: data = f.read() return literal_eval(data) except OSError as e: raise @property def calls(self): return self._calls def __enter__(self): self.start() def __exit__(self, *args): self.stop() self.reset() def activate(self, func): evaldict = {'ldap3mock': self, 'func': func} return get_wrapped(func, _wrapper_template, evaldict) def _on_Server(self, host, port, use_ssl, connect_timeout, get_info=None, tls=None): # mangle request packet return "FakeServerObject" def _on_Connection(self, server, user, password, auto_bind=None, client_strategy=None, authentication=None, check_names=None, auto_referrals=None, receive_timeout=None): """ We need to create a Connection object with methods: add() modify() search() unbind() and object response """ # Raise an exception, if we are told to do so if self.exception: raise Exception("LDAP request failed") # check the password correct_password = False # Anonymous bind # Reload the directory just in case a change has been made to # user credentials self.directory = self._load_data(DIRECTORY) if authentication == ldap3.ANONYMOUS and user == "": correct_password = True for entry in self.directory: if to_unicode(entry.get("dn")) == user: pw = entry.get("attributes").get("userPassword") # password can be unicode if to_bytes(pw) == to_bytes(password): correct_password = True elif pw.startswith('{SSHA}'): correct_password = ldap_salted_sha1.verify(password, pw) else: correct_password = False self.con_obj = Connection(self.directory) self.con_obj.bound = correct_password return self.con_obj def start(self): import mock def unbound_on_Server(host, port, use_ssl, connect_timeout, *a, **kwargs): return self._on_Server(host, port, use_ssl, connect_timeout, *a, **kwargs) self._server_mock = mock.MagicMock() self._server_mock.side_effect = unbound_on_Server self._patcher = mock.patch('ldap3.Server', self._server_mock) self._patcher.start() def unbound_on_Connection(server, user, password, auto_bind, client_strategy, authentication, check_names, auto_referrals, *a, **kwargs): return self._on_Connection(server, user, password, auto_bind, client_strategy, authentication, check_names, auto_referrals, *a, **kwargs) self._patcher2 = mock.patch('ldap3.Connection', unbound_on_Connection) self._patcher2.start() def stop(self): self._patcher.stop() self._patcher2.stop() self._server_mock = None def get_server_mock(self): return self._server_mock # expose default mock namespace mock = _default_mock = Ldap3Mock() __all__ = [] for __attr in (a for a in dir(_default_mock) if not a.startswith('_')): __all__.append(__attr) globals()[__attr] = getattr(_default_mock, __attr)
privacyidea/privacyidea
tests/ldap3mock.py
Python
agpl-3.0
28,972
package storage import ( "fmt" "strings" "time" mgo "github.com/ilius/mgo" "github.com/ilius/mgo/bson" ) func ModifyIndexTTL(db mgo.Database, collection string, index mgo.Index) error { keyInfo, err := mgo.ParseIndexKey(index.Key) if err != nil { return err } expireAfterSeconds := int(index.ExpireAfter / time.Second) fmt.Printf( "Updating TTL on collection %s to expireAfterSeconds=%d\n", collection, expireAfterSeconds, ) err = db.Run(bson.D{ {"collMod", collection}, {"index", bson.M{ "keyPattern": keyInfo.Key, "expireAfterSeconds": expireAfterSeconds, }}, }, nil) if err != nil { return err } return nil } func EnsureIndexWithTTL(db mgo.Database, collection string, index mgo.Index) error { err := db.C(collection).EnsureIndex(index) if err != nil { // if expireAfterSeconds is changed, we need to drop and re-create the index // unless we use `collMod` added in 2.3.2 // https://jira.mongodb.org/browse/SERVER-6700 if strings.Contains(err.Error(), "already exists with different options") { return ModifyIndexTTL(db, collection, index) } return err } return nil }
ilius/starcal-server
pkg/scal/storage/index_ttl.go
GO
agpl-3.0
1,140
/** * Copyright (C) 2000 - 2012 Silverpeas * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * As a special exception to the terms and conditions of version 3.0 of * the GPL, you may redistribute this Program in connection with Free/Libre * Open Source Software ("FLOSS") applications as described in Silverpeas's * FLOSS exception. You should have received a copy of the text describing * the FLOSS exception, and it is also available here: * "http://www.silverpeas.org/docs/core/legal/floss_exception.html" * * 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 Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.stratelia.silverpeas.peasCore; import com.silverpeas.util.ArrayUtil; import com.stratelia.silverpeas.silvertrace.SilverTrace; import com.stratelia.webactiv.beans.admin.ComponentInstLight; import com.stratelia.webactiv.beans.admin.OrganizationController; import javax.servlet.http.HttpServletRequest; /** * @author ehugonnet */ public class SilverpeasWebUtil { private OrganizationController organizationController = new OrganizationController(); public SilverpeasWebUtil() { } public SilverpeasWebUtil(OrganizationController controller) { organizationController = controller; } public OrganizationController getOrganizationController() { return organizationController; } /** * Accessing the MainSessionController * @param request the HttpServletRequest * @return the current MainSessionController. */ public MainSessionController getMainSessionController(HttpServletRequest request) { return (MainSessionController) request.getSession().getAttribute( MainSessionController.MAIN_SESSION_CONTROLLER_ATT); } /** * Extract the space id and the component id. * @param request * @return */ public String[] getComponentId(HttpServletRequest request) { String spaceId; String componentId; String function; String pathInfo = request.getPathInfo(); SilverTrace.info("peasCore", "ComponentRequestRouter.getComponentId", "root.MSG_GEN_PARAM_VALUE", "pathInfo=" + pathInfo); if (pathInfo != null) { spaceId = null; pathInfo = pathInfo.substring(1); // remove first '/' function = pathInfo.substring(pathInfo.indexOf('/') + 1, pathInfo.length()); if (pathInfo.startsWith("jsp")) { // Pour les feuilles de styles, icones, ... + Pour les composants de // l'espace personnel (non instanciables) componentId = null; } else { // Get the space and component Ids // componentId extracted from the URL // Old url (with WA..) if (pathInfo.contains("WA")) { String sAndCId = pathInfo.substring(0, pathInfo.indexOf('/')); // spaceId looks like WA17 spaceId = sAndCId.substring(0, sAndCId.indexOf('_')); // componentId looks like kmelia123 componentId = sAndCId.substring(spaceId.length() + 1, sAndCId.length()); } else { componentId = pathInfo.substring(0, pathInfo.indexOf('/')); } if (function.startsWith("Main") || function.startsWith("searchResult") || function.equalsIgnoreCase("searchresult") || function.startsWith("portlet") || function.equals("GoToFilesTab")) { ComponentInstLight component = organizationController.getComponentInstLight(componentId); spaceId = component.getDomainFatherId(); } SilverTrace.info("peasCore", "ComponentRequestRouter.getComponentId", "root.MSG_GEN_PARAM_VALUE", "componentId=" + componentId + "spaceId=" + spaceId + " pathInfo=" + pathInfo); } } else { spaceId = "-1"; componentId = "-1"; function = "Error"; } String[] context = new String[] { spaceId, componentId, function }; SilverTrace.info("peasCore", "ComponentRequestRouter.getComponentId", "root.MSG_GEN_PARAM_VALUE", "spaceId=" + spaceId + " | componentId=" + componentId + " | function=" + function); return context; } public String[] getRoles(HttpServletRequest request) { MainSessionController controller = getMainSessionController(request); if (controller != null) { return organizationController.getUserProfiles(controller.getUserId(), getComponentId(request)[1]); } return ArrayUtil.EMPTY_STRING_ARRAY; } }
NicolasEYSSERIC/Silverpeas-Core
web-core/src/main/java/com/stratelia/silverpeas/peasCore/SilverpeasWebUtil.java
Java
agpl-3.0
5,021
/* * Copyright (c) 2012 - 2020 Splice Machine, Inc. * * This file is part of Splice Machine. * Splice Machine is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by the Free Software Foundation, either * version 3, or (at your option) any later version. * Splice Machine 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 Affero General Public License for more details. * You should have received a copy of the GNU Affero General Public License along with Splice Machine. * If not, see <http://www.gnu.org/licenses/>. */ package com.splicemachine.si.impl; import splice.com.google.common.base.Function; import com.splicemachine.si.api.txn.TransactionStatus; /** * Provides hooks for tests to provide callbacks. Mainly used to provide thread coordination in tests. It allows tests * to "trace" the internals of the SI execution. */ public class Tracer { private static transient Function<byte[],byte[]> fRowRollForward = null; private static transient Function<Long, Object> fTransactionRollForward = null; private static transient Function<Object[], Object> fStatus = null; private static transient Runnable fCompact = null; private static transient Function<Long, Object> fCommitting = null; private static transient Function<Long, Object> fWaiting = null; private static transient Function<Object[], Object> fRegion = null; private static transient Function<Object, String> bestAccess = null; public static Integer rollForwardDelayOverride = null; public static void registerRowRollForward(Function<byte[],byte[]> f) { Tracer.fRowRollForward = f; } public static boolean isTracingRowRollForward() { return Tracer.fRowRollForward != null; } public static void registerTransactionRollForward(Function<Long, Object> f) { Tracer.fTransactionRollForward = f; } public static boolean isTracingTransactionRollForward() { return Tracer.fTransactionRollForward != null; } public static void registerStatus(Function<Object[], Object> f) { Tracer.fStatus = f; } public static void registerCompact(Runnable f) { Tracer.fCompact = f; } public static void registerCommitting(Function<Long, Object> f) { Tracer.fCommitting = f; } public static void registerBestAccess(Function<Object, String> f) { Tracer.bestAccess = f; } public static void registerWaiting(Function<Long, Object> f) { Tracer.fWaiting = f; } public static void registerRegion(Function<Object[], Object> f) { Tracer.fRegion = f; } public static void traceRowRollForward(byte[] key) { if (fRowRollForward != null) { fRowRollForward.apply(key); } } public static void traceTransactionRollForward(long transactionId) { if (fTransactionRollForward != null) { fTransactionRollForward.apply(transactionId); } } public static void traceStatus(long transactionId, TransactionStatus newStatus, boolean beforeChange) { if (fStatus != null) { fStatus.apply(new Object[] {transactionId, newStatus, beforeChange}); } } public static void compact() { if (fCompact != null) { fCompact.run(); } } public static void traceCommitting(long transactionId) { if (fCommitting != null) { fCommitting.apply(transactionId); } } public static void traceWaiting(long transactionId) { if (fWaiting != null) { fWaiting.apply(transactionId); } } public static void traceRegion(String tableName, Object region) { if (fRegion != null) { fRegion.apply(new Object[] {tableName, region}); } } public static void traceBestAccess(Object objectParam) { if (bestAccess != null) { bestAccess.apply(objectParam); } } }
splicemachine/spliceengine
splice_si_api/src/main/java/com/splicemachine/si/impl/Tracer.java
Java
agpl-3.0
4,164
window.WebServiceClientTest = new Class( { Implements : [Events, JsTestClass, Options], Binds : ['onDocumentReady', 'onDocumentError'], options : { testMethods : [ { method : 'initialize_', isAsynchron : false }] }, constants : { }, initialize : function( options ) { this.setOptions( options ); this.webServiceClient; }, beforeEachTest : function(){ this.webServiceClient = new WebServiceClient({ }); }, afterEachTest : function (){ this.webServiceClient = null; }, initialize_ : function() { assertThat( this.webServiceClient, JsHamcrest.Matchers.instanceOf( WebServiceClient )); } });
ZsZs/ProcessPuzzleUI
Implementation/WebTier/WebContent/JavaScript/ObjectTests/WebServiceClient/WebServiceClientTest.js
JavaScript
agpl-3.0
736
/* * JBILLING CONFIDENTIAL * _____________________ * * [2003] - [2012] Enterprise jBilling Software Ltd. * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Enterprise jBilling Software. * The intellectual and technical concepts contained * herein are proprietary to Enterprise jBilling Software * and are protected by trade secret or copyright law. * Dissemination of this information or reproduction of this material * is strictly forbidden. */ package com.sapienter.jbilling.server.user; import com.sapienter.jbilling.server.user.contact.db.ContactDTO; import com.sapienter.jbilling.server.user.db.CompanyDAS; import com.sapienter.jbilling.server.user.db.CompanyDTO; import com.sapienter.jbilling.server.util.db.CurrencyDAS; import com.sapienter.jbilling.server.util.db.CurrencyDTO; import com.sapienter.jbilling.server.util.db.LanguageDAS; import javax.validation.Valid; import javax.validation.constraints.Size; public class CompanyWS implements java.io.Serializable { private int id; private Integer currencyId; private Integer languageId; @Size(min = 0, max = 100, message = "validation.error.size,0,100") private String description; @Valid private ContactWS contact; public CompanyWS() { } public CompanyWS(int i) { id = i; } public CompanyWS(CompanyDTO companyDto) { this.id = companyDto.getId(); this.currencyId= companyDto.getCurrencyId(); this.languageId = companyDto.getLanguageId(); this.description = companyDto.getDescription(); ContactDTO contact = new EntityBL(Integer.valueOf(this.id)).getContact(); if (contact != null) { this.contact = new ContactWS(contact.getId(), contact.getAddress1(), contact.getAddress2(), contact.getCity(), contact.getStateProvince(), contact.getPostalCode(), contact.getCountryCode(), contact.getDeleted()); } } public CompanyDTO getDTO(){ CompanyDTO dto = new CompanyDAS().find(Integer.valueOf(this.id)); dto.setCurrency(new CurrencyDAS().find(this.currencyId)); dto.setLanguage(new LanguageDAS().find(this.languageId)); dto.setDescription(this.description); return dto; } public int getId() { return id; } public void setId(int id) { this.id = id; } public Integer getCurrencyId() { return currencyId; } public void setCurrencyId(Integer currencyId) { this.currencyId = currencyId; } public Integer getLanguageId() { return languageId; } public void setLanguageId(Integer languageId) { this.languageId = languageId; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public ContactWS getContact() { return contact; } public void setContact(ContactWS contact) { this.contact = contact; } public String toString() { return "CompanyWS [id=" + id + ", currencyId=" + currencyId + ", languageId=" + languageId + ", description=" + description + ", contact=" + contact + "]"; } }
rahith/ComtalkA-S
src/java/com/sapienter/jbilling/server/user/CompanyWS.java
Java
agpl-3.0
3,574
.wm_language_place { display:none; } #demo_info .sprite { display:-moz-inline-box; display:inline-block; margin-right:6px; background-image:url(http://afterlogic.com/img/flags/langs.png); background-repeat:no-repeat; padding:1px 6px 1px 28px; } #demo_info a.sprite { color:#555; text-decoration:none; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; outline:none; } #demo_info a.sprite.active { background-color:#697787; color:#fff !important; } #demo_info a.sprite:hover { background-color:#9BB2BF; color:#333; } #demo_info a.sprite.active { background-color:#697787; color:#fff !important; } #demo_info .title { margin:0px 0px 10px; } .lang_arb {background-position:0px 0px;} .lang_dan {background-position:0px -20px;} .lang_dut {background-position:0px -40px;} .lang_eng {background-position:0px -60px; margin:0px 8px 0px -22px !important;} .lang_frn {background-position:0px -80px;} .lang_gmn {background-position:0px -100px;} .lang_hbw {background-position:0px -120px;} .lang_hng {background-position:0px -140px;} .lang_itl {background-position:0px -160px;} .lang_nrw {background-position:0px -180px;} .lang_pls {background-position:0px -200px;} .lang_prt {background-position:0px -220px;} .lang_rss {background-position:0px -240px;} .lang_spn {background-position:0px -260px;} .lang_swd {background-position:0px -280px;} .lang_trk {background-position:0px -300px;} .lang_tha {background-position:0px -340px;} .lang_ukr {background-position:0px -360px;} .lang_grk {background-position:0px -380px;} .lang_usa {background-position:0px -323px; width:20px; height:16px; margin:0px 8px 0px -6px !important;padding: 0px !important; vertical-align:middle} .lang_jap {background-position:0px -400px;} .wm_mapping_head { float: right; margin-top: -14px; text-align:center; width: 100px; position: relative; } .wm_mapping_line { float: right; margin-top: -20px; position: relative; } .wm_mapping_line select { width: 100px; font-size: 10px; } .info { width:380px; text-align:left; } .info div.r2, .info div.r1{ display:block; height: 1px; overflow: hidden; margin:0px 2px; background-color: #c7cccf; } .info div.r1 { margin:0px 1px; overflow:hidden; background-color:#d7dcdf; border-left:1px solid #c7cccf; border-right:1px solid #c7cccf; } .info div.middle { padding:10px; font-family:Verdana,sans-serif; font-weight:normal; font-size:11px; line-height:160%; background-color: #D7dcdf; border-left:1px solid #c7cccf; border-right:1px solid #c7cccf; color:#464646; } .info a, .info a:hover, .info a:link { color:#4F75C9; text-decoration:underline; } #demo_info a.sprite.active { background-color:#697787; color:#fff !important; }
eliasrosa/webmail
pub/skins/login.css
CSS
agpl-3.0
2,736
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * 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 Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see http://www.gnu.org/licenses/ */ package org.phenotips.variantStoreIntegration; import org.phenotips.data.similarity.internal.AbstractVariant; import org.phenotips.variantstore.shared.GACallInfoFields; import org.phenotips.variantstore.shared.GAVariantInfoFields; import org.phenotips.variantstore.shared.VariantUtils; import java.text.DecimalFormat; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.ga4gh.GACall; import org.ga4gh.GAVariant; /** * A variant from the variant store. Annotated by Exomiser. * * @version $Id$ */ public class VariantStoreVariant extends AbstractVariant { private static DecimalFormat df = new DecimalFormat("#.####"); /** * Create a {@link Variant} from a {@link GAVariant} returned by a {@link * org.phenotips.variantstore.VariantStoreInterface}. * * @param gaVariant a {@link GAVariant} * @param totIndividuals number of individuals stored in the variant store */ public VariantStoreVariant(GAVariant gaVariant, Integer totIndividuals) { setChrom(gaVariant.getReferenceName()); setPosition((int) (gaVariant.getStart() + 1)); GACall call = gaVariant.getCalls().get(0); List<Integer> genotype = call.getGenotype(); setGenotype(gaVariant.getReferenceBases(), StringUtils.join(gaVariant.getAlternateBases(), ','), StringUtils.join(genotype, '/')); setEffect(VariantUtils.getInfo(gaVariant, GAVariantInfoFields.GENE_EFFECT)); String value = VariantUtils.getInfo(call, GACallInfoFields.EXOMISER_VARIANT_SCORE); if (value == null || "null".equals(value)) { setScore(null); } else { setScore(Double.valueOf(value)); } setAnnotation("geneScore", VariantUtils.getInfo(call, GACallInfoFields.EXOMISER_GENE_COMBINED_SCORE)); setAnnotation("geneSymbol", VariantUtils.getInfo(gaVariant, GAVariantInfoFields.GENE)); setAnnotation("hgvs", VariantUtils.getInfo(gaVariant, GAVariantInfoFields.GENE_HGVS)); value = VariantUtils.getInfo(gaVariant, GAVariantInfoFields.EXAC_AF); setAnnotation("exacAF", df.format(Double.valueOf(value))); setAnnotation("gtHet", VariantUtils.getInfo(gaVariant, GAVariantInfoFields.GT_HET)); setAnnotation("gtHom", VariantUtils.getInfo(gaVariant, GAVariantInfoFields.GT_HOM)); if (totIndividuals != null) { value = VariantUtils.getInfo(gaVariant, GAVariantInfoFields.AC_TOT); Double pcAF = Double.valueOf(value) / (totIndividuals * 2); setAnnotation("pcAF", df.format(pcAF)); } } }
phenotips/variant-store
integration/api/src/main/java/org/phenotips/variantStoreIntegration/VariantStoreVariant.java
Java
agpl-3.0
3,411
/* * Created on 20/giu/2010 * * Copyright 2010 by Andrea Vacondio ([email protected]). * * This file is part of the Sejda source code * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * 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 Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package org.sejda.model.exception; /** * Exception thrown when a wrong password has been set and it's not possible to open the pdf document (and execute the task) * * @author Andrea Vacondio * */ public class TaskWrongPasswordException extends TaskIOException { private static final long serialVersionUID = -5517166148313118559L; /** * @param message * @param cause */ public TaskWrongPasswordException(String message, Throwable cause) { super(message, cause); } /** * @param message */ public TaskWrongPasswordException(String message) { super(message); } /** * @param cause */ public TaskWrongPasswordException(Throwable cause) { super(cause); } }
torakiki/sejda
sejda-model/src/main/java/org/sejda/model/exception/TaskWrongPasswordException.java
Java
agpl-3.0
1,584
import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; module('Unit | Model | partner partnerclient plan', function(hooks) { setupTest(hooks); // Replace this with your real tests. test('it exists', function(assert) { let store = this.owner.lookup('service:store'); let model = store.createRecord('partner/partnerclient-plan', {}); assert.ok(model); }); });
appknox/irene
tests/unit/models/partner/partnerclient-plan-test.js
JavaScript
agpl-3.0
404
eqauctions-trending =============== Early stages...let's see what becomes of this. ## What is it? This will be a place to read about trending items that are sold/located on http://ahungry.com/eqauctions/ for buying/selling on the http://project1999.org EverQuest classic emulation server. Don't forget to ```shell git clone [email protected]:ahungry/glyphs.git ``` first, as it is used extensively throughout this project. ## Used ports ``` 4432 - hunchentoot port ```
ahungry/eqauctions-trending
README.md
Markdown
agpl-3.0
470
/* * Copyright (C) 2000 - 2016 Silverpeas * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * As a special exception to the terms and conditions of version 3.0 of * the GPL, you may redistribute this Program in connection with Free/Libre * Open Source Software ("FLOSS") applications as described in Silverpeas's * FLOSS exception. You should have recieved a copy of the text describing * the FLOSS exception, and it is also available here: * "http://www.silverpeas.org/docs/core/legal/floss_exception.html" * * 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 Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package org.silverpeas.core.personalorganizer.service; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.text.ParseException; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.List; import org.silverpeas.core.personalorganizer.model.JournalHeader; import org.silverpeas.core.personalorganizer.model.ParticipationStatus; import org.silverpeas.core.personalorganizer.model.SchedulableCount; import org.silverpeas.core.personalorganizer.socialnetwork.SocialInformationEvent; import org.silverpeas.core.util.StringUtil; import org.silverpeas.core.silvertrace.SilverTrace; import org.silverpeas.core.persistence.jdbc.DBUtil; import org.silverpeas.core.util.DateUtil; import org.silverpeas.core.exception.SilverpeasException; import org.silverpeas.core.exception.UtilException; public class JournalDAO { public static final String COLUMNNAMES = "id, name, delegatorId, description, priority, classification, startDay, startHour, endDay, endHour, externalId"; private static final String JOURNALCOLUMNNAMES = "CalendarJournal.id, CalendarJournal.name, CalendarJournal.delegatorId, CalendarJournal.description, CalendarJournal.priority, " + " CalendarJournal.classification, CalendarJournal.startDay, CalendarJournal.startHour, CalendarJournal.endDay, CalendarJournal.endHour, CalendarJournal.externalId"; private static final String INSERT_JOURNAL = "INSERT INTO CalendarJournal (" + COLUMNNAMES + ") values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"; private static final String UPDATE_JOURNAL = "UPDATE CalendarJournal SET name = ?, " + "delegatorId = ?, description = ?, priority = ?, classification = ?, " + "startDay = ?, startHour = ?, endDay = ?, endHour = ?, externalId = ? WHERE id = ?"; private static final String DELETE_JOURNAL = "DELETE FROM CalendarJournal WHERE id = ?"; public String addJournal(Connection con, JournalHeader journal) throws SQLException, UtilException, CalendarException { PreparedStatement prepStmt = null; int id = 0; try { prepStmt = con.prepareStatement(INSERT_JOURNAL); id = DBUtil.getNextId("CalendarJournal", "id"); prepStmt.setInt(1, id); prepStmt.setString(2, journal.getName()); prepStmt.setString(3, journal.getDelegatorId()); prepStmt.setString(4, journal.getDescription()); prepStmt.setInt(5, journal.getPriority().getValue()); prepStmt.setString(6, journal.getClassification().getString()); prepStmt.setString(7, journal.getStartDay()); prepStmt.setString(8, journal.getStartHour()); prepStmt.setString(9, journal.getEndDay()); prepStmt.setString(10, journal.getEndHour()); prepStmt.setString(11, journal.getExternalId()); if (prepStmt.executeUpdate() == 0) { throw new CalendarException( "JournalDAO.Connection con, addJournal(Connection con, JournalHeader journal)", SilverpeasException.ERROR, "calendar.EX_EXCUTE_INSERT_EMPTY"); } } finally { DBUtil.close(prepStmt); } return String.valueOf(id); } public void updateJournal(Connection con, JournalHeader journal) throws SQLException, CalendarException { PreparedStatement prepStmt = null; try { prepStmt = con.prepareStatement(UPDATE_JOURNAL); prepStmt.setString(1, journal.getName()); prepStmt.setString(2, journal.getDelegatorId()); prepStmt.setString(3, journal.getDescription()); prepStmt.setInt(4, journal.getPriority().getValue()); prepStmt.setString(5, journal.getClassification().getString()); prepStmt.setString(6, journal.getStartDay()); prepStmt.setString(7, journal.getStartHour()); prepStmt.setString(8, journal.getEndDay()); prepStmt.setString(9, journal.getEndHour()); prepStmt.setString(10, journal.getExternalId()); prepStmt.setInt(11, Integer.parseInt(journal.getId())); if (prepStmt.executeUpdate() == 0) { throw new CalendarException( "JournalDAO.Connection con, updateJournal(Connection con, JournalHeader journal)", SilverpeasException.ERROR, "calendar.EX_EXCUTE_UPDATE_EMPTY"); } } finally { DBUtil.close(prepStmt); } } public void removeJournal(Connection con, String id) throws SQLException, CalendarException { PreparedStatement prepStmt = null; try { prepStmt = con.prepareStatement(DELETE_JOURNAL); prepStmt.setInt(1, Integer.parseInt(id)); if (prepStmt.executeUpdate() == 0) { throw new CalendarException( "JournalDAO.Connection con, removeJournal(Connection con, JournalHeader journal)", SilverpeasException.ERROR, "calendar.EX_EXCUTE_DELETE_EMPTY"); } } finally { DBUtil.close(prepStmt); } } public boolean hasTentativeJournalsForUser(Connection con, String userId) throws SQLException, java.text.ParseException { PreparedStatement prepStmt = null; ResultSet rs = null; try { prepStmt = getTentativePreparedStatement(con, userId); rs = prepStmt.executeQuery(); return rs.next(); } finally { DBUtil.close(rs, prepStmt); } } public Collection<JournalHeader> getTentativeJournalHeadersForUser(Connection con, String userId) throws SQLException, java.text.ParseException { PreparedStatement prepStmt = null; ResultSet rs = null; List<JournalHeader> list = new ArrayList<JournalHeader>(); try { prepStmt = getTentativePreparedStatement(con, userId); rs = prepStmt.executeQuery(); while (rs.next()) { JournalHeader journal = getJournalHeaderFromResultSet(rs); list.add(journal); } } finally { DBUtil.close(rs, prepStmt); } return list; } private PreparedStatement getTentativePreparedStatement( Connection con, String userId) throws SQLException { String selectStatement = "select distinct " + JournalDAO.JOURNALCOLUMNNAMES + " from CalendarJournal, CalendarJournalAttendee " + " WHERE (CalendarJournal.id = CalendarJournalAttendee.journalId) " + " and (CalendarJournalAttendee.participationStatus = ?) " + " and (userId = ?) " + " order by startDay, startHour"; PreparedStatement prepStmt = con.prepareStatement(selectStatement); prepStmt.setString(1, ParticipationStatus.TENTATIVE); prepStmt.setString(2, userId); return prepStmt; } private Collection<JournalHeader> getJournalHeadersForUser(Connection con, String day, String userId, String categoryId, String participation, String comparator) throws SQLException, java.text.ParseException { StringBuilder selectStatement = new StringBuilder(); selectStatement.append("select distinct ").append( JournalDAO.JOURNALCOLUMNNAMES).append( " from CalendarJournal, CalendarJournalAttendee "); if (categoryId != null) { selectStatement.append(", CalendarJournalCategory "); } selectStatement.append(" where (CalendarJournal.id = CalendarJournalAttendee.journalId) "); selectStatement.append(" and (userId = '").append(userId).append("'"); selectStatement.append(" and participationStatus = '").append(participation).append("') "); if (categoryId != null) { selectStatement.append(" and (CalendarJournal.id = CalendarJournalCategory.journalId) "); selectStatement.append(" and (CalendarJournalCategory.categoryId = '").append(categoryId). append("') "); } selectStatement.append(" and ((startDay ").append(comparator).append(" '").append(day).append( "') or (startDay <= '").append(day).append( "' and endDay >= '").append(day).append("')) "); if (participation.equals(ParticipationStatus.ACCEPTED)) { selectStatement.append("union ").append("select distinct ").append( JournalDAO.JOURNALCOLUMNNAMES).append(" from CalendarJournal "); if (categoryId != null) { selectStatement.append(", CalendarJournalCategory "); } selectStatement.append(" where (delegatorId = '").append(userId).append( "') "); if (categoryId != null) { selectStatement.append(" and (CalendarJournal.id = CalendarJournalCategory.journalId) "); selectStatement.append(" and (CalendarJournalCategory.categoryId = '").append(categoryId). append("') "); } selectStatement.append(" and ((startDay ").append(comparator).append(" '").append(day) .append( "') or (startDay <= '").append(day).append("' and endDay >= '").append(day).append( "')) "); } selectStatement.append(" order by 7 , 8 "); // Modif PHiL -> Interbase PreparedStatement prepStmt = null; ResultSet rs = null; List<JournalHeader> list = null; try { prepStmt = con.prepareStatement(selectStatement.toString()); rs = prepStmt.executeQuery(); list = new ArrayList<JournalHeader>(); while (rs.next()) { JournalHeader journal = getJournalHeaderFromResultSet(rs); list.add(journal); } } finally { DBUtil.close(rs, prepStmt); } return list; } public Collection<JournalHeader> getDayJournalHeadersForUser(Connection con, String day, String userId, String categoryId, String participation) throws SQLException, java.text.ParseException { return getJournalHeadersForUser(con, day, userId, categoryId, participation, "="); } public Collection<JournalHeader> getNextJournalHeadersForUser(Connection con, String day, String userId, String categoryId, String participation) throws SQLException, java.text.ParseException { return getJournalHeadersForUser(con, day, userId, categoryId, participation, ">="); } /** * get next JournalHeader for this user accordint to the type of data base * used(PostgreSQL,Oracle,MMS) * @param con * @param day * @param userId * @param classification * @param limit * @param offset * @return * @throws SQLException * @throws java.text.ParseException */ public List<JournalHeader> getNextEventsForUser(Connection con, String day, String userId, String classification, Date begin, Date end) throws SQLException, java.text.ParseException { String selectNextEvents = "select distinct " + JournalDAO.JOURNALCOLUMNNAMES + " from CalendarJournal " + " where delegatorId = ? and endDay >= ? "; int classificationIndex = 2; int limitIndex = 3; if (StringUtil.isDefined(classification)) { selectNextEvents += " and classification = ? "; classificationIndex++; limitIndex++; } selectNextEvents += " and CalendarJournal.startDay >= ? and CalendarJournal.startDay <= ?"; selectNextEvents += " order by CalendarJournal.startDay, CalendarJournal.startHour "; PreparedStatement prepStmt = null; ResultSet rs = null; List<JournalHeader> list = null; try { prepStmt = con.prepareStatement(selectNextEvents); prepStmt.setString(1, userId); prepStmt.setString(2, day); if (classificationIndex == 3)// Classification param not null { prepStmt.setString(classificationIndex, classification); } prepStmt.setString(limitIndex, DateUtil.date2SQLDate(begin)); prepStmt.setString(limitIndex + 1, DateUtil.date2SQLDate(end)); rs = prepStmt.executeQuery(); list = new ArrayList<JournalHeader>(); while (rs.next()) { JournalHeader journal = getJournalHeaderFromResultSet(rs); list.add(journal); } } finally { DBUtil.close(rs, prepStmt); } return list; } public Collection<SchedulableCount> countMonthJournalsForUser(Connection con, String month, String userId, String categoryId, String participation) throws SQLException { StringBuilder selectStatement = new StringBuilder(200); String theDay = ""; selectStatement .append( "select count(distinct CalendarJournal.id), ? from CalendarJournal, CalendarJournalAttendee "); if (categoryId != null) { selectStatement.append(", CalendarJournalCategory "); } selectStatement.append("where (CalendarJournal.id = CalendarJournalAttendee.journalId) "); selectStatement.append("and (userId = ").append(userId); selectStatement.append(" and participationStatus = '").append(participation).append("')"); selectStatement.append(" and ((startDay = ?) or ((startDay <= ?) and (endDay >= ?))) "); if (categoryId != null) { selectStatement.append(" and (CalendarJournal.id = CalendarJournalCategory.journalId)"); selectStatement.append(" and (CalendarJournalCategory.categoryId = '").append(categoryId). append("') "); } selectStatement.append("group by ?"); if (participation.equals(ParticipationStatus.ACCEPTED)) { selectStatement.append( "union select count(distinct CalendarJournal.id), ? from CalendarJournal "); if (categoryId != null) { selectStatement.append(", CalendarJournalCategory "); } selectStatement.append("where (delegatorId = '").append(userId).append( "')"); selectStatement.append(" and ((startDay = ?) or ((startDay <= ?) and (endDay >= ?)))"); if (categoryId != null) { selectStatement.append(" and (CalendarJournal.id = CalendarJournalCategory.journalId)"); selectStatement.append(" and (CalendarJournalCategory.categoryId = '").append(categoryId). append("') "); } selectStatement.append("group by ?"); } List<SchedulableCount> list = new ArrayList<SchedulableCount>(); int number; String date = ""; PreparedStatement prepStmt = null; try { ResultSet rs = null; prepStmt = con.prepareStatement(selectStatement.toString()); for (int day = 1; day == 31; day++) { if (day < 10) { theDay = month + "0" + String.valueOf(day); } else { theDay = month + String.valueOf(day); } prepStmt.setString(1, theDay); prepStmt.setString(2, theDay); prepStmt.setString(3, theDay); prepStmt.setString(4, theDay); prepStmt.setString(5, theDay); prepStmt.setString(6, theDay); prepStmt.setString(7, theDay); prepStmt.setString(8, theDay); prepStmt.setString(9, theDay); prepStmt.setString(10, theDay); rs = prepStmt.executeQuery(); while (rs.next()) { number = rs.getInt(1); date = rs.getString(2); SchedulableCount count = new SchedulableCount(number, date); list.add(count); } DBUtil.close(rs); } } finally { DBUtil.close(prepStmt); } return list; } public Collection<JournalHeader> getPeriodJournalHeadersForUser(Connection con, String begin, String end, String userId, String categoryId, String participation) throws SQLException, java.text.ParseException { StringBuilder selectStatement = new StringBuilder(200); selectStatement.append("select distinct ").append(JournalDAO.COLUMNNAMES).append( " from CalendarJournal, CalendarJournalAttendee "); if (categoryId != null) { selectStatement.append(", CalendarJournalCategory "); } selectStatement.append(" where (CalendarJournal.id = CalendarJournalAttendee.journalId) "); selectStatement.append(" and (userId = '").append(userId).append("' "); selectStatement.append(" and participationStatus = '").append(participation).append("') "); if (categoryId != null) { selectStatement.append(" and (CalendarJournal.id = CalendarJournalCategory.journalId) "); selectStatement.append(" and (categoryId = '").append(categoryId).append( "') "); } selectStatement.append(" and ( (startDay >= '").append(begin).append( "' and startDay <= '").append(end).append("')"); selectStatement.append(" or (endDay >= '").append(begin).append( "' and endDay <= '").append(end).append("')"); selectStatement.append(" or ('").append(begin).append("' >= startDay and '").append(begin). append("' <= endDay) "); selectStatement.append(" or ('").append(end).append("' >= startDay and '").append(end).append( "' <= endDay) ) "); if (participation.equals(ParticipationStatus.ACCEPTED)) { selectStatement.append(" union select distinct ").append( JournalDAO.COLUMNNAMES).append(" from CalendarJournal "); if (categoryId != null) { selectStatement.append(", CalendarJournalCategory "); } selectStatement.append("where (delegatorId = '").append(userId).append( "') "); if (categoryId != null) { selectStatement.append(" and (CalendarJournal.id = CalendarJournalCategory.journalId) "); selectStatement.append(" and (categoryId = '").append(categoryId).append("') "); } selectStatement.append(" and ( (startDay >= '").append(begin).append( "' and startDay <= '").append(end).append("')"); selectStatement.append(" or (endDay >= '").append(begin).append( "' and endDay <= '").append(end).append("')"); selectStatement.append(" or ('").append(begin).append( "' >= startDay and '").append(begin).append("' <= endDay) "); selectStatement.append(" or ('").append(end).append("' >= startDay and '").append(end) .append( "' <= endDay) ) "); } selectStatement.append(" order by 7 , 8 "); PreparedStatement prepStmt = null; ResultSet rs = null; List<JournalHeader> list = null; try { prepStmt = con.prepareStatement(selectStatement.toString()); rs = prepStmt.executeQuery(); list = new ArrayList<JournalHeader>(); while (rs.next()) { JournalHeader journal = getJournalHeaderFromResultSet(rs); list.add(journal); } } finally { DBUtil.close(rs, prepStmt); } return list; } public JournalHeader getJournalHeaderFromResultSet(ResultSet rs) throws SQLException, java.text.ParseException { String id = String.valueOf(rs.getInt(1)); String name = rs.getString(2); String delegatorId = rs.getString(3); JournalHeader journal = new JournalHeader(id, name, delegatorId); journal.setDescription(rs.getString(4)); try { journal.getPriority().setValue(rs.getInt(5)); } catch (Exception e) { SilverTrace.warn("calendar", "JournalDAO.getJournalHeaderFromResultSet(ResultSet rs)", "calendar_MSG_NOT_GET_PRIORITY"); } journal.getClassification().setString(rs.getString(6)); journal.setStartDay(rs.getString(7)); journal.setStartHour(rs.getString(8)); journal.setEndDay(rs.getString(9)); journal.setEndHour(rs.getString(10)); journal.setExternalId(rs.getString(11)); return journal; } public JournalHeader getJournalHeader(Connection con, String journalId) throws SQLException, CalendarException, java.text.ParseException { String selectStatement = "select " + JournalDAO.COLUMNNAMES + " from CalendarJournal " + "where id = ?"; PreparedStatement prepStmt = null; ResultSet rs = null; JournalHeader journal; try { prepStmt = con.prepareStatement(selectStatement); prepStmt.setInt(1, Integer.parseInt(journalId)); rs = prepStmt.executeQuery(); if (rs.next()) { journal = getJournalHeaderFromResultSet(rs); } else { throw new CalendarException( "JournalDAO.Connection con, String journalId", SilverpeasException.ERROR, "calendar.EX_RS_EMPTY", "journalId=" + journalId); } return journal; } finally { DBUtil.close(rs, prepStmt); } } public Collection<JournalHeader> getOutlookJournalHeadersForUser(Connection con, String userId) throws SQLException, CalendarException, java.text.ParseException { String selectStatement = "select " + JournalDAO.COLUMNNAMES + " from CalendarJournal " + "where delegatorId = ? and externalId is not null"; PreparedStatement prepStmt = null; ResultSet rs = null; try { prepStmt = con.prepareStatement(selectStatement); prepStmt.setString(1, userId); rs = prepStmt.executeQuery(); Collection<JournalHeader> list = new ArrayList<JournalHeader>(); while (rs.next()) { JournalHeader journal = getJournalHeaderFromResultSet(rs); list.add(journal); } return list; } finally { DBUtil.close(rs, prepStmt); } } public Collection<JournalHeader> getOutlookJournalHeadersForUserAfterDate( Connection con, String userId, java.util.Date startDate) throws SQLException, CalendarException, java.text.ParseException { String selectStatement = "select " + JournalDAO.COLUMNNAMES + " from CalendarJournal " + "where delegatorId = ? and startDay >= ? and externalId is not null"; PreparedStatement prepStmt = null; ResultSet rs = null; Collection<JournalHeader> list = null; try { prepStmt = con.prepareStatement(selectStatement); prepStmt.setString(1, userId); prepStmt.setString(2, DateUtil.date2SQLDate(startDate)); rs = prepStmt.executeQuery(); list = new ArrayList<JournalHeader>(); while (rs.next()) { JournalHeader journal = getJournalHeaderFromResultSet(rs); list.add(journal); } return list; } finally { DBUtil.close(rs, prepStmt); } } public Collection<JournalHeader> getJournalHeadersForUserAfterDate(Connection con, String userId, java.util.Date startDate, int nbReturned) throws SQLException, CalendarException, java.text.ParseException { String selectStatement = "select " + JournalDAO.COLUMNNAMES + " from CalendarJournal " + "where delegatorId = ? " + "and ((startDay >= ?) or (startDay <= ? and endDay >= ?))" + " order by startDay, startHour"; PreparedStatement prepStmt = null; ResultSet rs = null; String startDateString = DateUtil.date2SQLDate(startDate); try { int count = 0; prepStmt = con.prepareStatement(selectStatement); prepStmt.setString(1, userId); prepStmt.setString(2, startDateString); prepStmt.setString(3, startDateString); prepStmt.setString(4, startDateString); rs = prepStmt.executeQuery(); Collection<JournalHeader> list = new ArrayList<JournalHeader>(); while (rs.next() && nbReturned != count) { JournalHeader journal = getJournalHeaderFromResultSet(rs); list.add(journal); count++; } return list; } finally { DBUtil.close(rs, prepStmt); } } /** * get Next Social Events for a given list of my Contacts accordint to the type of data base * used(PostgreSQL,Oracle,MMS) . This includes all kinds of events * @param con * @param day * @param myId * @param myContactsIds * @param begin * @param end * @return List<SocialInformationEvent> * @throws SQLException * @throws ParseException */ public List<SocialInformationEvent> getNextEventsForMyContacts(Connection con, String day, String myId, List<String> myContactsIds, Date begin, Date end) throws SQLException, ParseException { String selectNextEvents = "select distinct " + JournalDAO.JOURNALCOLUMNNAMES + " from CalendarJournal " + " where endDay >= ? and delegatorId in(" + toSqlString(myContactsIds) + ") " + " and startDay >= ? and startDay <= ? " + " order by startDay ASC, startHour ASC"; PreparedStatement prepStmt = null; ResultSet rs = null; try { prepStmt = con.prepareStatement(selectNextEvents); prepStmt.setString(1, day); prepStmt.setString(2, DateUtil.date2SQLDate(begin)); prepStmt.setString(3, DateUtil.date2SQLDate(end)); rs = prepStmt.executeQuery(); List<SocialInformationEvent> list = new ArrayList<SocialInformationEvent>(); while (rs.next()) { JournalHeader journal = getJournalHeaderFromResultSet(rs); list.add(new SocialInformationEvent(journal, journal.getId().equals(myId))); } return list; } finally { DBUtil.close(rs, prepStmt); } } private static String toSqlString(List<String> list) { StringBuilder result = new StringBuilder(100); if (list == null || list.isEmpty()) { return "''"; } int i = 0; for (String var : list) { if (i != 0) { result.append(","); } result.append("'").append(var).append("'"); i++; } return result.toString(); } /** * get Last Social Events for a given list of my Contacts accordint to the type of data base * used(PostgreSQL,Oracle,MMS) . This includes all kinds of events * @param con * @param day * @param myId * @param myContactsIds * @param begin * @param end * @return List<SocialInformationEvent> * @throws SQLException * @throws ParseException */ public List<SocialInformationEvent> getLastEventsForMyContacts(Connection con, String day, String myId, List<String> myContactsIds, Date begin, Date end) throws SQLException, ParseException { String selectNextEvents = "select distinct " + JournalDAO.JOURNALCOLUMNNAMES + " from CalendarJournal " + " where endDay < ? and delegatorId in(" + toSqlString(myContactsIds) + ") " + " and startDay >= ? and startDay <= ? " + " order by startDay desc, startHour desc"; PreparedStatement prepStmt = null; ResultSet rs = null; List<SocialInformationEvent> list = null; try { prepStmt = con.prepareStatement(selectNextEvents); prepStmt.setString(1, day); prepStmt.setString(2, DateUtil.date2SQLDate(begin)); prepStmt.setString(3, DateUtil.date2SQLDate(end)); rs = prepStmt.executeQuery(); list = new ArrayList<SocialInformationEvent>(); while (rs.next()) { JournalHeader journal = getJournalHeaderFromResultSet(rs); list.add(new SocialInformationEvent(journal, journal.getId().equals(myId))); } } finally { DBUtil.close(rs, prepStmt); } return list; } /** * get my Last Social Events accordint to the type of data base used(PostgreSQL,Oracle,MMS) . This * includes all kinds of events * @param con * @param day * @param myId * @param numberOfElement * @param firstIndex * @return List<SocialInformationEvent> * @throws SQLException * @throws ParseException */ public List<SocialInformationEvent> getMyLastEvents(Connection con, String day, String myId, Date begin, Date end) throws SQLException, ParseException { String selectNextEvents = "select distinct " + JournalDAO.JOURNALCOLUMNNAMES + " from CalendarJournal " + " where endDay < ? and delegatorId = ? " + " and startDay >= ? and startDay <= ? " + " order by startDay desc, startHour desc "; PreparedStatement prepStmt = null; ResultSet rs = null; List<SocialInformationEvent> list = null; try { prepStmt = con.prepareStatement(selectNextEvents); prepStmt.setString(1, day); prepStmt.setString(2, myId); prepStmt.setString(3, DateUtil.date2SQLDate(begin)); prepStmt.setString(4, DateUtil.date2SQLDate(end)); rs = prepStmt.executeQuery(); list = new ArrayList<SocialInformationEvent>(); while (rs.next()) { JournalHeader journal = getJournalHeaderFromResultSet(rs); list.add(new SocialInformationEvent(journal)); } } finally { DBUtil.close(rs, prepStmt); } return list; } /** * get my Last Social Events when data base is MMS. This includes all kinds of events * @param con * @param day * @param myId * @param numberOfElement * @param firstIndex * @return * @throws SQLException * @throws java.text.ParseException */ public List<SocialInformationEvent> getMyLastEvents_MSS(Connection con, String day, String myId, Date begin, Date end) throws SQLException, java.text.ParseException { String selectNextEvents = "select distinct " + JournalDAO.JOURNALCOLUMNNAMES + " from CalendarJournal " + " where endDay < ? and delegatorId = ? " + " and startDay >= ? and startDay <= ? " + " order by CalendarJournal.startDay desc, CalendarJournal.startHour desc"; PreparedStatement prepStmt = null; ResultSet rs = null; List<SocialInformationEvent> list = null; try { prepStmt = con.prepareStatement(selectNextEvents); prepStmt.setString(1, day); prepStmt.setString(2, myId); prepStmt.setString(3, DateUtil.date2SQLDate(begin)); prepStmt.setString(4, DateUtil.date2SQLDate(end)); rs = prepStmt.executeQuery(); list = new ArrayList<SocialInformationEvent>(); while (rs.next()) { JournalHeader journal = getJournalHeaderFromResultSet(rs); list.add(new SocialInformationEvent(journal)); } } finally { DBUtil.close(rs, prepStmt); } return list; } }
auroreallibe/Silverpeas-Core
core-services/personalOrganizer/src/main/java/org/silverpeas/core/personalorganizer/service/JournalDAO.java
Java
agpl-3.0
30,469
/** * Copyright (C) 2000 - 2013 Silverpeas * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by the Free Software Foundation, either version 3 * of the License, or (at your option) any later version. * * As a special exception to the terms and conditions of version 3.0 of the GPL, you may * redistribute this Program in connection with Free/Libre Open Source Software ("FLOSS") * applications as described in Silverpeas's FLOSS exception. You should have received a copy of the * text describing the FLOSS exception, and it is also available here: * "http://www.silverpeas.org/docs/core/legal/floss_exception.html" * * 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 * Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License along with this program. * If not, see <http://www.gnu.org/licenses/>. */ package com.stratelia.webactiv.beans.admin; import java.util.ArrayList; import java.util.List; import com.silverpeas.util.StringUtil; import com.stratelia.webactiv.organization.AdminPersistenceException; import com.stratelia.webactiv.organization.SpaceRow; import com.stratelia.webactiv.organization.SpaceUserRoleRow; import com.stratelia.webactiv.util.exception.SilverpeasException; public class SpaceProfileInstManager { /** * Constructor */ public SpaceProfileInstManager() { } /** * Create a new space profile instance in database * * * @param spaceProfileInst * @param domainManager * @param sFatherId * @return * @throws AdminException */ public String createSpaceProfileInst(SpaceProfileInst spaceProfileInst, DomainDriverManager domainManager, String parentSpaceId) throws AdminException { try { // Create the spaceProfile node SpaceUserRoleRow newRole = makeSpaceUserRoleRow(spaceProfileInst); newRole.spaceId = idAsInt(parentSpaceId); domainManager.getOrganization().spaceUserRole.createSpaceUserRole(newRole); String spaceProfileNodeId = idAsString(newRole.id); // Update the CSpace with the links TSpaceProfile-TGroup for (String groupId : spaceProfileInst.getAllGroups()) { domainManager.getOrganization().spaceUserRole.addGroupInSpaceUserRole(idAsInt(groupId), idAsInt(spaceProfileNodeId)); } // Update the CSpace with the links TSpaceProfile-TUser for (String userId : spaceProfileInst.getAllUsers()) { domainManager.getOrganization().spaceUserRole.addUserInSpaceUserRole(idAsInt(userId), idAsInt(spaceProfileNodeId)); } return spaceProfileNodeId; } catch (Exception e) { throw new AdminException("SpaceProfileInstManager.addSpaceProfileInst", SilverpeasException.ERROR, "admin.EX_ERR_ADD_SPACE_PROFILE", "space profile name: '" + spaceProfileInst.getName() + "'", e); } } /** * Get Space profile information with given id and creates a new SpaceProfileInst * * @param ddManager * @param spaceProfileId * @param parentSpaceId * @return * @throws AdminException */ public SpaceProfileInst getSpaceProfileInst(DomainDriverManager ddManager, String spaceProfileId, String parentSpaceId) throws AdminException { if (!StringUtil.isDefined(parentSpaceId)) { try { ddManager.getOrganizationSchema(); SpaceRow space = ddManager.getOrganization().space.getSpaceOfSpaceUserRole(idAsInt( spaceProfileId)); if (space == null) { space = new SpaceRow(); } parentSpaceId = idAsString(space.id); } catch (Exception e) { throw new AdminException("SpaceProfileInstManager.getSpaceProfileInst", SilverpeasException.ERROR, "admin.EX_ERR_GET_SPACE_PROFILE", "space profile Id: '" + spaceProfileId + "', space Id: '" + parentSpaceId + "'", e); } finally { ddManager.releaseOrganizationSchema(); } } try { ddManager.getOrganizationSchema(); // Load the profile detail SpaceUserRoleRow spaceUserRole = ddManager.getOrganization().spaceUserRole. getSpaceUserRole(idAsInt(spaceProfileId)); SpaceProfileInst spaceProfileInst = null; if (spaceUserRole != null) { // Set the attributes of the space profile Inst spaceProfileInst = spaceUserRoleRow2SpaceProfileInst(spaceUserRole); setUsersAndGroups(ddManager, spaceProfileInst); } return spaceProfileInst; } catch (Exception e) { throw new AdminException("SpaceProfileInstManager.getSpaceProfileInst", SilverpeasException.ERROR, "admin.EX_ERR_SET_SPACE_PROFILE", "space profile Id: '" + spaceProfileId + "', space Id: '" + parentSpaceId + "'", e); } finally { ddManager.releaseOrganizationSchema(); } } /** * get information for given id and store it in the given SpaceProfileInst object * * @param ddManager * @param spaceId * @param roleName * @throws AdminException */ public SpaceProfileInst getInheritedSpaceProfileInstByName(DomainDriverManager ddManager, String spaceId, String roleName) throws AdminException { return getSpaceProfileInst(ddManager, spaceId, roleName, true); } public SpaceProfileInst getSpaceProfileInstByName(DomainDriverManager ddManager, String spaceId, String roleName) throws AdminException { return getSpaceProfileInst(ddManager, spaceId, roleName, false); } private SpaceProfileInst getSpaceProfileInst(DomainDriverManager ddManager, String spaceId, String roleName, boolean isInherited) throws AdminException { try { ddManager.getOrganizationSchema(); int inherited = 0; if (isInherited) { inherited = 1; } // Load the profile detail SpaceUserRoleRow spaceUserRole = ddManager.getOrganization().spaceUserRole. getSpaceUserRole(idAsInt(spaceId), roleName, inherited); SpaceProfileInst spaceProfileInst = null; if (spaceUserRole != null) { // Set the attributes of the space profile Inst spaceProfileInst = spaceUserRoleRow2SpaceProfileInst(spaceUserRole); setUsersAndGroups(ddManager, spaceProfileInst); } return spaceProfileInst; } catch (Exception e) { throw new AdminException("SpaceProfileInstManager.getInheritedSpaceProfileInst", SilverpeasException.ERROR, "admin.EX_ERR_GET_SPACE_PROFILE", "spaceId = " + spaceId + ", role = " + roleName, e); } finally { ddManager.releaseOrganizationSchema(); } } private void setUsersAndGroups(DomainDriverManager ddManager, SpaceProfileInst spaceProfileInst) throws AdminPersistenceException { // Get the groups String[] asGroupIds = ddManager.getOrganization().group. getDirectGroupIdsInSpaceUserRole(idAsInt(spaceProfileInst.getId())); // Set the groups to the space profile if (asGroupIds != null) { for (String groupId : asGroupIds) { spaceProfileInst.addGroup(groupId); } } // Get the Users String[] asUsersIds = ddManager.getOrganization().user.getDirectUserIdsOfSpaceUserRole(idAsInt( spaceProfileInst.getId())); // Set the Users to the space profile if (asUsersIds != null) { for (String userId : asUsersIds) { spaceProfileInst.addUser(userId); } } } private SpaceProfileInst spaceUserRoleRow2SpaceProfileInst(SpaceUserRoleRow spaceUserRole) { // Set the attributes of the space profile Inst SpaceProfileInst spaceProfileInst = new SpaceProfileInst(); spaceProfileInst.setId(Integer.toString(spaceUserRole.id)); spaceProfileInst.setName(spaceUserRole.roleName); spaceProfileInst.setLabel(spaceUserRole.name); spaceProfileInst.setDescription(spaceUserRole.description); spaceProfileInst.setSpaceFatherId(Integer.toString(spaceUserRole.spaceId)); if (spaceUserRole.isInherited == 1) { spaceProfileInst.setInherited(true); } return spaceProfileInst; } /** * Deletes space profile instance from Silverpeas * * @param spaceProfileInst * @param ddManager * @throws AdminException */ public void deleteSpaceProfileInst(SpaceProfileInst spaceProfileInst, DomainDriverManager ddManager) throws AdminException { try { // delete the spaceProfile node ddManager.getOrganization().spaceUserRole.removeSpaceUserRole(idAsInt(spaceProfileInst .getId())); } catch (Exception e) { throw new AdminException("SpaceProfileInstManager.deleteSpaceProfileInst", SilverpeasException.ERROR, "admin.EX_ERR_DELETE_SPACEPROFILE", "space profile Id: '" + spaceProfileInst.getId() + "'", e); } } /** * Updates space profile instance * * @param spaceProfileInst * @param ddManager * @param spaceProfileInstNew * @return * @throws AdminException */ public String updateSpaceProfileInst(SpaceProfileInst spaceProfileInst, DomainDriverManager ddManager, SpaceProfileInst spaceProfileInstNew) throws AdminException { List<String> alOldSpaceProfileGroup = new ArrayList<String>(); List<String> alNewSpaceProfileGroup = new ArrayList<String>(); List<String> alAddGroup = new ArrayList<String>(); List<String> alRemGroup = new ArrayList<String>(); List<String> alOldSpaceProfileUser = new ArrayList<String>(); List<String> alNewSpaceProfileUser = new ArrayList<String>(); List<String> alAddUser = new ArrayList<String>(); List<String> alRemUser = new ArrayList<String>(); try { // Compute the Old spaceProfile group list List<String> alGroup = spaceProfileInst.getAllGroups(); for (String groupId : alGroup) { alOldSpaceProfileGroup.add(groupId); } // Compute the New spaceProfile group list alGroup = spaceProfileInstNew.getAllGroups(); for (String groupId : alGroup) { alNewSpaceProfileGroup.add(groupId); } // Compute the remove group list for (String groupId : alOldSpaceProfileGroup) { if (!alNewSpaceProfileGroup.contains(groupId)) { alRemGroup.add(groupId); } } // Compute the add and stay group list for (String groupId : alNewSpaceProfileGroup) { if (!alOldSpaceProfileGroup.contains(groupId)) { alAddGroup.add(groupId); } } // Add the new Groups for (String groupId : alAddGroup) { // Create the links between the spaceProfile and the group ddManager.getOrganization().spaceUserRole.addGroupInSpaceUserRole( idAsInt(groupId), idAsInt(spaceProfileInst.getId())); } // Remove the removed groups for (String groupId : alRemGroup) { // delete the node link SpaceProfile_Group ddManager.getOrganization().spaceUserRole.removeGroupFromSpaceUserRole( idAsInt(groupId), idAsInt(spaceProfileInst.getId())); } // Compute the Old spaceProfile User list ArrayList<String> alUser = spaceProfileInst.getAllUsers(); for (String userId : alUser) { alOldSpaceProfileUser.add(userId); } // Compute the New spaceProfile User list alUser = spaceProfileInstNew.getAllUsers(); for (String userId : alUser) { alNewSpaceProfileUser.add(userId); } // Compute the remove User list for (String userId : alOldSpaceProfileUser) { if (!alNewSpaceProfileUser.contains(userId)) { alRemUser.add(userId); } } // Compute the add and stay User list for (String userId : alNewSpaceProfileUser) { if (!alOldSpaceProfileUser.contains(userId)) { alAddUser.add(userId); } } // Add the new Users for (String userId : alAddUser) { // Create the links between the spaceProfile and the User ddManager.getOrganization().spaceUserRole.addUserInSpaceUserRole( idAsInt(userId), idAsInt(spaceProfileInst.getId())); } // Remove the removed Users for (String userId : alRemUser) { // delete the node link SpaceProfile_User ddManager.getOrganization().spaceUserRole.removeUserFromSpaceUserRole( idAsInt(userId), idAsInt(spaceProfileInst.getId())); } // update the spaceProfile node SpaceUserRoleRow changedSpaceUserRole = makeSpaceUserRoleRow(spaceProfileInstNew); changedSpaceUserRole.id = idAsInt(spaceProfileInstNew.getId()); ddManager.getOrganization().spaceUserRole.updateSpaceUserRole(changedSpaceUserRole); return idAsString(changedSpaceUserRole.id); } catch (Exception e) { throw new AdminException("SpaceProfileInstManager.updateSpaceProfileInst", SilverpeasException.ERROR, "admin.EX_ERR_UPDATE_SPACEPROFILE", "space profile Id: '" + spaceProfileInst.getId() + "'", e); } } /** * Converts SpaceProfileInst to SpaceUserRoleRow */ private SpaceUserRoleRow makeSpaceUserRoleRow(SpaceProfileInst spaceProfileInst) { SpaceUserRoleRow spaceUserRole = new SpaceUserRoleRow(); spaceUserRole.id = idAsInt(spaceProfileInst.getId()); spaceUserRole.roleName = spaceProfileInst.getName(); spaceUserRole.name = spaceProfileInst.getLabel(); spaceUserRole.description = spaceProfileInst.getDescription(); if (spaceProfileInst.isInherited()) { spaceUserRole.isInherited = 1; } return spaceUserRole; } /** * Convert String Id to int Id */ private int idAsInt(String id) { if (id == null || id.length() == 0) { return -1; // the null id. } try { return Integer.parseInt(id); } catch (NumberFormatException e) { return -1; // the null id. } } /** * Convert int Id to String Id */ static private String idAsString(int id) { return Integer.toString(id); } }
CecileBONIN/Silverpeas-Core
lib-core/src/main/java/com/stratelia/webactiv/beans/admin/SpaceProfileInstManager.java
Java
agpl-3.0
14,175
package org.bimserver.database.query.literals; /****************************************************************************** * Copyright (C) 2009-2019 BIMserver.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * 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 Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see {@literal<http://www.gnu.org/licenses/>}. *****************************************************************************/ import org.bimserver.database.query.conditions.LiteralCondition; public class StringLiteral extends LiteralCondition { private final String value; public StringLiteral(String value) { this.value = value; } public Object getValue() { return value; } }
opensourceBIM/BIMserver
BimServer/src/org/bimserver/database/query/literals/StringLiteral.java
Java
agpl-3.0
1,207
<?php /********************************************************************************* * The contents of this file are subject to the SugarCRM Master Subscription * Agreement ("License") which can be viewed at * http://www.sugarcrm.com/crm/en/msa/master_subscription_agreement_11_April_2011.pdf * By installing or using this file, You have unconditionally agreed to the * terms and conditions of the License, and You may not use this file except in * compliance with the License. Under the terms of the license, You shall not, * among other things: 1) sublicense, resell, rent, lease, redistribute, assign * or otherwise transfer Your rights to the Software, and 2) use the Software * for timesharing or service bureau purposes such as hosting the Software for * commercial gain and/or for the benefit of a third party. Use of the Software * may be subject to applicable fees and any use of the Software without first * paying applicable fees is strictly prohibited. You do not have the right to * remove SugarCRM copyrights from the source code or user interface. * * All copies of the Covered Code must include on each user interface screen: * (i) the "Powered by SugarCRM" logo and * (ii) the SugarCRM copyright notice * in the same form as they appear in the distribution. See full license for * requirements. * * Your Warranty, Limitations of liability and Indemnity are expressly stated * in the License. Please refer to the License for the specific language * governing these rights and limitations under the License. Portions created * by SugarCRM are Copyright (C) 2004-2011 SugarCRM, Inc.; All Rights Reserved. ********************************************************************************/ if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); $mod_strings= array ( 'LBL_ROLE' => 'Rolle:', 'LBL_LANGUAGE' => 'Språk:', 'LBL_MODULE_NAME' => 'Roller', 'LBL_MODULE_TITLE' => 'Roller: Hjem', 'LBL_SEARCH_FORM_TITLE' => 'Rollesøk', 'LBL_LIST_FORM_TITLE' => 'Rolleliste', 'LNK_NEW_ROLE' => 'Opprett rolle', 'LNK_ROLES' => 'Roller', 'LBL_NAME' => 'Navn:', 'LBL_DESCRIPTION' => 'Beskrivelse:', 'LBL_ALLOWED_MODULES' => 'Tillatte moduler:', 'LBL_DISALLOWED_MODULES' => 'Ikke-tillatte moduler:', 'LBL_ASSIGN_MODULES' => 'Endre moduler:', 'LBL_DEFAULT_SUBPANEL_TITLE' => 'Roller', 'LBL_USERS' => 'Brukere', 'LBL_USERS_SUBPANEL_TITLE' => 'Brukere', );?>
harish-patel/ecrm
modules/Roles/language/nb_NO.lang.php
PHP
agpl-3.0
2,968
<?php /** * Manager for Plus * * !! Most of Plus is handled via Discovery or Wire\Paywall !! */ namespace Minds\Core\Plus; use Minds\Core\Di\Di; use Minds\Core\Config; use Minds\Core\Data\ElasticSearch; use Minds\Core\Data\Cassandra; use Minds\Core\Wire\Paywall\PaywallEntityInterface; use Minds\Core\Rewards\Contributions\ContributionValues; class Manager { /** @var Config */ protected $config; /** @var ElasticSearch\Client */ protected $es; /** @var Cassandra\Client */ protected $db; /** @var int */ const SUBSCRIPTION_PERIOD_MONTH = 30; /** @var int */ const SUBSCRIPTION_PERIOD_YEAR = 365; /** @var int */ const REVENUE_SHARE_PCT = 25; public function __construct($config = null, $es = null, $db = null) { $this->config = $config ?? Di::_()->get('Config'); $this->es = $es ?? Di::_()->get('Database\ElasticSearch'); $this->db = $db ?? Di::_()->get('Database\Cassandra\Cql'); } /** * Returns the plus guid * @return string */ public function getPlusGuid(): string { return $this->config->get('plus')['handler']; } /** * Returns the plus support tier urn * @return string */ public function getPlusSupportTierUrn(): string { return $this->config->get('plus')['support_tier_urn']; } /** * Returns the subscription price * @param string $period (month,day) * @return int (cents) */ public function getSubscriptionPrice(string $period): int { /** @var string */ $key = ''; switch ($period) { case 'month': $key = 'monthly'; break; case 'year': $key = 'yearly'; break; default: throw new \Exception("Subscription can only be month or year"); } return $this->config->get('upgrades')['plus'][$key]['usd'] * 100; } /** * Return sum of revenue for the previous subscriptions period (30 days) * Will return in USD * @param int $asOfTs * @return float */ public function getActiveRevenue($asOfTs = null): float { $revenue = 0; $from = strtotime(self::SUBSCRIPTION_PERIOD_MONTH . " days ago", $asOfTs ?? time()); $to = strtotime("+" . self::SUBSCRIPTION_PERIOD_MONTH . " days", $from); // // Sum the wire takings for the previous 30 days where monthly subscription // $revenue += $this->getRevenue($from, $to, $this->getSubscriptionPrice('month')); // // Sum the wire takings for the previous 30 days where yearly subscription (amortized to month) // $from = strtotime(self::SUBSCRIPTION_PERIOD_YEAR . " days ago", $asOfTs ?? time()); $to = strtotime("+" . self::SUBSCRIPTION_PERIOD_YEAR . " days", $from); $revenue += $this->getRevenue($from, $to, $this->getSubscriptionPrice('year')) / 12; return round($revenue / 100, 2); } /** * Returns the daily revenue for Plus * - Assumptions: * - Subscription is 30 days * - Amoritize the revenue by dividing the revenue * for previous 30 days by 30 * - eg: ($300 per month) / 30 = $10 per day * Will return in USD * @param int $asOfTime * @return int */ public function getDailyRevenue($asOfTs = null): float { return round($this->getActiveRevenue($asOfTs) / self::SUBSCRIPTION_PERIOD_MONTH, 2); } /** * @var int $from * @var int $to * @return int */ protected function getRevenue(int $from, int $to, int $amount): int { $query = new Cassandra\Prepared\Custom(); // ALLOW FILTERING is used to filter by amount. As subscription volume is small // and paritioned by receiver_guid, it should not be an issue $query->query("SELECT SUM(wei) as wei_sum FROM wire WHERE receiver_guid=? AND method='usd' AND timestamp >= ? AND timestamp < ? AND wei=? ALLOW FILTERING ", [ new \Cassandra\Varint($this->getPlusGuid()), new \Cassandra\Timestamp($from, 0), new \Cassandra\Timestamp($to, 0), new \Cassandra\Varint($amount) ]); try { $result = $this->db->request($query); } catch (\Exception $e) { error_log(print_r($e, true)); return 0; } return (int) $result[0]['wei_sum']; } /** * Return unlocks (deprecated) * @param int $asOfTs * @return iterable */ public function getUnlocks(int $asOfTs): array { return []; } /** * Return the scores of users * @param int $asOfTs * @return iterable */ public function getScores(int $asOfTs): iterable { /** @var array */ $must = []; $must[] = [ 'term' => [ 'support_tier_urn' => $this->getPlusSupportTierUrn(), ], ]; $must[] = [ 'range' => [ '@timestamp' => [ 'gte' => $asOfTs * 1000, 'lt' => strtotime('midnight tomorrow', $asOfTs) * 1000, ] ] ]; $body = [ 'query' => [ 'bool' => [ 'must' => $must, ], ], 'aggs' => [ 'owners' => [ 'terms' => [ 'field' => 'entity_owner_guid.keyword', 'size' => 5000, ], 'aggs' => [ 'actions' => [ 'terms' => [ 'field' => 'action.keyword', 'size' => 5000, ], 'aggs' => [ 'unique_user_actions' => [ 'cardinality' => [ 'field' => 'user_guid.keyword', ], ] ] ] ] ], ] ]; $query = [ 'index' => 'minds-metrics-*', 'body' => $body, 'size' => 0, ]; $prepared = new ElasticSearch\Prepared\Search(); $prepared->query($query); $response = $this->es->request($prepared); $total = array_sum(array_map(function ($bucket) { return $this->sumInteractionScores($bucket); }, $response['aggregations']['owners']['buckets'])); foreach ($response['aggregations']['owners']['buckets'] as $bucket) { $count = $this->sumInteractionScores($bucket); if (!$count) { continue; } $score = [ 'user_guid' => $bucket['key'], 'total' => $total, 'count' => $count, 'sharePct' => $count / $total, ]; yield $score; } } /** * Returns if a post is Minds+ paywalled or not * @param PaywallEntityInterface $entity * @return bool */ public function isPlusEntity(PaywallEntityInterface $entity): bool { if (!$entity->isPayWall()) { return false; } $threshold = $entity->getWireThreshold(); return $threshold['support_tier']['urn'] === $this->getPlusSupportTierUrn(); } /** * Returns the score of owner bucket interactions * @param array $bucket * @return int */ private function sumInteractionScores(array $bucket): int { return array_sum(array_map(function ($bucket) { return $bucket['unique_user_actions']['value'] * ContributionValues::metricKeyToMultiplier($bucket['key']); }, $bucket['actions']['buckets'])); } }
Minds/engine
Core/Plus/Manager.php
PHP
agpl-3.0
8,138
# -*- coding: utf-8 -*- """ Models for Student Identity Verification This is where we put any models relating to establishing the real-life identity of a student over a period of time. Right now, the only models are the abstract `PhotoVerification`, and its one concrete implementation `SoftwareSecurePhotoVerification`. The hope is to keep as much of the photo verification process as generic as possible. """ import functools import json import logging import os.path import uuid from datetime import timedelta from email.utils import formatdate import requests import six from django.conf import settings from django.contrib.auth.models import User from django.core.cache import cache from django.core.files.base import ContentFile from django.urls import reverse from django.db import models from django.dispatch import receiver from django.utils.functional import cached_property from django.utils.timezone import now from django.utils.translation import ugettext_lazy from model_utils import Choices from model_utils.models import StatusModel, TimeStampedModel from opaque_keys.edx.django.models import CourseKeyField from lms.djangoapps.verify_student.ssencrypt import ( encrypt_and_encode, generate_signed_message, random_aes_key, rsa_encrypt ) from openedx.core.djangoapps.signals.signals import LEARNER_NOW_VERIFIED from openedx.core.storage import get_storage from .utils import earliest_allowed_verification_date log = logging.getLogger(__name__) def generateUUID(): # pylint: disable=invalid-name """ Utility function; generates UUIDs """ return str(uuid.uuid4()) class VerificationException(Exception): pass def status_before_must_be(*valid_start_statuses): """ Helper decorator with arguments to make sure that an object with a `status` attribute is in one of a list of acceptable status states before a method is called. You could use it in a class definition like: @status_before_must_be("submitted", "approved", "denied") def refund_user(self, user_id): # Do logic here... If the object has a status that is not listed when the `refund_user` method is invoked, it will throw a `VerificationException`. This is just to avoid distracting boilerplate when looking at a Model that needs to go through a workflow process. """ def decorator_func(func): """ Decorator function that gets returned """ @functools.wraps(func) def with_status_check(obj, *args, **kwargs): if obj.status not in valid_start_statuses: exception_msg = ( u"Error calling {} {}: status is '{}', must be one of: {}" ).format(func, obj, obj.status, valid_start_statuses) raise VerificationException(exception_msg) return func(obj, *args, **kwargs) return with_status_check return decorator_func class IDVerificationAttempt(StatusModel): """ Each IDVerificationAttempt represents a Student's attempt to establish their identity through one of several methods that inherit from this Model, including PhotoVerification and SSOVerification. .. pii: The User's name is stored in this and sub-models .. pii_types: name .. pii_retirement: retained """ STATUS = Choices('created', 'ready', 'submitted', 'must_retry', 'approved', 'denied') user = models.ForeignKey(User, db_index=True, on_delete=models.CASCADE) # They can change their name later on, so we want to copy the value here so # we always preserve what it was at the time they requested. We only copy # this value during the mark_ready() step. Prior to that, you should be # displaying the user's name from their user.profile.name. name = models.CharField(blank=True, max_length=255) created_at = models.DateTimeField(auto_now_add=True, db_index=True) updated_at = models.DateTimeField(auto_now=True, db_index=True) class Meta(object): app_label = "verify_student" abstract = True ordering = ['-created_at'] @property def expiration_datetime(self): """Datetime that the verification will expire. """ days_good_for = settings.VERIFY_STUDENT["DAYS_GOOD_FOR"] return self.created_at + timedelta(days=days_good_for) def should_display_status_to_user(self): """Whether or not the status from this attempt should be displayed to the user.""" raise NotImplementedError def active_at_datetime(self, deadline): """Check whether the verification was active at a particular datetime. Arguments: deadline (datetime): The date at which the verification was active (created before and expiration datetime is after today). Returns: bool """ return ( self.created_at < deadline and self.expiration_datetime > now() ) class ManualVerification(IDVerificationAttempt): """ Each ManualVerification represents a user's verification that bypasses the need for any other verification. .. pii: The User's name is stored in the parent model .. pii_types: name .. pii_retirement: retained """ reason = models.CharField( max_length=255, blank=True, help_text=( 'Specifies the reason for manual verification of the user.' ) ) class Meta(object): app_label = 'verify_student' def __unicode__(self): return 'ManualIDVerification for {name}, status: {status}'.format( name=self.name, status=self.status, ) def should_display_status_to_user(self): """ Whether or not the status should be displayed to the user. """ return False class SSOVerification(IDVerificationAttempt): """ Each SSOVerification represents a Student's attempt to establish their identity by signing in with SSO. ID verification through SSO bypasses the need for photo verification. .. no_pii: """ OAUTH2 = 'third_party_auth.models.OAuth2ProviderConfig' SAML = 'third_party_auth.models.SAMLProviderConfig' LTI = 'third_party_auth.models.LTIProviderConfig' IDENTITY_PROVIDER_TYPE_CHOICES = ( (OAUTH2, 'OAuth2 Provider'), (SAML, 'SAML Provider'), (LTI, 'LTI Provider'), ) identity_provider_type = models.CharField( max_length=100, blank=False, choices=IDENTITY_PROVIDER_TYPE_CHOICES, default=SAML, help_text=( 'Specifies which type of Identity Provider this verification originated from.' ) ) identity_provider_slug = models.SlugField( max_length=30, db_index=True, default='default', help_text=( 'The slug uniquely identifying the Identity Provider this verification originated from.' )) class Meta(object): app_label = "verify_student" def __unicode__(self): return 'SSOIDVerification for {name}, status: {status}'.format( name=self.name, status=self.status, ) def should_display_status_to_user(self): """Whether or not the status from this attempt should be displayed to the user.""" return False class PhotoVerification(IDVerificationAttempt): """ Each PhotoVerification represents a Student's attempt to establish their identity by uploading a photo of themselves and a picture ID. An attempt actually has a number of fields that need to be filled out at different steps of the approval process. While it's useful as a Django Model for the querying facilities, **you should only edit a `PhotoVerification` object through the methods provided**. Initialize them with a user: attempt = PhotoVerification(user=user) We track this attempt through various states: `created` Initial creation and state we're in after uploading the images. `ready` The user has uploaded their images and checked that they can read the images. There's a separate state here because it may be the case that we don't actually submit this attempt for review until payment is made. `submitted` Submitted for review. The review may be done by a staff member or an external service. The user cannot make changes once in this state. `must_retry` We submitted this, but there was an error on submission (i.e. we did not get a 200 when we POSTed to Software Secure) `approved` An admin or an external service has confirmed that the user's photo and photo ID match up, and that the photo ID's name matches the user's. `denied` The request has been denied. See `error_msg` for details on why. An admin might later override this and change to `approved`, but the student cannot re-open this attempt -- they have to create another attempt and submit it instead. Because this Model inherits from IDVerificationAttempt, which inherits from StatusModel, we can also do things like: attempt.status == PhotoVerification.STATUS.created attempt.status == "created" pending_requests = PhotoVerification.submitted.all() .. pii: The User's name is stored in the parent model, this one stores links to face and photo ID images .. pii_types: name, image .. pii_retirement: retained """ ######################## Fields Set During Creation ######################## # See class docstring for description of status states # Where we place the uploaded image files (e.g. S3 URLs) face_image_url = models.URLField(blank=True, max_length=255) photo_id_image_url = models.URLField(blank=True, max_length=255) # Randomly generated UUID so that external services can post back the # results of checking a user's photo submission without use exposing actual # user IDs or something too easily guessable. receipt_id = models.CharField( db_index=True, default=generateUUID, max_length=255, ) # Indicates whether or not a user wants to see the verification status # displayed on their dash. Right now, only relevant for allowing students # to "dismiss" a failed midcourse reverification message # TODO: This field is deprecated. display = models.BooleanField(db_index=True, default=True) ######################## Fields Set When Submitting ######################## submitted_at = models.DateTimeField(null=True, db_index=True) #################### Fields Set During Approval/Denial ##################### # If the review was done by an internal staff member, mark who it was. reviewing_user = models.ForeignKey( User, db_index=True, default=None, null=True, related_name="photo_verifications_reviewed", on_delete=models.CASCADE, ) # Mark the name of the service used to evaluate this attempt (e.g # Software Secure). reviewing_service = models.CharField(blank=True, max_length=255) # If status is "denied", this should contain text explaining why. error_msg = models.TextField(blank=True) # Non-required field. External services can add any arbitrary codes as time # goes on. We don't try to define an exhuastive list -- this is just # capturing it so that we can later query for the common problems. error_code = models.CharField(blank=True, max_length=50) class Meta(object): app_label = "verify_student" abstract = True ordering = ['-created_at'] def parsed_error_msg(self): """ Sometimes, the error message we've received needs to be parsed into something more human readable The default behavior is to return the current error message as is. """ return self.error_msg @status_before_must_be("created") def upload_face_image(self, img): raise NotImplementedError @status_before_must_be("created") def upload_photo_id_image(self, img): raise NotImplementedError @status_before_must_be("created") def mark_ready(self): """ Mark that the user data in this attempt is correct. In order to succeed, the user must have uploaded the necessary images (`face_image_url`, `photo_id_image_url`). This method will also copy their name from their user profile. Prior to marking it ready, we read this value directly from their profile, since they're free to change it. This often happens because people put in less formal versions of their name on signup, but realize they want something different to go on a formal document. Valid attempt statuses when calling this method: `created` Status after method completes: `ready` Other fields that will be set by this method: `name` State Transitions: `created` → `ready` This is what happens when the user confirms to us that the pictures they uploaded are good. Note that we don't actually do a submission anywhere yet. """ # At any point prior to this, they can change their names via their # student dashboard. But at this point, we lock the value into the # attempt. self.name = self.user.profile.name self.status = "ready" self.save() @status_before_must_be("must_retry", "submitted", "approved", "denied") def approve(self, user_id=None, service=""): """ Approve this attempt. `user_id` Valid attempt statuses when calling this method: `submitted`, `approved`, `denied` Status after method completes: `approved` Other fields that will be set by this method: `reviewed_by_user_id`, `reviewed_by_service`, `error_msg` State Transitions: `submitted` → `approved` This is the usual flow, whether initiated by a staff user or an external validation service. `approved` → `approved` No-op. First one to approve it wins. `denied` → `approved` This might happen if a staff member wants to override a decision made by an external service or another staff member (say, in response to a support request). In this case, the previous values of `reviewed_by_user_id` and `reviewed_by_service` will be changed to whoever is doing the approving, and `error_msg` will be reset. The only record that this record was ever denied would be in our logs. This should be a relatively rare occurence. """ # If someone approves an outdated version of this, the first one wins if self.status == "approved": return log.info(u"Verification for user '{user_id}' approved by '{reviewer}'.".format( user_id=self.user, reviewer=user_id )) self.error_msg = "" # reset, in case this attempt was denied before self.error_code = "" # reset, in case this attempt was denied before self.reviewing_user = user_id self.reviewing_service = service self.status = "approved" self.save() # Emit signal to find and generate eligible certificates LEARNER_NOW_VERIFIED.send_robust( sender=PhotoVerification, user=self.user ) @status_before_must_be("must_retry", "submitted", "approved", "denied") def deny(self, error_msg, error_code="", reviewing_user=None, reviewing_service=""): """ Deny this attempt. Valid attempt statuses when calling this method: `submitted`, `approved`, `denied` Status after method completes: `denied` Other fields that will be set by this method: `reviewed_by_user_id`, `reviewed_by_service`, `error_msg`, `error_code` State Transitions: `submitted` → `denied` This is the usual flow, whether initiated by a staff user or an external validation service. `approved` → `denied` This might happen if a staff member wants to override a decision made by an external service or another staff member, or just correct a mistake made during the approval process. In this case, the previous values of `reviewed_by_user_id` and `reviewed_by_service` will be changed to whoever is doing the denying. The only record that this record was ever approved would be in our logs. This should be a relatively rare occurence. `denied` → `denied` Update the error message and reviewing_user/reviewing_service. Just lets you amend the error message in case there were additional details to be made. """ log.info(u"Verification for user '{user_id}' denied by '{reviewer}'.".format( user_id=self.user, reviewer=reviewing_user )) self.error_msg = error_msg self.error_code = error_code self.reviewing_user = reviewing_user self.reviewing_service = reviewing_service self.status = "denied" self.save() @status_before_must_be("must_retry", "submitted", "approved", "denied") def system_error(self, error_msg, error_code="", reviewing_user=None, reviewing_service=""): """ Mark that this attempt could not be completed because of a system error. Status should be moved to `must_retry`. For example, if Software Secure reported to us that they couldn't process our submission because they couldn't decrypt the image we sent. """ if self.status in ["approved", "denied"]: return # If we were already approved or denied, just leave it. self.error_msg = error_msg self.error_code = error_code self.reviewing_user = reviewing_user self.reviewing_service = reviewing_service self.status = "must_retry" self.save() @classmethod def retire_user(cls, user_id): """ Retire user as part of GDPR Phase I Returns 'True' if records found :param user_id: int :return: bool """ try: user_obj = User.objects.get(id=user_id) except User.DoesNotExist: return False photo_objects = cls.objects.filter( user=user_obj ).update( name='', face_image_url='', photo_id_image_url='', photo_id_key='' ) return photo_objects > 0 class SoftwareSecurePhotoVerification(PhotoVerification): """ Model to verify identity using a service provided by Software Secure. Much of the logic is inherited from `PhotoVerification`, but this class encrypts the photos. Software Secure (http://www.softwaresecure.com/) is a remote proctoring service that also does identity verification. A student uses their webcam to upload two images: one of their face, one of a photo ID. Due to the sensitive nature of the data, the following security precautions are taken: 1. The snapshot of their face is encrypted using AES-256 in CBC mode. All face photos are encypted with the same key, and this key is known to both Software Secure and edx-platform. 2. The snapshot of a user's photo ID is also encrypted using AES-256, but the key is randomly generated using os.urandom. Every verification attempt has a new key. The AES key is then encrypted using a public key provided by Software Secure. We store only the RSA-encryped AES key. Since edx-platform does not have Software Secure's private RSA key, it means that we can no longer even read photo ID. 3. The encrypted photos are base64 encoded and stored in an S3 bucket that edx-platform does not have read access to. Note: this model handles *inital* verifications (which you must perform at the time you register for a verified cert). .. pii: The User's name is stored in the parent model, this one stores links to face and photo ID images .. pii_types: name, image .. pii_retirement: retained """ # This is a base64.urlsafe_encode(rsa_encrypt(photo_id_aes_key), ss_pub_key) # So first we generate a random AES-256 key to encrypt our photo ID with. # Then we RSA encrypt it with Software Secure's public key. Then we base64 # encode that. The result is saved here. Actual expected length is 344. photo_id_key = models.TextField(max_length=1024) IMAGE_LINK_DURATION = 5 * 60 * 60 * 24 # 5 days in seconds copy_id_photo_from = models.ForeignKey("self", null=True, blank=True, on_delete=models.CASCADE) # Fields for functionality of sending email when verification expires # expiry_date: The date when the SoftwareSecurePhotoVerification will expire # expiry_email_date: This field is used to maintain a check for learners to which email # to notify for expired verification is already sent. expiry_date = models.DateTimeField(null=True, blank=True, db_index=True) expiry_email_date = models.DateTimeField(null=True, blank=True, db_index=True) @status_before_must_be("must_retry", "submitted", "approved", "denied") def approve(self, user_id=None, service=""): """ Approve the verification attempt for user Valid attempt statuses when calling this method: `submitted`, `approved`, `denied` After method completes: status is set to `approved` expiry_date is set to one year from now """ self.expiry_date = now() + timedelta( days=settings.VERIFY_STUDENT["DAYS_GOOD_FOR"] ) super(SoftwareSecurePhotoVerification, self).approve(user_id, service) @classmethod def get_initial_verification(cls, user, earliest_allowed_date=None): """Get initial verification for a user with the 'photo_id_key'. Arguments: user(User): user object earliest_allowed_date(datetime): override expiration date for initial verification Return: SoftwareSecurePhotoVerification (object) or None """ init_verification = cls.objects.filter( user=user, status__in=["submitted", "approved"], created_at__gte=( earliest_allowed_date or earliest_allowed_verification_date() ) ).exclude(photo_id_key='') return init_verification.latest('created_at') if init_verification.exists() else None @status_before_must_be("created") def upload_face_image(self, img_data): """ Upload an image of the user's face. `img_data` should be a raw bytestream of a PNG image. This method will take the data, encrypt it using our FACE_IMAGE_AES_KEY, encode it with base64 and save it to the storage backend. Yes, encoding it to base64 adds compute and disk usage without much real benefit, but that's what the other end of this API is expecting to get. """ # Skip this whole thing if we're running acceptance tests or if we're # developing and aren't interested in working on student identity # verification functionality. If you do want to work on it, you have to # explicitly enable these in your private settings. if settings.FEATURES.get('AUTOMATIC_VERIFY_STUDENT_IDENTITY_FOR_TESTING'): return aes_key_str = settings.VERIFY_STUDENT["SOFTWARE_SECURE"]["FACE_IMAGE_AES_KEY"] aes_key = aes_key_str.decode("hex") path = self._get_path("face") buff = ContentFile(encrypt_and_encode(img_data, aes_key)) self._storage.save(path, buff) @status_before_must_be("created") def upload_photo_id_image(self, img_data): """ Upload an the user's photo ID image. `img_data` should be a raw bytestream of a PNG image. This method will take the data, encrypt it using a randomly generated AES key, encode it with base64 and save it to the storage backend. The random key is also encrypted using Software Secure's public RSA key and stored in our `photo_id_key` field. Yes, encoding it to base64 adds compute and disk usage without much real benefit, but that's what the other end of this API is expecting to get. """ # Skip this whole thing if we're running acceptance tests or if we're # developing and aren't interested in working on student identity # verification functionality. If you do want to work on it, you have to # explicitly enable these in your private settings. if settings.FEATURES.get('AUTOMATIC_VERIFY_STUDENT_IDENTITY_FOR_TESTING'): # fake photo id key is set only for initial verification self.photo_id_key = 'fake-photo-id-key' self.save() return aes_key = random_aes_key() rsa_key_str = settings.VERIFY_STUDENT["SOFTWARE_SECURE"]["RSA_PUBLIC_KEY"] rsa_encrypted_aes_key = rsa_encrypt(aes_key, rsa_key_str) # Save this to the storage backend path = self._get_path("photo_id") buff = ContentFile(encrypt_and_encode(img_data, aes_key)) self._storage.save(path, buff) # Update our record fields self.photo_id_key = rsa_encrypted_aes_key.encode('base64') self.save() @status_before_must_be("must_retry", "ready", "submitted") def submit(self, copy_id_photo_from=None): """ Submit our verification attempt to Software Secure for validation. This will set our status to "submitted" if the post is successful, and "must_retry" if the post fails. Keyword Arguments: copy_id_photo_from (SoftwareSecurePhotoVerification): If provided, re-send the ID photo data from this attempt. This is used for reverification, in which new face photos are sent with previously-submitted ID photos. """ try: response = self.send_request(copy_id_photo_from=copy_id_photo_from) if response.ok: self.submitted_at = now() self.status = "submitted" self.save() else: self.status = "must_retry" self.error_msg = response.text self.save() except Exception: # pylint: disable=broad-except log.exception( u'Software Secure submission failed for user %s, setting status to must_retry', self.user.username ) self.status = "must_retry" self.save() def parsed_error_msg(self): """ Parse the error messages we receive from SoftwareSecure Error messages are written in the form: `[{"photoIdReasons": ["Not provided"]}]` Returns: str[]: List of error messages. """ parsed_errors = [] error_map = { 'EdX name not provided': 'name_mismatch', 'Name mismatch': 'name_mismatch', 'Photo/ID Photo mismatch': 'photos_mismatched', 'ID name not provided': 'id_image_missing_name', 'Invalid Id': 'id_invalid', 'No text': 'id_invalid', 'Not provided': 'id_image_missing', 'Photo hidden/No photo': 'id_image_not_clear', 'Text not clear': 'id_image_not_clear', 'Face out of view': 'user_image_not_clear', 'Image not clear': 'user_image_not_clear', 'Photo not provided': 'user_image_missing', } try: messages = set() message_groups = json.loads(self.error_msg) for message_group in message_groups: messages = messages.union(set(*six.itervalues(message_group))) for message in messages: parsed_error = error_map.get(message) if parsed_error: parsed_errors.append(parsed_error) else: log.debug(u'Ignoring photo verification error message: %s', message) except Exception: # pylint: disable=broad-except log.exception(u'Failed to parse error message for SoftwareSecurePhotoVerification %d', self.pk) return parsed_errors def image_url(self, name, override_receipt_id=None): """ We dynamically generate this, since we want it the expiration clock to start when the message is created, not when the record is created. Arguments: name (str): Name of the image (e.g. "photo_id" or "face") Keyword Arguments: override_receipt_id (str): If provided, use this receipt ID instead of the ID for this attempt. This is useful for reverification where we need to construct a URL to a previously-submitted photo ID image. Returns: string: The expiring URL for the image. """ path = self._get_path(name, override_receipt_id=override_receipt_id) return self._storage.url(path) @cached_property def _storage(self): """ Return the configured django storage backend. """ config = settings.VERIFY_STUDENT["SOFTWARE_SECURE"] # Default to the S3 backend for backward compatibility storage_class = config.get("STORAGE_CLASS", "storages.backends.s3boto.S3BotoStorage") storage_kwargs = config.get("STORAGE_KWARGS", {}) # Map old settings to the parameters expected by the storage backend if "AWS_ACCESS_KEY" in config: storage_kwargs["access_key"] = config["AWS_ACCESS_KEY"] if "AWS_SECRET_KEY" in config: storage_kwargs["secret_key"] = config["AWS_SECRET_KEY"] if "S3_BUCKET" in config: storage_kwargs["bucket"] = config["S3_BUCKET"] storage_kwargs["querystring_expire"] = self.IMAGE_LINK_DURATION return get_storage(storage_class, **storage_kwargs) def _get_path(self, prefix, override_receipt_id=None): """ Returns the path to a resource with this instance's `receipt_id`. If `override_receipt_id` is given, the path to that resource will be retrieved instead. This allows us to retrieve images submitted in previous attempts (used for reverification, where we send a new face photo with the same photo ID from a previous attempt). """ receipt_id = self.receipt_id if override_receipt_id is None else override_receipt_id return os.path.join(prefix, receipt_id) def _encrypted_user_photo_key_str(self): """ Software Secure needs to have both UserPhoto and PhotoID decrypted in the same manner. So even though this is going to be the same for every request, we're also using RSA encryption to encrypt the AES key for faces. """ face_aes_key_str = settings.VERIFY_STUDENT["SOFTWARE_SECURE"]["FACE_IMAGE_AES_KEY"] face_aes_key = face_aes_key_str.decode("hex") rsa_key_str = settings.VERIFY_STUDENT["SOFTWARE_SECURE"]["RSA_PUBLIC_KEY"] rsa_encrypted_face_aes_key = rsa_encrypt(face_aes_key, rsa_key_str) return rsa_encrypted_face_aes_key.encode("base64") def create_request(self, copy_id_photo_from=None): """ Construct the HTTP request to the photo verification service. Keyword Arguments: copy_id_photo_from (SoftwareSecurePhotoVerification): If provided, re-send the ID photo data from this attempt. This is used for reverification, in which new face photos are sent with previously-submitted ID photos. Returns: tuple of (header, body), where both `header` and `body` are dictionaries. """ access_key = settings.VERIFY_STUDENT["SOFTWARE_SECURE"]["API_ACCESS_KEY"] secret_key = settings.VERIFY_STUDENT["SOFTWARE_SECURE"]["API_SECRET_KEY"] scheme = "https" if settings.HTTPS == "on" else "http" callback_url = "{}://{}{}".format( scheme, settings.SITE_NAME, reverse('verify_student_results_callback') ) # If we're copying the photo ID image from a previous verification attempt, # then we need to send the old image data with the correct image key. photo_id_url = ( self.image_url("photo_id") if copy_id_photo_from is None else self.image_url("photo_id", override_receipt_id=copy_id_photo_from.receipt_id) ) photo_id_key = ( self.photo_id_key if copy_id_photo_from is None else copy_id_photo_from.photo_id_key ) body = { "EdX-ID": str(self.receipt_id), "ExpectedName": self.name, "PhotoID": photo_id_url, "PhotoIDKey": photo_id_key, "SendResponseTo": callback_url, "UserPhoto": self.image_url("face"), "UserPhotoKey": self._encrypted_user_photo_key_str(), } headers = { "Content-Type": "application/json", "Date": formatdate(timeval=None, localtime=False, usegmt=True) } _message, _sig, authorization = generate_signed_message( "POST", headers, body, access_key, secret_key ) headers['Authorization'] = authorization return headers, body def request_message_txt(self): """ This is the body of the request we send across. This is never actually used in the code, but exists for debugging purposes -- you can call `print attempt.request_message_txt()` on the console and get a readable rendering of the request that would be sent across, without actually sending anything. """ headers, body = self.create_request() header_txt = "\n".join( u"{}: {}".format(h, v) for h, v in sorted(headers.items()) ) body_txt = json.dumps(body, indent=2, sort_keys=True, ensure_ascii=False).encode('utf-8') return header_txt + "\n\n" + body_txt def send_request(self, copy_id_photo_from=None): """ Assembles a submission to Software Secure and sends it via HTTPS. Keyword Arguments: copy_id_photo_from (SoftwareSecurePhotoVerification): If provided, re-send the ID photo data from this attempt. This is used for reverification, in which new face photos are sent with previously-submitted ID photos. Returns: request.Response """ # If AUTOMATIC_VERIFY_STUDENT_IDENTITY_FOR_TESTING is True, we want to # skip posting anything to Software Secure. We actually don't even # create the message because that would require encryption and message # signing that rely on settings.VERIFY_STUDENT values that aren't set # in dev. So we just pretend like we successfully posted if settings.FEATURES.get('AUTOMATIC_VERIFY_STUDENT_IDENTITY_FOR_TESTING'): fake_response = requests.Response() fake_response.status_code = 200 return fake_response headers, body = self.create_request(copy_id_photo_from=copy_id_photo_from) response = requests.post( settings.VERIFY_STUDENT["SOFTWARE_SECURE"]["API_URL"], headers=headers, data=json.dumps(body, indent=2, sort_keys=True, ensure_ascii=False).encode('utf-8'), verify=False ) log.info(u"Sent request to Software Secure for receipt ID %s.", self.receipt_id) if copy_id_photo_from is not None: log.info( ( u"Software Secure attempt with receipt ID %s used the same photo ID " u"data as the receipt with ID %s" ), self.receipt_id, copy_id_photo_from.receipt_id ) log.debug("Headers:\n{}\n\n".format(headers)) log.debug("Body:\n{}\n\n".format(body)) log.debug(u"Return code: {}".format(response.status_code)) log.debug(u"Return message:\n\n{}\n\n".format(response.text)) return response def should_display_status_to_user(self): """Whether or not the status from this attempt should be displayed to the user.""" return True class VerificationDeadline(TimeStampedModel): """ Represent a verification deadline for a particular course. The verification deadline is the datetime after which users are no longer allowed to submit photos for initial verification in a course. Note that this is NOT the same as the "upgrade" deadline, after which a user is no longer allowed to upgrade to a verified enrollment. If no verification deadline record exists for a course, then that course does not have a deadline. This means that users can submit photos at any time. .. no_pii: """ class Meta(object): app_label = "verify_student" course_key = CourseKeyField( max_length=255, db_index=True, unique=True, help_text=ugettext_lazy(u"The course for which this deadline applies"), ) deadline = models.DateTimeField( help_text=ugettext_lazy( u"The datetime after which users are no longer allowed " "to submit photos for verification." ) ) # The system prefers to set this automatically based on default settings. But # if the field is set manually we want a way to indicate that so we don't # overwrite the manual setting of the field. deadline_is_explicit = models.BooleanField(default=False) ALL_DEADLINES_CACHE_KEY = "verify_student.all_verification_deadlines" @classmethod def set_deadline(cls, course_key, deadline, is_explicit=False): """ Configure the verification deadline for a course. If `deadline` is `None`, then the course will have no verification deadline. In this case, users will be able to verify for the course at any time. Arguments: course_key (CourseKey): Identifier for the course. deadline (datetime or None): The verification deadline. """ if deadline is None: VerificationDeadline.objects.filter(course_key=course_key).delete() else: record, created = VerificationDeadline.objects.get_or_create( course_key=course_key, defaults={"deadline": deadline, "deadline_is_explicit": is_explicit} ) if not created: record.deadline = deadline record.deadline_is_explicit = is_explicit record.save() @classmethod def deadlines_for_courses(cls, course_keys): """ Retrieve verification deadlines for particular courses. Arguments: course_keys (list): List of `CourseKey`s. Returns: dict: Map of course keys to datetimes (verification deadlines) """ all_deadlines = cache.get(cls.ALL_DEADLINES_CACHE_KEY) if all_deadlines is None: all_deadlines = { deadline.course_key: deadline.deadline for deadline in VerificationDeadline.objects.all() } cache.set(cls.ALL_DEADLINES_CACHE_KEY, all_deadlines) return { course_key: all_deadlines[course_key] for course_key in course_keys if course_key in all_deadlines } @classmethod def deadline_for_course(cls, course_key): """ Retrieve the verification deadline for a particular course. Arguments: course_key (CourseKey): The identifier for the course. Returns: datetime or None """ try: deadline = cls.objects.get(course_key=course_key) return deadline.deadline except cls.DoesNotExist: return None @receiver(models.signals.post_save, sender=VerificationDeadline) @receiver(models.signals.post_delete, sender=VerificationDeadline) def invalidate_deadline_caches(sender, **kwargs): # pylint: disable=unused-argument """Invalidate the cached verification deadline information. """ cache.delete(VerificationDeadline.ALL_DEADLINES_CACHE_KEY)
jolyonb/edx-platform
lms/djangoapps/verify_student/models.py
Python
agpl-3.0
40,982
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # 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 Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # ############################################################################## from datetime import datetime from dateutil.relativedelta import relativedelta import time from operator import itemgetter from itertools import groupby from openerp.osv import fields, osv, orm from openerp.tools.translate import _ from openerp import netsvc from openerp import tools from openerp.tools import float_compare, DEFAULT_SERVER_DATETIME_FORMAT import openerp.addons.decimal_precision as dp import logging _logger = logging.getLogger(__name__) #---------------------------------------------------------- # Incoterms #---------------------------------------------------------- class stock_incoterms(osv.osv): _name = "stock.incoterms" _description = "Incoterms" _columns = { 'name': fields.char('Name', size=64, required=True, help="Incoterms are series of sales terms.They are used to divide transaction costs and responsibilities between buyer and seller and reflect state-of-the-art transportation practices."), 'code': fields.char('Code', size=3, required=True, help="Code for Incoterms"), 'active': fields.boolean('Active', help="By unchecking the active field, you may hide an INCOTERM without deleting it."), } _defaults = { 'active': True, } stock_incoterms() class stock_journal(osv.osv): _name = "stock.journal" _description = "Stock Journal" _columns = { 'name': fields.char('Stock Journal', size=32, required=True), 'user_id': fields.many2one('res.users', 'Responsible'), } _defaults = { 'user_id': lambda s, c, u, ctx: u } stock_journal() #---------------------------------------------------------- # Stock Location #---------------------------------------------------------- class stock_location(osv.osv): _name = "stock.location" _description = "Location" _parent_name = "location_id" _parent_store = True _parent_order = 'posz,name' _order = 'parent_left' # TODO: implement name_search() in a way that matches the results of name_get! def name_get(self, cr, uid, ids, context=None): # always return the full hierarchical name res = self._complete_name(cr, uid, ids, 'complete_name', None, context=context) return res.items() def _complete_name(self, cr, uid, ids, name, args, context=None): """ Forms complete name of location from parent location to child location. @return: Dictionary of values """ res = {} for m in self.browse(cr, uid, ids, context=context): names = [m.name] parent = m.location_id while parent: names.append(parent.name) parent = parent.location_id res[m.id] = ' / '.join(reversed(names)) return res def _get_sublocations(self, cr, uid, ids, context=None): """ return all sublocations of the given stock locations (included) """ return self.search(cr, uid, [('id', 'child_of', ids)], context=context) def _product_value(self, cr, uid, ids, field_names, arg, context=None): """Computes stock value (real and virtual) for a product, as well as stock qty (real and virtual). @param field_names: Name of field @return: Dictionary of values """ prod_id = context and context.get('product_id', False) if not prod_id: return dict([(i, {}.fromkeys(field_names, 0.0)) for i in ids]) product_product_obj = self.pool.get('product.product') cr.execute('select distinct product_id, location_id from stock_move where location_id in %s', (tuple(ids), )) dict1 = cr.dictfetchall() cr.execute('select distinct product_id, location_dest_id as location_id from stock_move where location_dest_id in %s', (tuple(ids), )) dict2 = cr.dictfetchall() res_products_by_location = sorted(dict1+dict2, key=itemgetter('location_id')) products_by_location = dict((k, [v['product_id'] for v in itr]) for k, itr in groupby(res_products_by_location, itemgetter('location_id'))) result = dict([(i, {}.fromkeys(field_names, 0.0)) for i in ids]) result.update(dict([(i, {}.fromkeys(field_names, 0.0)) for i in list(set([aaa['location_id'] for aaa in res_products_by_location]))])) currency_id = self.pool.get('res.users').browse(cr, uid, uid).company_id.currency_id.id currency_obj = self.pool.get('res.currency') currency = currency_obj.browse(cr, uid, currency_id, context=context) for loc_id, product_ids in products_by_location.items(): if prod_id: product_ids = [prod_id] c = (context or {}).copy() c['location'] = loc_id for prod in product_product_obj.browse(cr, uid, product_ids, context=c): for f in field_names: if f == 'stock_real': if loc_id not in result: result[loc_id] = {} result[loc_id][f] += prod.qty_available elif f == 'stock_virtual': result[loc_id][f] += prod.virtual_available elif f == 'stock_real_value': amount = prod.qty_available * prod.standard_price amount = currency_obj.round(cr, uid, currency, amount) result[loc_id][f] += amount elif f == 'stock_virtual_value': amount = prod.virtual_available * prod.standard_price amount = currency_obj.round(cr, uid, currency, amount) result[loc_id][f] += amount return result _columns = { 'name': fields.char('Location Name', size=64, required=True, translate=True), 'active': fields.boolean('Active', help="By unchecking the active field, you may hide a location without deleting it."), 'usage': fields.selection([('supplier', 'Supplier Location'), ('view', 'View'), ('internal', 'Internal Location'), ('customer', 'Customer Location'), ('inventory', 'Inventory'), ('procurement', 'Procurement'), ('production', 'Production'), ('transit', 'Transit Location for Inter-Companies Transfers')], 'Location Type', required=True, help="""* Supplier Location: Virtual location representing the source location for products coming from your suppliers \n* View: Virtual location used to create a hierarchical structures for your warehouse, aggregating its child locations ; can't directly contain products \n* Internal Location: Physical locations inside your own warehouses, \n* Customer Location: Virtual location representing the destination location for products sent to your customers \n* Inventory: Virtual location serving as counterpart for inventory operations used to correct stock levels (Physical inventories) \n* Procurement: Virtual location serving as temporary counterpart for procurement operations when the source (supplier or production) is not known yet. This location should be empty when the procurement scheduler has finished running. \n* Production: Virtual counterpart location for production operations: this location consumes the raw material and produces finished products """, select = True), # temporarily removed, as it's unused: 'allocation_method': fields.selection([('fifo', 'FIFO'), ('lifo', 'LIFO'), ('nearest', 'Nearest')], 'Allocation Method', required=True), 'complete_name': fields.function(_complete_name, type='char', size=256, string="Location Name", store={'stock.location': (_get_sublocations, ['name', 'location_id'], 10)}), 'stock_real': fields.function(_product_value, type='float', string='Real Stock', multi="stock"), 'stock_virtual': fields.function(_product_value, type='float', string='Virtual Stock', multi="stock"), 'location_id': fields.many2one('stock.location', 'Parent Location', select=True, ondelete='cascade'), 'child_ids': fields.one2many('stock.location', 'location_id', 'Contains'), 'chained_journal_id': fields.many2one('stock.journal', 'Chaining Journal',help="Inventory Journal in which the chained move will be written, if the Chaining Type is not Transparent (no journal is used if left empty)"), 'chained_location_id': fields.many2one('stock.location', 'Chained Location If Fixed'), 'chained_location_type': fields.selection([('none', 'None'), ('customer', 'Customer'), ('fixed', 'Fixed Location')], 'Chained Location Type', required=True, help="Determines whether this location is chained to another location, i.e. any incoming product in this location \n" \ "should next go to the chained location. The chained location is determined according to the type :"\ "\n* None: No chaining at all"\ "\n* Customer: The chained location will be taken from the Customer Location field on the Partner form of the Partner that is specified in the Picking list of the incoming products." \ "\n* Fixed Location: The chained location is taken from the next field: Chained Location if Fixed." \ ), 'chained_auto_packing': fields.selection( [('auto', 'Automatic Move'), ('manual', 'Manual Operation'), ('transparent', 'Automatic No Step Added')], 'Chaining Type', required=True, help="This is used only if you select a chained location type.\n" \ "The 'Automatic Move' value will create a stock move after the current one that will be "\ "validated automatically. With 'Manual Operation', the stock move has to be validated "\ "by a worker. With 'Automatic No Step Added', the location is replaced in the original move." ), 'chained_picking_type': fields.selection([('out', 'Sending Goods'), ('in', 'Getting Goods'), ('internal', 'Internal')], 'Shipping Type', help="Shipping Type of the Picking List that will contain the chained move (leave empty to automatically detect the type based on the source and destination locations)."), 'chained_company_id': fields.many2one('res.company', 'Chained Company', help='The company the Picking List containing the chained move will belong to (leave empty to use the default company determination rules'), 'chained_delay': fields.integer('Chaining Lead Time',help="Delay between original move and chained move in days"), 'partner_id': fields.many2one('res.partner', 'Location Address',help="Address of customer or supplier."), 'icon': fields.selection(tools.icons, 'Icon', size=64,help="Icon show in hierarchical tree view"), 'comment': fields.text('Additional Information'), 'posx': fields.integer('Corridor (X)',help="Optional localization details, for information purpose only"), 'posy': fields.integer('Shelves (Y)', help="Optional localization details, for information purpose only"), 'posz': fields.integer('Height (Z)', help="Optional localization details, for information purpose only"), 'parent_left': fields.integer('Left Parent', select=1), 'parent_right': fields.integer('Right Parent', select=1), 'stock_real_value': fields.function(_product_value, type='float', string='Real Stock Value', multi="stock", digits_compute=dp.get_precision('Account')), 'stock_virtual_value': fields.function(_product_value, type='float', string='Virtual Stock Value', multi="stock", digits_compute=dp.get_precision('Account')), 'company_id': fields.many2one('res.company', 'Company', select=1, help='Let this field empty if this location is shared between all companies'), 'scrap_location': fields.boolean('Scrap Location', help='Check this box to allow using this location to put scrapped/damaged goods.'), 'valuation_in_account_id': fields.many2one('account.account', 'Stock Valuation Account (Incoming)', domain = [('type','=','other')], help="Used for real-time inventory valuation. When set on a virtual location (non internal type), " "this account will be used to hold the value of products being moved from an internal location " "into this location, instead of the generic Stock Output Account set on the product. " "This has no effect for internal locations."), 'valuation_out_account_id': fields.many2one('account.account', 'Stock Valuation Account (Outgoing)', domain = [('type','=','other')], help="Used for real-time inventory valuation. When set on a virtual location (non internal type), " "this account will be used to hold the value of products being moved out of this location " "and into an internal location, instead of the generic Stock Output Account set on the product. " "This has no effect for internal locations."), } _defaults = { 'active': True, 'usage': 'internal', 'chained_location_type': 'none', 'chained_auto_packing': 'manual', 'company_id': lambda self, cr, uid, c: self.pool.get('res.company')._company_default_get(cr, uid, 'stock.location', context=c), 'posx': 0, 'posy': 0, 'posz': 0, 'icon': False, 'scrap_location': False, } def chained_location_get(self, cr, uid, location, partner=None, product=None, context=None): """ Finds chained location @param location: Location id @param partner: Partner id @param product: Product id @return: List of values """ result = None if location.chained_location_type == 'customer': if partner: result = partner.property_stock_customer else: loc_id = self.pool['res.partner'].default_get(cr, uid, ['property_stock_customer'], context=context)['property_stock_customer'] result = self.pool['stock.location'].browse(cr, uid, loc_id, context=context) elif location.chained_location_type == 'fixed': result = location.chained_location_id if result: return result, location.chained_auto_packing, location.chained_delay, location.chained_journal_id and location.chained_journal_id.id or False, location.chained_company_id and location.chained_company_id.id or False, location.chained_picking_type, False return result def picking_type_get(self, cr, uid, from_location, to_location, context=None): """ Gets type of picking. @param from_location: Source location @param to_location: Destination location @return: Location type """ result = 'internal' if (from_location.usage=='internal') and (to_location and to_location.usage in ('customer', 'supplier')): result = 'out' elif (from_location.usage in ('supplier', 'customer')) and (to_location.usage == 'internal'): result = 'in' return result def _product_get_all_report(self, cr, uid, ids, product_ids=False, context=None): return self._product_get_report(cr, uid, ids, product_ids, context, recursive=True) def _product_get_report(self, cr, uid, ids, product_ids=False, context=None, recursive=False): """ Finds the product quantity and price for particular location. @param product_ids: Ids of product @param recursive: True or False @return: Dictionary of values """ if context is None: context = {} product_obj = self.pool.get('product.product') # Take the user company and pricetype context['currency_id'] = self.pool.get('res.users').browse(cr, uid, uid, context=context).company_id.currency_id.id # To be able to offer recursive or non-recursive reports we need to prevent recursive quantities by default context['compute_child'] = False if not product_ids: product_ids = product_obj.search(cr, uid, [], context={'active_test': False}) products = product_obj.browse(cr, uid, product_ids, context=context) products_by_uom = {} products_by_id = {} for product in products: products_by_uom.setdefault(product.uom_id.id, []) products_by_uom[product.uom_id.id].append(product) products_by_id.setdefault(product.id, []) products_by_id[product.id] = product result = {} result['product'] = [] for id in ids: quantity_total = 0.0 total_price = 0.0 for uom_id in products_by_uom.keys(): fnc = self._product_get if recursive: fnc = self._product_all_get ctx = context.copy() ctx['uom'] = uom_id qty = fnc(cr, uid, id, [x.id for x in products_by_uom[uom_id]], context=ctx) for product_id in qty.keys(): if not qty[product_id]: continue product = products_by_id[product_id] quantity_total += qty[product_id] # Compute based on pricetype # Choose the right filed standard_price to read amount_unit = product.price_get('standard_price', context=context)[product.id] price = qty[product_id] * amount_unit total_price += price result['product'].append({ 'price': amount_unit, 'prod_name': product.name, 'code': product.default_code, # used by lot_overview_all report! 'variants': product.variants or '', 'uom': product.uom_id.name, 'prod_qty': qty[product_id], 'price_value': price, }) result['total'] = quantity_total result['total_price'] = total_price return result def _product_get_multi_location(self, cr, uid, ids, product_ids=False, context=None, states=['done'], what=('in', 'out')): """ @param product_ids: Ids of product @param states: List of states @param what: Tuple of @return: """ product_obj = self.pool.get('product.product') if context is None: context = {} context.update({ 'states': states, 'what': what, 'location': ids }) return product_obj.get_product_available(cr, uid, product_ids, context=context) def _product_get(self, cr, uid, id, product_ids=False, context=None, states=None): """ @param product_ids: @param states: @return: """ if states is None: states = ['done'] ids = id and [id] or [] return self._product_get_multi_location(cr, uid, ids, product_ids, context=context, states=states) def _product_all_get(self, cr, uid, id, product_ids=False, context=None, states=None): if states is None: states = ['done'] # build the list of ids of children of the location given by id ids = id and [id] or [] location_ids = self.search(cr, uid, [('location_id', 'child_of', ids)]) return self._product_get_multi_location(cr, uid, location_ids, product_ids, context, states) def _product_virtual_get(self, cr, uid, id, product_ids=False, context=None, states=None): if states is None: states = ['done'] return self._product_all_get(cr, uid, id, product_ids, context, ['confirmed', 'waiting', 'assigned', 'done']) def _product_reserve(self, cr, uid, ids, product_id, product_qty, context=None, lock=False): """ Attempt to find a quantity ``product_qty`` (in the product's default uom or the uom passed in ``context``) of product ``product_id`` in locations with id ``ids`` and their child locations. If ``lock`` is True, the stock.move lines of product with id ``product_id`` in the searched location will be write-locked using Postgres's "FOR UPDATE NOWAIT" option until the transaction is committed or rolled back, to prevent reservin twice the same products. If ``lock`` is True and the lock cannot be obtained (because another transaction has locked some of the same stock.move lines), a log line will be output and False will be returned, as if there was not enough stock. :param product_id: Id of product to reserve :param product_qty: Quantity of product to reserve (in the product's default uom or the uom passed in ``context``) :param lock: if True, the stock.move lines of product with id ``product_id`` in all locations (and children locations) with ``ids`` will be write-locked using postgres's "FOR UPDATE NOWAIT" option until the transaction is committed or rolled back. This is to prevent reserving twice the same products. :param context: optional context dictionary: if a 'uom' key is present it will be used instead of the default product uom to compute the ``product_qty`` and in the return value. :return: List of tuples in the form (qty, location_id) with the (partial) quantities that can be taken in each location to reach the requested product_qty (``qty`` is expressed in the default uom of the product), of False if enough products could not be found, or the lock could not be obtained (and ``lock`` was True). """ result = [] amount = 0.0 if context is None: context = {} uom_obj = self.pool.get('product.uom') uom_rounding = self.pool.get('product.product').browse(cr, uid, product_id, context=context).uom_id.rounding if context.get('uom'): uom_rounding = uom_obj.browse(cr, uid, context.get('uom'), context=context).rounding locations_ids = self.search(cr, uid, [('location_id', 'child_of', ids)]) if locations_ids: # Fetch only the locations in which this product has ever been processed (in or out) cr.execute("""SELECT l.id FROM stock_location l WHERE l.id in %s AND EXISTS (SELECT 1 FROM stock_move m WHERE m.product_id = %s AND ((state = 'done' AND m.location_dest_id = l.id) OR (state in ('done','assigned') AND m.location_id = l.id))) """, (tuple(locations_ids), product_id,)) locations_ids = [i for (i,) in cr.fetchall()] for id in locations_ids: if lock: try: # Must lock with a separate select query because FOR UPDATE can't be used with # aggregation/group by's (when individual rows aren't identifiable). # We use a SAVEPOINT to be able to rollback this part of the transaction without # failing the whole transaction in case the LOCK cannot be acquired. cr.execute("SAVEPOINT stock_location_product_reserve") cr.execute("""SELECT id FROM stock_move WHERE product_id=%s AND ( (location_dest_id=%s AND location_id<>%s AND state='done') OR (location_id=%s AND location_dest_id<>%s AND state in ('done', 'assigned')) ) FOR UPDATE of stock_move NOWAIT""", (product_id, id, id, id, id), log_exceptions=False) except Exception: # Here it's likely that the FOR UPDATE NOWAIT failed to get the LOCK, # so we ROLLBACK to the SAVEPOINT to restore the transaction to its earlier # state, we return False as if the products were not available, and log it: cr.execute("ROLLBACK TO stock_location_product_reserve") _logger.warning("Failed attempt to reserve %s x product %s, likely due to another transaction already in progress. Next attempt is likely to work. Detailed error available at DEBUG level.", product_qty, product_id) _logger.debug("Trace of the failed product reservation attempt: ", exc_info=True) return False # XXX TODO: rewrite this with one single query, possibly even the quantity conversion cr.execute("""SELECT product_uom, sum(product_qty) AS product_qty FROM stock_move WHERE location_dest_id=%s AND location_id<>%s AND product_id=%s AND state='done' GROUP BY product_uom """, (id, id, product_id)) results = cr.dictfetchall() cr.execute("""SELECT product_uom,-sum(product_qty) AS product_qty FROM stock_move WHERE location_id=%s AND location_dest_id<>%s AND product_id=%s AND state in ('done', 'assigned') GROUP BY product_uom """, (id, id, product_id)) results += cr.dictfetchall() total = 0.0 results2 = 0.0 for r in results: amount = uom_obj._compute_qty(cr, uid, r['product_uom'], r['product_qty'], context.get('uom', False)) results2 += amount total += amount if total <= 0.0: continue amount = results2 compare_qty = float_compare(amount, 0, precision_rounding=uom_rounding) if compare_qty == 1: if amount > min(total, product_qty): amount = min(product_qty, total) result.append((amount, id)) product_qty -= amount total -= amount if product_qty <= 0.0: return result if total <= 0.0: continue return False stock_location() class stock_tracking(osv.osv): _name = "stock.tracking" _description = "Packs" def checksum(sscc): salt = '31' * 8 + '3' sum = 0 for sscc_part, salt_part in zip(sscc, salt): sum += int(sscc_part) * int(salt_part) return (10 - (sum % 10)) % 10 checksum = staticmethod(checksum) def make_sscc(self, cr, uid, context=None): sequence = self.pool.get('ir.sequence').get(cr, uid, 'stock.lot.tracking') try: return sequence + str(self.checksum(sequence)) except Exception: return sequence _columns = { 'name': fields.char('Pack Reference', size=64, required=True, select=True, help="By default, the pack reference is generated following the sscc standard. (Serial number + 1 check digit)"), 'active': fields.boolean('Active', help="By unchecking the active field, you may hide a pack without deleting it."), 'serial': fields.char('Additional Reference', size=64, select=True, help="Other reference or serial number"), 'move_ids': fields.one2many('stock.move', 'tracking_id', 'Moves for this pack', readonly=True), 'date': fields.datetime('Creation Date', required=True), } _defaults = { 'active': 1, 'name': make_sscc, 'date': lambda *a: time.strftime('%Y-%m-%d %H:%M:%S'), } def name_search(self, cr, user, name, args=None, operator='ilike', context=None, limit=100): if not args: args = [] ids = self.search(cr, user, [('serial', '=', name)]+ args, limit=limit, context=context) ids += self.search(cr, user, [('name', operator, name)]+ args, limit=limit, context=context) return self.name_get(cr, user, ids, context) def name_get(self, cr, uid, ids, context=None): """Append the serial to the name""" if not len(ids): return [] res = [ (r['id'], r['serial'] and '%s [%s]' % (r['name'], r['serial']) or r['name'] ) for r in self.read(cr, uid, ids, ['name', 'serial'], context=context) ] return res def unlink(self, cr, uid, ids, context=None): raise osv.except_osv(_('Error!'), _('You cannot remove a lot line.')) def action_traceability(self, cr, uid, ids, context=None): """ It traces the information of a product @param self: The object pointer. @param cr: A database cursor @param uid: ID of the user currently logged in @param ids: List of IDs selected @param context: A standard dictionary @return: A dictionary of values """ return self.pool.get('action.traceability').action_traceability(cr,uid,ids,context) stock_tracking() #---------------------------------------------------------- # Stock Picking #---------------------------------------------------------- class stock_picking(osv.osv): _name = "stock.picking" _inherit = ['mail.thread'] _description = "Picking List" _order = "id desc" def _set_maximum_date(self, cr, uid, ids, name, value, arg, context=None): """ Calculates planned date if it is greater than 'value'. @param name: Name of field @param value: Value of field @param arg: User defined argument @return: True or False """ if not value: return False if isinstance(ids, (int, long)): ids = [ids] for pick in self.browse(cr, uid, ids, context=context): sql_str = """update stock_move set date_expected='%s' where picking_id=%d """ % (value, pick.id) if pick.max_date: sql_str += " and (date_expected='" + pick.max_date + "')" cr.execute(sql_str) return True def _set_minimum_date(self, cr, uid, ids, name, value, arg, context=None): """ Calculates planned date if it is less than 'value'. @param name: Name of field @param value: Value of field @param arg: User defined argument @return: True or False """ if not value: return False if isinstance(ids, (int, long)): ids = [ids] for pick in self.browse(cr, uid, ids, context=context): sql_str = """update stock_move set date_expected='%s' where picking_id=%s """ % (value, pick.id) if pick.min_date: sql_str += " and (date_expected='" + pick.min_date + "')" cr.execute(sql_str) return True def get_min_max_date(self, cr, uid, ids, field_name, arg, context=None): """ Finds minimum and maximum dates for picking. @return: Dictionary of values """ res = {} for id in ids: res[id] = {'min_date': False, 'max_date': False} if not ids: return res cr.execute("""select picking_id, min(date_expected), max(date_expected) from stock_move where picking_id IN %s group by picking_id""",(tuple(ids),)) for pick, dt1, dt2 in cr.fetchall(): res[pick]['min_date'] = dt1 res[pick]['max_date'] = dt2 return res def create(self, cr, user, vals, context=None): if ('name' not in vals) or (vals.get('name')=='/'): seq_obj_name = self._name vals['name'] = self.pool.get('ir.sequence').get(cr, user, seq_obj_name) new_id = super(stock_picking, self).create(cr, user, vals, context) return new_id _columns = { 'name': fields.char('Reference', size=64, select=True, states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}), 'origin': fields.char('Source Document', size=64, states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}, help="Reference of the document", select=True), 'backorder_id': fields.many2one('stock.picking', 'Back Order of', states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}, help="If this shipment was split, then this field links to the shipment which contains the already processed part.", select=True), 'type': fields.selection([('out', 'Sending Goods'), ('in', 'Getting Goods'), ('internal', 'Internal')], 'Shipping Type', required=True, select=True, help="Shipping type specify, goods coming in or going out."), 'note': fields.text('Notes', states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}), 'stock_journal_id': fields.many2one('stock.journal','Stock Journal', select=True, states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}), 'location_id': fields.many2one('stock.location', 'Location', states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}, help="Keep empty if you produce at the location where the finished products are needed." \ "Set a location if you produce at a fixed location. This can be a partner location " \ "if you subcontract the manufacturing operations.", select=True), 'location_dest_id': fields.many2one('stock.location', 'Dest. Location', states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}, help="Location where the system will stock the finished products.", select=True), 'move_type': fields.selection([('direct', 'Partial'), ('one', 'All at once')], 'Delivery Method', required=True, states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}, help="It specifies goods to be deliver partially or all at once"), 'state': fields.selection([ ('draft', 'Draft'), ('cancel', 'Cancelled'), ('auto', 'Waiting Another Operation'), ('confirmed', 'Waiting Availability'), ('assigned', 'Ready to Transfer'), ('done', 'Transferred'), ], 'Status', readonly=True, select=True, track_visibility='onchange', help=""" * Draft: not confirmed yet and will not be scheduled until confirmed\n * Waiting Another Operation: waiting for another move to proceed before it becomes automatically available (e.g. in Make-To-Order flows)\n * Waiting Availability: still waiting for the availability of products\n * Ready to Transfer: products reserved, simply waiting for confirmation.\n * Transferred: has been processed, can't be modified or cancelled anymore\n * Cancelled: has been cancelled, can't be confirmed anymore""" ), 'min_date': fields.function(get_min_max_date, fnct_inv=_set_minimum_date, multi="min_max_date", store=True, type='datetime', string='Scheduled Time', select=1, help="Scheduled time for the shipment to be processed"), 'date': fields.datetime('Creation Date', help="Creation date, usually the time of the order.", select=True, states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}), 'date_done': fields.datetime('Date of Transfer', help="Date of Completion", states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}), 'max_date': fields.function(get_min_max_date, fnct_inv=_set_maximum_date, multi="min_max_date", store=True, type='datetime', string='Max. Expected Date', select=2), 'move_lines': fields.one2many('stock.move', 'picking_id', 'Internal Moves', states={'done': [('readonly', True)], 'cancel': [('readonly', True)]}), 'product_id': fields.related('move_lines', 'product_id', type='many2one', relation='product.product', string='Product'), 'auto_picking': fields.boolean('Auto-Picking', states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}), 'partner_id': fields.many2one('res.partner', 'Partner', states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}), 'invoice_state': fields.selection([ ("invoiced", "Invoiced"), ("2binvoiced", "To Be Invoiced"), ("none", "Not Applicable")], "Invoice Control", select=True, required=True, readonly=True, track_visibility='onchange', states={'draft': [('readonly', False)]}), 'company_id': fields.many2one('res.company', 'Company', required=True, select=True, states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}), } _defaults = { 'name': lambda self, cr, uid, context: '/', 'state': 'draft', 'move_type': 'direct', 'type': 'internal', 'invoice_state': 'none', 'date': lambda *a: time.strftime('%Y-%m-%d %H:%M:%S'), 'company_id': lambda self, cr, uid, c: self.pool.get('res.company')._company_default_get(cr, uid, 'stock.picking', context=c) } _sql_constraints = [ ('name_uniq', 'unique(name, company_id)', 'Reference must be unique per Company!'), ] def action_process(self, cr, uid, ids, context=None): if context is None: context = {} """Open the partial picking wizard""" context.update({ 'active_model': self._name, 'active_ids': ids, 'active_id': len(ids) and ids[0] or False }) return { 'view_type': 'form', 'view_mode': 'form', 'res_model': 'stock.partial.picking', 'type': 'ir.actions.act_window', 'target': 'new', 'context': context, 'nodestroy': True, } def copy(self, cr, uid, id, default=None, context=None): if default is None: default = {} default = default.copy() picking_obj = self.browse(cr, uid, id, context=context) move_obj = self.pool.get('stock.move') if ('name' not in default) or (picking_obj.name == '/'): seq_obj_name = 'stock.picking.' + picking_obj.type default['name'] = self.pool.get('ir.sequence').get(cr, uid, seq_obj_name) default['origin'] = '' default['backorder_id'] = False if 'invoice_state' not in default and picking_obj.invoice_state == 'invoiced': default['invoice_state'] = '2binvoiced' res = super(stock_picking, self).copy(cr, uid, id, default, context) if res: picking_obj = self.browse(cr, uid, res, context=context) for move in picking_obj.move_lines: move_obj.write(cr, uid, [move.id], {'tracking_id': False, 'prodlot_id': False, 'move_history_ids2': [(6, 0, [])], 'move_history_ids': [(6, 0, [])]}) return res def fields_view_get(self, cr, uid, view_id=None, view_type=False, context=None, toolbar=False, submenu=False): if view_type == 'form' and not view_id: mod_obj = self.pool.get('ir.model.data') if self._name == "stock.picking.in": model, view_id = mod_obj.get_object_reference(cr, uid, 'stock', 'view_picking_in_form') if self._name == "stock.picking.out": model, view_id = mod_obj.get_object_reference(cr, uid, 'stock', 'view_picking_out_form') return super(stock_picking, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu) def onchange_partner_in(self, cr, uid, ids, partner_id=None, context=None): return {} def action_explode(self, cr, uid, moves, context=None): """Hook to allow other modules to split the moves of a picking.""" return moves def action_confirm(self, cr, uid, ids, context=None): """ Confirms picking. @return: True """ pickings = self.browse(cr, uid, ids, context=context) self.write(cr, uid, ids, {'state': 'confirmed'}) todo = [] for picking in pickings: for r in picking.move_lines: if r.state == 'draft': todo.append(r.id) todo = self.action_explode(cr, uid, todo, context) if len(todo): self.pool.get('stock.move').action_confirm(cr, uid, todo, context=context) return True def test_auto_picking(self, cr, uid, ids): # TODO: Check locations to see if in the same location ? return True def action_assign(self, cr, uid, ids, *args): """ Changes state of picking to available if all moves are confirmed. @return: True """ wf_service = netsvc.LocalService("workflow") for pick in self.browse(cr, uid, ids): if pick.state == 'draft': wf_service.trg_validate(uid, 'stock.picking', pick.id, 'button_confirm', cr) move_ids = [x.id for x in pick.move_lines if x.state == 'confirmed'] if not move_ids: raise osv.except_osv(_('Warning!'),_('Not enough stock, unable to reserve the products.')) self.pool.get('stock.move').action_assign(cr, uid, move_ids) return True def force_assign(self, cr, uid, ids, *args): """ Changes state of picking to available if moves are confirmed or waiting. @return: True """ wf_service = netsvc.LocalService("workflow") for pick in self.browse(cr, uid, ids): move_ids = [x.id for x in pick.move_lines if x.state in ['confirmed','waiting']] self.pool.get('stock.move').force_assign(cr, uid, move_ids) wf_service.trg_write(uid, 'stock.picking', pick.id, cr) return True def draft_force_assign(self, cr, uid, ids, *args): """ Confirms picking directly from draft state. @return: True """ wf_service = netsvc.LocalService("workflow") for pick in self.browse(cr, uid, ids): if not pick.move_lines: raise osv.except_osv(_('Error!'),_('You cannot process picking without stock moves.')) wf_service.trg_validate(uid, 'stock.picking', pick.id, 'button_confirm', cr) return True def draft_validate(self, cr, uid, ids, context=None): """ Validates picking directly from draft state. @return: True """ wf_service = netsvc.LocalService("workflow") self.draft_force_assign(cr, uid, ids) for pick in self.browse(cr, uid, ids, context=context): move_ids = [x.id for x in pick.move_lines] self.pool.get('stock.move').force_assign(cr, uid, move_ids) wf_service.trg_write(uid, 'stock.picking', pick.id, cr) return self.action_process( cr, uid, ids, context=context) def cancel_assign(self, cr, uid, ids, *args): """ Cancels picking and moves. @return: True """ wf_service = netsvc.LocalService("workflow") for pick in self.browse(cr, uid, ids): move_ids = [x.id for x in pick.move_lines] self.pool.get('stock.move').cancel_assign(cr, uid, move_ids) wf_service.trg_write(uid, 'stock.picking', pick.id, cr) return True def action_assign_wkf(self, cr, uid, ids, context=None): """ Changes picking state to assigned. @return: True """ self.write(cr, uid, ids, {'state': 'assigned'}) return True def test_finished(self, cr, uid, ids): """ Tests whether the move is in done or cancel state or not. @return: True or False """ move_ids = self.pool.get('stock.move').search(cr, uid, [('picking_id', 'in', ids)]) for move in self.pool.get('stock.move').browse(cr, uid, move_ids): if move.state not in ('done', 'cancel'): if move.product_qty != 0.0: return False else: move.write({'state': 'done'}) return True def test_assigned(self, cr, uid, ids): """ Tests whether the move is in assigned state or not. @return: True or False """ #TOFIX: assignment of move lines should be call before testing assigment otherwise picking never gone in assign state ok = True for pick in self.browse(cr, uid, ids): mt = pick.move_type # incomming shipments are always set as available if they aren't chained if pick.type == 'in': if all([x.state != 'waiting' for x in pick.move_lines]): return True for move in pick.move_lines: if (move.state in ('confirmed', 'draft')) and (mt == 'one'): return False if (mt == 'direct') and (move.state == 'assigned') and (move.product_qty): return True ok = ok and (move.state in ('cancel', 'done', 'assigned')) return ok def action_cancel(self, cr, uid, ids, context=None): """ Changes picking state to cancel. @return: True """ for pick in self.browse(cr, uid, ids, context=context): ids2 = [move.id for move in pick.move_lines] self.pool.get('stock.move').action_cancel(cr, uid, ids2, context) self.write(cr, uid, ids, {'state': 'cancel', 'invoice_state': 'none'}) return True # # TODO: change and create a move if not parents # def action_done(self, cr, uid, ids, context=None): """Changes picking state to done. This method is called at the end of the workflow by the activity "done". @return: True """ self.write(cr, uid, ids, {'state': 'done', 'date_done': time.strftime('%Y-%m-%d %H:%M:%S')}) return True def action_move(self, cr, uid, ids, context=None): """Process the Stock Moves of the Picking This method is called by the workflow by the activity "move". Normally that happens when the signal button_done is received (button "Done" pressed on a Picking view). @return: True """ for pick in self.browse(cr, uid, ids, context=context): todo = [] for move in pick.move_lines: if move.state == 'draft': self.pool.get('stock.move').action_confirm(cr, uid, [move.id], context=context) todo.append(move.id) elif move.state in ('assigned','confirmed'): todo.append(move.id) if len(todo): self.pool.get('stock.move').action_done(cr, uid, todo, context=context) return True def get_currency_id(self, cr, uid, picking): return False def _get_partner_to_invoice(self, cr, uid, picking, context=None): """ Gets the partner that will be invoiced Note that this function is inherited in the sale and purchase modules @param picking: object of the picking for which we are selecting the partner to invoice @return: object of the partner to invoice """ return picking.partner_id and picking.partner_id.id def _get_comment_invoice(self, cr, uid, picking): """ @return: comment string for invoice """ return picking.note or '' def _get_price_unit_invoice(self, cr, uid, move_line, type, context=None): """ Gets price unit for invoice @param move_line: Stock move lines @param type: Type of invoice @return: The price unit for the move line """ if context is None: context = {} if type in ('in_invoice', 'in_refund'): # Take the user company and pricetype context['currency_id'] = move_line.company_id.currency_id.id amount_unit = move_line.product_id.price_get('standard_price', context=context)[move_line.product_id.id] return amount_unit else: return move_line.product_id.list_price def _get_discount_invoice(self, cr, uid, move_line): '''Return the discount for the move line''' return 0.0 def _get_taxes_invoice(self, cr, uid, move_line, type): """ Gets taxes on invoice @param move_line: Stock move lines @param type: Type of invoice @return: Taxes Ids for the move line """ if type in ('in_invoice', 'in_refund'): taxes = move_line.product_id.supplier_taxes_id else: taxes = move_line.product_id.taxes_id if move_line.picking_id and move_line.picking_id.partner_id and move_line.picking_id.partner_id.id: return self.pool.get('account.fiscal.position').map_tax( cr, uid, move_line.picking_id.partner_id.property_account_position, taxes ) else: return map(lambda x: x.id, taxes) def _get_account_analytic_invoice(self, cr, uid, picking, move_line): return False def _invoice_line_hook(self, cr, uid, move_line, invoice_line_id): '''Call after the creation of the invoice line''' return def _invoice_hook(self, cr, uid, picking, invoice_id): '''Call after the creation of the invoice''' return def _get_invoice_type(self, pick): src_usage = dest_usage = None inv_type = None if pick.invoice_state == '2binvoiced': if pick.move_lines: src_usage = pick.move_lines[0].location_id.usage dest_usage = pick.move_lines[0].location_dest_id.usage if pick.type == 'out' and dest_usage == 'supplier': inv_type = 'in_refund' elif pick.type == 'out' and dest_usage == 'customer': inv_type = 'out_invoice' elif pick.type == 'in' and src_usage == 'supplier': inv_type = 'in_invoice' elif pick.type == 'in' and src_usage == 'customer': inv_type = 'out_refund' else: inv_type = 'out_invoice' return inv_type def _prepare_invoice_group(self, cr, uid, picking, partner, invoice, context=None): """ Builds the dict for grouped invoices @param picking: picking object @param partner: object of the partner to invoice (not used here, but may be usefull if this function is inherited) @param invoice: object of the invoice that we are updating @return: dict that will be used to update the invoice """ comment = self._get_comment_invoice(cr, uid, picking) return { 'name': (invoice.name or '') + ', ' + (picking.name or ''), 'origin': (invoice.origin or '') + ', ' + (picking.name or '') + (picking.origin and (':' + picking.origin) or ''), 'comment': (comment and (invoice.comment and invoice.comment + "\n" + comment or comment)) or (invoice.comment and invoice.comment or ''), 'date_invoice': context.get('date_inv', False), 'user_id': uid, } def _prepare_invoice(self, cr, uid, picking, partner, inv_type, journal_id, context=None): """ Builds the dict containing the values for the invoice @param picking: picking object @param partner: object of the partner to invoice @param inv_type: type of the invoice ('out_invoice', 'in_invoice', ...) @param journal_id: ID of the accounting journal @return: dict that will be used to create the invoice object """ if isinstance(partner, int): partner = self.pool.get('res.partner').browse(cr, uid, partner, context=context) if inv_type in ('out_invoice', 'out_refund'): account_id = partner.property_account_receivable.id payment_term = partner.property_payment_term.id or False else: account_id = partner.property_account_payable.id payment_term = partner.property_supplier_payment_term.id or False comment = self._get_comment_invoice(cr, uid, picking) invoice_vals = { 'name': picking.name, 'origin': (picking.name or '') + (picking.origin and (':' + picking.origin) or ''), 'type': inv_type, 'account_id': account_id, 'partner_id': partner.id, 'comment': comment, 'payment_term': payment_term, 'fiscal_position': partner.property_account_position.id, 'date_invoice': context.get('date_inv', False), 'company_id': picking.company_id.id, 'user_id': uid, } cur_id = self.get_currency_id(cr, uid, picking) if cur_id: invoice_vals['currency_id'] = cur_id if journal_id: invoice_vals['journal_id'] = journal_id return invoice_vals def _prepare_invoice_line(self, cr, uid, group, picking, move_line, invoice_id, invoice_vals, context=None): """ Builds the dict containing the values for the invoice line @param group: True or False @param picking: picking object @param: move_line: move_line object @param: invoice_id: ID of the related invoice @param: invoice_vals: dict used to created the invoice @return: dict that will be used to create the invoice line """ if group: name = (picking.name or '') + '-' + move_line.name else: name = move_line.name origin = move_line.picking_id.name or '' if move_line.picking_id.origin: origin += ':' + move_line.picking_id.origin if invoice_vals['type'] in ('out_invoice', 'out_refund'): account_id = move_line.product_id.property_account_income.id if not account_id: account_id = move_line.product_id.categ_id.\ property_account_income_categ.id else: account_id = move_line.product_id.property_account_expense.id if not account_id: account_id = move_line.product_id.categ_id.\ property_account_expense_categ.id if invoice_vals['fiscal_position']: fp_obj = self.pool.get('account.fiscal.position') fiscal_position = fp_obj.browse(cr, uid, invoice_vals['fiscal_position'], context=context) account_id = fp_obj.map_account(cr, uid, fiscal_position, account_id) # set UoS if it's a sale and the picking doesn't have one uos_id = move_line.product_uos and move_line.product_uos.id or False if not uos_id and invoice_vals['type'] in ('out_invoice', 'out_refund'): uos_id = move_line.product_uom.id return { 'name': name, 'origin': origin, 'invoice_id': invoice_id, 'uos_id': uos_id, 'product_id': move_line.product_id.id, 'account_id': account_id, 'price_unit': self._get_price_unit_invoice(cr, uid, move_line, invoice_vals['type']), 'discount': self._get_discount_invoice(cr, uid, move_line), 'quantity': move_line.product_uos_qty or move_line.product_qty, 'invoice_line_tax_id': [(6, 0, self._get_taxes_invoice(cr, uid, move_line, invoice_vals['type']))], 'account_analytic_id': self._get_account_analytic_invoice(cr, uid, picking, move_line), } def action_invoice_create(self, cr, uid, ids, journal_id=False, group=False, type='out_invoice', context=None): """ Creates invoice based on the invoice state selected for picking. @param journal_id: Id of journal @param group: Whether to create a group invoice or not @param type: Type invoice to be created @return: Ids of created invoices for the pickings """ if context is None: context = {} invoice_obj = self.pool.get('account.invoice') invoice_line_obj = self.pool.get('account.invoice.line') partner_obj = self.pool.get('res.partner') invoices_group = {} res = {} inv_type = type for picking in self.browse(cr, uid, ids, context=context): if picking.invoice_state != '2binvoiced': continue partner = self._get_partner_to_invoice(cr, uid, picking, context=context) if isinstance(partner, int): partner = partner_obj.browse(cr, uid, [partner], context=context)[0] if not partner: raise osv.except_osv(_('Error, no partner!'), _('Please put a partner on the picking list if you want to generate invoice.')) if not inv_type: inv_type = self._get_invoice_type(picking) if group and partner.id in invoices_group: invoice_id = invoices_group[partner.id] invoice = invoice_obj.browse(cr, uid, invoice_id) invoice_vals_group = self._prepare_invoice_group(cr, uid, picking, partner, invoice, context=context) invoice_obj.write(cr, uid, [invoice_id], invoice_vals_group, context=context) else: invoice_vals = self._prepare_invoice(cr, uid, picking, partner, inv_type, journal_id, context=context) invoice_id = invoice_obj.create(cr, uid, invoice_vals, context=context) invoices_group[partner.id] = invoice_id res[picking.id] = invoice_id for move_line in picking.move_lines: if move_line.state == 'cancel': continue if move_line.scrapped: # do no invoice scrapped products continue vals = self._prepare_invoice_line(cr, uid, group, picking, move_line, invoice_id, invoice_vals, context=context) if vals: invoice_line_id = invoice_line_obj.create(cr, uid, vals, context=context) self._invoice_line_hook(cr, uid, move_line, invoice_line_id) invoice_obj.button_compute(cr, uid, [invoice_id], context=context, set_total=(inv_type in ('in_invoice', 'in_refund'))) self.write(cr, uid, [picking.id], { 'invoice_state': 'invoiced', }, context=context) self._invoice_hook(cr, uid, picking, invoice_id) self.write(cr, uid, res.keys(), { 'invoice_state': 'invoiced', }, context=context) return res def test_done(self, cr, uid, ids, context=None): """ Test whether the move lines are done or not. @return: True or False """ ok = False for pick in self.browse(cr, uid, ids, context=context): if not pick.move_lines: return True for move in pick.move_lines: if move.state not in ('cancel','done'): return False if move.state=='done': ok = True return ok def test_cancel(self, cr, uid, ids, context=None): """ Test whether the move lines are canceled or not. @return: True or False """ for pick in self.browse(cr, uid, ids, context=context): for move in pick.move_lines: if move.state not in ('cancel',): return False return True def allow_cancel(self, cr, uid, ids, context=None): for pick in self.browse(cr, uid, ids, context=context): if not pick.move_lines: return True for move in pick.move_lines: if move.state == 'done': raise osv.except_osv(_('Error!'), _('You cannot cancel the picking as some moves have been done. You should cancel the picking lines.')) return True def unlink(self, cr, uid, ids, context=None): move_obj = self.pool.get('stock.move') if context is None: context = {} for pick in self.browse(cr, uid, ids, context=context): if pick.state in ['done','cancel']: raise osv.except_osv(_('Error!'), _('You cannot remove the picking which is in %s state!')%(pick.state,)) else: ids2 = [move.id for move in pick.move_lines] ctx = context.copy() ctx.update({'call_unlink':True}) if pick.state != 'draft': #Cancelling the move in order to affect Virtual stock of product move_obj.action_cancel(cr, uid, ids2, ctx) #Removing the move move_obj.unlink(cr, uid, ids2, ctx) return super(stock_picking, self).unlink(cr, uid, ids, context=context) # FIXME: needs refactoring, this code is partially duplicated in stock_move.do_partial()! def do_partial(self, cr, uid, ids, partial_datas, context=None): """ Makes partial picking and moves done. @param partial_datas : Dictionary containing details of partial picking like partner_id, partner_id, delivery_date, delivery moves with product_id, product_qty, uom @return: Dictionary of values """ if context is None: context = {} else: context = dict(context) res = {} move_obj = self.pool.get('stock.move') product_obj = self.pool.get('product.product') currency_obj = self.pool.get('res.currency') uom_obj = self.pool.get('product.uom') sequence_obj = self.pool.get('ir.sequence') wf_service = netsvc.LocalService("workflow") for pick in self.browse(cr, uid, ids, context=context): new_picking = None complete, too_many, too_few = [], [], [] move_product_qty, prodlot_ids, product_avail, partial_qty, product_uoms = {}, {}, {}, {}, {} for move in pick.move_lines: if move.state in ('done', 'cancel'): continue partial_data = partial_datas.get('move%s'%(move.id), {}) product_qty = partial_data.get('product_qty',0.0) move_product_qty[move.id] = product_qty product_uom = partial_data.get('product_uom',False) product_price = partial_data.get('product_price',0.0) product_currency = partial_data.get('product_currency',False) prodlot_id = partial_data.get('prodlot_id') prodlot_ids[move.id] = prodlot_id product_uoms[move.id] = product_uom partial_qty[move.id] = uom_obj._compute_qty(cr, uid, product_uoms[move.id], product_qty, move.product_uom.id) if move.product_qty == partial_qty[move.id]: complete.append(move) elif move.product_qty > partial_qty[move.id]: too_few.append(move) else: too_many.append(move) # Average price computation if (pick.type == 'in') and (move.product_id.cost_method == 'average'): product = product_obj.browse(cr, uid, move.product_id.id) move_currency_id = move.company_id.currency_id.id context['currency_id'] = move_currency_id qty = uom_obj._compute_qty(cr, uid, product_uom, product_qty, product.uom_id.id) if product.id not in product_avail: # keep track of stock on hand including processed lines not yet marked as done product_avail[product.id] = product.qty_available if qty > 0: new_price = currency_obj.compute(cr, uid, product_currency, move_currency_id, product_price, round=False) new_price = uom_obj._compute_price(cr, uid, product_uom, new_price, product.uom_id.id) if product_avail[product.id] <= 0: product_avail[product.id] = 0 new_std_price = new_price else: # Get the standard price amount_unit = product.price_get('standard_price', context=context)[product.id] new_std_price = ((amount_unit * product_avail[product.id])\ + (new_price * qty))/(product_avail[product.id] + qty) # Write the field according to price type field product_obj.write(cr, uid, [product.id], {'standard_price': new_std_price}) # Record the values that were chosen in the wizard, so they can be # used for inventory valuation if real-time valuation is enabled. move_obj.write(cr, uid, [move.id], {'price_unit': product_price, 'price_currency_id': product_currency}) product_avail[product.id] += qty for move in too_few: product_qty = move_product_qty[move.id] if not new_picking: new_picking_name = pick.name self.write(cr, uid, [pick.id], {'name': sequence_obj.get(cr, uid, 'stock.picking.%s'%(pick.type)), }) new_picking = self.copy(cr, uid, pick.id, { 'name': new_picking_name, 'move_lines' : [], 'state':'draft', }) if product_qty != 0: defaults = { 'product_qty' : product_qty, 'product_uos_qty': product_qty, #TODO: put correct uos_qty 'picking_id' : new_picking, 'state': 'assigned', 'move_dest_id': False, 'price_unit': move.price_unit, 'product_uom': product_uoms[move.id] } prodlot_id = prodlot_ids[move.id] if prodlot_id: defaults.update(prodlot_id=prodlot_id) move_obj.copy(cr, uid, move.id, defaults) move_obj.write(cr, uid, [move.id], { 'product_qty': move.product_qty - partial_qty[move.id], 'product_uos_qty': move.product_qty - partial_qty[move.id], #TODO: put correct uos_qty 'prodlot_id': False, 'tracking_id': False, }) if new_picking: move_obj.write(cr, uid, [c.id for c in complete], {'picking_id': new_picking}) for move in complete: defaults = {'product_uom': product_uoms[move.id], 'product_qty': move_product_qty[move.id]} if prodlot_ids.get(move.id): defaults.update({'prodlot_id': prodlot_ids[move.id]}) move_obj.write(cr, uid, [move.id], defaults) for move in too_many: product_qty = move_product_qty[move.id] defaults = { 'product_qty' : product_qty, 'product_uos_qty': product_qty, #TODO: put correct uos_qty 'product_uom': product_uoms[move.id] } prodlot_id = prodlot_ids.get(move.id) if prodlot_ids.get(move.id): defaults.update(prodlot_id=prodlot_id) if new_picking: defaults.update(picking_id=new_picking) move_obj.write(cr, uid, [move.id], defaults) # At first we confirm the new picking (if necessary) if new_picking: wf_service.trg_validate(uid, 'stock.picking', new_picking, 'button_confirm', cr) # Then we finish the good picking self.write(cr, uid, [pick.id], {'backorder_id': new_picking}) self.action_move(cr, uid, [new_picking], context=context) wf_service.trg_validate(uid, 'stock.picking', new_picking, 'button_done', cr) wf_service.trg_write(uid, 'stock.picking', pick.id, cr) delivered_pack_id = pick.id back_order_name = self.browse(cr, uid, delivered_pack_id, context=context).name self.message_post(cr, uid, new_picking, body=_("Back order <em>%s</em> has been <b>created</b>.") % (back_order_name), context=context) else: self.action_move(cr, uid, [pick.id], context=context) wf_service.trg_validate(uid, 'stock.picking', pick.id, 'button_done', cr) delivered_pack_id = pick.id delivered_pack = self.browse(cr, uid, delivered_pack_id, context=context) res[pick.id] = {'delivered_picking': delivered_pack.id or False} return res # views associated to each picking type _VIEW_LIST = { 'out': 'view_picking_out_form', 'in': 'view_picking_in_form', 'internal': 'view_picking_form', } def _get_view_id(self, cr, uid, type): """Get the view id suiting the given type @param type: the picking type as a string @return: view i, or False if no view found """ res = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'stock', self._VIEW_LIST.get(type, 'view_picking_form')) return res and res[1] or False class stock_production_lot(osv.osv): def name_get(self, cr, uid, ids, context=None): if not ids: return [] reads = self.read(cr, uid, ids, ['name', 'prefix', 'ref'], context) res = [] for record in reads: name = record['name'] prefix = record['prefix'] if prefix: name = prefix + '/' + name if record['ref']: name = '%s [%s]' % (name, record['ref']) res.append((record['id'], name)) return res def name_search(self, cr, uid, name, args=None, operator='ilike', context=None, limit=100): args = args or [] ids = [] if name: ids = self.search(cr, uid, [('prefix', '=', name)] + args, limit=limit, context=context) if not ids: ids = self.search(cr, uid, [('name', operator, name)] + args, limit=limit, context=context) else: ids = self.search(cr, uid, args, limit=limit, context=context) return self.name_get(cr, uid, ids, context) _name = 'stock.production.lot' _description = 'Serial Number' def _get_stock(self, cr, uid, ids, field_name, arg, context=None): """ Gets stock of products for locations @return: Dictionary of values """ if context is None: context = {} if 'location_id' not in context: locations = self.pool.get('stock.location').search(cr, uid, [('usage', '=', 'internal')], context=context) else: locations = context['location_id'] and [context['location_id']] or [] if isinstance(ids, (int, long)): ids = [ids] res = {}.fromkeys(ids, 0.0) if locations: cr.execute('''select prodlot_id, sum(qty) from stock_report_prodlots where location_id IN %s and prodlot_id IN %s group by prodlot_id''',(tuple(locations),tuple(ids),)) res.update(dict(cr.fetchall())) return res def _stock_search(self, cr, uid, obj, name, args, context=None): """ Searches Ids of products @return: Ids of locations """ locations = self.pool.get('stock.location').search(cr, uid, [('usage', '=', 'internal')]) cr.execute('''select prodlot_id, sum(qty) from stock_report_prodlots where location_id IN %s group by prodlot_id having sum(qty) '''+ str(args[0][1]) + str(args[0][2]),(tuple(locations),)) res = cr.fetchall() ids = [('id', 'in', map(lambda x: x[0], res))] return ids _columns = { 'name': fields.char('Serial Number', size=64, required=True, help="Unique Serial Number, will be displayed as: PREFIX/SERIAL [INT_REF]"), 'ref': fields.char('Internal Reference', size=256, help="Internal reference number in case it differs from the manufacturer's serial number"), 'prefix': fields.char('Prefix', size=64, help="Optional prefix to prepend when displaying this serial number: PREFIX/SERIAL [INT_REF]"), 'product_id': fields.many2one('product.product', 'Product', required=True, domain=[('type', '<>', 'service')]), 'date': fields.datetime('Creation Date', required=True), 'stock_available': fields.function(_get_stock, fnct_search=_stock_search, type="float", string="Available", select=True, help="Current quantity of products with this Serial Number available in company warehouses", digits_compute=dp.get_precision('Product Unit of Measure')), 'revisions': fields.one2many('stock.production.lot.revision', 'lot_id', 'Revisions'), 'company_id': fields.many2one('res.company', 'Company', select=True), 'move_ids': fields.one2many('stock.move', 'prodlot_id', 'Moves for this serial number', readonly=True), } _defaults = { 'date': lambda *a: time.strftime('%Y-%m-%d %H:%M:%S'), 'name': lambda x, y, z, c: x.pool.get('ir.sequence').get(y, z, 'stock.lot.serial'), 'product_id': lambda x, y, z, c: c.get('product_id', False), } _sql_constraints = [ ('name_ref_uniq', 'unique (name, ref)', 'The combination of Serial Number and internal reference must be unique !'), ] def action_traceability(self, cr, uid, ids, context=None): """ It traces the information of a product @param self: The object pointer. @param cr: A database cursor @param uid: ID of the user currently logged in @param ids: List of IDs selected @param context: A standard dictionary @return: A dictionary of values """ value=self.pool.get('action.traceability').action_traceability(cr,uid,ids,context) return value def copy(self, cr, uid, id, default=None, context=None): context = context or {} default = default and default.copy() or {} default.update(date=time.strftime('%Y-%m-%d %H:%M:%S'), move_ids=[]) return super(stock_production_lot, self).copy(cr, uid, id, default=default, context=context) stock_production_lot() class stock_production_lot_revision(osv.osv): _name = 'stock.production.lot.revision' _description = 'Serial Number Revision' _columns = { 'name': fields.char('Revision Name', size=64, required=True), 'description': fields.text('Description'), 'date': fields.date('Revision Date'), 'indice': fields.char('Revision Number', size=16), 'author_id': fields.many2one('res.users', 'Author'), 'lot_id': fields.many2one('stock.production.lot', 'Serial Number', select=True, ondelete='cascade'), 'company_id': fields.related('lot_id','company_id',type='many2one',relation='res.company',string='Company', store=True, readonly=True), } _defaults = { 'author_id': lambda x, y, z, c: z, 'date': fields.date.context_today, } stock_production_lot_revision() # ---------------------------------------------------- # Move # ---------------------------------------------------- # # Fields: # location_dest_id is only used for predicting futur stocks # class stock_move(osv.osv): def _getSSCC(self, cr, uid, context=None): cr.execute('select id from stock_tracking where create_uid=%s order by id desc limit 1', (uid,)) res = cr.fetchone() return (res and res[0]) or False _name = "stock.move" _description = "Stock Move" _order = 'date_expected desc, id' _log_create = False def action_partial_move(self, cr, uid, ids, context=None): if context is None: context = {} if context.get('active_model') != self._name: context.update(active_ids=ids, active_model=self._name) partial_id = self.pool.get("stock.partial.move").create( cr, uid, {}, context=context) return { 'name':_("Products to Process"), 'view_mode': 'form', 'view_id': False, 'view_type': 'form', 'res_model': 'stock.partial.move', 'res_id': partial_id, 'type': 'ir.actions.act_window', 'nodestroy': True, 'target': 'new', 'domain': '[]', 'context': context } def name_get(self, cr, uid, ids, context=None): res = [] for line in self.browse(cr, uid, ids, context=context): name = line.location_id.name+' > '+line.location_dest_id.name # optional prefixes if line.product_id.code: name = line.product_id.code + ': ' + name if line.picking_id.origin: name = line.picking_id.origin + '/ ' + name res.append((line.id, name)) return res def _check_tracking(self, cr, uid, ids, context=None): """ Checks if serial number is assigned to stock move or not. @return: True or False """ for move in self.browse(cr, uid, ids, context=context): if not move.prodlot_id and \ (move.state == 'done' and \ ( \ (move.product_id.track_production and move.location_id.usage == 'production') or \ (move.product_id.track_production and move.location_dest_id.usage == 'production') or \ (move.product_id.track_incoming and move.location_id.usage == 'supplier') or \ (move.product_id.track_outgoing and move.location_dest_id.usage == 'customer') or \ (move.product_id.track_incoming and move.location_id.usage == 'inventory') \ )): return False return True def _check_product_lot(self, cr, uid, ids, context=None): """ Checks whether move is done or not and production lot is assigned to that move. @return: True or False """ for move in self.browse(cr, uid, ids, context=context): if move.prodlot_id and move.state == 'done' and (move.prodlot_id.product_id.id != move.product_id.id): return False return True _columns = { 'name': fields.char('Description', required=True, select=True), 'priority': fields.selection([('0', 'Not urgent'), ('1', 'Urgent')], 'Priority'), 'create_date': fields.datetime('Creation Date', readonly=True, select=True), 'date': fields.datetime('Date', required=True, select=True, help="Move date: scheduled date until move is done, then date of actual move processing", states={'done': [('readonly', True)]}), 'date_expected': fields.datetime('Scheduled Date', states={'done': [('readonly', True)]},required=True, select=True, help="Scheduled date for the processing of this move"), 'product_id': fields.many2one('product.product', 'Product', required=True, select=True, domain=[('type','<>','service')],states={'done': [('readonly', True)]}), 'product_qty': fields.float('Quantity', digits_compute=dp.get_precision('Product Unit of Measure'), required=True,states={'done': [('readonly', True)]}, help="This is the quantity of products from an inventory " "point of view. For moves in the state 'done', this is the " "quantity of products that were actually moved. For other " "moves, this is the quantity of product that is planned to " "be moved. Lowering this quantity does not generate a " "backorder. Changing this quantity on assigned moves affects " "the product reservation, and should be done with care." ), 'product_uom': fields.many2one('product.uom', 'Unit of Measure', required=True,states={'done': [('readonly', True)]}), 'product_uos_qty': fields.float('Quantity (UOS)', digits_compute=dp.get_precision('Product Unit of Measure'), states={'done': [('readonly', True)]}), 'product_uos': fields.many2one('product.uom', 'Product UOS', states={'done': [('readonly', True)]}), 'product_packaging': fields.many2one('product.packaging', 'Packaging', help="It specifies attributes of packaging like type, quantity of packaging,etc."), 'location_id': fields.many2one('stock.location', 'Source Location', required=True, select=True,states={'done': [('readonly', True)]}, help="Sets a location if you produce at a fixed location. This can be a partner location if you subcontract the manufacturing operations."), 'location_dest_id': fields.many2one('stock.location', 'Destination Location', required=True,states={'done': [('readonly', True)]}, select=True, help="Location where the system will stock the finished products."), 'partner_id': fields.many2one('res.partner', 'Destination Address ', states={'done': [('readonly', True)]}, help="Optional address where goods are to be delivered, specifically used for allotment"), 'prodlot_id': fields.many2one('stock.production.lot', 'Serial Number', states={'done': [('readonly', True)]}, help="Serial number is used to put a serial number on the production", select=True), 'tracking_id': fields.many2one('stock.tracking', 'Pack', select=True, states={'done': [('readonly', True)]}, help="Logistical shipping unit: pallet, box, pack ..."), 'auto_validate': fields.boolean('Auto Validate'), 'move_dest_id': fields.many2one('stock.move', 'Destination Move', help="Optional: next stock move when chaining them", select=True), 'move_history_ids': fields.many2many('stock.move', 'stock_move_history_ids', 'parent_id', 'child_id', 'Move History (child moves)'), 'move_history_ids2': fields.many2many('stock.move', 'stock_move_history_ids', 'child_id', 'parent_id', 'Move History (parent moves)'), 'picking_id': fields.many2one('stock.picking', 'Reference', select=True,states={'done': [('readonly', True)]}), 'note': fields.text('Notes'), 'state': fields.selection([('draft', 'New'), ('cancel', 'Cancelled'), ('waiting', 'Waiting Another Move'), ('confirmed', 'Waiting Availability'), ('assigned', 'Available'), ('done', 'Done'), ], 'Status', readonly=True, select=True, help= "* New: When the stock move is created and not yet confirmed.\n"\ "* Waiting Another Move: This state can be seen when a move is waiting for another one, for example in a chained flow.\n"\ "* Waiting Availability: This state is reached when the procurement resolution is not straight forward. It may need the scheduler to run, a component to me manufactured...\n"\ "* Available: When products are reserved, it is set to \'Available\'.\n"\ "* Done: When the shipment is processed, the state is \'Done\'."), 'price_unit': fields.float('Unit Price', digits_compute= dp.get_precision('Product Price'), help="Technical field used to record the product cost set by the user during a picking confirmation (when average price costing method is used)"), 'price_currency_id': fields.many2one('res.currency', 'Currency for average price', help="Technical field used to record the currency chosen by the user during a picking confirmation (when average price costing method is used)"), 'company_id': fields.many2one('res.company', 'Company', required=True, select=True), 'backorder_id': fields.related('picking_id','backorder_id',type='many2one', relation="stock.picking", string="Back Order of", select=True), 'origin': fields.related('picking_id','origin',type='char', size=64, relation="stock.picking", string="Source", store=True), # used for colors in tree views: 'scrapped': fields.related('location_dest_id','scrap_location',type='boolean',relation='stock.location',string='Scrapped', readonly=True), 'type': fields.related('picking_id', 'type', type='selection', selection=[('out', 'Sending Goods'), ('in', 'Getting Goods'), ('internal', 'Internal')], string='Shipping Type'), } def _check_location(self, cr, uid, ids, context=None): for record in self.browse(cr, uid, ids, context=context): if (record.state=='done') and (record.location_id.usage == 'view'): raise osv.except_osv(_('Error'), _('You cannot move product %s from a location of type view %s.')% (record.product_id.name, record.location_id.name)) if (record.state=='done') and (record.location_dest_id.usage == 'view' ): raise osv.except_osv(_('Error'), _('You cannot move product %s to a location of type view %s.')% (record.product_id.name, record.location_dest_id.name)) return True _constraints = [ (_check_tracking, 'You must assign a serial number for this product.', ['prodlot_id']), (_check_location, 'You cannot move products from or to a location of the type view.', ['location_id','location_dest_id']), (_check_product_lot, 'You try to assign a lot which is not from the same product.', ['prodlot_id'])] def _default_location_destination(self, cr, uid, context=None): """ Gets default address of partner for destination location @return: Address id or False """ mod_obj = self.pool.get('ir.model.data') picking_type = context.get('picking_type') location_id = False if context is None: context = {} if context.get('move_line', []): if context['move_line'][0]: if isinstance(context['move_line'][0], (tuple, list)): location_id = context['move_line'][0][2] and context['move_line'][0][2].get('location_dest_id',False) else: move_list = self.pool.get('stock.move').read(cr, uid, context['move_line'][0], ['location_dest_id']) location_id = move_list and move_list['location_dest_id'][0] or False elif context.get('address_out_id', False): property_out = self.pool.get('res.partner').browse(cr, uid, context['address_out_id'], context).property_stock_customer location_id = property_out and property_out.id or False else: location_xml_id = False if picking_type in ('in', 'internal'): location_xml_id = 'stock_location_stock' elif picking_type == 'out': location_xml_id = 'stock_location_customers' if location_xml_id: try: location_model, location_id = mod_obj.get_object_reference(cr, uid, 'stock', location_xml_id) with tools.mute_logger('openerp.osv.orm'): self.pool.get('stock.location').check_access_rule(cr, uid, [location_id], 'read', context=context) except (orm.except_orm, ValueError): location_id = False return location_id def _default_location_source(self, cr, uid, context=None): """ Gets default address of partner for source location @return: Address id or False """ mod_obj = self.pool.get('ir.model.data') picking_type = context.get('picking_type') location_id = False if context is None: context = {} if context.get('move_line', []): try: location_id = context['move_line'][0][2]['location_id'] except: pass elif context.get('address_in_id', False): part_obj_add = self.pool.get('res.partner').browse(cr, uid, context['address_in_id'], context=context) if part_obj_add: location_id = part_obj_add.property_stock_supplier.id else: location_xml_id = False if picking_type == 'in': location_xml_id = 'stock_location_suppliers' elif picking_type in ('out', 'internal'): location_xml_id = 'stock_location_stock' if location_xml_id: try: location_model, location_id = mod_obj.get_object_reference(cr, uid, 'stock', location_xml_id) with tools.mute_logger('openerp.osv.orm'): self.pool.get('stock.location').check_access_rule(cr, uid, [location_id], 'read', context=context) except (orm.except_orm, ValueError): location_id = False return location_id def _default_destination_address(self, cr, uid, context=None): user = self.pool.get('res.users').browse(cr, uid, uid, context=context) return user.company_id.partner_id.id def _default_move_type(self, cr, uid, context=None): """ Gets default type of move @return: type """ if context is None: context = {} picking_type = context.get('picking_type') type = 'internal' if picking_type == 'in': type = 'in' elif picking_type == 'out': type = 'out' return type _defaults = { 'location_id': _default_location_source, 'location_dest_id': _default_location_destination, 'partner_id': _default_destination_address, 'type': _default_move_type, 'state': 'draft', 'priority': '1', 'product_qty': 1.0, 'scrapped' : False, 'date': lambda *a: time.strftime('%Y-%m-%d %H:%M:%S'), 'company_id': lambda self,cr,uid,c: self.pool.get('res.company')._company_default_get(cr, uid, 'stock.move', context=c), 'date_expected': lambda *a: time.strftime('%Y-%m-%d %H:%M:%S'), } def write(self, cr, uid, ids, vals, context=None): if isinstance(ids, (int, long)): ids = [ids] if uid != 1: frozen_fields = set(['product_qty', 'product_uom', 'product_uos_qty', 'product_uos', 'location_id', 'location_dest_id', 'product_id']) for move in self.browse(cr, uid, ids, context=context): if move.state == 'done': if frozen_fields.intersection(vals): raise osv.except_osv(_('Operation Forbidden!'), _('Quantities, Units of Measure, Products and Locations cannot be modified on stock moves that have already been processed (except by the Administrator).')) return super(stock_move, self).write(cr, uid, ids, vals, context=context) def copy(self, cr, uid, id, default=None, context=None): if default is None: default = {} default = default.copy() default.update({'move_history_ids2': [], 'move_history_ids': []}) return super(stock_move, self).copy(cr, uid, id, default, context=context) def _auto_init(self, cursor, context=None): res = super(stock_move, self)._auto_init(cursor, context=context) cursor.execute('SELECT indexname \ FROM pg_indexes \ WHERE indexname = \'stock_move_location_id_location_dest_id_product_id_state\'') if not cursor.fetchone(): cursor.execute('CREATE INDEX stock_move_location_id_location_dest_id_product_id_state \ ON stock_move (product_id, state, location_id, location_dest_id)') return res def onchange_lot_id(self, cr, uid, ids, prodlot_id=False, product_qty=False, loc_id=False, product_id=False, uom_id=False, context=None): """ On change of production lot gives a warning message. @param prodlot_id: Changed production lot id @param product_qty: Quantity of product @param loc_id: Location id @param product_id: Product id @return: Warning message """ if not prodlot_id or not loc_id: return {} ctx = context and context.copy() or {} ctx['location_id'] = loc_id ctx.update({'raise-exception': True}) uom_obj = self.pool.get('product.uom') product_obj = self.pool.get('product.product') product_uom = product_obj.browse(cr, uid, product_id, context=ctx).uom_id prodlot = self.pool.get('stock.production.lot').browse(cr, uid, prodlot_id, context=ctx) location = self.pool.get('stock.location').browse(cr, uid, loc_id, context=ctx) uom = uom_obj.browse(cr, uid, uom_id, context=ctx) amount_actual = uom_obj._compute_qty_obj(cr, uid, product_uom, prodlot.stock_available, uom, context=ctx) warning = {} if (location.usage == 'internal') and (product_qty > (amount_actual or 0.0)): warning = { 'title': _('Insufficient Stock for Serial Number !'), 'message': _('You are moving %.2f %s but only %.2f %s available for this serial number.') % (product_qty, uom.name, amount_actual, uom.name) } return {'warning': warning} def onchange_quantity(self, cr, uid, ids, product_id, product_qty, product_uom, product_uos): """ On change of product quantity finds UoM and UoS quantities @param product_id: Product id @param product_qty: Changed Quantity of product @param product_uom: Unit of measure of product @param product_uos: Unit of sale of product @return: Dictionary of values """ result = { 'product_uos_qty': 0.00 } warning = {} if (not product_id) or (product_qty <=0.0): result['product_qty'] = 0.0 return {'value': result} product_obj = self.pool.get('product.product') uos_coeff = product_obj.read(cr, uid, product_id, ['uos_coeff']) # Warn if the quantity was decreased if ids: for move in self.read(cr, uid, ids, ['product_qty']): if product_qty < move['product_qty']: warning.update({ 'title': _('Information'), 'message': _("By changing this quantity here, you accept the " "new quantity as complete: OpenERP will not " "automatically generate a back order.") }) break if product_uos and product_uom and (product_uom != product_uos): result['product_uos_qty'] = product_qty * uos_coeff['uos_coeff'] else: result['product_uos_qty'] = product_qty return {'value': result, 'warning': warning} def onchange_uos_quantity(self, cr, uid, ids, product_id, product_uos_qty, product_uos, product_uom): """ On change of product quantity finds UoM and UoS quantities @param product_id: Product id @param product_uos_qty: Changed UoS Quantity of product @param product_uom: Unit of measure of product @param product_uos: Unit of sale of product @return: Dictionary of values """ result = { 'product_qty': 0.00 } warning = {} if (not product_id) or (product_uos_qty <=0.0): result['product_uos_qty'] = 0.0 return {'value': result} product_obj = self.pool.get('product.product') uos_coeff = product_obj.read(cr, uid, product_id, ['uos_coeff']) # Warn if the quantity was decreased for move in self.read(cr, uid, ids, ['product_uos_qty']): if product_uos_qty < move['product_uos_qty']: warning.update({ 'title': _('Warning: No Back Order'), 'message': _("By changing the quantity here, you accept the " "new quantity as complete: OpenERP will not " "automatically generate a Back Order.") }) break if product_uos and product_uom and (product_uom != product_uos): result['product_qty'] = product_uos_qty / uos_coeff['uos_coeff'] else: result['product_qty'] = product_uos_qty return {'value': result, 'warning': warning} def onchange_product_id(self, cr, uid, ids, prod_id=False, loc_id=False, loc_dest_id=False, partner_id=False): """ On change of product id, if finds UoM, UoS, quantity and UoS quantity. @param prod_id: Changed Product id @param loc_id: Source location id @param loc_dest_id: Destination location id @param partner_id: Address id of partner @return: Dictionary of values """ if not prod_id: return {} user = self.pool.get('res.users').browse(cr, uid, uid) lang = user and user.lang or False if partner_id: addr_rec = self.pool.get('res.partner').browse(cr, uid, partner_id) if addr_rec: lang = addr_rec and addr_rec.lang or False ctx = {'lang': lang} product = self.pool.get('product.product').browse(cr, uid, [prod_id], context=ctx)[0] uos_id = product.uos_id and product.uos_id.id or False result = { 'product_uom': product.uom_id.id, 'product_uos': uos_id, 'product_qty': 1.00, 'product_uos_qty' : self.pool.get('stock.move').onchange_quantity(cr, uid, ids, prod_id, 1.00, product.uom_id.id, uos_id)['value']['product_uos_qty'], 'prodlot_id' : False, } if not ids: result['name'] = product.partner_ref if loc_id: result['location_id'] = loc_id if loc_dest_id: result['location_dest_id'] = loc_dest_id return {'value': result} def onchange_move_type(self, cr, uid, ids, type, context=None): """ On change of move type gives sorce and destination location. @param type: Move Type @return: Dictionary of values """ mod_obj = self.pool.get('ir.model.data') location_source_id = 'stock_location_stock' location_dest_id = 'stock_location_stock' if type == 'in': location_source_id = 'stock_location_suppliers' location_dest_id = 'stock_location_stock' elif type == 'out': location_source_id = 'stock_location_stock' location_dest_id = 'stock_location_customers' try: source_location = mod_obj.get_object_reference(cr, uid, 'stock', location_source_id) with tools.mute_logger('openerp.osv.orm'): self.pool.get('stock.location').check_access_rule(cr, uid, [source_location[1]], 'read', context=context) except (orm.except_orm, ValueError): source_location = False try: dest_location = mod_obj.get_object_reference(cr, uid, 'stock', location_dest_id) with tools.mute_logger('openerp.osv.orm'): self.pool.get('stock.location').check_access_rule(cr, uid, [dest_location[1]], 'read', context=context) except (orm.except_orm, ValueError): dest_location = False return {'value':{'location_id': source_location and source_location[1] or False, 'location_dest_id': dest_location and dest_location[1] or False}} def onchange_date(self, cr, uid, ids, date, date_expected, context=None): """ On change of Scheduled Date gives a Move date. @param date_expected: Scheduled Date @param date: Move Date @return: Move Date """ if not date_expected: date_expected = time.strftime('%Y-%m-%d %H:%M:%S') return {'value':{'date': date_expected}} def _chain_compute(self, cr, uid, moves, context=None): """ Finds whether the location has chained location type or not. @param moves: Stock moves @return: Dictionary containing destination location with chained location type. """ result = {} for m in moves: dest = self.pool.get('stock.location').chained_location_get( cr, uid, m.location_dest_id, m.picking_id and m.picking_id.partner_id and m.picking_id.partner_id, m.product_id, context ) if dest: if dest[1] == 'transparent': newdate = (datetime.strptime(m.date, '%Y-%m-%d %H:%M:%S') + relativedelta(days=dest[2] or 0)).strftime('%Y-%m-%d') self.write(cr, uid, [m.id], { 'date': newdate, 'location_dest_id': dest[0].id}) if m.picking_id and (dest[3] or dest[5]): self.pool.get('stock.picking').write(cr, uid, [m.picking_id.id], { 'stock_journal_id': dest[3] or m.picking_id.stock_journal_id.id, 'type': dest[5] or m.picking_id.type }, context=context) m.location_dest_id = dest[0] res2 = self._chain_compute(cr, uid, [m], context=context) for pick_id in res2.keys(): result.setdefault(pick_id, []) result[pick_id] += res2[pick_id] else: result.setdefault(m.picking_id, []) result[m.picking_id].append( (m, dest) ) return result def _prepare_chained_picking(self, cr, uid, picking_name, picking, picking_type, moves_todo, context=None): """Prepare the definition (values) to create a new chained picking. :param str picking_name: desired new picking name :param browse_record picking: source picking (being chained to) :param str picking_type: desired new picking type :param list moves_todo: specification of the stock moves to be later included in this picking, in the form:: [[move, (dest_location, auto_packing, chained_delay, chained_journal, chained_company_id, chained_picking_type)], ... ] See also :meth:`stock_location.chained_location_get`. """ res_company = self.pool.get('res.company') return { 'name': picking_name, 'origin': tools.ustr(picking.origin or ''), 'type': picking_type, 'note': picking.note, 'move_type': picking.move_type, 'auto_picking': moves_todo[0][1][1] == 'auto', 'stock_journal_id': moves_todo[0][1][3], 'company_id': moves_todo[0][1][4] or res_company._company_default_get(cr, uid, 'stock.company', context=context), 'partner_id': picking.partner_id.id, 'invoice_state': 'none', 'date': picking.date, } def _create_chained_picking(self, cr, uid, picking_name, picking, picking_type, moves_todo, context=None): picking_obj = self.pool.get('stock.picking') return picking_obj.create(cr, uid, self._prepare_chained_picking(cr, uid, picking_name, picking, picking_type, moves_todo, context=context)) def create_chained_picking(self, cr, uid, moves, context=None): res_obj = self.pool.get('res.company') location_obj = self.pool.get('stock.location') move_obj = self.pool.get('stock.move') wf_service = netsvc.LocalService("workflow") new_moves = [] if context is None: context = {} seq_obj = self.pool.get('ir.sequence') for picking, todo in self._chain_compute(cr, uid, moves, context=context).items(): ptype = todo[0][1][5] and todo[0][1][5] or location_obj.picking_type_get(cr, uid, todo[0][0].location_dest_id, todo[0][1][0]) if picking: # name of new picking according to its type if ptype == 'internal': new_pick_name = seq_obj.get(cr, uid,'stock.picking') else : new_pick_name = seq_obj.get(cr, uid, 'stock.picking.' + ptype) pickid = self._create_chained_picking(cr, uid, new_pick_name, picking, ptype, todo, context=context) # Need to check name of old picking because it always considers picking as "OUT" when created from Sales Order old_ptype = location_obj.picking_type_get(cr, uid, picking.move_lines[0].location_id, picking.move_lines[0].location_dest_id) if old_ptype != picking.type: old_pick_name = seq_obj.get(cr, uid, 'stock.picking.' + old_ptype) self.pool.get('stock.picking').write(cr, uid, [picking.id], {'name': old_pick_name, 'type': old_ptype}, context=context) else: pickid = False for move, (loc, dummy, delay, dummy, company_id, ptype, invoice_state) in todo: new_id = move_obj.copy(cr, uid, move.id, { 'location_id': move.location_dest_id.id, 'location_dest_id': loc.id, 'date': time.strftime('%Y-%m-%d'), 'picking_id': pickid, 'state': 'waiting', 'company_id': company_id or res_obj._company_default_get(cr, uid, 'stock.company', context=context) , 'move_history_ids': [], 'date_expected': (datetime.strptime(move.date, '%Y-%m-%d %H:%M:%S') + relativedelta(days=delay or 0)).strftime('%Y-%m-%d'), 'move_history_ids2': []} ) move_obj.write(cr, uid, [move.id], { 'move_dest_id': new_id, 'move_history_ids': [(4, new_id)] }) new_moves.append(self.browse(cr, uid, [new_id])[0]) if pickid: wf_service.trg_validate(uid, 'stock.picking', pickid, 'button_confirm', cr) if new_moves: new_moves += self.create_chained_picking(cr, uid, new_moves, context) return new_moves def action_confirm(self, cr, uid, ids, context=None): """ Confirms stock move. @return: List of ids. """ moves = self.browse(cr, uid, ids, context=context) self.write(cr, uid, ids, {'state': 'confirmed'}) self.create_chained_picking(cr, uid, moves, context) return [] def action_assign(self, cr, uid, ids, *args): """ Changes state to confirmed or waiting. @return: List of values """ todo = [] for move in self.browse(cr, uid, ids): if move.state in ('confirmed', 'waiting'): todo.append(move.id) res = self.check_assign(cr, uid, todo) return res def force_assign(self, cr, uid, ids, context=None): """ Changes the state to assigned. @return: True """ self.write(cr, uid, ids, {'state': 'assigned'}) wf_service = netsvc.LocalService('workflow') for move in self.browse(cr, uid, ids, context): if move.picking_id: wf_service.trg_write(uid, 'stock.picking', move.picking_id.id, cr) return True def cancel_assign(self, cr, uid, ids, context=None): """ Changes the state to confirmed. @return: True """ self.write(cr, uid, ids, {'state': 'confirmed'}) # fix for bug lp:707031 # called write of related picking because changing move availability does # not trigger workflow of picking in order to change the state of picking wf_service = netsvc.LocalService('workflow') for move in self.browse(cr, uid, ids, context): if move.picking_id: wf_service.trg_write(uid, 'stock.picking', move.picking_id.id, cr) return True # # Duplicate stock.move # def check_assign(self, cr, uid, ids, context=None): """ Checks the product type and accordingly writes the state. @return: No. of moves done """ done = [] count = 0 pickings = {} if context is None: context = {} for move in self.browse(cr, uid, ids, context=context): if move.product_id.type == 'consu' or move.location_id.usage == 'supplier': if move.state in ('confirmed', 'waiting'): done.append(move.id) pickings[move.picking_id.id] = 1 continue if move.state in ('confirmed', 'waiting'): # Important: we must pass lock=True to _product_reserve() to avoid race conditions and double reservations res = self.pool.get('stock.location')._product_reserve(cr, uid, [move.location_id.id], move.product_id.id, move.product_qty, {'uom': move.product_uom.id}, lock=True) if res: #_product_available_test depends on the next status for correct functioning #the test does not work correctly if the same product occurs multiple times #in the same order. This is e.g. the case when using the button 'split in two' of #the stock outgoing form self.write(cr, uid, [move.id], {'state':'assigned'}) done.append(move.id) pickings[move.picking_id.id] = 1 r = res.pop(0) product_uos_qty = self.pool.get('stock.move').onchange_quantity(cr, uid, ids, move.product_id.id, r[0], move.product_id.uom_id.id, move.product_id.uos_id.id)['value']['product_uos_qty'] cr.execute('update stock_move set location_id=%s, product_qty=%s, product_uos_qty=%s where id=%s', (r[1], r[0],product_uos_qty, move.id)) while res: r = res.pop(0) product_uos_qty = self.pool.get('stock.move').onchange_quantity(cr, uid, ids, move.product_id.id, r[0], move.product_id.uom_id.id, move.product_id.uos_id.id)['value']['product_uos_qty'] move_id = self.copy(cr, uid, move.id, {'product_uos_qty': product_uos_qty, 'product_qty': r[0], 'location_id': r[1]}) done.append(move_id) if done: count += len(done) self.write(cr, uid, done, {'state': 'assigned'}) if count: for pick_id in pickings: wf_service = netsvc.LocalService("workflow") wf_service.trg_write(uid, 'stock.picking', pick_id, cr) return count def setlast_tracking(self, cr, uid, ids, context=None): tracking_obj = self.pool.get('stock.tracking') picking = self.browse(cr, uid, ids, context=context)[0].picking_id if picking: last_track = [line.tracking_id.id for line in picking.move_lines if line.tracking_id] if not last_track: last_track = tracking_obj.create(cr, uid, {}, context=context) else: last_track.sort() last_track = last_track[-1] self.write(cr, uid, ids, {'tracking_id': last_track}) return True # # Cancel move => cancel others move and pickings # def action_cancel(self, cr, uid, ids, context=None): """ Cancels the moves and if all moves are cancelled it cancels the picking. @return: True """ if not len(ids): return True if context is None: context = {} pickings = set() for move in self.browse(cr, uid, ids, context=context): if move.state in ('confirmed', 'waiting', 'assigned', 'draft'): if move.picking_id: pickings.add(move.picking_id.id) if move.move_dest_id and move.move_dest_id.state == 'waiting': self.write(cr, uid, [move.move_dest_id.id], {'state': 'confirmed'}, context=context) if context.get('call_unlink',False) and move.move_dest_id.picking_id: wf_service = netsvc.LocalService("workflow") wf_service.trg_write(uid, 'stock.picking', move.move_dest_id.picking_id.id, cr) self.write(cr, uid, ids, {'state': 'cancel', 'move_dest_id': False}, context=context) if not context.get('call_unlink',False): for pick in self.pool.get('stock.picking').browse(cr, uid, list(pickings), context=context): if all(move.state == 'cancel' for move in pick.move_lines): self.pool.get('stock.picking').write(cr, uid, [pick.id], {'state': 'cancel'}, context=context) wf_service = netsvc.LocalService("workflow") for id in ids: wf_service.trg_trigger(uid, 'stock.move', id, cr) return True def _get_accounting_data_for_valuation(self, cr, uid, move, context=None): """ Return the accounts and journal to use to post Journal Entries for the real-time valuation of the move. :param context: context dictionary that can explicitly mention the company to consider via the 'force_company' key :raise: osv.except_osv() is any mandatory account or journal is not defined. """ product_obj=self.pool.get('product.product') accounts = product_obj.get_product_accounts(cr, uid, move.product_id.id, context) if move.location_id.valuation_out_account_id: acc_src = move.location_id.valuation_out_account_id.id else: acc_src = accounts['stock_account_input'] if move.location_dest_id.valuation_in_account_id: acc_dest = move.location_dest_id.valuation_in_account_id.id else: acc_dest = accounts['stock_account_output'] acc_valuation = accounts.get('property_stock_valuation_account_id', False) journal_id = accounts['stock_journal'] if acc_dest == acc_valuation: raise osv.except_osv(_('Error!'), _('Cannot create Journal Entry, Output Account of this product and Valuation account on category of this product are same.')) if acc_src == acc_valuation: raise osv.except_osv(_('Error!'), _('Cannot create Journal Entry, Input Account of this product and Valuation account on category of this product are same.')) if not acc_src: raise osv.except_osv(_('Error!'), _('Please define stock input account for this product or its category: "%s" (id: %d)') % \ (move.product_id.name, move.product_id.id,)) if not acc_dest: raise osv.except_osv(_('Error!'), _('Please define stock output account for this product or its category: "%s" (id: %d)') % \ (move.product_id.name, move.product_id.id,)) if not journal_id: raise osv.except_osv(_('Error!'), _('Please define journal on the product category: "%s" (id: %d)') % \ (move.product_id.categ_id.name, move.product_id.categ_id.id,)) if not acc_valuation: raise osv.except_osv(_('Error!'), _('Please define inventory valuation account on the product category: "%s" (id: %d)') % \ (move.product_id.categ_id.name, move.product_id.categ_id.id,)) return journal_id, acc_src, acc_dest, acc_valuation def _get_reference_accounting_values_for_valuation(self, cr, uid, move, context=None): """ Return the reference amount and reference currency representing the inventory valuation for this move. These reference values should possibly be converted before being posted in Journals to adapt to the primary and secondary currencies of the relevant accounts. """ product_uom_obj = self.pool.get('product.uom') # by default the reference currency is that of the move's company reference_currency_id = move.company_id.currency_id.id default_uom = move.product_id.uom_id.id qty = product_uom_obj._compute_qty(cr, uid, move.product_uom.id, move.product_qty, default_uom) # if product is set to average price and a specific value was entered in the picking wizard, # we use it if move.product_id.cost_method == 'average' and move.price_unit: reference_amount = qty * move.price_unit reference_currency_id = move.price_currency_id.id or reference_currency_id # Otherwise we default to the company's valuation price type, considering that the values of the # valuation field are expressed in the default currency of the move's company. else: if context is None: context = {} currency_ctx = dict(context, currency_id = move.company_id.currency_id.id) amount_unit = move.product_id.price_get('standard_price', context=currency_ctx)[move.product_id.id] reference_amount = amount_unit * qty return reference_amount, reference_currency_id def _create_product_valuation_moves(self, cr, uid, move, context=None): """ Generate the appropriate accounting moves if the product being moves is subject to real_time valuation tracking, and the source or destination location is a transit location or is outside of the company. """ if move.product_id.valuation == 'real_time': # FIXME: product valuation should perhaps be a property? if context is None: context = {} src_company_ctx = dict(context,force_company=move.location_id.company_id.id) dest_company_ctx = dict(context,force_company=move.location_dest_id.company_id.id) account_moves = [] # Outgoing moves (or cross-company output part) if move.location_id.company_id \ and (move.location_id.usage == 'internal' and move.location_dest_id.usage != 'internal'\ or move.location_id.company_id != move.location_dest_id.company_id): journal_id, acc_src, acc_dest, acc_valuation = self._get_accounting_data_for_valuation(cr, uid, move, src_company_ctx) reference_amount, reference_currency_id = self._get_reference_accounting_values_for_valuation(cr, uid, move, src_company_ctx) #returning goods to supplier if move.location_dest_id.usage == 'supplier': account_moves += [(journal_id, self._create_account_move_line(cr, uid, move, acc_valuation, acc_src, reference_amount, reference_currency_id, context))] else: account_moves += [(journal_id, self._create_account_move_line(cr, uid, move, acc_valuation, acc_dest, reference_amount, reference_currency_id, context))] # Incoming moves (or cross-company input part) if move.location_dest_id.company_id \ and (move.location_id.usage != 'internal' and move.location_dest_id.usage == 'internal'\ or move.location_id.company_id != move.location_dest_id.company_id): journal_id, acc_src, acc_dest, acc_valuation = self._get_accounting_data_for_valuation(cr, uid, move, dest_company_ctx) reference_amount, reference_currency_id = self._get_reference_accounting_values_for_valuation(cr, uid, move, src_company_ctx) #goods return from customer if move.location_id.usage == 'customer': account_moves += [(journal_id, self._create_account_move_line(cr, uid, move, acc_dest, acc_valuation, reference_amount, reference_currency_id, context))] else: account_moves += [(journal_id, self._create_account_move_line(cr, uid, move, acc_src, acc_valuation, reference_amount, reference_currency_id, context))] move_obj = self.pool.get('account.move') for j_id, move_lines in account_moves: move_obj.create(cr, uid, { 'journal_id': j_id, 'line_id': move_lines, 'ref': move.picking_id and move.picking_id.name}, context=context) def action_done(self, cr, uid, ids, context=None): """ Makes the move done and if all moves are done, it will finish the picking. @return: """ picking_ids = [] move_ids = [] wf_service = netsvc.LocalService("workflow") if context is None: context = {} todo = [] for move in self.browse(cr, uid, ids, context=context): if move.state=="draft": todo.append(move.id) if todo: self.action_confirm(cr, uid, todo, context=context) todo = [] for move in self.browse(cr, uid, ids, context=context): if move.state in ['done','cancel']: continue move_ids.append(move.id) if move.picking_id: picking_ids.append(move.picking_id.id) if move.move_dest_id.id and (move.state != 'done'): # Downstream move should only be triggered if this move is the last pending upstream move other_upstream_move_ids = self.search(cr, uid, [('id','!=',move.id),('state','not in',['done','cancel']), ('move_dest_id','=',move.move_dest_id.id)], context=context) if not other_upstream_move_ids: self.write(cr, uid, [move.id], {'move_history_ids': [(4, move.move_dest_id.id)]}) if move.move_dest_id.state in ('waiting', 'confirmed'): self.force_assign(cr, uid, [move.move_dest_id.id], context=context) if move.move_dest_id.picking_id: wf_service.trg_write(uid, 'stock.picking', move.move_dest_id.picking_id.id, cr) if move.move_dest_id.auto_validate: self.action_done(cr, uid, [move.move_dest_id.id], context=context) self._create_product_valuation_moves(cr, uid, move, context=context) if move.state not in ('confirmed','done','assigned'): todo.append(move.id) if todo: self.action_confirm(cr, uid, todo, context=context) self.write(cr, uid, move_ids, {'state': 'done', 'date': time.strftime(DEFAULT_SERVER_DATETIME_FORMAT)}, context=context) for id in move_ids: wf_service.trg_trigger(uid, 'stock.move', id, cr) for pick_id in picking_ids: wf_service.trg_write(uid, 'stock.picking', pick_id, cr) return True def _create_account_move_line(self, cr, uid, move, src_account_id, dest_account_id, reference_amount, reference_currency_id, context=None): """ Generate the account.move.line values to post to track the stock valuation difference due to the processing of the given stock move. """ # prepare default values considering that the destination accounts have the reference_currency_id as their main currency partner_id = (move.picking_id.partner_id and self.pool.get('res.partner')._find_accounting_partner(move.picking_id.partner_id).id) or False debit_line_vals = { 'name': move.name, 'product_id': move.product_id and move.product_id.id or False, 'quantity': move.product_qty, 'ref': move.picking_id and move.picking_id.name or False, 'date': time.strftime('%Y-%m-%d'), 'partner_id': partner_id, 'debit': reference_amount, 'account_id': dest_account_id, } credit_line_vals = { 'name': move.name, 'product_id': move.product_id and move.product_id.id or False, 'quantity': move.product_qty, 'ref': move.picking_id and move.picking_id.name or False, 'date': time.strftime('%Y-%m-%d'), 'partner_id': partner_id, 'credit': reference_amount, 'account_id': src_account_id, } # if we are posting to accounts in a different currency, provide correct values in both currencies correctly # when compatible with the optional secondary currency on the account. # Financial Accounts only accept amounts in secondary currencies if there's no secondary currency on the account # or if it's the same as that of the secondary amount being posted. account_obj = self.pool.get('account.account') src_acct, dest_acct = account_obj.browse(cr, uid, [src_account_id, dest_account_id], context=context) src_main_currency_id = src_acct.company_id.currency_id.id dest_main_currency_id = dest_acct.company_id.currency_id.id cur_obj = self.pool.get('res.currency') if reference_currency_id != src_main_currency_id: # fix credit line: credit_line_vals['credit'] = cur_obj.compute(cr, uid, reference_currency_id, src_main_currency_id, reference_amount, context=context) if (not src_acct.currency_id) or src_acct.currency_id.id == reference_currency_id: credit_line_vals.update(currency_id=reference_currency_id, amount_currency=-reference_amount) if reference_currency_id != dest_main_currency_id: # fix debit line: debit_line_vals['debit'] = cur_obj.compute(cr, uid, reference_currency_id, dest_main_currency_id, reference_amount, context=context) if (not dest_acct.currency_id) or dest_acct.currency_id.id == reference_currency_id: debit_line_vals.update(currency_id=reference_currency_id, amount_currency=reference_amount) return [(0, 0, debit_line_vals), (0, 0, credit_line_vals)] def unlink(self, cr, uid, ids, context=None): if context is None: context = {} ctx = context.copy() for move in self.browse(cr, uid, ids, context=context): if move.state != 'draft' and not ctx.get('call_unlink', False): raise osv.except_osv(_('User Error!'), _('You can only delete draft moves.')) return super(stock_move, self).unlink( cr, uid, ids, context=ctx) # _create_lot function is not used anywhere def _create_lot(self, cr, uid, ids, product_id, prefix=False): """ Creates production lot @return: Production lot id """ prodlot_obj = self.pool.get('stock.production.lot') prodlot_id = prodlot_obj.create(cr, uid, {'prefix': prefix, 'product_id': product_id}) return prodlot_id def action_scrap(self, cr, uid, ids, quantity, location_id, context=None): """ Move the scrap/damaged product into scrap location @param cr: the database cursor @param uid: the user id @param ids: ids of stock move object to be scrapped @param quantity : specify scrap qty @param location_id : specify scrap location @param context: context arguments @return: Scraped lines """ #quantity should in MOVE UOM if quantity <= 0: raise osv.except_osv(_('Warning!'), _('Please provide a positive quantity to scrap.')) res = [] for move in self.browse(cr, uid, ids, context=context): source_location = move.location_id if move.state == 'done': source_location = move.location_dest_id if source_location.usage != 'internal': #restrict to scrap from a virtual location because it's meaningless and it may introduce errors in stock ('creating' new products from nowhere) raise osv.except_osv(_('Error!'), _('Forbidden operation: it is not allowed to scrap products from a virtual location.')) move_qty = move.product_qty uos_qty = quantity / move_qty * move.product_uos_qty default_val = { 'location_id': source_location.id, 'product_qty': quantity, 'product_uos_qty': uos_qty, 'state': move.state, 'scrapped': True, 'location_dest_id': location_id, 'tracking_id': move.tracking_id.id, 'prodlot_id': move.prodlot_id.id, } new_move = self.copy(cr, uid, move.id, default_val) res += [new_move] product_obj = self.pool.get('product.product') for product in product_obj.browse(cr, uid, [move.product_id.id], context=context): if move.picking_id: uom = product.uom_id.name if product.uom_id else '' message = _("%s %s %s has been <b>moved to</b> scrap.") % (quantity, uom, product.name) move.picking_id.message_post(body=message) self.action_done(cr, uid, res, context=context) return res # action_split function is not used anywhere # FIXME: deprecate this method def action_split(self, cr, uid, ids, quantity, split_by_qty=1, prefix=False, with_lot=True, context=None): """ Split Stock Move lines into production lot which specified split by quantity. @param cr: the database cursor @param uid: the user id @param ids: ids of stock move object to be splited @param split_by_qty : specify split by qty @param prefix : specify prefix of production lot @param with_lot : if true, prodcution lot will assign for split line otherwise not. @param context: context arguments @return: Splited move lines """ if context is None: context = {} if quantity <= 0: raise osv.except_osv(_('Warning!'), _('Please provide proper quantity.')) res = [] for move in self.browse(cr, uid, ids, context=context): if split_by_qty <= 0 or quantity == 0: return res uos_qty = split_by_qty / move.product_qty * move.product_uos_qty quantity_rest = quantity % split_by_qty uos_qty_rest = split_by_qty / move.product_qty * move.product_uos_qty update_val = { 'product_qty': split_by_qty, 'product_uos_qty': uos_qty, } for idx in range(int(quantity//split_by_qty)): if not idx and move.product_qty<=quantity: current_move = move.id else: current_move = self.copy(cr, uid, move.id, {'state': move.state}) res.append(current_move) if with_lot: update_val['prodlot_id'] = self._create_lot(cr, uid, [current_move], move.product_id.id) self.write(cr, uid, [current_move], update_val) if quantity_rest > 0: idx = int(quantity//split_by_qty) update_val['product_qty'] = quantity_rest update_val['product_uos_qty'] = uos_qty_rest if not idx and move.product_qty<=quantity: current_move = move.id else: current_move = self.copy(cr, uid, move.id, {'state': move.state}) res.append(current_move) if with_lot: update_val['prodlot_id'] = self._create_lot(cr, uid, [current_move], move.product_id.id) self.write(cr, uid, [current_move], update_val) return res def action_consume(self, cr, uid, ids, quantity, location_id=False, context=None): """ Consumed product with specific quatity from specific source location @param cr: the database cursor @param uid: the user id @param ids: ids of stock move object to be consumed @param quantity : specify consume quantity @param location_id : specify source location @param context: context arguments @return: Consumed lines """ #quantity should in MOVE UOM if context is None: context = {} if quantity <= 0: raise osv.except_osv(_('Warning!'), _('Please provide proper quantity.')) res = [] for move in self.browse(cr, uid, ids, context=context): move_qty = move.product_qty if move_qty <= 0: raise osv.except_osv(_('Error!'), _('Cannot consume a move with negative or zero quantity.')) quantity_rest = move.product_qty quantity_rest -= quantity uos_qty_rest = quantity_rest / move_qty * move.product_uos_qty if quantity_rest <= 0: quantity_rest = 0 uos_qty_rest = 0 quantity = move.product_qty uos_qty = quantity / move_qty * move.product_uos_qty if float_compare(quantity_rest, 0, precision_rounding=move.product_id.uom_id.rounding): default_val = { 'product_qty': quantity, 'product_uos_qty': uos_qty, 'state': move.state, 'location_id': location_id or move.location_id.id, } current_move = self.copy(cr, uid, move.id, default_val) res += [current_move] update_val = {} update_val['product_qty'] = quantity_rest update_val['product_uos_qty'] = uos_qty_rest self.write(cr, uid, [move.id], update_val) else: quantity_rest = quantity uos_qty_rest = uos_qty res += [move.id] update_val = { 'product_qty' : quantity_rest, 'product_uos_qty' : uos_qty_rest, 'location_id': location_id or move.location_id.id, } self.write(cr, uid, [move.id], update_val) self.action_done(cr, uid, res, context=context) return res # FIXME: needs refactoring, this code is partially duplicated in stock_picking.do_partial()! def do_partial(self, cr, uid, ids, partial_datas, context=None): """ Makes partial pickings and moves done. @param partial_datas: Dictionary containing details of partial picking like partner_id, delivery_date, delivery moves with product_id, product_qty, uom """ res = {} picking_obj = self.pool.get('stock.picking') product_obj = self.pool.get('product.product') currency_obj = self.pool.get('res.currency') uom_obj = self.pool.get('product.uom') wf_service = netsvc.LocalService("workflow") if context is None: context = {} complete, too_many, too_few = [], [], [] move_product_qty = {} prodlot_ids = {} for move in self.browse(cr, uid, ids, context=context): if move.state in ('done', 'cancel'): continue partial_data = partial_datas.get('move%s'%(move.id), False) assert partial_data, _('Missing partial picking data for move #%s.') % (move.id) product_qty = partial_data.get('product_qty',0.0) move_product_qty[move.id] = product_qty product_uom = partial_data.get('product_uom',False) product_price = partial_data.get('product_price',0.0) product_currency = partial_data.get('product_currency',False) prodlot_ids[move.id] = partial_data.get('prodlot_id') if move.product_qty == product_qty: complete.append(move) elif move.product_qty > product_qty: too_few.append(move) else: too_many.append(move) # Average price computation if (move.picking_id.type == 'in') and (move.product_id.cost_method == 'average'): product = product_obj.browse(cr, uid, move.product_id.id) move_currency_id = move.company_id.currency_id.id context['currency_id'] = move_currency_id qty = uom_obj._compute_qty(cr, uid, product_uom, product_qty, product.uom_id.id) if qty > 0: new_price = currency_obj.compute(cr, uid, product_currency, move_currency_id, product_price, round=False) new_price = uom_obj._compute_price(cr, uid, product_uom, new_price, product.uom_id.id) if product.qty_available <= 0: new_std_price = new_price else: # Get the standard price amount_unit = product.price_get('standard_price', context=context)[product.id] new_std_price = ((amount_unit * product.qty_available)\ + (new_price * qty))/(product.qty_available + qty) product_obj.write(cr, uid, [product.id],{'standard_price': new_std_price}) # Record the values that were chosen in the wizard, so they can be # used for inventory valuation if real-time valuation is enabled. self.write(cr, uid, [move.id], {'price_unit': product_price, 'price_currency_id': product_currency, }) for move in too_few: product_qty = move_product_qty[move.id] if product_qty != 0: defaults = { 'product_qty' : product_qty, 'product_uos_qty': product_qty, 'picking_id' : move.picking_id.id, 'state': 'assigned', 'move_dest_id': False, 'price_unit': move.price_unit, } prodlot_id = prodlot_ids[move.id] if prodlot_id: defaults.update(prodlot_id=prodlot_id) new_move = self.copy(cr, uid, move.id, defaults) complete.append(self.browse(cr, uid, new_move)) self.write(cr, uid, [move.id], { 'product_qty': move.product_qty - product_qty, 'product_uos_qty': move.product_qty - product_qty, 'prodlot_id': False, 'tracking_id': False, }) for move in too_many: self.write(cr, uid, [move.id], { 'product_qty': move.product_qty, 'product_uos_qty': move.product_qty, }) complete.append(move) for move in complete: if prodlot_ids.get(move.id): self.write(cr, uid, [move.id],{'prodlot_id': prodlot_ids.get(move.id)}) self.action_done(cr, uid, [move.id], context=context) if move.picking_id.id : # TOCHECK : Done picking if all moves are done cr.execute(""" SELECT move.id FROM stock_picking pick RIGHT JOIN stock_move move ON move.picking_id = pick.id AND move.state = %s WHERE pick.id = %s""", ('done', move.picking_id.id)) res = cr.fetchall() if len(res) == len(move.picking_id.move_lines): picking_obj.action_move(cr, uid, [move.picking_id.id]) wf_service.trg_validate(uid, 'stock.picking', move.picking_id.id, 'button_done', cr) return [move.id for move in complete] stock_move() class stock_inventory(osv.osv): _name = "stock.inventory" _description = "Inventory" _columns = { 'name': fields.char('Inventory Reference', size=64, required=True, readonly=True, states={'draft': [('readonly', False)]}), 'date': fields.datetime('Creation Date', required=True, readonly=True, states={'draft': [('readonly', False)]}), 'date_done': fields.datetime('Date done'), 'inventory_line_id': fields.one2many('stock.inventory.line', 'inventory_id', 'Inventories', readonly=True, states={'draft': [('readonly', False)]}), 'move_ids': fields.many2many('stock.move', 'stock_inventory_move_rel', 'inventory_id', 'move_id', 'Created Moves'), 'state': fields.selection( (('draft', 'Draft'), ('cancel','Cancelled'), ('confirm','Confirmed'), ('done', 'Done')), 'Status', readonly=True, select=True), 'company_id': fields.many2one('res.company', 'Company', required=True, select=True, readonly=True, states={'draft':[('readonly',False)]}), } _defaults = { 'date': lambda *a: time.strftime('%Y-%m-%d %H:%M:%S'), 'state': 'draft', 'company_id': lambda self,cr,uid,c: self.pool.get('res.company')._company_default_get(cr, uid, 'stock.inventory', context=c) } def copy(self, cr, uid, id, default=None, context=None): if default is None: default = {} default = default.copy() default.update({'move_ids': [], 'date_done': False}) return super(stock_inventory, self).copy(cr, uid, id, default, context=context) def _inventory_line_hook(self, cr, uid, inventory_line, move_vals): """ Creates a stock move from an inventory line @param inventory_line: @param move_vals: @return: """ return self.pool.get('stock.move').create(cr, uid, move_vals) def action_done(self, cr, uid, ids, context=None): """ Finish the inventory @return: True """ if context is None: context = {} move_obj = self.pool.get('stock.move') for inv in self.browse(cr, uid, ids, context=context): move_obj.action_done(cr, uid, [x.id for x in inv.move_ids], context=context) self.write(cr, uid, [inv.id], {'state':'done', 'date_done': time.strftime('%Y-%m-%d %H:%M:%S')}, context=context) return True def action_confirm(self, cr, uid, ids, context=None): """ Confirm the inventory and writes its finished date @return: True """ if context is None: context = {} # to perform the correct inventory corrections we need analyze stock location by # location, never recursively, so we use a special context product_context = dict(context, compute_child=False) location_obj = self.pool.get('stock.location') for inv in self.browse(cr, uid, ids, context=context): move_ids = [] for line in inv.inventory_line_id: pid = line.product_id.id product_context.update(uom=line.product_uom.id, to_date=inv.date, date=inv.date, prodlot_id=line.prod_lot_id.id) amount = location_obj._product_get(cr, uid, line.location_id.id, [pid], product_context)[pid] change = line.product_qty - amount lot_id = line.prod_lot_id.id if change: location_id = line.product_id.property_stock_inventory.id value = { 'name': _('INV:') + (line.inventory_id.name or ''), 'product_id': line.product_id.id, 'product_uom': line.product_uom.id, 'prodlot_id': lot_id, 'date': inv.date, } if change > 0: value.update( { 'product_qty': change, 'location_id': location_id, 'location_dest_id': line.location_id.id, }) else: value.update( { 'product_qty': -change, 'location_id': line.location_id.id, 'location_dest_id': location_id, }) move_ids.append(self._inventory_line_hook(cr, uid, line, value)) self.write(cr, uid, [inv.id], {'state': 'confirm', 'move_ids': [(6, 0, move_ids)]}) self.pool.get('stock.move').action_confirm(cr, uid, move_ids, context=context) return True def action_cancel_draft(self, cr, uid, ids, context=None): """ Cancels the stock move and change inventory state to draft. @return: True """ for inv in self.browse(cr, uid, ids, context=context): self.pool.get('stock.move').action_cancel(cr, uid, [x.id for x in inv.move_ids], context=context) self.write(cr, uid, [inv.id], {'state':'draft'}, context=context) return True def action_cancel_inventory(self, cr, uid, ids, context=None): """ Cancels both stock move and inventory @return: True """ move_obj = self.pool.get('stock.move') account_move_obj = self.pool.get('account.move') for inv in self.browse(cr, uid, ids, context=context): move_obj.action_cancel(cr, uid, [x.id for x in inv.move_ids], context=context) for move in inv.move_ids: account_move_ids = account_move_obj.search(cr, uid, [('name', '=', move.name)]) if account_move_ids: account_move_data_l = account_move_obj.read(cr, uid, account_move_ids, ['state'], context=context) for account_move in account_move_data_l: if account_move['state'] == 'posted': raise osv.except_osv(_('User Error!'), _('In order to cancel this inventory, you must first unpost related journal entries.')) account_move_obj.unlink(cr, uid, [account_move['id']], context=context) self.write(cr, uid, [inv.id], {'state': 'cancel'}, context=context) return True stock_inventory() class stock_inventory_line(osv.osv): _name = "stock.inventory.line" _description = "Inventory Line" _rec_name = "inventory_id" _columns = { 'inventory_id': fields.many2one('stock.inventory', 'Inventory', ondelete='cascade', select=True), 'location_id': fields.many2one('stock.location', 'Location', required=True), 'product_id': fields.many2one('product.product', 'Product', required=True, select=True), 'product_uom': fields.many2one('product.uom', 'Product Unit of Measure', required=True), 'product_qty': fields.float('Quantity', digits_compute=dp.get_precision('Product Unit of Measure')), 'company_id': fields.related('inventory_id','company_id',type='many2one',relation='res.company',string='Company',store=True, select=True, readonly=True), 'prod_lot_id': fields.many2one('stock.production.lot', 'Serial Number', domain="[('product_id','=',product_id)]"), 'state': fields.related('inventory_id','state',type='char',string='Status',readonly=True), } def _default_stock_location(self, cr, uid, context=None): try: location_model, location_id = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'stock', 'stock_location_stock') with tools.mute_logger('openerp.osv.orm'): self.pool.get('stock.location').check_access_rule(cr, uid, [location_id], 'read', context=context) except (orm.except_orm, ValueError): location_id = False return location_id _defaults = { 'location_id': _default_stock_location } def on_change_product_id(self, cr, uid, ids, location_id, product, uom=False, to_date=False): """ Changes UoM and name if product_id changes. @param location_id: Location id @param product: Changed product_id @param uom: UoM product @return: Dictionary of changed values """ if not product: return {'value': {'product_qty': 0.0, 'product_uom': False, 'prod_lot_id': False}} obj_product = self.pool.get('product.product').browse(cr, uid, product) uom = uom or obj_product.uom_id.id amount = self.pool.get('stock.location')._product_get(cr, uid, location_id, [product], {'uom': uom, 'to_date': to_date, 'compute_child': False})[product] result = {'product_qty': amount, 'product_uom': uom, 'prod_lot_id': False} return {'value': result} stock_inventory_line() #---------------------------------------------------------- # Stock Warehouse #---------------------------------------------------------- class stock_warehouse(osv.osv): _name = "stock.warehouse" _description = "Warehouse" _columns = { 'name': fields.char('Name', size=128, required=True, select=True), 'company_id': fields.many2one('res.company', 'Company', required=True, select=True), 'partner_id': fields.many2one('res.partner', 'Owner Address'), 'lot_input_id': fields.many2one('stock.location', 'Location Input', required=True, domain=[('usage','<>','view')]), 'lot_stock_id': fields.many2one('stock.location', 'Location Stock', required=True, domain=[('usage','=','internal')]), 'lot_output_id': fields.many2one('stock.location', 'Location Output', required=True, domain=[('usage','<>','view')]), } def _default_lot_input_stock_id(self, cr, uid, context=None): try: lot_input_stock_model, lot_input_stock_id = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'stock', 'stock_location_stock') with tools.mute_logger('openerp.osv.orm'): self.pool.get('stock.location').check_access_rule(cr, uid, [lot_input_stock_id], 'read', context=context) except (ValueError, orm.except_orm): # the user does not have read access on the location or it does not exists lot_input_stock_id = False return lot_input_stock_id def _default_lot_output_id(self, cr, uid, context=None): try: lot_output_model, lot_output_id = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'stock', 'stock_location_output') with tools.mute_logger('openerp.osv.orm'): self.pool.get('stock.location').check_access_rule(cr, uid, [lot_output_id], 'read', context=context) except (ValueError, orm.except_orm): # the user does not have read access on the location or it does not exists lot_output_id = False return lot_output_id _defaults = { 'company_id': lambda self, cr, uid, c: self.pool.get('res.company')._company_default_get(cr, uid, 'stock.inventory', context=c), 'lot_input_id': _default_lot_input_stock_id, 'lot_stock_id': _default_lot_input_stock_id, 'lot_output_id': _default_lot_output_id, } stock_warehouse() #---------------------------------------------------------- # "Empty" Classes that are used to vary from the original stock.picking (that are dedicated to the internal pickings) # in order to offer a different usability with different views, labels, available reports/wizards... #---------------------------------------------------------- class stock_picking_in(osv.osv): _name = "stock.picking.in" _inherit = "stock.picking" _table = "stock_picking" _description = "Incoming Shipments" def search(self, cr, user, args, offset=0, limit=None, order=None, context=None, count=False): return self.pool.get('stock.picking').search(cr, user, args, offset, limit, order, context, count) def read(self, cr, uid, ids, fields=None, context=None, load='_classic_read'): return self.pool.get('stock.picking').read(cr, uid, ids, fields=fields, context=context, load=load) def check_access_rights(self, cr, uid, operation, raise_exception=True): #override in order to redirect the check of acces rights on the stock.picking object return self.pool.get('stock.picking').check_access_rights(cr, uid, operation, raise_exception=raise_exception) def check_access_rule(self, cr, uid, ids, operation, context=None): #override in order to redirect the check of acces rules on the stock.picking object return self.pool.get('stock.picking').check_access_rule(cr, uid, ids, operation, context=context) def _workflow_trigger(self, cr, uid, ids, trigger, context=None): #override in order to trigger the workflow of stock.picking at the end of create, write and unlink operation #instead of it's own workflow (which is not existing) return self.pool.get('stock.picking')._workflow_trigger(cr, uid, ids, trigger, context=context) def _workflow_signal(self, cr, uid, ids, signal, context=None): #override in order to fire the workflow signal on given stock.picking workflow instance #instead of it's own workflow (which is not existing) return self.pool.get('stock.picking')._workflow_signal(cr, uid, ids, signal, context=context) def message_post(self, *args, **kwargs): """Post the message on stock.picking to be able to see it in the form view when using the chatter""" return self.pool.get('stock.picking').message_post(*args, **kwargs) def message_subscribe(self, *args, **kwargs): """Send the subscribe action on stock.picking model as it uses _name in request""" return self.pool.get('stock.picking').message_subscribe(*args, **kwargs) def message_unsubscribe(self, *args, **kwargs): """Send the unsubscribe action on stock.picking model to match with subscribe""" return self.pool.get('stock.picking').message_unsubscribe(*args, **kwargs) def default_get(self, cr, uid, fields_list, context=None): # merge defaults from stock.picking with possible defaults defined on stock.picking.in defaults = self.pool['stock.picking'].default_get(cr, uid, fields_list, context=context) in_defaults = super(stock_picking_in, self).default_get(cr, uid, fields_list, context=context) defaults.update(in_defaults) return defaults _columns = { 'backorder_id': fields.many2one('stock.picking.in', 'Back Order of', states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}, help="If this shipment was split, then this field links to the shipment which contains the already processed part.", select=True), 'state': fields.selection( [('draft', 'Draft'), ('auto', 'Waiting Another Operation'), ('confirmed', 'Waiting Availability'), ('assigned', 'Ready to Receive'), ('done', 'Received'), ('cancel', 'Cancelled'),], 'Status', readonly=True, select=True, help="""* Draft: not confirmed yet and will not be scheduled until confirmed\n * Waiting Another Operation: waiting for another move to proceed before it becomes automatically available (e.g. in Make-To-Order flows)\n * Waiting Availability: still waiting for the availability of products\n * Ready to Receive: products reserved, simply waiting for confirmation.\n * Received: has been processed, can't be modified or cancelled anymore\n * Cancelled: has been cancelled, can't be confirmed anymore"""), } _defaults = { 'type': 'in', } class stock_picking_out(osv.osv): _name = "stock.picking.out" _inherit = "stock.picking" _table = "stock_picking" _description = "Delivery Orders" def search(self, cr, user, args, offset=0, limit=None, order=None, context=None, count=False): return self.pool.get('stock.picking').search(cr, user, args, offset, limit, order, context, count) def read(self, cr, uid, ids, fields=None, context=None, load='_classic_read'): return self.pool.get('stock.picking').read(cr, uid, ids, fields=fields, context=context, load=load) def check_access_rights(self, cr, uid, operation, raise_exception=True): #override in order to redirect the check of acces rights on the stock.picking object return self.pool.get('stock.picking').check_access_rights(cr, uid, operation, raise_exception=raise_exception) def check_access_rule(self, cr, uid, ids, operation, context=None): #override in order to redirect the check of acces rules on the stock.picking object return self.pool.get('stock.picking').check_access_rule(cr, uid, ids, operation, context=context) def _workflow_trigger(self, cr, uid, ids, trigger, context=None): #override in order to trigger the workflow of stock.picking at the end of create, write and unlink operation #instead of it's own workflow (which is not existing) return self.pool.get('stock.picking')._workflow_trigger(cr, uid, ids, trigger, context=context) def _workflow_signal(self, cr, uid, ids, signal, context=None): #override in order to fire the workflow signal on given stock.picking workflow instance #instead of it's own workflow (which is not existing) return self.pool.get('stock.picking')._workflow_signal(cr, uid, ids, signal, context=context) def message_post(self, *args, **kwargs): """Post the message on stock.picking to be able to see it in the form view when using the chatter""" return self.pool.get('stock.picking').message_post(*args, **kwargs) def message_subscribe(self, *args, **kwargs): """Send the subscribe action on stock.picking model as it uses _name in request""" return self.pool.get('stock.picking').message_subscribe(*args, **kwargs) def message_unsubscribe(self, *args, **kwargs): """Send the unsubscribe action on stock.picking model to match with subscribe""" return self.pool.get('stock.picking').message_unsubscribe(*args, **kwargs) def default_get(self, cr, uid, fields_list, context=None): # merge defaults from stock.picking with possible defaults defined on stock.picking.out defaults = self.pool['stock.picking'].default_get(cr, uid, fields_list, context=context) out_defaults = super(stock_picking_out, self).default_get(cr, uid, fields_list, context=context) defaults.update(out_defaults) return defaults _columns = { 'backorder_id': fields.many2one('stock.picking.out', 'Back Order of', states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}, help="If this shipment was split, then this field links to the shipment which contains the already processed part.", select=True), 'state': fields.selection( [('draft', 'Draft'), ('auto', 'Waiting Another Operation'), ('confirmed', 'Waiting Availability'), ('assigned', 'Ready to Deliver'), ('done', 'Delivered'), ('cancel', 'Cancelled'),], 'Status', readonly=True, select=True, help="""* Draft: not confirmed yet and will not be scheduled until confirmed\n * Waiting Another Operation: waiting for another move to proceed before it becomes automatically available (e.g. in Make-To-Order flows)\n * Waiting Availability: still waiting for the availability of products\n * Ready to Deliver: products reserved, simply waiting for confirmation.\n * Delivered: has been processed, can't be modified or cancelled anymore\n * Cancelled: has been cancelled, can't be confirmed anymore"""), } _defaults = { 'type': 'out', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
alanjw/GreenOpenERP-Win-X86
openerp/addons/stock/stock.py
Python
agpl-3.0
163,768
OC.L10N.register( "files_external", { "Fetching request tokens failed. Verify that your app key and secret are correct." : "Ошибка получения токенов запроса. Проверьте корректность ключа и секрета приложения.", "Fetching access tokens failed. Verify that your app key and secret are correct." : "Ошибка получения токенов доступа. Проверьте корректность ключа и секрета приложения.", "Please provide a valid app key and secret." : "Пожалуйста укажите корректные ключ и секрет приложения.", "Step 1 failed. Exception: %s" : "Шаг 1 неудачен. Исключение: %s", "Step 2 failed. Exception: %s" : "Шаг 2 неудачен. Исключение: %s", "External storage" : "Внешнее хранилище", "Dropbox App Configuration" : "Настройка приложения Dropbox", "Google Drive App Configuration" : "Настройка приложения Google Drive", "Personal" : "Личное", "System" : "Система", "Grant access" : "Предоставить доступ", "Error configuring OAuth1" : "Ошибка настройки OAuth1", "Error configuring OAuth2" : "Ошибка настройки OAuth2", "Generate keys" : "Создать ключи", "Error generating key pair" : "Ошибка создания ключевой пары", "All users. Type to select user or group." : "Все пользователи. Для выбора введите имя пользователя или группы.", "(group)" : "(группа)", "Compatibility with Mac NFD encoding (slow)" : "Совместимость с кодировкой Mac NFD (медленно)", "Admin defined" : "Определено админом", "Saved" : "Сохранено", "Empty response from the server" : "Пустой ответ от сервера", "Couldn't access. Please logout and login to activate this mount point" : "Не удалось получить доступ. Пожалуйста, выйти и войдите чтобы активировать эту точку монтирования", "Couldn't get the information from the ownCloud server: {code} {type}" : "Не удалось получить информацию от сервера OwnCloud: {code} {type}", "Couldn't get the list of external mount points: {type}" : "Не удалось получить список внешних точек монтирования: {type}", "There was an error with message: " : "Обнаружена ошибка с сообщением:", "External mount error" : "Ошибка внешнего монтирования", "external-storage" : "внешнее-хранилище", "Couldn't get the list of Windows network drive mount points: empty response from the server" : "Не удалось получить список точек монтирования сетевых дисков Windows: пустой ответ от сервера", "Some of the configured external mount points are not connected. Please click on the red row(s) for more information" : "Некоторые из настроенных внешних точек монтирования не подключены. Для получения дополнительной информации пожалуйста нажмите на красную строку(и)", "Please enter the credentials for the {mount} mount" : "Пожалуйста укажите учетные данные для {mount}", "Username" : "Имя пользователя", "Password" : "Пароль", "Credentials saved" : "Учетные данные сохранены", "Credentials saving failed" : "Ошибка сохранения учетных данных", "Credentials required" : "Требуются учетные данные", "Save" : "Сохранить", "Storage with id \"%i\" not found" : "Хранилище с идентификатором \"%i\" не найдено", "Invalid backend or authentication mechanism class" : "Некорректный механизм авторизации или бэкенд", "Invalid mount point" : "Неправильная точка входа", "Objectstore forbidden" : "Хранение объектов запрещено", "Invalid storage backend \"%s\"" : "Неверный бэкенд хранилища \"%s\"", "Not permitted to use backend \"%s\"" : "Не допускается использование бэкенда \"%s\"", "Not permitted to use authentication mechanism \"%s\"" : "Не допускается использование механизма авторизации \"%s\"", "Unsatisfied backend parameters" : "Недопустимые настройки бэкенда", "Unsatisfied authentication mechanism parameters" : "Недопустимые настройки механизма авторизации", "Insufficient data: %s" : "Недостаточно данных: %s", "%s" : "%s", "Storage with id \"%i\" is not user editable" : "Пользователь не может редактировать хранилище \"%i\"", "Access key" : "Ключ доступа", "Secret key" : "Секретный ключ", "OAuth1" : "OAuth1", "App key" : "Ключ приложения", "App secret" : "Секретный ключ ", "OAuth2" : "OAuth2", "Client ID" : "Идентификатор клиента", "Client secret" : "Клиентский ключ ", "OpenStack" : "OpenStack", "Tenant name" : "Имя арендатора", "Identity endpoint URL" : "Удостоверение конечной точки URL", "Rackspace" : "Rackspace", "API key" : "Ключ API", "RSA public key" : "Открытый ключ RSA", "Public key" : "Открытый ключ", "Amazon S3" : "Amazon S3", "Bucket" : "Корзина", "Hostname" : "Имя хоста", "Port" : "Порт", "Region" : "Область", "Enable SSL" : "Включить SSL", "Enable Path Style" : "Включить стиль пути", "WebDAV" : "WebDAV", "URL" : "Ссылка", "Remote subfolder" : "Удаленный подкаталог", "Secure https://" : "Безопасный https://", "Dropbox" : "Dropbox", "Google Drive" : "Google Drive", "Local" : "Локально", "Location" : "Местоположение", "ownCloud" : "ownCloud", "SFTP" : "SFTP", "Host" : "Сервер", "Root" : "Корневой каталог", "SFTP with secret key login" : "SFTP с помощью секретного ключа", "SMB / CIFS" : "SMB / CIFS", "Share" : "Общий доступ", "Domain" : "Домен", "SMB / CIFS using OC login" : "SMB / CIFS с ипользованием логина OC", "Username as share" : "Имя пользователя в качестве имени общего ресурса", "OpenStack Object Storage" : "Хранилище объектов OpenStack", "Service name" : "Название сервиса", "Request timeout (seconds)" : "Таймаут запроса (секунды)", "<b>Note:</b> " : "<b>Примечание:</b> ", "<b>Note:</b> The cURL support in PHP is not enabled or installed. Mounting of %s is not possible. Please ask your system administrator to install it." : "<b>Примечание:</b> Поддержка cURL в PHP не включена или не установлена. Монтирование %s невозможно. Обратитесь к вашему системному администратору.", "<b>Note:</b> \"%s\" is not installed. Mounting of %s is not possible. Please ask your system administrator to install it." : "<b>Примечание:</b> \"%s\" не установлен. Монтирование %s невозможно. Пожалуйста, обратитесь к системному администратору.", "No external storage configured" : "Нет внешних хранилищ", "You can add external storages in the personal settings" : "Вы можете добавить внешние накопители в личных настройках", "Name" : "Имя", "Storage type" : "Тип хранилища", "Scope" : "Область", "Enable encryption" : "Включить шифрование", "Enable previews" : "Включить предпросмотр", "Enable sharing" : "Включить общий доступ", "Check for changes" : "Проверять изменения", "Never" : "Никогда", "Once every direct access" : "Один раз при прямом доступе", "External Storage" : "Внешнее хранилище", "Folder name" : "Имя каталога", "Authentication" : "Авторизация", "Configuration" : "Конфигурация", "Available for" : "Доступно для", "Add storage" : "Добавить хранилище", "Advanced settings" : "Расширенные настройки", "Delete" : "Удалить", "Allow users to mount external storage" : "Разрешить пользователями монтировать внешние накопители", "Allow users to mount the following external storage" : "Разрешить пользователям монтировать следующие сервисы хранения данных" }, "nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);");
IljaN/core
apps/files_external/l10n/ru.js
JavaScript
agpl-3.0
10,010
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs For Class Zend_Uri</title> <link rel="stylesheet" href="../media/stylesheet.css" /> <script src="../media/lib/classTree.js"></script> <script language="javascript" type="text/javascript"> var imgPlus = new Image(); var imgMinus = new Image(); imgPlus.src = "../media/images/plus.png"; imgMinus.src = "../media/images/minus.png"; function showNode(Node){ switch(navigator.family){ case 'nn4': // Nav 4.x code fork... var oTable = document.layers["span" + Node]; var oImg = document.layers["img" + Node]; break; case 'ie4': // IE 4/5 code fork... var oTable = document.all["span" + Node]; var oImg = document.all["img" + Node]; break; case 'gecko': // Standards Compliant code fork... var oTable = document.getElementById("span" + Node); var oImg = document.getElementById("img" + Node); break; } oImg.src = imgMinus.src; oTable.style.display = "block"; } function hideNode(Node){ switch(navigator.family){ case 'nn4': // Nav 4.x code fork... var oTable = document.layers["span" + Node]; var oImg = document.layers["img" + Node]; break; case 'ie4': // IE 4/5 code fork... var oTable = document.all["span" + Node]; var oImg = document.all["img" + Node]; break; case 'gecko': // Standards Compliant code fork... var oTable = document.getElementById("span" + Node); var oImg = document.getElementById("img" + Node); break; } oImg.src = imgPlus.src; oTable.style.display = "none"; } function nodeIsVisible(Node){ switch(navigator.family){ case 'nn4': // Nav 4.x code fork... var oTable = document.layers["span" + Node]; break; case 'ie4': // IE 4/5 code fork... var oTable = document.all["span" + Node]; break; case 'gecko': // Standards Compliant code fork... var oTable = document.getElementById("span" + Node); break; } return (oTable && oTable.style.display == "block"); } function toggleNodeVisibility(Node){ if (nodeIsVisible(Node)){ hideNode(Node); }else{ showNode(Node); } } </script> </head> <body> <div class="page-body"> <h2 class="class-name"><img src="../media/images/AbstractClass_logo.png" alt="Abstract Class" title="Abstract Class" style="vertical-align: middle"> Zend_Uri</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-descendents">Descendents</a> | <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <ul class="tags"> <li><span class="field">copyright:</span> Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)</li> <li><span class="field">abstract:</span> </li> <li><span class="field">license:</span> <a href="http://framework.zend.com/license/new-bsd">New BSD License</a></li> </ul> <p class="notes"> Located in <a class="field" href="_Uri.php.html">/Uri.php</a> (line <span class="field">34</span>) </p> <pre></pre> </div> </div> <a name="sec-descendents"></a> <div class="info-box"> <div class="info-box-title">Direct descendents</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Descendents</span> | <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <table cellpadding="2" cellspacing="0" class="class-table"> <tr> <th class="class-table-header">Class</th> <th class="class-table-header">Description</th> </tr> <tr> <td style="padding-right: 2em; white-space: nowrap"> <img src="../media/images/Class.png" alt=" class" title=" class" style="vertical-align: center"/> <a href="../Zend_Uri/Zend_Uri_Http.html">Zend_Uri_Http</a> </td> <td> </td> </tr> </table> </div> </div> <a name="sec-var-summary"></a> <div class="info-box"> <div class="info-box-title">Variable Summary</span></div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-descendents">Descendants</a> | <span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <div class="var-summary"> <div class="var-title"> <img src="../media/images/Variable.png" alt=" " /> <span class="var-type">string</span> <a href="#$_scheme" title="details" class="var-name">$_scheme</a> </div> </div> </div> </div> <a name="sec-method-summary"></a> <div class="info-box"> <div class="info-box-title">Method Summary</span></div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-descendents">Descendants</a> | <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) | <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <div class="method-summary"> <div class="method-definition"> <img src="../media/images/StaticMethod.png" alt=" "/> static <span class="method-result">boolean</span> <a href="#check" title="details" class="method-name">check</a> (<span class="var-type">string</span>&nbsp;<span class="var-name">$uri</span>) </div> <div class="method-definition"> <img src="../media/images/StaticMethod.png" alt=" "/> static <span class="method-result"><a href="../Zend_Uri/Zend_Uri.html">Zend_Uri</a></span> <a href="#factory" title="details" class="method-name">factory</a> ([<span class="var-type">string</span>&nbsp;<span class="var-name">$uri</span> = <span class="var-default">'http'</span>]) </div> <div class="method-definition"> <img src="../media/images/Constructor.png" alt=" "/> <span class="method-result">Zend_Uri</span> <a href="#__construct" title="details" class="method-name">__construct</a> (<span class="var-type"></span>&nbsp;<span class="var-name">$scheme</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$schemeSpecific</span> = <span class="var-default">''</span>]) </div> <div class="method-definition"> <img src="../media/images/Method.png" alt=" "/> <span class="method-result">string|false</span> <a href="#getScheme" title="details" class="method-name">getScheme</a> () </div> <div class="method-definition"> <img src="../media/images/AbstractMethod.png" alt=" "/> <span class="method-result">string</span> <a href="#getUri" title="details" class="method-name">getUri</a> () </div> <div class="method-definition"> <img src="../media/images/AbstractMethod.png" alt=" "/> <span class="method-result">boolean</span> <a href="#valid" title="details" class="method-name">valid</a> () </div> <div class="method-definition"> <img src="../media/images/Method.png" alt=" "/> <span class="method-result">string</span> <a href="#__toString" title="details" class="method-name">__toString</a> () </div> </div> </div> </div> <a name="sec-vars"></a> <div class="info-box"> <div class="info-box-title">Variables</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-descendents">Descendents</a> | <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) </div> <div class="info-box-body"> <a name="var$_scheme" id="$_scheme"><!-- --></A> <div class="oddrow"> <div class="var-header"> <img src="../media/images/Variable.png" /> <span class="var-title"> <span class="var-type">string</span> <span class="var-name">$_scheme</span> = <span class="var-default"> ''</span> (line <span class="line-number">40</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Scheme of this URI (http, ftp, etc.)</p> <ul class="tags"> <li><span class="field">access:</span> protected</li> </ul> </div> </div> </div> <a name="sec-methods"></a> <div class="info-box"> <div class="info-box-title">Methods</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-descendents">Descendents</a> | <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) </div> <div class="info-box-body"> <A NAME='method_detail'></A> <a name="methodcheck" id="check"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../media/images/StaticMethod.png" /> <span class="method-title">static check</span> (line <span class="line-number">61</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Convenience function, checks that a $uri string is well-formed by validating it but not returning an object. Returns TRUE if $uri is a well-formed URI, or FALSE otherwise.</p> <ul class="tags"> <li><span class="field">access:</span> public</li> </ul> <div class="method-signature"> static <span class="method-result">boolean</span> <span class="method-name"> check </span> (<span class="var-type">string</span>&nbsp;<span class="var-name">$uri</span>) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$uri</span> </li> </ul> </div> <a name="methodfactory" id="factory"><!-- --></a> <div class="oddrow"> <div class="method-header"> <img src="../media/images/StaticMethod.png" /> <span class="method-title">static factory</span> (line <span class="line-number">80</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Create a new Zend_Uri object for a URI. If building a new URI, then $uri should contain only the scheme (http, ftp, etc). Otherwise, supply $uri with the complete URI.</p> <ul class="tags"> <li><span class="field">throws:</span> Zend_Uri_Exception</li> <li><span class="field">access:</span> public</li> </ul> <div class="method-signature"> static <span class="method-result"><a href="../Zend_Uri/Zend_Uri.html">Zend_Uri</a></span> <span class="method-name"> factory </span> ([<span class="var-type">string</span>&nbsp;<span class="var-name">$uri</span> = <span class="var-default">'http'</span>]) </div> <ul class="parameters"> <li> <span class="var-type">string</span> <span class="var-name">$uri</span> </li> </ul> </div> <a name="method__construct" id="__construct"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../media/images/Constructor.png" /> <span class="method-title">Constructor __construct</span> (line <span class="line-number">143</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Zend_Uri and its subclasses cannot be instantiated directly.</p> <p class="description"><p>Use Zend_Uri::factory() to return a new Zend_Uri object.</p></p> <ul class="tags"> <li><span class="field">abstract:</span> </li> <li><span class="field">access:</span> protected</li> </ul> <div class="method-signature"> <span class="method-result">Zend_Uri</span> <span class="method-name"> __construct </span> (<span class="var-type"></span>&nbsp;<span class="var-name">$scheme</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$schemeSpecific</span> = <span class="var-default">''</span>]) </div> <ul class="parameters"> <li> <span class="var-type"></span> <span class="var-name">$scheme</span> </li> <li> <span class="var-type"></span> <span class="var-name">$schemeSpecific</span> </li> </ul> <hr class="separator" /> <div class="notes">Redefined in descendants as:</div> <ul class="redefinitions"> <li> <a href="../Zend_Uri/Zend_Uri_Http.html#method__construct">Zend_Uri_Http::__construct()</a> : Constructor accepts a string $scheme (e.g., http, https) and a scheme-specific part of the URI (e.g., example.com/path/to/resource?query=param#fragment) </li> </ul> </div> <a name="methodgetScheme" id="getScheme"><!-- --></a> <div class="oddrow"> <div class="method-header"> <img src="../media/images/Method.png" /> <span class="method-title">getScheme</span> (line <span class="line-number">126</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Get the URI's scheme</p> <ul class="tags"> <li><span class="field">return:</span> Scheme or false if no scheme is set.</li> <li><span class="field">access:</span> public</li> </ul> <div class="method-signature"> <span class="method-result">string|false</span> <span class="method-name"> getScheme </span> () </div> </div> <a name="methodgetUri" id="getUri"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../media/images/AbstractMethod.png" /> <span class="method-title">getUri</span> (line <span class="line-number">150</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Return a string representation of this URI.</p> <ul class="tags"> <li><span class="field">abstract:</span> </li> <li><span class="field">access:</span> public</li> </ul> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> getUri </span> () </div> <hr class="separator" /> <div class="notes">Redefined in descendants as:</div> <ul class="redefinitions"> <li> <a href="../Zend_Uri/Zend_Uri_Http.html#methodgetUri">Zend_Uri_Http::getUri()</a> : Returns a URI based on current values of the instance variables. If any part of the URI does not pass validation, then an exception is thrown. </li> </ul> </div> <a name="methodvalid" id="valid"><!-- --></a> <div class="oddrow"> <div class="method-header"> <img src="../media/images/AbstractMethod.png" /> <span class="method-title">valid</span> (line <span class="line-number">157</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Returns TRUE if this URI is valid, or FALSE otherwise.</p> <ul class="tags"> <li><span class="field">abstract:</span> </li> <li><span class="field">access:</span> public</li> </ul> <div class="method-signature"> <span class="method-result">boolean</span> <span class="method-name"> valid </span> () </div> <hr class="separator" /> <div class="notes">Redefined in descendants as:</div> <ul class="redefinitions"> <li> <a href="../Zend_Uri/Zend_Uri_Http.html#methodvalid">Zend_Uri_Http::valid()</a> : Validate the current URI from the instance variables. Returns true if and only if all parts pass validation. </li> </ul> </div> <a name="method__toString" id="__toString"><!-- --></a> <div class="evenrow"> <div class="method-header"> <img src="../media/images/Method.png" /> <span class="method-title">__toString</span> (line <span class="line-number">48</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Return a string representation of this URI.</p> <ul class="tags"> <li><span class="field">see:</span> <a href="../Zend_Uri/Zend_Uri.html#methodgetUri">Zend_Uri::getUri()</a></li> <li><span class="field">access:</span> public</li> </ul> <div class="method-signature"> <span class="method-result">string</span> <span class="method-name"> __toString </span> () </div> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Thu, 15 May 2008 05:38:11 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.2</a> </p> </div></body> </html>
MarStan/sugar_work
include/ZendGdata/documentation/api/core/Zend_Uri/Zend_Uri.html
HTML
agpl-3.0
17,772
/* * This file is part of Kotaka, a mud library for DGD * http://github.com/shentino/kotaka * * Copyright (C) 2018, 2021 Raymond Jennings * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * 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 Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <kotaka/paths/account.h> #include <kotaka/paths/verb.h> inherit LIB_VERB; inherit "/lib/sort"; inherit "~/lib/banlist"; inherit "~System/lib/string/align"; string *query_parse_methods() { return ({ "raw" }); } int compare_sites(string a, string b) { int o1a, o2a, o3a, o4a, cidra; int o1b, o2b, o3b, o4b, cidrb; sscanf(a, "%d.%d.%d.%d/%d", o1a, o2a, o3a, o4a, cidra); sscanf(b, "%d.%d.%d.%d/%d", o1b, o2b, o3b, o4b, cidrb); if (o1a < o1b) { return -1; } if (o1a > o1b) { return 1; } if (o2a < o2b) { return -1; } if (o2a > o2b) { return 1; } if (o3a < o3b) { return -1; } if (o3a > o3b) { return 1; } if (o4a < o4b) { return -1; } if (o4a > o4b) { return 1; } if (cidra < cidrb) { return -1; } if (cidra > cidrb) { return 1; } return 0; } string query_help_title() { return "Sitebans"; } string *query_help_contents() { return ({ "Lists sitebans" }); } void main(object actor, mapping roles) { string *sites; object user; int sz; user = query_user(); if (user->query_class() < 3) { send_out("You do not have sufficient access rights to list sitebans.\n"); return; } if (roles["raw"]) { send_out("Usage: sitebans\n"); return; } sites = BAND->query_sitebans(); sz = sizeof(sites); qsort(sites, 0, sz, "compare_sites"); if (sz) { mapping *bans; int i; bans = allocate(sz); for (i = 0; i < sz; i++) { mapping ban; ban = BAND->query_siteban(sites[i]); if (!ban) { sites[i] = nil; continue; } bans[i] = ban; } sites -= ({ nil }); bans -= ({ nil }); send_out(print_bans("Site", sites, bans)); send_out("\n"); } else { send_out("There are no banned sites.\n"); } }
shentino/kotaka
mud/home/Verb/sys/verb/ooc/wiz/sitebans.c
C
agpl-3.0
2,528
/******** * This file is part of Ext.NET. * * Ext.NET is free software: you can redistribute it and/or modify * it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * Ext.NET 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 AFFERO GENERAL PUBLIC LICENSE for more details. * * You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE * along with Ext.NET. If not, see <http://www.gnu.org/licenses/>. * * * @version : 2.0.0.beta - Community Edition (AGPLv3 License) * @author : Ext.NET, Inc. http://www.ext.net/ * @date : 2012-03-07 * @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved. * @license : GNU AFFERO GENERAL PUBLIC LICENSE (AGPL) 3.0. * See license.txt and http://www.ext.net/license/. * See AGPL License at http://www.gnu.org/licenses/agpl-3.0.txt ********/ using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Web.UI; using System.Web.UI.WebControls; namespace Ext.Net { /// <summary> /// /// </summary> public partial class RadialAxis { /* Ctor -----------------------------------------------------------------------------------------------*/ /// <summary> /// /// </summary> public RadialAxis(Config config) { this.Apply(config); } /* Implicit RadialAxis.Config Conversion to RadialAxis -----------------------------------------------------------------------------------------------*/ /// <summary> /// /// </summary> public static implicit operator RadialAxis(RadialAxis.Config config) { return new RadialAxis(config); } /// <summary> /// /// </summary> new public partial class Config : AbstractAxis.Config { /* Implicit RadialAxis.Config Conversion to RadialAxis.Builder -----------------------------------------------------------------------------------------------*/ /// <summary> /// /// </summary> public static implicit operator RadialAxis.Builder(RadialAxis.Config config) { return new RadialAxis.Builder(config); } /* ConfigOptions -----------------------------------------------------------------------------------------------*/ private int steps = 0; /// <summary> /// /// </summary> [DefaultValue(0)] public virtual int Steps { get { return this.steps; } set { this.steps = value; } } private int maximum = 0; /// <summary> /// /// </summary> [DefaultValue(0)] public virtual int Maximum { get { return this.maximum; } set { this.maximum = value; } } } } }
codeyu/Ext.NET.Community
Ext.Net/Factory/Config/RadialAxisConfig.cs
C#
agpl-3.0
3,283
package uploads import ( "context" "errors" "fmt" "io/ioutil" "os" "path/filepath" "regexp" "sync" "time" "github.com/go-kit/log/level" "github.com/prometheus/client_golang/prometheus" "github.com/grafana/loki/pkg/storage/chunk" "github.com/grafana/loki/pkg/storage/chunk/local" chunk_util "github.com/grafana/loki/pkg/storage/chunk/util" "github.com/grafana/loki/pkg/storage/stores/shipper/util" util_log "github.com/grafana/loki/pkg/util/log" ) type Config struct { Uploader string IndexDir string UploadInterval time.Duration DBRetainPeriod time.Duration MakePerTenantBuckets bool } type TableManager struct { cfg Config boltIndexClient BoltDBIndexClient storageClient StorageClient metrics *metrics tables map[string]*Table tablesMtx sync.RWMutex ctx context.Context cancel context.CancelFunc wg sync.WaitGroup } func NewTableManager(cfg Config, boltIndexClient BoltDBIndexClient, storageClient StorageClient, registerer prometheus.Registerer) (*TableManager, error) { ctx, cancel := context.WithCancel(context.Background()) tm := TableManager{ cfg: cfg, boltIndexClient: boltIndexClient, storageClient: storageClient, metrics: newMetrics(registerer), ctx: ctx, cancel: cancel, } tables, err := tm.loadTables() if err != nil { return nil, err } tm.tables = tables go tm.loop() return &tm, nil } func (tm *TableManager) loop() { tm.wg.Add(1) defer tm.wg.Done() tm.uploadTables(context.Background(), false) syncTicker := time.NewTicker(tm.cfg.UploadInterval) defer syncTicker.Stop() for { select { case <-syncTicker.C: tm.uploadTables(context.Background(), false) case <-tm.ctx.Done(): return } } } func (tm *TableManager) Stop() { level.Info(util_log.Logger).Log("msg", "stopping table manager") tm.cancel() tm.wg.Wait() tm.uploadTables(context.Background(), true) } func (tm *TableManager) QueryPages(ctx context.Context, queries []chunk.IndexQuery, callback chunk.QueryPagesCallback) error { queriesByTable := util.QueriesByTable(queries) for tableName, queries := range queriesByTable { err := tm.query(ctx, tableName, queries, callback) if err != nil { return err } } return nil } func (tm *TableManager) query(ctx context.Context, tableName string, queries []chunk.IndexQuery, callback chunk.QueryPagesCallback) error { tm.tablesMtx.RLock() defer tm.tablesMtx.RUnlock() table, ok := tm.tables[tableName] if !ok { return nil } return util.DoParallelQueries(ctx, table, queries, callback) } func (tm *TableManager) BatchWrite(ctx context.Context, batch chunk.WriteBatch) error { boltWriteBatch, ok := batch.(*local.BoltWriteBatch) if !ok { return errors.New("invalid write batch") } for tableName, tableWrites := range boltWriteBatch.Writes { table, err := tm.getOrCreateTable(tableName) if err != nil { return err } err = table.Write(ctx, tableWrites) if err != nil { return err } } return nil } func (tm *TableManager) getOrCreateTable(tableName string) (*Table, error) { tm.tablesMtx.RLock() table, ok := tm.tables[tableName] tm.tablesMtx.RUnlock() if !ok { tm.tablesMtx.Lock() defer tm.tablesMtx.Unlock() table, ok = tm.tables[tableName] if !ok { var err error table, err = NewTable(filepath.Join(tm.cfg.IndexDir, tableName), tm.cfg.Uploader, tm.storageClient, tm.boltIndexClient, tm.cfg.MakePerTenantBuckets) if err != nil { return nil, err } tm.tables[tableName] = table } } return table, nil } func (tm *TableManager) uploadTables(ctx context.Context, force bool) { tm.tablesMtx.RLock() defer tm.tablesMtx.RUnlock() level.Info(util_log.Logger).Log("msg", "uploading tables") status := statusSuccess for _, table := range tm.tables { err := table.Snapshot() if err != nil { // we do not want to stop uploading of dbs due to failures in snapshotting them so logging just the error here. level.Error(util_log.Logger).Log("msg", "failed to snapshot table for reads", "table", table.name, "err", err) } err = table.Upload(ctx, force) if err != nil { // continue uploading other tables while skipping cleanup for a failed one. status = statusFailure level.Error(util_log.Logger).Log("msg", "failed to upload dbs", "table", table.name, "err", err) continue } // cleanup unwanted dbs from the table err = table.Cleanup(tm.cfg.DBRetainPeriod) if err != nil { // we do not want to stop uploading of dbs due to failures in cleaning them up so logging just the error here. level.Error(util_log.Logger).Log("msg", "failed to cleanup uploaded dbs past their retention period", "table", table.name, "err", err) } } tm.metrics.tablesUploadOperationTotal.WithLabelValues(status).Inc() } func (tm *TableManager) loadTables() (map[string]*Table, error) { localTables := make(map[string]*Table) filesInfo, err := ioutil.ReadDir(tm.cfg.IndexDir) if err != nil { return nil, err } // regex matching table name patters, i.e prefix+period_number re, err := regexp.Compile(`.+[0-9]+$`) if err != nil { return nil, err } for _, fileInfo := range filesInfo { if !re.MatchString(fileInfo.Name()) { continue } // since we are moving to keeping files for same table in a folder, if current element is a file we need to move it inside a directory with the same name // i.e file index_123 would be moved to path index_123/index_123. if !fileInfo.IsDir() { level.Info(util_log.Logger).Log("msg", fmt.Sprintf("found a legacy file %s, moving it to folder with same name", fileInfo.Name())) filePath := filepath.Join(tm.cfg.IndexDir, fileInfo.Name()) // create a folder with .temp suffix since we can't create a directory with same name as file. tempDirPath := filePath + ".temp" if err := chunk_util.EnsureDirectory(tempDirPath); err != nil { return nil, err } // move the file to temp dir. if err := os.Rename(filePath, filepath.Join(tempDirPath, fileInfo.Name())); err != nil { return nil, err } // rename the directory to name of the file if err := os.Rename(tempDirPath, filePath); err != nil { return nil, err } } level.Info(util_log.Logger).Log("msg", fmt.Sprintf("loading table %s", fileInfo.Name())) table, err := LoadTable(filepath.Join(tm.cfg.IndexDir, fileInfo.Name()), tm.cfg.Uploader, tm.storageClient, tm.boltIndexClient, tm.cfg.MakePerTenantBuckets, tm.metrics) if err != nil { return nil, err } if table == nil { // if table is nil it means it has no files in it so remove the folder for that table. err := os.Remove(filepath.Join(tm.cfg.IndexDir, fileInfo.Name())) if err != nil { level.Error(util_log.Logger).Log("msg", "failed to remove empty table folder", "table", fileInfo.Name(), "err", err) } continue } // Queries are only done against table snapshots so it's important we snapshot as soon as the table is loaded. err = table.Snapshot() if err != nil { return nil, err } localTables[fileInfo.Name()] = table } return localTables, nil }
grafana/loki
pkg/storage/stores/shipper/uploads/table_manager.go
GO
agpl-3.0
7,136
/* * SessionShiny.cpp * * Copyright (C) 2009-12 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the * AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details. * */ #include "SessionShiny.hpp" #include <boost/algorithm/string/predicate.hpp> #include <core/Error.hpp> #include <core/Exec.hpp> #include <r/RExec.hpp> #include <session/SessionOptions.hpp> #include <session/SessionModuleContext.hpp> using namespace core; namespace session { namespace modules { namespace shiny { namespace { void onPackageLoaded(const std::string& pkgname) { // we need an up to date version of shiny when running in server mode // to get the websocket protocol/path and port randomizing changes if (session::options().programMode() == kSessionProgramModeServer) { if (pkgname == "shiny") { if (!module_context::isPackageVersionInstalled("shiny", "0.8")) { module_context::consoleWriteError("\nWARNING: To run Shiny " "applications with RStudio you need to install the " "latest version of the Shiny package from CRAN (version 0.8 " "or higher is required).\n\n"); } } } } bool isShinyAppDir(const FilePath& filePath) { bool hasServer = filePath.childPath("server.R").exists() || filePath.childPath("server.r").exists(); if (hasServer) { bool hasUI = filePath.childPath("ui.R").exists() || filePath.childPath("ui.r").exists() || filePath.childPath("www").exists(); return hasUI; } else { return false; } } std::string onDetectShinySourceType( boost::shared_ptr<source_database::SourceDocument> pDoc) { const char * const kShinyType = "shiny"; if (!pDoc->path().empty()) { FilePath filePath = module_context::resolveAliasedPath(pDoc->path()); std::string filename = filePath.filename(); if (boost::algorithm::iequals(filename, "ui.r") && boost::algorithm::icontains(pDoc->contents(), "shinyUI")) { return kShinyType; } else if (boost::algorithm::iequals(filename, "server.r") && boost::algorithm::icontains(pDoc->contents(), "shinyServer")) { return kShinyType; } else if (filePath.extensionLowerCase() == ".r" && isShinyAppDir(filePath.parent())) { return kShinyType; } } return std::string(); } Error getShinyCapabilities(const json::JsonRpcRequest& request, json::JsonRpcResponse* pResponse) { json::Object capsJson; capsJson["installed"] = module_context::isPackageInstalled("shiny"); pResponse->setResult(capsJson); return Success(); } } // anonymous namespace Error initialize() { using namespace module_context; events().onPackageLoaded.connect(onPackageLoaded); // run app features require shiny v0.8 (the version where the // shiny.launch.browser option can be a function) if (module_context::isPackageVersionInstalled("shiny", "0.8")) events().onDetectSourceExtendedType.connect(onDetectShinySourceType); ExecBlock initBlock; initBlock.addFunctions() (boost::bind(registerRpcMethod, "get_shiny_capabilities", getShinyCapabilities)); return initBlock.execute(); } } // namespace crypto } // namespace modules } // namesapce session
nvoron23/rstudio
src/cpp/session/modules/shiny/SessionShiny.cpp
C++
agpl-3.0
3,808
from django import forms # future use
DemocracyFoundation/Epitome
Agora/forms.py
Python
agpl-3.0
40
/** * Copyright (C) 2009-2014 BIMserver.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * 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 Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package cn.dlb.bim.models.ifc4; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.eclipse.emf.common.util.Enumerator; /** * <!-- begin-user-doc --> * A representation of the literals of the enumeration '<em><b>Ifc Sub Contract Resource Type Enum</b></em>', * and utility methods for working with them. * <!-- end-user-doc --> * @see cn.dlb.bim.models.ifc4.Ifc4Package#getIfcSubContractResourceTypeEnum() * @model * @generated */ public enum IfcSubContractResourceTypeEnum implements Enumerator { /** * The '<em><b>NULL</b></em>' literal object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #NULL_VALUE * @generated * @ordered */ NULL(0, "NULL", "NULL"), /** * The '<em><b>NOTDEFINED</b></em>' literal object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #NOTDEFINED_VALUE * @generated * @ordered */ NOTDEFINED(1, "NOTDEFINED", "NOTDEFINED"), /** * The '<em><b>WORK</b></em>' literal object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #WORK_VALUE * @generated * @ordered */ WORK(2, "WORK", "WORK"), /** * The '<em><b>USERDEFINED</b></em>' literal object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #USERDEFINED_VALUE * @generated * @ordered */ USERDEFINED(3, "USERDEFINED", "USERDEFINED"), /** * The '<em><b>PURCHASE</b></em>' literal object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #PURCHASE_VALUE * @generated * @ordered */ PURCHASE(4, "PURCHASE", "PURCHASE"); /** * The '<em><b>NULL</b></em>' literal value. * <!-- begin-user-doc --> * <p> * If the meaning of '<em><b>NULL</b></em>' literal object isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @see #NULL * @model * @generated * @ordered */ public static final int NULL_VALUE = 0; /** * The '<em><b>NOTDEFINED</b></em>' literal value. * <!-- begin-user-doc --> * <p> * If the meaning of '<em><b>NOTDEFINED</b></em>' literal object isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @see #NOTDEFINED * @model * @generated * @ordered */ public static final int NOTDEFINED_VALUE = 1; /** * The '<em><b>WORK</b></em>' literal value. * <!-- begin-user-doc --> * <p> * If the meaning of '<em><b>WORK</b></em>' literal object isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @see #WORK * @model * @generated * @ordered */ public static final int WORK_VALUE = 2; /** * The '<em><b>USERDEFINED</b></em>' literal value. * <!-- begin-user-doc --> * <p> * If the meaning of '<em><b>USERDEFINED</b></em>' literal object isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @see #USERDEFINED * @model * @generated * @ordered */ public static final int USERDEFINED_VALUE = 3; /** * The '<em><b>PURCHASE</b></em>' literal value. * <!-- begin-user-doc --> * <p> * If the meaning of '<em><b>PURCHASE</b></em>' literal object isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @see #PURCHASE * @model * @generated * @ordered */ public static final int PURCHASE_VALUE = 4; /** * An array of all the '<em><b>Ifc Sub Contract Resource Type Enum</b></em>' enumerators. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private static final IfcSubContractResourceTypeEnum[] VALUES_ARRAY = new IfcSubContractResourceTypeEnum[] { NULL, NOTDEFINED, WORK, USERDEFINED, PURCHASE, }; /** * A public read-only list of all the '<em><b>Ifc Sub Contract Resource Type Enum</b></em>' enumerators. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static final List<IfcSubContractResourceTypeEnum> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); /** * Returns the '<em><b>Ifc Sub Contract Resource Type Enum</b></em>' literal with the specified literal value. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param literal the literal. * @return the matching enumerator or <code>null</code>. * @generated */ public static IfcSubContractResourceTypeEnum get(String literal) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { IfcSubContractResourceTypeEnum result = VALUES_ARRAY[i]; if (result.toString().equals(literal)) { return result; } } return null; } /** * Returns the '<em><b>Ifc Sub Contract Resource Type Enum</b></em>' literal with the specified name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param name the name. * @return the matching enumerator or <code>null</code>. * @generated */ public static IfcSubContractResourceTypeEnum getByName(String name) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { IfcSubContractResourceTypeEnum result = VALUES_ARRAY[i]; if (result.getName().equals(name)) { return result; } } return null; } /** * Returns the '<em><b>Ifc Sub Contract Resource Type Enum</b></em>' literal with the specified integer value. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the integer value. * @return the matching enumerator or <code>null</code>. * @generated */ public static IfcSubContractResourceTypeEnum get(int value) { switch (value) { case NULL_VALUE: return NULL; case NOTDEFINED_VALUE: return NOTDEFINED; case WORK_VALUE: return WORK; case USERDEFINED_VALUE: return USERDEFINED; case PURCHASE_VALUE: return PURCHASE; } return null; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private final int value; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private final String name; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private final String literal; /** * Only this class can construct instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private IfcSubContractResourceTypeEnum(int value, String name, String literal) { this.value = value; this.name = name; this.literal = literal; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public int getValue() { return value; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String getName() { return name; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String getLiteral() { return literal; } /** * Returns the literal value of the enumerator, which is its string representation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public String toString() { return literal; } } //IfcSubContractResourceTypeEnum
shenan4321/BIMplatform
generated/cn/dlb/bim/models/ifc4/IfcSubContractResourceTypeEnum.java
Java
agpl-3.0
7,689
# frozen_string_literal: true require 'rails_helper' describe Api::LessonsController, type: :request do include RequestSpecUserSetup context 'is not logged in' do it 'can not create' do post '/api/lessons', {} expect(response.status).to eq 401 end context 'data exists' do let(:lesson) { create(:lesson, host: organization) } it 'can read all' do get "/api/lessons?organization_id=#{organization.id}" expect(response.status).to eq 200 end it 'can read' do get "/api/lessons/#{lesson.id}" expect(response.status).to eq 200 end it 'can not delete' do delete "/api/lessons/#{lesson.id}" expect(response.status).to eq 401 end it 'can not update' do put "/api/lessons/#{lesson.id}", {} expect(response.status).to eq 401 end end end context 'is logged in' do # for each permission set (owner, collaborator, admin) context 'for each permission set' do # users = [owner, collaborator, admin] context 'is owner' do before(:each) do set_login_header_as.call(owner) end context 'creating' do it 'can create' do create_params = jsonapi_params('lessons', attributes: { name: 'hi', price: '2' }, relationships: { host: organization }) post '/api/lessons', create_params, @headers expect(response.status).to eq 201 end it 'creates a lesson' do create_params = jsonapi_params('lessons', attributes: { name: 'hi', price: '2' }, relationships: { host: organization }) expect do post '/api/lessons', create_params, @headers end.to change(LineItem::Lesson, :count).by 1 end end context 'on existing' do let!(:lesson) { create(:lesson, host: organization) } it 'can update' do put "/api/lessons/#{lesson.id}", jsonapi_params('lessons', id: lesson.id, attributes: { name: 'hi' }), @headers expect(response.status).to eq 200 end it 'can destroy' do delete "/api/lessons/#{lesson.id}", {}, @headers expect(response.status).to eq 200 end it 'destroys' do expect do delete "/api/lessons/#{lesson.id}", {}, @headers end.to change(LineItem::Lesson, :count).by(-1) end it 'can read all' do get "/api/lessons?organization_id=#{organization.id}", {}, @headers expect(response.status).to eq 200 end end end end context 'is non collaborator' do before(:each) do set_login_header_as.call(create_confirmed_user) end it 'can not create' do create_params = { data: { type: 'lessons', attributes: { name: 'Yoga', price: '10', host_type: Organization.name, host_id: organization.id } } } post '/api/lessons', create_params, @headers expect(response.status).to eq 403 end context 'data exists' do let(:lesson) { create(:lesson, host: organization) } let(:fake_json_api) do { data: { type: 'lessons', id: lesson.id, attributes: {} } } end it 'can read all' do get "/api/lessons?organization_id=#{organization.id}", {}, @headers expect(response.status).to eq 200 end it 'can read' do get "/api/lessons/#{lesson.id}", {}, @headers expect(response.status).to eq 200 end it 'can not delete' do delete "/api/lessons/#{lesson.id}", {}, @headers expect(response.status).to eq 403 end it 'can not update' do put "/api/lessons/#{lesson.id}", fake_json_api, @headers expect(response.status).to eq 403 end end end end end
NullVoxPopuli/aeonvera
app/resources/api/lessons/request_spec.rb
Ruby
agpl-3.0
4,322
DELETE FROM database_variables WHERE name = 'database-schema-version';
berkmancenter/mediacloud
apps/postgresql-server/pgmigrate/migrations/V0002__drop_db_version_var.sql
SQL
agpl-3.0
70
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); global $mod_strings; $module_menu = Array( Array("index.php?module=Teams&action=EditView&return_module=Teams&return_action=DetailView", $mod_strings['LNK_NEW_TEAM'], "CreateTeams"), Array("index.php?module=Teams&action=index", $mod_strings['LNK_LIST_TEAM'], "Teams"), Array("index.php?module=TeamNotices&action=index", $mod_strings['LNK_LIST_TEAMNOTICE'], "Teams"), Array("index.php?module=TeamNotices&action=EditView", translate('LNK_NEW_TEAM_NOTICE','TeamNotices'), "Teams") );
harish-patel/ecrm
modules/Teams/Menu.php
PHP
agpl-3.0
565
<?php /** * sfGuardGroupUtf8 form. * * @package rrr * @subpackage form * @author Your name here * @version SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $ */ class sfGuardGroupUtf8Form extends BasesfGuardGroupUtf8Form { /** * @see sfGuardGroupForm */ public function configure() { parent::configure(); } }
simonoche/wterritoires
lib/form/doctrine/sfGuardGroupUtf8Form.class.php
PHP
agpl-3.0
375
///* // * Tanaguru - Automated webpage assessment // * Copyright (C) 2008-2017 Tanaguru.org // * // * This program is free software: you can redistribute it and/or modify // * it under the terms of the GNU Affero General Public License as // * published by the Free Software Foundation, either version 3 of the // * License, or (at your option) any later version. // * // * 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 Affero General Public License for more details. // * // * You should have received a copy of the GNU Affero General Public License // * along with this program. If not, see <http://www.gnu.org/licenses/>. // * // * Contact us by mail: tanaguru AT tanaguru DOT org // */ //package org.tanaguru.rules.rgaa32017; // //import org.apache.commons.lang3.tuple.ImmutablePair; //import org.tanaguru.entity.audit.ProcessResult; //import org.tanaguru.entity.audit.TestSolution; //import org.tanaguru.rules.keystore.HtmlElementStore; //import org.tanaguru.rules.keystore.RemarkMessageStore; //import org.tanaguru.rules.rgaa32017.test.Rgaa32017RuleImplementationTestCase; // ///** // * Unit test class for the implementation of the rule 10-9-1 of the referential Rgaa 3-2017. // * // * @author // */ //public class Rgaa32017Rule100901Test extends Rgaa32017RuleImplementationTestCase { // // /** // * Default constructor // * @param testName // */ // public Rgaa32017Rule100901Test (String testName){ // super(testName); // } // // @Override // protected void setUpRuleImplementationClassName() { // setRuleImplementationClassName( // "org.tanaguru.rules.rgaa32017.Rgaa32017Rule100901"); // } // // @Override // protected void setUpWebResourceMap() { // addWebResource("Rgaa32017.Test.10.9.1-1Passed-01"); // addWebResource("Rgaa32017.Test.10.9.1-2Failed-01"); // addWebResource("Rgaa32017.Test.10.9.1-2Failed-02"); // // addWebResource("Rgaa32017.Test.10.9.1-3NMI-01"); //// addWebResource("Rgaa32017.Test.10.9.1-4NA-01"); // } // // @Override // protected void setProcess() { // //---------------------------------------------------------------------- // //------------------------------1Passed-01------------------------------ // //---------------------------------------------------------------------- // // checkResultIsPassed(processPageTest("Rgaa32017.Test.10.9.1-1Passed-01"), 0); // // //---------------------------------------------------------------------- // //------------------------------2Failed-01------------------------------ // //---------------------------------------------------------------------- // ProcessResult processResult = processPageTest("Rgaa32017.Test.10.9.1-2Failed-01"); // checkResultIsFailed(processResult, 1, 1); //// checkRemarkIsPresent( //// processResult, //// TestSolution.FAILED, //// CHECK_IF_USER_HAVE_MECHANISM_TO_DELETE_JUSTIFY_TEXT_ALIGN_MSG, //// "h1", //// 1, //// new ImmutablePair("#ExtractedAttributeAsEvidence", "#ExtractedAttributeValue")); // //---------------------------------------------------------------------- // //------------------------------2Failed-02------------------------------ // //---------------------------------------------------------------------- // processResult = processPageTest("Rgaa32017.Test.10.9.1-2Failed-02"); // checkResultIsFailed(processResult, 1, 1); //// checkRemarkIsPresent( //// processResult, //// TestSolution.FAILED, //// RemarkMessageStore.CHECK_IF_USER_HAVE_MECHANISM_TO_DELETE_JUSTIFY_TEXT_ALIGN_MSG, //// HtmlElementStore.P_ELEMENT, //// 1, //// new ImmutablePair("#ExtractedAttributeAsEvidence", "#ExtractedAttributeValue")); // // //---------------------------------------------------------------------- // //------------------------------3NMI-01--------------------------------- // //---------------------------------------------------------------------- //// ProcessResult processResult = processPageTest("Rgaa32017.Test.10.9.1-3NMI-01"); //// checkResultIsNotTested(processResult); // temporary result to make the result buildable before implementation //// checkResultIsPreQualified(processResult, 1, 1); //// checkRemarkIsPresent( //// processResult, //// TestSolution.NEED_MORE_INFO, //// CHECK_IF_USER_HAVE_MECHANISM_TO_DELETE_JUSTIFY_TEXT_ALIGN_MSG, //// "p", //// 1); // // // //---------------------------------------------------------------------- // //------------------------------4NA-01------------------------------ // //---------------------------------------------------------------------- //// checkResultIsNotApplicable(processPageTest("Rgaa32017.Test.10.9.1-4NA-01")); // } // // @Override // protected void setConsolidate() { // // // The consolidate method can be removed when real implementation is done. // // The assertions are automatically tested regarding the file names by // // the abstract parent class //// assertEquals(TestSolution.NOT_TESTED, //// consolidate("Rgaa32017.Test.10.9.1-3NMI-01").getValue()); // } // //}
Tanaguru/Tanaguru
rules/rgaa3-2017/src/test/java/org/tanaguru/rules/rgaa32017/Rgaa32017Rule100901Test.java
Java
agpl-3.0
5,642
import { NPS } from './NPS' export default NPS
botpress/botpress
packages/ui-admin/src/app/NetPromoterScore/NetPromotingScore/index.tsx
TypeScript
agpl-3.0
47
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * @category Zend * @package Zend_Media * @subpackage ID3 * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @version $Id: Tpos.php 177 2010-03-09 13:13:34Z svollbehr $ */ /**#@+ @ignore */ require_once DEDALO_ROOT . '/lib/Zend/Media/Id3/TextFrame.php'; /**#@-*/ /** * The <i>Number of a set</i> frame is a numeric string that describes which part * of a set the audio came from. This frame is used if the source described in * the {@link Zend_Media_Id3_Frame_Talb TALB} frame is divided into several * mediums, e.g. a double CD. The value may be extended with a '/' character and * a numeric string containing the total number of parts in the set. E.g. '1/2'. * * @category Zend * @package Zend_Media * @subpackage ID3 * @author Sven Vollbehr <[email protected]> * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @version $Id: Tpos.php 177 2010-03-09 13:13:34Z svollbehr $ */ final class Zend_Media_Id3_Frame_Tpos extends Zend_Media_Id3_TextFrame { private $_number; private $_total; /** * Constructs the class with given parameters and parses object related * data. * * @param Zend_Io_Reader $reader The reader object. * @param Array $options The options array. */ public function __construct($reader = null, &$options = array()) { Zend_Media_Id3_Frame::__construct($reader, $options); $this->setEncoding(Zend_Media_Id3_Encoding::ISO88591); if ($this->_reader === null) { return; } $this->_reader->skip(1); $this->setText($this->_reader->readString8($this->_reader->getSize())); @list ($this->_number, $this->_total) = explode("/", $this->getText()); } /** * Returns the number. * * @return integer */ public function getNumber() { return intval($this->_number); } /** * Sets the number. * * @param integer $number The number. */ public function setNumber($part) { $this->setText ($this->_number = strval($part) . ($this->_total ? '/' . $this->_total : ''), Zend_Media_Id3_Encoding::ISO88591); } /** * Returns the total number. * * @return integer */ public function getTotal() { return intval($this->_total); } /** * Sets the total number. * * @param integer $total The total number. */ public function setTotal($total) { $this->setText (($this->_number ? $this->_number : '?') . "/" . ($this->_total = strval($total)), Zend_Media_Id3_Encoding::ISO88591); } }
renderpci/dedalo-4
lib/Zend/Media/Id3/Frame/Tpos.php
PHP
agpl-3.0
3,380
<?php /* @var $this AenderungsantraegeController */ /* @var $model Aenderungsantrag */ $this->breadcrumbs = array( Yii::t('app', 'Administration') => $this->createUrl('/admin/index'), $model->label(2) => array('index'), Yii::t('app', 'Create'), ); $this->menu = array( array('label' => $model->label(2), 'url' => array('index'), "icon" => "home"), array('label' => "Durchsuchen", 'url' => array('admin'), "icon" => "th-list"), ); ?> <h1><?php echo GxHtml::encode($model->label()) . ' ' . Yii::t('app', 'Create'); ?></h1> <?php $this->renderPartial('_form', array( 'model' => $model, 'buttons' => 'create')); ?>
joriki/antragsgruen
protected/views/admin/aenderungsantraege/create.php
PHP
agpl-3.0
639
'use strict'; /** * @ngdoc directive * @name GO.Core.CustomFields.goCustomFieldsEdit * * @description * Prints custom fields form fieldsets. * * * @param {string} ngModel The customFields model property of the model the customFields belong to * @param {string} serverModel The custom fields server model. * * @example * <go-custom-fields-edit ng-model="contact.customFields" server-model="GO\Modules\GroupOffice\Contacts\Model\ContactCustomFields"></go-custom-fields-edit> */ angular.module('GO.Core').directive('goCustomFieldsEdit', [ '$templateCache', '$compile', 'GO.Core.Directives.CustomFields', function ($templateCache, $compile, CustomFields) { var buildTemplate = function (customFieldSetStore) { var tpl = ''; for (var i = 0, l = customFieldSetStore.items.length; i < l; i++) { var fieldSet = customFieldSetStore.items[i]; tpl += '<fieldset><h3>{{::"' + fieldSet.name + '" | goT}}</h3>'; for (var n = 0, cl = fieldSet.fields.length; n < cl; n++) { var field = fieldSet.fields[n]; tpl += buildFunctions[field.type](field); } tpl += '</fieldset>'; } return tpl; }; var buildFunctions = { formName: null, text: function (field) { return '<md-input-container class="md-block">\ <md-icon>star</md-icon>\ <label>{{::"' + field.name + '" | goT}}</label>\ <input name="' + field.databaseName + '" type="text" maxlength="' + field.data.maxLength + '" ng-model="goModel[\'' + field.databaseName + '\']" ng-required="' + (field.required ? 'true' : 'false') + '" />\ <md-hint>{{::"'+field.hintText+'" | goT}}</md-hint>\ <div ng-messages="formController.' + field.databaseName + '.$error" role="alert">\ <div ng-message="required">\ {{::"This field is required" | goT}}\ </div>\ </div>\ </md-input-container>'; }, textarea: function (field) { return '<md-input-container class="md-block">\ <md-icon>star</md-icon>\ <label>{{::"' + field.name + '" | goT}}</label>\ <textarea id="' + field.databaseName + '" name="' + field.databaseName + '" maxlength="' + field.data.maxLength + '" ng-model="goModel[\'' + field.databaseName + '\']" ng-required="' + (field.required ? 'true' : 'false') + '"></textarea>\ <md-hint>{{::"'+field.hintText+'" | goT}}</md-hint>\ <div ng-messages="formController.' + field.databaseName + '.$error" role="alert">\ <div ng-message="required">\ {{::"This field is required" | goT}}\ </div>\ </div>\ </md-input-container>'; }, select: function (field) { var tpl = '<md-input-container class="md-block">\ <md-icon>star</md-icon>\ <label>{{::"' + field.name + '" | goT}}</label>\ <md-select name="' + field.databaseName + '" ng-model="goModel[\'' + field.databaseName + '\']" ng-required="' + (field.required ? 'true' : 'false') + '">'; for (var i = 0, l = field.data.options.length; i < l; i++) { tpl += '<md-option value="' + field.data.options[i] + '">{{::"' + field.data.options[i] + '" | goT}}</md-option>'; } tpl += '</md-select>\ <md-hint>{{::"'+field.hintText+'" | goT}}</md-hint>\ <div class="md-errors-spacer"></div>\ <div ng-messages="formController.' + field.databaseName + '.$error" role="alert">\ <div ng-message="required">\ {{::"This field is required" | goT}}\ </div>\ </div>'; tpl += '</md-input-container>'; return tpl; }, checkbox: function (field) { return '<md-input-container class="md-block">\ <md-checkbox id="cf_{{field.id}}" ng-model="goModel[\'' + field.databaseName + '\']" ng-required="' + (field.required ? 'true' : 'false') + '"> {{::"' + field.name + '" | goT}}</md-checkbox>\ <md-hint>{{::"'+field.hintText+'" | goT}}</md-hint>\ </md-input-container>'; }, date: function (field) { return '<go-date-picker id="cf_{{field.id}}" name="dateOfBirth" hint="{{::\''+field.hintText+'\' | goT }}" label="' + field.name + '" ng-model="goModel[\'' + field.databaseName + '\']" ng-required="' + (field.required ? 'true' : 'false') + '"></go-date-picker>'; }, number: function (field) { return '<md-input-container class="md-block">\ <md-icon>star</md-icon>\ <label>{{::"' + field.name + '" | goT}}</label>\ <input go-number id="cf_{{field.id}}" name="' + field.databaseName + '" type="text" ng-model="goModel[\'' + field.databaseName + '\']" ng-required="' + (field.required ? 'true' : 'false') + '" />\ <md-hint>{{::"'+field.hintText+'" | goT}}</md-hint>\ <div ng-messages="formController.' + field.databaseName + '.$error" role="alert">\ <div ng-message="required">\ {{::"This field is required" | goT}}\ </div>\ </div>\ </md-input-container>'; } }; return { restrict: 'E', scope: { goModel: '=ngModel', serverModel: '@', formController: '=' }, link: function (scope, element, attrs) { var customFieldSetStore = CustomFields.getFieldSetStore(attrs.serverModel); //TODO load is called twice now customFieldSetStore.promise.then(function () { var tpl = buildTemplate(customFieldSetStore); element.html(tpl); $compile(element.contents())(scope); }); } }; }]);
Intermesh/groupoffice-webclient
app/core/directives/custom-fields/custom-fields-edit-directive.js
JavaScript
agpl-3.0
5,358
/* Copyright (C) 2017 Cloudbase Solutions SRL This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 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 Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ import React from 'react' import { observer } from 'mobx-react' import styled from 'styled-components' import autobind from 'autobind-decorator' import SearchInput from '../SearchInput' import Palette from '../../styleUtils/Palette' import filterImage from './images/filter' const border = '1px solid rgba(216, 219, 226, 0.4)' const Wrapper = styled.div<any>` position: relative; margin-top: -1px; ` const Button = styled.div<any>` width: 16px; height: 16px; cursor: pointer; display: flex; justify-content: center; align-items: center; ` const List = styled.div<any>` position: absolute; top: 24px; right: -7px; z-index: 9999; padding: 8px; background: ${Palette.grayscale[1]}; border-radius: 4px; border: ${border}; box-shadow: 0 0 4px 0 rgba(32, 34, 52, 0.13); ` const Tip = styled.div<any>` position: absolute; top: -6px; right: 8px; width: 10px; height: 10px; background: ${Palette.grayscale[1]}; border-top: ${border}; border-left: ${border}; border-bottom: 1px solid transparent; border-right: 1px solid transparent; transform: rotate(45deg); ` const ListItems = styled.div<any>` width: 199px; height: 32px; ` type Props = { searchPlaceholder?: string, searchValue?: string, onSearchChange?: (value: string) => void, } type State = { showDropdownList: boolean } @observer class DropdownFilter extends React.Component<Props, State> { static defaultProps = { searchPlaceholder: 'Filter', } state: State = { showDropdownList: false, } itemMouseDown: boolean | undefined componentDidMount() { window.addEventListener('mousedown', this.handlePageClick, false) } componentWillUnmount() { window.removeEventListener('mousedown', this.handlePageClick, false) } @autobind handlePageClick() { if (!this.itemMouseDown) { this.setState({ showDropdownList: false }) } } handleButtonClick() { this.setState(prevState => ({ showDropdownList: !prevState.showDropdownList })) } handleCloseClick() { this.setState({ showDropdownList: false }) } renderList() { if (!this.state.showDropdownList) { return null } return ( <List onMouseDown={() => { this.itemMouseDown = true }} onMouseUp={() => { this.itemMouseDown = false }} data-test-id="dropdownFilter-list" > <Tip /> <ListItems> <SearchInput width="100%" alwaysOpen placeholder={this.props.searchPlaceholder} value={this.props.searchValue} onChange={this.props.onSearchChange} useFilterIcon focusOnMount disablePrimary onCloseClick={() => { this.handleCloseClick() }} /> </ListItems> </List> ) } renderButton() { return ( <Button data-test-id="dropdownFilter-button" onMouseDown={() => { this.itemMouseDown = true }} onMouseUp={() => { this.itemMouseDown = false }} onClick={() => { this.handleButtonClick() }} dangerouslySetInnerHTML={{ __html: filterImage(this.props.searchValue ? Palette.primary : Palette.grayscale[5]), }} /> ) } render() { return ( <Wrapper> {this.renderButton()} {this.renderList()} </Wrapper> ) } } export default DropdownFilter
aznashwan/coriolis-web
src/components/molecules/DropdownFilter/DropdownFilter.tsx
TypeScript
agpl-3.0
4,086
""" Block Depth Transformer """ from __future__ import absolute_import from openedx.core.djangoapps.content.block_structure.transformer import BlockStructureTransformer class BlockDepthTransformer(BlockStructureTransformer): """ Keep track of the depth of each block within the block structure. In case of multiple paths to a given node (in a DAG), use the shallowest depth. """ WRITE_VERSION = 1 READ_VERSION = 1 BLOCK_DEPTH = 'block_depth' def __init__(self, requested_depth=None): self.requested_depth = requested_depth @classmethod def name(cls): return "blocks_api:block_depth" @classmethod def get_block_depth(cls, block_structure, block_key): """ Return the precalculated depth of a block within the block_structure: Arguments: block_structure: a BlockStructure instance block_key: the key of the block whose depth we want to know Returns: int """ return block_structure.get_transformer_block_field( block_key, cls, cls.BLOCK_DEPTH, ) def transform(self, usage_info, block_structure): """ Mutates block_structure based on the given usage_info. """ for block_key in block_structure.topological_traversal(): parents = block_structure.get_parents(block_key) if parents: block_depth = min( self.get_block_depth(block_structure, parent_key) for parent_key in parents ) + 1 else: block_depth = 0 block_structure.set_transformer_block_field( block_key, self, self.BLOCK_DEPTH, block_depth ) if self.requested_depth is not None: block_structure.remove_block_traversal( lambda block_key: self.get_block_depth(block_structure, block_key) > self.requested_depth )
ESOedX/edx-platform
lms/djangoapps/course_api/blocks/transformers/block_depth.py
Python
agpl-3.0
2,059
#!/usr/bin/env ruby # Exit codes: # 0 Test run successful (even with reruns) # 1 Unspecified error # 2 Linting failed # 4 No profile given # 8 Gettext isn't installed # 16 Gettext files did not validate # 32 Cucumber failed # 64 Rspec failed # TODO: Use Open4 to continuously flush STDOUT output from the cucumber # processes. require 'rubygems' require 'fileutils' require 'pry' require 'open4' PROFILES = ['default'] def die(exit_code, error) puts "Error: #{error}" exit exit_code end def run_command(cmd) pid, stdin, stdout, _stderr = Open4.open4("#{cmd} 2>&1") stdin.close puts stdout.read 1024 until stdout.eof? Process.waitpid2(pid).last.exitstatus end def gettext_installed? `which msgcat >> /dev/null` if $CHILD_STATUS.exitstatus == 0 return true else return false end end def gettext_file_valid?(file) `msgcat #{file} >> /dev/null` if $CHILD_STATUS.exitstatus == 0 return true else return false end end def gettext_files_valid? files = ['locale/vinylla.pot'] files += Dir.glob('locale/**/leihs.po') files.each do |file| return false unless gettext_file_valid?(file) end true end def rerun_cucumber(maximum = 3, run_count = 0) return true if run_count >= maximum if File.exist?('tmp/rererun.txt') FileUtils.mv('tmp/rererun.txt', 'tmp/rerun.txt') end return false unless File.exist?('tmp/rerun.txt') && File.size('tmp/rerun.txt') > 0 puts 'Rerun necessary.' exitstatus = run_command('bundle exec cucumber -p rerun') run_count += 1 if exitstatus != 0 rerun_cucumber(maximum, run_count) else die(0, 'All went well after rerunning.') end end # Do we know what we're doing? profile = ARGV[0] if PROFILES.include?(profile) == false die(4, "Please specify a valid profile, one of #{PROFILES.join(', ')}.") end # 1. Prerequisites for testing # We're not actually using gettext yet in Vinylla and it's undecided # whether we will. # if not gettext_installed? # die(8, "Gettext isn't installed. Make sure you have gettext and \ # msgcat and msgmerge are in your PATH.") # end # if not gettext_files_valid? # die(16, 'The gettext files did not validate.') # end # 2. Linting exitstatus = run_command('bundle exec rubocop --lint') die(2, 'Rubocop is disgusted. Clean up that filthy code!') if exitstatus != 0 # 3. Testing proper exitstatus = run_command('bundle exec rspec') die(64, 'Rspec failed') if exitstatus != 0 # puts 'Prerequisites for running the tests are met' # puts 'Starting Cucumber...' # FileUtils.rm_f(['tmp/rerun.txt', 'tmp/rererun.txt']) # exitstatus = run_command("bundle exec cucumber -p #{profile}") # Rerun for failures, up to n times # if exitstatus != 0 # rerun(4) # else # die(0, 'All went well on the very first run. The planets must be in alignment.') # end
psy-q/vinylla
bin/run_tests.rb
Ruby
agpl-3.0
2,817
# Copyright 2018 ACSONE SA/NV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). import ast from odoo import api, exceptions, models, _ class MailComposeMessage(models.TransientModel): _inherit = 'mail.compose.message' @api.model def _get_priorities(self): """ Load priorities from parameters. :return: dict """ key = 'mail.sending.job.priorities' try: priorities = ast.literal_eval( self.env['ir.config_parameter'].sudo().get_param( key, default='{}')) # Catch exception to have a understandable error message except (ValueError, SyntaxError): raise exceptions.UserError( _("Error to load the system parameter (%s) " "of priorities") % key) # As literal_eval can transform str into any format, check if we # have a real dict if not isinstance(priorities, dict): raise exceptions.UserError( _("Error to load the system parameter (%s) of priorities.\n" "Invalid dictionary") % key) return priorities @api.multi def send_mail(self, auto_commit=False): """ Set a priority on subsequent generated mail.mail, using priorities set into the configuration. :return: dict/action """ active_ids = self.env.context.get('active_ids') default_priority = self.env.context.get('default_mail_job_priority') if active_ids and not default_priority: priorities = self._get_priorities() size = len(active_ids) limits = [lim for lim in priorities if lim <= size] if limits: prio = priorities.get(max(limits)) self = self.with_context(default_mail_job_priority=prio) return super().send_mail(auto_commit=auto_commit)
mozaik-association/mozaik
mail_job_priority/wizards/mail_compose_message.py
Python
agpl-3.0
1,920
<?php /** * @package Billing * @copyright Copyright (C) 2012-2016 BillRun Technologies Ltd. All rights reserved. * @license GNU Affero General Public License Version 3; see LICENSE.txt */ /** * This is a prototype for a services action. * */ abstract class Billrun_ActionManagers_Services_Action implements Billrun_ActionManagers_IAPIAction { use Billrun_ActionManagers_ErrorReporter; protected $collection = null; /** * Create an instance of the ServiceAction type. */ public function __construct($params = array()) { $this->collection = Billrun_Factory::db()->servicesCollection(); $this->baseCode = 1500; } /** * Get the array of fields to be set in the query record from the user input. * @return array - Array of fields to set. */ protected function getQueryFields() { return Billrun_Factory::config()->getConfigValue('services.fields'); } }
BillRun/system
library/Billrun/ActionManagers/Services/Action.php
PHP
agpl-3.0
905
#feedbackForm { width: 100%; } #feedbackForm label { width: 250px; } #feedbackForm label.error, #commentForm input.submit { margin-left: 253px; } input[type=text], input[type=password], select, textarea, .inputbox { padding: 3px 5px; font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 100%; border: 1px solid #999; } .button { padding: 3px 5px; border: 1px solid #333333; color: #CCCCCC; font-size: 85%; text-transform: uppercase;} .button:hover, .button:focus { border: 1px solid #999999; background: #333333; color: #FFFFFF;} input.error { border: 1px dotted red; background-color: #FFBABA;} form.cmxform legend { padding-left: 0;} form.cmxform legend, form.cmxform label { color: #333;} form.cmxform fieldset { border: none; background-color: #f6f6f6;} form.cmxform fieldset fieldset { background: none;} form.cmxform label.error, label.error { color: red; font-style: italic} form.cmxform fieldset { margin-bottom: 10px;} form.cmxform legend { padding: 0 2px; font-weight: bold; _margin: 0 -7px; /* IE Win */} form.cmxform label { display: inline-block; line-height: 1.8; vertical-align: top; cursor: hand;} form.cmxform fieldset p { list-style: none; padding: 5px; margin: 0;} form.cmxform fieldset fieldset { border: none; margin: 3px 0 0;} form.cmxform fieldset fieldset legend { padding: 0 0 5px; font-weight: normal;} form.cmxform fieldset fieldset label { display: block; width: auto;} form.cmxform label { width: 100px; } /* Width of labels */ form.cmxform fieldset fieldset label { margin-left: 103px; } /* Width plus 3 (html space) */ form.cmxform label.error { margin-left: 103px; width: 220px;} form.cmxform input.submit { margin-left: 103px;} form.cmxform label.error { display: none; } /*\*//*/ form.cmxform legend { display: inline-block; } /* IE Mac legend fix */ .btn-action { background-color:#e2001a; color:#fff; padding:5px; border: none; cursor: pointer; } a.btn-action:hover { color: #fff; } .comment { color: #666; } span.required { color: #f00; } label.error { float: none; display: inline; clear: none; width: 400px; padding-left: 15px; } form ul { padding: 15px; } form li { padding:4px; } form ul:hover { background-color: #f4f4f4; } form ul.noeditable:hover { background-color: #fff; }
eoconsulting/django-zoook
django_zoook/static/css/default/form.css
CSS
agpl-3.0
2,233
<table mat-table *ngIf="dataSource" [dataSource]="dataSource" [trackBy]="tableTrackerFn" class="ya-data-table"> <ng-container matColumnDef="order"> <th mat-header-cell *matHeaderCellDef style="width: 1px">#</th> <td mat-cell *matCellDef="let queue"> {{ queue.order }} </td> </ng-container> <ng-container matColumnDef="name"> <th mat-header-cell *matHeaderCellDef style="width: 200px">Name</th> <td mat-cell *matCellDef="let queue"> {{ queue.name }} </td> </ng-container> <ng-container matColumnDef="issuer"> <th mat-header-cell *matHeaderCellDef style="width: 200px">Issuer</th> <td mat-cell *matCellDef="let queue"> <app-label *ngFor="let group of queue.groups" icon="people">{{ group }}</app-label> <app-label *ngFor="let user of queue.users" icon="person">{{ user }}</app-label> <ng-container *ngIf="!queue.groups && !queue.users">-</ng-container> </td> </ng-container> <ng-container matColumnDef="level"> <th mat-header-cell *matHeaderCellDef style="width: 100px">Min.&nbsp;level</th> <td mat-cell *matCellDef="let queue"> <app-significance-level [level]="queue.minLevel" [grayscale]="true"> </app-significance-level> </td> </ng-container> <ng-container matColumnDef="action"> <th mat-header-cell *matHeaderCellDef style="width: 100px">Action</th> <td mat-cell *matCellDef="let queue"> <span *ngIf="queue.state === 'ENABLED'"> ACCEPT </span> <span *ngIf="queue.state === 'BLOCKED'" [style.visibility]="(visibility$ | async) ? 'visible' : 'hidden'"> HOLD </span> <span *ngIf="queue.state === 'DISABLED'"> REJECT </span> </td> </ng-container> <ng-container matColumnDef="pending"> <th mat-header-cell *matHeaderCellDef width="1">Pending</th> <td mat-cell *matCellDef="let queue" style="text-align: center"> {{ (queue.entry?.length || 0) | number }} </td> </ng-container> <ng-container matColumnDef="actions"> <th mat-header-cell *matHeaderCellDef></th> <td mat-cell *matCellDef="let queue"> <mat-menu #queueMenu="matMenu" overlapTrigger="false" class="ya-menu"> <button mat-menu-item [matMenuTriggerFor]="actions"> Change action </button> </mat-menu> <mat-menu #actions="matMenu" class="ya-menu"> <button mat-menu-item (click)="enableQueue(queue)"> <mat-icon>check</mat-icon> ACCEPT </button> <button mat-menu-item (click)="blockQueue(queue)"> <mat-icon>pause</mat-icon> HOLD </button> <button mat-menu-item (click)="disableQueue(queue)"> <mat-icon>close</mat-icon> REJECT </button> </mat-menu> <button mat-button [matMenuTriggerFor]="queueMenu" class="icon" (click)="$event.stopPropagation()"> <mat-icon>more_vert</mat-icon> </button> </td> </ng-container> <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr> <tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr> </table>
m-sc/yamcs
yamcs-web/src/main/webapp/src/app/commanding/queues/QueuesTable.html
HTML
agpl-3.0
3,243
DELETE FROM `landblock_instance` WHERE `landblock` = 0xA8E0; INSERT INTO `landblock_instance` (`guid`, `weenie_Class_Id`, `obj_Cell_Id`, `origin_X`, `origin_Y`, `origin_Z`, `angles_W`, `angles_X`, `angles_Y`, `angles_Z`, `is_Link_Child`, `last_Modified`) VALUES (0x7A8E0026, 30749, 0xA8E00108, 82.301, 85.604, 23.137, 0, 0, 0, -1, False, '2019-02-10 00:00:00'); /* Defiled Temple Lower Wing */ /* @teleloc 0xA8E00108 [82.301000 85.604000 23.137000] 0.000000 0.000000 0.000000 -1.000000 */ INSERT INTO `landblock_instance` (`guid`, `weenie_Class_Id`, `obj_Cell_Id`, `origin_X`, `origin_Y`, `origin_Z`, `angles_W`, `angles_X`, `angles_Y`, `angles_Z`, `is_Link_Child`, `last_Modified`) VALUES (0x7A8E0027, 30750, 0xA8E00103, 61.8602, 108.275, 23.137, 0.735976, 0, 0, 0.677008, False, '2019-02-10 00:00:00'); /* Defiled Temple Middle Wing */ /* @teleloc 0xA8E00103 [61.860200 108.275000 23.137000] 0.735976 0.000000 0.000000 0.677008 */ INSERT INTO `landblock_instance` (`guid`, `weenie_Class_Id`, `obj_Cell_Id`, `origin_X`, `origin_Y`, `origin_Z`, `angles_W`, `angles_X`, `angles_Y`, `angles_Z`, `is_Link_Child`, `last_Modified`) VALUES (0x7A8E0028, 30752, 0xA8E00112, 83.878, 129.746, 23.137, 1, 0, 0, 0, False, '2019-02-10 00:00:00'); /* Defiled Temple Asylum */ /* @teleloc 0xA8E00112 [83.878000 129.746000 23.137000] 1.000000 0.000000 0.000000 0.000000 */ INSERT INTO `landblock_instance` (`guid`, `weenie_Class_Id`, `obj_Cell_Id`, `origin_X`, `origin_Y`, `origin_Z`, `angles_W`, `angles_X`, `angles_Y`, `angles_Z`, `is_Link_Child`, `last_Modified`) VALUES (0x7A8E0029, 30751, 0xA8E0010D, 106.189, 105.741, 23.137, -0.722811, 0, 0, -0.691046, False, '2019-02-10 00:00:00'); /* Defiled Temple Upper Wing */ /* @teleloc 0xA8E0010D [106.189000 105.741000 23.137000] -0.722811 0.000000 0.000000 -0.691046 */
ACEmulator/ACE-World
Database/3-Core/6 LandBlockExtendedData/SQL/A8E0.sql
SQL
agpl-3.0
1,809
'use strict' var config = {} config.facebook = { 'appID': '261938654297222', 'appSecret': 'cd8d0bf4ce75ae5e24be29970b79876f', 'callbackUrl': '/login/facebook/callback/' } config.server = { 'port': process.env.PORT || 3000, 'env': process.env.NODE_ENV || 'dev', 'dbUrl': process.env.MONGODB_URI || 'mongodb://localhost:27017/minihero', 'sessionSecret': 'Minihero FTW!' } config.defaultLocation = { // The default location shown to signed out users on /missions is Amsterdam! latitude: 52.370216, longitude: 4.895168 } config.apiKeys = { google: 'AIzaSyA4vKjKRLNIZ829rfFvz9m_-OFhiORB5Q8' } module.exports = config
damirkotoric/minihero.org
config.js
JavaScript
agpl-3.0
640
/* * _ _ _ * | | | | | | * | | __ _| |__ ___ ___ __ _| |_ Labcoat (R) * | |/ _` | '_ \ / __/ _ \ / _` | __| Powerful development environment for Quirrel. * | | (_| | |_) | (_| (_) | (_| | |_ Copyright (C) 2010 - 2013 SlamData, Inc. * |_|\__,_|_.__/ \___\___/ \__,_|\__| All Rights Reserved. * * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by the Free Software Foundation, either version * 3 of the License, or (at your option) any later version. * * 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 Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License along with this * program. If not, see <http://www.gnu.org/licenses/>. * */ define(function(require, exports, module) { "use strict"; var oop = require("../lib/oop"); var TextMode = require("./text").Mode; var Tokenizer = require("../tokenizer").Tokenizer; var CSharpHighlightRules = require("./csharp_highlight_rules").CSharpHighlightRules; var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent; var CstyleBehaviour = require("./behaviour/cstyle").CstyleBehaviour; var CStyleFoldMode = require("./folding/cstyle").FoldMode; var Mode = function() { this.$tokenizer = new Tokenizer(new CSharpHighlightRules().getRules()); this.$outdent = new MatchingBraceOutdent(); this.$behaviour = new CstyleBehaviour(); this.foldingRules = new CStyleFoldMode(); }; oop.inherits(Mode, TextMode); (function() { this.lineCommentStart = "//"; this.blockComment = {start: "/*", end: "*/"}; this.getNextLineIndent = function(state, line, tab) { var indent = this.$getIndent(line); var tokenizedLine = this.$tokenizer.getLineTokens(line, state); var tokens = tokenizedLine.tokens; if (tokens.length && tokens[tokens.length-1].type == "comment") { return indent; } if (state == "start") { var match = line.match(/^.*[\{\(\[]\s*$/); if (match) { indent += tab; } } return indent; }; this.checkOutdent = function(state, line, input) { return this.$outdent.checkOutdent(line, input); }; this.autoOutdent = function(state, doc, row) { this.$outdent.autoOutdent(doc, row); }; this.createWorker = function(session) { return null; }; }).call(Mode.prototype); exports.Mode = Mode; });
precog/labcoat-legacy
js/ace/mode/csharp.js
JavaScript
agpl-3.0
2,838
/* * Copyright 2013 Anton Tananaev ([email protected]) * * 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. */ package pl.datamatica.traccar.model; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.google.gwt.core.shared.GwtIncompatible; import com.google.gwt.user.client.rpc.*; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; import javax.persistence.*; import org.hibernate.annotations.Filter; import org.hibernate.annotations.FilterDef; import org.hibernate.annotations.SQLDelete; import com.google.gwt.user.datepicker.client.CalendarUtil; import java.util.HashSet; import org.hibernate.annotations.Fetch; import org.hibernate.annotations.FetchMode; @Entity @Table(name = "devices", indexes = { @Index(name = "devices_pkey", columnList = "id") }, uniqueConstraints = { @UniqueConstraint(name = "devices_ukey_uniqueid", columnNames = "uniqueid") }) @SQLDelete(sql="UPDATE devices d SET d.deleted = 1 WHERE d.id = ?") @FilterDef(name="softDelete", defaultCondition="deleted = 0") @Filter(name="softDelete") public class Device extends TimestampedEntity implements IsSerializable, GroupedDevice { private static final long serialVersionUID = 1; public static final short DEFAULT_TIMEOUT = 5 * 60; public static final short DEFAULT_MIN_IDLE_TIME = 1 * 60; public static final String DEFAULT_MOVING_ARROW_COLOR = "00017A"; public static final String DEFAULT_PAUSED_ARROW_COLOR = "B12222"; public static final String DEFAULT_STOPPED_ARROW_COLOR = "016400"; public static final String DEFAULT_OFFLINE_ARROW_COLOR = "778899"; public static final String DEFAULT_COLOR = "0000FF"; public static final double DEFAULT_ARROW_RADIUS = 5; public static final int NEAR_EXPIRATION_THRESHOLD_DAYS = 7; public Device() { iconType = DeviceIconType.DEFAULT; iconMode = DeviceIconMode.ICON; iconArrowMovingColor = DEFAULT_MOVING_ARROW_COLOR; iconArrowPausedColor = DEFAULT_PAUSED_ARROW_COLOR; iconArrowStoppedColor = DEFAULT_STOPPED_ARROW_COLOR; iconArrowOfflineColor = DEFAULT_OFFLINE_ARROW_COLOR; iconArrowRadius = DEFAULT_ARROW_RADIUS; color = DEFAULT_COLOR; deviceModelId = -1; showName = true; showProtocol = true; showOdometer = true; } public Device(Device device) { id = device.id; uniqueId = device.uniqueId; name = device.name; description = device.description; phoneNumber = device.phoneNumber; plateNumber = device.plateNumber; vehicleInfo = device.vehicleInfo; timeout = device.timeout; idleSpeedThreshold = device.idleSpeedThreshold; minIdleTime = device.minIdleTime; speedLimit = device.speedLimit; fuelCapacity = device.fuelCapacity; iconType = device.iconType; icon = device.getIcon(); photo = device.getPhoto(); odometer = device.odometer; autoUpdateOdometer = device.autoUpdateOdometer; if (device.maintenances != null) { maintenances = new ArrayList<>(device.maintenances.size()); for (Maintenance maintenance : device.maintenances) { maintenances.add(new Maintenance(maintenance)); } } if (device.registrations != null) { registrations = new ArrayList<>(device.registrations.size()); for(RegistrationMaintenance registration : device.registrations) registrations.add(new RegistrationMaintenance(registration)); } if (device.sensors != null) { sensors = new ArrayList<>(device.sensors.size()); for (Sensor sensor : device.sensors) { sensors.add(new Sensor(sensor)); } } if (device.latestPosition != null) latestPosition = new Position(device.latestPosition); group = device.group == null ? null : new Group(device.group.getId()).copyFrom(device.group); deviceModelId = device.deviceModelId; iconId = device.iconId; customIconId = device.customIconId; iconMode = device.iconMode; iconArrowMovingColor = device.iconArrowMovingColor; iconArrowPausedColor = device.iconArrowPausedColor; iconArrowStoppedColor = device.iconArrowStoppedColor; iconArrowOfflineColor = device.iconArrowOfflineColor; iconArrowRadius = device.iconArrowRadius; showName = device.showName; showProtocol = device.showProtocol; showOdometer = device.showOdometer; timezoneOffset = device.timezoneOffset; commandPassword = device.commandPassword; protocol = device.protocol; historyLength = device.historyLength; validTo = device.validTo; color = device.color; users = new HashSet<>(device.users); owner = device.owner; ignition = device.ignition; ignTime = device.ignTime; setLastUpdate(device.getLastUpdate()); } @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "id", nullable = false, updatable = false, unique = true) private long id; public long getId() { return id; } public void setId(long id) { this.id = id; } @GwtTransient @OneToOne(fetch = FetchType.EAGER) @JoinColumn(foreignKey = @ForeignKey(name = "devices_fkey_position_id")) @JsonIgnore private Position latestPosition; public void setLatestPosition(Position latestPosition) { this.latestPosition = latestPosition; } public Position getLatestPosition() { return latestPosition; } private String uniqueId; public void setUniqueId(String uniqueId) { this.uniqueId = uniqueId; } public String getUniqueId() { return uniqueId; } private String name; public void setName(String name) { this.name = name; } public String getName() { return name; } private String description; public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } /** * Consider device offline after 'timeout' seconds spent from last position */ @Column(nullable = true) private int timeout = DEFAULT_TIMEOUT; public int getTimeout() { return timeout; } public void setTimeout(int timeout) { this.timeout = timeout; } @Column(nullable = true) private double idleSpeedThreshold; public double getIdleSpeedThreshold() { return idleSpeedThreshold; } public void setIdleSpeedThreshold(double idleSpeedThreshold) { this.idleSpeedThreshold = idleSpeedThreshold; } @Column(nullable = true) private int minIdleTime = DEFAULT_MIN_IDLE_TIME; public int getMinIdleTime() { return minIdleTime; } public void setMinIdleTime(int minIdleTime) { this.minIdleTime = minIdleTime; } @Column(nullable = true) private Double speedLimit; public Double getSpeedLimit() { return speedLimit; } public void setSpeedLimit(Double speedLimit) { this.speedLimit = speedLimit; } @Column(nullable = true) private Double fuelCapacity; public Double getFuelCapacity() { return fuelCapacity; } public void setFuelCapacity(Double fuelCapacity) { this.fuelCapacity = fuelCapacity; } // Hibernate bug HHH-8783: (http://hibernate.atlassian.net/browse/HHH-8783) // ForeignKey(name) has no effect in JoinTable (and others). It is // reported as closed but the comments indicate it is still not fixed // for @JoinTable() and targeted to be fixed in 5.x :-(. // @GwtTransient @ManyToMany(fetch = FetchType.LAZY) @Fetch(FetchMode.SUBSELECT) @JoinTable(name = "users_devices", foreignKey = @ForeignKey(name = "users_devices_fkey_devices_id"), joinColumns = { @JoinColumn(name = "devices_id", table = "devices", referencedColumnName = "id") }, inverseJoinColumns = { @JoinColumn(name = "users_id", table = "users", referencedColumnName = "id") }) @JsonIgnore private Set<User> users; public Set<User> getUsers() { return users; } public void setUsers(Set<User> users) { this.users = users; } @GwtTransient @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(foreignKey = @ForeignKey(name = "devices_fkey_owner_id")) @JsonIgnore private User owner; public User getOwner() { return owner; } public void setOwner(User owner) { this.owner = owner; } @Enumerated(EnumType.STRING) private DeviceIconType iconType; public DeviceIconType getIconType() { return iconType; } public void setIconType(DeviceIconType iconType) { this.iconType = iconType; } @ManyToOne @JoinColumn(foreignKey = @ForeignKey(name = "devices_fkey_icon_id")) private DeviceIcon icon; public DeviceIcon getIcon() { return icon; } public void setIcon(DeviceIcon icon) { this.icon = icon; } @ManyToOne @JoinColumn(foreignKey = @ForeignKey(name = "devices_fkey_photo_id")) @JsonIgnore private Picture photo; public Picture getPhoto() { return photo; } public void setPhoto(Picture photo) { this.photo = photo; } @JsonIgnore private String phoneNumber; public String getPhoneNumber() { return phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } @JsonIgnore private String plateNumber; public String getPlateNumber() { return plateNumber; } public void setPlateNumber(String plateNumber) { this.plateNumber = plateNumber; } @JsonIgnore private String vehicleInfo; public String getVehicleInfo() { return vehicleInfo; } public void setVehicleInfo(String vehicleInfo) { this.vehicleInfo = vehicleInfo; } // contains current odometer value in kilometers @Column(nullable = true) @JsonIgnore private double odometer; public double getOdometer() { return odometer; } public void setOdometer(double odometer) { this.odometer = odometer; } // indicates that odometer must be updated automatically by positions history @Column(nullable = true) @JsonIgnore private boolean autoUpdateOdometer; public boolean isAutoUpdateOdometer() { return autoUpdateOdometer; } public void setAutoUpdateOdometer(boolean autoUpdateOdometer) { this.autoUpdateOdometer = autoUpdateOdometer; } @Transient private List<Maintenance> maintenances; public List<Maintenance> getMaintenances() { return maintenances; } public void setMaintenances(List<Maintenance> maintenances) { this.maintenances = maintenances; } @Transient private List<RegistrationMaintenance> registrations; public List<RegistrationMaintenance> getRegistrations() { return registrations; } public void setRegistrations(List<RegistrationMaintenance> registrations) { this.registrations = registrations; } @Transient private List<Sensor> sensors; public List<Sensor> getSensors() { return sensors; } public void setSensors(List<Sensor> sensors) { this.sensors = sensors; } @ManyToOne @JoinColumn(foreignKey = @ForeignKey(name = "devices_fkey_group_id")) private Group group; public Group getGroup() { return group; } public void setGroup(Group group) { this.group = group; } @Column(nullable = true, length = 128) private String status; public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } @Enumerated(EnumType.STRING) private DeviceIconMode iconMode; public DeviceIconMode getIconMode() { return iconMode; } public void setIconMode(DeviceIconMode iconMode) { this.iconMode = iconMode; } private String iconArrowMovingColor; private String iconArrowPausedColor; private String iconArrowStoppedColor; private String iconArrowOfflineColor; public String getIconArrowMovingColor() { return iconArrowMovingColor; } public void setIconArrowMovingColor(String iconArrowMovingColor) { this.iconArrowMovingColor = iconArrowMovingColor; } public String getIconArrowPausedColor() { return iconArrowPausedColor; } public void setIconArrowPausedColor(String iconArrowPausedColor) { this.iconArrowPausedColor = iconArrowPausedColor; } public String getIconArrowStoppedColor() { return iconArrowStoppedColor; } public void setIconArrowStoppedColor(String iconArrowStoppedColor) { this.iconArrowStoppedColor = iconArrowStoppedColor; } public String getIconArrowOfflineColor() { return iconArrowOfflineColor; } public void setIconArrowOfflineColor(String iconArrowOfflineColor) { this.iconArrowOfflineColor = iconArrowOfflineColor; } @Column(nullable = true) private boolean iconRotation; @Column(nullable = true) private double iconArrowRadius; public double getIconArrowRadius() { return iconArrowRadius; } public void setIconArrowRadius(double iconArrowRadius) { this.iconArrowRadius = iconArrowRadius; } @Column(nullable = true) private boolean showName; public boolean isShowName() { return showName; } public void setShowName(boolean showName) { this.showName = showName; } @Column(nullable = true) private boolean showProtocol; @Column(nullable = true) private boolean showOdometer; public boolean isShowProtocol() { return showProtocol; } public void setShowProtocol(boolean showProtocol) { this.showProtocol = showProtocol; } public boolean isShowOdometer() { return showOdometer; } public void setShowOdometer(boolean showOdometer) { this.showOdometer = showOdometer; } @Column(nullable = true) private Integer timezoneOffset; public int getTimezoneOffset() { return timezoneOffset == null ? 0 : timezoneOffset; } public void setTimezoneOffset(Integer timezoneOffset) { this.timezoneOffset = timezoneOffset; } @Transient private String protocol; public String getProtocol() { return protocol; } public void setProtocol(String protocol) { this.protocol = protocol; } @Column(nullable = true) private String commandPassword; public String getCommandPassword() { return commandPassword; } public void setCommandPassword(String commandPassword) { this.commandPassword = commandPassword; } @Transient private boolean isAlarmEnabled; public boolean isAlarmEnabled() { return isAlarmEnabled; } public void setAlarmEnabled(boolean isEnabled) { isAlarmEnabled = isEnabled; } @Transient private boolean unreadAlarms; public boolean hasUnreadAlarms() { return unreadAlarms; } public void setUnreadAlarms(boolean unreadAlarms) { this.unreadAlarms = unreadAlarms; } @Transient @JsonIgnore private Date lastAlarmsCheck; public Date getLastAlarmsCheck() { return lastAlarmsCheck; } public void setLastAlarmsCheck(Date date) { lastAlarmsCheck = date; } @Column(nullable=false, columnDefinition = "boolean default false") private boolean deleted; public boolean isDeleted() { return deleted; } public void setDeleted(boolean deleted) { this.deleted = deleted; } @Column(nullable=false, columnDefinition = "CHAR(6) default '0000FF'") private String color; public String getColor() { return color; } public void setColor(String color) { this.color = color; } @Column(nullable=false, columnDefinition = "BIGINT default -1") private long deviceModelId; public long getDeviceModelId() { return deviceModelId; } public void setDeviceModelId(long id) { this.deviceModelId = id; } @GwtTransient @JsonIgnore @OneToMany(fetch = FetchType.LAZY, mappedBy="device") private List<Position> positions = new ArrayList<>(); public List<Position> getPositions() { return positions; } private Long iconId; public Long getIconId() { return iconId; } public void setIconId(Long iconId) { this.iconId = iconId; } private Long customIconId; public Long getCustomIconId() { return customIconId; } public void setCustomIconId(Long value) { this.customIconId = value; } @Temporal(TemporalType.DATE) @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ssZ", timezone="GMT") private Date validTo; public Date getValidTo() { return validTo; } public void setValidTo(Date validTo) { this.validTo = validTo; } @GwtIncompatible public boolean isValid(Date today) { if(getValidTo() == null) return false; try { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); today = sdf.parse(sdf.format(today)); return today.compareTo(getValidTo()) <= 0; } catch (ParseException ex) { Logger.getLogger(Device.class.getName()).log(Level.SEVERE, null, ex); return false; } } @GwtIncompatible public Date getLastAvailablePositionDate(Date today, int freeHistoryDays) { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); try { today = sdf.parse(sdf.format(today)); } catch (ParseException e) { Logger.getLogger(Device.class.getName()).log(Level.SEVERE, null, e); } int availableHistoryLength = freeHistoryDays; if (isValid(today)) { availableHistoryLength = getHistoryLength(); } Calendar cal = Calendar.getInstance(); cal.setTime(today); cal.add(Calendar.DATE, -availableHistoryLength); return cal.getTime(); } public int getSubscriptionDaysLeft(Date from) { if (validTo == null) { return 0; } int daysDiff = CalendarUtil.getDaysBetween(from, validTo); int daysLeft = daysDiff + 1; if (daysLeft < 0) { daysLeft = 0; } return daysLeft; } public boolean isCloseToExpire(Date from) { int daysLeft = getSubscriptionDaysLeft(from); return (daysLeft <= NEAR_EXPIRATION_THRESHOLD_DAYS && daysLeft > 0); } @Column(nullable = false, columnDefinition = "integer") private int historyLength; public int getHistoryLength() { return historyLength; } public void setHistoryLength(int historyLength) { this.historyLength = historyLength; } @GwtIncompatible public int getAlertsHistoryLength(ApplicationSettings settings) { int historyLength = settings.getFreeHistory(); if(isValid(new Date())) historyLength = getHistoryLength(); return Math.min(historyLength, 7); } @Column(nullable = false, columnDefinition="bit default false") private boolean isBlocked; public boolean isBlocked() { return isBlocked; } public void setBlocked(boolean isBlocked) { this.isBlocked = isBlocked; } @JsonIgnore private Integer battery; @JsonIgnore public Integer getBatteryLevel() { return battery; } @JsonIgnore public void setBatteryLevel(Integer level) { this.battery = level; } @Temporal(javax.persistence.TemporalType.TIMESTAMP) @JsonIgnore private Date battTime; @JsonIgnore public Date getBatteryTime() { return battTime; } @JsonIgnore public void setBatteryTime(Date time) { this.battTime = time; } @JsonIgnore public int getBatteryTimeout() { return 3600; } private Boolean ignition; public Boolean getIgnition() { return ignition; } public void setIgnition(Boolean ignition) { this.ignition = ignition; } @Temporal(javax.persistence.TemporalType.TIMESTAMP) private Date ignTime; public Date getIgnitionTime() { return ignTime; } public void setIgnitionTime(Date ignitionTime) { ignTime = ignitionTime; } @JsonIgnore private Integer positionFreq; public Integer getPositionFreq() { return positionFreq; } private Boolean autoArm; public Boolean isAutoArmed() { return autoArm; } private Double fuelLevel; public Double getFuelLevel() { return fuelLevel; } public void setFuelLevel(Double lvl) { this.fuelLevel = lvl; } private Double fuelUsed; public Double getFuelUsed() { return fuelUsed; } public void setFuelUsed(Double used) { this.fuelUsed = used; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || !(o instanceof Device)) return false; Device device = (Device) o; if (getUniqueId() != null ? !getUniqueId().equals(device.getUniqueId()) : device.getUniqueId() != null) return false; return true; } @Override public int hashCode() { return getUniqueId() != null ? getUniqueId().hashCode() : 0; } }
datamatica-pl/traccar-orm
src/main/java/pl/datamatica/traccar/model/Device.java
Java
agpl-3.0
23,210
<?php include_once("bqf_strings.php"); class bqf_unescape_stringTest extends PHPUnit_Framework_TestCase { public function testUnescape() { $tests = array( array("one", "one"), array('<a href="test">test</a>', '<a href="test">test</a>'), array(' with spaces ', ' with spaces '), array(' "quoted"', 'quoted'), array(" `it's a comment` ", "it's a comment"), array(' "a new\nline" ', "a new\nline"), array(' "delimited \" in string"', "delimited \" in string"), array(' "cross \\\' delimit"', "cross \\' delimit") ); foreach ($tests as $test) { $this->assertEquals(bqf_unescape_string($test[0]), $test[1]); } } }
electricbookworks/betterquiz
public/lib/betterquiz/func.bqf_unescape_string.test.php
PHP
agpl-3.0
662
\hypertarget{structParticleSystem_1_1GravObj}{\section{Particle\-System\-:\-:Grav\-Obj Strukturreferenz} \label{structParticleSystem_1_1GravObj}\index{Particle\-System\-::\-Grav\-Obj@{Particle\-System\-::\-Grav\-Obj}} } {\ttfamily \#include $<$Particle\-System.\-h$>$} \subsection*{Öffentliche Attribute} \begin{DoxyCompactItemize} \item cl\-\_\-float \hyperlink{structParticleSystem_1_1GravObj_af8b40c8baac8ffc87c2ff94da520e6e6}{x} \item cl\-\_\-float \hyperlink{structParticleSystem_1_1GravObj_a61f790d3ed600fe93af533abee250297}{y} \item cl\-\_\-float \hyperlink{structParticleSystem_1_1GravObj_aa8d66d46d2ec63bbdcc8b451e2283278}{z} \item cl\-\_\-float \hyperlink{structParticleSystem_1_1GravObj_adbf1a8e24d75b5826eea902b063bcb1c}{mass} \end{DoxyCompactItemize} \subsection{Ausführliche Beschreibung} Definiert in Zeile 49 der Datei Particle\-System.\-h. \subsection{Dokumentation der Datenelemente} \hypertarget{structParticleSystem_1_1GravObj_adbf1a8e24d75b5826eea902b063bcb1c}{\index{Particle\-System\-::\-Grav\-Obj@{Particle\-System\-::\-Grav\-Obj}!mass@{mass}} \index{mass@{mass}!ParticleSystem::GravObj@{Particle\-System\-::\-Grav\-Obj}} \subsubsection[{mass}]{\setlength{\rightskip}{0pt plus 5cm}cl\-\_\-float Particle\-System\-::\-Grav\-Obj\-::mass}}\label{structParticleSystem_1_1GravObj_adbf1a8e24d75b5826eea902b063bcb1c} Definiert in Zeile 53 der Datei Particle\-System.\-h. \hypertarget{structParticleSystem_1_1GravObj_af8b40c8baac8ffc87c2ff94da520e6e6}{\index{Particle\-System\-::\-Grav\-Obj@{Particle\-System\-::\-Grav\-Obj}!x@{x}} \index{x@{x}!ParticleSystem::GravObj@{Particle\-System\-::\-Grav\-Obj}} \subsubsection[{x}]{\setlength{\rightskip}{0pt plus 5cm}cl\-\_\-float Particle\-System\-::\-Grav\-Obj\-::x}}\label{structParticleSystem_1_1GravObj_af8b40c8baac8ffc87c2ff94da520e6e6} Definiert in Zeile 50 der Datei Particle\-System.\-h. \hypertarget{structParticleSystem_1_1GravObj_a61f790d3ed600fe93af533abee250297}{\index{Particle\-System\-::\-Grav\-Obj@{Particle\-System\-::\-Grav\-Obj}!y@{y}} \index{y@{y}!ParticleSystem::GravObj@{Particle\-System\-::\-Grav\-Obj}} \subsubsection[{y}]{\setlength{\rightskip}{0pt plus 5cm}cl\-\_\-float Particle\-System\-::\-Grav\-Obj\-::y}}\label{structParticleSystem_1_1GravObj_a61f790d3ed600fe93af533abee250297} Definiert in Zeile 51 der Datei Particle\-System.\-h. \hypertarget{structParticleSystem_1_1GravObj_aa8d66d46d2ec63bbdcc8b451e2283278}{\index{Particle\-System\-::\-Grav\-Obj@{Particle\-System\-::\-Grav\-Obj}!z@{z}} \index{z@{z}!ParticleSystem::GravObj@{Particle\-System\-::\-Grav\-Obj}} \subsubsection[{z}]{\setlength{\rightskip}{0pt plus 5cm}cl\-\_\-float Particle\-System\-::\-Grav\-Obj\-::z}}\label{structParticleSystem_1_1GravObj_aa8d66d46d2ec63bbdcc8b451e2283278} Definiert in Zeile 52 der Datei Particle\-System.\-h. Die Dokumentation für diese Struktur wurde erzeugt aufgrund der Datei\-:\begin{DoxyCompactItemize} \item /daten/\-Projekte/eclipse\-\_\-workspace/\-C\-L\-G\-L\-\_\-test/\hyperlink{CLGL__test_2ParticleSystem_8h}{Particle\-System.\-h}\end{DoxyCompactItemize}
vroland/SimpleAnalyzer
doc/latex/structParticleSystem_1_1GravObj.tex
TeX
agpl-3.0
3,081
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <title>Rgaa32016 Test.11.01.2 NA 03</title> </head> <body class="NA"> <div> <h1>Rgaa32016 Test.11.01.2 NA 03</h1> <!-- START [test-detail] --> <div class="test-detail" lang="fr"> Chaque <a href="http://references.modernisation.gouv.fr/rgaa-accessibilite/2016/glossaire.html#champ-de-saisie-de-formulaire">champ de formulaire</a>, associ&#xE9; &#xE0; une <a href="http://references.modernisation.gouv.fr/rgaa-accessibilite/2016/glossaire.html#tiquette-de-champs-de-formulaire">&#xE9;tiquette</a> (balise <code lang="en">label</code>), v&#xE9;rifie-t-il ces conditions&nbsp;? <ul><li>Le champ de formulaire poss&#xE8;de un attribut <code lang="en">id</code>&nbsp;;</li> <li>La valeur de l&#x2019;attribut <code lang="en">id</code> est unique&nbsp;;</li> <li>La balise <code lang="en">label</code> poss&#xE8;de un attribut <code lang="en">for</code>&nbsp;;</li> <li>La valeur de l&#x2019;attribut <code lang="en">for</code> est &#xE9;gale &#xE0; la valeur de l&#x2019;attribut <code lang="en">id</code> du champ de formulaire associ&#xE9;.</li> </ul> </div> <!-- END [test-detail] --> <ul> <li> The form field has an id attribute</li> <li> The value of the id attribute is unique</li> </ul> <p></p> <div class="testcase"> <form action="http://action.html" method="post"> <p> <input type="password" id="text" title="password input title" /> <input type="submit" value="Send" /> <input type="reset" /> </p> </form> </div> <p class="test-explanation"> NA: the page has no form field associated with a label tag </p> </div> </body> </html>
dzc34/Asqatasun
rules/rules-rgaa3.2016/src/test/resources/testcases/rgaa32016/Rgaa32016Rule110102/Rgaa32016.Test.11.01.02-4NA-03.html
HTML
agpl-3.0
2,057
# -*- encoding: utf-8 -*- ############################################################################## # # res_partner # Copyright (c) 2013 Codeback Software S.L. (http://codeback.es) # @author: Miguel García <[email protected]> # @author: Javier Fuentes <[email protected]> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # 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 Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # ############################################################################## from osv import fields, osv from datetime import datetime, timedelta from openerp.tools.translate import _ class res_company(osv.osv): """añadimos los nuevos campos""" _name = "res.company" _inherit = "res.company" _columns = { 'web_discount': fields.float('Descuento web (%)'), }
codeback/openerp-cbk_company_web_discount
res_company.py
Python
agpl-3.0
1,385
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the * License. * * The Original Code is Ajax.org Code Editor (ACE). * * The Initial Developer of the Original Code is * Ajax.org B.V. * Portions created by the Initial Developer are Copyright (C) 2010 * the Initial Developer. All Rights Reserved. * * Contributor(s): * Fabian Jakobs <fabian AT ajax DOT org> * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), * in which case the provisions of the GPL or the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only * under the terms of either the GPL or the LGPL, and not to allow others to * use your version of this file under the terms of the MPL, indicate your * decision by deleting the provisions above and replace them with the notice * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ define(function(require, exports, module) { var lang = require("pilot/lang"); var oop = require("pilot/oop"); var Range = require("ace/range").Range; var Search = function() { this.$options = { needle: "", backwards: false, wrap: false, caseSensitive: false, wholeWord: false, scope: Search.ALL, regExp: false }; }; Search.ALL = 1; Search.SELECTION = 2; (function() { this.set = function(options) { oop.mixin(this.$options, options); return this; }; this.getOptions = function() { return lang.copyObject(this.$options); }; this.find = function(session) { if (!this.$options.needle) return null; if (this.$options.backwards) { var iterator = this.$backwardMatchIterator(session); } else { iterator = this.$forwardMatchIterator(session); } var firstRange = null; iterator.forEach(function(range) { firstRange = range; return true; }); return firstRange; }; this.findAll = function(session) { if (!this.$options.needle) return []; if (this.$options.backwards) { var iterator = this.$backwardMatchIterator(session); } else { iterator = this.$forwardMatchIterator(session); } var ranges = []; iterator.forEach(function(range) { ranges.push(range); }); return ranges; }; this.replace = function(input, replacement) { var re = this.$assembleRegExp(); var match = re.exec(input); if (match && match[0].length == input.length) { if (this.$options.regExp) { return input.replace(re, replacement); } else { return replacement; } } else { return null; } }; this.$forwardMatchIterator = function(session) { var re = this.$assembleRegExp(); var self = this; return { forEach: function(callback) { self.$forwardLineIterator(session).forEach(function(line, startIndex, row) { if (startIndex) { line = line.substring(startIndex); } var matches = []; line.replace(re, function(str) { var offset = arguments[arguments.length-2]; matches.push({ str: str, offset: startIndex + offset }); return str; }); for (var i=0; i<matches.length; i++) { var match = matches[i]; var range = self.$rangeFromMatch(row, match.offset, match.str.length); if (callback(range)) return true; } }); } }; }; this.$backwardMatchIterator = function(session) { var re = this.$assembleRegExp(); var self = this; return { forEach: function(callback) { self.$backwardLineIterator(session).forEach(function(line, startIndex, row) { if (startIndex) { line = line.substring(startIndex); } var matches = []; line.replace(re, function(str, offset) { matches.push({ str: str, offset: startIndex + offset }); return str; }); for (var i=matches.length-1; i>= 0; i--) { var match = matches[i]; var range = self.$rangeFromMatch(row, match.offset, match.str.length); if (callback(range)) return true; } }); } }; }; this.$rangeFromMatch = function(row, column, length) { return new Range(row, column, row, column+length); }; this.$assembleRegExp = function() { if (this.$options.regExp) { var needle = this.$options.needle; } else { needle = lang.escapeRegExp(this.$options.needle); } if (this.$options.wholeWord) { needle = "\\b" + needle + "\\b"; } var modifier = "g"; if (!this.$options.caseSensitive) { modifier += "i"; } var re = new RegExp(needle, modifier); return re; }; this.$forwardLineIterator = function(session) { var searchSelection = this.$options.scope == Search.SELECTION; var range = session.getSelection().getRange(); var start = session.getSelection().getCursor(); var firstRow = searchSelection ? range.start.row : 0; var firstColumn = searchSelection ? range.start.column : 0; var lastRow = searchSelection ? range.end.row : session.getLength() - 1; var wrap = this.$options.wrap; function getLine(row) { var line = session.getLine(row); if (searchSelection && row == range.end.row) { line = line.substring(0, range.end.column); } return line; } return { forEach: function(callback) { var row = start.row; var line = getLine(row); var startIndex = start.column; var stop = false; while (!callback(line, startIndex, row)) { if (stop) { return; } row++; startIndex = 0; if (row > lastRow) { if (wrap) { row = firstRow; startIndex = firstColumn; } else { return; } } if (row == start.row) stop = true; line = getLine(row); } } }; }; this.$backwardLineIterator = function(session) { var searchSelection = this.$options.scope == Search.SELECTION; var range = session.getSelection().getRange(); var start = searchSelection ? range.end : range.start; var firstRow = searchSelection ? range.start.row : 0; var firstColumn = searchSelection ? range.start.column : 0; var lastRow = searchSelection ? range.end.row : session.getLength() - 1; var wrap = this.$options.wrap; return { forEach : function(callback) { var row = start.row; var line = session.getLine(row).substring(0, start.column); var startIndex = 0; var stop = false; while (!callback(line, startIndex, row)) { if (stop) return; row--; startIndex = 0; if (row < firstRow) { if (wrap) { row = lastRow; } else { return; } } if (row == start.row) stop = true; line = session.getLine(row); if (searchSelection) { if (row == firstRow) startIndex = firstColumn; else if (row == lastRow) line = line.substring(0, range.end.column); } } } }; }; }).call(Search.prototype); exports.Search = Search; });
reidab/icecondor-server-rails
public/javascripts/ace/ace/search.js
JavaScript
agpl-3.0
9,844
/** * Copyright (C) 2000 - 2013 Silverpeas * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by the Free Software Foundation, either version 3 * of the License, or (at your option) any later version. * * As a special exception to the terms and conditions of version 3.0 of the GPL, you may * redistribute this Program in connection with Free/Libre Open Source Software ("FLOSS") * applications as described in Silverpeas's FLOSS exception. You should have received a copy of the * text describing the FLOSS exception, and it is also available here: * "http://www.silverpeas.org/docs/core/legal/floss_exception.html" * * 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 * Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License along with this program. * If not, see <http://www.gnu.org/licenses/>. */ package com.stratelia.webactiv.util.node.model; import java.awt.datatransfer.DataFlavor; import java.awt.datatransfer.UnsupportedFlavorException; import java.io.Serializable; import java.text.ParseException; import org.silverpeas.search.indexEngine.model.IndexEntry; import com.silverpeas.util.clipboard.ClipboardSelection; import com.silverpeas.util.clipboard.SilverpeasKeyData; import com.stratelia.silverpeas.silvertrace.SilverTrace; import com.stratelia.webactiv.util.DateUtil; public class NodeSelection extends ClipboardSelection implements Serializable { private static final long serialVersionUID = -6462797069972573255L; public static DataFlavor NodeDetailFlavor; static { NodeDetailFlavor = new DataFlavor(NodeDetail.class, "Node"); } private NodeDetail nodeDetail; public NodeSelection(NodeDetail node) { super(); nodeDetail = node; super.addFlavor(NodeDetailFlavor); } @Override public synchronized Object getTransferData(DataFlavor parFlavor) throws UnsupportedFlavorException { Object transferedData; try { transferedData = super.getTransferData(parFlavor); } catch (UnsupportedFlavorException e) { if (parFlavor.equals(NodeDetailFlavor)) { transferedData = nodeDetail; } else { throw e; } } return transferedData; } @Override public IndexEntry getIndexEntry() { NodePK pk = nodeDetail.getNodePK(); IndexEntry indexEntry = new IndexEntry(pk.getInstanceId(), "Node", pk.getId()); indexEntry.setTitle(nodeDetail.getName()); return indexEntry; } @Override public SilverpeasKeyData getKeyData() { SilverpeasKeyData keyData = new SilverpeasKeyData(); keyData.setTitle(nodeDetail.getName()); keyData.setAuthor(nodeDetail.getCreatorId()); try { keyData.setCreationDate(DateUtil.parse(nodeDetail.getCreationDate())); } catch (ParseException e) { SilverTrace.error("node", "NodeSelection.getKeyData()", "root.EX_NO_MESSAGE", e); } keyData.setDesc(nodeDetail.getDescription()); return keyData; } }
CecileBONIN/Silverpeas-Core
ejb-core/node/src/main/java/com/stratelia/webactiv/util/node/model/NodeSelection.java
Java
agpl-3.0
3,220